/* site.css: the shared foundation of pronoia.sh pages (docs, roadmap): theme tokens, wallpaper,
   glass, buttons, the header and sections. Copied from index.html, which still inlines its own. */
[hidden] { display: none !important; } /* the raw page has no wrapper reset: styled elements must still hide */
:root {
  --bg-base: #ffffff; --bg-base-hover: #f4f4f5; --bg-subtle: #fafafa; --bg-component: #fafafa; --bg-component-hover: #f4f4f5;
  --bg-field: #fafafa; --bg-highlight: #eff6ff;
  --fg-base: #18181b; --fg-subtle: #52525b; --fg-muted: #5d5d66; --fg-disabled: #a1a1aa; --fg-interactive: #2563eb;
  --border-base: #e4e4e7; --border-strong: #d4d4d8;
  --btn-inverted: #27272a; --btn-inverted-hover: #3f3f46; --btn-neutral: #ffffff; --btn-neutral-hover: #f4f4f5;
  --tag-bg: #f4f4f5; --tag-text: #52525b; --tag-border: #e4e4e7;
  --sh-btn: 0 1px 2px 0 rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.08);
  --sh-btn-inv: inset 0 .75px 0 0 rgba(255,255,255,.2), 0 1px 2px 0 rgba(0,0,0,.4), 0 0 0 1px #18181b;
  --sh-card: 0 0 0 1px rgba(0,0,0,.08), 0 1px 2px -1px rgba(0,0,0,.08), 0 2px 4px 0 rgba(0,0,0,.04);
  --sh-flyout: 0 0 0 1px rgba(0,0,0,.08), 0 4px 8px 0 rgba(0,0,0,.08), 0 8px 16px 0 rgba(0,0,0,.08);
  --g-filter: blur(40px) saturate(180%) contrast(.5) brightness(1.5);
  --g-base: rgba(255,255,255,.80); --g-subtle: rgba(250,250,252,.72); --g-sheet: rgba(255,255,255,.90);
  --g-edge: rgba(255,255,255,.55); --g-hi: rgba(255,255,255,.75);
  --g-drop: 0 30px 80px -20px rgba(6,12,38,.55), 0 10px 30px -12px rgba(6,12,38,.35);
  --wm-ink: #111111;
  --logo-filter: none;
  --on-wall: #ffffff; --on-wall-dim: rgba(255,255,255,.8);
  --noia-dot: #2f6c9a;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.4,0,.2,1);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --noia-dot: #d9eeff;
    --bg-base: #212124; --bg-base-hover: #27272a; --bg-subtle: #18181b; --bg-component: #27272a; --bg-component-hover: rgba(255,255,255,.1);
    --bg-field: rgba(255,255,255,.04); --bg-highlight: #172554;
    --fg-base: #f4f4f5; --fg-subtle: #a1a1aa; --fg-muted: #9696a0; --fg-disabled: #52525b; --fg-interactive: #60a5fa;
    --border-base: rgba(255,255,255,.08); --border-strong: rgba(255,255,255,.16);
    --btn-inverted: #f4f4f5; --btn-inverted-hover: #ffffff; --btn-neutral: rgba(255,255,255,.06); --btn-neutral-hover: rgba(255,255,255,.1);
    --tag-bg: rgba(255,255,255,.08); --tag-text: #d4d4d8; --tag-border: rgba(255,255,255,.06);
    --sh-btn: 0 1px 2px 0 rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.1);
    --sh-btn-inv: inset 0 .75px 0 0 rgba(255,255,255,.6), 0 1px 2px 0 rgba(0,0,0,.4), 0 0 0 1px #d4d4d8;
    --sh-card: 0 0 0 1px rgba(255,255,255,.08), 0 1px 2px -1px rgba(0,0,0,.3), 0 2px 4px 0 rgba(0,0,0,.2);
    --sh-flyout: 0 0 0 1px rgba(255,255,255,.08), 0 4px 8px 0 rgba(0,0,0,.3), 0 8px 16px 0 rgba(0,0,0,.3);
    --g-filter: blur(36px) saturate(150%) brightness(.42);
    --g-base: rgba(30,30,34,.74); --g-subtle: rgba(20,20,24,.56); --g-sheet: rgba(33,33,36,.86);
    --g-edge: rgba(255,255,255,.14); --g-hi: rgba(255,255,255,.14);
    --g-drop: 0 30px 80px -20px rgba(0,0,0,.7), 0 10px 30px -12px rgba(0,0,0,.5);
    --wm-ink: #f2f2f2;
    --logo-filter: invert(1);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --noia-dot: #d9eeff;
  --bg-base: #212124; --bg-base-hover: #27272a; --bg-subtle: #18181b; --bg-component: #27272a; --bg-component-hover: rgba(255,255,255,.1);
  --bg-field: rgba(255,255,255,.04); --bg-highlight: #172554;
  --fg-base: #f4f4f5; --fg-subtle: #a1a1aa; --fg-muted: #9696a0; --fg-disabled: #52525b; --fg-interactive: #60a5fa;
  --border-base: rgba(255,255,255,.08); --border-strong: rgba(255,255,255,.16);
  --btn-inverted: #f4f4f5; --btn-inverted-hover: #ffffff; --btn-neutral: rgba(255,255,255,.06); --btn-neutral-hover: rgba(255,255,255,.1);
  --tag-bg: rgba(255,255,255,.08); --tag-text: #d4d4d8; --tag-border: rgba(255,255,255,.06);
  --sh-btn: 0 1px 2px 0 rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.1);
  --sh-btn-inv: inset 0 .75px 0 0 rgba(255,255,255,.6), 0 1px 2px 0 rgba(0,0,0,.4), 0 0 0 1px #d4d4d8;
  --sh-card: 0 0 0 1px rgba(255,255,255,.08), 0 1px 2px -1px rgba(0,0,0,.3), 0 2px 4px 0 rgba(0,0,0,.2);
  --sh-flyout: 0 0 0 1px rgba(255,255,255,.08), 0 4px 8px 0 rgba(0,0,0,.3), 0 8px 16px 0 rgba(0,0,0,.3);
  --g-filter: blur(36px) saturate(150%) brightness(.42);
  --g-base: rgba(30,30,34,.74); --g-subtle: rgba(20,20,24,.56); --g-sheet: rgba(33,33,36,.86);
  --g-edge: rgba(255,255,255,.14); --g-hi: rgba(255,255,255,.14);
  --g-drop: 0 30px 80px -20px rgba(0,0,0,.7), 0 10px 30px -12px rgba(0,0,0,.5);
  --wm-ink: #f2f2f2;
  --logo-filter: invert(1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #0b0d14; }
body { margin: 0; background: #0b0d14; color: var(--fg-base); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fg-interactive); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- the wallpaper ---------- */
.wall { position: fixed; inset: -4% 0 -12%; z-index: 0; pointer-events: none; }
.wall i { position: absolute; inset: 0; background: center / cover no-repeat; transition: opacity .9s var(--ease); will-change: transform; }
.wall::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 0%, transparent 40%, rgba(5,7,12,.55)), linear-gradient(180deg, rgba(5,7,12,.12), rgba(5,7,12,.38)); }
main, header, footer { position: relative; z-index: 1; }

