*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px);
}
body {
  margin: 0; background: var(--surface); color: var(--text);
  font: 400 var(--fs-base)/1.65 var(--font-body);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 .6em; font-family: var(--font-display); font-weight: 700; line-height: 1.25; color: var(--heading); }
h1 { font-size: var(--fs-hero); font-weight: 800; line-height: 1.15; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-md); }
p { margin: 0 0 1em; }
a { color: var(--blue-700); text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--blue-700); color: #fff; padding: .5rem 1rem; }
.skip-link:focus { left: 1rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
