*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; scrollbar-color: var(--color-muted) var(--color-paper); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
a { color: inherit; text-underline-offset: 0.18em; }
h1, h2, h3 { margin: 0; color: var(--color-ink); font-family: var(--font-display); font-weight: 700; letter-spacing: -0.045em; line-height: 0.98; min-width: 0; overflow-wrap: break-word; text-wrap: balance; }
h1 { max-width: 12ch; font-size: var(--text-display); }
h2 { max-width: 14ch; font-size: var(--text-section); }
h3 { font-size: var(--text-title); line-height: 1.08; }
p { margin: 0; text-wrap: pretty; }
figure { margin: 0; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
ul { margin: 0; padding: 0; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; } }
