/* Static pages (/roadmap, /blog, /audit): no JS, no external hosts. Colours = the app's dark theme defaults (src/index.css :root).
   Fonts: the app's own are bundled into hashed files, so these pages use the system stack (no font request at all). */
:root { --bg: #0c0c0b; --panel: #131311; --raised: #1a1a18; --line: rgba(255, 255, 255, 0.06); --line-hi: rgba(255, 255, 255, 0.11);
  --text: #e2dfd8; --muted: #96928c; --accent: #c8302a; --accent-text: #e5604f; --long: #4cc79f; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-text); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.top { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; min-height: 52px; padding: 8px 16px; background: var(--panel); border-bottom: 1px solid var(--line); }
.top .mark { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 600; letter-spacing: -0.03em; color: var(--text); text-decoration: none; }
.top .mark img { width: 22px; height: 22px; }
.top nav { display: flex; gap: 16px; flex-wrap: wrap; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }
.top .open { margin-left: auto; padding: 5px 12px; border-radius: 3px; background: var(--accent); color: #fff; text-decoration: none; font-size: 14px; }
main { max-width: 720px; margin: 0 auto; padding: 32px 16px 56px; }
h1 { font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 36px 0 8px; letter-spacing: -0.01em; }
p, li { max-width: 65ch; }
.lede, .meta { color: var(--muted); }
.meta { font-size: 14px; margin: 0 0 24px; }
code, .num { font-family: ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace; font-size: 0.9em; }
code { background: var(--raised); padding: 1px 5px; border-radius: 3px; }
.tw { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-hi); vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 13px; }
td.r, th.r { text-align: right; }
td.num { white-space: nowrap; }
tr.us td { background: var(--raised); }
.list { list-style: none; padding: 0; }
.list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.list a { font-size: 18px; }
.note { border-left: 2px solid var(--accent); padding: 2px 0 2px 14px; color: var(--muted); }
footer { max-width: 720px; margin: 0 auto; padding: 20px 16px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer a { color: var(--muted); }
/* 404 page: the app's own look (Inter / Space Grotesk / JetBrains Mono, panel header, light primary button),
   the logo eye over a faint chart grid. Fonts in /fonts are copies of the app's @fontsource files (OFL). */
@font-face { font-family: 'Inter K'; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Space Grotesk K'; src: url('/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono K'; src: url('/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }
.nf-body { min-height: 100vh; display: flex; flex-direction: column; font-family: 'Inter K', system-ui, sans-serif; font-size: 15px;
  background:
    radial-gradient(ellipse 55% 50% at 50% 42%, transparent 0%, var(--bg) 78%),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 48px),
    var(--bg); }
.nf-top { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--panel); }
.nf-top .mark { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font: 600 19px/1 'Space Grotesk K', sans-serif; letter-spacing: -0.03em; }
.nf-spacer { flex: 1; }
.nf { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; max-width: 620px; padding: 48px 16px; }
.nf-eye { width: 88px; height: 88px; margin-bottom: 22px; animation: nf-in 0.8s ease-out both; }
.nf-code { margin: 0 0 14px; font: 500 12px 'JetBrains Mono K', ui-monospace, monospace; letter-spacing: 0.02em; color: var(--faint, #827f7a); }
.nf h1 { margin: 0 0 12px; font: 600 40px/1.15 'Space Grotesk K', sans-serif; letter-spacing: -0.03em; }
.nf-lede { margin: 0; color: var(--muted); line-height: 1.6; max-width: 46ch; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 0; }
.nf-btn { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 3px; border: 1px solid var(--line-hi); background: var(--raised); color: var(--text); text-decoration: none; font-weight: 500; font-size: 14px; }
.nf-btn:hover { background: #222220; }
.nf-btn.nf-primary { background: var(--text); border-color: transparent; color: var(--bg); }
.nf-btn.nf-primary:hover { background: #f0ede6; }
.nf-btn.nf-ghost { background: none; border-color: transparent; color: var(--muted); }
.nf-btn.nf-ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.03); }
.nf-btn.nf-sm { height: 26px; padding: 0 9px; font-size: 12px; }
.nf-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nf-foot { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px; padding: 18px 16px 26px; font-size: 12px; }
.nf-foot a { color: var(--muted); text-decoration: none; } .nf-foot a:hover { color: var(--text); }
.nf-body { position: relative; overflow-x: hidden; }
.nf-body > * { position: relative; z-index: 1; }
.nf-body > .nf-bg { position: fixed; z-index: 0; left: 50%; top: 46%; width: min(1100px, 150vw); height: auto; transform: translate(-50%, -50%); opacity: 0.045; pointer-events: none; user-select: none; }
.nf-px { display: inline-flex; align-items: center; gap: 7px; margin: 30px 0 0; padding: 5px 11px; border: 1px solid var(--line-hi); border-radius: 3px; background: var(--panel); font: 500 12px 'JetBrains Mono K', ui-monospace, monospace; color: var(--muted); font-variant-numeric: tabular-nums; }
.nf-px[hidden] { display: none; }
.nf-px b { color: var(--text); font-weight: 600; border-radius: 2px; padding: 0 2px; }
.nf-px .up { color: var(--long); } .nf-px .down { color: #f0525e; }
.nf-src { margin-left: 4px; padding-left: 9px; border-left: 1px solid var(--line-hi); color: #827f7a; font-family: 'Inter K', system-ui, sans-serif; font-weight: 400; }
.nf-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--long); animation: nf-pulse 2s ease-in-out infinite; }
.nf-px b.flash-up { animation: nf-up 0.9s ease-out; } .nf-px b.flash-down { animation: nf-down 0.9s ease-out; }
@keyframes nf-pulse { 50% { opacity: 0.35; } }
@keyframes nf-up { from { background: rgba(76, 199, 159, 0.28); } to { background: transparent; } }
@keyframes nf-down { from { background: rgba(240, 82, 94, 0.28); } to { background: transparent; } }
@keyframes nf-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nf-eye, .nf-dot, .nf-px b { animation: none !important; } }
@media (max-width: 480px) { .nf h1 { font-size: 30px; } .nf-eye { width: 72px; height: 72px; } }
@media (max-width: 480px) { h1 { font-size: 25px; } main { padding-top: 24px; } th, td { padding: 7px 6px; font-size: 14px; } .top { gap: 12px; } }
