:root {
  --bg: #faf7f2;
  --card: #ffffff;
  --text: #2a2430;
  --muted: #6b6475;
  --accent: #6b3fa0;
  --line: #e7e0d6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17131c;
    --card: #211b29;
    --text: #efeaf5;
    --muted: #a79fb3;
    --accent: #c4a2f0;
    --line: #342c3f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
header { margin-bottom: 24px; }
.brand { font-weight: 800; letter-spacing: .02em; color: var(--accent); text-decoration: none; }
h1 { font-size: 2rem; line-height: 1.2; margin: 12px 0 6px; }
h2 { font-size: 1.2rem; margin: 36px 0 8px; padding-top: 8px; border-top: 1px solid var(--line); }
p, li { margin: 8px 0; }
ul { padding-left: 22px; }
.meta { color: var(--muted); font-size: .95rem; margin: 0; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 20px 0;
}
a { color: var(--accent); }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
footer { margin-top: 48px; color: var(--muted); font-size: .9rem; }
@media (max-width: 560px) {
  h1 { font-size: 1.6rem; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  td { border: 0; padding: 2px 0; }
  td:first-child { font-weight: 700; }
}
