/* ============================================================================
   dev-wear — "Instrument"
   A near-black stage, bone type, one ember signal, phosphor reserved strictly
   for things that are actually live. Nothing decorative is coloured.
   ============================================================================ */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-var-latin.woff2') format('woff2-variations');
  font-weight: 300 900; font-stretch: 62% 125%; font-display: swap;
}
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/plexmono-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/plexmono-500-latin.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/plexmono-600-latin.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --void:    #08090b;
  --carbon:  #0c0e11;
  --panel:   #101318;
  --panel-2: #151a20;
  --line:    #1c2128;
  --line-2:  #272e37;
  --bone:    #eef0f3;
  --ash:     #98a1ac;
  --dim:     #626b76;
  --ember:   #ff6a2a;
  --ember-d: #c94a17;
  --phos:    #4fe3a0;

  --display: 'Archivo', system-ui, -apple-system, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --edge: clamp(20px, 5vw, 88px);
  --gut:  clamp(28px, 5vh, 72px);
  --rail: 64px;

  --ease: cubic-bezier(.22,.68,.16,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.62;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.loading { overflow: hidden; height: 100vh; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(255,106,42,.28); color: #fff; }

/* ---------------------------------------------------------------- stage --- */
/* opacity is driven per-frame by the stage (dissolves through subject cuts),
   so it must NOT carry a CSS transition of its own */
#stage {
  position: fixed; inset: 0; z-index: 0;
  width: 100vw; height: 100vh; display: block;
}
/* atmospheric wash behind the objects so they never sit on flat black */
#atmos {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 72% 18%, rgba(58,72,92,.34), transparent 62%),
    radial-gradient(90% 70% at 12% 82%, rgba(255,106,42,.09), transparent 60%),
    linear-gradient(180deg, #0a0c0f 0%, #08090b 55%, #050608 100%);
}
/* film grain + vignette — kills banding in the dark gradients and gives the
   whole thing the texture of a photograph rather than a render */
#grain {
  position: fixed; inset: -50%; z-index: 40; pointer-events: none;
  opacity: .052; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainshift 6s steps(6) infinite;
}
@keyframes grainshift {
  0%,100% { transform: translate(0,0); }   16% { transform: translate(-3%,2%); }
  33% { transform: translate(2%,-3%); }     50% { transform: translate(-2%,-2%); }
  66% { transform: translate(3%,1%); }      83% { transform: translate(1%,3%); }
}
#vignette {
  position: fixed; inset: 0; z-index: 39; pointer-events: none;
  background: radial-gradient(130% 105% at 50% 45%, transparent 42%, rgba(0,0,0,.55) 100%);
}

/* ------------------------------------------------------------ preloader --- */
#boot {
  position: fixed; inset: 0; z-index: 100; background: var(--void);
  display: grid; place-content: center; justify-items: center; gap: 26px;
  transition: opacity .7s var(--ease), visibility .7s;
}
#boot.done { opacity: 0; visibility: hidden; }
.boot-mark { font-family: var(--mono); font-size: .78rem; letter-spacing: .42em; color: var(--dim); text-transform: uppercase; }
.boot-bar { width: min(280px, 60vw); height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.boot-bar i { position: absolute; inset: 0 100% 0 0; background: var(--ember); transition: right .35s var(--ease); }
.boot-pct { font-family: var(--mono); font-size: .7rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.boot-log { font-family: var(--mono); font-size: .66rem; color: #3d444d; letter-spacing: .06em; min-height: 1em; }

/* -------------------------------------------------------------- chrome --- */
header.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--edge);
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
header.bar.stuck {
  background: rgba(8,9,11,.72); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line); padding-block: 13px;
}
.logo { display: inline-flex; align-items: baseline; gap: .5em; font-family: var(--mono); font-weight: 600; font-size: .92rem; letter-spacing: -.01em; }
.logo em { font-style: normal; color: var(--ember); }
.logo .rev { font-size: .58rem; letter-spacing: .16em; color: var(--dim); text-transform: uppercase; }
.bar nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.bar nav a {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ash); transition: color .25s; position: relative; padding-block: 4px;
}
.bar nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--ember); transition: right .3s var(--ease); }
.bar nav a:hover { color: var(--bone); }
.bar nav a:hover::after { right: 0; }
.btn-top {
  border: 1px solid var(--line-2); padding: 9px 16px; border-radius: 2px; color: var(--bone) !important;
  transition: border-color .25s, background .25s;
}
.btn-top:hover { border-color: var(--ember); background: rgba(255,106,42,.08); }
.btn-top::after { display: none; }
@media (max-width: 900px) { .nav-hide { display: none !important; } }

