:root {
  --bg: #f6f1e8;
  --text: #24201c;
  --muted: #6f6559;
  --accent: #a0522d;
  --line: #e2d8c8;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1b1916; --text: #eee6da; --muted: #a59a8c; --accent: #e0915f; --line: #33302b; }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.65 Georgia, "Times New Roman", serif;
}
header, main, footer { max-width: 40rem; margin: 0 auto; padding: 0 1.25rem; }
header {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem;
  padding-top: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line);
  font-family: system-ui, sans-serif; font-size: 15px;
}
.brand { font-weight: 700; color: var(--text); text-decoration: none; }
nav a { color: var(--muted); text-decoration: none; margin-left: 1rem; }
nav a:first-child { margin-left: 0; }
nav a[aria-current="page"], nav a:hover { color: var(--accent); }
main { padding-top: 2rem; padding-bottom: 3rem; }
h1 { font-size: 2.2rem; line-height: 1.15; margin: 0 0 1rem; }
a { color: var(--accent); }
code { font-size: .9em; background: var(--line); padding: .1em .35em; border-radius: 4px; }
footer {
  padding-top: 1rem; padding-bottom: 3rem; border-top: 1px solid var(--line);
  color: var(--muted); font: 14px system-ui, sans-serif;
}
