/* Base: reset, type scale, layout primitives. Built on tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.5 var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; }
svg.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.15em; display: inline-block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-strong); }
:focus-visible { outline: 2px solid var(--orange-strong); outline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding-left: 1.2em; }
code { font: 500 0.9em var(--font-mono); background: var(--surface-sunken); padding: 1px 5px; border-radius: 3px; }
[hidden] { display: none !important; }
section[id], main[id] { scroll-margin-top: 88px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Type scale: a 1.25 ratio with tighter tracking on display sizes. Headings are not all 800. */
.display { font-family: "Hanken Grotesk", var(--font-sans); font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5.25rem); line-height: 0.98; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.h1 { font-family: "Hanken Grotesk", var(--font-sans); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.022em; text-wrap: balance; }
.h2 { font-family: "Hanken Grotesk", var(--font-sans); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); line-height: 1.2; font-weight: 500; letter-spacing: -0.012em; text-wrap: balance; }
.h3 { font-size: 1.0625rem; line-height: 1.35; font-weight: 600; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.5; color: var(--ink-muted); max-width: 58ch; text-wrap: pretty; }
.body-sm { font-size: 0.875rem; line-height: 1.45; }
.muted { color: var(--ink-muted); }
.danger { color: var(--danger); }
.label { font-size: 0.75rem; line-height: 1.3; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.data { font-family: var(--font-mono); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.display, .h1, .h2 { hyphens: manual; overflow-wrap: break-word; }
p { hyphens: auto; }
.lead { hyphens: manual; }
.br-wide { display: none; }
@media (min-width: 900px) { .br-wide { display: inline; } }

/* Layout */
.wrap { width: min(1200px, 100% - 2 * var(--space-4)); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(1200px, 100% - 2 * var(--space-8)); } }
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 7rem); }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head .lead { margin-top: var(--space-4); }
.eyebrow { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.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; }
