:root {
  --bg: #fbf6ee;
  --card: #ffffff;
  --ink: #2a1430;
  --muted: #6b5a6e;
  --accent: #c2410c;
  --line: #eadfce;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b0f1f;
    --card: #2a1430;
    --ink: #f6eee6;
    --muted: #c9b8c9;
    --accent: #fb923c;
    --line: #3d2442;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
header { text-align: center; margin-bottom: 24px; }
header img { max-width: 360px; width: 80%; height: auto; }
nav { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 8px 0 24px; }
a { color: var(--accent); }
nav a { font-weight: 600; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}
h1 { font-size: 1.8em; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 1.25em; margin: 28px 0 8px; }
.card > h2:first-child { margin-top: 0; }
.muted { color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: 0.95em; }
th, td { text-align: left; vertical-align: top; padding: 8px 6px; border-bottom: 1px solid var(--line); }
footer { text-align: center; color: var(--muted); font-size: 0.9em; margin-top: 40px; }
@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border: none; padding: 2px 0; }
  tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  td:first-child { font-weight: 600; }
}
