*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--color-background); color: var(--color-text); font-family: var(--font-sans); font-size: var(--text-base); line-height: 1.65; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--color-secondary); text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: .2rem solid var(--color-accent); outline-offset: .2rem; }
h1, h2, h3, p { margin-block-start: 0; }
h1, h2, h3 { color: var(--color-primary-dark); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: var(--text-h1); max-width: 12ch; }
h2 { font-size: var(--text-h2); max-width: 20ch; }
h3 { font-size: var(--text-h3); }
p { max-width: 68ch; }
small { font-size: var(--text-sm); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
