/* Contrast (WCAG AA needs 4.5:1): light text #1a1a1a/#fff 17.4, link #0b4f9c/#fff 8.04, muted #555/#fff 7.46;
   dark text #f2f2f2/#121212 16.73, link #8ab4f8/#121212 8.89, muted #aaa/#121212 8.06 */
:root{--bg:#fff;--fg:#1a1a1a;--muted:#555;--link:#0b4f9c;--rule:#d0d0d0;color-scheme:light dark}
@media (prefers-color-scheme:dark){
:root{--bg:#121212;--fg:#f2f2f2;--muted:#aaa;--link:#8ab4f8;--rule:#333}
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--bg);color:var(--fg);
font:1.125rem/1.6 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
header,main,footer{width:100%;max-width:40rem;margin:0 auto;padding:1rem}
header{border-bottom:1px solid var(--rule)}
main{flex:1;padding-top:2.5rem}
footer{border-top:1px solid var(--rule);color:var(--muted);font-size:.9rem}
.brand{margin:0;font-weight:700;letter-spacing:.02em}
h1{margin:0 0 1rem;font-size:clamp(2rem,8vw,3rem);line-height:1.15}
.lead{font-size:1.25rem}
ul{padding-left:1.25rem}
a{color:var(--link);text-underline-offset:.15em}
a:focus-visible{outline:3px solid var(--link);outline-offset:3px;border-radius:2px}
.skip{position:absolute;left:1rem;top:-4rem;padding:.5rem 1rem;background:var(--fg);color:var(--bg);z-index:10}
.skip:focus{top:1rem;outline:3px solid var(--link);outline-offset:2px}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
