/* ============================================================
   SystemoAI — refined industrial / technical-premium
   Dark navy base · electric cyan accent · the optimization loop
   ============================================================ */

:root {
  --bg:        #05080F;
  --bg-2:      #090F1C;
  --panel:     #0C1426;
  --panel-2:   #0F1A30;
  --line:      #1B2740;
  --line-soft: #131D33;
  --text:      #E8EEF7;
  --muted:     #8493AD;
  --muted-2:   #5C6B86;
  --accent:    #3DD6F5;
  --accent-2:  #2B7FFF;
  --accent-deep:#1B5BD6;
  --signal:    #67E8FF;  /* engine signal cyan — bright moments */
  --mint:      #79F2C8;  /* proof / produced-asset state */

  --font-display: "Saira", system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, monospace;

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 80px);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

::selection { background: var(--accent); color: #021018; }

a { color: inherit; text-decoration: none; }

/* ── ambient background layers ───────────────────────────── */
.bg-grid, .bg-glow, .bg-noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
}
.bg-grid {
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 120% 80% at 50% -10%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 120% 80% at 50% -10%, #000 30%, transparent 75%);
  opacity: 0.5;
}
.bg-glow {
  background:
    radial-gradient(60% 50% at 75% 8%, rgba(43,127,255,0.18), transparent 60%),
    radial-gradient(45% 40% at 18% 30%, rgba(61,214,245,0.10), transparent 60%);
}
.bg-noise {
  opacity: 0.035; mix-blend-mode: screen;
  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");
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ── shared type ─────────────────────────────────────────── */
.eyebrow, .section-index, .lane-code, .how-k, .core-label,
.orbit-sat span, .anchor-tag, .why-tag, .mono {
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.accent-text {
  background: linear-gradient(100deg, var(--accent), var(--accent-2) 70%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-display); font-weight: 600; font-size: 0.97rem;
  letter-spacing: 0.01em;
  padding: 0.82em 1.5em; border-radius: 10px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background .35s var(--ease), border-color .35s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn-primary {
  color: #021018;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 24px -8px rgba(43,127,255,0.6), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px -10px rgba(61,214,245,0.65), inset 0 1px 0 rgba(255,255,255,0.45);
}
.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,0.015);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-arrow { transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-lg { font-size: 1.05rem; padding: 1em 1.8em; }

/* ── header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 16px var(--gut);
  background: rgba(7,11,20,0.6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(7,11,20,0.82); }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark svg { display: block; }
.orbit-track { fill: none; stroke: url(#g); stroke: var(--accent); stroke-width: 4.5;
  opacity: 0.85; stroke-dasharray: 104 34; stroke-linecap: round;
  transform-origin: 32px 32px; animation: orbit-spin 14s linear infinite; }
.orbit-node { fill: var(--accent-2); filter: drop-shadow(0 0 5px rgba(61,214,245,0.9));
  transform-origin: 32px 32px; animation: orbit-spin 14s linear infinite; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.brand-word {
  font-family: var(--font-display); font-weight: 700; font-size: 1.32rem;
  letter-spacing: 0.005em; line-height: 1;
}
.brand-o { color: var(--signal); }
.brand-ai {
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: 5px; padding: 1px 5px 0; border-radius: 5px;
  font-size: 0.78em; font-weight: 700; letter-spacing: 0.04em;
  color: #03121A; line-height: 1;
  background: linear-gradient(120deg, var(--signal), var(--accent-2));
  box-shadow: 0 0 14px -3px rgba(103,232,255,0.6), inset 0 1px 0 rgba(255,255,255,0.4);
  transform: translateY(-1px);
}
.brand-mark.sm svg { width: 26px; height: 26px; }

.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
  font-family: var(--font-display); font-weight: 500; font-size: 0.94rem;
  color: var(--muted); letter-spacing: 0.01em;
  transition: color .3s var(--ease); position: relative; padding: 4px 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--accent); transition: width .35s var(--ease);
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { width: 100%; }
.header-cta { margin-left: 4px; padding: 0.6em 1.15em; font-size: 0.9rem; }

/* ── hero ────────────────────────────────────────────────── */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(56px, 10vw, 120px) var(--gut) clamp(60px, 9vw, 110px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 70px); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.74rem; color: var(--accent);
  padding: 7px 14px; border: 1px solid var(--line);
  border-radius: 100px; background: rgba(61,214,245,0.04);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
}
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.5rem, 6.2vw, 4.4rem); line-height: 1.02;
  letter-spacing: -0.02em; margin: 24px 0 0;
}
.hero-sub {
  margin-top: 26px; max-width: 38ch; font-size: clamp(1.04rem, 1.6vw, 1.2rem);
  color: var(--muted); line-height: 1.65;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-foot {
  display: flex; align-items: center; gap: 10px; margin-top: 30px;
  font-size: 0.86rem; color: var(--muted-2); max-width: 50ch;
}
.hero-foot .dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); box-shadow: 0 0 9px var(--accent);
}

