/* ==========================================================================
   AnalystOS — Celestial Homepage
   Design system + scroll-journey stage
   ========================================================================== */

/* --------------------------------------------------------------- TOKENS */
:root{
  /* Surface */
  --void:            #020408;   /* deep cosmic black — base canvas          */
  --void-2:          #04070E;
  --navy:            #0B132B;   /* nebula depth                             */
  --nebula:          #0E1A35;   /* midnight navy — radial glow              */
  --violet:          #170F33;   /* faint secondary nebula, used sparingly   */

  /* Ink ramp */
  --ink-000:         #FFFFFF;
  --ink-100:         #E8EEF9;
  --ink-200:         #C3CFE3;
  --ink-300:         #94A3B8;
  --ink-400:         #6B7C93;
  --ink-500:         #4A5769;

  /* Accent */
  --cyan:            #00F0FF;
  --cyan-aura:       rgba(0, 240, 255, 0.40);
  --cyan-dim:        rgba(0, 240, 255, 0.14);

  /* Lines & strokes */
  --line:            rgba(255,255,255,0.18);
  --line-soft:       rgba(255,255,255,0.08);
  --line-hair:       rgba(255,255,255,0.05);

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display',
          'Segoe UI', system-ui, 'Helvetica Neue', Arial, sans-serif;

  /* Rhythm */
  --gutter: clamp(20px, 5vw, 64px);
  --measure: 1180px;
  --radius: 14px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------------------------------------------------------------- RESET */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }

html{
  background: var(--void);
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
}

