:root {
  --bg: #0f1216;
  --surface: #181c22;
  --border: #2a313b;
  --text: #eef1f4;
  --muted: #a7b0bc;
  --accent: #8ab4ff;
  --warn-bg: #3a2a0b;
  --warn-text: #f5d08a;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --border: #dce2ec;
    --text: #0f1a2e;
    --muted: #46526a;
    --accent: #1f4fd1;
    --warn-bg: #fff4dc;
    --warn-text: #6b4a00;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
header.site { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
header.site img { width: 52px; height: 52px; border-radius: 12px; }
header.site .name { font-weight: 700; font-size: 20px; }
header.site .by { color: var(--muted); font-size: 14px; }
nav.lang { margin-left: auto; font-size: 14px; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 6px; }
h2 { font-size: 20px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 22px 0 6px; }
p, li { color: var(--text); }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
a { color: var(--accent); }
.callout {
  background: var(--warn-bg);
  color: var(--warn-text);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 20px 0;
}
.caps { text-transform: uppercase; font-size: 15px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 14px 0;
}
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.cards a.card { display: block; text-decoration: none; color: var(--text); }
.cards a.card strong { color: var(--accent); }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; }
.table-wrap { overflow-x: auto; }
footer { margin-top: 48px; color: var(--muted); font-size: 14px; }
