/* ─── Reset + base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #0a0a0b;
  color: #f5f5f6;
  font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
em, i { font-style: normal; font-weight: 600; }

:root {
  --bg: #0a0a0b;
  --bg-2: #0f0f12;
  --bg-card: #131318;
  --line: rgba(255,255,255,0.07);
  --line-2: rgba(255,255,255,0.14);
  --fg: #f5f5f6;
  --fg-dim: #8a8a93;
  --fg-dimmer: #56565d;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --accent: linear-gradient(120deg, #6080ff 0%, #b264ff 50%, #ff6fbf 100%);
  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 56px);
  --r-card: 16px;
}

::selection { background: rgba(178,100,255,0.4); color: #fff; }

/* ─── Typography ───────────────────────────────────────── */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; }
h1 { font-size: clamp(40px, 6vw, 96px); font-weight: 800; letter-spacing: -0.045em; }
h2 { font-size: clamp(26px, 3.4vw, 48px); letter-spacing: -0.035em; }
h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; }
h4 { font-size: 18px; letter-spacing: -0.015em; }
p { margin: 0; }
.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-dim);
}
.dim { color: var(--fg-dim); }

/* ─── Layout ───────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(96px, 14vw, 180px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.divider { height: 1px; background: var(--line); }

/* ─── Section head — unified across whole page ──────────── */
.s-head { margin-bottom: clamp(48px, 7vw, 96px); }
.s-head .label { display: block; margin-bottom: 28px; }
.s-head h2 { max-width: 18ch; }
.s-head .lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--fg-dim);
  margin-top: 24px;
  max-width: 60ch;
  line-height: 1.5;
}

/* ─── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 600;
  transition: transform 0.15s ease, background 0.2s, border-color 0.2s, color 0.2s;
  border: none;
  font-family: inherit;
}
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #e2e2e6; }
.btn-ghost {
  background: transparent; color: var(--fg);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); }

/* ─── Nav ──────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 16px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,10,11,0.65);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(10,10,11,0.85); }
.nav-logo {
  display: flex; align-items: center;
}
.nav-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.nav-logo-img--footer { height: 32px; }
.nav-end {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--fg);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 13.5px; color: var(--fg-dim); font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  padding: 8px 16px; border-radius: 999px;
  background: #fff; color: #000;
  font-size: 13px; font-weight: 600;
}
.nav-links a.active { color: var(--fg); }
.nav-links a { position: relative; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--fg);
}
@media (max-width: 760px) {
  .nav-end { gap: 12px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 16px;
    background: rgba(10,10,11,0.95);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a.active::after { display: none; }
  .nav-cta {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 160px var(--pad) 80px;
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 48px;
  align-self: flex-start;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #6080ff, #ff6fbf);
  box-shadow: 0 0 12px rgba(178,100,255,0.7);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }

.hero h1 {
  margin-bottom: 32px;
  font-size: clamp(32px, 4.2vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1.08;
  font-feature-settings: "ss01";
}
.hero h1 .gradient {
  background: var(--accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 400; color: #9b9ba3;
  max-width: 24ch; line-height: 1.4;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-line {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--fg-dim);
  max-width: 62ch;
  line-height: 1.7;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.hero-tagline {
  font-size: clamp(14px, 1.2vw, 17px);
  color: var(--fg-dimmer);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: 48px;
  letter-spacing: -0.005em;
  font-style: italic;
}
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 56px; }

.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 48px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dimmer);
  transition: color 0.2s;
}
.hero-scroll:hover { color: var(--fg-dim); }
.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(178,100,255,0.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.85); }
  50% { opacity: 1; transform: scaleY(1); }
}

.gradient-text {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  max-width: 880px;
}
.hero-meta .cell {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--fg-dim); letter-spacing: 0.08em;
  display: flex; flex-direction: column; gap: 6px;
}
.hero-meta .cell .k { color: var(--fg-dimmer); letter-spacing: 0.16em; }
.hero-meta .cell .v { color: var(--fg); font-size: 13px; letter-spacing: 0.04em; }
@media (max-width: 760px) {
  .hero-meta { grid-template-columns: 1fr 1fr; }
}

/* Hero ambient glow — single radial, no blob illustration */
.hero-glow {
  position: absolute;
  /* full-bleed WITHOUT transform — the heroIn entrance animation animates `transform`,
     which would override translateX(-50%) and shove this box to the 50% mark (seam!). */
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.hero-glow::before {
  content: '';
  position: absolute;
  top: 25%;
  right: -10%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(178,100,255,0.12) 0%, rgba(96,128,255,0.055) 35%, transparent 65%);
  filter: blur(40px);
}
.hero-glow::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,111,191,0.055), transparent 60%);
  filter: blur(50px);
}

/* ─── Thesis strip ─────────────────────────────────────── */
.thesis {
  padding: clamp(80px, 12vw, 140px) var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.thesis .wrap { max-width: var(--maxw); margin: 0 auto; }
.thesis h2 {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 600;
  max-width: 22ch;
  line-height: 1.12;
}
.thesis h2 .gradient {
  background: var(--accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 700;
}
.thesis .label { margin-bottom: 28px; }
.thesis--home {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(96,128,255,0.08), transparent 70%);
}
/* technical line-grid — muted, radially faded, slowly drifting */
.thesis--home::before {
  content: '';
  position: absolute; inset: -2px;
  pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask: radial-gradient(ellipse 68% 72% at 50% 50%, #000 28%, transparent 78%);
  mask: radial-gradient(ellipse 68% 72% at 50% 50%, #000 28%, transparent 78%);
  animation: thesisGridDrift 26s linear infinite;
}
/* diagonal light beam that sweeps across — data-flow / scan feel */
.thesis--home::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  background: linear-gradient(100deg,
    transparent 32%,
    rgba(120,140,255,0.07) 47%,
    rgba(160,120,255,0.06) 53%,
    transparent 68%);
  background-size: 240% 100%;
  animation: thesisSweep 11s ease-in-out infinite;
}
@keyframes thesisGridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 56px 56px, 56px 56px; }
}
@keyframes thesisSweep {
  0%   { background-position: 130% 0; }
  100% { background-position: -130% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .thesis--home::before, .thesis--home::after { animation: none; }
}
.thesis--home .wrap { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.thesis--home .label { margin-bottom: 20px; }
.thesis--home h2 { max-width: 18ch; text-align: center; }

/* ─── Generic card ─────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.card:hover { border-color: var(--line-2); background: #15151b; }

/* ─── Problem — typographic + per-row visualization ─────── */
.problem-list {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.problem-row {
  display: grid;
  grid-template-columns: 64px 1fr 1.2fr 220px;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.problem-row .n {
  font-family: var(--mono); font-size: 12px;
  color: var(--fg-dimmer); letter-spacing: 0.12em;
  align-self: start;
  padding-top: 6px;
}
.problem-row .ttl {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600; letter-spacing: -0.02em;
  line-height: 1.15;
}
.problem-row .body {
  color: var(--fg-dim);
  font-size: 15.5px; line-height: 1.55;
  max-width: 60ch;
}
.problem-row .viz {
  height: 120px;
  display: flex; align-items: center; justify-content: flex-end;
  position: relative;
}
.problem-row .viz svg {
  width: 100%; max-width: 220px; height: 100%;
  overflow: visible;
}
@media (max-width: 1000px) {
  .problem-row {
    grid-template-columns: 64px 1fr;
    gap: 16px 32px;
  }
  .problem-row .ttl { grid-column: 2; }
  .problem-row .body { grid-column: 1 / -1; }
  .problem-row .viz {
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 8px;
  }
  .problem-row .viz svg { max-width: 280px; }
}
@media (max-width: 800px) {
  .problem-row { grid-template-columns: 1fr; gap: 8px; padding: 32px 0; }
  .problem-row .ttl { grid-column: 1; }
  .problem-row .body { font-size: 15px; }
  .problem-row .viz {
    grid-column: 1;
    justify-content: flex-start;
    margin-top: 16px;
  }
  .problem-row .viz svg { max-width: 100%; }
}

/* ─── Why now — stat blocks with built-in viz ──────────── */
.stat-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-block .stat {
  padding: clamp(40px, 6vw, 72px) clamp(20px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 20px;
  border-right: 1px solid var(--line);
}
.stat-block .stat:last-child { border-right: none; }
.stat-num {
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 800; letter-spacing: -0.055em;
  line-height: 0.92;
  color: #fff;
}
.stat-num .small { font-size: 0.4em; vertical-align: super; opacity: 0.7; font-weight: 700; letter-spacing: -0.02em; }
.stat-label {
  font-size: 17px; line-height: 1.4;
  color: var(--fg);
  max-width: 38ch;
  font-weight: 500;
}
.stat-viz {
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  position: relative;
  height: 200px;
}
.stat-viz svg {
  width: 100%; height: 100%;
  overflow: visible;
}
.stat-meta {
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-dimmer); letter-spacing: 0.16em;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) {
  .stat-block { grid-template-columns: 1fr; }
  .stat-block .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat-block .stat:last-child { border-bottom: none; }
}

/* ─── Architecture — pure text, two-column ──────────────── */
.arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg-card);
}
.arch-col {
  padding: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 56px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.arch-col:last-child { border-right: none; }
.arch-viz {
  width: 100%;
  max-width: 360px;
  margin-bottom: 36px;
}
.arch-viz svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.arch-num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 32px;
}
.arch-h {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 14ch;
}
.arch-body {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--fg-dim);
  line-height: 1.55;
  max-width: 48ch;
  margin-bottom: 36px;
}
.arch-body strong { color: var(--fg); font-weight: 600; }
.arch-keys {
  margin-top: auto;
  display: flex; flex-wrap: wrap;
  gap: 8px 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-dimmer);
}
.arch-keys span:not(:last-child)::after {
  content: '·'; margin-left: 14px; color: var(--fg-dimmer);
}
.arch-bridge {
  margin-top: 16px;
  padding: 26px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-card);
  display: flex; align-items: center; gap: 20px;
}
.arch-bridge .glyph {
  font-size: 28px;
  color: var(--fg-dim);
  font-weight: 300;
  line-height: 1;
}
.arch-bridge p {
  font-size: 15.5px;
  color: var(--fg);
  line-height: 1.5;
  max-width: 76ch;
}
.arch-bridge p span { color: var(--fg-dim); }
@media (max-width: 900px) {
  .arch-grid { grid-template-columns: 1fr; }
  .arch-col { border-right: none; border-bottom: 1px solid var(--line); }
  .arch-col:last-child { border-bottom: none; }
  .arch-bridge { flex-direction: column; align-items: flex-start; gap: 12px; }
}
.loops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 1100px) { .loops { grid-template-columns: 1fr; } }

.loop-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-card);
  padding: 36px 32px 40px;
  position: relative;
  overflow: hidden;
}
.loop-head { display: flex; align-items: baseline; justify-content: space-between; }
.loop-head .label { color: var(--fg-dim); }
.loop-head .kind {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-dim);
}
.loop-card .loop-name {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-top: 14px;
  line-height: 1.15;
}
.loop-card .loop-summary {
  font-size: 14px;
  color: var(--fg-dim);
  max-width: 38ch;
  line-height: 1.5;
  margin-top: 10px;
}

.loop-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  margin: 36px auto 0;
}
.loop-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.loop-center {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 26%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
  z-index: 1;
}
.loop-center .ctr-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.loop-center .ctr-role {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-top: 4px;
}

.loop-station {
  position: absolute;
  width: 34%;
  padding: 14px 14px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  transform: translate(-50%, -50%);
  transition: transform 0.25s cubic-bezier(.2,.7,.3,1), border-color 0.25s ease, background 0.25s;
  z-index: 2;
}
.loop-station:hover {
  border-color: var(--line-2);
  background: #161618;
  transform: translate(-50%, -50%) translateY(-2px);
}
.loop-station .row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.loop-station .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
}
.loop-station .nl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg-dim);
}
.loop-station h4 {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 4px;
}
.loop-station p {
  font-size: 11.5px;
  color: var(--fg-dim);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 640px) {
  .loop-stage { max-width: 360px; }
  .loop-station { width: 40%; padding: 11px 11px 10px; }
  .loop-station h4 { font-size: 12.5px; }
  .loop-station p { font-size: 11px; }
  .loop-center { width: 28%; }
  .loop-center .ctr-name { font-size: 13px; }
}

/* ─── Product modules ──────────────────────────────────── */
.modules { display: flex; flex-direction: column; }
.module {
  border-top: 1px solid var(--line);
  padding: clamp(72px, 10vw, 120px) 0;
}
.modules .module:last-child { border-bottom: 1px solid var(--line); }
.module-row {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.module-row .col-l { position: sticky; top: 100px; }
.module-num {
  font-family: var(--mono); font-size: 12px;
  color: var(--fg-dimmer); letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.module h3 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700; letter-spacing: -0.035em;
  margin-bottom: 20px;
  max-width: 14ch;
}
.module .lede {
  font-size: 17px; color: var(--fg-dim); line-height: 1.5;
  max-width: 42ch; margin-bottom: 28px;
}
.module .tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.module .tags .tag {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--fg-dim);
}
.module-vis {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-card);
  padding: 24px;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) {
  .module-row { grid-template-columns: 1fr; }
  .module-row .col-l { position: static; }
}

