*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--step-0)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 var(--space-4); text-wrap: balance; }
h1 { font-size: var(--step-4); font-weight: 750; letter-spacing: -0.022em; font-variation-settings: "opsz" 96; }
h2 { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: var(--step-1); font-weight: 650; letter-spacing: -0.01em; margin-bottom: var(--space-2); }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
a { color: var(--link); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
main { padding-block: var(--space-6) var(--space-8); }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.num { font-variant-numeric: tabular-nums; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 38rem; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: var(--space-4); top: var(--space-4); background: var(--surface); padding: var(--space-2) var(--space-3); z-index: 10; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
