/* ============================================================
   Null Space — 2nd generation site
   Brand color locked from Theme.swift (#6E8BFF family).
   Everything else: rebuilt editorial / premium.
   ============================================================ */

:root {
  /* ---- voids ---- */
  --void-deep:   #030409;
  --void:        #06070D;
  --panel:       #0C0E16;
  --panel-2:     #11141F;
  --panel-hi:    #181C2A;

  /* ---- strokes ---- */
  --hair:        rgba(255,255,255,0.06);
  --hair-2:      rgba(255,255,255,0.10);
  --hair-3:      rgba(255,255,255,0.16);

  /* ---- text ---- */
  --text:        #ECEFF7;
  --text-2:      #97A0B6;
  --text-3:      #5A6276;
  --text-faint:  #3C4356;

  /* ---- BRAND (locked from Theme.swift) ---- */
  --accent:        #6E8BFF;
  --accent-bright: #8FB4FF;
  --accent-glow:   #5A7CFF;
  --accent-deep:   #3D55C9;
  /* rgb triples drive every ambient glow so one swatch retints the whole cosmos */
  --accent-rgb:        110,139,255;
  --accent-bright-rgb: 143,180,255;
  --accent-glow-rgb:   90,124,255;
  --accent-deep-rgb:   61,85,201;
  --accent-soft:   rgba(var(--accent-rgb),0.14);
  --accent-line:   rgba(var(--accent-rgb),0.30);

  /* ambient + motion multipliers */
  --atmo-glow: 1;     /* big nebula glows opacity scale */
  --atmo-grid: 1;     /* dotted grid opacity scale */
  --atmo-grain: 1;    /* film grain opacity scale */
  --atmo-orbit: 1;    /* orbital ring opacity scale */
  --spin-a: 80s; --spin-b: 56s; --spin-c: 38s;  /* orbit periods */
  --craft-a: 60s; --craft-b: 40s;               /* craft ring periods */

  --success: #5BE0A8;
  --warning: #FFC56E;

  /* ---- type ---- */
  --font-ui: "SF Pro Display", "SF Pro Rounded", ui-rounded, -apple-system,
             BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "SF Mono", ui-monospace, "JetBrains Mono", "Cascadia Code", Menlo, monospace;

  /* ---- system ---- */
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --r: 16px;
  --r-lg: 26px;
}

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

body {
  font-family: var(--font-ui);
  background: var(--void-deep);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: rgba(var(--accent-rgb),0.32); color: #fff; }

kbd {
  font-family: var(--font-mono); font-size: 0.82em;
  padding: 1px 6px; border-radius: 6px;
  border: 1px solid var(--hair-2);
  background: rgba(255,255,255,0.04);
  color: var(--text-2);
}

/* ============================================================
   AMBIENT COSMOS — same layers as the homepage (nextgen.css)
   ============================================================ */
.bg-stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }

.bg-nebula { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(130% 80% at 50% -20%, #0B0E1A 0%, transparent 55%),
    var(--void-deep);
}
.neb { position: absolute; border-radius: 50%; filter: blur(130px); opacity: calc(0.5 * var(--atmo-glow)); }
.neb--1 { width: 760px; height: 760px; top: -320px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.38), transparent 70%); }
.neb--2 { width: 600px; height: 600px; top: 58%; right: -220px;
  background: radial-gradient(circle, rgba(var(--accent-deep-rgb),0.30), transparent 70%); }

/* orbital rings — the brand motif, drifting behind the content */
.bg-orbits {
  position: fixed; top: 50%; left: 50%; z-index: -1; pointer-events: none;
  width: min(1180px, 150vmin); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: calc(0.5 * var(--atmo-orbit));
}
.bg-orbits::before {
  /* the sphere — a soft luminous core at the centre of the rings */
  content: ""; position: absolute; inset: 31%; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.17), transparent 70%);
  filter: blur(34px);
}
.orbit { position: absolute; inset: 0; margin: auto; border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb),0.10); }
.orbit--a { width: 100%; height: 100%; animation: spin var(--spin-a) linear infinite; }
.orbit--b { width: 70%; height: 70%; border-color: rgba(var(--accent-rgb),0.14); animation: spin var(--spin-b) linear infinite reverse; }
.orbit--c { width: 44%; height: 44%; border-color: rgba(var(--accent-bright-rgb),0.18); animation: spin var(--spin-c) linear infinite; }
.orbit .sat { position: absolute; top: -4px; left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-bright); box-shadow: 0 0 14px 2px rgba(var(--accent-bright-rgb),0.8); }
@keyframes spin { to { transform: rotate(360deg); } }

