*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
@media (pointer: fine) { html { overscroll-behavior: none; } }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
a, button, input, textarea, label { touch-action: manipulation; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--surface-0);
  font-feature-settings: "ss01", "cv05";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-deep); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
strong { font-weight: 700; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-tint); }

main:focus { outline: none; }
.visually-hidden {
  position: absolute !important; 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(--gutter); top: -100px; z-index: 100;
  padding: 0.75rem 1.25rem; background: var(--navy); color: #fff; border-radius: var(--pill);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right)), var(--container)); margin-inline: auto; }

/* type scale */
.display-1 { font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 1.02; letter-spacing: -0.025em; font-weight: 800; margin: 0 0 0.5em; text-wrap: balance; max-width: 16ch; }
.display-2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 0.6em; text-wrap: balance; max-width: 22ch; }
.display-3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: -0.012em; font-weight: 700; margin: 0 0 0.5em; text-wrap: balance; }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-deep); margin: 0 0 1rem;
}
.eyebrow a { text-decoration: none; }
.eyebrow--light { color: var(--accent-soft); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--text-muted); max-width: 58ch; }
.lede--strong { color: var(--text); font-weight: 600; }
.prose { max-width: 70ch; }
.prose p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.7; }
.prose h2 { margin-top: 2.2em; }
.prose__legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 0.95rem; }

/* grids */
.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--space-3); }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