/* Mock UI rows used inside modules — single style */
.mock-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-dim); letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.mock-head .state { color: #fff; letter-spacing: 0.1em; }
.mock-row {
  display: flex; gap: 10px; align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
  font-size: 12.5px;
  margin-bottom: 6px;
  font-family: var(--mono);
}
.mock-row .id { color: var(--fg-dimmer); font-size: 11px; }
.mock-row .lbl { flex: 1; color: var(--fg); font-family: 'Manrope', sans-serif; }
.mock-row .pill {
  font-size: 10px; padding: 2px 8px; border-radius: 4px;
  background: rgba(255,255,255,0.08); color: var(--fg-dim);
  letter-spacing: 0.08em;
}
.mock-row .pill.good { color: #fff; background: rgba(255,255,255,0.12); }

/* Metric rows */
.metric-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.metric-row:last-child { border-bottom: none; }
.metric-row .delta { font-family: var(--mono); font-weight: 600; }
.metric-row .delta.up { color: #fff; }

/* Run cards inside fine-tune mock */
.run {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 16px; background: rgba(255,255,255,0.02);
  margin-bottom: 8px;
}
.run-head { display: flex; justify-content: space-between; align-items: baseline; }
.run-name { font-weight: 600; font-size: 14px; }
.run-meta { font-size: 11px; color: var(--fg-dim); font-family: var(--mono); margin-top: 2px; letter-spacing: 0.04em; }
.run-state { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; }
.run-bar { height: 4px; background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden; margin-top: 12px; }
.run-bar > div { height: 100%; background: linear-gradient(90deg, #6080ff, #b264ff); }
.run-foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--fg-dim); font-family: var(--mono); margin-top: 8px; letter-spacing: 0.04em; }

/* Router rows */
.r-row {
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.r-row .top { display: flex; justify-content: space-between; align-items: baseline; }
.r-row .ttl { font-size: 14px; font-weight: 500; }
.r-row .arr { font-size: 11.5px; color: var(--fg-dim); font-family: var(--mono); margin-top: 2px; letter-spacing: 0.04em; }
.r-row .pct { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.r-row .bar { height: 3px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.r-row .bar > div { height: 100%; background: rgba(255,255,255,0.6); }

/* ─── Traction ─────────────────────────────────────────── */
.tract-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  margin-bottom: 32px;
}
.tract-stats .cell {
  background: var(--bg);
  padding: clamp(36px, 5vw, 60px) clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 20px;
  min-height: 200px;
}
.tract-stats .num {
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 800; letter-spacing: -0.05em; line-height: 0.9;
}
.tract-stats .num .small { font-size: 0.55em; opacity: 0.65; vertical-align: super; font-weight: 700; }
.tract-stats .lbl { color: var(--fg-dim); font-size: 14.5px; line-height: 1.45; max-width: 28ch; }
@media (max-width: 760px) {
  .tract-stats { grid-template-columns: 1fr; }
}

.chip-grid {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-dim);
  background: var(--bg-card);
  transition: color 0.2s, border-color 0.2s;
}
.chip:hover { color: var(--fg); border-color: var(--line-2); }
.chip--logo {
  padding: 8px 16px;
  display: flex; align-items: center; justify-content: center;
}
.chip--logo img {
  height: 32px; width: auto; max-width: 110px;
  object-fit: contain;
  opacity: 0.9;
  display: block;
}
.chip--logo:hover img { opacity: 1; }

.logo-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.logo-cell {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 8px;
  display: flex; align-items: center; justify-content: center;
  min-height: 52px;
}
.logo-cell img {
  height: 28px; width: auto; max-width: 80px;
  object-fit: contain;
  opacity: 0.9;
  display: block;
}
.logo-cell:hover { border-color: var(--line-2); }
.logo-cell:hover img { opacity: 1; }

.tract-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 16px;
}
@media (max-width: 800px) { .tract-grid { grid-template-columns: 1fr; } }
.tract-grid .card .label { margin-bottom: 16px; display: block; }
.tract-grid .card h4 { margin-bottom: 20px; font-size: 19px; }

/* CMU initiative — refined typographic */
.cmu {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cmu .label { margin-bottom: 16px; display: block; }
.cmu h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 18px; max-width: 14ch; }
.cmu p { color: var(--fg-dim); font-size: 16px; line-height: 1.5; max-width: 44ch; margin-bottom: 28px; }
.cmu .visual {
  border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 40px;
  background:
    radial-gradient(800px 200px at 50% -50%, rgba(178,100,255,0.10), transparent 60%),
    var(--bg-card);
  position: relative;
  aspect-ratio: 16 / 11;
  display: flex; flex-direction: column; justify-content: space-between;
}
.cmu .visual .marker {
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-dim); letter-spacing: 0.16em; text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.cmu .visual .marker .x { color: var(--fg-dimmer); }
.cmu .visual .stitch {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.05;
}
.cmu .visual .stitch .plus { color: var(--fg-dimmer); margin: 0 0.4em; font-weight: 400; }
.cmu .visual .marker-logo {
  height: 16px; width: auto; object-fit: contain;
  opacity: 0.8;
}
.cmu .visual .stitch-logo {
  display: block;
  height: 64px; width: auto; max-width: 160px;
  object-fit: contain;
  opacity: 0.92;
  margin-top: 16px;
}
@media (max-width: 800px) {
  .cmu { grid-template-columns: 1fr; gap: 32px; }
}

/* ─── Team ─────────────────────────────────────────────── */
.team-list {
  border-top: 1px solid var(--line);
}
.team-row {
  display: grid;
  grid-template-columns: 60px 220px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.team-row .n {
  font-family: var(--mono); font-size: 12px;
  color: var(--fg-dimmer); letter-spacing: 0.12em;
}
.team-row .name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.team-row .role { font-family: var(--mono); font-size: 11.5px; color: var(--fg-dim); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px; }
.team-row .bio { color: var(--fg-dim); font-size: 15px; line-height: 1.55; max-width: 54ch; }
@media (max-width: 800px) {
  .team-row { grid-template-columns: 1fr; gap: 6px; }
}

.advisor-row {
  display: grid; grid-template-columns: 60px 220px 1fr; gap: 32px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.advisor-row .n { font-family: var(--mono); font-size: 12px; color: var(--fg-dimmer); letter-spacing: 0.12em; }
.advisor-row .name { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.advisor-row .role { font-family: var(--mono); font-size: 11px; color: var(--fg-dim); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }
.advisor-row .bio { color: var(--fg-dim); font-size: 14px; line-height: 1.5; max-width: 54ch; }
@media (max-width: 800px) {
  .advisor-row { grid-template-columns: 1fr; gap: 6px; }
}

.team-foot {
  margin-top: 56px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-card);
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.team-foot .label { display: block; margin-bottom: 10px; }
.team-foot h3 { font-size: 24px; margin-bottom: 6px; }
.team-foot p { color: var(--fg-dim); font-size: 14.5px; }

/* ─── Team — index-style layout ─────────────────────────── */

/* stat-block wrapper with border */
.tm-stat-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  margin-bottom: 80px;
}

/* module section with top divider */
.tm-module {
  border-top: 1px solid var(--line);
  padding: clamp(64px, 9vw, 112px) 0;
}

/* Leader cards inside module-vis */
.tm-leader-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-content: start;
}
@media (max-width: 600px) { .tm-leader-grid { grid-template-columns: repeat(2, 1fr); } }

.tm-lc {
  display: block;
  color: inherit;
  transition: opacity 0.2s;
}
.tm-lc:hover { opacity: 0.75; }
.tm-lc-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
  margin-bottom: 12px;
}
.tm-lc-photo img { width: 100%; height: 100%; object-fit: cover; }
.tm-lc-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.tm-lc-role {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dimmer);
}

/* Fellows list inside module-vis */
.tm-fellow-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tm-fr {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  transition: background 0.15s;
}
.tm-fr:first-child { border-top: 1px solid var(--line); }
.tm-fr:hover { background: rgba(255,255,255,0.02); }
.tm-fr-photo {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-2);
  flex-shrink: 0;
}
.tm-fr-photo img { width: 100%; height: 100%; object-fit: cover; }
.tm-fr-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tm-fr-name {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tm-fr-role {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dimmer);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Advisor rows — override team-row for link usage */
a.team-row { color: inherit; transition: background 0.15s; }
a.team-row:hover { background: rgba(255,255,255,0.02); }
.tm-advisor-row .name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.tm-advisor-row .role { font-family: var(--mono); font-size: 10.5px; color: var(--fg-dim); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }
.tm-advisor-row .name + .role { margin-top: 6px; }
.tm-advisor-row { grid-template-columns: 80px 220px 1fr; align-items: center; }
.tm-advisor-photo {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-2);
  flex-shrink: 0;
}
.tm-advisor-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Team — legacy card layout (tm-*) ──────────────────── */
.tm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.tm-stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.tm-stat:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tm-num {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #6080ff 0%, #b264ff 50%, #ff6fbf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tm-lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dimmer);
  margin-top: 8px;
}

.tm-logo-strip {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  margin-bottom: 72px;
  padding: 32px 0;
}
.tm-logo-track {
  display: flex;
  gap: 72px;
  align-items: center;
  animation: tm-scroll 56s linear infinite;
  width: max-content;
}
.tm-logo-track img {
  height: 72px;
  max-width: 260px;
  width: auto;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.tm-logo-track img:hover { opacity: 0.85; transform: scale(1.04); }
@keyframes tm-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tm-subsec { margin-bottom: 32px; }
.tm-subsec .label { display: block; margin-bottom: 12px; }
.tm-subsec h3 { margin-bottom: 8px; }
.tm-subsec > p { color: var(--fg-dim); font-size: 15px; max-width: 56ch; line-height: 1.55; }

.tm-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 20px;
  margin-bottom: 72px;
}
.tm-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 20px 24px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: block;
  color: inherit;
}
.tm-card:hover {
  border-color: rgba(96, 128, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(96, 128, 255, 0.1);
}
.tm-photo {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto 18px;
  background: var(--bg-2);
}
.tm-photo img { width: 100%; height: 100%; object-fit: cover; }
.tm-name { font-size: 15px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 5px; }
.tm-role { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dimmer); }

.tm-fellows {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 16px;
  margin-bottom: 72px;
}
.tm-fellow {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 20px 14px 18px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
  color: inherit;
}
.tm-fellow:hover { border-color: rgba(178, 100, 255, 0.35); transform: translateY(-2px); }
.tm-f-photo {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto 14px;
  background: var(--bg-2);
}
.tm-f-photo img { width: 100%; height: 100%; object-fit: cover; }
.tm-f-name { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 5px; }
.tm-f-role { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dimmer); line-height: 1.4; }

.tm-advisors { display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
.tm-advisor {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
  color: inherit;
}
.tm-advisor:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tm-av-photo {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-2);
}
.tm-av-photo img { width: 100%; height: 100%; object-fit: cover; }
.tm-av-info h4 { font-size: 18px; margin-bottom: 6px; letter-spacing: -0.015em; }
.tm-av-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 12px;
  line-height: 1.5;
}
.tm-av-bio { color: var(--fg-dim); font-size: 14px; line-height: 1.6; }

.tm-quote {
  display: flex;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 40px;
  margin-bottom: 56px;
  overflow: hidden;
}
.tm-quote img { width: 200px; border-radius: 10px; flex-shrink: 0; object-fit: cover; }
.tm-quote-text blockquote {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.45;
  font-style: italic;
  margin-bottom: 16px;
  color: var(--fg);
}
.tm-q-attr { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dimmer); }

@media (max-width: 800px) {
  .tm-stats { grid-template-columns: repeat(2, 1fr); }
  .tm-cards { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .tm-fellows { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .tm-advisor { flex-direction: column; gap: 16px; }
  .tm-av-photo { width: 80px; height: 80px; }
  .tm-quote { flex-direction: column; }
  .tm-quote img { width: 100%; max-width: 280px; }
}
@media (max-width: 480px) {
  .tm-cards { grid-template-columns: repeat(2, 1fr); }
  .tm-fellows { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Pricing ──────────────────────────────────────────── */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 800px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-card);
  padding: 36px;
  display: flex; flex-direction: column;
  transition: border-color 0.2s;
}
.price-card:hover { border-color: var(--line-2); }
.price-card .label { margin-bottom: 24px; display: block; }
.price-card h3 { font-size: 26px; margin-bottom: 10px; }
.price-card .desc { color: var(--fg-dim); font-size: 14.5px; line-height: 1.5; margin-bottom: 28px; max-width: 36ch; }
.price-card .features {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--line); padding-top: 18px;
}
.price-card .features li {
  padding: 9px 0; font-size: 13.5px;
  color: var(--fg); display: flex; align-items: center; gap: 10px;
}
.price-card .features li::before {
  content: ''; width: 4px; height: 4px;
  background: var(--fg-dimmer); border-radius: 50%; flex-shrink: 0;
}

.price-foot {
  margin-top: 28px;
  padding: 24px; border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-card);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.price-foot .copy { font-size: 16px; max-width: 62ch; }

/* ─── Book a Demo Modal ─────────────────────────────────── */
.demo-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,11,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--pad);
  animation: fadeIn 0.2s ease both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.demo-modal {
  position: relative;
  width: 100%; max-width: 520px;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 40px;
  animation: slideUp 0.25s cubic-bezier(.16,1,.3,1) both;
}
@keyframes slideUp { from { opacity:0; transform: translateY(24px); } to { opacity:1; transform:none; } }

