*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: var(--space-3xl); scrollbar-color: var(--color-muted) var(--color-paper); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font: var(--text-md)/1.55 var(--font-body); -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: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; color: var(--color-muted); background: var(--color-paper-2); }
h1, h2, h3, h4 { margin: 0; min-width: 0; overflow-wrap: break-word; text-wrap: balance; font-family: var(--font-display); font-synthesis: none; font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: 1.12; }
h1 { font-size: var(--text-display); max-width: 20ch; } h2 { font-size: var(--text-section); max-width: 30ch; } h3 { font-size: var(--text-title); } h4 { font-size: var(--text-lg); }
p, figure, dl { margin: 0; } p { text-wrap: pretty; max-width: 65ch; }
img { max-width: 100%; height: auto; display: block; } svg { display: block; flex-shrink: 0; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 22px; }
.icon.small { width: 16px; height: 16px; flex-basis: 16px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: var(--space-xs); left: var(--space-md); z-index: var(--z-toast); padding: var(--space-md); background: var(--color-accent); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
body.has-modal { overflow: hidden; }
@media(max-width:800px) { :root { --gutter: 24px; --section-gap: 64px; --section-gap-l: 96px; } }
@media(max-width:480px) { :root { --gutter: 20px; } }
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
