*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; background: var(--color-background); color: var(--color-text); font-family: var(--font-sans); font-size: 1rem; line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: var(--color-navy); text-underline-offset: 0.18em; }
a:hover { color: var(--color-accent-hover); }
button, select, input, textarea { font: inherit; }
button, a, select { touch-action: manipulation; }
:focus-visible { outline: 0.2rem solid var(--color-focus); outline-offset: 0.18rem; }
h1, h2, h3 { margin-top: 0; color: var(--color-navy-dark); line-height: 1.18; }
h1 { font-size: clamp(2.15rem, 6vw, 4.75rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin-top: 0; }
code { font-family: var(--font-mono); }
.skip-link { position: fixed; z-index: 100; top: 0.5rem; left: 0.5rem; padding: 0.7rem 1rem; background: var(--color-surface); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

