:root {
  color-scheme: dark;
  --bg: #0b0d14;
  --surface: #151822;
  --text: #f2f4fb;
  --muted: #a9afc3;
  --line: #303647;
  --accent: #2ed47f;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
header { border-bottom: 1px solid var(--line); background: var(--surface); }
nav, main, footer { width: min(760px, calc(100% - 40px)); margin: 0 auto; }
nav { min-height: 72px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--text); font-weight: 800; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 8px; }
nav > a:not(.brand) { color: var(--muted); text-decoration: none; font-size: 14px; }
nav a:hover { color: var(--accent); }
main { padding: 56px 0 64px; }
h1 { margin: 0 0 12px; font-size: clamp(32px, 7vw, 48px); line-height: 1.1; }
h2 { margin-top: 42px; font-size: 22px; }
p, li { color: var(--muted); }
a { color: var(--accent); }
.updated { margin-bottom: 36px; font-size: 14px; }
.notice { border-left: 3px solid var(--accent); padding: 12px 16px; background: var(--surface); }
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 13px; }
@media (max-width: 560px) {
  nav { padding: 14px 0; gap: 12px; }
  .brand { width: 100%; }
  main { padding-top: 38px; }
}
