/* greenlit site. Palette pulled from the grlit board:
   near-black, reeded-glass olive, chartreuse dot-matrix, teal point cloud, rust fleck. */
:root {
  --ink: #0a0c09;
  --ink-2: #11150e;
  --olive: #3d4627;
  --moss: #7d8c4e;
  --lime: #cfe46a;
  --teal: #52bfa6;
  --rust: #cf7148;
  --paper: #ecefe2;
  --dim: rgba(236, 239, 226, .58);
  --faint: rgba(236, 239, 226, .32);
  --hair: rgba(236, 239, 226, .09);
  /* Geist everywhere, Geist Mono for code: matches the web app */
  --display: Geist, Inter, system-ui, -apple-system, sans-serif;
  --sans: Geist, Inter, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); color: var(--paper); -webkit-font-smoothing: antialiased; }
body { font: 400 16px/1.55 var(--sans); overflow-x: hidden; font-feature-settings: "tnum" 1; }
h1, h2, .swap, .statement, .reveal, .caption, .verbs .v, .stages .t, .app-h, .held-q, .join h2 { letter-spacing: -.04em !important; }
em { font-style: normal; color: var(--lime); }
b { font-weight: 500; color: var(--paper); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.faint { color: var(--faint); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px clamp(20px, 4vw, 48px);
  mix-blend-mode: normal;
}
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none;
  font: 600 23px/1 var(--display); letter-spacing: -.035em; }
.mark { gap: 0; }
/* the green dot is the i's tittle */
.mark .i { position: relative; display: inline-block; }
.mark .dot { position: absolute; left: 50%; top: .1375em; width: .16em; height: .16em; /* centred where Geist draws the i's own dot */ translate: -50% 0; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 .07em rgba(207, 228, 106, .14); animation: breathe 3.2s var(--ease) infinite; }
.mark--foot { font-size: 20px; }
@keyframes breathe { 50% { box-shadow: 0 0 0 .16em rgba(207, 228, 106, .04); } }

.pill { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  background: var(--paper); border-radius: 999px; padding: 12px 20px; font: 500 14px/1 var(--sans);
  transition: transform .5s var(--ease), background .3s; }
.pill:hover { transform: translateY(-1px); background: var(--lime); }
.pill--small { padding: 10px 16px; font-size: 13px; background: transparent; color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--hair); }
.pill--small:hover { background: var(--paper); color: var(--ink); }

/* ---------- scroll scenes ---------- */
.scene { position: relative; height: var(--len, 200vh); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center; padding: 0 clamp(20px, 5vw, 64px); }
[data-win] { opacity: var(--o, 0); transform: translate3d(0, calc((1 - var(--o, 0)) * 14px), 0);
  transition: none; will-change: opacity, transform; }
.reduced [data-win] { opacity: 1 !important; transform: none !important; }