/* hero orbit visual */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.orbit-stage {
  position: relative; width: min(420px, 80vw); aspect-ratio: 1;
  display: grid; place-items: center;
}
.orbit-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--line); inset: 0;
}
.ring-1 { inset: 0;   border-color: rgba(61,214,245,0.26); animation: spin-cw 30s linear infinite; }
.ring-3 { inset: 17%; border-color: rgba(43,127,255,0.20); border-style: dashed; animation: spin-ccw 22s linear infinite; }
@keyframes spin-cw { to { transform: rotate(360deg); } }
@keyframes spin-ccw { to { transform: rotate(-360deg); } }

/* the orbiting signal dot — rides the outer ring */
.orbit-runner-wrap {
  position: absolute; inset: 0; border-radius: 50%;
  animation: spin-cw 8s linear infinite;
}
.orbit-runner {
  position: absolute; top: -5px; left: 50%; margin-left: -5px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 14px var(--signal), 0 0 30px rgba(103,232,255,0.6);
}

.orbit-core {
  position: relative; z-index: 3;
  width: 30%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; align-content: center; gap: 2px; text-align: center;
  background: radial-gradient(circle at 35% 30%, var(--panel-2), var(--bg));
  border: 1px solid rgba(103,232,255,0.4);
  box-shadow: 0 0 60px -10px rgba(43,127,255,0.55), inset 0 0 30px rgba(61,214,245,0.14);
}
.orbit-core-halo {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 1px dashed rgba(103,232,255,0.3); animation: spin-cw 18s linear infinite;
}
.core-label { font-size: 0.62rem; color: var(--signal); }
.core-sub {
  font-family: var(--font-mono); font-size: 0.46rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-2);
}

/* the four lane-output chips that light as the dot passes */
.osat {
  position: absolute; z-index: 4; min-width: 86px;
  display: grid; place-items: center; padding: 9px 6px; border-radius: 9px;
  background: rgba(10,17,33,0.92); border: 1px solid var(--line);
  backdrop-filter: blur(4px); box-shadow: 0 8px 26px -14px rgba(0,0,0,0.8);
  animation: osat-pulse 8s ease-in-out infinite;
}
.osat-l {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); transition: color .3s var(--ease);
}
.osat-n { top: -5%;  left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.osat-e { top: 50%;  right: -8%; transform: translateY(-50%); animation-delay: 2s; }
.osat-s { bottom: -5%; left: 50%; transform: translateX(-50%); animation-delay: 4s; }
.osat-w { top: 50%;  left: -8%; transform: translateY(-50%); animation-delay: 6s; }
@keyframes osat-pulse {
  0%, 100% { border-color: var(--line); box-shadow: 0 8px 26px -14px rgba(0,0,0,0.8); }
  6%  { border-color: rgba(103,232,255,0.85);
        box-shadow: 0 0 0 1px rgba(103,232,255,0.3), 0 12px 30px -14px rgba(103,232,255,0.6); }
  18% { border-color: var(--line); box-shadow: 0 8px 26px -14px rgba(0,0,0,0.8); }
}

/* ── generic section ─────────────────────────────────────── */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px, 9vw, 130px) var(--gut); }
.section-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 62px); }
.section-index {
  display: inline-block; font-size: 0.72rem; color: var(--accent);
  margin-bottom: 20px; opacity: 0.9;
}
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.06;
  letter-spacing: -0.02em;
}
.section-lead {
  margin-top: 22px; font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--muted); max-width: 62ch; line-height: 1.65;
}

