:root { color-scheme: light dark; --bg: #f5f5f2; --text: #202722; --muted: #626b64; --line: #dce1d9; --link: #236b45; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
header, main, footer { width: min(100% - 48px, 800px); margin: 0 auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.brand { color: var(--text); font-size: 30px; font-weight: 700; letter-spacing: -1.5px; text-decoration: none; }
.brand span { color: var(--link); }
.caption, footer { color: var(--muted); font-size: 14px; }
main { padding: 44px 0 48px; }
h1 { margin: 0 0 24px; font-size: clamp(30px, 6vw, 46px); line-height: 1.15; letter-spacing: -1px; }
h2 { margin: 36px 0 12px; font-size: 21px; line-height: 1.35; }
p { margin: 0 0 20px; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; border-radius: 2px; }
code { overflow-wrap: anywhere; font-size: .9em; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 0 36px; border-top: 1px solid var(--line); }
@media (max-width: 520px) { header, main, footer { width: calc(100% - 40px); } .caption { max-width: 130px; text-align: right; line-height: 1.4; } main { padding-top: 32px; } }
@media (prefers-color-scheme: dark) { :root { --bg: #171e19; --text: #edf2eb; --muted: #a7b2a5; --line: #354136; --link: #91d7ac; } }