/* chapter rail — a focus scale down the left edge */
#rail {
  position: fixed; left: 26px; top: 50%; transform: translateY(-50%); z-index: 45;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
#rail button {
  display: flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dim); padding: 0; transition: color .3s;
}
#rail i { display: block; width: 14px; height: 1px; background: var(--line-2); transition: width .4s var(--ease), background .3s; }
/* labels stay hidden until hover — an always-on label collides with the
   headline column on wide screens */
#rail span { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; white-space: nowrap; }
#rail:hover button span { opacity: 1; transform: none; }
#rail button:hover { color: var(--bone); }
#rail button.on { color: var(--ash); }
#rail button.on i { width: 30px; background: var(--ember); }
@media (max-width: 1180px) { #rail { display: none; } }

/* --------------------------------------------------------------- type ---- */
.eyebrow {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ember); display: inline-flex; align-items: center; gap: .85em;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow.n::before { display: none; }
.eyebrow.ash { color: var(--dim); }

h1, h2, h3 { font-weight: 800; letter-spacing: -.035em; line-height: .92; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 104px); font-stretch: 92%; letter-spacing: -.045em; line-height: .88; }
h2 { font-size: clamp(34px, 4.6vw, 72px); font-stretch: 94%; }
h3 { font-size: clamp(23px, 2.1vw, 33px); letter-spacing: -.028em; }
.ember { color: var(--ember); }
.ash { color: var(--ash); }

.lead { font-size: clamp(16.5px, 1.22vw, 19px); line-height: 1.58; color: var(--ash); max-width: 40ch; font-weight: 400; }
.lead strong { color: var(--bone); font-weight: 600; }
p + p { margin-top: 1.05em; }

/* word-by-word reveal */
.rv { display: inline-block; overflow: hidden; vertical-align: bottom; }
.rv > span { display: inline-block; transform: translateY(105%); transition: transform .95s var(--ease); }
.in .rv > span, .rv.in > span { transform: none; }
.fade { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv > span { transform: none !important; } .fade { opacity: 1 !important; transform: none !important; }
  #grain { animation: none; }
}

/* ------------------------------------------------------------- layout ---- */
main { position: relative; z-index: 10; }
.beat { min-height: 100svh; display: flex; padding: clamp(90px,12vh,150px) var(--edge); position: relative; }
/* `safe center` falls back to start when a panel is taller than the viewport,
   instead of overflowing equally in both directions and clipping the heading */
.beat { align-items: center; align-items: safe center; }
.beat.tall { min-height: 142svh; }
.panel { width: min(46ch, 100%); }
.beat.right { justify-content: flex-end; }
.beat.right .panel { margin-left: auto; }
.beat.centre { justify-content: center; text-align: center; }
.beat.centre .panel { width: min(70ch, 100%); }
.beat.centre .lead { margin-inline: auto; }
.beat.centre .eyebrow::before { display: none; }
.beat.wide .panel { width: min(112ch, 100%); }
@media (max-width: 900px) {
  .beat, .beat.right { justify-content: flex-start; }
  .beat .panel { width: 100%; margin-left: 0; }
  .beat { min-height: auto; padding-block: clamp(72px,10vh,110px); }
  .beat.tall { min-height: auto; }
  #hero { min-height: 92svh; }
  /* the hero has no plate, so give its copy its own scrim over the render */
  #hero .panel {
    background: radial-gradient(120% 90% at 0% 45%, rgba(8,9,11,.88) 35%, rgba(8,9,11,.55) 70%, transparent 100%);
    padding: 4px 0 0;
  }
  .beat.centre, .beat.centre .panel { text-align: left; }
  .beat.centre .lead { margin-inline: 0; }
  .grid.c2, .grid.c3 { grid-template-columns: 1fr; }
  /* two-column spec rows wrap badly at this width — stack label over value */
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: auto; }
  .spec tr { padding: 9px 0; border-bottom: 1px solid var(--line); }
  .spec th, .spec td { border: 0; padding: 0; text-align: left; }
  .spec td { margin-top: 3px; }
  .node { grid-template-columns: auto 1fr; row-gap: 6px; }
  .node .st { grid-column: 2; justify-self: start; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  .term .body { min-height: 0; }
}

