:root {
  --bg: #f6f3ec;
  --fg: #1f2a22;
  --muted: #55625a;
  --accent: #2f6b47;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131a15;
    --fg: #ecefe8;
    --muted: #a3b0a7;
    --accent: #7fc99b;
  }
}

* {
  box-sizing: border-box;
}

html {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  background: var(--bg);
  color: var(--fg);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  text-align: center;
}

.brand {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 12vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.amp {
  color: var(--accent);
  font-style: italic;
}

.lead {
  margin: 1rem 0 0;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  color: var(--accent);
}

.note {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

footer {
  padding: 1.5rem 1.25rem;
  text-align: center;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
