:root {
  --bg: #f6f3ea;
  --text: #2a2f27;
  --muted: #646b5e;
  --accent: #4f7a3c;
  --card: #ebe6d6;
  --rule: #d8d1bd;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1f19;
    --text: #e8e6dc;
    --muted: #a3a898;
    --accent: #9cc77f;
    --card: #262b23;
    --rule: #383e33;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 42rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.25rem; }
h2 { font-size: 1.25rem; margin: 2.25rem 0 0.5rem; }
a { color: var(--accent); }
ul, ol { padding-left: 1.25rem; }
li { margin: 0.35rem 0; }
.crumb { margin: 0 0 1.5rem; font-weight: 600; }
.crumb a { text-decoration: none; }
.meta, .summary { color: var(--muted); }
.summary { font-style: italic; margin-top: 0; }
.glance { background: var(--card); border-radius: 12px; padding: 0.25rem 1.25rem 0.75rem; margin: 1.5rem 0; }
.glance h2 { margin-top: 1rem; }
.toc { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 0.5rem 0; }
.toc li { margin: 0.15rem 0; }
.home { padding-top: 5rem; }
.home h1 { font-size: 3rem; }
.tagline { color: var(--muted); font-size: 1.25rem; margin-top: 0; }
.links { margin-top: 2rem; }