/* ---------- glass ---------- */
.glass { position: relative; background: var(--g-base); -webkit-backdrop-filter: var(--g-filter); backdrop-filter: var(--g-filter);
  box-shadow: var(--g-drop), inset 0 1px 0 var(--g-hi), inset 0 0 0 1px var(--g-edge); border-radius: 18px; isolation: isolate; }
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.14), transparent 55%); }
.glass:hover::after { opacity: 1; }
.card { background: var(--bg-base); border-radius: 12px; box-shadow: var(--sh-card), inset 0 1px 0 var(--g-hi); }
@media (max-width: 720px) { .glass { -webkit-backdrop-filter: blur(24px) saturate(150%) brightness(.5); backdrop-filter: blur(24px) saturate(150%) brightness(.5); } }

/* ---------- buttons, tags ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 0; cursor: pointer; text-decoration: none;
  font: 500 14px/1 var(--font); background: var(--btn-neutral); color: var(--fg-base); box-shadow: var(--sh-btn); transition: background .15s var(--ease), transform .15s var(--ease); }
.btn:hover { background: var(--btn-neutral-hover); }
.btn:active { transform: translateY(1px); }
.btn.inv { background: var(--btn-inverted); color: var(--bg-base); box-shadow: var(--sh-btn-inv); }
.btn.inv:hover { background: var(--btn-inverted-hover); }
.btn.wall-btn { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn.wall-btn:hover { background: rgba(255,255,255,.22); }
.btn.hot { background: #fff; color: #111; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.8); }
.btn.hot:hover { background: #f4f4f5; }
.btn kbd { font: 500 11px/1 var(--mono); opacity: .55; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font: 500 12px/1 var(--font); background: var(--tag-bg); color: var(--tag-text); box-shadow: inset 0 0 0 1px var(--tag-border); white-space: nowrap; }
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }

/* ---------- header ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; padding-top: 12px; }
.top .bar { display: flex; align-items: center; gap: 20px; height: 56px; padding: 0 10px 0 18px; border-radius: 14px; }
.wm { display: block; height: 24px; width: auto; }
.wm .ink { fill: var(--wm-ink); } .wm .mut { fill: #8A8A8A; } .wm .cur { fill: #16A34A; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wm .cur { animation: none; } }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { white-space: nowrap; padding: 7px 10px; border-radius: 8px; text-decoration: none; font: 500 14px/1 var(--font); color: var(--fg-subtle); transition: background .15s, color .15s; }
.nav a:hover { background: var(--bg-component-hover); color: var(--fg-base); }
.top .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.top .signin { padding: 7px 10px; border-radius: 8px; text-decoration: none; font: 500 14px/1 var(--font); color: var(--fg-subtle); white-space: nowrap; transition: background .15s, color .15s; }
.top .signin:hover { background: var(--bg-component-hover); color: var(--fg-base); }
@media (max-width: 520px) { .top .right .gh { display: none; } } /* the waitlist stays in the hero and the hire flow */
.top .right .btn, .top .signin { flex: none; white-space: nowrap; }
@media (max-width: 520px) { .top .right .btn .long { display: none; } }
@media (max-width: 380px) { .top .wm { width: 140px; height: auto; } .top .signin { padding: 7px 6px; } }
.top .btn { height: 36px; }
@media (max-width: 1000px) { .nav { display: none; } }
/* ---------- the phone menu (menu.js builds it from .nav) ---------- */
.menu-btn { display: none; place-items: center; flex: none; width: 44px; height: 44px; margin-right: -4px; padding: 0; border: 0; border-radius: 10px; cursor: pointer; background: transparent; color: var(--fg-base); }
.menu-btn:hover, .menu-x:hover { background: var(--bg-component-hover); }
.menu-btn svg, .menu-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (max-width: 1000px) { .menu-btn { display: grid; } }
@media (max-width: 520px) { .top .signin { display: none; } } /* Sign in moves into the menu */
.menu { position: fixed; inset: calc(env(safe-area-inset-top, 0px) + 12px) var(--gutter) auto; width: auto; max-width: none; max-height: calc(100dvh - 24px); margin: 0; padding: 0; border: 0; background: none; color: var(--fg-base); overflow: auto; }
.menu::backdrop { background: rgba(5,7,12,.45); }
.menu-panel { padding: 0 10px 10px 8px; border-radius: 14px; }
.menu-head { display: flex; align-items: center; justify-content: space-between; height: 56px; padding-left: 12px; font: 500 10.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--fg-muted); }
.menu-x { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -4px; padding: 0; border: 0; border-radius: 10px; cursor: pointer; background: transparent; color: var(--fg-base); }
.menu nav a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 10px; text-decoration: none; font: 500 17px/1.2 var(--font); color: var(--fg-base); }
.menu nav a:hover { background: var(--bg-component-hover); }
.menu nav a[aria-current="page"] { background: var(--bg-component); box-shadow: inset 0 0 0 1px var(--border-base); }
.menu nav .signin { margin-top: 6px; box-shadow: inset 0 1px 0 var(--border-base); border-radius: 0 0 10px 10px; color: var(--fg-subtle); }
html:has(.menu[open]) { overflow: hidden; }
@media (max-width: 520px) { .top .btn.ghost { display: none; } }
.top .gh { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; cursor: pointer; background: var(--btn-neutral); color: var(--fg-base); box-shadow: var(--sh-btn); }
.top .gh svg { width: 18px; height: 18px; fill: currentColor; }
.gh .ping { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 2px var(--bg-base); }
.gh .ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #16A34A; animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { transform: scale(2.8); opacity: 0; } }
.panel { padding: clamp(24px, 4.5vw, 56px); }
.prompt { font: 500 13px/1.5 var(--mono); color: var(--fg-muted); display: flex; gap: .6em; flex-wrap: wrap; }
.prompt b { color: var(--fg-base); font-weight: 500; }
.h2 { margin-top: 14px; font: 700 clamp(30px, 4.2vw, 52px)/1.04 var(--font); letter-spacing: -.045em; max-width: 20ch; }
.h2 .soft { color: var(--fg-muted); }
.sub { margin-top: 16px; max-width: 42rem; font-size: 18px; color: var(--fg-subtle); }
.sub b { color: var(--fg-base); font-weight: 600; }
footer { padding-block: 24px 40px; color: rgba(255,255,255,.72); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-links a { color: inherit; text-decoration: none; }
.foot-links a:hover, .foot-links a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
section.s { padding-block: clamp(40px, 6vw, 64px); }
.nav a[aria-current="page"] { color: var(--fg-base); background: var(--bg-component); }
.top a.gh { text-decoration: none; }

/* ---------- docs: the shared shell for docs, architecture, downloads, roadmap, changelog and cli ---------- */
.docs { padding-block: 22px 40px; }
.shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); border-radius: 20px; }
.side { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow: auto; padding: 22px 12px 22px 14px; border-right: 1px solid var(--border-base); }
.side .grp { margin: 18px 10px 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--fg-muted); }
.side .grp:first-child { margin-top: 2px; }
.side a { display: block; padding: 6px 10px; border-radius: 8px; text-decoration: none; font: 500 14px/1.3 var(--font); color: var(--fg-subtle); }
.side a:hover { color: var(--fg-base); background: var(--bg-component-hover); }
.side a.on, .side a[aria-current="page"] { color: var(--fg-base); background: var(--bg-component); box-shadow: inset 0 0 0 1px var(--border-base); }
.side a.sub { padding: 4px 10px 4px 22px; font-size: 13px; color: var(--fg-muted); }
.doc { min-width: 0; padding: clamp(22px, 4vw, 52px); }
.doc > section { scroll-margin-top: 92px; padding-block: 6px 34px; }
.doc > section + section { padding-top: 30px; border-top: 1px solid var(--border-base); }
.doc h1 { margin-top: 16px; font: 700 clamp(36px, 5vw, 56px)/1 var(--font); letter-spacing: -.05em; }
.doc h1 .soft, .doc h2 .soft { color: var(--fg-muted); }
.doc h2 { font: 700 clamp(24px, 3vw, 30px)/1.12 var(--font); letter-spacing: -.035em; }
.doc h3 { margin-top: 22px; font: 600 16px/1.3 var(--font); }
.doc p, .doc li { color: var(--fg-subtle); }
.doc p { margin-top: 10px; max-width: 68ch; }
.doc p b, .doc li b { color: var(--fg-base); font-weight: 600; }
.doc .lede { margin-top: 16px; font-size: 18px; max-width: 60ch; }
.doc ul, .doc ol { margin: 10px 0 0; padding-left: 20px; max-width: 68ch; }
.doc li { margin-top: 6px; }
.doc a:not(.btn) { color: var(--fg-base); text-underline-offset: 3px; }
.doc code { font: 500 .88em/1 var(--mono); padding: 2px 5px; border-radius: 5px; background: var(--bg-component); box-shadow: inset 0 0 0 1px var(--border-base); }
.eyebrow { font: 500 12px/1 var(--mono); color: var(--fg-muted); }
.preview { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 20px; padding: 12px 14px; border-radius: 12px; background: var(--bg-subtle); box-shadow: inset 0 0 0 1px var(--border-base); font-size: 14px; color: var(--fg-subtle); }
.preview b { color: var(--fg-base); }
.preview .q4 { font: 600 11px/1 var(--mono); letter-spacing: .06em; padding: 5px 7px; border-radius: 6px; background: #16A34A; color: #fff; }
.preview a { margin-left: auto; font-weight: 600; color: var(--fg-base); text-decoration: none; white-space: nowrap; }
.cards { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.cards a { display: grid; gap: 4px; padding: 14px; border-radius: 12px; text-decoration: none; background: var(--bg-base); box-shadow: var(--sh-card), inset 0 1px 0 var(--g-hi); transition: transform .2s var(--ease); }
.cards a:hover { transform: translateY(-2px); }
.cards b { font-size: 15px; } .cards span { font-size: 13px; color: var(--fg-muted); }
.soon { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
/* status chips: live, preview, projected */
.chip { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; font: 600 10.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; vertical-align: 2px; white-space: nowrap;
  background: var(--bg-component); color: var(--fg-subtle); box-shadow: inset 0 0 0 1px var(--border-base); }
.chip.live { background: rgba(22,163,74,.14); color: #16A34A; box-shadow: inset 0 0 0 1px rgba(22,163,74,.35); }
.chip.dev { background: rgba(37,99,235,.12); color: var(--fg-interactive); box-shadow: inset 0 0 0 1px rgba(37,99,235,.3); }
.chip.proj { background: transparent; color: var(--fg-muted); box-shadow: none; border: 1px dashed var(--border-strong); }
/* plain tables */
.tbl { margin-top: 14px; width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl-wrap { overflow-x: auto; }
.tbl th { text-align: left; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); padding: 8px 10px; border-bottom: 1px solid var(--border-base); }
.tbl td { padding: 9px 10px; vertical-align: top; color: var(--fg-subtle); border-bottom: 1px solid var(--border-base); }
.tbl td:first-child { color: var(--fg-base); font-weight: 600; white-space: nowrap; }
/* diagrams: inline SVG drawn with the theme tokens */
.fig { margin: 18px 0 0; padding: 16px; border-radius: 14px; background: var(--bg-subtle); box-shadow: inset 0 0 0 1px var(--border-base); }
.fig svg { display: block; width: 100%; height: auto; }
.fig figcaption { margin-top: 10px; font-size: 13px; color: var(--fg-muted); }
.fig .bx { fill: var(--bg-base); stroke: var(--border-strong); stroke-width: 1; }
.fig .bx.soft { fill: var(--bg-component); }
.fig .bx.hot { stroke: var(--fg-base); stroke-width: 1.5; }
.fig .zone { fill: none; stroke: var(--border-strong); stroke-dasharray: 4 4; }
.fig .t { fill: var(--fg-base); font: 600 13px var(--font); }
.fig .s { fill: var(--fg-muted); font: 400 11px var(--font); }
.fig .m { fill: var(--fg-muted); font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.fig .ln { stroke: var(--fg-muted); stroke-width: 1.2; fill: none; }
.fig .ln.dash { stroke-dasharray: 4 3; }
.fig .ok { fill: #16A34A; }
.fig .teal { fill: #1f9e95; }
.fig .arrow { fill: var(--fg-muted); }
.fig .wide { min-width: 640px; }
.fig .scroll { overflow-x: auto; }
/* terminals: dark in both themes */
.term { margin-top: 14px; border-radius: 12px; overflow: hidden; background: #0c0e13; box-shadow: 0 12px 30px -16px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08); }
.term .tb { display: flex; align-items: center; gap: 6px; padding: 8px 10px 8px 12px; border-bottom: 1px solid rgba(255,255,255,.07); font: 500 11.5px/1 var(--mono); color: rgba(255,255,255,.42); }
.term .tb i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.term .tb span { margin-left: 6px; }
.term .tb .ex { margin-left: auto; letter-spacing: .06em; text-transform: uppercase; font-size: 10px; }
.term .tb button { height: 24px; padding: 0 9px; border: 0; border-radius: 6px; cursor: pointer; font: 500 11.5px/1 var(--font); color: rgba(255,255,255,.75); background: rgba(255,255,255,.08); }
.term pre { margin: 0; padding: 14px 16px; overflow-x: auto; font: 400 12.8px/1.72 var(--mono); color: rgba(255,255,255,.62); tab-size: 2; }
.term .p { color: rgba(255,255,255,.35); } .term .c { color: #fff; } .term .f { color: #a5b4fc; } .term .s { color: #fcd34d; }
.term .ok { color: #4ade80; } .term .w { color: #fff; } .term .d { color: rgba(255,255,255,.34); }
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: sticky; top: 72px; z-index: 5; display: flex; gap: 4px; max-height: none; overflow-x: auto; padding: 8px; border-right: 0; border-bottom: 1px solid var(--border-base); border-radius: 20px 20px 0 0; background: var(--g-base); -webkit-backdrop-filter: var(--g-filter); backdrop-filter: var(--g-filter); scrollbar-width: none; }
  .side .grp, .side a.sub { display: none; }
  .side a { white-space: nowrap; }
}
/* downloads */
.dl { margin-top: 16px; display: flex; gap: 18px; align-items: flex-start; padding: 18px; border-radius: 14px; background: var(--bg-base); box-shadow: var(--sh-card), inset 0 1px 0 var(--g-hi); }
.dl-mark { flex: none; width: 64px; height: 64px; }
.dl-body { min-width: 0; flex: 1; }
.dl-meta { font-size: 13px; color: var(--fg-muted); }
.dl-sum { font-size: 12px; overflow-wrap: anywhere; }
.dl-sum code { font-size: 11px; }
.soon-cards > div { display: grid; gap: 4px; padding: 14px; border-radius: 12px; background: var(--bg-base); box-shadow: var(--sh-card), inset 0 1px 0 var(--g-hi); }
.soon-cards b { font-size: 15px; } .soon-cards span { font-size: 13px; color: var(--fg-muted); }
@media (max-width: 520px) { .dl { flex-direction: column; } }
/* install steps (chrome/): a numbered card per step, its Chrome screenshot under the words */
.doc ol.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 12px; margin-top: 16px; padding: 0; max-width: none; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 14px; border-radius: 12px; background: var(--bg-base); box-shadow: var(--sh-card), inset 0 1px 0 var(--g-hi); font-size: 14px; line-height: 1.45; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 6px; border-radius: 999px; font: 600 12px/1 var(--mono); color: var(--fg-base); background: var(--bg-component); box-shadow: inset 0 0 0 1px var(--border-base); }
.steps li.upd::before { content: "↻"; font-size: 14px; }
.steps li b { font-size: 15px; }
.steps .shot { display: block; margin-top: auto; padding-top: 10px; }
.steps .shot img, .steps .tile { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; border-radius: 8px; box-shadow: 0 0 0 1px var(--border-base); }
.steps .tile { display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--bg-subtle); color: var(--fg-muted); }
.steps .tile svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.steps .tile svg.sm { width: 18px; height: 18px; }
@media (max-width: 600px) { .steps .tile { aspect-ratio: auto; height: 72px; } } /* one column: an icon needs no full frame */
.doc .note { font-size: 14px; }
/* roadmap and changelog entries */
.rm-item { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--bg-base); box-shadow: var(--sh-card), inset 0 1px 0 var(--g-hi); }
.rm-item b { font-size: 15px; }
.rm-item p { margin-top: 4px; font-size: 14px; }
.when { margin-top: 6px; font: 500 12px/1.4 var(--mono); color: var(--fg-muted); }
.rel { margin-top: 6px; font: 500 12.5px/1 var(--mono); color: var(--fg-muted); }
/* integrations: a partner's logo tile beside its name, on white in both themes (as on the homepage) */
.lg { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; vertical-align: -6px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.lg img { width: 15px; height: 15px; object-fit: contain; }
/* .tbl.rows: tables whose first column wraps; on phones each row stacks (name and status, then the text) */
.tbl.rows td:first-child { white-space: normal; min-width: 9em; }
@media (max-width: 560px) {
  .tbl.rows thead { display: none; }
  .tbl.rows tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 11px 2px; border-bottom: 1px solid var(--border-base); }
  .tbl.rows td { padding: 0; border: 0; min-width: 0; }
  .tbl.rows td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
}