/* film grain */
.bg-grain { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: calc(.035 * var(--atmo-grain)); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

@media (prefers-reduced-motion: reduce) {
  .orbit--a, .orbit--b, .orbit--c { animation: none; }
}

/* ============================================================
   SHELL
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: clamp(90px, 13vw, 170px); position: relative; }

/* kicker / eyebrow label */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-bright);
}
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--accent-line); }

.h-display {
  font-weight: 600; letter-spacing: -0.035em; line-height: 0.98;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  text-wrap: balance;
}
.h2 {
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.04;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  text-wrap: balance;
}
.lead { color: var(--text-2); font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.55; max-width: 42ch; }

.grad {
  background: linear-gradient(110deg, var(--accent-bright) 0%, #C7D6FF 45%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============================================================
   NAV — identical to the homepage (nextgen.css)
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 18px var(--gut);
  border-bottom: 1px solid transparent;
  transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}
.nav.scrolled {
  padding-block: 11px;
  background: rgba(6,7,13,0.7);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  border-bottom-color: var(--hair);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; }
.brand-name { font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--text-2); font-size: 0.9rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-account { color: var(--text); }
.nav-cta { margin-left: 0; }

/* mobile menu toggle (hidden on desktop) */
.nav-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(130px, 18vh, 200px); padding-bottom: 0; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 0.74rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-2);
  padding: 8px 16px; border: 1px solid var(--hair-2); border-radius: 999px;
  background: rgba(255,255,255,0.02);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 10px 2px rgba(91,224,168,0.85); }
@media (prefers-reduced-motion: no-preference) {
  .eyebrow .dot { animation: pulse-dot 1.8s var(--ease) infinite; }
}
@keyframes pulse-dot { 50% { opacity: 0.35; } }

.hero-title { margin-top: 30px; font-weight: 600; letter-spacing: -0.04em; line-height: 0.96;
  font-size: clamp(2.9rem, 8vw, 6.8rem); text-wrap: balance; }
.hero-sub { margin: 28px auto 0; color: var(--text-2);
  font-size: clamp(1.08rem, 1.6vw, 1.36rem); line-height: 1.55; max-width: 60ch; }

.hero-cta { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 24px; color: var(--text-3); font-size: 0.86rem; max-width: 52ch; }

/* buttons — identical to the homepage (nextgen.css) */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 0.95rem; font-weight: 560; letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), background .3s, border-color .3s;
  will-change: transform;
}
.btn--primary {
  color: #060810;
  background: linear-gradient(120deg, var(--accent-bright), var(--accent-glow));
  box-shadow: 0 0 0 1px rgba(var(--accent-bright-rgb),0.35), 0 10px 36px rgba(var(--accent-rgb),0.35);
}
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(var(--accent-bright-rgb),0.55), 0 14px 48px rgba(var(--accent-rgb),0.5); }
.btn--ghost {
  color: var(--text); border: 1px solid var(--hair-3);
  background: rgba(255,255,255,0.02);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.btn--sm { padding: 8px 18px; font-size: 0.86rem; }
.btn svg { transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

/* hero product shot — 3D, parallax, flattens on scroll */
.hero-stage { width: 100%; margin-top: clamp(56px, 8vw, 100px); perspective: 2400px; }
.hero-shot { position: relative; width: min(1180px, 100%); margin: 0 auto;
  transform-style: preserve-3d; will-change: transform; }
.shot-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--hair-3);
  background: var(--panel);
  box-shadow:
    0 60px 140px -40px rgba(0,0,0,0.95),
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 0 120px -30px rgba(var(--accent-rgb),0.45);
}
.shot-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px;
  background: rgba(16,19,28,0.92); border-bottom: 1px solid var(--hair); }