body{
  background: var(--void);
  color: var(--ink-100);
  font-family: var(--font);
  font-size:16px;
  line-height:1.55;
  font-weight:400;
  letter-spacing:-0.005em;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

img,svg{ display:block; max-width:100%; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
a{ color:inherit; text-decoration:none; }

::selection{ background: rgba(0,240,255,.28); color:#fff; }

:focus-visible{
  outline:2px solid var(--cyan);
  outline-offset:3px;
  border-radius:4px;
}

.skip-link{
  position:fixed; top:10px; left:10px; z-index:4000;
  padding:10px 16px; border-radius:999px;
  background:#fff; color:#020408; font-size:13px; font-weight:600;
  transform:translateY(-160%);
  transition:transform .25s var(--ease);
}
.skip-link:focus{ transform:translateY(0); }

/* =====================================================================
   HEADER
   ===================================================================== */
.nav{
  position:fixed; inset:0 0 auto 0; z-index:1000;
  display:flex; align-items:center; justify-content:space-between;
  gap:24px;
  padding: 14px var(--gutter);
  transition: padding .4s var(--ease);
}
/* Not a bar — a soft fade that dies out well before it reads as an edge.
   Keeps the header legible over the bright part of the galactic band
   without putting a ribbon across the top of the page. */
.nav::before{
  content:""; position:absolute; inset:0 0 auto 0; height:190%;
  background: linear-gradient(to bottom,
      rgba(2,5,12,.70) 0%, rgba(2,5,12,.34) 42%, rgba(2,5,12,0) 100%);
  pointer-events:none; z-index:-1;
}
.nav.is-solid{ padding: 10px var(--gutter); }

.brand{ display:flex; align-items:center; gap:20px; }

/* Mark and wordmark are lifted from the live build: #eaf2ff strokes,
   Schibsted Grotesk, regular "Analyst" against bold "OS" — no accent colour.
   Size is 2x, and the whole lockup steps down once you start scrolling so it
   never competes with the constellation. */
.brand-mark{
  width:80px; height:80px; color:#eaf2ff;
  filter: drop-shadow(0 0 22px rgba(120,190,255,.38));
  animation: logoOrbit 1.4s cubic-bezier(.22,1,.36,1) both;
  transition: width .4s var(--ease), height .4s var(--ease);
}
.nav.is-solid .brand-mark{ width:56px; height:56px; }

@keyframes logoOrbit{
  from { transform: rotate(-200deg) scale(.55); opacity:0; }
  60%  { opacity:1; }
  to   { transform: rotate(0deg) scale(1); opacity:1; }
}

.brand-word{
  font-family:'Schibsted Grotesk', var(--font);
  font-size:2rem; font-weight:400; letter-spacing:-0.005em;
  color: rgba(224,235,255,.9); line-height:1;
  text-shadow: 0 1px 12px rgba(0,0,0,.7);
  transition: font-size .4s var(--ease);
}
.nav.is-solid .brand-word{ font-size:1.42rem; }
.brand-os{ font-weight:700; color:#f2f7ff; }

.nav-links{ display:flex; align-items:center; gap: clamp(14px, 2.2vw, 30px); }
.nav-links a:not(.btn){
  font-size:.855rem; font-weight:450; color: var(--ink-200);
  text-shadow: 0 1px 10px rgba(0,0,0,.85);
  position:relative; padding:6px 0;
  transition: color .28s var(--ease);
}
.nav-links a:not(.btn)::after{
  content:""; position:absolute; left:0; right:100%; bottom:2px; height:1px;
  background: var(--cyan); opacity:.85;
  transition: right .3s var(--ease);
}
.nav-links a:not(.btn):hover{ color: var(--ink-000); }
.nav-links a:not(.btn):hover::after{ right:0; }

/* --------------------------------------------------------------- BUTTONS */
.btn{
  display:inline-flex; align-items:center; gap:.5em;
  padding:13px 26px; border-radius:999px;
  font-size:.9rem; font-weight:600; letter-spacing:-0.005em;
  white-space:nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background .3s var(--ease), border-color .3s var(--ease),
              color .3s var(--ease);
}
.btn-sm{ padding:9px 19px; font-size:.83rem; }

.btn-primary{
  background:#fff; color:#020408;
  box-shadow: 0 6px 24px -14px rgba(180,225,255,.55);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 22px -6px var(--cyan-aura), 0 14px 34px -16px rgba(180,225,255,.6);
}
.btn-primary span{ transition: transform .3s var(--ease); }
.btn-primary:hover span{ transform: translateX(3px); }

.btn-ghost{
  color: var(--ink-200);
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-ghost:hover{
  color:#fff; border-color: rgba(0,240,255,.45);
  background: rgba(0,240,255,.05);
  transform: translateY(-2px);
}

/* =====================================================================
   STAGE — fixed render surface
   ===================================================================== */
.stage{
  position:fixed; inset:0; z-index:1;
  overflow:hidden;
  height:100vh; height:100dvh;
  transition: opacity .5s linear;
}
.layer{ position:absolute; inset:0; pointer-events:none; }

.bg-void{
  background:
    radial-gradient(125% 95% at 50% 40%, #0B1524 0%, #060B15 45%, #02050B 78%, #010205 100%);
}

/* Galaxy plates. galaxy-far is the base — dark enough that the white
   constellation always dominates it. galaxy-nebula is a colour accent that
   burns in behind the hero and fades as the camera travels. Both are
   transformed from JS for parallax and scroll zoom. */
.bg-far, .bg-neb{
  position:absolute; inset:auto; left:50%; top:50%;
  width:142%; height:142%;
  transform: translate(-50%,-50%);
  background-position:center; background-size:cover; background-repeat:no-repeat;
  will-change: transform, opacity;
}
.bg-far{ background-image:url("galaxy-far.webp"); opacity:.9; }
.bg-neb{
  background-image:url("galaxy-nebula.webp");
  opacity:.34; mix-blend-mode:screen;
}

/* Holds the plates back so the nodes read as the brightest thing on screen. */
.bg-scrim{
  background:
    radial-gradient(115% 85% at 50% 46%, rgba(2,5,12,.30) 0%, rgba(2,5,12,.62) 55%, rgba(1,3,8,.82) 100%);
}

/* Sits under the hero copy only. The galactic band is bright enough to eat
   body text, and the hero is the one place a lot of small type sits on top
   of it. Fades out with the hero. */
.bg-hero-scrim{
  background:
    radial-gradient(62% 54% at 50% 52%, rgba(2,5,12,.74) 0%,
                    rgba(2,5,12,.46) 46%, rgba(2,5,12,0) 78%);
  opacity:0;
}

/* Central bloom that grows as the core ignites. */
.bg-bloom{
  position:absolute; inset:auto; left:50%; top:50%;
  width:130vmax; height:130vmax;
  transform: translate(-50%,-50%) scale(.4);
  background: radial-gradient(closest-side,
      rgba(0,240,255,.13) 0%,
      rgba(0,190,235,.075) 22%,
      rgba(0,140,205,.038) 40%,
      rgba(0,90,150,.015) 58%,
      rgba(2,4,8,0) 78%);
  opacity:0;
  will-change: transform, opacity;
}

#sky{
  position:absolute; inset:0;
  width:100%; height:100%;
  display:block;
}

.grain{
  opacity:.16; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='.55'/></svg>");
}

.vignette{
  background:
    radial-gradient(130% 100% at 50% 50%, rgba(2,4,8,0) 42%, rgba(1,2,5,.72) 100%);
}

/* ------------------------------------------------------------ DATA NODES */
.nodes{ position:absolute; inset:0; pointer-events:none; }

.node{
  position:absolute; top:0; left:0;
  width:0; height:0;
  pointer-events:none;
  will-change: transform, opacity;
}

/* Canvas paints the star itself; this is just the hover target. */
.node-dot{
  position:absolute; left:-19px; top:-19px;
  width:38px; height:38px; border-radius:50%;
}
.stage.nodes-live .node-dot{ pointer-events:auto; }
.stage.nodes-live .node-label{ pointer-events:auto; cursor:default; }

/* Position is set entirely from JS (see layoutLabels) so labels can flip
   sides and de-collide without fighting the cascade. */
.node-label{
  position:absolute; top:-11px; left:0;
  white-space:nowrap;
  font-size:.885rem; font-weight:500;
  letter-spacing:.005em;
  color:#fff;
  text-shadow:
    0 1px 3px  rgba(0,0,0,.95),
    0 0 14px   rgba(0,0,0,.85),
    0 0 34px   rgba(4,10,22,.75);
  transition: color .3s var(--ease);
  will-change: opacity, transform;
}
.node.side-right .node-label{ transform-origin:  0% 50%; }
.node.side-left  .node-label{ transform-origin:100% 50%; }

.node:hover .node-label{ color: #EAF6FF; }

.node-card{
  position:absolute; top:22px;
  width:250px;
  padding:13px 15px 14px;
  border:1px solid var(--line-soft);
  border-radius:12px;
  background: rgba(3,8,16,.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -22px rgba(0,0,0,.95), 0 0 0 1px rgba(0,240,255,.05) inset;
  opacity:0; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events:none;
}
.node.side-right .node-card{ left:-6px; }
.node.side-left  .node-card{ right:-6px; }
.node-card h4{
  font-size:.8rem; font-weight:600; letter-spacing:-0.005em;
  color:#fff; margin-bottom:5px;
}
.node-card p{
  font-size:.775rem; line-height:1.5; color: var(--ink-300);
  letter-spacing:0;
}
.stage.nodes-live .node:hover .node-card{ opacity:1; transform: translateY(0); }

.flash{
  position:absolute; inset:0; opacity:0;
  mix-blend-mode:screen; pointer-events:none;
  background: radial-gradient(closest-side at 50% 50%,
      rgba(255,255,255,.95) 0%,
      rgba(160,245,255,.5) 18%,
      rgba(0,200,255,.18) 38%,
      rgba(2,4,8,0) 66%);
  will-change: opacity;
}

/* =====================================================================
   OVERLAY — narrative text pinned above the stage
   ===================================================================== */
.overlay{
  position:fixed; inset:0; z-index:2;
  pointer-events:none;
  height:100vh; height:100dvh;
}
.overlay a, .overlay button{ pointer-events:auto; }

.eyebrow{
  text-shadow: 0 1px 14px rgba(2,5,12,.9);
  font-size:.685rem; font-weight:600;
  letter-spacing:.30em; text-transform:uppercase;
  color: var(--ink-400);
  margin-bottom:22px;
}
.eyebrow-cyan{ color: rgba(0,240,255,.78); }

.display{
  font-size: clamp(2.15rem, 5.9vw, 4.9rem);
  font-weight:600;
  line-height:1.02;
  letter-spacing:-0.035em;
  color:#fff;
  text-wrap:balance;
  text-shadow: 0 2px 30px rgba(2,5,12,.85), 0 0 70px rgba(2,5,12,.6);
}
.display-dim{
  color: var(--ink-200);
  font-weight:300;
}

.lede{
  font-size: clamp(.98rem, 1.28vw, 1.14rem);
  line-height:1.62;
  color: var(--ink-200);
  max-width:600px;
  font-weight:350;
  text-shadow: 0 1px 16px rgba(2,5,12,.9);
}
.epilogue .lede{ color: var(--ink-300); text-shadow:none; }

/* --------------------------------------------------------------- HERO */
.hero{
  position:absolute; inset:0;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  text-align:center;
  padding: 150px var(--gutter) 72px;
  will-change: opacity, transform;
}
.hero .lede{ margin: 26px auto 0; }
.hero-audience{
  margin-top:20px;
  font-size:.755rem; font-weight:500;
  letter-spacing:.14em; text-transform:uppercase;
  color: var(--ink-400);
  text-shadow: 0 1px 14px rgba(2,5,12,.95);
}
.hero-actions{ display:flex; gap:13px; flex-wrap:wrap; margin-top:38px; }
.hero-actions-center{ justify-content:center; }

.scroll-cue{
  text-shadow: 0 1px 14px rgba(2,5,12,.95);
  position:absolute; left:50%; bottom: clamp(24px, 4.5vh, 46px);
  transform: translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:12px;
  font-size:.655rem; font-weight:500;
  letter-spacing:.26em; text-transform:uppercase;
  color: var(--ink-500);
}
.scroll-cue i{
  display:block; width:1px; height:38px;
  background: linear-gradient(to bottom, rgba(255,255,255,.42), rgba(255,255,255,0));
  animation: cueDrift 2.6s var(--ease) infinite;
}
@keyframes cueDrift{
  0%   { transform: translateY(-8px) scaleY(.55); opacity:0; }
  35%  { opacity:1; }
  100% { transform: translateY(10px) scaleY(1);   opacity:0; }
}

/* ------------------------------------------------------ SCROLL CAPTIONS */
.chapters{ position:absolute; inset:0; }
.chapter{
  position:absolute;
  left: var(--gutter);
  bottom: clamp(52px, 10vh, 96px);
  max-width: 420px;
  opacity:0;
  will-change: opacity, transform;
}
.chapter::before{
  content:""; position:absolute; left:-18px; top:4px; bottom:4px; width:1px;
  background: linear-gradient(to bottom, rgba(0,240,255,.6), rgba(255,255,255,.04));
}
.chapter-kicker{
  font-size:.66rem; font-weight:600;
  letter-spacing:.26em; text-transform:uppercase;
  color: rgba(0,240,255,.78);
  margin-bottom:14px;
  text-shadow: 0 1px 14px rgba(2,5,12,.95);
}
.chapter-title{
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-weight:500; line-height:1.2; letter-spacing:-0.025em;
  color:#fff; margin-bottom:12px;
  text-wrap:balance;
  text-shadow: 0 2px 22px rgba(2,5,12,.92), 0 0 50px rgba(2,5,12,.7);
}
.chapter-body{
  font-size:.92rem; line-height:1.62; color: var(--ink-200);
  font-weight:350;
  text-shadow: 0 1px 16px rgba(2,5,12,.95);
}

/* --------------------------------------------------------- CORE LABEL */
.core-label{
  position:absolute; left:50%; top:50%;
  transform: translate(-50%, 96px);
  display:flex; flex-direction:column; align-items:center; gap:9px;
  text-align:center; opacity:0; max-width:92vw;
  will-change:opacity;
}
@media (max-width: 700px){
  .core-label-kicker{ display:none; }
  .core-label-name{ white-space:nowrap; }
}
.core-label-kicker{
  font-size:.62rem; font-weight:600;
  letter-spacing:.30em; text-transform:uppercase;
  color: var(--ink-500);
}
.core-label-name{
  font-size: clamp(1.05rem, 1.7vw, 1.42rem);
  font-weight:600; letter-spacing:.01em; color:#fff;
  text-shadow: 0 0 30px rgba(0,240,255,.45);
}

/* ------------------------------------------------------------- FINALE */
.finale{
  position:absolute; inset:0;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  text-align:center;
  padding: 96px var(--gutter);
  opacity:0; pointer-events:none;
  will-change:opacity;
}
.finale-title{
  text-shadow: 0 2px 30px rgba(2,5,12,.85);
  font-size: clamp(1.95rem, 4.6vw, 3.65rem);
  font-weight:600; line-height:1.06; letter-spacing:-0.032em;
  color:#fff; margin-bottom:24px;
  text-wrap:balance;
}
.finale .lede{ margin:0 auto; }

/* --------------------------------------------------------------- RAIL */
.rail{
  position:absolute; right: clamp(16px, 2.4vw, 34px); top:50%;
  transform: translateY(-50%);
  display:flex; align-items:stretch; gap:14px;
  opacity:0; transition:opacity .5s var(--ease);
}
.rail.is-on{ opacity:1; }
.rail-track{
  position:relative; width:1px; border-radius:1px;
  background: rgba(255,255,255,.11);
  min-height:206px;
}
.rail-fill{
  position:absolute; left:0; top:0; width:1px; height:0%;
  background: linear-gradient(to bottom, rgba(0,240,255,.9), rgba(255,255,255,.6));
  box-shadow: 0 0 8px rgba(0,240,255,.6);
}
.rail-marks{
  list-style:none; display:flex; flex-direction:column;
  justify-content:space-between;
}
.rail-marks button{
  display:flex; align-items:center; gap:9px;
  font-size:.615rem; font-weight:500;
  letter-spacing:.2em; text-transform:uppercase;
  color: var(--ink-500);
  transition: color .3s var(--ease);
  padding:1px 0;
}
.rail-marks button i{
  width:4px; height:4px; border-radius:50%; flex:none;
  background: rgba(255,255,255,.22);
  transition: background .3s var(--ease), box-shadow .3s var(--ease),
              transform .3s var(--ease);
}
.rail-marks button:hover{ color: var(--ink-100); }
.rail-marks button:hover i{ background: rgba(255,255,255,.6); }
.rail-marks li.is-current button{ color:#fff; }
.rail-marks li.is-current button i{
  background:#fff; transform: scale(1.5);
  box-shadow: 0 0 10px rgba(255,255,255,.9), 0 0 22px var(--cyan-aura);
}

/* =====================================================================
   SUBPAGES — same system, still backdrop, no journey
   ===================================================================== */
.stage-still{ position:fixed; }
.stage-still .bg-neb{ opacity:.26; }

.page{ position:relative; z-index:2; }
.page-hero{
  padding: clamp(150px, 22vh, 240px) 0 clamp(48px, 8vh, 90px);
}
.page-hero .lede{ margin-top:26px; }
.display-sm{ font-size: clamp(1.9rem, 4.4vw, 3.4rem); }

/* the subpage content needs its own backdrop so the plate doesn't fight
   long-form reading further down */
.page .band{ position:relative; }
.page > .band:not(.band-tint)::before,
.page > .site-footer::before{
  content:""; position:absolute; inset:0;
  background: rgba(2,4,8,.72); z-index:-1;
}
.page .band-tint{ background: rgba(4,9,20,.82); }
.page .band-cta{ background: rgba(2,5,12,.8); }

.page-hero-tight{ padding: clamp(140px, 19vh, 200px) 0 clamp(20px, 3vh, 40px); }
.legal-date{
  margin-top:18px; font-size:.78rem; font-weight:500;
  letter-spacing:.14em; text-transform:uppercase; color: var(--ink-500);
}

/* --------------------------------------------------------------- LEGAL */
.legal{ max-width:720px; }
.legal h2{
  font-size:1.06rem; font-weight:600; letter-spacing:-0.012em;
  color:#fff; margin: 38px 0 12px;
}
.legal h2:first-child{ margin-top:0; }
.legal p{
  font-size:.95rem; line-height:1.72; color: var(--ink-300); font-weight:350;
}
.legal a{
  color: var(--ink-100);
  border-bottom:1px solid rgba(0,240,255,.42);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.legal a:hover{ color:#fff; border-bottom-color: var(--cyan); }

.perks{
  list-style:none;
  display:grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap:18px; margin-top: clamp(40px, 5.5vw, 60px);
}
.perk{
  border:1px solid var(--line-hair); border-radius: var(--radius);
  background: rgba(255,255,255,.015);
  padding: 26px 24px;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.perk:hover{ border-color: rgba(0,240,255,.26); transform: translateY(-3px); }
.perk h3{
  font-size:1rem; font-weight:600; color:#fff; margin-bottom:8px;
  letter-spacing:-0.012em;
}
.perk p{ font-size:.88rem; line-height:1.6; color: var(--ink-400); font-weight:350; }

.nav-links a[aria-current="page"]{ color: var(--ink-000); }
.nav-links a[aria-current="page"]::after{ right:0; }

/* =====================================================================
   DRIVER + EPILOGUE
   ===================================================================== */
/* Must match T.driver in script.js — a mismatch makes the page resize
   right after load and knocks any #anchor landing off target. */
.driver{ height: 560vh; position:relative; z-index:0; pointer-events:none; }

.epilogue{
  position:relative; z-index:3;
  background:
    linear-gradient(to bottom,
      rgba(2,4,8,0) 0%,
      rgba(2,4,8,.55) 5%,
      rgba(2,4,8,.94) 13%,
      var(--void) 26%);
  padding-top: 8vh;
}

.wrap{ width:100%; max-width: var(--measure); margin:0 auto; padding:0 var(--gutter); }
.wrap-center{ text-align:center; display:flex; flex-direction:column; align-items:center; }

.band{ padding: clamp(72px, 12vh, 148px) 0; position:relative; }
.band-tint{
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(14,26,53,.55) 0%, rgba(2,4,8,0) 70%);
  border-top:1px solid var(--line-hair);
  border-bottom:1px solid var(--line-hair);
}
.band-cta{
  background:
    radial-gradient(70% 100% at 50% 100%, rgba(0,240,255,.09) 0%, rgba(2,4,8,0) 70%);
}

.section-title{
  font-size: clamp(1.75rem, 3.5vw, 2.85rem);
  font-weight:600; line-height:1.1; letter-spacing:-0.03em;
  color:#fff; margin-bottom:18px;
  text-wrap:balance;
}
.section-lede{
  font-size: clamp(.96rem, 1.2vw, 1.08rem);
  line-height:1.62; color: var(--ink-300);
  max-width:640px; font-weight:350;
}
.wrap-center .section-lede{ margin:0 auto; }

/* Fixed header would otherwise sit on top of an anchored heading. */
.band[id]{ scroll-margin-top: 118px; }

/* ------------------------------------------------------------- STEPS */
.steps{
  list-style:none; margin-top: clamp(44px, 6vw, 72px);
  display:flex; flex-direction:column;
}
.step{
  display:flex; gap: clamp(20px, 3.5vw, 44px);
  padding: 30px 0;
  border-top:1px solid var(--line-hair);
  position:relative;
}
.step:last-child{ border-bottom:1px solid var(--line-hair); }
.step-no{
  flex:none; width:52px;
  font-size:.78rem; font-weight:600; letter-spacing:.2em;
  color: rgba(0,240,255,.62);
  padding-top:5px;
  position:relative;
}
/* the hairline + node echoes the constellation language */
.step-no::before{
  content:""; position:absolute; left:-1px; top:12px;
  width:7px; height:7px; border-radius:50%;
  background:#fff; box-shadow:0 0 10px rgba(255,255,255,.8), 0 0 22px var(--cyan-aura);
  transform: translateX(-14px);
}
.step-body{ max-width:760px; }
.step-body h3{
  font-size:1.18rem; font-weight:600; letter-spacing:-0.018em;
  color:#fff; margin-bottom:9px; line-height:1.3;
}
.step-body p{ font-size:.94rem; line-height:1.62; color: var(--ink-400); font-weight:350; }
.step-tag{
  display:inline-block; margin-top:14px;
  font-size:.66rem; font-weight:600;
  letter-spacing:.18em; text-transform:uppercase;
  color: var(--ink-300);
  padding:5px 12px; border-radius:999px;
  border:1px solid var(--line-hair); background: rgba(255,255,255,.025);
}

.claims{
  list-style:none; margin-top: clamp(36px, 4.5vw, 54px);
  display:flex; flex-wrap:wrap; gap:12px 28px;
}
.claims li{
  display:flex; align-items:center; gap:10px;
  font-size:.9rem; color: var(--ink-200);
}
.claims li::before{
  content:"✓"; font-size:.74rem; color: var(--cyan);
  width:20px; height:20px; flex:none;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%; border:1px solid rgba(0,240,255,.35);
  background: rgba(0,240,255,.07);
}

/* ------------------------------------------------------------ PRICING */
.tiers{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap:16px; margin-top: clamp(40px, 5.5vw, 64px);
  align-items:stretch;
}
.tier{
  display:flex; flex-direction:column;
  border:1px solid var(--line-hair); border-radius: var(--radius);
  background: rgba(255,255,255,.015);
  padding: 28px 24px 26px;
  position:relative;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.tier:hover{ border-color: rgba(255,255,255,.16); }
.tier-featured{
  border-color: rgba(0,240,255,.34);
  background: linear-gradient(180deg, rgba(0,240,255,.055), rgba(255,255,255,.012));
  box-shadow: 0 0 44px -22px var(--cyan-aura);
}
.tier-flag{
  position:absolute; top:-9px; left:24px;
  font-size:.6rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  color:#020408; background: var(--cyan);
  padding:3px 10px; border-radius:999px;
}
.tier h3{
  font-size:1rem; font-weight:600; color:#fff; margin-bottom:12px;
  letter-spacing:-0.01em;
}
.tier-price{
  font-size:2rem; font-weight:600; color:#fff; letter-spacing:-0.03em;
  line-height:1.1; margin-bottom:12px;
}
.tier-price span{
  display:block; font-size:.72rem; font-weight:400; letter-spacing:0;
  color: var(--ink-500); margin-top:6px;
}
.tier-note{ font-size:.82rem; line-height:1.55; color: var(--ink-400); }
.tier ul{
  list-style:none; margin:18px 0 22px;
  padding-top:16px; border-top:1px solid var(--line-hair);
  display:flex; flex-direction:column; gap:9px;
}
.tier li{
  font-size:.83rem; color: var(--ink-300);
  display:flex; align-items:flex-start; gap:9px; line-height:1.45;
}
.tier li::before{
  content:""; width:4px; height:4px; border-radius:50%; flex:none; margin-top:8px;
  background: var(--cyan); box-shadow:0 0 8px var(--cyan-aura);
}
.btn-block{ width:100%; justify-content:center; margin-top:auto; }

/* ------------------------------------------------------------ PILLARS */
.pillars{
  list-style:none;
  display:grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap:1px; margin-top: clamp(44px, 6vw, 72px);
  background: var(--line-hair);
  border:1px solid var(--line-hair);
  border-radius: var(--radius);
  overflow:hidden;
}
.pillar{
  background: linear-gradient(180deg, rgba(11,19,43,.42), rgba(2,4,8,.75));
  padding: 30px 26px 34px;
  transition: background .4s var(--ease);
}
.pillar:hover{ background: linear-gradient(180deg, rgba(14,26,53,.7), rgba(3,8,18,.85)); }
.pillar-index{
  display:block;
  font-size:.66rem; font-weight:600; letter-spacing:.24em;
  color: rgba(0,240,255,.6); margin-bottom:18px;
}
.pillar h3{
  font-size:1.02rem; font-weight:600; letter-spacing:-0.015em;
  color:#fff; margin-bottom:10px; line-height:1.3;
}
.pillar p{ font-size:.885rem; line-height:1.6; color: var(--ink-400); font-weight:350; }

/* ----------------------------------------------------------- AUDIENCE */
.audience{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap:18px; margin-top: clamp(40px, 5.5vw, 64px);
}
.aud-card{
  border:1px solid var(--line-hair);
  border-radius: var(--radius);
  background: rgba(255,255,255,.014);
  padding: 30px 26px 28px;
  transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s var(--ease);
}
.aud-card:hover{
  border-color: rgba(0,240,255,.28);
  background: rgba(0,240,255,.026);
  transform: translateY(-3px);
}
.aud-card h3{
  font-size:1.06rem; font-weight:600; letter-spacing:-0.015em;
  color:#fff; margin-bottom:11px;
}
.aud-card > p{ font-size:.9rem; line-height:1.6; color: var(--ink-400); font-weight:350; }
.aud-card ul{
  list-style:none; margin-top:20px;
  border-top:1px solid var(--line-hair); padding-top:16px;
  display:flex; flex-direction:column; gap:9px;
}
.aud-card li{
  font-size:.83rem; color: var(--ink-300);
  display:flex; align-items:center; gap:9px;
}
.aud-card li::before{
  content:""; width:4px; height:4px; border-radius:50%;
  background: var(--cyan); box-shadow:0 0 8px var(--cyan-aura);
  flex:none;
}

/* ------------------------------------------------------------- FOOTER */
.site-footer{
  border-top:1px solid var(--line-hair);
  padding: 52px 0 44px;
}
.footer-grid{
  display:flex; flex-wrap:wrap; gap:28px 40px;
  align-items:flex-start; justify-content:space-between;
}
.footer-brand .brand-word{ font-size:1.7rem; }
.footer-brand p{
  margin-top:9px; font-size:.83rem; color: var(--ink-500); max-width:250px;
}
.footer-links{ display:flex; flex-wrap:wrap; gap:10px 26px; }
.footer-links a{
  font-size:.83rem; color: var(--ink-400);
  transition: color .28s var(--ease);
}
.footer-links a:hover{ color:#fff; }
.footer-legal{
  font-size:.78rem; color: var(--ink-500);
  width:100%; padding-top:22px;
  border-top:1px solid var(--line-hair);
}

/* --------------------------------------- REVEAL-ON-SCROLL (epilogue) */
.reveal{
  opacity:0; transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in{ opacity:1; transform:none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
/* The rail used to vanish below 1080px, which is most laptop windows. It
   now survives down to tablet width, shedding its labels rather than
   disappearing. */
@media (max-width: 1180px){
  .rail{ gap:10px; right:14px; }
  .rail-marks button{ font-size:.55rem; letter-spacing:.16em; }
}
@media (max-width: 900px){
  .rail-marks button{ font-size:0; gap:0; }        /* dots only */
  .rail-track{ min-height:170px; }
}
@media (max-width: 620px){
  .rail{ display:none; }
}

/* ------------------------------------------------------- MOBILE MENU */
.menu-btn{
  display:none;
  width:40px; height:40px; margin-left:auto;
  align-items:center; justify-content:center;
  border:1px solid var(--line-hair); border-radius:10px;
  background: rgba(255,255,255,.03);
}
.menu-btn span{
  position:relative; display:block; width:16px; height:1.5px;
  background: var(--ink-100); border-radius:2px;
  transition: transform .3s var(--ease), background .2s linear;
}
.menu-btn span::before,.menu-btn span::after{
  content:""; position:absolute; left:0; width:16px; height:1.5px;
  background: var(--ink-100); border-radius:2px;
  transition: transform .3s var(--ease);
}
.menu-btn span::before{ top:-5px; }
.menu-btn span::after { top: 5px; }
.nav.menu-open .menu-btn span{ background:transparent; }
.nav.menu-open .menu-btn span::before{ transform: translateY(5px) rotate(45deg); }
.nav.menu-open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }

.menu-panel{
  position:absolute; left:0; right:0; top:100%;
  display:none; flex-direction:column; gap:2px;
  padding: 10px var(--gutter) 20px;
  background: rgba(2,4,8,.94);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom:1px solid var(--line-hair);
}
.nav.menu-open .menu-panel{ display:flex; }
.menu-panel a{
  padding:13px 0; font-size:.95rem; color: var(--ink-200);
  border-bottom:1px solid var(--line-hair);
}
.menu-panel a:last-child{ border-bottom:0; }

@media (max-width: 900px){
  .nav-links a:not(.btn){ display:none; }
  .menu-btn{ display:flex; order:3; }
  .nav-links{ gap:10px; }
  .brand{ gap:13px; }
  .brand-mark{ width:56px; height:56px; }
  .nav.is-solid .brand-mark{ width:44px; height:44px; }
  .brand-word{ font-size:1.45rem; }
  .nav.is-solid .brand-word{ font-size:1.2rem; }
  .hero{ padding-top:134px; }
  .node-label{ font-size:.78rem; letter-spacing:.01em; }
  .node-card{ width:214px; }
  .chapter{ left:var(--gutter); right:var(--gutter); max-width:none;
            bottom: clamp(42px, 7vh, 78px); }
  .chapter::before{ display:none; }
  .chapter-title{ font-size: clamp(1.22rem, 5vw, 1.6rem); }
  .chapter-body{ font-size:.86rem; }
  .hero .lede{ font-size:.97rem; max-width:440px; }
  .hero-audience{ font-size:.63rem; letter-spacing:.09em; }
  .hero-actions{ justify-content:center; }
  .driver{ height: 500vh; }   /* matches T.driverNarrow */
  .core-label-name{ font-size:1rem; }
  .core-label-kicker{ font-size:.56rem; letter-spacing:.22em; }
}

@media (max-width: 760px){
  .step{ flex-direction:column; gap:10px; padding:26px 0; }
  .step-no::before{ display:none; }
  .tiers{ grid-template-columns:1fr; }
}

@media (max-width: 520px){
  .btn{ padding:12px 22px; font-size:.855rem; }
  .btn-sm{ padding:8px 15px; font-size:.78rem; }
  .brand{ gap:10px; }
  .brand-mark{ width:44px; height:44px; }
  .nav.is-solid .brand-mark{ width:36px; height:36px; }
  .brand-word{ font-size:1.2rem; }
  .nav.is-solid .brand-word{ font-size:1.05rem; }
  .footer-brand .brand-word{ font-size:1.4rem; }
  .node-card{ display:none; }
  .footer-links{ gap:8px 18px; }
  .display{ font-size: clamp(1.95rem, 8.6vw, 2.6rem); }
  .hero .lede{ font-size:.93rem; }
  .pillars{ grid-template-columns:1fr; }
}

/* Short/landscape screens: keep the hero from crowding */
@media (max-height: 620px){
  .hero-audience, .scroll-cue{ display:none; }
  .hero .lede{ margin-top:18px; }
  .hero-actions{ margin-top:24px; }
}

/* =====================================================================
   NO-JS / REDUCED MOTION
   ===================================================================== */
.no-js .driver{ display:none; }
.no-js .stage{ position:absolute; }
.no-js .overlay{ position:relative; height:auto; }
.no-js .hero{ position:relative; min-height:100vh; }
.no-js .epilogue{ background: var(--void); }
.no-js .page{ background: var(--void); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .brand-mark, .scroll-cue i{ animation:none !important; }
  .reveal{ transition:none; opacity:1; transform:none; }
  *{ transition-duration:.01ms !important; }
}