.demo-close {
  position: absolute; top: 18px; right: 20px;
  background: none; border: none; color: var(--fg-dim);
  font-size: 16px; cursor: pointer; padding: 6px;
  line-height: 1; transition: color 0.15s;
}
.demo-close:hover { color: var(--fg); }

.demo-head { margin-bottom: 28px; }
.demo-head .label { display: block; margin-bottom: 14px; }
.demo-head h3 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 10px; }
.demo-head p { color: var(--fg-dim); font-size: 14.5px; line-height: 1.55; }

.demo-form { display: flex; flex-direction: column; gap: 18px; }
.demo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .demo-row { grid-template-columns: 1fr; } }

.demo-field { display: flex; flex-direction: column; gap: 7px; }
.demo-field label {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-dim);
}
.demo-opt { text-transform: none; letter-spacing: 0; color: var(--fg-dimmer); font-family: inherit; }

.demo-field input,
.demo-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--fg);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.demo-field input::placeholder,
.demo-field textarea::placeholder { color: var(--fg-dimmer); }
.demo-field input:focus,
.demo-field textarea:focus { border-color: rgba(178,100,255,0.5); }

.demo-submit { width: 100%; justify-content: center; margin-top: 4px; }

.demo-sent {
  text-align: center;
  padding: 24px 0;
}
.demo-sent-check {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(178,100,255,0.15);
  border: 1px solid rgba(178,100,255,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin: 0 auto 20px;
  color: #b264ff;
}
.demo-sent h3 { font-size: 22px; margin-bottom: 10px; }
.demo-sent p { color: var(--fg-dim); font-size: 14.5px; line-height: 1.55; max-width: 32ch; margin: 0 auto; }

/* ─── CTA ──────────────────────────────────────────────── */
.cta {
  padding: clamp(100px, 14vw, 180px) var(--pad);
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
}
.cta-glow {
  position: absolute;
  left: 50%; top: 0;
  width: 1100px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(178,100,255,0.15), rgba(96,128,255,0.08) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.cta .wrap { position: relative; z-index: 2; }
.cta h2 {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 40px;
  max-width: 20ch;
}
.cta h2 .gradient {
  background: var(--accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta .lede {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--fg-dim);
  max-width: 56ch;
  line-height: 1.45;
  margin-bottom: 56px;
}
.cta-tile-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 56px;
}
@media (max-width: 800px) { .cta-tile-row { grid-template-columns: 1fr; } }
.cta-tile {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px;
  background: rgba(10,10,11,0.6);
  backdrop-filter: blur(10px);
}
.cta-tile .label { display: block; margin-bottom: 16px; }
.cta-tile h4 { font-size: 18px; margin-bottom: 10px; }
.cta-tile p { color: var(--fg-dim); font-size: 13.5px; line-height: 1.55; }

.contact-wrap {
  display: flex;
  align-items: flex-start;
  max-width: 100%;
}
.contact-row {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  max-width: 100%;
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 8px 8px 8px 22px;
  background: rgba(10,10,11,0.7);
  backdrop-filter: blur(10px);
}
.contact-row .k {
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-dim); letter-spacing: 0.14em;
  flex-shrink: 0;
}
.contact-row .v {
  font-weight: 600; font-size: 15px;
  min-width: 0;
  word-break: break-all;
}
@media (max-width: 640px) {
  .contact-wrap { width: 100%; }
  .contact-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--r-card);
    padding: 16px;
    gap: 12px;
  }
  .contact-row .k { margin-bottom: -4px; }
  .contact-row .v { font-size: 14px; word-break: break-word; }
  .contact-row .btn { width: 100%; justify-content: center; }
}

/* ─── Footer ───────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px var(--pad) 40px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  max-width: var(--maxw); margin: 0 auto;
}
@media (max-width: 640px) { .footer { grid-template-columns: 1fr 1fr; } }
.footer .ftr-brand .nav-logo { margin-bottom: 14px; }
.footer .ftr-brand p { color: var(--fg-dim); font-size: 13px; line-height: 1.55; max-width: 280px; }
.footer .col h5 { font-family: var(--mono); font-size: 11px; color: var(--fg-dimmer); letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 14px; font-weight: 500; }
.footer .col a { display: block; font-size: 13.5px; color: var(--fg-dim); padding: 4px 0; }
.footer .col a:hover { color: var(--fg); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px var(--pad);
  font-family: var(--mono); font-size: 11px; color: var(--fg-dimmer);
  letter-spacing: 0.12em; text-transform: uppercase;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  max-width: var(--maxw); margin: 0 auto;
}
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: var(--fg-dim); }
.legal-page { padding-top: 150px; padding-bottom: 100px; max-width: 920px; }
.legal-eyebrow { font-family: var(--mono); color: var(--fg-dimmer); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.legal-page h1 { font-size: clamp(42px, 7vw, 88px); line-height: .95; margin: 28px 0 30px; }
.legal-intro { max-width: 720px; color: var(--fg-dim); font-size: 18px; line-height: 1.7; margin-bottom: 64px; }
.legal-content { border-top: 1px solid var(--line); }
.legal-content section { border-bottom: 1px solid var(--line); padding: 34px 0; display: grid; grid-template-columns: minmax(190px, 28%) 1fr; gap: 28px; }
.legal-content h2 { font-size: 18px; margin: 0; }
.legal-content p { color: var(--fg-dim); line-height: 1.75; margin: 0; }
.legal-content a, .legal-contact a { color: var(--fg); }
.legal-contact { color: var(--fg-dim); margin-top: 32px; font-family: var(--mono); font-size: 12px; }
@media (max-width: 640px) { .legal-content section { display: block; } .legal-content h2 { margin-bottom: 16px; } .footer-legal { grid-column: 1 / -1; } }

/* ─── Hero stats + stack ────────────────────────────────── */
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  margin-bottom: 0;
  max-width: 860px;
}
.hero-stats--glass {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}
.hstat {
  padding: 20px 28px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
  flex: 1; min-width: 140px;
}
.hstat:last-child { border-right: none; }
.hstat-num {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1;
}
.hstat-num span { font-size: 0.6em; opacity: 0.6; font-weight: 700; }
.hstat-lbl {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-dim); line-height: 1.4;
}
.hstat-cmu .hstat-num {
  background: var(--accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 760px) {
  .hero-stats { flex-direction: column; }
  .hstat { border-right: none; border-bottom: 1px solid var(--line); }
  .hstat:last-child { border-bottom: none; }
}

/* Hero architecture stack */
.hero-stack {
  max-width: 860px;
}
.hstack-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-dimmer); margin-bottom: 16px;
}
.hstack-layers {
  display: flex; flex-direction: column; gap: 2px;
}
.hstack-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.hstack-app { border-color: rgba(178,100,255,0.2); background: rgba(178,100,255,0.04); }
.hstack-ops { border-color: rgba(96,128,255,0.15); background: rgba(96,128,255,0.03); }
.hstack-inc { border-color: rgba(255,111,191,0.15); background: rgba(255,111,191,0.03); }
.hstack-input { border-color: var(--line); }
.hstack-tag {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-dimmer); white-space: nowrap;
  min-width: 130px;
}
.hstack-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hstack-chip {
  font-family: var(--mono); font-size: 10px;
  padding: 3px 9px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--fg-dim); letter-spacing: 0.06em;
  background: rgba(255,255,255,0.03);
}
@media (max-width: 640px) {
  .hstack-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hstack-tag { min-width: unset; }
}

/* ─── Wrapper Extinction punch ───────────────────────────── */
.extinction-punch {
  position: relative;
  margin-top: 56px;
  padding: 32px 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background:
    radial-gradient(130% 120% at 0% 0%, rgba(96,128,255,0.07), transparent 52%),
    radial-gradient(130% 120% at 100% 100%, rgba(178,100,255,0.06), transparent 52%),
    var(--bg-card);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.ep-step {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 20px;
  padding: 13px 0;
}
/* spine linking node centres */
.ep-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 12.5px; top: 50%;
  width: 1px; height: 100%;
  background: linear-gradient(rgba(255,255,255,0.16), rgba(255,255,255,0.06));
}
.ep-node {
  position: relative; z-index: 1;
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--bg-card);
  justify-self: center;
}
.ep-node--accent {
  border: none;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(178,100,255,0.12), 0 0 18px rgba(178,100,255,0.45);
}
.ep-line {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.15;
}
.ep-dim { color: var(--fg-dim); }
.ep-accent {
  background: var(--accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ep-step--final .ep-line { font-size: clamp(20px, 2.3vw, 30px); }

/* ─── Flow stages (Model OS journey) ─────────────────────── */
.flowstages {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  margin-bottom: 56px;
}
.flowstage {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(70,150,255,0.06), transparent 60%),
    #0b0b10;
  padding: 22px 16px 16px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.flowstage-sub {
  font-size: 12.5px; color: var(--fg-dim);
  line-height: 1.45; margin-bottom: 14px;
}
.flowstage-cap {
  font-size: 17px; font-weight: 700; letter-spacing: -0.015em;
  color: #fff; margin-bottom: 4px;
}
.fs-svg { width: 100%; height: auto; display: block; margin-top: auto; }
.flowstage-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 12px; font-size: 22px; color: rgba(120,190,255,0.55);
}
@media (max-width: 920px) {
  .flowstages { grid-template-columns: 1fr; }
  .flowstage-arrow { transform: rotate(90deg); padding: 10px 0; }
}

/* viz primitives */
.fs-line { fill: none; stroke: rgba(120,175,255,0.28); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.fs-flow { fill: none; stroke: rgba(110,210,255,0.9); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 3 15; animation: fsDash 1s linear infinite; }
@keyframes fsDash { to { stroke-dashoffset: -18; } }
.fs-node { fill: rgba(90,160,255,0.06); stroke: rgba(120,190,255,0.40); stroke-width: 1; }
.fs-node-t { fill: rgba(208,230,255,0.88); font-family: var(--mono); font-size: 11.5px; }
.fs-engine { fill: rgba(70,150,255,0.07); stroke: rgba(120,195,255,0.7); stroke-width: 1.3; }
.fs-engine-cap { fill: rgba(160,210,255,0.9); font-family: var(--mono); font-size: 11px; letter-spacing: 0.3px; }
.fs-out { fill: rgba(90,200,255,0.14); stroke: rgba(100,210,255,0.6); stroke-width: 1.1; }
.fs-out-cap { fill: var(--fg-dim); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.3px; }
.fs-dot { fill: rgba(120,210,255,0.85); animation: fsPulse 1.8s ease-in-out infinite; }
@keyframes fsPulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.fs-pulse { animation: fsPulse 2.2s ease-in-out infinite; }
.fs-nn-link { stroke: rgba(120,180,255,0.18); stroke-width: 0.8; vector-effect: non-scaling-stroke; }
.fs-nn-node { fill: rgba(130,210,255,0.85); animation: fsPulse 1.6s ease-in-out infinite; }
.fs-eval { fill: rgba(120,210,255,0.85); animation: fsPulse 1.5s ease-in-out infinite; }
.fs-eval-t { fill: var(--fg-dim); font-family: var(--mono); font-size: 9.5px; }
.fs-ver { animation: fsPulse 2.6s ease-in-out infinite; }
.fs-ver-t { fill: #fff; font-family: var(--mono); font-size: 11.5px; }
.fs-router { fill: rgba(95,200,255,0.2); stroke: rgba(120,210,255,0.8); stroke-width: 1.4; animation: fsPulse 1.6s ease-in-out infinite; }
.fs-req { fill: rgba(150,200,255,0.75); animation: fsPulse 1.4s ease-in-out infinite; }
.fs-bar { fill: rgba(100,200,255,0.5); transform-box: fill-box; transform-origin: bottom; animation: fsBar 1.4s ease-in-out infinite; }
@keyframes fsBar { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
.fs-feedback { fill: none; stroke: rgba(95,200,255,0.5); stroke-width: 1.2; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; animation: fsDash 1.2s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .fs-flow, .fs-dot, .fs-pulse, .fs-nn-node, .fs-eval, .fs-ver, .fs-router, .fs-req, .fs-bar, .fs-feedback { animation: none; }
}

/* ─── Architecture viz (split-screen canvas) ─────────────── */
.archviz-wrap { margin-bottom: 56px; }
.archviz {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background:
    radial-gradient(120% 95% at 75% 85%, rgba(70,150,255,0.08), transparent 55%),
    radial-gradient(85% 85% at 27% 52%, rgba(120,90,200,0.05), transparent 60%),
    #0b0b10;
  overflow: hidden;
  height: clamp(330px, 44vw, 460px);
}
.archviz-canvas { position: absolute; inset: 0; display: block; }
.archviz-label {
  position: absolute; top: 18px; z-index: 2;
  display: flex; flex-direction: column; gap: 4px;
  align-items: center; text-align: center;
  font-weight: 800; letter-spacing: -0.015em;
  font-size: clamp(16px, 1.7vw, 20px);
  transform: translateX(-50%);
  pointer-events: none;
}
.archviz-label span {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dimmer);
}
.archviz-label--l { left: 28%; color: var(--fg-dim); }
.archviz-label--r { left: 79%; color: #fff; }
.archviz-label--r span { color: rgba(120,190,255,0.85); }

/* ─── Transform diagram (WhyNow) ─────────────────────────── */
.transform-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-card);
  padding: 40px;
  margin-bottom: 56px;
}
.transform-side { display: flex; flex-direction: column; gap: 16px; }
.ts-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-dimmer); margin-bottom: 4px;
}
.ts-items { display: flex; flex-direction: column; gap: 6px; }
.ts-item {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  border: 1px solid var(--line);
}
.ts-item--from { background: rgba(255,255,255,0.02); color: var(--fg-dim); }
.ts-item--to {
  background: rgba(178,100,255,0.07);
  border-color: rgba(178,100,255,0.2);
  color: var(--fg);
}
.transform-arrow { display: flex; align-items: center; justify-content: center; }
@media (max-width: 800px) {
  .transform-diagram {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .transform-arrow { transform: rotate(90deg); }
}

.appnow-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; margin-bottom: 48px;
}
.anstat {
  background: var(--bg);
  padding: clamp(32px, 5vw, 56px) clamp(20px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 16px;
}
.anstat-num {
  font-size: clamp(40px, 4.6vw, 60px);
  font-weight: 800; letter-spacing: -0.055em; line-height: 0.9;
}
.anstat-num .small { font-size: 0.4em; opacity: 0.6; vertical-align: super; font-weight: 700; }
.anstat-body { color: var(--fg-dim); font-size: 15px; line-height: 1.5; max-width: 32ch; }
.anstat-meta {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--fg-dimmer); letter-spacing: 0.16em;
  border-top: 1px solid var(--line); padding-top: 12px;
}
.appnow-punch {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.3;
  text-align: center;
  padding: clamp(32px, 5vw, 56px) 0;
}
@media (max-width: 760px) {
  .appnow-stats { grid-template-columns: 1fr; }
}

