/* Nova design system
   ------------------------------------------------------------------------
   One stylesheet shared by novalabs.app and rpc.novalabs.app. Each site keeps
   an identical copy of this folder (see README.md) and changes one thing: the
   accent token, in its own small stylesheet loaded after this one.

   Concept: a night-sky bench notebook. One left-aligned column of editorial
   sections divided by hairlines, mono labels like a part list, and the product
   itself as the picture. Glass is used on the nav bar only; everything else is
   solid ink so text never sits on stars. One accent per site; the logo's three
   stripes are the only decoration. Dark by design: the brand is the night sky.
   ------------------------------------------------------------------------ */

@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('fonts/BricolageGrotesque-latin.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('fonts/InstrumentSans-latin.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url('fonts/JetBrainsMono-latin.woff2') format('woff2'); }

:root {
  --ink-0: #05080f;      /* deepest: screens, code */
  --ink-1: #090f1d;      /* page */
  --ink-2: #0e1730;      /* panels */
  --ink-3: #15213f;      /* raised, hover */
  --line: #1e2c4c;
  --line-hi: #33497a;
  --text: #e9eefb;       /* 14:1 on the page */
  --dim: #a7b4d2;        /* 8:1 */
  --faint: #8191b5;      /* 5.8:1; labels and captions only */
  --cyan: #38bdf8;
  --blue: #3b82f6;
  --indigo: #6366f1;
  --accent: var(--cyan);           /* a site re-values this one token */
  --on-accent: #04202e;
  --accent-hover: #7dd3fc;
  --ok: #4ade80; --warn: #fbbf24; --next: #93c5fd; --later: #a9b1cc; --hw: #fb9a7d;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Instrument Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--ink-1); }
body { margin: 0; background: var(--ink-1); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
code, kbd { font-family: var(--mono); font-size: .88em; background: var(--ink-3); padding: .08em .4em; border-radius: 5px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---- the sky: layered gradient dots, no elements; one layer twinkles on opacity only ---- */
body::before, body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; }
body::before {
  background-image:
    radial-gradient(900px 560px at 8% -6%, rgba(56,189,248,.10), transparent 70%),
    radial-gradient(800px 600px at 96% 78%, rgba(99,102,241,.11), transparent 70%),
    radial-gradient(1px 1px at 23px 41px, rgba(255,255,255,.85), transparent),
    radial-gradient(1px 1px at 131px 17px, rgba(255,255,255,.6), transparent),
    radial-gradient(1.4px 1.4px at 77px 118px, rgba(190,225,255,.8), transparent),
    radial-gradient(1px 1px at 181px 96px, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 52px 190px, rgba(255,255,255,.7), transparent),
    radial-gradient(1.2px 1.2px at 204px 171px, rgba(200,215,255,.7), transparent);
  background-size: auto, auto, 233px 233px, 233px 233px, 233px 233px, 233px 233px, 233px 233px, 233px 233px;
}
body::after {
  background-image:
    radial-gradient(1.6px 1.6px at 61px 88px, rgba(255,255,255,.95), transparent),
    radial-gradient(1.4px 1.4px at 241px 29px, rgba(180,220,255,.9), transparent),
    radial-gradient(1.6px 1.6px at 143px 207px, rgba(255,255,255,.9), transparent),
    radial-gradient(1.4px 1.4px at 310px 140px, rgba(255,255,255,.85), transparent);
  background-size: 337px 337px; opacity: .8; animation: twinkle 7s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .35; } to { opacity: .9; } }
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; opacity: .7; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---- frame ---- */
.wrap { width: 100%; max-width: 1152px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sec { padding-block: clamp(44px, 7vw, 88px); border-top: 1px solid var(--line); }
.sec.first { border-top: 0; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(26px, 4vw, 44px); }
.sec-head p { color: var(--dim); max-width: 64ch; }

/* ---- status bar: one line above the nav, driven by site.json or by release data ---- */
.statusbar { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; text-align: center; background: #1a1405; color: #fcd34d; border-bottom: 1px solid #4b3a0a; font: 500 12.5px/1.4 var(--mono); padding: 7px max(16px, env(safe-area-inset-left, 0px)); }
.statusbar a { color: #fde68a; }
.statusbar[data-tone="ok"] { background: #07190f; color: #86efac; border-color: #14532d; }
.statusbar[data-tone="ok"] a { color: #bbf7d0; }
.statusbar[hidden] { display: none; }

/* ---- nav: the one glass surface ---- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(9,15,29,.94); border-bottom: 1px solid var(--line); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: rgba(9,15,29,.66); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
}
.nav-in { display: flex; align-items: center; gap: 24px; min-height: 60px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -.01em; }
.brand:hover { color: var(--text); }
.brand img { width: 30px; height: 30px; }
.brand img.wordmark { width: auto; height: 34px; }
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu a { color: var(--dim); text-decoration: none; font-size: 14.5px; padding: 8px 12px; border-radius: 9px; min-height: 40px; display: inline-flex; align-items: center; }
.menu a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.menu a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.menu .ext { font-family: var(--mono); font-size: 12.5px; color: var(--accent); border: 1px solid var(--line-hi); margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-hi); border-radius: 10px; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; }
.nav-toggle span { top: 21px; } .nav-toggle span::before { top: -6px; left: 0; right: 0; } .nav-toggle span::after { top: 6px; left: 0; right: 0; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: -16px; right: -16px; flex-direction: column; align-items: stretch; margin: 0; padding: 10px 16px 16px; background: var(--ink-1); border-bottom: 1px solid var(--line); }
  .menu.open { display: flex; }
  .menu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
  .menu .ext { margin: 6px 0 0; justify-content: center; }
}

/* ---- type ---- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--dim); max-width: 62ch; }
.lede strong { color: var(--text); font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 500 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.stripes { display: inline-flex; flex-direction: column; gap: 3px; transform: skewX(-13deg); }
.stripes i { display: block; width: 26px; height: 3px; border-radius: 1px; }
.stripes i:nth-child(1) { background: var(--accent); } .stripes i:nth-child(2) { background: var(--blue); } .stripes i:nth-child(3) { background: var(--indigo); }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); margin-right: 6px; box-shadow: 0 0 10px rgba(251,191,36,.6); }

/* ---- buttons ---- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 22px; border-radius: 11px; font: 600 15px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .18s, border-color .18s, transform .18s; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); transform: translateY(-1px); }
.btn-ghost { color: var(--text); border-color: var(--line-hi); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); background: rgba(255,255,255,.06); }

/* ---- the picture: a product screen in its bezel ---- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 7vw, 84px); }
.hero h1 { margin-bottom: 22px; }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); } }
.device { width: 100%; max-width: 470px; justify-self: center; padding: 20px 20px 22px; border-radius: 30px; background: linear-gradient(160deg, #1b2850, #0a1124 70%); border: 1px solid var(--line-hi); box-shadow: 0 34px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.09); }
.screen { background: var(--ink-0); border-radius: 12px; padding: 10px; border: 1px solid #10243f; box-shadow: inset 0 0 34px rgba(56,189,248,.10); }
.screen img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; image-rendering: pixelated; border-radius: 4px; }
.panel-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 0 6px; }
.knob { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #34476f, #0e1730 70%); border: 1px solid var(--line-hi); box-shadow: 0 6px 14px rgba(0,0,0,.5); }
.keys { display: flex; gap: 8px; }
.keys span { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; color: var(--faint); border: 1px solid var(--line-hi); border-radius: 999px; padding: 8px 12px; }
.caption { font: 400 12px/1.5 var(--mono); color: var(--faint); text-align: center; margin-top: 14px; }
.term { width: 100%; max-width: 560px; justify-self: center; background: var(--ink-0); border: 1px solid var(--line-hi); border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.55); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 12px/1 var(--mono); color: var(--faint); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-hi); }
.term pre { margin: 0; padding: 18px 20px 22px; font: 400 13px/1.6 var(--mono); color: var(--text); overflow-x: auto; }
.term .p { color: var(--accent); } .term .m { color: var(--faint); }

/* ---- lists and grids ---- */
.proj { display: grid; grid-template-columns: 52px minmax(0, 220px) minmax(0, 1fr) auto; gap: 8px 28px; align-items: start; padding-block: 28px; border-top: 1px solid var(--line); }
.proj:last-child { border-bottom: 1px solid var(--line); }
.proj .ico { width: 44px; height: 44px; color: var(--accent); }
.proj .tag, .tag { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.proj p { color: var(--dim); max-width: 60ch; }
.proj .go { font: 500 14px/1.4 var(--mono); white-space: nowrap; align-self: center; }
@media (max-width: 820px) { .proj { grid-template-columns: 44px minmax(0, 1fr); } .proj p, .proj .go { grid-column: 2; } }
.feature { display: grid; gap: 22px; }
.body-copy, .note { color: var(--dim); max-width: 70ch; }
.cap-intro { font: 500 13px/1.5 var(--mono); letter-spacing: .04em; color: var(--faint); margin-top: 8px; max-width: 70ch; }
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--ink-2); }
.cap { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.cap-glyph { flex: 0 0 auto; min-width: 48px; text-align: center; font: 600 12px/1 var(--mono); letter-spacing: .06em; color: var(--accent); border: 1px solid var(--line-hi); border-radius: 8px; padding: 9px 6px; background: var(--ink-0); }
.cap strong { display: block; font-weight: 600; }
.cap .d { color: var(--dim); font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font: 500 13px/1 var(--mono); border: 1px solid var(--line-hi); border-radius: 999px; padding: 10px 14px; background: var(--ink-2); }
.facts, .facts4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.fact { padding: 26px 22px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact b { display: block; font: 700 clamp(1.7rem, 3.4vw, 2.4rem)/1.1 var(--display); letter-spacing: -.02em; }
.facts4 .fact b { color: var(--accent); }
.fact span { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.fact p { color: var(--dim); font-size: .93rem; margin-top: 8px; }
@media (max-width: 900px) { .facts, .facts4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .facts4 { grid-template-columns: minmax(0, 1fr); } .facts4 .fact { border-right: 0; border-bottom: 1px solid var(--line); } }
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 72px); }
.about .col { display: grid; gap: 18px; color: var(--dim); max-width: 62ch; }
.about .col strong { color: var(--text); font-weight: 600; }
.about .foot { font: 500 13px/1.5 var(--mono); color: var(--faint); }
@media (max-width: 820px) { .about { grid-template-columns: minmax(0, 1fr); } }

/* ---- panels, badges, status lists ---- */
.panel { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 18px; }
.cat h3 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.cat .pct { margin-left: auto; font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.feat { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.feat .badge { margin-left: auto; flex: 0 0 auto; }
.badge { display: inline-block; font: 500 11.5px/1 var(--mono); letter-spacing: .04em; padding: 5px 9px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.b-done { color: var(--ok); background: rgba(74,222,128,.09); }
.b-part { color: var(--warn); background: rgba(251,191,36,.09); }
.b-next { color: var(--next); background: rgba(147,197,253,.09); }
.b-late { color: var(--later); background: rgba(169,177,204,.08); }
.b-hw { color: var(--hw); background: rgba(251,154,125,.09); }
.progress-note { font-size: .85rem; color: var(--faint); margin-top: 10px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--dim); }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.shot figure { margin: 0; }
.shot img { display: block; width: 100%; height: auto; image-rendering: pixelated; background: var(--ink-0); border: 1px solid var(--line-hi); border-radius: 10px; padding: 6px; }
.shot figcaption { margin-top: 10px; font-size: .88rem; color: var(--dim); }
.links, .contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
a.link-card, a.contact-card { display: grid; gap: 6px; align-content: start; text-decoration: none; color: var(--text); background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; transition: border-color .18s, background .18s; }
a.link-card:hover, a.contact-card:hover { border-color: var(--accent); background: var(--ink-3); color: var(--text); }
a.link-card h3 { font-size: 1.08rem; }
a.link-card p, a.contact-card p { color: var(--dim); font-size: .93rem; }
a.contact-card { padding: 24px; gap: 8px; }
a.contact-card .ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: 6px; }
a.contact-card .more { font: 500 13.5px/1.4 var(--mono); color: var(--accent); margin-top: 6px; }

/* ---- tables ---- */
.tbl-wrap { overflow-x: auto; margin-block: 8px; }
.tbl, .prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th, .prose th { text-align: left; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 0 16px 12px 0; white-space: nowrap; }
.tbl td, .prose td { padding: 12px 16px 12px 0; border-top: 1px solid var(--line); color: var(--dim); vertical-align: top; }
.tbl td:first-child, .prose td:first-child { color: var(--text); }

/* ---- steps, pickers, release list ---- */
.steps { display: grid; counter-reset: s; }
.step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px 20px; padding-block: 26px; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .n { counter-increment: s; width: 36px; height: 36px; border: 1px solid var(--line-hi); border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--mono); color: var(--accent); }
.step .n::before { content: counter(s); }
.step p { color: var(--dim); max-width: 62ch; }
.step h3 { margin-bottom: 4px; }
.pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 14px; }
.pick label { display: grid; gap: 6px; padding: 18px 20px; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; transition: border-color .18s, background .18s; position: relative; }
.pick label:hover { border-color: var(--line-hi); }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick label:has(input:checked) { border-color: var(--accent); background: var(--ink-3); }
.pick label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.pick b { font: 700 1.1rem/1.2 var(--display); }
.pick small { color: var(--dim); font-size: .88rem; }
.warn { border: 1px solid #5b4510; background: #1a1405; color: #fcd34d; border-radius: var(--r); padding: 16px 20px; font-size: .95rem; max-width: 74ch; }
.warn strong { color: #fde68a; }
.info { border: 1px solid var(--line-hi); background: var(--ink-2); color: var(--dim); border-radius: var(--r); padding: 16px 20px; font-size: .95rem; max-width: 74ch; }
.rel { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 6px 24px; padding-block: 22px; border-top: 1px solid var(--line); align-items: baseline; }
.rel:last-child { border-bottom: 1px solid var(--line); }
.rel .v { font: 700 1.15rem/1.2 var(--display); }
.rel .v a { color: var(--text); text-decoration: none; }
.rel .v a:hover { color: var(--accent); }
.rel .d { color: var(--faint); font: 400 12.5px/1.4 var(--mono); }
.rel p { color: var(--dim); }
.rel .meta { font: 400 12.5px/1.6 var(--mono); color: var(--faint); text-align: right; }
.rel details { grid-column: 2 / -1; margin-top: 6px; }
.rel summary { cursor: pointer; color: var(--accent); font: 500 13px/1.4 var(--mono); }
.rel .notes h4 { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin: 16px 0 8px; }
.rel .notes ul { margin: 0; padding-left: 1.2em; color: var(--dim); display: grid; gap: 6px; }
@media (max-width: 760px) { .rel { grid-template-columns: minmax(0, 1fr); } .rel .meta { text-align: left; } .rel details { grid-column: 1; } }

/* ---- page head, legal, docs prose ---- */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 40px); }
.page-head h1 { margin-bottom: 16px; }
.legal, .prose { display: grid; gap: 14px; color: var(--dim); }
.legal { max-width: 74ch; }
.legal h2, .prose h2 { font-size: 1.45rem; color: var(--text); margin-top: 26px; }
.prose h2 { padding-top: 22px; border-top: 1px solid var(--line); }
.prose > h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.prose h1, .prose h3 { color: var(--text); }
.prose h3 { margin-top: 10px; }
.prose h4 { color: var(--text); font-size: 1.02rem; }
.legal strong, .prose strong { color: var(--text); font-weight: 600; }
.legal ul, .prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose ul ul, .prose ol ul { margin-top: 8px; }
.prose pre { margin: 0; padding: 16px 18px; background: var(--ink-0); border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; font: 400 13px/1.6 var(--mono); color: var(--text); }
.prose pre code { background: none; padding: 0; font-size: inherit; }
.prose blockquote { margin: 0; padding: 12px 18px; border-left: 3px solid var(--line-hi); background: var(--ink-2); border-radius: 0 12px 12px 0; color: var(--dim); }
.prose hr { border: 0; border-top: 1px solid var(--line); width: 100%; }
.legal-updated { font: 500 13px/1.4 var(--mono); color: var(--faint); }
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-block: clamp(32px, 5vw, 56px) 40px; }
.docs-nav { position: sticky; top: 84px; align-self: start; display: grid; gap: 2px; font-size: .93rem; }
.docs-nav .tag { margin: 0 0 8px; }
.docs-nav a { color: var(--dim); text-decoration: none; padding: 8px 12px; border-left: 2px solid var(--line); min-height: 36px; display: flex; align-items: center; }
.docs-nav a:hover { color: var(--text); border-left-color: var(--line-hi); }
.docs-nav a[aria-current="page"] { color: var(--text); border-left-color: var(--accent); background: rgba(255,255,255,.03); }
.docs-body { min-width: 0; max-width: 78ch; }
.docs-body > h1, .docs-body > article > h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 22px; color: var(--text); }
@media (max-width: 860px) { .docs { grid-template-columns: minmax(0, 1fr); } .docs-nav { position: static; grid-auto-flow: column; overflow-x: auto; gap: 8px; padding-bottom: 8px; } .docs-nav a { border-left: 0; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; padding: 6px 14px; } .docs-nav a[aria-current="page"] { border-color: var(--accent); } .docs-nav .tag { display: none; } }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line); padding-block: 34px 44px; margin-top: 24px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; justify-content: space-between; }
.foot .brand { font-size: 17px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { color: var(--dim); text-decoration: none; font-size: .92rem; min-height: 36px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--text); }
.foot small { display: block; width: 100%; color: var(--faint); font: 400 12.5px/1.5 var(--mono); }
