:root { color-scheme: dark; --bg: #10131a; --panel: #1a1f2b; --text: #e6e8ee; --muted: #9aa3b5;
  --red: #e0524f; --blue: #4f8fe0; --accent: #f0b43c; --line: #2c3344; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 0.75rem 1rem; background: var(--panel);
  border-bottom: 3px solid; border-image: linear-gradient(90deg, var(--red), var(--blue)) 1; }
header nav { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
header nav.site { flex: 1; }
header form { margin: 0; }
.brand { font-weight: 700; font-size: 1.2rem; color: var(--text); text-decoration: none; letter-spacing: 0.04em; }
main { max-width: 56rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
h1 { margin-top: 0.5rem; }
a { color: var(--blue); }
.button, button { display: inline-block; padding: 0.45rem 0.9rem; border: 1px solid #3a4258; border-radius: 6px;
  background: #222a3a; color: var(--text); text-decoration: none; font: inherit; cursor: pointer; }
.button:hover, button:hover { border-color: var(--accent); }
.button.big, button.big { padding: 0.7rem 1.3rem; font-size: 1.1rem; border-color: var(--accent); }
.soon { color: var(--muted); }
.danger, .button.danger { border-color: var(--red); }
.warn { color: var(--red); }
.code { font-family: ui-monospace, Consolas, monospace; letter-spacing: 0.05em; }
form.inline { display: inline; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.2rem; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; }
th, td { text-align: left; padding: 0.35rem 0.5rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
td.num, th.num { text-align: right; }
tbody tr:hover { background: var(--panel); }
.tabs a { margin-right: 0.6rem; }
.tabs a.on { color: var(--accent); font-weight: 700; text-decoration: none; }
pre { background: var(--panel); padding: 0.75rem 1rem; border-radius: 6px; overflow-x: auto; }
footer { max-width: 56rem; margin: 0 auto; padding: 1rem; color: var(--muted); font-size: 0.9rem; }
footer a { color: var(--muted); }
@media (max-width: 40rem) { table { font-size: 0.9rem; } th, td { padding: 0.3rem; } }
