*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--white); }
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 var(--space-2); font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0 0 var(--space-2); text-wrap: pretty; }
ul, ol { padding-left: 1.2em; margin: 0 0 var(--space-2); }
table { border-collapse: collapse; width: 100%; }
[id] { scroll-margin-top: 88px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--coral); color: var(--coral-ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--space-2); top: -100px; z-index: 100;
  background: var(--coral); color: var(--coral-ink); padding: 0.6em 1em; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: var(--space-2); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--space-6); }
.eyebrow {
  font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: var(--space-2);
}
.lede { font-size: var(--step-1); color: var(--mist); max-width: 46ch; }
.muted { color: var(--mist); }
.mono { font-family: var(--mono); }

/* Page-to-page: the browser cross-fades between pages, the header stays put (View Transitions). */
@view-transition { navigation: auto; }
.site-header__inner { view-transition-name: site-header; }
::view-transition-old(root) { animation: 0.28s ease both vt-out; }
::view-transition-new(root) { animation: 0.42s cubic-bezier(.2,.8,.2,1) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
