:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --text: #2A2520;
  --muted: #6B6157;
  --rule: #E5DDD1;
  --accent: #8A6F4E;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1A1714;
    --surface: #221E19;
    --text: #EFE9E0;
    --muted: #A9A093;
    --rule: #3A342C;
    --accent: #C9A87C;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 2.5rem 1.25rem 4rem;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
main { max-width: 45rem; margin: 0 auto; }
header { border-bottom: 1px solid var(--rule); padding-bottom: 1.25rem; margin-bottom: 2rem; }
h1 { font-size: 1.85rem; margin: 0 0 .35rem; letter-spacing: -.02em; }
h2 { font-size: 1.15rem; margin: 2.25rem 0 .6rem; letter-spacing: -.01em; }
h3 { font-size: 1rem; margin: 1.5rem 0 .4rem; }
p, li { color: var(--text); }
.meta { color: var(--muted); font-size: .9rem; margin: 0; }
a { color: var(--accent); }
ul { padding-left: 1.25rem; }
li { margin: .3rem 0; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .95rem; }
th, td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.note { background: var(--surface); border: 1px solid var(--rule); border-radius: .6rem; padding: 1rem 1.15rem; margin: 1.5rem 0; }
footer { margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .875rem; }
