:root { color-scheme: light dark; --paper:#faf3df; --ink:#272238; --soft:#574c56; --line:#c6b79b; --link:#00615b; }
@media (prefers-color-scheme: dark) { :root { --paper:#171619; --ink:#e8e1ce; --soft:#c3bac0; --line:#554d53; --link:#9addce; } }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font:1.06rem/1.65 system-ui,sans-serif; }
main, header, footer { max-width:42rem; margin:auto; padding:1.25rem; }
header, footer { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
header { border-bottom:2px solid var(--ink); }
header b { font:italic bold 1.5rem Georgia,serif; }
h1,h2 { line-height:1.15; font-family:Georgia,serif; text-wrap:balance; }
h1 { font-size:clamp(2.6rem,8vw,4rem); margin:.45em 0; }
h2 { font-size:1.45rem; margin:1.5em 0 .4em; }
p { margin:.5em 0 1em; }
nav { display:flex; gap:1rem; }
a { color:var(--link); text-underline-offset:.19em; overflow-wrap:anywhere; }
a:focus-visible { outline:3px solid currentColor; outline-offset:4px; }
footer { border-top:1px solid var(--line); color:var(--soft); font-size:.9rem; margin-top:2rem; }