/* frosted reading surface so type stays legible over the render */
.plate {
  background: linear-gradient(180deg, rgba(12,14,18,.78), rgba(8,9,11,.66));
  backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid var(--line);
  padding: clamp(22px,2.4vw,32px);
  position: relative;
}
.plate::before, .plate::after {
  content: ''; position: absolute; width: 9px; height: 9px; border: 1px solid var(--line-2);
}
.plate::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.plate::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ---------------------------------------------------------------- hero --- */
#hero { min-height: 100svh; }
/* the hero headline gets its own measure — 46ch forces it to five lines and
   pushes the calls to action below the fold */
#hero .panel { width: min(58ch, 100%); }
#hero h1 { margin: 24px 0 26px; font-size: clamp(42px, 5.5vw, 92px); }
#hero .lead { max-width: 46ch; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.hero-meta b { color: var(--ash); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
.btn {
  font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 15px 24px; border: 1px solid var(--ember); color: var(--void); background: var(--ember);
  display: inline-flex; align-items: center; gap: .8em; border-radius: 2px; cursor: pointer;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s; font-weight: 600;
}
.btn:hover { background: #ff7d45; transform: translateY(-2px); box-shadow: 0 14px 34px -16px rgba(255,106,42,.8); }
.btn.ghost { background: none; color: var(--bone); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ash); background: rgba(255,255,255,.03); box-shadow: none; }

.scroll-cue { position: absolute; bottom: 30px; left: var(--edge); display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.scroll-cue i { display: block; width: 1px; height: 34px; background: linear-gradient(var(--ember), transparent); }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* ------------------------------------------------------------ hotspots --- */
#hotspots { position: fixed; inset: 0; z-index: 12; pointer-events: none; }
.hs { position: absolute; top: 0; left: 0; will-change: transform, opacity; transition: opacity .3s; }
.hs-dot {
  position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 0 1px rgba(255,106,42,.35), 0 0 14px 2px rgba(255,106,42,.5);
}
.hs-dot::after {
  content: ''; position: absolute; inset: -6px; border: 1px solid rgba(255,106,42,.4); border-radius: 50%;
  animation: ping 2.6s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.7); opacity: .9; } 70%,100% { transform: scale(2.1); opacity: 0; } }
/* L-shaped leader: a vertical stem from the dot to the card's row, then a
   horizontal run out to the card itself. --dy is set per frame by the stage. */
