*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 2rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--paper);
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
  font-weight: 400;
}
h1 { font-size: var(--step-4); line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0 0 var(--space-2); max-width: 68ch; }
a { color: var(--ink); text-underline-offset: 0.2em; }
a:hover { color: var(--signal); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
section { padding-block: clamp(3.5rem, 2rem + 4vw, 5.5rem); }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--white); padding: 0.5rem 1rem;
}
.skip:focus { left: 1rem; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.note { font-size: var(--step--1); color: var(--steel); }

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