*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 0; scroll-snap-type: y mandatory; }
body { background: var(--color-paper); color: var(--color-ink); font-family: var(--body-font-family); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif-font-family); font-weight: 400; line-height: 1.12; }
h1, h2, h3, p { overflow-wrap: break-word; }
em { font-weight: inherit; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; }
::selection { background: var(--color-primary); color: var(--color-black); }
:focus-visible { outline: 2px solid var(--color-paper); outline-offset: 2px; box-shadow: 0 0 0 6px var(--color-black); }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 12px 20px; background: var(--color-paper); color: var(--color-black); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