/* ── the leak ────────────────────────────────────────────── */
.section-leak { border-top: 1px solid var(--line-soft); }
.leak-grid {
  list-style: none; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
}
.leak-card {
  position: relative; background: var(--panel);
  padding: 30px 28px 34px; transition: background .4s var(--ease);
  display: flex; flex-direction: column; gap: 16px;
}
.leak-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .5s var(--ease);
}
.leak-card:hover { background: var(--panel-2); }
.leak-card:hover::before { width: 100%; }
.leak-num {
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--accent);
  letter-spacing: 0.1em;
}
.leak-card p { color: var(--text); opacity: 0.92; font-size: 1.02rem; }
.leak-close {
  margin-top: 38px; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--text);
  letter-spacing: -0.01em; max-width: 40ch;
}

/* ── what / spine ────────────────────────────────────────── */
.spine {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch; gap: 10px;
}
.spine-step {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.spine-step:hover { transform: translateY(-4px); border-color: var(--accent); }
.spine-k { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); }
.spine-step h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  margin: 12px 0 10px; letter-spacing: -0.01em;
}
.spine-step p { color: var(--muted); font-size: 0.93rem; line-height: 1.55; }
.spine-arrow {
  display: grid; place-items: center; color: var(--accent);
  font-size: 1.3rem; opacity: 0.6;
  animation: arrow-flow 3s ease-in-out infinite;
}
.spine-arrow:nth-of-type(4) { animation-delay: .35s; }
.spine-arrow:nth-of-type(6) { animation-delay: .7s; }
@keyframes arrow-flow {
  0%, 100% { opacity: 0.32; transform: translateX(-2px); }
  45%      { opacity: 1; color: var(--signal); transform: translateX(3px);
             text-shadow: 0 0 12px rgba(103,232,255,0.7); }
}
.what-note {
  margin-top: 34px; padding: 22px 26px;
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, rgba(61,214,245,0.05), transparent 70%);
  border-radius: 4px; color: var(--muted); max-width: 70ch; font-size: 1.02rem;
}
.what-note .mono { color: var(--accent); margin-right: 6px; }

/* ── what it produces · workbench mock ───────────────────── */
.workbench {
  border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  background:
    radial-gradient(70% 120% at 50% -10%, rgba(43,127,255,0.10), transparent 60%),
    linear-gradient(180deg, var(--panel), var(--bg-2));
  box-shadow: 0 40px 90px -50px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.03);
}
.wb-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 18px; border-bottom: 1px solid var(--line-soft);
  background: rgba(5,8,15,0.6);
}
.wb-dots { display: inline-flex; gap: 7px; }
.wb-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.wb-dots i:nth-child(1) { background: #ff5a6b; }
.wb-dots i:nth-child(2) { background: var(--signal); }
.wb-dots i:nth-child(3) { background: rgba(232,238,247,0.4); }
.wb-title {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em;
  color: var(--muted); text-transform: lowercase;
}
.wb-ai { color: var(--signal); }
.wb-live {
  display: inline-flex; align-items: center; gap: 7px; margin-left: 14px;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mint);
}
.wb-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 8px var(--mint); animation: live-blink 1.6s ease-in-out infinite;
}
@keyframes live-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.wb-flag {
  margin-left: auto; font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  padding: 4px 9px; border: 1px solid rgba(61,214,245,0.25); border-radius: 5px;
  background: rgba(61,214,245,0.05);
}
.wb-body {
  display: grid; grid-template-columns: 1fr 0.7fr 1.05fr;
  gap: clamp(14px, 2.5vw, 30px); align-items: center;
  padding: clamp(22px, 3.5vw, 40px);
}
.wb-col { display: flex; flex-direction: column; gap: 13px; }
.wb-col-label {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 2px;
}
.wb-col-label.out { color: var(--mint); }

