:root {
  --bg: #e8e5de;
  --surface: #f6f4f0;
  --text: #34312c;
  --muted: #6f6f67;
  --border: #cac7c0;
  --accent: #256b4c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1c1a;
    --surface: #272623;
    --text: #ece9e2;
    --muted: #a9a59c;
    --border: #3d3b37;
    --accent: #8fd3b0;
  }
}
* { box-sizing: border-box; }
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: 760px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}
header { margin-bottom: 24px; }
.brand { margin: 0; font-weight: 600; color: var(--accent); letter-spacing: 0.02em; }
h1 { margin: 4px 0 8px; font-size: 2rem; line-height: 1.2; }
h2 { margin: 0 0 8px; font-size: 1.2rem; }
.meta { margin: 0; color: var(--muted); font-size: 0.9rem; }
section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}
section p:last-child, section ul:last-child, section ol:last-child { margin-bottom: 0; }
a { color: var(--accent); }
code { font-size: 0.9em; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 8px 8px 0; border-top: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; border-top: none; }
@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { border-top: 1px solid var(--border); padding: 8px 0; }
  td { border: none; padding: 2px 0; }
  td:first-child { font-weight: 600; }
}
