:root {
  color-scheme: light dark;
  --brand: #236b61;
  --brand-hover: #174d46;
  --bg: #eef1f3;
  --surface: #fff;
  --text: #16202a;
  --muted: #55616e;
  --border: #cbd4dc;
  --focus: #0d7668;
  --button-text: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #63c9b8;
    --brand-hover: #8bdecf;
    --bg: #0e1417;
    --surface: #161f27;
    --text: #edf2f4;
    --muted: #b1bdc7;
    --border: #3b4956;
    --focus: #8fd3c7;
    --button-text: #071310;
  }
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font-size: 1rem; line-height: 1.6; }
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: absolute; top: -5rem; left: 1rem; background: var(--surface); padding: .6rem 1rem; z-index: 2; }
.skip-link:focus { top: 1rem; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem max(1rem, calc((100% - 72rem) / 2)); background: var(--surface); border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--text); font-weight: 750; font-size: 1.15rem; text-decoration: none; }
nav { display: flex; gap: 1rem; }
main { width: min(100% - 2rem, 48rem); margin: 0 auto; flex: 1; padding: 3rem 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: .75rem; padding: clamp(1.25rem, 5vw, 2.5rem); }
.hero { max-width: 32rem; margin: 3rem auto; text-align: center; }
h1, h2 { line-height: 1.2; }
h1 { margin-top: 0; }
h2 { margin-top: 2rem; font-size: 1.25rem; }
.lede, .secondary { color: var(--muted); }
.button { display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; margin-top: 1rem; padding: .65rem 1.1rem; border-radius: .45rem; background: var(--brand); color: var(--button-text); font-weight: 700; text-decoration: none; }
.button:hover { background: var(--brand-hover); color: var(--button-text); }
.secondary { margin-top: 1.25rem; }
.legal p, .legal li { max-width: 68ch; }
footer { padding: 1.5rem 1rem; text-align: center; color: var(--muted); border-top: 1px solid var(--border); }
footer p { margin: .2rem; }

@media (max-width: 35rem) {
  .site-header { align-items: flex-start; }
  nav { flex-direction: column; gap: .2rem; }
  main { padding-top: 1.5rem; }
  .hero { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