/* hero */
#dots, #dots2 { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-copy { position: absolute; left: 0; right: 0; top: 17vh; text-align: center; pointer-events: none; padding: 0 20px; }
.swap { position: relative; font: 600 clamp(44px, 7.4vw, 104px)/.98 var(--display); letter-spacing: -.02em; }
.swap span { display: block; }
.swap-b { position: absolute; inset: 0; }
.scroll-hint { position: absolute; bottom: 34px; left: 50%; translate: -50% 0; display: grid; justify-items: center; gap: 10px;
  font: 400 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.scroll-hint i { width: 1px; height: 38px; background: linear-gradient(var(--faint), transparent);
  animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { opacity: 0; } }

/* laptops */
.desk { display: flex; gap: clamp(16px, 4vw, 56px); align-items: flex-end; justify-content: center;
  perspective: 1400px; margin-top: -6vh; }
.laptop { --w: clamp(250px, 36vw, 520px); width: var(--w); position: relative; transform-style: preserve-3d; }
.lid { width: 100%; aspect-ratio: 16 / 10.4; transform-origin: 50% 100%;
  transform: rotateX(calc(var(--lid, 0) * 1deg)); transform-style: preserve-3d;
  border-radius: 14px 14px 4px 4px; padding: 10px; background: var(--ink-2);
  box-shadow: inset 0 0 0 1px rgba(236, 239, 226, .16); }
.screen { height: 100%; border-radius: 6px; background: linear-gradient(180deg, #0e120b, #0b0e09);
  box-shadow: inset 0 0 0 1px var(--hair); padding: 12px 14px; overflow: hidden;
  opacity: var(--glow, 0); }
.base { width: 112%; margin-left: -6%; height: 12px; border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #20261a, #12160f); box-shadow: inset 0 1px 0 rgba(236, 239, 226, .18); }
.base::after { content: ""; display: block; width: 18%; height: 4px; margin: 0 auto; border-radius: 0 0 6px 6px;
  background: rgba(0, 0, 0, .45); }
.bar { display: flex; justify-content: space-between; font: 400 10.5px/1 var(--mono); color: var(--faint);
  padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--hair); }
.laptop--a .bar span:first-child { color: var(--lime); }
.laptop--b .bar span:first-child { color: var(--teal); }
.tty { font: 400 clamp(10px, 1.05vw, 13px)/1.75 var(--mono); color: var(--dim); white-space: pre; }
.tty span { display: inline-block; }
.hot { color: var(--paper); font-weight: 400; transition: color .6s, background .6s; border-radius: 3px; padding: 0 2px; }
.clashing .hot { color: var(--ink); background: var(--rust); }
.laptop--b { transform: translate3d(calc((1 - var(--o, 0)) * 40px), 0, 0); }
.caption { position: absolute; bottom: 12vh; left: 0; right: 0; text-align: center;
  font: 600 clamp(28px, 3.6vw, 48px)/1.08 var(--display); letter-spacing: -.01em; }

/* graph */
.stage--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 80px); align-content: center;
  max-width: 1280px; margin: 0 auto; }
.statement { font: 600 clamp(36px, 4.6vw, 68px)/1.02 var(--display); letter-spacing: -.015em; }
.graph { width: 100%; }
.graph svg { width: 100%; height: auto; overflow: visible; }
.edges path { fill: none; stroke: var(--moss); stroke-width: 1.4; stroke-linecap: round; }
.edges path.soft { stroke: var(--olive); stroke-dasharray: 2 6; }
.edges path.soft[style] { stroke-dasharray: none; }
.head-a { fill: var(--lime); } .head-b { fill: var(--teal); }
.pkt-a { fill: var(--lime); } .pkt-b { fill: var(--teal); }
.pkt { opacity: 0; }
.n { stroke-width: 1.5; fill: var(--ink); }
.n-a { stroke: var(--lime); } .n-b { stroke: var(--teal); } .n-c { stroke: var(--moss); }
.nodes text, .clash-label { font: 400 12px var(--mono); fill: var(--dim); letter-spacing: .04em; }
.clash-label { fill: var(--rust); }
.ring { fill: none; stroke: var(--rust); stroke-width: 1.4; transform-origin: 300px 100px; animation: ping 2.4s var(--ease) infinite; }
.ring--2 { animation-delay: .5s; opacity: .5; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.graph figcaption { margin-top: 22px; max-width: 46ch; color: var(--dim); font-size: 14px; }
.graph figcaption .mono { color: var(--faint); margin-right: 8px; }

/* intent */
.stage--left { justify-items: start; align-content: center; max-width: 1180px; margin: 0 auto; width: 100%; }
.eyebrow { color: var(--lime); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 26px; }
.reveal { font: 600 clamp(38px, 5.4vw, 80px)/1.02 var(--display); letter-spacing: -.02em; max-width: 17ch; }
.reveal .w { color: var(--paper); opacity: calc(.16 + var(--o, 0) * .84); transition: opacity .2s linear; }
.reveal .w.k { color: var(--lime); }
.verbs { list-style: none; margin-top: clamp(32px, 6vh, 64px); width: 100%; border-top: 1px solid var(--hair); }
.verbs li { display: grid; grid-template-columns: 56px minmax(140px, 220px) 1fr; align-items: baseline; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--hair); }
.verbs .n { color: var(--faint); }
.verbs .v { font: 600 clamp(26px, 2.6vw, 36px)/1 var(--display); }
.verbs .d { color: var(--dim); max-width: 52ch; }

