* { box-sizing: border-box; }
/* several hidden panels also set display:grid, which would otherwise win */
[hidden] { display: none !important; }
img { max-width: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink-body);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
a { color: inherit; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1140px; margin: 0 auto; padding-inline: 20px; }
.mono { font-family: var(--mono); }
.eyebrow {
  font: 600 12px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
/* scroll-margin keeps #id jumps clear of the 64px sticky nav */
.section { padding-block: 88px 0; scroll-margin-top: 64px; }
.section-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; }
.section-head p { color: var(--ink-muted); font-size: 17px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
