:root { --bg: #fbfaf8; --surface: #fff; --border: #e3e2de; --text: #1d1d1b; --muted: #64625d; --accent: #f38020; --code: #f1f0ec; color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #131312; --surface: #1c1c1a; --border: #2f2e2b; --text: #ecebe7; --muted: #a09e97; --accent: #f6923a; --code: #232321; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 system-ui, -apple-system, sans-serif; }
main { max-width: 820px; margin: 0 auto; padding: 2rem 16px 4rem; }
nav { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; font-weight: 600; }
a { color: var(--accent); }
h1 { margin: 0 0 0.25rem; font-size: 1.9rem; }
.muted { color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem; margin: 1rem 0; }
.card h2 { margin: 0 0 0.5rem; font-size: 1.05rem; }
code { font: 0.9em ui-monospace, Menlo, monospace; background: var(--code); padding: 0.1em 0.35em; border-radius: 4px; }
pre { background: var(--code); padding: 0.75rem 1rem; border-radius: 8px; overflow-x: auto; font: 12.5px/1.5 ui-monospace, Menlo, monospace; max-height: 320px; }
button { font: inherit; font-weight: 600; background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 0.45rem 0.9rem; cursor: pointer; margin: 0 0.4rem 0.4rem 0; }
input { font: inherit; padding: 0.4rem 0.6rem; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--text); }
.badge { display: inline-block; font-size: 0.75rem; padding: 0.1rem 0.5rem; border-radius: 99px; background: var(--accent); color: #fff; vertical-align: middle; }