/* ─── Incubation 3-col (Flywheels) ───────────────────────── */
.incubation-cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-card);
  overflow: hidden;
  margin-bottom: 64px;
}
.incol {
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 16px;
}
.incol-arrow {
  display: flex; align-items: center; justify-content: center;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  padding: 0 8px;
}
.incol--mid { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.incol-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  color: var(--fg-dim);
}
.incol-head {
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.02em;
}
.incol-sub {
  font-size: 13px; color: var(--fg-dim); line-height: 1.5;
}
.incol-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.incol-tag {
  font-family: var(--mono); font-size: 10px;
  padding: 4px 9px; border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--fg-dim); letter-spacing: 0.06em;
  background: rgba(255,255,255,0.02);
}
.incol-tag--mid {
  border-color: rgba(178,100,255,0.2);
  background: rgba(178,100,255,0.06);
  color: rgba(178,100,255,0.9);
}
.incol-tag--ops {
  border-color: rgba(255,111,191,0.2);
  background: rgba(255,111,191,0.06);
  color: rgba(255,111,191,0.9);
}
@media (max-width: 900px) {
  .incubation-cols {
    grid-template-columns: 1fr;
  }
  .incol-arrow { display: none; }
  .incol--mid { border-left: none; border-right: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
}

/* Stack diagram */
.stack-section { margin-top: 16px; }
.stack-section-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-dimmer); margin-bottom: 24px;
}
.stack-diagram {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg-card);
}
.stack-layer {
  padding: 20px 28px;
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.stack-app {
  background: rgba(178,100,255,0.05);
  border-bottom: 1px solid rgba(178,100,255,0.15);
}
.stack-ops {
  background: rgba(96,128,255,0.04);
  border-bottom: 1px solid rgba(96,128,255,0.12);
}
.stack-inc {
  background: rgba(255,111,191,0.04);
  border-bottom: 1px solid rgba(255,111,191,0.12);
}
.stack-input { background: rgba(255,255,255,0.01); }
.stack-connector { padding: 0 28px; }
.sl-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-dimmer); white-space: nowrap;
  min-width: 160px;
}
.sl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sl-chip {
  font-family: var(--mono); font-size: 10.5px;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--fg-dim); letter-spacing: 0.05em;
  background: rgba(255,255,255,0.02);
}
@media (max-width: 640px) {
  .stack-layer { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sl-label { min-width: unset; }
}

/* ─── Product Loop section ───────────────────────────────── */
.loop-cols {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-card);
  overflow: hidden;
  margin-bottom: 48px;
}
.loop-col {
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.loop-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 12px;
  color: var(--fg-dimmer);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 20px; font-weight: 300;
}
.loop-num {
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
}
.loop-tags { display: flex; flex-direction: column; gap: 6px; }
.loop-tag {
  font-size: 13px; color: var(--fg-dim);
  padding: 7px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
}
.loop-punch {
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.5; color: var(--fg-dim);
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.loop-punch .gradient {
  background: var(--accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 600;
}
@media (max-width: 800px) {
  .loop-cols { grid-template-columns: 1fr; }
  .loop-arrow {
    border-left: none; border-right: none;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 12px;
    transform: rotate(90deg);
    width: 40px; height: 40px;
    margin: 0 auto;
    font-size: 16px;
  }
}

/* ─── Traction: 3-col stats ──────────────────────────────── */
.tract-stats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .tract-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tract-stats { grid-template-columns: 1fr; } }

/* ─── CMU / Model Dev Initiative extra blocks ───────────── */
.cmu-blocks {
  display: flex; flex-direction: column; gap: 8px; margin-top: 16px;
}
.cmu-block {
  font-size: 12px; font-family: var(--mono); letter-spacing: 0.08em;
  color: var(--fg-dim); padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 8px;
  background: rgba(255,255,255,0.02);
}

/* ─── Market Context ─────────────────────────────────────── */
.mctx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
@media (max-width: 1000px) { .mctx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .mctx-grid { grid-template-columns: 1fr; } }

.mctx-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-card);
  padding: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.mctx-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.mctx-body-wrap {
  padding: 26px 28px 26px;
  display: flex; flex-direction: column;
  flex: 1;
  gap: 16px;
}
.mctx-head {
  display: flex; flex-direction: column; gap: 9px;
}
.mctx-num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; color: var(--fg-dimmer);
}

/* ── Isometric line figures ── */
.mctx-fig {
  position: relative;
  height: 210px;
  padding: 8px 10px 0;
}
.iso-svg {
  width: 100%; height: 100%; display: block; overflow: visible;
}
.iso-face-t { fill: rgba(255,255,255,0.045); }
.iso-face-l { fill: rgba(255,255,255,0.012); }
.iso-face-r { fill: rgba(255,255,255,0.025); }
.iso-box polygon {
  stroke: rgba(255,255,255,0.5);
  stroke-width: 1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
/* funnel rings + walls */
.iso-ring {
  fill: rgba(255,255,255,0.02);
  stroke: rgba(255,255,255,0.5);
  stroke-width: 1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.iso-ring-top { fill: rgba(255,255,255,0.05); }
.iso-edge {
  stroke: rgba(255,255,255,0.26);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.iso-dot {
  stroke: rgba(255,255,255,0.26);
  stroke-width: 1;
  stroke-dasharray: 1.5 4;
  vector-effect: non-scaling-stroke;
}
.iso-trend {
  fill: none;
  stroke: rgba(255,255,255,0.4);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke;
}
.iso-node { fill: rgba(255,255,255,0.85); }
.iso-node-dim { fill: rgba(255,255,255,0.4); }
/* tasteful hover lift on the whole figure stroke set */
.mctx-card:hover .iso-box polygon,
.mctx-card:hover .iso-ring { stroke: rgba(255,255,255,0.72); }
.mctx-card:hover .iso-face-t { fill: rgba(255,255,255,0.07); }
.mctx-title {
  font-size: 18px; font-weight: 700; letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0;
}
.mctx-body {
  font-size: 14px; color: var(--fg-dim); line-height: 1.65;
  margin: 0;
  flex: 1;
}
.mctx-foot {
  display: flex; flex-direction: column; gap: 14px;
}
.mctx-stat {
  font-size: 13px; color: var(--fg); line-height: 1.55;
  padding: 13px 14px;
  border-radius: 10px;
  background: rgba(96,128,255,0.06);
  border: 1px solid rgba(96,128,255,0.12);
}
.mctx-source {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; color: var(--fg-dimmer);
  text-transform: uppercase; line-height: 1.5;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mctx-punch {
  text-align: center;
  padding: 8px 40px 0;
}
.mctx-p-line {
  font-size: clamp(16px,1.5vw,18px);
  font-weight: 500;
  color: var(--fg-dimmer);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.mctx-p-sub {
  font-size: clamp(22px,2.6vw,30px);
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-shadow: 0 1px 0 rgba(255,255,255,0.18), 0 2px 10px rgba(0,0,0,0.55), 0 14px 40px rgba(0,0,0,0.45);
}

/* ─── Revenue Engine ─────────────────────────────────────── */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
@media (max-width: 1100px) { .rev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .rev-grid { grid-template-columns: 1fr; } }

.rev-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-card);
  padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.2s, background 0.2s;
}
.rev-card:hover { border-color: var(--line-2); background: #15151b; }
.rev-icon { color: rgba(178,100,255,0.7); }
.rev-title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.rev-subtitle { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--fg-dimmer); text-transform: uppercase; }
.rev-body { font-size: 13.5px; color: var(--fg-dim); line-height: 1.6; flex: 1; }

.rev-expanded { margin-top: 8px; }
.rev-exp-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; color: var(--fg-dimmer);
  margin-bottom: 20px; text-transform: uppercase;
}
.rev-exp-grid { display: flex; flex-direction: column; gap: 1px; }
.rev-exp-row {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 0;
  transition: background 0.15s;
}
.rev-exp-row:first-child { border-radius: var(--r-card) var(--r-card) 0 0; }
.rev-exp-row:last-child { border-radius: 0 0 var(--r-card) var(--r-card); }
.rev-exp-row + .rev-exp-row { border-top: none; }
.rev-exp-row:hover { background: #15151b; }
.rev-exp-layer { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.rev-exp-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--fg-dimmer); display: block; margin-bottom: 4px; text-transform: uppercase; }
.rev-exp-v { font-size: 13px; color: var(--fg-dim); line-height: 1.55; }
@media (max-width: 800px) {
  .rev-exp-row { grid-template-columns: 1fr; gap: 12px; }
}

.rev-punch {
  margin-top: 40px;
  text-align: center;
  font-size: clamp(16px,1.6vw,20px);
  color: var(--fg-dim);
  font-style: italic;
}

/* ─── Competitive Positioning ────────────────────────────── */
.comp-thesis {
  margin-bottom: 48px;
  padding: 32px 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-card);
}
.comp-thesis-line {
  font-size: clamp(18px,2vw,24px); font-weight: 600;
  letter-spacing: -0.02em; margin-bottom: 8px;
  color: var(--fg-dim);
}
.comp-thesis-accent {
  font-size: clamp(20px,2.4vw,28px);
  background: var(--accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 700;
}

.comp-diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .comp-diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .comp-diff-grid { grid-template-columns: 1fr; } }

.comp-diff-card {
  display: flex; gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
  transition: border-color 0.2s;
}
.comp-diff-card:hover { border-color: var(--line-2); }
.comp-diff-check { color: rgba(96,180,96,0.8); font-size: 15px; flex-shrink: 0; margin-top: 2px; }
.comp-diff-key { font-size: 14px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; }
.comp-diff-desc { font-size: 12.5px; color: var(--fg-dim); line-height: 1.55; }

.comp-map-wrap { margin-bottom: 48px; }
.comp-map-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; color: var(--fg-dimmer);
  margin-bottom: 20px; text-transform: uppercase;
}
.comp-map {
  position: relative;
  height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-card);
  overflow: hidden;
}
.comp-map-axis {
  position: absolute; display: flex; align-items: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--fg-dimmer); text-transform: uppercase; gap: 8px;
}
.comp-map-x { bottom: 16px; left: 16px; right: 16px; justify-content: space-between; }
.comp-map-y { top: 16px; left: 16px; flex-direction: column; height: calc(100% - 32px); justify-content: space-between; font-size: 9px; }
.comp-map-axis-line { flex: 1; height: 1px; background: rgba(255,255,255,0.06); }
.comp-map-axis-line--v { flex: 1; width: 1px; background: rgba(255,255,255,0.06); margin: 0; }
.comp-map-points { position: absolute; inset: 0; }
.comp-map-dot { position: absolute; transform: translate(-50%, -50%); text-align: center; }
.comp-dot-marker {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.35);
  margin: 0 auto 4px;
}
.comp-dot-marker--mos {
  width: 12px; height: 12px;
  background: rgba(178,100,255,0.7);
  border: 1.5px solid rgba(178,100,255,0.9);
  box-shadow: 0 0 12px rgba(178,100,255,0.4);
}
.comp-dot-label { font-size: 10px; font-weight: 600; white-space: nowrap; color: var(--fg-dim); }
.comp-dot-label--mos { color: rgba(178,100,255,0.9); font-weight: 700; }
.comp-dot-sub { font-size: 9px; font-family: var(--mono); letter-spacing: 0.06em; color: var(--fg-dimmer); white-space: nowrap; max-width: 120px; white-space: pre-wrap; }