/* band */
.band { padding: 12vh 20px 10vh; display: grid; justify-items: center; gap: 22px; text-align: center; }
.band .mono { text-transform: uppercase; letter-spacing: .16em; }
.chips { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.chip { font: 400 15px/1 var(--sans); padding: 14px 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair);
  background: rgba(236, 239, 226, .02); }
.chip i { font: 400 13px/1 var(--mono); font-style: normal; color: var(--faint); margin-left: 6px; }
.band-note { color: var(--dim); max-width: 40ch; }

/* ---------- content sections ---------- */
.install { padding: 14vh clamp(20px, 5vw, 64px); max-width: 1180px; margin: 0 auto; }
.install h2 { font: 600 clamp(34px, 4.4vw, 60px)/1.04 var(--display); letter-spacing: -.015em;
  max-width: 20ch; margin-bottom: 28px; }
.lede { color: var(--dim); max-width: 52ch; margin: -8px 0 40px; font-size: 17px; }
code { font: 400 .9em var(--mono); color: var(--paper); background: rgba(236, 239, 226, .06); padding: 1px 5px; border-radius: 4px; }
.code code, pre code { background: none; padding: 0; }

/* media frames: placeholder until the file loads */
.frame { position: relative; border-radius: 18px; overflow: hidden; background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--hair), 0 30px 80px -40px rgba(0, 0, 0, .8); }
.frame--video { aspect-ratio: 16 / 9; }
.frame video, .frame img { display: block; width: 100%; height: 100%; object-fit: cover; border: 0;
  opacity: 0; transition: opacity .6s var(--ease); }
.frame.loaded video, .frame.loaded img { opacity: 1; }
.placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px;
  color: var(--faint); text-transform: uppercase; letter-spacing: .14em; pointer-events: none;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(236, 239, 226, .025) 14px 15px); }
.placeholder small { font-size: 10px; text-transform: none; letter-spacing: .04em; opacity: .7; }
.frame.loaded .placeholder { display: none; }
.sound { position: absolute; right: 14px; bottom: 14px; border: 0; cursor: pointer; border-radius: 999px; padding: 8px 12px;
  color: var(--paper); background: rgba(10, 12, 9, .66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(236, 239, 226, .16); display: none; }
.frame.loaded .sound { display: block; }
.sound[aria-pressed=true] { color: var(--ink); background: var(--lime); }

/* join subline */
.join-sub { color: var(--dim); max-width: 42ch; font-size: clamp(16px, 1.4vw, 19px); margin-top: -14px; }

/* thesis + waitlist */
.thesis { min-height: 88vh; display: grid; align-content: center; justify-items: center; gap: 26px; text-align: center;
  padding: 14vh 20px 10vh; }
.thesis h2 { font: 600 clamp(48px, 7vw, 104px)/.98 var(--display); letter-spacing: -.02em; }
@media (min-width: 761px) { .thesis h2 em { display: block; } }
.thesis-sub { color: var(--dim); max-width: 44ch; font-size: clamp(17px, 1.5vw, 20px); }
.thesis .field { margin-top: 8px; max-width: 520px; }
.thesis .status { margin-top: -14px; }
.watch { color: var(--dim); text-decoration: none; text-transform: uppercase; letter-spacing: .14em; transition: color .3s; }
.watch:hover { color: var(--lime); }

/* demo (fig. 1) */
.demo { padding: 4vh clamp(20px, 5vw, 64px) 14vh; max-width: 1180px; margin: 0 auto; }
.fig-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; text-transform: uppercase; letter-spacing: .14em;
  color: var(--lime); padding-bottom: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--hair); }
.demo-grid { display: grid; grid-template-columns: minmax(200px, .32fr) 1fr; gap: clamp(18px, 3vw, 40px); align-items: center; }
.stages { list-style: none; display: grid; gap: 4px; }
.stages li { display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; padding: 12px 14px; border-radius: 12px;
  transition: background .5s var(--ease); }