.hs { --dy: 0px; }
.hs-stem {
  position: absolute; left: 4px; top: 0; width: 1px;
  height: max(var(--dy), 0px); background: rgba(255,106,42,.45);
}
.hs-line { position: absolute; left: 4px; top: var(--dy); width: 44px; height: 1px; background: linear-gradient(90deg, var(--ember), rgba(255,106,42,.18)); }
.hs-card {
  position: absolute; left: 56px; top: calc(var(--dy) - 12px); white-space: nowrap;
  background: rgba(8,9,11,.82); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-left: 2px solid var(--ember); padding: 8px 13px;
}
.hs-card b { display: block; font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bone); }
.hs-card i { display: block; font-style: normal; font-family: var(--mono); font-size: .64rem; color: var(--dim); margin-top: 3px; }
.hs.hs-left .hs-stem { left: auto; right: 4px; }
.hs.hs-left .hs-line { left: auto; right: 4px; background: linear-gradient(270deg, var(--ember), rgba(255,106,42,.18)); }
.hs.hs-left .hs-card { left: auto; right: 56px; border-left: 0; border-right: 2px solid var(--ember); text-align: right; }
@media (max-width: 1024px) { #hotspots { display: none; } }

/* ------------------------------------------------------- architecture --- */
.flow { display: grid; gap: 10px; margin-top: 30px; }
.node {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  border: 1px solid var(--line); background: rgba(16,19,24,.6); padding: 14px 16px; position: relative;
}
.node .idx { font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; color: var(--dim); }
.node .nm { display: block; font-family: var(--mono); font-size: .84rem; font-weight: 500; color: var(--bone); line-height: 1.3; }
.node .ds { display: block; font-family: var(--mono); font-size: .66rem; color: var(--dim); margin-top: 3px; line-height: 1.4; }
.node .st { font-family: var(--mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); white-space: nowrap; align-self: center; }
.node.mine { border-color: rgba(255,106,42,.4); }
.node.mine .nm { color: var(--ember); }
.node.mine .st { color: var(--ember); }
.node.yours { border-color: rgba(79,227,160,.34); background: rgba(20,32,27,.45); }
.node.yours .nm { color: var(--phos); }
.node.yours .st { color: var(--phos); }
.wire { height: 20px; margin-left: 26px; width: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.wire::after { content: ''; position: absolute; left: -1px; width: 3px; height: 8px; background: var(--phos); box-shadow: 0 0 8px var(--phos); animation: drip 2.4s linear infinite; }
@keyframes drip { from { top: -10px; } to { top: 26px; } }
.boundary {
  display: flex; align-items: center; gap: 14px; margin: 14px 0 4px;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--phos);
}
.boundary::before, .boundary::after { content: ''; height: 1px; background: repeating-linear-gradient(90deg, rgba(79,227,160,.5) 0 5px, transparent 5px 10px); flex: 1; }

/* ---------------------------------------------------------- spec table --- */
.spec { width: 100%; border-collapse: collapse; margin-top: 20px; font-family: var(--mono); font-size: .72rem; }
.spec th { text-align: left; font-weight: 500; color: var(--dim); padding: 7px 0; border-bottom: 1px solid var(--line); width: 40%; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.spec td { text-align: right; color: var(--bone); padding: 7px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec td .q { color: var(--dim); }

.sku { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.sku .code { font-family: var(--mono); font-size: .74rem; letter-spacing: .2em; color: var(--dim); }
.pill {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 4px 10px; border: 1px solid var(--line-2); color: var(--ash); border-radius: 999px; white-space: nowrap;
}
.pill.go { color: var(--phos); border-color: rgba(79,227,160,.4); background: rgba(79,227,160,.06); }
.pill.warn { color: var(--ember); border-color: rgba(255,106,42,.4); background: rgba(255,106,42,.06); }
.pill.hold { color: var(--dim); }

.truth {
  margin-top: 18px; padding: 13px 15px; border-left: 2px solid var(--line-2);
  font-family: var(--mono); font-size: .69rem; line-height: 1.6; color: var(--ash); background: rgba(16,19,24,.5);
}
.truth b { color: var(--bone); font-weight: 600; display: block; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 5px; color: var(--dim); }

/* --------------------------------------------------------------- cards --- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 42px; }
@media (min-width: 760px) { .grid.c2 { grid-template-columns: 1fr 1fr; } .grid.c3 { grid-template-columns: repeat(3,1fr); } }
.cell { background: var(--carbon); padding: clamp(22px,2.4vw,32px); position: relative; transition: background .4s; }
.cell:hover { background: var(--panel); }
.cell .tag { font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ember); }
.cell blockquote { font-size: clamp(19px,1.7vw,25px); font-weight: 700; letter-spacing: -.022em; line-height: 1.18; margin: 16px 0 14px; color: var(--bone); }
.cell blockquote::before { content: '“'; color: var(--ember); }
.cell blockquote::after { content: '”'; color: var(--ember); }
.cell p { font-size: .93rem; color: var(--ash); line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chips span { font-family: var(--mono); font-size: .6rem; color: var(--dim); border: 1px solid var(--line-2); padding: 3px 9px; border-radius: 999px; }

/* --------------------------------------------------------------- steps --- */
.steps { counter-reset: s; margin-top: 40px; border-top: 1px solid var(--line); }
.step { counter-increment: s; display: grid; grid-template-columns: auto 1fr; gap: clamp(18px,3vw,40px);
  padding: clamp(22px,3vh,34px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.step .n { font-family: var(--mono); font-size: 1.5rem; font-weight: 500; color: var(--ember); line-height: 1; }
.step .n::before { content: '0' counter(s); }
.step h3 { margin-bottom: 7px; }
.step p { color: var(--ash); font-size: .96rem; max-width: 52ch; }
.step code { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: .72rem; color: var(--phos);
  background: rgba(79,227,160,.06); border: 1px solid rgba(79,227,160,.18); padding: 5px 10px; border-radius: 2px; }

/* ------------------------------------------------------------ terminal --- */
.term {
  font-family: var(--mono); font-size: clamp(.72rem,1.05vw,.84rem); line-height: 1.95;
  background: rgba(6,7,9,.9); border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden;
  box-shadow: 0 40px 90px -50px #000; max-width: 640px; margin-top: 36px;
}
.term .tb { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: rgba(16,19,24,.9); }
.term .tb i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.term .tb i:nth-child(1) { background: #3c4249; }
.term .tb span { font-size: .64rem; color: var(--dim); letter-spacing: .12em; margin-left: 8px; }
.term .body { padding: 18px 18px 22px; color: var(--ash); min-height: 232px; }
.term .body .l { display: block; white-space: pre-wrap; word-break: break-word; }
.term .p { color: var(--ember); }
.term .c { color: var(--bone); }
.term .g { color: var(--phos); }
.term .cur { display: inline-block; width: 7px; height: 1.05em; background: var(--ember); vertical-align: -2px; animation: blink 1.05s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ----------------------------------------------------------------- faq --- */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  font-size: clamp(17px,1.6vw,23px); font-weight: 700; letter-spacing: -.02em; transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ember); }
.faq summary .pm { font-family: var(--mono); font-size: 1.1rem; color: var(--ember); flex: none; transition: transform .35s var(--ease); }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .a { color: var(--ash); font-size: .97rem; line-height: 1.68; padding-bottom: 24px; max-width: 62ch; }
.faq .a code { font-family: var(--mono); font-size: .86em; color: var(--phos); }

/* ---------------------------------------------------------------- form --- */
.signup { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; max-width: 520px; }
.signup input {
  flex: 1 1 240px; background: rgba(16,19,24,.8); border: 1px solid var(--line-2); color: var(--bone);
  font-family: var(--mono); font-size: .82rem; padding: 15px 16px; border-radius: 2px; transition: border-color .25s;
}
.signup input::placeholder { color: var(--dim); }
.signup input:focus { outline: 0; border-color: var(--ember); }
.form-note { font-family: var(--mono); font-size: .64rem; color: var(--dim); margin-top: 14px; letter-spacing: .04em; }
.form-note.ok { color: var(--phos); }

/* -------------------------------------------------------------- footer --- */
footer { position: relative; z-index: 10; border-top: 1px solid var(--line); padding: 56px var(--edge) 40px; background: rgba(6,7,9,.9); backdrop-filter: blur(10px); }
.f-row { display: flex; flex-wrap: wrap; gap: 32px 60px; justify-content: space-between; align-items: flex-start; }
.f-col h4 { font-family: var(--mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; font-weight: 500; }
.f-col a, .f-col p { display: block; font-family: var(--mono); font-size: .74rem; color: var(--ash); margin-bottom: 8px; transition: color .25s; }
.f-col a:hover { color: var(--ember); }
.f-base { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between;
  font-family: var(--mono); font-size: .64rem; color: var(--dim); letter-spacing: .06em; }

/* -------------------------------------------------------------- cursor --- */
#cur { position: fixed; z-index: 90; top: 0; left: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px;
  border: 1px solid rgba(255,106,42,.55); border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), opacity .3s, border-color .25s; }
#cur::after { content: ''; position: absolute; inset: 11px; background: var(--ember); border-radius: 50%; }
#cur.hot { width: 44px; height: 44px; margin: -22px 0 0 -22px; border-color: var(--ember); }
@media (pointer: coarse) { #cur { display: none; } }

/* ------------------------------------------------------------ fallback --- */
.nowebgl #stage, .nowebgl #hotspots { display: none; }
.nowebgl #atmos { background: radial-gradient(90% 70% at 70% 20%, rgba(58,72,92,.28), transparent 60%), linear-gradient(180deg,#0a0c0f,#08090b); }