/* raw-material chips */
.chip {
  border: 1px solid var(--line); border-radius: 11px;
  background: linear-gradient(180deg, rgba(15,26,48,0.7), rgba(8,14,28,0.7));
  padding: 13px 15px; transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.chip { cursor: pointer; }
.chip:hover { transform: translateX(-3px); border-color: rgba(132,147,173,0.5); }
.chip.is-active {
  border-color: rgba(103,232,255,0.7);
  box-shadow: 0 0 0 1px rgba(103,232,255,0.3), 0 12px 30px -16px rgba(103,232,255,0.6);
  transform: translateX(2px);
}
.chip.is-active .chip-k { color: var(--signal); }
.chip-k {
  display: block; font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px;
}
.chip p { font-size: 0.88rem; line-height: 1.45; color: var(--muted); }
.chip-review { border-left: 2px solid #ffc24b; }
.chip-dm { border-left: 2px solid var(--accent-2); }
.chip-call { border-left: 2px solid #ff5a6b; }

/* the engine */
.wb-engine { position: relative; display: grid; place-items: center; min-height: 180px; }
.wb-flow {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
}
.flow-dot {
  position: absolute; left: -4%; top: 50%; width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 10px var(--signal);
  animation: wb-travel 2.8s var(--ease) infinite;
}
.flow-dot.d2 { animation-delay: .9s; }
.flow-dot.d3 { animation-delay: 1.8s; }
@keyframes wb-travel {
  0%   { left: -6%;  top: 22%; opacity: 0; transform: scale(.6); }
  15%  { opacity: 1; }
  50%  { left: 46%;  top: 50%; opacity: 1; transform: scale(1); }
  72%  { left: 100%; top: 50%; opacity: 1; }
  78%  { opacity: 0; }
  100% { left: 106%; top: 76%; opacity: 0; transform: scale(.6); }
}
.wb-core {
  position: relative; z-index: 2; width: 118px; height: 118px; border-radius: 50%;
  display: grid; place-items: center; align-content: center; text-align: center; gap: 3px;
  background: radial-gradient(circle at 38% 32%, var(--panel-2), var(--bg));
  border: 1px solid rgba(103,232,255,0.4);
  box-shadow: 0 0 50px -8px rgba(103,232,255,0.45), inset 0 0 26px rgba(103,232,255,0.1);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease);
}
.wb-core.is-pulse {
  transform: scale(1.06); border-color: rgba(103,232,255,0.85);
  box-shadow: 0 0 70px -4px rgba(103,232,255,0.7), inset 0 0 34px rgba(103,232,255,0.22);
}
.wb-core-ring {
  position: absolute; inset: -9px; border-radius: 50%;
  border: 1px dashed rgba(103,232,255,0.35);
  animation: spin-cw 16s linear infinite;
}
.wb-core-label {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; color: var(--signal);
}
.wb-core-sub {
  font-family: var(--font-mono); font-size: 0.52rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-2);
}

/* produced assets */
.asset {
  position: relative; border-radius: 11px; padding: 14px 16px;
  border: 1px solid var(--line); background: var(--panel);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.asset:hover { transform: translateX(3px); border-color: rgba(121,242,200,0.5);
  box-shadow: 0 16px 36px -22px rgba(121,242,200,0.5); }
.asset.is-live {
  border-color: rgba(121,242,200,0.8);
  box-shadow: 0 0 0 1px rgba(121,242,200,0.35), 0 18px 40px -20px rgba(121,242,200,0.7);
  transform: translateX(4px) scale(1.015);
}
.asset.is-live .asset-tag { color: #9bffe0; }
.asset-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint); margin-bottom: 9px;
}
.asset-testimonial { border-left: 2px solid var(--mint);
  background: linear-gradient(120deg, rgba(121,242,200,0.06), var(--panel) 60%); }
.asset-quote {
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  color: var(--text); line-height: 1.2; letter-spacing: -0.01em;
}
.asset-foot {
  display: flex; align-items: center; gap: 9px; margin-top: 10px;
  font-size: 0.7rem; color: var(--muted-2);
}
.stars { color: #ffc24b; letter-spacing: 1px; font-size: 0.78rem; }
.asset-line { font-size: 0.84rem; line-height: 1.5; color: var(--muted); }
.asset-line + .asset-line { margin-top: 5px; }
.asset-line b { color: var(--text); font-weight: 600; }
.asset-line em { color: var(--signal); font-style: normal; font-weight: 600; }
.asset-approve {
  display: inline-block; margin-top: 10px; font-size: 0.68rem; color: var(--mint);
  font-family: var(--font-mono); letter-spacing: 0.04em;
}

@media (max-width: 880px) {
  .wb-body { grid-template-columns: 1fr; gap: 20px; }
  .wb-engine { min-height: 96px; }
  .wb-flow { display: none; }
  .wb-engine::after {
    content: "↓"; position: absolute; bottom: -4px; color: var(--signal);
    font-size: 1.2rem; opacity: 0.7;
  }
  .wb-col-label.out { margin-top: 4px; }
}

/* ── lanes ───────────────────────────────────────────────── */
.lane-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.lane-card {
  position: relative; background:
    linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 32px; overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease),
              box-shadow .45s var(--ease);
}
.lane-card::after {
  content: ""; position: absolute; top: -40%; right: -30%;
  width: 60%; height: 80%; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,127,255,0.16), transparent 70%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.lane-card:hover {
  transform: translateY(-6px); border-color: rgba(61,214,245,0.5);
  box-shadow: 0 24px 50px -28px rgba(43,127,255,0.55);
}
.lane-card:hover::after { opacity: 1; }
.lane-card header { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.lane-code {
  align-self: flex-start; font-size: 0.72rem; color: var(--accent);
  padding: 5px 10px; border: 1px solid var(--line); border-radius: 6px;
  background: rgba(61,214,245,0.04);
}
.lane-card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.42rem;
  line-height: 1.1; letter-spacing: -0.02em;
}
.lane-for {
  font-size: 0.9rem; color: var(--muted); margin-bottom: 14px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line-soft);
}
.lane-for span {
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--muted-2); margin-right: 8px;
}
.lane-body { color: var(--text); opacity: 0.9; font-size: 0.99rem; line-height: 1.6; }
.lane-payoff {
  margin-top: 18px; padding: 16px 16px 16px 18px;
  border-left: 2px solid var(--accent); border-radius: 0 8px 8px 0;
  background: linear-gradient(90deg, rgba(61,214,245,0.07), rgba(43,127,255,0.02) 80%);
  color: var(--text); opacity: 0.95; font-size: 0.95rem; line-height: 1.55;
}
.payoff-tag {
  display: block; font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 7px;
}
.lane-anchor {
  margin-top: 16px; font-size: 0.86rem; color: var(--muted); line-height: 1.5;
}
.anchor-tag {
  display: inline-block; font-size: 0.62rem; color: var(--accent);
  letter-spacing: 0.12em; padding: 3px 8px; border-radius: 5px;
  background: rgba(61,214,245,0.08); border: 1px solid rgba(61,214,245,0.2);
  margin-right: 8px; vertical-align: middle;
}

