:root {
  color-scheme: light;
  font: 100%/1.5 system-ui, sans-serif;
  color: #192d24;
  background: #f5f1e6;
}

[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
}

main {
  box-sizing: border-box;
  width: min(100%, 38rem);
  padding: clamp(1.5rem, 8vw, 4rem);
}

.icon {
  display: block;
  border-radius: 1rem;
}

.brand {
  margin: 1.25rem 0 .4rem;
  font-weight: 700;
  color: #20543f;
}

h1 {
  font: 700 clamp(2.5rem, 9vw, 4rem)/1.08 Georgia, serif;
  margin: 0 0 .85rem;
}

p { max-width: 34ch; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.5rem;
}

.actions:has(a:not([hidden])) + .note { margin-top: 1.25rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 3rem;
  padding: .65rem 1.15rem;
  border-radius: .8rem;
  font-weight: 690;
  text-decoration: none;
}

.primary { color: #fff; background: #245c45; }
.primary:hover { background: #194733; }
.secondary { color: #20543f; border: 1px solid #20543f; }
.secondary:hover { background: #e8eee5; }

.note { color: #46584e; font-size: .95rem; }
footer { margin-top: 2.25rem; }
footer a { color: #20543f; text-underline-offset: .18em; }

a:focus-visible { outline: 3px solid #ad6219; outline-offset: 4px; }