.comp-table-wrap {
  overflow-x: auto;
  margin-bottom: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.comp-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px;
}
.comp-table th {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-dimmer);
  border-bottom: 1px solid var(--line);
  background: var(--bg-card);
  white-space: nowrap;
}
.comp-mos-head { color: rgba(178,100,255,0.8) !important; }
.comp-row td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.comp-row:last-child td { border-bottom: none; }
.comp-dim { color: var(--fg-dim); font-weight: 600; }
.comp-mos { color: var(--fg); background: rgba(178,100,255,0.04); }
.comp-yes { color: rgba(96,180,96,0.8); font-size: 12px; }
.comp-other { color: var(--fg-dimmer); font-size: 12px; }

.comp-punch {
  display: flex; flex-direction: column; gap: 8px;
  padding: 32px 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-card);
}
.cp-line { font-size: clamp(16px,1.6vw,20px); color: var(--fg-dim); }
.cp-accent {
  font-size: clamp(18px,1.8vw,22px); font-weight: 700;
  background: var(--accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ─── Long-Term Vision ───────────────────────────────────── */
.vision-body { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; max-width: 72ch; }
.vision-p { font-size: clamp(16px,1.5vw,19px); color: var(--fg-dim); line-height: 1.7; }

.vision-timeline {
  display: flex; align-items: flex-start; gap: 0;
  margin-bottom: 56px;
}
.vt-item {
  flex: 1;
  padding: 24px 28px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 0;
}
.vt-item:first-child { border-radius: var(--r-card) 0 0 var(--r-card); }
.vt-item:last-child { border-radius: 0 var(--r-card) var(--r-card) 0; }
.vt-item + .vt-item { border-left: none; }
.vt-phase {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  color: rgba(178,100,255,0.8); text-transform: uppercase; margin-bottom: 10px;
}
.vt-desc { font-size: 14px; color: var(--fg-dim); line-height: 1.6; }
.vt-connector { width: 0; flex-shrink: 0; }
@media (max-width: 700px) {
  .vision-timeline { flex-direction: column; }
  .vt-item { flex: unset; width: 100%; }
  .vt-item:first-child { border-radius: var(--r-card) var(--r-card) 0 0; }
  .vt-item:last-child { border-radius: 0 0 var(--r-card) var(--r-card); }
  .vt-item + .vt-item { border-left: 1px solid var(--line); border-top: none; }
}

.vision-punch {
  font-size: clamp(20px,2.5vw,32px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.2;
  text-align: center; padding: 40px 0;
  border-top: 1px solid var(--line);
}

/* ─── ToB + ToC Flywheels ────────────────────────────────── */
.fw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}
@media (max-width: 900px) { .fw-grid { grid-template-columns: 1fr; } }

.fw-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-card);
  padding: 36px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.2s;
}
.fw-card:hover { border-color: var(--line-2); }
.fw-card--toc { border-color: rgba(96,128,255,0.2); background: rgba(96,128,255,0.03); }
.fw-card--toc:hover { border-color: rgba(96,128,255,0.35); }

.fw-card-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  color: var(--fg-dimmer); text-transform: uppercase;
}
.fw-card-title { font-size: clamp(18px,1.8vw,22px); font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.fw-card-sub { font-size: 14px; color: var(--fg-dim); line-height: 1.6; margin: 0; }

.fw-steps { display: flex; flex-direction: column; gap: 10px; }
.fw-step {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
}
.fw-step-num {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; color: rgba(178,100,255,0.8);
  background: rgba(178,100,255,0.1); border: 1px solid rgba(178,100,255,0.2);
  border-radius: 6px; padding: 3px 7px; flex-shrink: 0; margin-top: 1px;
}
.fw-step-title { font-size: 13.5px; font-weight: 700; margin-bottom: 2px; }
.fw-step-body { font-size: 12px; color: var(--fg-dim); line-height: 1.5; }

.fw-verticals {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 8px; border-top: 1px solid var(--line);
}
.fw-vertical {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--fg-dim);
  background: rgba(255,255,255,0.02);
}

/* FDE comparison */
.fw-fde {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-card);
  padding: 40px;
}
.fw-fde-head { margin-bottom: 40px; }
.fw-fde-stat {
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(178,100,255,0.2);
  border-radius: 10px;
  background: rgba(178,100,255,0.05);
  font-size: 14px; color: var(--fg-dim); line-height: 1.6;
  max-width: 64ch;
}
.fw-fde-source { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--fg-dimmer); }
.fw-fde-compare {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: start;
}
@media (max-width: 720px) { .fw-fde-compare { grid-template-columns: 1fr; } .fw-fde-vs { display: none; } }
.fw-fde-col-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--fg-dimmer); text-transform: uppercase; margin-bottom: 14px;
}
.fw-fde-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.fw-fde-item--manual { color: var(--fg-dim); }
.fw-fde-item--mos { color: var(--fg); }
.fw-fde-x { color: rgba(255,100,100,0.6); flex-shrink: 0; }
.fw-fde-check { color: rgba(96,180,96,0.8); flex-shrink: 0; }
.fw-fde-vs {
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-dimmer); letter-spacing: 0.12em;
  display: flex; align-items: center; justify-content: center;
  height: 100%; padding-top: 40px;
}

/* ─── CTA extra capabilities ─────────────────────────────── */
.cta-capabilities {
  display: flex; flex-direction: column; gap: 6px;
}
.cta-cap-line {
  font-size: clamp(16px,1.6vw,20px); color: var(--fg-dim);
  font-style: italic; letter-spacing: -0.01em;
}

.cta-contacts {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
  margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line);
}
.cta-contact-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--fg-dim);
  background: none; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px;
  transition: border-color 0.2s, color 0.2s;
  font-family: inherit; cursor: pointer;
  text-decoration: none; color: inherit;
}
.cta-contact-item:hover { border-color: var(--line-2); color: var(--fg); }

/* ─── Team Preview (homepage) ─────────────────────────────── */
.tprev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  max-width: 800px;
}
@media (max-width: 640px) { .tprev-grid { grid-template-columns: 1fr; max-width: 100%; } }

.tprev-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-card);
  text-decoration: none; color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.tprev-card:hover { border-color: var(--line-2); background: #15151b; }
.tprev-photo {
  width: 72px; height: 72px; border-radius: 50%;
  overflow: hidden; border: 1px solid var(--line-2);
}
.tprev-photo img { width: 100%; height: 100%; object-fit: cover; }
.tprev-name { font-size: 15px; font-weight: 700; text-align: center; }
.tprev-role { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--fg-dimmer); text-transform: uppercase; text-align: center; }

.tprev-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .tprev-meta { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tprev-meta { grid-template-columns: 1fr; } }

.tprev-meta-item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--bg-card);
}
.tprev-meta-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--fg-dimmer); text-transform: uppercase;
}
.tprev-meta-val { font-size: 13px; color: var(--fg-dim); line-height: 1.45; }

/* ─── Use Cases ──────────────────────────────────────────── */
.uc-section {
  position: relative;
  overflow: visible;
  padding-bottom: clamp(120px, 16vw, 200px);
}

.uc-section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.uc-section-grid {
  position: absolute;
  inset: -2px;
  background-image:
    radial-gradient(circle at center, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask: radial-gradient(ellipse 85% 70% at 50% 40%, #000 10%, transparent 75%);
  mask: radial-gradient(ellipse 85% 70% at 50% 40%, #000 10%, transparent 75%);
}

.uc-section-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.uc-section-glow--1 {
  top: 5%;
  left: 10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(96,128,255,0.12), transparent 65%);
}

.uc-section-glow--2 {
  bottom: 10%;
  right: 5%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(178,100,255,0.10), transparent 65%);
}

.uc-wrap {
  position: relative;
  z-index: 1;
}

/* Ecosystem visualization */
.uc-interactive {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 80px);
}

.uc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  overflow: visible;
}

.uc-hero-copy {
  margin-bottom: 0;
}

.uc-hero-copy h2 {
  max-width: 16ch;
}

.uc-ecosystem {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.uc-ecosystem--orbit {
  aspect-ratio: 1;
  max-width: 460px;
  min-height: 360px;
  margin-left: auto;
  overflow: visible;
  padding: 24px 16px 12px;
  box-sizing: content-box;
}

.uc-eco-orbit-ring {
  fill: none;
  stroke: rgba(178,100,255,0.12);
  stroke-width: 0.35;
}

.uc-eco-orbit-ring--outer {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 0.3;
  stroke-dasharray: 1.2 1.8;
}

.uc-eco-hub--orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.uc-eco-line {
  stroke: rgba(255,255,255,0.1);
  stroke-width: 0.4;
  transition: stroke 0.35s ease, stroke-width 0.35s ease;
}

.uc-eco-lines--orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.uc-eco-lines--back {
  z-index: 1;
}

.uc-eco-lines--front {
  z-index: 4;
}

.uc-eco-line--active {
  stroke: url(#ucEcoLineGrad);
  stroke-width: 0.7;
  stroke-dasharray: 2.4 1.2;
  stroke-linecap: round;
  animation: ucEcoLineFlow 1.3s linear infinite;
  filter: drop-shadow(0 0 4px rgba(178,100,255,0.85));
}

@keyframes ucEcoLineFlow {
  to { stroke-dashoffset: -6; }
}

.uc-eco-hub-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: clamp(68px, 9vw, 80px);
  height: clamp(68px, 9vw, 80px);
  border-radius: 50%;
  background: rgba(19,19,24,0.92);
  border: 1px solid rgba(178,100,255,0.35);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 48px rgba(96,128,255,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06);
  justify-content: center;
}

.uc-eco-hub-logo {
  width: clamp(24px, 4vw, 30px);
  height: auto;
  opacity: 0.95;
}

.uc-eco-hub-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.uc-eco-hub-pulse {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(178,100,255,0.2);
  animation: ucEcoHubPulse 3s ease-out infinite;
}

@keyframes ucEcoHubPulse {
  0% { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 0; }
}

.uc-eco-row {
  display: none;
}

.uc-eco-node--orbit {
  position: absolute;
  z-index: 5;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--fg);
  transform: translate(-50%, -50%);
}

.uc-eco-node-enter {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: ucEcoEnter 0.95s cubic-bezier(0.22, 1, 0.36, 1) var(--enter-delay, 0s) both;
}

@keyframes ucEcoEnter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.uc-eco-node-float {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  animation: ucEcoFloat 3.6s ease-in-out infinite;
  animation-delay: calc(var(--float-start, 1s) + var(--float-delay, 0s));
  will-change: transform;
}

.uc-eco-hub-inner--enter {
  animation: ucEcoHubEnter 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

@keyframes ucEcoHubEnter {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes ucEcoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.uc-eco-node--orbit:hover .uc-eco-node-float,
.uc-eco-node--orbit.uc-eco-node--hover .uc-eco-node-float {
  animation-play-state: paused;
}

.uc-eco-node {
  flex: 1;
  min-width: 0;
  position: relative;
  transform: none;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--fg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Orbit nodes must override legacy .uc-eco-node flex/relative rules */
.uc-ecosystem--orbit .uc-eco-node.uc-eco-node--orbit {
  position: absolute;
  flex: none;
  min-width: 0;
  display: block;
  transform: translate(-50%, -50%);
}

.uc-eco-node-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(19,19,24,0.88);
  border: 1px solid var(--line-2);
  color: var(--fg-dim);
  transition: border-color 0.35s, background 0.35s, color 0.35s, box-shadow 0.35s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.uc-eco-node--orbit .uc-eco-node-name {
  font-size: 9px;
  font-weight: 600;
  color: var(--fg-dim);
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 76px;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.3s, color 0.3s, transform 0.3s;
}

.uc-eco-node--orbit.uc-eco-node--active .uc-eco-node-name,
.uc-eco-node--orbit.uc-eco-node--hover .uc-eco-node-name {
  opacity: 1;
  transform: translateY(0);
  color: var(--fg);
}

.uc-eco-node-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--fg-dim);
  text-align: center;
  line-height: 1.25;
  letter-spacing: -0.01em;
  transition: color 0.3s;
  max-width: 100%;
}

.uc-eco-node:hover .uc-eco-node-icon,
.uc-eco-node--hover .uc-eco-node-icon {
  border-color: rgba(178,100,255,0.45);
  background: rgba(178,100,255,0.08);
  color: #c8a8ff;
  box-shadow: 0 8px 28px rgba(96,128,255,0.2);
}

.uc-eco-node--active .uc-eco-node-icon {
  border-color: rgba(178,100,255,0.65);
  background: rgba(178,100,255,0.14);
  color: #d8b8ff;
  box-shadow:
    0 0 0 1px rgba(178,100,255,0.25),
    0 0 28px rgba(178,100,255,0.45),
    0 0 56px rgba(96,128,255,0.2);
  transform: scale(1.1);
}

.uc-eco-node--active .uc-eco-node-name {
  color: var(--fg);
}

/* Interactive explorer */
.uc-explorer {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.uc-explorer-nav {
  position: sticky;
  top: 100px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: rgba(19,19,24,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.uc-explorer-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line);
}

.uc-explorer-autoplay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dimmer);
}