.stages .n { color: var(--faint); grid-row: span 2; padding-top: 4px; }
.stages .t { font: 600 24px/1.1 var(--display); color: var(--faint); transition: color .5s; }
.stages .s { font-size: 11px; color: var(--faint); opacity: .7; }
.stages li.done .t { color: var(--dim); }
.stages li.now { background: rgba(207, 228, 106, .06); box-shadow: inset 0 0 0 1px rgba(207, 228, 106, .22); }
.stages li.now .t { color: var(--paper); }
.stages li.now .n, .stages li.now .s { color: var(--lime); opacity: 1; }
.stages li.now .t::after { content: "running"; font: 400 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--lime); margin-left: 10px; vertical-align: middle; }
/* stand-in until the recording: two blurred panes and a play button. PLACEHOLDER */
.standin { position: absolute; inset: 0; display: grid; place-items: center; }
.standin-panes { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 22px; opacity: .55; }
.pane { border-radius: 10px; background: #0e120b; box-shadow: inset 0 0 0 1px var(--hair); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.pane .mono { font-size: 10.5px; margin-bottom: 6px; }
.pane-a .mono { color: var(--lime); } .pane-b .mono { color: var(--teal); }
.pane i { height: 7px; border-radius: 4px; background: rgba(236, 239, 226, .08); width: 80%; }
.pane i:nth-child(3) { width: 60%; } .pane i:nth-child(5) { width: 70%; }
.pane i.hl { height: 26px; width: 92%; background: rgba(207, 228, 106, .1); box-shadow: inset 0 0 0 1px rgba(207, 228, 106, .3); }
.play { position: relative; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--paper);
  box-shadow: 0 0 0 10px rgba(236, 239, 226, .06); }
.play svg { width: 26px; height: 26px; fill: var(--ink); margin-left: 3px; }
.soon { position: absolute; left: 50%; translate: -50% 0; bottom: 18px; color: var(--dim); text-transform: uppercase; letter-spacing: .14em;
  font-size: 10.5px; padding: 6px 10px; border-radius: 999px; background: rgba(10, 12, 9, .7); white-space: nowrap; }
.frame.loaded .standin { display: none; }
.demo-cap { margin-top: 20px; color: var(--dim); max-width: 70ch; }
.demo-cap .mono { margin-right: 6px; }
.run-link { color: var(--lime); text-decoration: none; white-space: nowrap; }
.run-link:hover { color: var(--paper); }

/* the example line */
.example { padding: 4vh clamp(20px, 5vw, 64px) 0; max-width: 1180px; margin: 0 auto; }
.example .mono { text-transform: uppercase; letter-spacing: .14em; margin-bottom: 10px; }
.ex-line { font-size: clamp(17px, 1.6vw, 21px); color: var(--dim); max-width: 60ch; border-left: 1px solid var(--hair); padding-left: 18px; }
.who-b { color: var(--teal); }

/* ---------- product figures (fig. 2–4) ---------- */
.stage--fig { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-content: center;
  max-width: 1280px; margin: 0 auto; width: 100%; }
.stage--flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.stage--flip .fig-copy { order: 2; }
.fig-copy .eyebrow { margin-bottom: 18px; }
.fig-copy .statement { font-size: clamp(36px, 4.4vw, 64px); }
.sub { color: var(--dim); max-width: 38ch; margin-top: 22px; font-size: 17px; }
.paper { color: var(--paper); } .teal { color: var(--teal); }

/* terminal */
.term { border-radius: 18px; background: #0e120b; overflow: hidden; display: flex; flex-direction: column; min-height: 440px;
  box-shadow: inset 0 0 0 1px rgba(236, 239, 226, .14), 0 40px 80px rgba(0, 0, 0, .4); }
