:root { color-scheme: light; --background: #fff9f0; --surface: #fff; --ink: #25304a; --muted: #565e76; --outline: #e5ddcb; --teal: #00574b; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--ink); font: 1rem/1.75 "Segoe UI", system-ui, sans-serif; }
a { color: var(--teal); text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { color: #c94a18; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
header, main, footer { width: min(100% - 2.5rem, 54rem); margin-inline: auto; }
header { padding: 1.75rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.brand { color: var(--ink); font-size: 1.65rem; font-weight: 800; text-decoration: none; line-height: 1.3; }
.brand small { display: block; color: var(--muted); font-size: .875rem; font-weight: 400; margin-top: .3rem; }
nav { display: flex; gap: .4rem; flex-wrap: wrap; }
nav a { display: inline-block; min-height: 3rem; padding: .5rem .9rem; border: 1px solid transparent; border-radius: .5rem; text-decoration: none; }
nav a:hover { background: #f7f3ea; }
nav [aria-current="page"] { background: #e7f5f2; border-color: #bfded6; font-weight: 700; }
main { padding: clamp(1.25rem, 4vw, 2.5rem); background: var(--surface); border: 1px solid var(--outline); border-radius: .5rem; box-shadow: 0 3px 12px #25304a06; }
h1 { font-size: clamp(2.25rem, 7vw, 3.5rem); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 1.5rem; }
h2 { font-size: 1.35rem; line-height: 1.4; margin: 2.5rem 0 .75rem; }
p { margin: 0 0 1.25rem; overflow-wrap: break-word; }
li { margin-bottom: .5rem; }
.updated { color: var(--muted); font-size: .875rem; }
aside { border-top: 1px solid var(--outline); margin-top: 3rem; }
footer { padding: 2rem 0; color: var(--muted); font-size: .875rem; }
footer p { margin-bottom: .5rem; }
.skip { position: absolute; left: 1rem; top: -8rem; background: var(--surface); padding: .75rem; z-index: 2; }
.skip:focus { top: 1rem; }
@media (max-width: 30rem) { header, main, footer { width: calc(100% - 2rem); } header { gap: 1rem; } nav { width: 100%; } nav a { flex: 1; text-align: center; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