.tl { width: 11px; height: 11px; border-radius: 50%; }
.tl.red { background: #FF6058; } .tl.yellow { background: #FFBD2E; } .tl.green { background: #28C840; }
.shot-label { margin-left: 12px; font-size: 0.78rem; color: var(--text-3); font-family: var(--font-mono); }
.shot-frame img,
.shot-frame video { width: 100%; height: auto; display: block; }
.shot-glow { position: absolute; inset: auto 10% -50px 10%; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.5), transparent 70%); filter: blur(50px); z-index: -1; }

/* floating spec chips around the shot */
.shot-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 12px; font-size: 0.8rem; font-weight: 500; color: var(--text);
  background: rgba(12,14,22,0.7); border: 1px solid var(--hair-2);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.8); will-change: transform; }
.shot-chip .ci { font-family: var(--font-mono); color: var(--accent-bright); }
.shot-chip--1 { top: 16%; left: -3%; }
.shot-chip--2 { top: 52%; right: -4%; }
.shot-chip--3 { bottom: 8%; left: 6%; }
@media (max-width: 760px) { .shot-chip { display: none; } }

/* ============================================================
   POSITIONING RAIL (replaces stats strip)
   ============================================================ */
.rail { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  margin-top: clamp(80px, 12vw, 140px); }
.rail-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.rail-cell { padding: clamp(34px, 4vw, 46px) clamp(26px, 3vw, 40px); position: relative; }
.rail-cell + .rail-cell::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--hair); }
.rail-k { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-bright); }
.rail-k::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-bright);
  box-shadow: 0 0 9px 1px rgba(var(--accent-bright-rgb),0.8); }
.rail-cell p { margin-top: 16px; font-size: clamp(1rem, 1.25vw, 1.12rem); color: var(--text);
  line-height: 1.4; letter-spacing: -0.01em; max-width: 22ch; }
.rail-cell p .u { color: var(--accent-bright); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .rail-inner { grid-template-columns: repeat(2, 1fr); }
  .rail-cell:nth-child(odd)::before { display: none; }
  .rail-cell { border-top: 1px solid var(--hair); padding-left: clamp(20px, 4vw, 30px); }
  .rail-cell:nth-child(-n+2) { border-top: 0; }
  .rail-cell:nth-child(even)::before { content: ""; } }

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 80px); }
.section-head .kicker { margin-bottom: 22px; }
.section-head .h2 { margin-bottom: 0; }
.section-head .lead { margin-top: 22px; max-width: 56ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }

/* ============================================================
   WHY — editorial numbered outcomes
   ============================================================ */
.outcomes { display: grid; gap: 0; border-top: 1px solid var(--hair); }
.outcome { display: grid; grid-template-columns: 120px 1fr; gap: clamp(20px, 5vw, 70px);
  padding: clamp(34px, 4vw, 50px) 0; border-bottom: 1px solid var(--hair); align-items: start;
  transition: background .4s var(--ease); }
.outcome:hover { background: linear-gradient(90deg, rgba(var(--accent-rgb),0.05), transparent 60%); }
.outcome-num { font-family: var(--font-mono); font-size: 1.1rem; font-weight: 600; color: var(--accent-bright);
  letter-spacing: 0.05em; padding-top: 6px; }
.outcome-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
.outcome-body p { margin-top: 14px; color: var(--text-2); font-size: 1.04rem; line-height: 1.6; max-width: 60ch; }
@media (max-width: 640px) { .outcome { grid-template-columns: 1fr; gap: 12px; } .outcome-num { padding-top: 0; } }

/* ============================================================
   HOW IT WORKS — canvas panes
   ============================================================ */
.panes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.pane {
  position: relative; overflow: hidden; border-radius: var(--r);
  border: 1px solid var(--hair); padding: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.004));
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.pane:hover { border-color: var(--hair-3); transform: translateY(-3px); }
.pane:hover .pane-bar { background: rgba(var(--accent-rgb),0.06); }
.pane-bar { display: flex; align-items: center; gap: 10px; padding: 13px 18px;
  border-bottom: 1px solid var(--hair); background: rgba(255,255,255,0.018); transition: background .4s var(--ease); }