/* ── in practice ─────────────────────────────────────────── */
.practice-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.practice-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px 30px;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.practice-card:hover { border-color: rgba(61,214,245,0.45); transform: translateY(-4px); }
.practice-card header {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line-soft);
}
.practice-lane { font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.practice-card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.io { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
.io-col { display: flex; flex-direction: column; gap: 12px; }
.io-label {
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--muted-2);
}
.io-out .io-label { color: var(--accent); }
.io-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.io-col li {
  position: relative; padding-left: 16px; font-size: 0.9rem;
  line-height: 1.45; color: var(--muted);
}
.io-in li::before { content: "·"; position: absolute; left: 3px; color: var(--muted-2);
  font-weight: 700; }
.io-out li { color: var(--text); opacity: 0.92; }
.io-out li::before { content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(100deg, var(--accent), var(--accent-2)); }
.io-arrow {
  align-self: center; color: var(--accent); font-size: 1.2rem; opacity: 0.7;
}

@media (max-width: 760px) {
  .practice-grid { grid-template-columns: 1fr; }
  .io { grid-template-columns: 1fr; gap: 18px; }
  .io-arrow { transform: rotate(90deg); justify-self: start; }
}

/* ── how it works ────────────────────────────────────────── */
.how-track {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px; position: relative;
}
.how-step {
  position: relative; padding: 28px 24px 30px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.how-step:hover { transform: translateY(-5px); border-color: var(--accent); }
.how-k {
  display: inline-block; font-size: 0.72rem; color: #021018;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  padding: 4px 11px; border-radius: 6px; font-weight: 600; margin-bottom: 18px;
}
.how-step h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.18rem;
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.how-step p { color: var(--muted); font-size: 0.95rem; line-height: 1.58; }

.gate {
  margin-top: 26px; display: flex; align-items: flex-start; gap: 18px;
  padding: 26px 30px; border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(43,127,255,0.08), rgba(61,214,245,0.03));
  border: 1px solid rgba(61,214,245,0.25);
}
.gate-mark {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 9px;
  display: grid; place-items: center; font-size: 1.1rem; color: #021018;
  background: linear-gradient(100deg, var(--accent), var(--accent-2)); font-weight: 700;
}
.gate p { color: var(--text); opacity: 0.92; font-size: 1.0rem; }
.gate strong { color: var(--text); font-weight: 700; }

/* ── why different ───────────────────────────────────────── */
.section-why { }
.why-inner {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(43,127,255,0.08), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(36px, 5vw, 64px);
}
.why-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 12px;
}
.why-col { padding: 26px 26px 28px; border-radius: var(--radius); }
.why-not { background: var(--panel); border: 1px solid var(--line-soft); }
.why-yes {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid rgba(61,214,245,0.35);
}
.why-tag {
  display: inline-block; font-size: 0.68rem; color: var(--muted-2);
  padding: 5px 11px; border-radius: 6px; border: 1px solid var(--line);
  margin-bottom: 20px;
}
.why-tag.accent { color: var(--accent); border-color: rgba(61,214,245,0.4); background: rgba(61,214,245,0.05); }
.why-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.why-col li {
  position: relative; padding-left: 26px; color: var(--text); opacity: 0.9;
  font-size: 1.0rem; line-height: 1.5;
}
.why-not li::before {
  content: "×"; position: absolute; left: 0; top: -1px;
  color: var(--muted-2); font-size: 1.1rem; font-weight: 600;
}
.why-yes li::before {
  content: "→"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 600;
}

