:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #0b0d12; color: #ece9e4; font: 16px/1.6 system-ui, -apple-system, sans-serif; }
a { color: #7fd4e8; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #20242c; background: rgba(11,13,18,.96); position: sticky; top: 0; z-index: 10; }
.brand { font: 600 14px Georgia, serif; letter-spacing: .04em; opacity: .9; }
.brand a { color: inherit; text-decoration: none; }
.pill { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(236,233,228,.35); background: rgba(20,24,32,.6); color: #ece9e4; font: 600 13px system-ui; text-decoration: none; }
.pill.solid { background: #5ec5dc; border-color: #5ec5dc; color: #08131a; }
.wrap { max-width: 720px; margin: 0 auto; padding: 32px 20px 80px; }
.draft { display: inline-block; font: 700 12px system-ui; letter-spacing: .18em; color: #08131a; background: #5ec5dc; border-radius: 4px; padding: 4px 10px; text-transform: uppercase; }
h1 { font: 400 42px/1.1 Georgia, serif; margin: 18px 0 8px; }
h2 { font: 400 26px/1.2 Georgia, serif; margin: 40px 0 12px; }
.lede { color: rgba(236,233,228,.78); font-size: 17px; }
.hero { display: block; width: 100%; border-radius: 12px; margin: 22px 0 6px; }
.caption { color: rgba(236,233,228,.55); font-size: 13px; margin: 6px 0 0; }
.card { display: block; text-decoration: none; color: inherit; border: 1px solid rgba(127,212,232,.4); background: rgba(94,197,220,.08); border-radius: 12px; padding: 16px 18px; margin: 12px 0; }
.card span { font-weight: 700; display: block; }
.card small { color: rgba(236,233,228,.65); }
.note { color: rgba(236,233,228,.6); font-size: 14px; margin-top: 24px; }
.prose p { margin: 14px 0; }
.sys { font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: #9adfeb; background: rgba(94,197,220,.07); border: 1px solid rgba(94,197,220,.25); border-left-width: 4px; border-radius: 6px; padding: 12px 14px; margin: 18px 0; white-space: pre-wrap; }
.chapter { border-top: 1px solid #20242c; margin-top: 48px; padding-top: 8px; }
.fact { color: rgba(236,233,228,.5); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
