*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body { margin: 0; background: var(--color-bg); color: var(--color-ink); font: var(--font-size-body)/var(--line-body) var(--font-ui); }
h1, h2, h3, h4 { line-height: var(--line-heading); letter-spacing: var(--tracking-heading); margin: 0 0 var(--space-3); overflow-wrap: anywhere; }
h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
p { margin: 0 0 var(--space-3); }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .12em; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
input, select, textarea { max-width: 100%; }
:focus-visible { outline: var(--focus-width) solid var(--color-focus); outline-offset: var(--focus-offset); }
[hidden] { display: none !important; }
code, pre { font-family: var(--font-mono); }
pre { overflow: auto; padding: var(--space-3); background: var(--color-bg-subtle); }
fieldset { min-width: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