.pane-bar .dots { display: flex; gap: 5px; }
.pane-bar .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--hair-3); }
.pane-bar .dots i:first-child { background: rgba(var(--accent-rgb),0.55); }
.pane-tag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-3); }
.pane-bar .glyph { margin-left: auto; font-family: var(--font-mono); color: var(--accent-bright); opacity: .8; font-size: 0.92rem; }
.pane-body { padding: clamp(20px, 2.2vw, 30px); }
.pane-body h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; }
.pane-body p { margin-top: 10px; color: var(--text-2); font-size: 0.96rem; line-height: 1.58; }
.pane-body kbd { margin: 0 1px; }
.span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; }

/* hero pane with a live mini-canvas */
.pane-hero .pane-body { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(22px, 3vw, 40px); align-items: center; }
.mini-canvas { position: relative; height: 190px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--hair-2);
  background-color: var(--void-deep);
  background-image: radial-gradient(rgba(var(--accent-bright-rgb),0.13) 1px, transparent 1.4px);
  background-size: 17px 17px; }
.mini-canvas .axis { position: absolute; background: rgba(255,255,255,0.05); }
.mini-canvas .axis.x { left: 0; right: 0; top: 50%; height: 1px; }
.mini-canvas .axis.y { top: 0; bottom: 0; left: 38%; width: 1px; }
.mw { position: absolute; border-radius: 6px; border: 1px solid var(--hair-2);
  background: rgba(14,17,26,0.92); box-shadow: 0 10px 28px -12px rgba(0,0,0,0.9); }
.mw::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px;
  border-bottom: 1px solid var(--hair); background: rgba(255,255,255,0.03); border-radius: 6px 6px 0 0; }
.mw::after { content: ""; position: absolute; left: 7px; top: 3.5px; width: 4px; height: 4px; border-radius: 50%; background: var(--hair-3); }
.mw-1 { width: 116px; height: 72px; left: 16px; top: 24px; }
.mw-2 { width: 100px; height: 64px; left: 138px; top: 70px;
  border-color: var(--accent-line); box-shadow: 0 0 30px -6px rgba(var(--accent-rgb),0.65); }
.mw-2::after { background: var(--accent-bright); }
.mw-3 { width: 78px; height: 50px; right: 18px; top: 22px; }
.mc-tag { position: absolute; bottom: 10px; left: 12px; font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.1em; color: var(--text-faint); text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) {
  .pane-hero:hover .mw-2 { animation: drift 3s var(--ease) infinite alternate; }
}
@keyframes drift { to { transform: translate(8px, -6px); } }

@media (max-width: 900px) { .panes { grid-template-columns: repeat(2, 1fr); }
  .span-3, .span-2 { grid-column: span 2; } .pane-hero .pane-body { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .panes { grid-template-columns: 1fr; } .span-3, .span-2 { grid-column: span 1; } }

/* ============================================================
   TOOLS — grouped editorial index
   ============================================================ */
.index { display: grid; gap: clamp(40px, 5vw, 64px); }
.index-group { display: grid; grid-template-columns: 200px 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; }
.group-head { position: sticky; top: 100px; }
.group-head .kicker { margin-bottom: 12px; }
.group-head .gc { display: block; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-faint); }
.irows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 4vw, 56px);
  border-top: 1px solid var(--hair); }
.irow { display: grid; grid-template-columns: 2.6rem 1fr; gap: 14px; align-items: baseline;
  padding: 18px 4px; border-bottom: 1px solid var(--hair); position: relative;
  transition: padding-left .3s var(--ease); }
.irow::before { content: ""; position: absolute; left: -4px; top: -1px; height: 1px; width: 0;
  background: var(--accent); transition: width .35s var(--ease); }
.irow:hover { padding-left: 12px; }
.irow:hover::before { width: 34px; }
.inum { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-faint);
  letter-spacing: 0.04em; transition: color .3s; padding-top: 2px; }
