/* Reset and typography. Mobile first: base size 16px, one column. System font stack (no font files, fastest on phones). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font: 400 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3 { color: var(--c-heading); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: 1.95rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--c-link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--brand-lime); color: var(--brand-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--brand-lime); color: var(--brand-ink); padding: .6rem 1rem; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 8px; }
.center { text-align: center; }
.muted { color: var(--c-text-muted); font-size: .9rem; }
.eyebrow { color: var(--c-accent); font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 .7rem; }
.lead { font-size: 1.12rem; color: var(--c-text-muted); max-width: 40rem; }
.note { color: var(--c-text-muted); font-size: .95rem; }
.badge { display: inline-block; background: var(--c-badge-bg); color: var(--c-badge-text); font-size: .68rem; font-weight: 700; letter-spacing: .05em; padding: .1rem .45rem; border-radius: 999px; vertical-align: middle; }
/* e-mail without a literal "@" in the HTML (see src/lib/mail_protect.php) */
.em-at__t { display: none; }
.em-at::after { content: "@"; }
@media (min-width: 768px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 1.95rem; }
  .lead { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
