:root { color-scheme: light dark; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f8f3e9; color: #2c2118; }
* { box-sizing: border-box; }
body { margin: 0; background: #f8f3e9; color: #2c2118; }
a { color: #75401f; text-underline-offset: 3px; }
a:hover { color: #3f2312; }
header, main, footer { width: min(820px, calc(100% - 36px)); margin-inline: auto; }
header { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
header a { color: inherit; text-decoration: none; }
header nav { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14px; }
main { padding: 56px 0 72px; }
h1 { max-width: 720px; margin: 0 0 24px; font: 600 clamp(36px, 7vw, 64px)/1.02 Georgia, serif; letter-spacing: -0.025em; }
h2 { margin: 44px 0 12px; font: 600 24px/1.2 Georgia, serif; }
h3 { margin: 28px 0 8px; font-size: 17px; }
p, li { font-size: 16px; line-height: 1.7; }
p { max-width: 72ch; }
ul, ol { max-width: 70ch; padding-left: 22px; }
code, pre { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
code { font-size: .9em; }
pre { overflow: auto; padding: 16px; border-radius: 6px; background: #30251d; color: #fffaf0; font-size: 13px; line-height: 1.55; }
.lede { font-size: 19px; line-height: 1.55; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin: 32px 0; }
.facts section { padding: 18px 0; border-top: 2px solid #8b5a36; }
.facts h2 { margin: 0 0 8px; font: 650 15px/1.3 ui-sans-serif, system-ui, sans-serif; }
.facts p { margin: 0; font-size: 14px; }
footer { padding: 22px 0 32px; border-top: 1px solid #cdbda9; color: #655649; font-size: 13px; }
@media (max-width: 600px) {
  header { flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 12px 0; }
  header nav { gap: 8px 14px; }
  main { padding-top: 36px; }
  pre { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
}
@media (prefers-color-scheme: dark) {
  :root, body { background: #211b17; color: #f4eadb; }
  a { color: #e0a06f; } a:hover { color: #ffd0a8; }
  pre { background: #0e0c0a; }
  footer { color: #cbbba9; border-color: #4d4035; }
}