.term-bar, .term-status { display: flex; gap: 14px; align-items: center; padding: 13px 18px; font: 400 12px/1 var(--mono); color: var(--dim); }
.term-bar { justify-content: space-between; border-bottom: 1px solid var(--hair); }
.who-a { color: var(--lime); }
.term-body { padding: 20px 22px; font: 400 clamp(11.5px, 1.05vw, 13.5px)/1.75 var(--mono); color: rgba(236, 239, 226, .78);
  display: flex; flex-direction: column; gap: 6px; }
.term-body b { color: var(--paper); font-weight: 400; }
.hot2 { color: var(--paper); }
.add { color: var(--teal); }
.note { margin: 8px 0; padding: 14px 16px; border-radius: 12px; background: rgba(207, 228, 106, .07);
  box-shadow: inset 0 0 0 1px rgba(207, 228, 106, .35); color: var(--paper); }
.note-from { color: var(--lime); margin-bottom: 4px; }
.term-status { margin-top: auto; border-top: 1px solid var(--hair); }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }
.swap2 { position: relative; flex: 1; min-height: 1em; }
.swap2 span { position: absolute; left: 0; top: 0; white-space: nowrap; }

/* map: a fixed 900×500 canvas scaled to fit */
.map-wrap { --mw: 900px; width: 100%; aspect-ratio: 9 / 5; border-radius: 22px; background: rgba(236, 239, 226, .025);
  box-shadow: inset 0 0 0 1px rgba(236, 239, 226, .1); overflow: hidden; container-type: inline-size; }