.uc-explorer-autoplay-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6080ff;
  animation: pulse 2s ease-in-out infinite;
}

.uc-explorer-list {
  list-style: none;
  margin: 0;
  padding: 8px;
}

.uc-explorer-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  color: var(--fg-dim);
  transition: background 0.25s, color 0.25s;
}

.uc-explorer-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  flex-shrink: 0;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.uc-explorer-item-name {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.uc-explorer-item-bar {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  border-radius: 1px;
  background: linear-gradient(180deg, #6080ff, #ff6fbf);
  transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.uc-explorer-item:hover {
  background: rgba(255,255,255,0.03);
  color: var(--fg);
}

.uc-explorer-item--active {
  background: rgba(178,100,255,0.08);
  color: var(--fg);
}

.uc-explorer-item--active .uc-explorer-item-icon {
  border-color: rgba(178,100,255,0.35);
  background: rgba(178,100,255,0.1);
  color: #c8a8ff;
}

.uc-explorer-item--active .uc-explorer-item-bar {
  height: 60%;
}

.uc-explorer-panel {
  min-height: 520px;
}

.uc-explorer-card {
  border: 1px solid var(--line);
  border-radius: calc(var(--r-card) + 4px);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(96,128,255,0.06), transparent 60%),
    rgba(19,19,24,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

.uc-explorer-card--enter {
  animation: ucCardEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ucCardEnter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.uc-explorer-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(24px, 3vw, 32px);
}

.uc-explorer-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(178,100,255,0.3);
  background: rgba(178,100,255,0.08);
  color: #c8a8ff;
}

.uc-explorer-card-head h3 {
  font-size: clamp(22px, 2.5vw, 28px);
}

.uc-explorer-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--fg-dim);
}

.uc-explorer-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.uc-explorer-tag--before {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  color: var(--fg-dimmer);
}

.uc-explorer-tag--after {
  background: rgba(178,100,255,0.12);
  border: 1px solid rgba(178,100,255,0.25);
  color: #c8a8ff;
}

.uc-explorer-section {
  margin-bottom: 8px;
}

.uc-explorer-problem {
  margin-top: 16px;
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.6;
  max-width: 62ch;
}

.uc-explorer-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: clamp(20px, 3vw, 28px) 0;
}

.uc-explorer-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}

.uc-explorer-divider-icon {
  font-size: 14px;
  color: rgba(178,100,255,0.5);
}

/* Flow diagrams */
.uc-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.uc-flow::-webkit-scrollbar { display: none; }

.uc-flow-node {
  flex: 1;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s, background 0.3s;
}

.uc-flow--before .uc-flow-node {
  border-style: dashed;
  border-color: rgba(255,255,255,0.1);
}

.uc-flow--after .uc-flow-node {
  border-color: rgba(178,100,255,0.2);
  background: rgba(178,100,255,0.05);
}

.uc-flow-node-num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--fg-dimmer);
}

.uc-flow-node-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--fg-dim);
}

.uc-flow--after .uc-flow-node-label {
  color: var(--fg);
}

.uc-flow-connector {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 20px;
}

.uc-flow-connector span {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), rgba(178,100,255,0.3));
  position: relative;
}

.uc-flow-connector span::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: rgba(178,100,255,0.35);
}

.uc-flow--before .uc-flow-connector span {
  background: var(--line);
}

.uc-flow--before .uc-flow-connector span::after {
  border-left-color: var(--line-2);
}

.uc-explorer-signals {
  list-style: none;
  margin: 16px 0 0;
  padding: 16px;
  border-radius: 10px;
  background: rgba(178,100,255,0.04);
  border: 1px solid rgba(178,100,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.uc-explorer-signals li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--fg);
  line-height: 1.5;
}

.uc-explorer-signal-dot {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-top: 7px;
  background: linear-gradient(135deg, #6080ff, #ff6fbf);
}

.uc-explorer-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(24px, 3vw, 32px);
  padding-top: clamp(20px, 2.5vw, 28px);
  border-top: 1px solid var(--line);
}

.uc-explorer-outcome {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.03);
  color: var(--fg-dim);
  transition: border-color 0.25s, color 0.25s;
}

.uc-explorer-card:hover .uc-explorer-outcome {
  border-color: rgba(178,100,255,0.2);
}

@media (max-width: 960px) {
  .uc-hero {
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 48px);
  }

  .uc-ecosystem--orbit {
    max-width: min(360px, 88vw);
    margin: 0 auto;
  }

  .uc-hero-copy h2 {
    max-width: none;
  }

  .uc-explorer {
    grid-template-columns: 1fr;
  }

  .uc-explorer-nav {
    position: static;
  }

  .uc-explorer-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .uc-explorer-list {
    grid-template-columns: 1fr;
  }

  .uc-flow {
    flex-direction: column;
    gap: 0;
  }

  .uc-flow-connector {
    width: auto;
    height: 16px;
    justify-content: center;
  }

  .uc-flow-connector span {
    width: 1px;
    height: 100%;
    background: var(--line-2);
  }

  .uc-flow-connector span::after {
    right: auto;
    bottom: 0;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--line-2);
    border-left-color: transparent;
  }

  .uc-flow--after .uc-flow-connector span::after {
    border-top-color: rgba(178,100,255,0.35);
  }

  .uc-eco-node-icon {
    width: 42px;
    height: 42px;
  }

  .uc-eco-node-name {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uc-eco-hub-pulse,
  .uc-eco-line--active,
  .uc-eco-node-enter,
  .uc-eco-node-float,
  .uc-eco-hub-inner--enter,
  .uc-explorer-card--enter,
  .uc-explorer-autoplay-dot {
    animation: none;
  }

  .uc-eco-node--orbit {
    transform: translate(-50%, -50%);
  }

  .uc-eco-node-enter {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .uc-eco-node-float {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Legacy card styles (kept for reference) */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .usecase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .usecase-grid { grid-template-columns: 1fr; } }

.usecase-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-card);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.usecase-card:hover { border-color: var(--line-2); background: #15151b; }
.uc-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--fg-dim);
  background: rgba(255,255,255,0.03);
}
.uc-vertical {
  font-size: 17px; font-weight: 700; letter-spacing: -0.015em;
}
.uc-compare {
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.uc-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-dimmer); margin-bottom: 6px;
}
.uc-before p { font-size: 13px; color: var(--fg-dim); line-height: 1.55; }
.uc-after {
  padding: 14px;
  border-radius: 10px;
  background: rgba(178,100,255,0.06);
  border: 1px solid rgba(178,100,255,0.15);
}
.uc-after p { font-size: 13px; color: var(--fg); line-height: 1.55; }
.uc-outcome {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--fg-dimmer); letter-spacing: 0.06em;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

/* ─── FAQ ───────────────────────────────────────────────── */
.faq-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
  max-width: 800px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
  background: none; border: none; color: var(--fg);
  text-align: left; font-size: 16px; font-weight: 600;
  letter-spacing: -0.01em; line-height: 1.35;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: rgba(178,100,255,0.9); }
.faq-icon {
  font-size: 20px; font-weight: 300;
  color: var(--fg-dim); flex-shrink: 0;
  line-height: 1; margin-top: 2px;
}
.faq-a {
  padding-bottom: 24px;
  font-size: 15px; color: var(--fg-dim);
  line-height: 1.65; max-width: 70ch;
}

/* ─── CTA buttons row ────────────────────────────────────── */
.cta-btns {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}

/* ─── Reveal system ────────────────────────────────────── */
.reveal {
  will-change: opacity, transform, filter;
  transition-delay: var(--reveal-delay, 0ms);
}

/* up — default */
.reveal--up {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(5px);
  transition:
    opacity 0.85s cubic-bezier(.16,1,.3,1),
    transform 0.85s cubic-bezier(.16,1,.3,1),
    filter 0.55s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal--up.in {
  opacity: 1; transform: none; filter: none;
}

/* left */
.reveal--left {
  opacity: 0;
  transform: translateX(-36px);
  filter: blur(4px);
  transition:
    opacity 0.9s cubic-bezier(.16,1,.3,1),
    transform 0.9s cubic-bezier(.16,1,.3,1),
    filter 0.5s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal--left.in {
  opacity: 1; transform: none; filter: none;
}

/* right */
.reveal--right {
  opacity: 0;
  transform: translateX(36px);
  filter: blur(4px);
  transition:
    opacity 0.9s cubic-bezier(.16,1,.3,1),
    transform 0.9s cubic-bezier(.16,1,.3,1),
    filter 0.5s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal--right.in {
  opacity: 1; transform: none; filter: none;
}

/* scale */
.reveal--scale {
  opacity: 0;
  transform: scale(0.92) translateY(16px);
  filter: blur(4px);
  transition:
    opacity 0.7s cubic-bezier(.16,1,.3,1),
    transform 0.7s cubic-bezier(.16,1,.3,1),
    filter 0.45s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal--scale.in {
  opacity: 1; transform: none; filter: none;
}

/* legacy fallback */
.reveal:not(.reveal--up):not(.reveal--left):not(.reveal--right):not(.reveal--scale) {
  opacity: 0; transform: translateY(24px); filter: blur(6px);
  transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1), filter 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal:not(.reveal--up):not(.reveal--left):not(.reveal--right):not(.reveal--scale).in {
  opacity: 1; transform: none; filter: none;
}

/* Hero load-in cascade */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.hero > .hero-eyebrow  { animation: heroIn 0.9s cubic-bezier(.16,1,.3,1) 0.10s both; }
.hero > h1             { animation: heroIn 1.0s cubic-bezier(.16,1,.3,1) 0.20s both; }
.hero > .hero-sub      { animation: heroIn 0.9s cubic-bezier(.16,1,.3,1) 0.38s both; }
.hero > p:not(.hero-sub) { animation: heroIn 0.9s cubic-bezier(.16,1,.3,1) 0.50s both; }
.hero > .hero-ctas     { animation: heroIn 0.9s cubic-bezier(.16,1,.3,1) 0.60s both; }
.hero > .hero-stats      { animation: heroIn 0.9s cubic-bezier(.16,1,.3,1) 0.72s both; }
.hero > .hero-scroll      { animation: heroIn 0.9s cubic-bezier(.16,1,.3,1) 0.85s both; }
.home-portal-card:nth-child(1) { animation: heroIn 0.8s cubic-bezier(.16,1,.3,1) 0.1s both; }
.home-portal-card:nth-child(2) { animation: heroIn 0.8s cubic-bezier(.16,1,.3,1) 0.2s both; }
.home-portal-card:nth-child(3) { animation: heroIn 0.8s cubic-bezier(.16,1,.3,1) 0.3s both; }
.home-portal-card:nth-child(4) { animation: heroIn 0.8s cubic-bezier(.16,1,.3,1) 0.4s both; }
.hero > .hero-stack    { animation: heroIn 0.9s cubic-bezier(.16,1,.3,1) 0.84s both; }
.hero-glow             { animation: heroIn 1.4s cubic-bezier(.16,1,.3,1) 0s both; }

/* Subtle continuous breathing on the hero glow */
@keyframes heroPulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; }
}
.hero-glow::before, .hero-glow::after {
  animation: heroPulse 8s ease-in-out infinite;
}

/* Nav slide-down on first paint */
@keyframes navIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: none; }
}
.nav { animation: navIn 0.7s cubic-bezier(.16,1,.3,1) both; }

/* ─── Home portal (explore grid) ─────────────────────────── */
.home-portal {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0 clamp(96px, 14vw, 160px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.home-portal-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(96,128,255,0.12), transparent 55%),
    radial-gradient(ellipse 45% 35% at 85% 75%, rgba(255,111,191,0.10), transparent 55%);
}
.home-portal-head {
  position: relative;
  margin-bottom: clamp(40px, 6vw, 64px);
  max-width: 640px;
}
.home-portal-head .label { display: block; margin-bottom: 20px; }
.home-portal-head h2 { margin-bottom: 16px; }
.home-portal-head .lede { max-width: 48ch; }

.home-portal-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: stretch;
  width: 100%;
}
@media (max-width: 1024px) {
  .home-portal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .home-portal-grid { grid-template-columns: 1fr; }
}

