/* First-party, hand-written, no framework. The audience is on mobile data in a
   clinic car park; every kilobyte here is one they wait for. */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #16211f;
  --muted: #5a6a67;
  --accent: #0f6f5c;
  --border: #dfe5e3;
  --radius: 8px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1614;
    --fg: #e8efed;
    --muted: #9bacaa;
    --accent: #4bbfa4;
    --border: #26332f;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 8px; top: 8px;
  padding: 8px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  z-index: 10;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent);
  text-decoration: none;
}

main { padding: 32px 20px; max-width: 68rem; margin: 0 auto; }

.hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 12px; }
.lede { color: var(--muted); max-width: 44rem; font-size: 1.05rem; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px;
  color: var(--muted);
  font-size: 0.875rem;
}

select, button {
  font: inherit;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
}