.irow:hover .inum { color: var(--accent-bright); }
.iname { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.iname .tk { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 400; color: var(--accent-bright);
  opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .3s; }
.irow:hover .iname .tk { opacity: 0.85; transform: none; }
.idesc { display: block; margin-top: 6px; color: var(--text-3); font-size: 0.9rem; line-height: 1.5; max-width: 34ch; }
@media (max-width: 820px) { .index-group { grid-template-columns: 1fr; gap: 18px; }
  .group-head { position: static; } }
@media (max-width: 540px) { .irows { grid-template-columns: 1fr; } }

/* ============================================================
   CABLE — animated connections between windows
   ============================================================ */
.cable { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.cable-copy .h2 { margin: 22px 0 0; }
.cable-copy p { margin-top: 20px; color: var(--text-2); font-size: 1.06rem; line-height: 1.62; max-width: 54ch; }
.cable-copy p b { color: var(--text); font-weight: 600; }
.cable-list { list-style: none; margin-top: 26px; display: grid; gap: 2px; }
.cable-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 13px 0;
  border-top: 1px solid var(--hair); color: var(--text-2); font-size: 0.98rem; line-height: 1.5; }
.cable-list .ck { font-family: var(--font-mono); font-size: 0.82rem; color: var(--accent-bright);
  white-space: nowrap; padding-top: 1px; }
.cable-list b { color: var(--text); font-weight: 600; }

/* the live wiring diagram */
.cable-stage { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--hair-2);
  background-color: var(--void-deep);
  background-image: radial-gradient(rgba(var(--accent-bright-rgb),0.1) 1px, transparent 1.4px);
  background-size: 22px 22px;
  box-shadow: 0 40px 100px -50px rgba(0,0,0,0.85), 0 0 120px -40px rgba(var(--accent-rgb),0.3) inset; }
.cnode { position: absolute; min-width: 116px; border-radius: 10px; border: 1px solid var(--hair-2);
  background: rgba(13,16,24,0.95); box-shadow: 0 14px 34px -16px rgba(0,0,0,0.9); }
.cnode .cn-bar { display: flex; align-items: center; gap: 7px; padding: 8px 11px; border-bottom: 1px solid var(--hair); }
.cnode .cn-bar i { width: 5px; height: 5px; border-radius: 50%; background: var(--hair-3); }
.cnode .cn-bar i:first-child { background: rgba(var(--accent-rgb),0.6); }
.cnode .cn-name { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-2); }
.cnode .cn-body { padding: 11px; display: grid; gap: 5px; }
.cnode .cn-line { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.07); }
.cnode .cn-line.sh { width: 60%; } .cnode .cn-line.md { width: 84%; }
.cnode--agent { left: 7%; top: 16%; }
.cnode--agent .cn-bar i:first-child { background: var(--accent-bright); box-shadow: 0 0 8px 1px rgba(var(--accent-bright-rgb),0.8); }
.cnode--diff  { right: 7%; top: 30%; }
.cnode--diff .cn-line.add { background: rgba(91,224,168,0.4); }
.cnode--diff .cn-line.del { background: rgba(255,110,110,0.32); }
.cnode--task  { left: 12%; bottom: 12%; }
.cable-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cable-svg .wire { fill: none; stroke: rgba(var(--accent-rgb),0.28); stroke-width: 1.5; stroke-dasharray: 3 6; }
.cable-svg .flow { fill: none; stroke: var(--accent-bright); stroke-width: 2;
  stroke-dasharray: 7 13; filter: drop-shadow(0 0 5px rgba(var(--accent-bright-rgb),0.8));
  animation: cable-flow 1.05s linear infinite; }
@keyframes cable-flow { to { stroke-dashoffset: -40; } }
.cable-badge { position: absolute; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-bright);
  background: rgba(12,14,22,0.85); border: 1px solid var(--accent-line); backdrop-filter: blur(8px); }
.cable-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-bright);
  box-shadow: 0 0 8px 1px rgba(var(--accent-bright-rgb),0.9); animation: dim 1.6s ease-in-out infinite; }
.cable-badge--flow { top: 23%; left: 41%; }
@media (prefers-reduced-motion: reduce) { .cable-svg .flow { animation: none; } .cable-badge::before { animation: none; } }
@media (max-width: 820px) { .cable { grid-template-columns: 1fr; } .cable-stage { max-width: 460px; margin-inline: auto; width: 100%; } }

/* ============================================================
   CRAFT — the name
   ============================================================ */
.craft { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.craft-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.craft-ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb),0.12); }
.craft-ring--1 { width: 100%; height: 100%; animation: spin var(--craft-a) linear infinite; }
.craft-ring--2 { width: 66%; height: 66%; border-color: rgba(var(--accent-bright-rgb),0.2); animation: spin var(--craft-b) linear infinite reverse; }
.craft-ring .sat { position: absolute; top: -5px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent-bright); box-shadow: 0 0 18px 3px rgba(var(--accent-bright-rgb),0.9); }
.craft-mark { width: clamp(120px, 22vw, 200px); height: auto; border-radius: 28px;
  box-shadow: 0 40px 100px -30px rgba(var(--accent-rgb),0.5); position: relative; z-index: 2; }