.home-portal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 340px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(19,19,24,0.88);
  backdrop-filter: blur(8px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), border-color 0.35s, box-shadow 0.35s;
}
.home-portal-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: 0 28px 80px rgba(0,0,0,0.45);
}
.home-portal-card-shine {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.home-portal-card:hover .home-portal-card-shine { opacity: 1; }
.home-portal-card--blue .home-portal-card-shine {
  background: radial-gradient(circle at 50% 0%, rgba(96,128,255,0.20), transparent 55%);
}
.home-portal-card--purple .home-portal-card-shine {
  background: radial-gradient(circle at 50% 0%, rgba(178,100,255,0.20), transparent 55%);
}
.home-portal-card--pink .home-portal-card-shine {
  background: radial-gradient(circle at 50% 0%, rgba(255,111,191,0.18), transparent 55%);
}
.home-portal-card--violet .home-portal-card-shine {
  background: radial-gradient(circle at 50% 0%, rgba(140,100,255,0.18), transparent 55%);
}

.home-portal-card-viz {
  position: relative;
  flex: none;
  height: 148px;
  margin: -4px -4px 16px;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
  transition: border-color 0.35s, background 0.35s;
}
.home-portal-card:hover .home-portal-card-viz {
  border-color: rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.35);
}
.hp-viz {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes hpNodePulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
@keyframes hpCorePulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes hpFlowLine {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.45; }
}
.hp-node-pulse { animation: hpNodePulse 3s ease-in-out infinite; }
.hp-core-pulse { animation: hpCorePulse 2.8s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.hp-flow-line { animation: hpFlowLine 2.5s ease-in-out infinite; }
.hp-flow-dot { filter: drop-shadow(0 0 4px rgba(160,190,255,0.8)); }
@media (prefers-reduced-motion: reduce) {
  .hp-node-pulse, .hp-core-pulse, .hp-flow-line { animation: none; }
}

.home-portal-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.home-portal-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-portal-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--fg-dimmer);
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.home-portal-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.home-portal-headline {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.home-portal-desc {
  font-size: 12.5px;
  color: var(--fg-dim);
  line-height: 1.55;
  flex: 1;
}

.home-portal-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.04);
  align-self: flex-start;
  transition: background 0.25s, border-color 0.25s, color 0.25s, gap 0.25s, transform 0.25s, box-shadow 0.25s;
}
.home-portal-card:hover .home-portal-cta {
  gap: 12px;
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateX(2px);
}
.home-portal-card--blue:hover .home-portal-cta { box-shadow: 0 0 24px rgba(96,128,255,0.25); }
.home-portal-card--purple:hover .home-portal-cta { box-shadow: 0 0 24px rgba(178,100,255,0.25); }
.home-portal-card--pink:hover .home-portal-cta { box-shadow: 0 0 24px rgba(255,111,191,0.25); }
.home-portal-card--violet:hover .home-portal-cta { box-shadow: 0 0 24px rgba(140,100,255,0.25); }

/* ─── Global enhanced hover/motion ────────────────────── */

/* Cards lift */
.card, .mctx-card, .rev-card, .comp-diff-card, .usecase-card,
.tm-lc, .tm-fr, .logo-cell, .cmu-block {
  transition-property: transform, border-color, box-shadow, background;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(.16,1,.3,1);
}
.card:hover, .rev-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
.comp-diff-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.35); }
.usecase-card:hover { transform: translateY(-4px); box-shadow: 0 18px 56px rgba(0,0,0,0.4); }
.tm-lc:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 20px 60px rgba(0,0,0,0.45); }
.tm-fr:hover { transform: translateY(-3px); }
.logo-cell:hover { transform: translateY(-2px) scale(1.04); border-color: var(--line-2); }
.cmu-block:hover { border-color: rgba(178,100,255,0.4); background: rgba(178,100,255,0.05); transform: translateX(4px); }

/* Buttons */
.btn { transition: transform 0.2s cubic-bezier(.16,1,.3,1), box-shadow 0.2s, background 0.2s, border-color 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 8px 32px rgba(178,100,255,0.35); }
.btn-ghost:hover { box-shadow: 0 6px 20px rgba(255,255,255,0.06); }

/* Nav links underline slide */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--fg);
  transition: width 0.25s cubic-bezier(.16,1,.3,1);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Stat cells */
.hstat { transition: background 0.25s; }
.hstat:hover { background: rgba(255,255,255,0.03); }

/* Tag chips bounce-in */
.tag, .home-portal-tag, .home-summary-tag, .home-portal-tag {
  transition: transform 0.2s cubic-bezier(.16,1,.3,1), border-color 0.2s, color 0.2s;
}
.tag:hover, .home-portal-tag:hover, .home-summary-tag:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: var(--line-2);
  color: var(--fg);
}

/* Advisor / team rows */
.team-row, .tm-advisor-row {
  transition: background 0.25s, border-color 0.25s, padding-left 0.3s;
}
.team-row:hover, .tm-advisor-row:hover { padding-left: 20px; }

/* FAQ item expand animation */
.faq-a {
  animation: faqOpen 0.35s cubic-bezier(.16,1,.3,1) both;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

/* Module row entrance */
.module { overflow: hidden; }

/* Loop arrows pulse */
.loop-arrow {
  animation: loopArrow 2.2s ease-in-out infinite;
}
@keyframes loopArrow {
  0%, 100% { opacity: 0.4; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(5px); }
}

/* Gradient text shimmer on h1, h2 .gradient */
.gradient {
  background-size: 200% auto;
  animation: gradientShimmer 5s linear infinite;
}
@keyframes gradientShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Border flow on CTA section */
.cta {
  position: relative;
}
.cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(96,128,255,0.6) 25%,
    rgba(178,100,255,0.8) 50%,
    rgba(255,111,191,0.6) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: borderFlow 4s linear infinite;
}
@keyframes borderFlow {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Problem card number glow on hover */
.problem-row .n {
  transition: color 0.3s, text-shadow 0.3s;
}
.problem-row:hover .n {
  color: rgba(178,100,255,0.9);
  text-shadow: 0 0 20px rgba(178,100,255,0.5);
}

/* Incubation column arrows float */
.incol-arrow {
  animation: floatArrow 3s ease-in-out infinite;
}
@keyframes floatArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Flywheel step number pulse */
.fw-step-num {
  transition: color 0.25s, transform 0.25s;
}
.fw-step:hover .fw-step-num {
  color: rgba(178,100,255,0.9);
  transform: scale(1.15);
}

/* Thesis strip text glow */
.thesis--home h2 {
  text-shadow: 0 0 80px rgba(96,128,255,0.08);
}

/* Footer links */
.footer a {
  position: relative;
  transition: color 0.2s;
  display: inline-block;
}
.footer a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--fg-dim);
  transition: width 0.22s cubic-bezier(.16,1,.3,1);
}
.footer a:hover { color: var(--fg); }
.footer a:hover::after { width: 100%; }

/* Page-level ambient: subtle drifting glow behind sections */
@keyframes driftX {
  0%, 100% { transform: translateX(0)  translateY(0); }
  33%       { transform: translateX(18px) translateY(-10px); }
  66%       { transform: translateX(-12px) translateY(8px); }
}
.home-portal-bg { animation: driftX 18s ease-in-out infinite; }
.hero-glow::after { animation: driftX 22s ease-in-out infinite reverse, heroPulse 8s ease-in-out infinite; }

/* ─── Page-level fade-in on load ──────────────────────── */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
#root {
  animation: pageFadeIn 0.55s cubic-bezier(.16,1,.3,1) both;
}

/* Page-exit overlay for cross-page transitions */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: #0a0a0b;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(.4,0,1,1);
}
.page-transition-overlay.active { opacity: 1; }

/* ─── Section separators with gradient fade ──────────── */
.section + .section::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--line) 20%,
    var(--line) 80%,
    transparent 100%
  );
  margin-bottom: 0;
}

/* Home page — no separator line above section labels */
.page-home .section + .section { border-top: none; }
.page-home .section + .section::before { display: none; }
.page-home .thesis--home { border-top: none; }
.page-home .home-portal { border-top: none; }

/* ─── Smooth image load ───────────────────────────────── */
img {
  transition: opacity 0.4s ease;
}
img[loading] { opacity: 0; }
img.loaded   { opacity: 1; }

/* ─── Nav logo hover float ───────────────────────────── */
.nav-logo { transition: transform 0.3s cubic-bezier(.16,1,.3,1), opacity 0.2s; }
.nav-logo:hover { transform: translateY(-2px) scale(1.03); }

/* ─── Section heading split reveal ──────────────────── */
.s-head h2 {
  background-clip: text;
  -webkit-background-clip: text;
}

/* ─── Glow on gradient text hover ───────────────────── */
h1:hover .gradient,
h2:hover .gradient {
  filter: drop-shadow(0 0 18px rgba(178,100,255,0.4));
}

/* ─── Smooth anchor scroll ────────────────────────────── */
html { scroll-behavior: smooth; }

/* ─── Usecase card colored left border on hover ───────── */
.usecase-card {
  border-left: 2px solid transparent;
  transition: border-color 0.3s, transform 0.3s cubic-bezier(.16,1,.3,1), box-shadow 0.3s;
}
.usecase-card:hover {
  border-left-color: rgba(178,100,255,0.5);
}

/* ─── Module micro-UI mock fade-in ───────────────────── */
.mock-row {
  animation: mockRowIn 0.4s cubic-bezier(.16,1,.3,1) both;
}
.mock-row:nth-child(2) { animation-delay: 0.06s; }
.mock-row:nth-child(3) { animation-delay: 0.12s; }
.mock-row:nth-child(4) { animation-delay: 0.18s; }
.mock-row:nth-child(5) { animation-delay: 0.24s; }
.mock-row:nth-child(6) { animation-delay: 0.30s; }
@keyframes mockRowIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: none; }
}

/* ─── Progress bar fill animation in mock ────────────── */
.run-bar > div {
  animation: barFill 1.4s cubic-bezier(.16,1,.3,1) 0.5s both;
  transform-origin: left;
}
@keyframes barFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ─── Competitive table row highlight ─────────────────── */
.comp-row {
  transition: background 0.2s;
}
.comp-row:hover {
  background: rgba(178,100,255,0.04);
}

/* ─── Vision timeline connector pulse ─────────────────── */
.vt-connector {
  position: relative;
  overflow: hidden;
}
.vt-connector::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(178,100,255,0.5), transparent);
  animation: vtScan 3s ease-in-out infinite;
}
@keyframes vtScan {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ─── Nav CTA shimmer ──────────────────────────────────── */
.nav-cta {
  position: relative;
  overflow: hidden;
}
.nav-cta::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  animation: navCtaShimmer 3.5s ease-in-out infinite;
}
@keyframes navCtaShimmer {
  0%   { left: -60%; }
  60%, 100% { left: 110%; }
}

/* ─────────────────────────────────────────────────────────
   HERO REFINEMENT — AI infrastructure ambience, positioning
   statement, and upgraded metrics bar.
   ───────────────────────────────────────────────────────── */

