*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-block-start: var(--space-lg); 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; caret-color: var(--color-accent); }
::selection { background: var(--color-wash); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:active { text-decoration-style: double; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; overflow-wrap: break-word; min-width: 0; text-wrap: balance; line-height: 1.1; }
p { margin: 0; }
img, video { max-inline-size: 100%; block-size: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
.frame { max-inline-size: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus-visible { position: fixed; z-index: 100001; inset: var(--space-md) auto auto var(--space-md); inline-size: auto; block-size: auto; padding: var(--space-sm) var(--space-md); background: var(--color-paper); color: var(--color-ink); clip-path: none; }
