:root {
  color-scheme: dark;
  --bg: #08080b; --surface: #151519; --border: #26262d;
  --text: #ececf1; --muted: #9a9aa6; --faint: #5f5f6b;
  --accent: #8d80ff; --accent-soft: #221f3d; --accent-text: #b2a9ff;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f6f8; --surface: #ffffff; --border: #e7e7ec;
  --text: #16161d; --muted: #6e6e7a; --faint: #a3a3ae;
  --accent: #6a5af9; --accent-soft: #efedff; --accent-text: #5144e0;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 Lexend, system-ui, sans-serif; }
.wrap { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 600; }
.logo { width: 28px; height: 28px; }
h1 { font-size: 32px; line-height: 1.2; margin: 32px 0 4px; }
.lead { color: var(--muted); margin: 0 0 24px; }
h2 { font-size: 20px; margin: 36px 0 8px; }
h3 { font-size: 16px; margin: 22px 0 4px; }
p, li { color: var(--text); }
ul { padding-left: 22px; }
li { margin: 4px 0; }
a { color: var(--accent-text); }
code { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; font-size: 14px; }
.short { background: var(--accent-soft); border-radius: 14px; padding: 14px 18px; }
.foot { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--faint); font-size: 14px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