/* 1 — Ambient infrastructure background (grid + neural net) */
.hero-infra {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  /* keep the center where text sits the quietest, breathe at edges */
  -webkit-mask: radial-gradient(120% 90% at 70% 38%, transparent 0%, transparent 32%, #000 78%);
          mask: radial-gradient(120% 90% at 70% 38%, transparent 0%, transparent 32%, #000 78%);
}
.hero-infra-svg {
  position: absolute;
  top: 50%; left: 50%;
  width: 130%; height: 130%;
  transform: translate(-50%, -50%);
}
.hero-infra-grid {
  opacity: 0.045;
  animation: infraGridDrift 60s linear infinite;
}
@keyframes infraGridDrift {
  from { transform: translate(0, 0); }
  to   { transform: translate(60px, 60px); }
}
.hero-infra-net {
  opacity: 0.11;
}
.hero-infra-net line {
  opacity: 0.5;
}
/* flowing data streams along the connection paths */
.hero-infra-stream {
  stroke-dasharray: 6 220;
  stroke-dashoffset: 0;
  animation: infraStream 14s linear infinite;
}
.hero-infra-stream--2 { animation-duration: 18s; animation-delay: -4s; }
.hero-infra-stream--3 { animation-duration: 22s; animation-delay: -9s; }
@keyframes infraStream {
  to { stroke-dashoffset: -1356; }
}
/* slow breathing intelligence nodes */
.hero-infra-node {
  opacity: 0.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: infraNodePulse 6.5s ease-in-out infinite;
}
@keyframes infraNodePulse {
  0%, 100% { opacity: 0.18; transform: scale(0.7); }
  50%      { opacity: 0.7;  transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-infra-grid,
  .hero-infra-stream,
  .hero-infra-node { animation: none; }
}

/* hero-sub sits on two explicit lines, with breathing room before the positioning panel */
.hero-sub {
  max-width: 52ch;
  line-height: 1.35;
  margin-bottom: 64px;
}

/* 2 — Strategic positioning statement */
.hero-positioning {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 48px;
  padding: 18px 22px 18px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.022);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  overflow: hidden;
}
.hero-positioning::before {
  content: '';
  position: absolute;
  left: 0; top: 10px; bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(178,100,255,0.45);
}
.hero-positioning-line {
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.55;
  letter-spacing: -0.01em;
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .hero-positioning-line { white-space: normal; }
}
.hero-pos-strong {
  color: #e9e9ee;
  font-weight: 500;
}
.hero-pos-accent {
  background: var(--accent);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-weight: 600;
}

/* 3 — Upgraded metrics bar — spans the full hero content width (same margins as the copy) */
.hero-stats {
  max-width: none;
  width: 100%;
}
.hstat {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 24px 34px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.hstat-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hstat-icon {
  flex: none;
  opacity: 0.85;
  transition: transform 0.3s cubic-bezier(.16,1,.3,1), opacity 0.3s ease, filter 0.3s ease;
}
.hstat:hover {
  background: rgba(255,255,255,0.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 0 36px -8px rgba(178,100,255,0.30);
}
.hstat:hover .hstat-icon {
  transform: translateY(-2px) scale(1.06);
  opacity: 1;
  filter: drop-shadow(0 2px 8px rgba(178,100,255,0.5));
}
@media (max-width: 760px) {
  .hstat { padding: 20px 24px; }
}

/* entrance for the new positioning panel */
.hero > .hero-positioning { animation: heroIn 0.9s cubic-bezier(.16,1,.3,1) 0.50s both; }

/* ─── Hero signature viz: wrapper usage → owned model ─────── */
.hero-viz {
  position: absolute;
  /* full-bleed WITHOUT transform (entrance animations animate transform) */
  top: -8%;
  bottom: -8%;
  left: calc(50% - 50vw);
  width: 100vw;
  z-index: -1;               /* above grid/glow (also -1, earlier in DOM), below content */
  pointer-events: none;
  overflow: hidden;
  /* constant-slope ramp edge-to-edge — both kinks land off-content (≤30% has no canvas
     content; 100% is the right edge), so there is no tonal step anywhere visible */
  -webkit-mask: linear-gradient(to right, transparent 30%, #000 100%);
          mask: linear-gradient(to right, transparent 30%, #000 100%);
  opacity: 0;
  animation: heroVizIn 1.8s cubic-bezier(.16,1,.3,1) 0.35s both;
}
@keyframes heroVizIn { from { opacity: 0; } to { opacity: 0.8; } }
.hero-viz-canvas {
  position: absolute; inset: 0; display: block;
  /* subtle blur — softens the dots into a see-through frosted shimmer */
  filter: blur(1.5px);
}

/* top-right annotation: title + cycling stage readout */
.hv-annot {
  position: absolute;
  top: 10.5%;
  right: 4.5%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 11px;
  text-align: right;
}
.hv-annot-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(214,214,224,0.66);
}
.hv-read {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(222,222,232,0.86);
}
.hv-read-dot {
  align-self: center;
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #6080ff, #ff6fbf);
  box-shadow: 0 0 10px rgba(178,100,255,0.8);
}
.hv-read-idx { color: rgba(150,118,255,0.95); font-size: 10.5px; }
.hv-read-name { min-width: 8.5ch; text-align: left; }
.hv-read-tag { color: var(--fg-dimmer); font-size: 10.5px; letter-spacing: 0.1em; }
.hv-read.is-step .hv-read-name,
.hv-read.is-step .hv-read-idx { animation: hvStep 0.5s cubic-bezier(.16,1,.3,1); }
@keyframes hvStep {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

/* below ~1080px the headline needs the room — dial the viz down */
@media (max-width: 1080px) {
  .hero-viz { opacity: 0.3 !important; animation: none; }
  .hv-annot { display: none; }
}
@media (max-width: 760px) {
  .hero-viz { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-viz { animation: none; opacity: 1; }
}
/* ─── Product demo video showcase ──────────────────────── */
.section.product-demo {
  border-top: none;
}
.section.product-demo::before {
  display: none;
  content: none;
}
.product-demo {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0 clamp(96px, 14vw, 160px);
  overflow: hidden;
}
.product-demo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(96,128,255,0.14), transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(178,100,255,0.10), transparent 65%),
    radial-gradient(ellipse 45% 35% at 85% 20%, rgba(255,111,191,0.08), transparent 60%);
}
.product-demo-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask: radial-gradient(ellipse 80% 75% at 50% 45%, #000 15%, transparent 82%);
  mask: radial-gradient(ellipse 80% 75% at 50% 45%, #000 15%, transparent 82%);
  animation: thesisGridDrift 32s linear infinite;
}
.product-demo-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.product-demo-glow--left {
  top: 8%;
  left: -6%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(96,128,255,0.28), transparent 65%);
}
.product-demo-glow--right {
  bottom: 0%;
  right: -4%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(178,100,255,0.22), transparent 65%);
}
.product-demo-beam {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 28%,
    rgba(120,140,255,0.10) 46%,
    rgba(255,111,191,0.08) 54%,
    transparent 72%);
  background-size: 220% 100%;
  animation: thesisSweep 14s ease-in-out infinite;
}
.product-demo .wrap {
  position: relative;
  z-index: 1;
}
.product-demo-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}
.product-demo-head .label { display: block; margin-bottom: 20px; }
.product-demo-head h2 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.product-demo-head .lede {
  max-width: 52ch;
  margin: 0 auto;
}
.product-demo-stage {
  max-width: min(1120px, 94vw);
  margin: 0 auto;
}
.product-demo-frame {
  position: relative;
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(135deg,
    rgba(96,128,255,0.55) 0%,
    rgba(178,100,255,0.45) 45%,
    rgba(255,111,191,0.4) 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 40px 120px rgba(0,0,0,0.55),
    0 0 80px rgba(96,128,255,0.12);
}
.product-demo-frame-inner {
  position: relative;
  z-index: 1;
  border-radius: 17px;
  background: rgba(8,8,12,0.95);
  padding: clamp(20px, 3vw, 36px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #0a0a0f;
  object-fit: cover;
}
.product-demo-frame-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 2;
  border: 2px solid rgba(178,100,255,0.7);
  pointer-events: none;
}
.product-demo-frame-corner--tl { top: 14px; left: 14px; border-right: none; border-bottom: none; border-radius: 4px 0 0 0; }
.product-demo-frame-corner--tr { top: 14px; right: 14px; border-left: none; border-bottom: none; border-radius: 0 4px 0 0; }
.product-demo-frame-corner--bl { bottom: 14px; left: 14px; border-right: none; border-top: none; border-radius: 0 0 0 4px; }
.product-demo-frame-corner--br { bottom: 14px; right: 14px; border-left: none; border-top: none; border-radius: 0 0 4px 0; }
.product-demo-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.product-demo-caption-label {
  font-weight: 600;
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.product-demo-caption-dot { opacity: 0.4; }
@media (max-width: 760px) {
  .product-demo-frame-corner { width: 20px; height: 20px; }
  .product-demo-frame-corner--tl, .product-demo-frame-corner--tr { top: 10px; }
  .product-demo-frame-corner--bl, .product-demo-frame-corner--br { bottom: 10px; }
  .product-demo-frame-corner--tl, .product-demo-frame-corner--bl { left: 10px; }
  .product-demo-frame-corner--tr, .product-demo-frame-corner--br { right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-demo-grid,
  .product-demo-beam { animation: none; }
}

/* ─── Book a Demo page ─────────────────────────────────── */
.page-demo {
  background: var(--bg);
}

.book-demo {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(100px, 12vw, 140px) 0 clamp(64px, 8vw, 96px);
  overflow: hidden;
}

.book-demo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.book-demo-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask: radial-gradient(ellipse 90% 80% at 50% 50%, #000 20%, transparent 85%);
  mask: radial-gradient(ellipse 90% 80% at 50% 50%, #000 20%, transparent 85%);
  animation: bookDemoGridDrift 40s linear infinite;
}

@keyframes bookDemoGridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(56px, 56px); }
}

.book-demo-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.book-demo-glow--left {
  top: 10%;
  left: -8%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(96,128,255,0.18), transparent 65%);
  animation: bookDemoGlowPulse 8s ease-in-out infinite;
}

.book-demo-glow--right {
  bottom: 5%;
  right: -6%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(178,100,255,0.14), transparent 65%);
  animation: bookDemoGlowPulse 8s ease-in-out infinite 2s;
}

@keyframes bookDemoGlowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.book-demo-beam {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 30%,
    rgba(120,140,255,0.06) 48%,
    rgba(255,111,191,0.05) 52%,
    transparent 70%);
  background-size: 240% 100%;
  animation: thesisSweep 16s ease-in-out infinite;
}

.book-demo-frame-lines {
  position: absolute;
  inset: 0;
}

.book-demo-vline {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.book-demo-vline--left {
  left: var(--pad);
}

.book-demo-vline--center {
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.6;
}

.book-demo-vline--right {
  right: var(--pad);
}

.book-demo-vline::before,
.book-demo-vline::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
}

.book-demo-vline::before { top: clamp(100px, 12vw, 140px); }
.book-demo-vline::after { bottom: clamp(64px, 8vw, 96px); }

.book-demo-hline {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: clamp(100px, 12vw, 140px);
  height: 1px;
  background: var(--line);
}

.book-demo-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.book-demo-copy .label {
  display: block;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.book-demo-copy h1 {
  margin-bottom: clamp(24px, 3vw, 36px);
  font-weight: 600;
  font-feature-settings: "ss01";
}

.book-demo-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--fg);
  line-height: 1.55;
  max-width: 34ch;
}

.book-demo-lede + .book-demo-lede {
  margin-top: 8px;
}

.book-demo-lede--dim {
  color: var(--fg-dim);
}

.book-demo-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: clamp(32px, 4vw, 48px);
}

.book-demo-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--fg-dim);
  font-weight: 500;
}

.book-demo-perk-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6080ff, #ff6fbf);
  box-shadow: 0 0 10px rgba(178,100,255,0.5);
}

.book-demo-widget {
  position: relative;
}

.book-demo-widget-frame {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 24px 80px rgba(0,0,0,0.45),
    0 8px 32px rgba(96,128,255,0.08);
  min-height: 680px;
}

.book-demo-calendly {
  min-width: 320px;
  height: 680px;
}

.book-demo-animate {
  opacity: 0;
  animation: bookDemoFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.book-demo-animate--1 { animation-delay: 0.15s; }
.book-demo-animate--2 { animation-delay: 0.35s; }

@keyframes bookDemoFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-demo .footer {
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .book-demo-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .book-demo-vline--center {
    display: none;
  }

  .book-demo-widget-frame,
  .book-demo-calendly {
    min-height: 620px;
    height: 620px;
  }
}

@media (max-width: 560px) {
  .book-demo-vline--left,
  .book-demo-vline--right {
    display: none;
  }

  .book-demo-widget-frame,
  .book-demo-calendly {
    min-height: 580px;
    height: 580px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-demo-grid,
  .book-demo-beam,
  .book-demo-glow--left,
  .book-demo-glow--right,
  .book-demo-animate {
    animation: none;
  }

  .book-demo-animate {
    opacity: 1;
  }
}


.hero-startx {
  width: min(720px, calc(100% - 120px));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 22px 28px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  box-shadow: 0 22px 70px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.hero-startx-logo-wrap {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 196px;
  min-height: 62px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 8px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 12px 34px rgba(0,0,0,0.22);
}

.hero-startx-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-startx-copy {
  min-width: 0;
}

.hero-startx-kicker {
  display: block;
  margin-bottom: 7px;
  color: rgba(255,255,255,0.48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-startx-copy p {
  margin: 0;
  color: #f2f2f6;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero > .hero-startx, .hero > .hero-updates { animation: heroIn 0.9s cubic-bezier(.16,1,.3,1) 0.95s both; }
.page-home .hero { padding-bottom: 40px; }
.page-home .hero + #problem { padding-top: clamp(64px, 9vw, 120px); }
.hero-updates {
  width: 100%;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 12px;
}
.hero-updates-label { margin: 0 0 2px; grid-column: 1 / -1; }
.hero-updates .hero-startx {
  width: 100%;
  margin: 0;
  justify-content: flex-start;
  gap: 18px;
  padding: 14px 18px;
}
.hero-updates .hero-startx-logo-wrap { width: 132px; min-height: 48px; padding: 8px 12px; }
.hero-updates .hero-startx-logo-wrap--photo { padding: 0; height: 56px; overflow: hidden; background: #fff; }
.hero-updates .hero-startx-logo-wrap--photo .hero-startx-logo { height: 100%; object-fit: cover; object-position: top left; }
.hero-updates .hero-startx-copy p { font-size: clamp(14px, 1.4vw, 16px); font-weight: 600; line-height: 1.35; }
.hero-startx--link { color: inherit; text-decoration: none; transition: border-color 0.25s, transform 0.25s; }
.hero-startx--link:hover { border-color: rgba(255,255,255,0.28); transform: translateY(-2px); }
@media (max-width: 760px) {
  .hero-updates { margin-top: 22px; }
  .hero-updates .hero-startx { flex-direction: row; align-items: center; padding: 12px; gap: 12px; }
  .hero-updates .hero-startx-logo-wrap { width: 96px; min-height: 40px; }
}

@media (max-width: 760px) {
  .hero-startx {
    width: 100%;
    margin-top: 22px;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-startx-logo-wrap {
    width: min(210px, 100%);
    min-height: 56px;
  }
}
