:root{--bg:#F6F1E7;--surface:#FFFDF8;--text:#1F2A24;--muted:#52605A;--primary:#2E5E4E;--border:#D9CEBB}
@media (prefers-color-scheme:dark){:root{--bg:#141A17;--surface:#1E2622;--text:#EFE9DD;--muted:#B5B0A3;--primary:#8FC4AE;--border:#3A4640}}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font:17px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
main,footer{max-width:42rem;margin:0 auto;padding:1.25rem}
h1{font-family:"Noto Serif Display","Iowan Old Style","Palatino Linotype",Georgia,serif;font-weight:500;font-size:1.9rem;line-height:1.25}
a{color:var(--primary);text-underline-offset:.15em}
a:focus-visible{outline:3px solid var(--primary);outline-offset:2px}
footer{border-top:1px solid var(--border);color:var(--muted);font-size:.95rem}
footer a{display:inline-block;min-height:44px;line-height:44px}
.note{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:.75rem 1rem;color:var(--muted)}