.map { position: relative; width: 900px; height: 500px; transform-origin: 0 0; transform: scale(calc(100cqw / var(--mw))); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.routes--tall { visibility: hidden; }
/* wide layout positions */
.p-a { left: 30px; top: 68px; } .p-b { left: 30px; top: 392px; }
.p-live { left: 270px; top: 372px; } .p-rep { left: 630px; top: 64px; }
.p-core { left: 600px; top: 188px; } .p-ping { left: 584px; top: 250px; } .p-label { left: 250px; top: 256px; width: 220px; }
.term-status i { font-style: normal; }
.route { fill: none; stroke-width: 1.8; }
.route-a { stroke: var(--lime); } .route-b { stroke: var(--teal); } .route-soft { stroke: var(--olive); }
.m-agent { position: absolute; width: 150px; height: 56px; border-radius: 999px; display: flex; align-items: center; gap: 10px;
  padding: 0 18px; font-size: 15px; }
.m-agent i { width: 9px; height: 9px; border-radius: 50%; }
.m-a { box-shadow: inset 0 0 0 1px rgba(207, 228, 106, .5); background: rgba(207, 228, 106, .06); } .m-a i { background: var(--lime); }
.m-b { box-shadow: inset 0 0 0 1px rgba(82, 191, 166, .55); background: rgba(82, 191, 166, .07); } .m-b i { background: var(--teal); }
.m-file { position: absolute; width: 200px; border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: inset 0 0 0 1px rgba(236, 239, 226, .14); font-size: 13px; }
.m-file small { font-size: 12px; color: var(--dim); }
.m-new { box-shadow: none; border: 1px dashed rgba(82, 191, 166, .55); }
.m-core { width: 270px; padding: 16px 18px; gap: 10px; background: rgba(10, 12, 9, .8); box-shadow: inset 0 0 0 1px rgba(236, 239, 226, .2); }
.fn { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 0 12px; border-radius: 10px;
  font-size: 13px; color: var(--paper); box-shadow: inset 0 0 0 1px rgba(236, 239, 226, .2); transition: background .6s, color .6s; }
.fn small { font-size: 11px; color: inherit; opacity: .8; }
.crossing .fn { background: var(--rust); color: var(--ink); box-shadow: none; }
.m-ping { position: absolute; width: 32px; height: 32px; border-radius: 50%; border: 1.4px solid var(--rust);
  animation: mping 2.4s var(--ease) infinite; }
@keyframes mping { 0% { scale: .5; } 100% { scale: 1.7; opacity: 0; } }
.m-label { position: absolute; width: 230px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: rgba(236, 239, 226, .78); }
.m-label .mono { color: #e8956f; }

/* needs you + thread */
.app { position: relative; border-radius: 22px; padding: 30px; min-height: 560px; display: grid; align-content: start;
  background: rgba(236, 239, 226, .03); box-shadow: inset 0 0 0 1px rgba(236, 239, 226, .12); }
.app-quiet, .app-held { grid-area: 1 / 1; }
.app-h { font: 600 34px/1 var(--display); margin-bottom: 18px; }
.big { font-size: 22px; margin-bottom: 6px; }
.dim { color: var(--dim); }
.held-tag { display: flex; align-items: center; gap: 10px; color: #e8956f; letter-spacing: .06em; margin-bottom: 14px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 0 rgba(207, 113, 72, .5);
  animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 100% { box-shadow: 0 0 0 10px rgba(207, 113, 72, 0); } }
.held-q { font: 600 clamp(26px, 2.6vw, 36px)/1.08 var(--display); margin-bottom: 18px; }
.held-q .mono { font-size: .8em; letter-spacing: 0; }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.sides > div { border-radius: 14px; padding: 16px; font-size: 14.5px; display: grid; gap: 6px; }
.side-a { box-shadow: inset 0 0 0 1px rgba(207, 228, 106, .28); } .side-a .mono { color: var(--lime); }
.side-b { box-shadow: inset 0 0 0 1px rgba(82, 191, 166, .32); } .side-b .mono { color: var(--teal); }
.rule { color: var(--dim); margin-bottom: 16px; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(236, 239, 226, .22); transition: background .5s, color .5s; }
.btn--ghost { box-shadow: none; color: var(--dim); }
.decided .btn--on { background: var(--paper); color: var(--ink); }
.thread { list-style: none; margin-top: 26px; margin-left: 5px; }
.thread li { position: relative; padding: 0 0 16px 24px; border-left: 1px solid rgba(236, 239, 226, .12); display: grid; gap: 2px; font-size: 14.5px; color: var(--dim); }
.thread li:last-child { padding-bottom: 0; border-left-color: transparent; }
.thread li .mono { color: var(--faint); }
.thread li .ok { color: var(--lime); }
.thread i { position: absolute; left: -5px; top: 5px; width: 9px; height: 9px; border-radius: 50%; }
.c-rust { background: var(--rust); } .c-lime { background: var(--lime); } .c-paper { background: var(--paper); }
.ok { color: var(--lime); font-weight: 400; }

/* header nav */
.nav { display: flex; align-items: center; gap: 22px; }
.navlink { color: var(--dim); text-decoration: none; font-size: 14px; transition: color .3s; }
.navlink:hover { color: var(--paper); }

/* privacy line */
.privacy { padding: 4vh clamp(20px, 5vw, 64px) 12vh; max-width: 1180px; margin: 0 auto; }
.privacy p { max-width: 62ch; color: var(--dim); font-size: 17px; border-top: 1px solid var(--hair); padding-top: 22px; }
.privacy .mono { display: block; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 10px; }

/* install */
.install { padding-top: 12vh; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.step .n { color: var(--faint); margin-bottom: 12px; }
.step .d { color: var(--dim); font-size: 14.5px; margin-top: 12px; max-width: 44ch; }
.install > .d { font-size: 14px; }
.code { font: 400 14px/1.9 var(--mono); padding: 22px 26px; border-radius: 14px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair);
  overflow-x: auto; }

/* join */
.join { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; }
.join-inner { position: relative; display: grid; justify-items: center; gap: 34px; text-align: center; padding: 0 20px; width: 100%; max-width: 1000px; }
.join h2 { font: 600 clamp(44px, 6.6vw, 96px)/1 var(--display); letter-spacing: -.02em; max-width: 14ch; }
.field { display: flex; align-items: center; width: min(520px, 100%); padding: 6px; border-radius: 999px;
  background: rgba(10, 12, 9, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(236, 239, 226, .16); transition: box-shadow .4s var(--ease); }
.field:focus-within { box-shadow: inset 0 0 0 1px var(--lime), 0 0 0 6px rgba(207, 228, 106, .08); }
.field input[type=email] { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--paper);
  font: 400 16px/1 var(--sans); padding: 14px 18px; }
.field input::placeholder { color: var(--faint); }
.field button { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; border-radius: 999px;
  padding: 14px 20px; background: var(--paper); color: var(--ink); font: 500 14px/1 var(--sans); white-space: nowrap;
  transition: background .3s, transform .5s var(--ease); }
.field button:hover { background: var(--lime); }
.field button i { font-style: normal; transition: transform .5s var(--ease); }
.field button:hover i { transform: translateX(3px); }
.field.done { box-shadow: inset 0 0 0 1px var(--lime); }
.field.done button { background: var(--lime); }
.status { min-height: 1.4em; color: var(--dim); }
.status.err { color: var(--rust); }

.foot { display: flex; justify-content: space-between; padding: 28px clamp(20px, 4vw, 48px); color: var(--dim);
  border-top: 1px solid var(--hair); }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  .desk { flex-direction: column; align-items: center; gap: 28px; margin-top: -10vh; }
  .laptop { --w: min(78vw, 330px); }
  .laptop--b { transform: translate3d(0, calc((1 - var(--o, 0)) * 30px), 0); }
  .caption { bottom: 7vh; }
  .stage--split { grid-template-columns: 1fr; align-content: center; gap: 28px; }
  .verbs li { grid-template-columns: 36px 1fr; }
  .verbs .d { grid-column: 2; }
  .hero-copy { top: 14vh; }
  .field button span { display: none; }
  .steps, .sides { grid-template-columns: 1fr; }
  .stage--fig { grid-template-columns: 1fr; gap: 18px; align-content: start; padding-top: 11vh; }
  .stage--flip .fig-copy { order: 0; }
  .fig-copy .eyebrow { margin-bottom: 10px; }
  .fig-copy .statement { font-size: 32px; }
  .sub { font-size: 14.5px; margin-top: 10px; }
  .term { min-height: 0; }
  .term-body { padding: 14px 16px; font-size: 11px; gap: 3px; }
  .term-status { font-size: 10px; gap: 8px; }
  .app { padding: 18px; min-height: 0; }
  .app-h { font-size: 26px; }
  .held-q { font-size: 22px; margin-bottom: 12px; }
  .sides { gap: 8px; } .sides > div { padding: 10px 12px; font-size: 13px; }
  .btn { min-height: 34px; padding: 0 12px; font-size: 12.5px; }
  .thread { margin-top: 14px; } .thread li { font-size: 13px; padding-bottom: 8px; }
  .navlink { display: none; }
  .term-status .wide { display: none; }
  /* tall map for phones: 380×540 canvas */
  .map-wrap { --mw: 380px; aspect-ratio: 380 / 540; }
  .map { width: 380px; height: 540px; }
  .routes--wide { visibility: hidden; } .routes--tall { visibility: visible; }
  .m-agent { width: 150px; height: 48px; }
  .m-file { width: 160px; }
  .p-a { left: 10px; top: 14px; } .p-b { left: 220px; top: 14px; }
  .p-rep { left: 10px; top: 120px; } .p-live { left: 210px; top: 120px; }
  .p-core { left: 55px; top: 318px; width: 270px; } .p-ping { left: 156px; top: 362px; }
  .p-label { left: 40px; top: 492px; width: 300px; }
  .demo, .install { padding-top: 10vh; padding-bottom: 10vh; }
  .demo-grid { grid-template-columns: 1fr; }
  .stages { grid-template-columns: repeat(5, 1fr); gap: 4px; order: 2; }
  .stages li { grid-template-columns: 1fr; padding: 8px 6px; text-align: center; }
  .stages .n { grid-row: auto; padding: 0; }
  .stages .t { font-size: 15px; }
  .stages .s, .stages li.now .t::after { display: none; }
  .standin-panes { gap: 8px; padding: 12px; }
  .fig-head { font-size: 10px; }
  .soon { bottom: 10px; font-size: 9.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .ring, .mark .dot, .scroll-hint i, .m-ping, .pulse { animation: none; }
  .stages li { transition: none; }
}
