:root {
  --bg: #ffffff;
  --text: #16151d;
  --muted: #5d5b6b;
  --line: #e6e5ee;
  --accent: #4f46e5;
  --soft: #f4f3ff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111018;
    --text: #ecebf3;
    --muted: #a3a1b4;
    --line: #2a2936;
    --accent: #a5b4fc;
    --soft: #1b1a27;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 18px; }
.brand svg { width: 32px; height: 32px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover, a { color: var(--accent); }
main { padding-top: 32px; padding-bottom: 48px; }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 36px 0 8px; }
h3 { font-size: 16px; margin: 20px 0 4px; }
.updated { color: var(--muted); margin: 0 0 24px; }
.lead { font-size: 18px; color: var(--muted); }
.card { background: var(--soft); border-radius: 12px; padding: 16px 20px; margin: 20px 0; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
footer { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 32px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-right: 16px; }
@media (max-width: 520px) {
  h1 { font-size: 26px; }
  nav a { margin-left: 12px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border: 0; padding: 2px 0; }
  tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
}