.craft-null { font-family: var(--font-mono); font-size: clamp(3rem, 7vw, 5rem); color: var(--accent-bright);
  position: absolute; z-index: 3; opacity: 0; }
.craft-copy .h2 { margin: 22px 0 0; }
.craft-copy p { margin-top: 20px; color: var(--text-2); font-size: 1.06rem; line-height: 1.62; max-width: 54ch; }
.craft-copy p b { color: var(--text); font-weight: 600; }
@media (max-width: 820px) { .craft { grid-template-columns: 1fr; } .craft-visual { max-width: 320px; margin-inline: auto; } }
@media (prefers-reduced-motion: reduce) { .craft-ring--1, .craft-ring--2 { animation: none; } }

/* ============================================================
   BETA
   ============================================================ */
.beta-wrap { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.beta-list { list-style: none; margin-top: 30px; display: grid; gap: 2px; }
.beta-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 16px 0;
  border-top: 1px solid var(--hair); color: var(--text-2); font-size: 1rem; line-height: 1.5; }
.beta-list .mk { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; font-size: 0.8rem; margin-top: 1px; }
.beta-list .ok { color: var(--success); background: rgba(91,224,168,0.1); border: 1px solid rgba(91,224,168,0.25); }
.beta-list .next { color: var(--accent-bright); background: var(--accent-soft); border: 1px solid var(--accent-line); }

.signup-card { position: sticky; top: 100px; border-radius: var(--r-lg); padding: clamp(30px, 4vw, 44px);
  border: 1px solid var(--hair-2); text-align: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(var(--accent-rgb),0.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
  box-shadow: 0 40px 100px -40px rgba(0,0,0,0.8); }
.signup-orbit { width: 64px; height: 64px; margin: 0 auto 22px; position: relative; }
.signup-orbit::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent-line); }
.signup-orbit::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; background: var(--accent-bright);
  box-shadow: 0 0 24px 4px rgba(var(--accent-bright-rgb),0.7); }
.signup-card h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.signup-prompt { margin: 14px 0 26px; color: var(--text-2); font-size: 0.98rem; line-height: 1.6; }
.signup-card .btn { width: auto; }
.beta-fine { display: block; margin-top: 18px; color: var(--text-3); font-size: 0.82rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--warning);
  box-shadow: 0 0 10px var(--warning); animation: dim 2s ease-in-out infinite; flex: none; }
@keyframes dim { 50% { opacity: .35; } }
@media (max-width: 820px) { .beta-wrap { grid-template-columns: 1fr; } .signup-card { position: static; } }

/* ============================================================
   CLOSING CTA
   ============================================================ */
.finale { text-align: center; padding-block: clamp(110px, 16vw, 200px); }
.finale .h-display { margin: 26px auto 0; max-width: 16ch; }
.finale .hero-cta { margin-top: 40px; }

/* ============================================================
   FOOTER — identical to the homepage (nextgen.css)
   ============================================================ */
.footer {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 48px var(--gut) 60px; border-top: 1px solid var(--hair);
  text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.95rem; }
.footer-brand img { width: 22px; height: 22px; border-radius: 6px; }
.footer-meta { color: var(--text-3); font-size: 0.84rem; max-width: 60ch; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  color: var(--text-3); font-size: 0.84rem; }
.footer-links a { color: var(--text-2); transition: color .2s; }
.footer-links a:hover { color: var(--text); }

/* ============================================================
   REVEAL — scroll choreography
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); will-change: transform, opacity; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .28s; }
.reveal[data-d="5"] { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   MOBILE NAV — identical to the homepage (nextgen.css)
   ============================================================ */
