:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --ink: #1b2236;
  --muted: #5a6478;
  --brand: #1f2a44;
  --accent: #dc2828;
  --line: #dde1ea;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11151f;
    --surface: #1a2030;
    --ink: #e8ebf2;
    --muted: #a3acc0;
    --brand: #0c1222;
    --line: #2b3346;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
header {
  background: #1f2a44;
  color: #fff;
  padding: 20px 16px;
}
header .wrap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
header img { width: 44px; height: 44px; border-radius: 10px; }
header a.home { color: #fff; text-decoration: none; font-weight: 700; font-size: 20px; }
nav.lang { margin-left: auto; display: flex; gap: 6px; }
nav.lang a {
  color: #cfd6e6; text-decoration: none; padding: 4px 10px;
  border: 1px solid #3a4766; border-radius: 999px; font-size: 14px;
}
nav.lang a[aria-current="true"] { background: #fff; color: #1f2a44; border-color: #fff; }
.wrap { max-width: 760px; margin: 0 auto; }
main { padding: 24px 16px 64px; }
h1 { font-size: 30px; line-height: 1.2; margin: 8px 0 12px; }
h2 { font-size: 21px; margin: 32px 0 8px; }
p, li { color: var(--ink); }
.muted { color: var(--muted); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 16px 0;
}
.card strong { color: var(--accent); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 6px; border-top: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
a { color: inherit; }
footer { padding: 24px 16px 40px; color: var(--muted); font-size: 14px; }
.hero { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.hero img { width: 96px; height: 96px; border-radius: 22px; }
ul.features { padding-left: 20px; }
section[lang] { scroll-margin-top: 16px; }
a.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}