/* ── faq ─────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .35s var(--ease);
}
.faq-item[open] { border-color: rgba(61,214,245,0.4); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 22px 26px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  letter-spacing: -0.01em; transition: color .3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--accent);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.faq-plus::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-plus::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-item p {
  padding: 0 26px 24px; color: var(--muted); font-size: 1.0rem;
  line-height: 1.65; max-width: 75ch;
}

/* ── final book / cta ────────────────────────────────────── */
.section-book { padding-top: clamp(40px, 6vw, 80px); }
.book-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(70% 130% at 50% 0%, rgba(43,127,255,0.16), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--bg-2));
  border: 1px solid rgba(61,214,245,0.3); border-radius: 22px;
  padding: clamp(44px, 6vw, 78px) var(--gut); text-align: center;
}
.book-card::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 48px 48px; opacity: 0.25;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%);
}
.book-card > * { position: relative; z-index: 1; }
.book-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.05;
  letter-spacing: -0.02em; margin: 16px 0 0;
}
.book-lead {
  margin: 22px auto 0; max-width: 56ch; color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}
.book-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.book-note { margin-top: 20px; font-size: 0.84rem; color: var(--muted-2); }

/* ── footer ──────────────────────────────────────────────── */
.site-footer {
  max-width: var(--maxw); margin: 0 auto;
  padding: 48px var(--gut) 60px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-word { font-size: 1.1rem; }
.footer-line { color: var(--muted); font-size: 0.92rem; flex: 1 1 280px; }
.footer-meta { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.footer-meta a { color: var(--accent); font-family: var(--font-mono); font-size: 0.85rem; }
.footer-meta a:hover { text-decoration: underline; }
.footer-copy { color: var(--muted-2); font-family: var(--font-mono); font-size: 0.78rem; }

/* ── reveal animation (only hide when JS is present) ─────── */
.js .reveal { opacity: 0; transform: translateY(26px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal[data-delay="1"].in { transition-delay: .08s; }
.reveal[data-delay="2"].in { transition-delay: .16s; }
.reveal[data-delay="3"].in { transition-delay: .24s; }
.reveal[data-delay="4"].in { transition-delay: .32s; }

/* ── responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 8px; }
  .orbit-stage { width: min(340px, 70vw); }
  .spine { grid-template-columns: 1fr; }
  .spine-arrow { transform: rotate(90deg); padding: 2px 0; }
}
@media (max-width: 820px) {
  .site-nav { display: none; }
  .why-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-cta { display: none; }
  .hero-cta .btn, .book-cta .btn { width: 100%; justify-content: center; }
  .footer-meta { margin-left: 0; width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
