:root {
  --bg: #f7f4fb;
  --surface: #ffffff;
  --text: #241c33;
  --muted: #5d5470;
  --accent: #6b3fa0;
  --border: #e3dcee;
  --note: #f1ebfa;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15111d;
    --surface: #1f1929;
    --text: #ece6f5;
    --muted: #b3a9c4;
    --accent: #c9a8f0;
    --border: #352b45;
    --note: #2a2138;
  }
}
* { 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;
}
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header { padding-top: 32px; }
header a.brand { color: var(--accent); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
nav.lang { float: right; font-size: .9rem; }
main { padding-bottom: 32px; }
h1 { font-size: 1.8rem; line-height: 1.25; margin: 24px 0 8px; }
h2 { font-size: 1.25rem; margin: 32px 0 8px; }
h3 { font-size: 1.05rem; margin: 20px 0 4px; }
a { color: var(--accent); }
.muted { color: var(--muted); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 16px 0;
}
.note { background: var(--note); border-radius: 12px; padding: 12px 16px; }
.button {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--border); }
.table-wrap { overflow-x: auto; }
footer { padding: 24px 16px 40px; border-top: 1px solid var(--border); font-size: .9rem; }
hr { border: none; border-top: 1px solid var(--border); margin: 48px 0; }
