/* Reset, font e tipografia di base. */
@font-face { font-family: 'Geist'; src: url('../fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('../fonts/source-serif-4.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--color-ink); background: var(--color-paper); }
h1, h2, h3, h4 { margin: 0 0 var(--s2); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: 30px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
p { margin: 0 0 var(--s3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-hover); }
img, svg { max-width: 100%; }
ul, ol { margin: 0 0 var(--s3); padding-left: 1.25em; }
code { font-size: .9em; background: var(--color-soft); padding: 1px 5px; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--color-rule); margin: var(--s6) 0; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 4px; }
.muted { color: var(--color-muted); }
.small { font-size: 13px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-muted); margin-bottom: var(--s2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--color-surface); padding: var(--s2) var(--s3); z-index: 10; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
@media (max-width: 720px) { h1 { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
