:root{color-scheme:light dark;--bg:#f8f8f4;--fg:#172e28;--muted:#4a5c56;--link:#135442;--rule:#d9ddd6}
@media (prefers-color-scheme:dark){:root{--bg:#101412;--fg:#f3f6f3;--muted:#b8c4bf;--link:#bfe899;--rule:#2c3531}}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--fg);font:1.0625rem/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
header,main,footer{max-width:46rem;margin:0 auto;padding:1.25rem 1rem}
header{display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;align-items:baseline;border-bottom:1px solid var(--rule)}
header .brand{font-weight:700;font-size:1.15rem;color:var(--fg);text-decoration:none}
nav ul{display:flex;flex-wrap:wrap;gap:1.25rem;list-style:none;margin:0;padding:0}
a{color:var(--link);text-underline-offset:.15em}
a[aria-current=page]{font-weight:700}
h1{font-size:2rem;line-height:1.2;margin:1rem 0}
h2{font-size:1.3rem;line-height:1.3;margin:2rem 0 .5rem}
li{margin-bottom:.4rem}
footer{border-top:1px solid var(--rule);color:var(--muted);font-size:.9rem}
