:root {
  color-scheme: light dark;
  --bg: #fff8f5;
  --text: #1c1b1f;
  --muted: #857470;
  --accent: #b45309;
  --rule: #f3ede8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1b1f;
    --text: #f3ede8;
    --muted: #b5a8a0;
    --accent: #f59e42;
    --rule: #2b2118;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

h1 { font-size: 1.6rem; line-height: 1.3; }
h2 { font-size: 1.15rem; margin-top: 2rem; }
a { color: var(--accent); }
code { font-size: 0.9em; overflow-wrap: anywhere; }
hr { border: none; border-top: 2px solid var(--rule); margin: 3rem 0; }
.meta, .lang { color: var(--muted); }