@media (max-width: 860px) {
  .nav { gap: 14px; }
  .nav-toggle {
    display: inline-flex; margin-left: auto; width: 40px; height: 40px;
    align-items: center; justify-content: center; border-radius: 10px;
    border: 1px solid var(--hair-2); background: rgba(255,255,255,0.02);
    color: var(--text); cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 17px; height: 1.6px; border-radius: 2px;
    background: currentColor; transition: transform .3s var(--ease), opacity .2s;
  }
  .nav-toggle span { position: relative; }
  .nav-toggle span::before { position: absolute; top: -5px; }
  .nav-toggle span::after  { position: absolute; top: 5px; }
  .nav[data-open="1"] .nav-toggle span { background: transparent; }
  .nav[data-open="1"] .nav-toggle span::before { transform: translateY(5px) rotate(45deg); }
  .nav[data-open="1"] .nav-toggle span::after  { transform: translateY(-5px) rotate(-45deg); }

  .nav-links {
    position: fixed; inset: 70px 14px auto 14px; flex-direction: column;
    align-items: stretch; gap: 4px; margin-left: 0; padding: 12px;
    border-radius: 16px; border: 1px solid var(--hair-2);
    background: rgba(8,10,17,0.92);
    -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
    opacity: 0; transform: translateY(-10px) scale(0.98); pointer-events: none;
    transition: opacity .25s var(--ease), transform .3s var(--ease-out);
  }
  .nav[data-open="1"] .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 11px 13px; border-radius: 10px; font-size: 0.95rem; }
  .nav-links a:hover { background: var(--accent-soft); }
  .nav .nav-cta { display: none; }
}

/* ============================================================
   FOLLOW — stay in the loop (social)
   ============================================================ */
.follow-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 28px); }
.follow-card { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg); border: 1px solid var(--hair-2); text-decoration: none; color: inherit;
  background:
    radial-gradient(130% 90% at 0% 0%, rgba(var(--accent-rgb),0.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
  box-shadow: 0 30px 80px -50px rgba(0,0,0,0.8);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.follow-card:hover { transform: translateY(-4px); border-color: var(--accent-line);
  box-shadow: 0 40px 90px -40px rgba(var(--accent-rgb),0.45); }
.follow-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.follow-ava { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  border: 1px solid var(--hair-2); background: rgba(255,255,255,0.04); overflow: hidden; }
.follow-ava img { display: block; border-radius: 8px; }
.follow-ava--founder { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 600; color: #060810;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-glow));
  box-shadow: 0 10px 28px -10px rgba(var(--accent-rgb),0.7); }
.follow-net { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3);
  border: 1px solid var(--hair); border-radius: 999px; padding: 6px 11px; }
.follow-meta { display: flex; flex-direction: column; gap: 3px; }
.follow-name { font-size: 1.22rem; font-weight: 600; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.follow-role { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-bright); background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: 999px; padding: 3px 8px; }
.follow-handle { font-family: var(--font-mono); font-size: 0.92rem; color: var(--text-3); }
.follow-desc { margin: 0; color: var(--text-2); font-size: 1rem; line-height: 1.58; }
.follow-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 9px; font-weight: 550;
  font-size: 0.98rem; color: var(--accent-bright); }
.follow-cta svg { transition: transform .25s var(--ease); }
.follow-card:hover .follow-cta svg { transform: translateX(4px); }
@media (max-width: 720px) { .follow-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TWEAK LAYER — Atmosphere & Motion (optional <html> hooks)
   ============================================================ */
html[data-atmo="studio"] {
  --atmo-glow: 0.32; --atmo-grid: 0.35; --atmo-grain: 0; --atmo-orbit: 0.28;
}
html[data-atmo="nebula"] {
  --atmo-glow: 1.5; --atmo-grid: 1.25; --atmo-grain: 1.7; --atmo-orbit: 1.45;
}
html[data-motion="still"] {
  --spin-a: 0s; --spin-b: 0s; --spin-c: 0s; --craft-a: 0s; --craft-b: 0s;
}
html[data-motion="still"] .orbit--a,
html[data-motion="still"] .orbit--b,
html[data-motion="still"] .orbit--c,
html[data-motion="still"] .craft-ring--1,
html[data-motion="still"] .craft-ring--2 { animation: none; }
html[data-motion="still"] .eyebrow .dot,
html[data-motion="still"] .pulse { animation: none; }
html[data-motion="alive"] {
  --spin-a: 38s; --spin-b: 26s; --spin-c: 17s; --craft-a: 28s; --craft-b: 18s;
}
