:root {
  color-scheme: light dark;
  --bg: #f5f6f8; --panel: #fff; --text: #1c2230; --muted: #5d6573; --line: #e2e5ea; --accent: #4f46e5;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #12151b; --panel: #1b1f27; --text: #e7e9ee; --muted: #a1a9b8; --line: #2b313c; --accent: #818cf8; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
main { max-width: 720px; margin: 0 auto; padding: 32px 16px 48px; }
.brand { margin: 0 0 4px; color: var(--muted); font-weight: 600; }
h1 { font-size: 28px; margin: 0 0 20px; }
article { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; overflow-wrap: anywhere; }
article h1, article h2, article h3, article h4 { line-height: 1.3; margin: 1.4em 0 .5em; }
article > :first-child { margin-top: 0; }
article ul, article ol { padding-left: 22px; }
a[href] { color: var(--accent); }
.muted { color: var(--muted); }
footer { margin-top: 24px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 16px; }
