:root {
  color-scheme: light dark;
  --bg: #0f1115;
  --fg: #e8e6e3;
  --muted: #9a978f;
  --accent: #e8a13c;
  --maxw: 42rem;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #faf8f5;
    --fg: #1c1b18;
    --muted: #6b675e;
    --accent: #b06f10;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.05rem/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
  padding: 2.5rem 1.25rem 4rem;
}
main { max-width: var(--maxw); margin: 0 auto; }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 1rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; }
p, li { color: var(--fg); }
.muted { color: var(--muted); }
a { color: var(--accent); text-underline-offset: 3px; }
footer {
  max-width: var(--maxw);
  margin: 3rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--muted) 30%, transparent);
  font-size: 0.9rem;
  color: var(--muted);
}
footer a { color: var(--muted); margin-right: 1rem; }
