/* =========================================================================
   Shipsy × Gartner 2026 — prototype v2
   Design tokens, layout, motion. No build step; vanilla CSS.
   ========================================================================= */

:root {
  /* palette */
  --bg-0: #07090d;
  --bg-1: #0b0e14;
  --bg-2: #11151c;
  --line: rgba(255,255,255,0.06);
  --line-2: rgba(255,255,255,0.10);
  --ink: #e8eaee;
  --ink-mute: #9aa1ad;
  --ink-dim: #5a6068;

  --orange: #ed5a2a;
  --orange-soft: rgba(237,90,42,0.14);
  --orange-edge: rgba(237,90,42,0.45);

  --green: #5fc26f;
  --green-soft: rgba(95,194,111,0.14);
  --amber: #f0b341;
  --amber-soft: rgba(240,179,65,0.14);
  --blue: #6db8ff;
  --blue-soft: rgba(109,184,255,0.14);

  /* type */
  --f-sans: 'Inter', -apple-system, system-ui, sans-serif;
  --f-serif: 'Inter', -apple-system, system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* radius / shadow */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;

  /* nav height (used to offset snap top) */
  --nav-h: 64px;
}

/* ─────────────────────────────────────────────────────────────────────────
   LIGHT THEME — toggled via [data-theme="light"] on <html>
   Only chrome (bg / ink / line) flips; brand --orange (or --blue in the
   blue variant) stays identical so the identity holds across both modes.
   ───────────────────────────────────────────────────────────────────────── */
html[data-theme="light"] {
  --bg-0: #f6f7fa;
  --bg-1: #ffffff;
  --bg-2: #ffffff;
  --line:   rgba(15,20,30,0.08);
  --line-2: rgba(15,20,30,0.14);
  --ink:      #0f1419;
  --ink-mute: #4a5160;
  --ink-dim:  #8a909b;

  --orange-soft: rgba(237,90,42,0.10);
  --orange-edge: rgba(237,90,42,0.45);
  --green-soft:  rgba(95,194,111,0.10);
  --amber-soft:  rgba(240,179,65,0.10);
  --blue-soft:   rgba(109,184,255,0.10);
}

/* The matrix init terminals (hero + control tower) are deliberately dark UI
   surfaces — they must keep their terminal aesthetic in light mode too. */
html[data-theme="light"] .hero-matrix,
html[data-theme="light"] .ct-init-card {
  background: #0b0e14;
  border: 1px solid rgba(95, 194, 111, 0.18);
  color: #e8eaee;
}
html[data-theme="light"] .matrix-head,
html[data-theme="light"] .ct-init-head {
  border-bottom: 1px solid rgba(95,194,111,0.18);
}
html[data-theme="light"] .matrix-body,
html[data-theme="light"] .ct-init-body { color: #5fc26f; }
html[data-theme="light"] .matrix-text { color: rgba(220,238,224,0.92); }
html[data-theme="light"] .matrix-text b { color: #a8e6b3; }
html[data-theme="light"] .ct-init-title { color: #5fc26f; }

/* In light mode, faint white tints on surfaces would be invisible — flip them */
html[data-theme="light"] .feed-item,
html[data-theme="light"] .arch-tile,
html[data-theme="light"] .arch-layer { background: rgba(15,20,30,0.025); }
html[data-theme="light"] .logo-pill { background: rgba(15,20,30,0.035); border-color: var(--line); }

/* Outcomes / stat cards / cards use a faintly elevated bg — give them substance */
html[data-theme="light"] .outcome-card,
html[data-theme="light"] .soa-card,
html[data-theme="light"] .ct-card,
html[data-theme="light"] .hero-stats-card,
html[data-theme="light"] .schedule-card,
html[data-theme="light"] .badge,
html[data-theme="light"] .arch-col,
html[data-theme="light"] .stack-layer {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(15,20,30,0.04), 0 4px 20px rgba(15,20,30,0.04);
}

/* Topnav: solid white with a soft bottom border instead of frosted dark */
html[data-theme="light"] .topnav {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
/* The white Shipsy wordmark PNG is invisible on a white nav — invert it to black */
html[data-theme="light"] .brand-logo { filter: invert(1) brightness(0.85); }

/* Gate page: keep its dramatic darker treatment even in light mode (it's a brand moment) */
html[data-theme="light"] .gate {
  background: #0b0e14;
  color: #e8eaee;
}
html[data-theme="light"] .gate-title,
html[data-theme="light"] .gate-sub,
html[data-theme="light"] .gate-tag,
html[data-theme="light"] .gate-label,
html[data-theme="light"] .gate-input { color: #e8eaee; }
html[data-theme="light"] .gate-input { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.10); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg-0); color: var(--ink); font-family: var(--f-sans); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; }

/* Lock UI state: hide everything except the gate until unlocked */
body.locked { min-height: 100vh; }
body.locked .topnav,
body.locked main.snap { display: none !important; }
body:not(.locked) .gate { display: none !important; }

/* ========================== PASSWORD GATE ========================== */
.gate {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: var(--bg-0);
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 64px 80px 32px;
  overflow: hidden;
}
.gate-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 70% at 50% 50%, #000 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000 50%, transparent 100%);
}
.gate-inner {
  position: relative; max-width: 720px;
  width: 100%;
  align-self: center;
}
.gate-mark { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.gate-line {
  width: 56px; height: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--green) 100%);
}
.gate-eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--green); text-transform: uppercase;
}
.gate-title {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(48px, 6.4vw, 88px); line-height: 1.0; letter-spacing: -0.025em;
  color: var(--ink);
}
.gate-sub {
  margin-top: 18px; font-size: 16px; color: var(--ink-mute);
}
.gate-form {
  margin-top: 36px; max-width: 620px;
  display: flex; flex-direction: column; gap: 0;
}
.gate-label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink-dim); text-transform: uppercase;
  margin-bottom: 10px;
}
.gate-input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
  font-family: var(--f-sans); font-size: 16px;
  padding: 18px 20px;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.gate-input:focus { border-color: var(--orange-edge); background: rgba(255,255,255,0.05); }
.gate-button {
  margin-top: 14px;
  background: var(--orange); color: #fff; border: 0;
  border-radius: var(--r);
  padding: 18px 22px;
  font-family: var(--f-sans); font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.gate-button:hover { background: #ff6633; transform: translateY(-1px); }
.gate-error {
  min-height: 20px; margin-top: 14px;
  font-family: var(--f-mono); font-size: 12px;
  color: #f06a55; letter-spacing: 0.02em;
}
.gate-foot {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding-top: 24px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-mute);
}
.gate-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
  color: var(--ink);
}
.gate-tag-dot { color: var(--ink-dim); }
.gate-tag-dim { color: var(--ink-dim); margin-left: auto; }

@media (max-width: 768px) {
  .gate { padding: 40px 28px 24px; }
}

/* ========================== TOP NAV ========================== */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(7,9,13,0.72);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topnav-inner {
  max-width: 1400px; margin: 0 auto; height: 100%;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 0 28px;
}
.topnav-left { display: flex; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -0.01em; }
.brand svg { color: var(--orange); }
.brand-logo { height: 22px; width: auto; display: block; }
@media (max-width: 768px) { .brand-logo { height: 18px; } }
.divider { width: 1px; height: 18px; background: var(--line-2); }
.event-badge {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--ink-mute); display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase;
}
.event-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft);
}
.topnav-mid { display: flex; justify-content: center; gap: 24px; }
.topnav-mid a {
  font-size: 13.5px; font-weight: 450; color: var(--ink-mute);
  transition: color .18s ease;
}
.topnav-mid a:hover { color: var(--ink); }
.topnav-right { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }

/* Light / dark theme toggle */
.theme-toggle {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-2);
  border-radius: 999px; cursor: pointer; color: var(--ink-mute);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-mute); }
.theme-toggle .theme-icon { display: none; }
.theme-toggle .theme-icon-sun  { display: block; }   /* dark mode (default): shows sun = "switch to light" */
html[data-theme="light"] .theme-toggle .theme-icon-sun  { display: none; }
html[data-theme="light"] .theme-toggle .theme-icon-moon { display: block; }

.cta-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff; border: 0;
  padding: 10px 16px; border-radius: 999px;
  font-family: var(--f-sans); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.cta-pill:hover { background: #ff6633; transform: translateY(-1px); }
.cta-pill .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.25);
  animation: pulse 1.6s infinite ease-in-out;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,255,255,0.25); }
  50%      { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}

/* ========================== SNAP CONTAINER ========================== */
.snap {
  height: 100vh;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  scroll-behavior: smooth;
}
.snap::-webkit-scrollbar { width: 0; }
.screen {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: calc(var(--nav-h) + 56px) 56px 56px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}

/* common eyebrow / header treatments */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-mute); text-transform: uppercase;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
}
.screen-header { max-width: 880px; margin-bottom: 48px; }
.screen-title {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.02em;
  color: var(--ink); margin-top: 16px;
}
.screen-title em { font-style: italic; color: var(--orange); }
.screen-sub {
  font-size: 17px; line-height: 1.55; color: var(--ink-mute);
  max-width: 640px; margin-top: 18px;
}

/* ========================== 1. HERO ========================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: radial-gradient(60% 70% at 100% 0%, rgba(237,90,42,0.10) 0%, transparent 60%),
              radial-gradient(50% 60% at 0% 100%, rgba(109,184,255,0.06) 0%, transparent 60%),
              var(--bg-0);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 70% at 50% 50%, #000 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000 50%, transparent 100%);
}

/* hero left — feed (legacy) */
.hero-left {
  position: relative; height: 60vh; max-height: 600px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(11,14,20,0) 0%, rgba(11,14,20,0.6) 60%, rgba(11,14,20,0.95) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}

/* hero left — Matrix-style init terminal (current) */
.hero-matrix {
  background: var(--bg-1);
  border: 1px solid rgba(95, 194, 111, 0.18);
  box-shadow: inset 0 0 0 1px rgba(95, 194, 111, 0.04);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 0;
}
.hero-matrix::before, .hero-matrix::after { content: none; }
.matrix-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(95,194,111,0.05), transparent);
  border-bottom: 1px solid rgba(95,194,111,0.18);
}
.matrix-dot {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block; flex-shrink: 0;
}
.matrix-dot.dot-r { background: #e84a3b; }
.matrix-dot.dot-y { background: #f0b341; }
.matrix-dot.dot-g { background: #5fc26f; }
.matrix-title {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--green); text-transform: uppercase; margin-left: 8px;
}
.matrix-stat {
  margin-left: auto;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--green); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.matrix-body {
  flex: 1; padding: 18px 20px 20px;
  overflow: hidden; position: relative;
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--f-mono); font-size: 13px; line-height: 1.5;
  color: var(--green);
}
.matrix-body::after {
  /* subtle scanline overlay */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom, transparent 0 3px, rgba(95,194,111,0.03) 3px 4px
  );
}
.matrix-line {
  display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: baseline;
  animation: matrixIn .35s ease-out both;
}
@keyframes matrixIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.matrix-arrow { color: rgba(95,194,111,0.55); }
.matrix-text { color: rgba(220,238,224,0.92); }
.matrix-text b { color: #a8e6b3; font-weight: 500; }
.matrix-status { color: var(--green); font-weight: 500; }
.matrix-cursor {
  display: inline-block; width: 7px; height: 14px; background: var(--green);
  margin-left: 6px; vertical-align: middle;
  animation: cursorBlink 1.1s steps(2) infinite;
}
@keyframes cursorBlink { 50% { opacity: 0; } }
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 4px var(--green-soft); }
  50%      { box-shadow: 0 0 0 8px rgba(95,194,111,0); }
}
.hero-feed {
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--f-mono); font-size: 12.5px; line-height: 1.5;
}
.feed-item {
  display: grid; grid-template-columns: 56px 100px 1fr; gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.02);
  animation: feedIn .55s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes feedIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.feed-time { color: var(--ink-dim); }
.feed-agent { font-weight: 500; }
.feed-agent.atlas { color: var(--orange); }
.feed-agent.clara { color: var(--green); }
.feed-agent.nexa  { color: var(--blue); }
.feed-agent.vera  { color: var(--amber); }
.feed-agent.astra { color: #c89dff; }
.feed-body { color: var(--ink); font-family: var(--f-sans); font-size: 13px; }
.feed-body strong { color: var(--ink); font-weight: 600; }
.feed-tag {
  display: inline-block; margin-left: 6px;
  font-size: 10.5px; padding: 1px 6px; border-radius: 4px;
  background: var(--green-soft); color: var(--green);
  font-family: var(--f-mono);
}
.feed-tag.amber { background: var(--amber-soft); color: var(--amber); }

/* hero right — headline */
.hero-right { padding: 0 8px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-mute); text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-headline {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(48px, 6.6vw, 92px);
  line-height: 0.98; letter-spacing: -0.025em; color: var(--ink);
}
.hero-headline em { color: var(--orange); font-style: italic; }
.hero-sub {
  margin-top: 28px; font-size: 18px; line-height: 1.55;
  color: var(--ink-mute); max-width: 540px;
}
.hero-sub em { color: var(--ink); font-style: normal; font-weight: 500; }
.hero-meta {
  display: grid; grid-template-columns: repeat(3, auto); gap: 36px;
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 600px;
}
.meta-k { font-family: var(--f-serif);
  font-weight: 500; font-size: 36px; line-height: 1; color: var(--ink); }
.meta-v { font-size: 12px; color: var(--ink-mute); margin-top: 6px; max-width: 140px; line-height: 1.4; }

/* ----- Hero CTAs (old-site shape: primary + ghost) ----- */
.hero-ctas {
  display: flex; align-items: center; gap: 14px;
  margin-top: 24px;
}
.hero-cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.hero-cta-primary:hover { background: #ff6633; transform: translateY(-1px); }
.hero-cta-secondary {
  font-family: var(--f-sans); font-size: 13.5px; color: var(--ink-mute);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease;
}
.hero-cta-secondary:hover { color: var(--ink); border-color: var(--line-2); }

/* ----- Hero stats card (right-side card with 2x2 grid + bullets) ----- */
.hero-stats-card {
  margin-top: 28px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 24px 18px;
}
.hero-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-k {
  font-family: var(--f-serif);
  font-weight: 500; font-size: 38px; line-height: 1;
  color: var(--orange);
}
.hero-stat-k .x, .hero-stat-k .plus {
  color: var(--ink-mute); font-size: 0.7em; font-style: italic; margin-left: 2px;
}
.hero-stat-v {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em;
  color: var(--ink-mute); text-transform: uppercase; line-height: 1.4;
  margin-top: 4px;
}
.hero-stats-bullets {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  padding-top: 14px;
}
.hero-stats-bullets li {
  font-size: 13px; line-height: 1.45; color: var(--ink);
  padding-left: 18px; position: relative;
}
.hero-stats-bullets li::before {
  content: ''; position: absolute; left: 4px; top: 6px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--orange);
}

/* hero reveal */
.reveal { opacity: 0; transform: translateY(14px); animation: rIn .9s cubic-bezier(.2,.7,.2,1) both; }
.r1 { animation-delay: 0.6s; }
.r2 { animation-delay: 1.0s; }
.r3 { animation-delay: 1.6s; }
.r4 { animation-delay: 2.0s; }
@keyframes rIn { to { opacity: 1; transform: translateY(0); } }

.hero-scrollhint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.18em;
  color: var(--ink-dim); text-transform: uppercase;
}
.scrollhint-line {
  width: 1px; height: 36px; background: linear-gradient(to bottom, var(--ink-dim), transparent);
  animation: hint 2s ease-in-out infinite;
}
@keyframes hint {
  0%, 100% { opacity: 0.4; transform: scaleY(1); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1.25); }
}

/* ========================== 2. OUTCOMES ========================== */
.outcomes { background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%); }
.outcome-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  max-width: 1320px; width: 100%;
}
.outcome-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s ease, border-color .25s ease;
}
.outcome-card:hover { transform: translateY(-3px); border-color: var(--orange-edge); }
.outcome-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--orange); border-radius: 3px 0 0 3px;
}
.oc-logo {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink); text-transform: uppercase;
}
.oc-logo .by { color: var(--ink-dim); font-size: 10px; letter-spacing: 0.06em; margin-left: 4px; }
.oc-headline {
  font-family: var(--f-serif); font-weight: 600;
  font-size: 26px; line-height: 1.18; color: var(--ink);
  letter-spacing: -0.01em;
}
.oc-headline em { font-style: italic; color: var(--orange); }
.oc-body {
  font-size: 13.5px; line-height: 1.55; color: var(--ink-mute);
}
.oc-tag {
  display: inline-block; margin-left: 4px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.05em;
  padding: 2px 8px; border-radius: 4px;
  background: rgba(237,90,42,0.10); color: var(--orange);
}
.oc-stat {
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 10px;
}
.oc-stat-k { font-family: var(--f-serif);
  font-weight: 500; font-size: 24px; color: var(--ink); }
.oc-stat-v { font-size: 12px; color: var(--ink-mute); }

/* Markers for invented numbers we still need to replace with real data. */
.tbd {
  display: inline-block;
  font-family: var(--f-mono) !important;
  font-size: 11px !important;
  font-style: normal !important;
  letter-spacing: 0.06em;
  color: var(--amber) !important;
  background: var(--amber-soft);
  padding: 2px 8px;
  border-radius: 4px;
  vertical-align: middle;
  text-transform: uppercase;
}
.oc-stat-k.tbd, .kpi-k.tbd {
  font-size: 12px !important;
  padding: 4px 10px;
}

/* Four big horizontal stat blocks (replaces 6 texty customer cards) */
.stat-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%; max-width: 1320px; align-self: center;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
}
.stat-block {
  position: relative;
  padding: 36px 32px 32px;
  display: flex; flex-direction: column; gap: 8px;
  border-right: 1px solid var(--line);
  transition: background .2s ease;
}
.stat-block::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  animation: statBarIn 1.2s ease-out .3s forwards;
}
.stat-block:nth-child(2)::before { background: var(--green); animation-delay: .45s; }
.stat-block:nth-child(3)::before { background: var(--blue);  animation-delay: .6s; }
.stat-block:nth-child(4)::before { background: var(--amber); animation-delay: .75s; }
@keyframes statBarIn { to { transform: scaleX(1); } }
.stat-block:last-child { border-right: 0; }
.stat-block:hover { background: rgba(255,255,255,0.02); }
.stat-block-k {
  font-family: var(--f-serif);
  font-weight: 500; font-size: clamp(48px, 5.6vw, 76px);
  line-height: 1; color: var(--ink); letter-spacing: -0.025em;
}
.stat-block:nth-child(1) .stat-block-k { color: var(--orange); }
.stat-block:nth-child(2) .stat-block-k { color: var(--green); }
.stat-block:nth-child(3) .stat-block-k { color: var(--blue); }
.stat-block:nth-child(4) .stat-block-k { color: var(--amber); }
.stat-block-l {
  font-family: var(--f-sans); font-size: 15px; font-weight: 500;
  color: var(--ink); margin-top: 6px;
}
.stat-block-c {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-mute); text-transform: uppercase;
}

@media (max-width: 1024px) { .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-block { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-block:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat-block:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 560px)  { .stat-row { grid-template-columns: 1fr; }
  .stat-block { border-right: 0; }
  .stat-block:nth-child(odd) { border-right: 0; } }

.outcomes-footer {
  margin-top: 28px; max-width: 100%; width: 100%;
  display: flex; flex-direction: column; gap: 14px;
}
.trusted-label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--ink-dim); text-transform: uppercase;
  text-align: center;
}

/* ------- Customer logo marquee (continuous horizontal scroll) ------- */
.marquee {
  position: relative; width: 100%; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  padding: 16px 0;
}
.marquee-track {
  display: flex; gap: 36px; width: max-content;
  animation: marqueeSlide 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-logo {
  flex-shrink: 0; height: 32px;
  display: flex; align-items: center; gap: 8px;
  filter: grayscale(1) brightness(1.6) contrast(0.9);
  opacity: 0.62;
  transition: opacity .2s ease, filter .2s ease;
}
.marquee-logo:hover { opacity: 1; filter: grayscale(0) brightness(1); }
.marquee-logo img {
  height: 100%; width: auto; max-width: 140px;
  object-fit: contain;
}
.marquee-logo .ml-fallback {
  font-family: var(--f-mono); font-size: 13px; color: var(--ink);
  letter-spacing: 0.04em; white-space: nowrap;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 4px;
  background: rgba(255,255,255,0.025);
}

/* ==========================================================================
   SoA OVER SoR — the brand anchor section
   ========================================================================== */
.soa {
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(237,90,42,0.08), transparent 60%),
    radial-gradient(50% 60% at 100% 100%, rgba(95,194,111,0.04), transparent 60%),
    var(--bg-0);
  align-items: center;
  text-align: center;
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 36px;
}
.soa-eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--orange); text-transform: uppercase; margin-bottom: 18px;
}
.soa-title {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(48px, 6.6vw, 92px); line-height: 0.98; letter-spacing: -0.025em;
  color: var(--ink); max-width: 1100px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  gap: 12px 18px;
}
.soa-strike {
  position: relative; color: var(--ink-mute);
}
.soa-strike::after {
  content: ''; position: absolute; left: -1%; right: -1%; top: 56%;
  height: 6px; background: var(--orange); border-radius: 6px;
  transform-origin: left center;
  animation: strikeIn 1.0s cubic-bezier(.7,.2,.2,1) 0.5s both;
}
@keyframes strikeIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.soa-arrow { color: var(--orange); font-style: normal; font-family: var(--f-sans); font-weight: 400; font-size: 0.8em; }
.soa-em { color: var(--orange); font-style: italic; }

.soa-sub {
  margin-top: 24px; max-width: 760px;
  font-size: 19px; line-height: 1.5; color: var(--ink-mute);
}
.soa-sub em { color: var(--ink); font-style: italic; }

.soa-split {
  display: grid; grid-template-columns: 1fr 80px 1fr; gap: 0;
  width: 100%; max-width: 1320px; margin-top: 48px; align-items: stretch;
}
.soa-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 32px 28px; text-align: left;
  display: flex; flex-direction: column; gap: 16px;
}
.soa-sor {
  opacity: 0.78;
  background: linear-gradient(180deg, rgba(154,161,173,0.04), transparent 50%);
}
.soa-soa-card {
  border-color: var(--orange-edge);
  background: linear-gradient(180deg, rgba(237,90,42,0.08), rgba(237,90,42,0.02));
  box-shadow: 0 24px 64px rgba(237,90,42,0.08);
}
.soa-card-tag {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink-mute); text-transform: uppercase;
  padding: 5px 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  border-radius: 999px; align-self: flex-start;
}
.soa-card-tag.accent { color: var(--orange); background: var(--orange-soft); border-color: var(--orange-edge); }
.soa-card-h {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; color: var(--ink);
  letter-spacing: -0.01em;
}
.soa-card-h em { font-style: italic; color: var(--orange); }
.soa-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.soa-list li {
  font-size: 14.5px; line-height: 1.5; color: var(--ink-mute);
  padding-left: 22px; position: relative;
}
.soa-sor .soa-list li::before {
  content: '×'; position: absolute; left: 0; top: 0;
  color: var(--ink-dim); font-size: 16px;
}
.soa-soa-card .soa-list li::before {
  content: '→'; position: absolute; left: 0; top: 0;
  color: var(--orange); font-weight: 600;
}
.soa-card-mood {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-dim); text-transform: uppercase;
}
.soa-card-mood.accent { color: var(--orange); }

.soa-arrow-block {
  display: flex; align-items: center; justify-content: center;
}
.soa-pulse-line {
  display: flex; flex-direction: column; gap: 14px;
}
.soa-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-soft);
  animation: pulse-walk 1.8s ease-in-out infinite;
}
.soa-pulse:nth-child(2) { animation-delay: 0.3s; }
.soa-pulse:nth-child(3) { animation-delay: 0.6s; }
@keyframes pulse-walk {
  0%, 100% { opacity: 0.3; transform: scale(0.85); }
  50%      { opacity: 1;   transform: scale(1.2); }
}

.soa-footer {
  margin-top: 36px;
  display: flex; align-items: baseline; justify-content: center; gap: 24px;
  width: 100%; max-width: 1100px;
  padding: 22px 28px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.02);
  flex-wrap: wrap;
}
.soa-pillar { display: flex; align-items: baseline; gap: 8px; }
.soa-pillar-k {
  font-family: var(--f-serif);
  font-weight: 500; font-size: 56px; line-height: 1; color: var(--ink);
}
.soa-pillar.accent .soa-pillar-k { color: var(--orange); }
.soa-pillar-v { font-size: 14px; color: var(--ink-mute); }
.soa-vs {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em;
  color: var(--ink-dim); text-transform: uppercase;
}
.soa-pillar-cta {
  margin-left: auto;
  font-family: var(--f-serif);
  font-weight: 500; font-style: italic;
  font-size: 22px; color: var(--ink);
}

@media (max-width: 1024px) {
  .soa-split { grid-template-columns: 1fr; gap: 16px; }
  .soa-arrow-block { display: none; }
  .soa-footer { flex-direction: column; gap: 12px; align-items: flex-start; }
  .soa-pillar-cta { margin-left: 0; font-size: 18px; }
}
@media (max-width: 640px) {
  .soa-title { font-size: clamp(36px, 9vw, 56px); gap: 6px 12px; }
  .soa-sub { font-size: 15px; }
  .soa-card { padding: 24px 22px 20px; }
  .soa-pillar-k { font-size: 40px; }
}

/* ========================== INDUSTRIES (Who We Solve For) ========================== */
.industries { background: var(--bg-1); }
.industries-wrap {
  display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 56px;
  max-width: 1320px; width: 100%; align-self: center; flex: 1;
  align-items: start;
}
.ind-aside { position: sticky; top: calc(var(--nav-h) + 48px); }
.ind-title {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(36px, 4.0vw, 52px); line-height: 1.04; letter-spacing: -0.02em;
  margin-top: 16px;
}
.ind-title em { font-style: italic; color: var(--orange); }
.ind-sub { font-size: 15px; line-height: 1.55; color: var(--ink-mute); margin-top: 16px; max-width: 320px; }

.ind-nav {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 4px;
  border-left: 1px solid var(--line);
}
.ind-tab {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px;
  align-items: center;
  padding: 14px 18px;
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--f-sans); font-size: 15px; color: var(--ink-mute);
  text-align: left; transition: color .2s ease, background .2s ease;
  position: relative;
}
.ind-tab::before {
  content: ''; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 2px;
  background: transparent; transition: background .2s ease;
}
.ind-tab:hover { color: var(--ink); }
.ind-tab.active { color: var(--ink); background: rgba(255,255,255,0.025); }
.ind-tab.active::before { background: var(--orange); }
.ind-tab-no { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-dim); }
.ind-tab.active .ind-tab-no { color: var(--orange); }
.ind-tab-name { font-size: 14.5px; font-weight: 500; line-height: 1.3; }

.ind-panels { position: relative; min-height: 540px; }
.ind-panel {
  display: none; flex-direction: column; gap: 22px;
  animation: indFade .35s ease both;
}
.ind-panel.active { display: flex; }
@keyframes indFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.ind-eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--green); text-transform: uppercase;
}
.ind-headline {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.02em;
}
.ind-headline em { font-style: italic; color: var(--orange); }
.ind-body { font-size: 16px; line-height: 1.6; color: var(--ink-mute); max-width: 720px; }

.ind-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.ind-stat { display: flex; flex-direction: column; gap: 6px; }
.ind-stat-k { font-family: var(--f-serif);
  font-weight: 500; font-size: 36px; line-height: 1; color: var(--orange); }
.ind-stat-v { font-size: 12.5px; color: var(--ink-mute); }

.ind-caps {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.ind-cap {
  font-size: 13px; padding: 7px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); background: rgba(255,255,255,0.02);
}
.ind-cap::before { content: '·  '; color: var(--green); }

.ind-proof {
  margin-top: 6px; padding: 16px 20px;
  border-left: 3px solid var(--orange); border-radius: 0 var(--r) var(--r) 0;
  background: linear-gradient(90deg, rgba(237,90,42,0.06), transparent 65%);
}
.ind-proof-tag {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--orange); text-transform: uppercase; margin-bottom: 6px;
}
.ind-proof-p { font-size: 14px; line-height: 1.55; color: var(--ink); }
.ind-proof-p strong { color: var(--orange); font-weight: 500; }

.ind-customers {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.ind-cust-label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--ink-dim); text-transform: uppercase; margin-right: 6px;
}
.ind-cust {
  font-family: var(--f-mono); font-size: 12px; color: var(--ink);
  padding: 6px 12px; border-radius: 6px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
}

/* ========================== HOW IT WORKS — layered SOA architecture + SOR bridge ========================== */
.arch-v2-board {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px;
  max-width: 1320px; width: 100%; align-self: center;
  align-items: start;
}
.arch-v2-stack {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 0 0 18px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.arch-v2-window {
  background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--line);
  padding: 10px 16px; display: flex; align-items: center; gap: 10px;
}
.arch-v2-window-title {
  margin-left: 6px; font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.12em; color: var(--ink-mute); text-transform: uppercase;
}

.arch-v2-layer {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px;
  padding: 14px 18px; margin: 10px 14px 0; border-radius: var(--r);
  background: rgba(255,255,255,0.02); border: 1px solid var(--line);
  transition: border-color .2s ease, background .2s ease;
}
.arch-v2-layer:hover { border-color: var(--line-2); }
.arch-v2-layer-no {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-dim); text-align: center; padding-top: 4px;
}
.arch-v2-layer-h { font-family: var(--f-sans); font-weight: 500; font-size: 16px; color: var(--ink); }
.arch-v2-layer-sub { font-size: 12.5px; color: var(--ink-mute); margin-top: 4px; }
.arch-v2-chips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.arch-v2-chip {
  font-family: var(--f-mono); font-size: 10.5px;
  padding: 4px 9px; border-radius: 5px;
  background: rgba(255,255,255,0.03); color: var(--ink);
  border: 1px solid var(--line);
}

.arch-v2-l1 { border-left: 2px solid var(--orange); }
.arch-v2-l1 .arch-v2-chip { color: var(--orange); border-color: var(--orange-edge); background: var(--orange-soft); }
.arch-v2-l2 { border-left: 2px solid #c89dff; }
.arch-v2-l2 .arch-v2-chip { color: #d2b4ff; border-color: rgba(200,157,255,0.4); background: rgba(200,157,255,0.10); }
.arch-v2-l3 { border-left: 2px solid var(--blue); }
.arch-v2-l3 .arch-v2-chip { color: var(--blue); border-color: rgba(109,184,255,0.4); background: var(--blue-soft); }
.arch-v2-l4 { border-left: 2px solid var(--green); }
.arch-v2-l4 .arch-v2-chip { color: var(--green); border-color: rgba(95,194,111,0.4); background: var(--green-soft); }

/* the bridge — animated arrows between SOA and SOR */
.arch-v2-bridge {
  position: relative; height: 56px; margin: 14px 22px 6px;
  display: flex; align-items: center; justify-content: center; gap: 22px;
}
.arch-v2-arrow {
  width: 1px; height: 32px;
  background: linear-gradient(180deg, var(--orange) 0%, transparent 100%);
  position: relative;
  animation: archDown 2.4s ease-in-out infinite;
}
.arch-v2-arrow::after {
  content: ''; position: absolute; bottom: -2px; left: -4px;
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--orange); border-bottom: 1.5px solid var(--orange);
  transform: rotate(45deg);
}
.arch-v2-arrow-2 { animation-delay: 0.6s; }
.arch-v2-arrow-3 { animation-delay: 1.2s; }
@keyframes archDown {
  0%, 100% { opacity: 0.25; transform: translateY(-4px); }
  50%      { opacity: 1;    transform: translateY( 4px); }
}
.arch-v2-bridge-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  padding: 4px 10px; border: 1px solid var(--orange-edge); border-radius: 999px;
  background: var(--bg-2);
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.06em;
  color: var(--orange); text-transform: uppercase; white-space: nowrap;
}

.arch-v2-sor {
  margin: 0 14px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--line-2); border-radius: var(--r);
  padding: 14px 16px;
}
.arch-v2-sor-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-bottom: 12px;
}
.arch-v2-sor-tag {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-mute); text-transform: uppercase;
}
.arch-v2-sor-note { font-size: 11.5px; color: var(--ink-dim); }
.arch-v2-sor-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.arch-v2-sor-tile {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 10px 12px;
  display: flex; flex-direction: column; gap: 4px;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.arch-v2-sor-tile.on { border-color: var(--orange-edge); background: var(--orange-soft); }
.arch-v2-sor-l { font-family: var(--f-sans); font-weight: 500; font-size: 13px; color: var(--ink); }
.arch-v2-sor-s { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-dim); }

/* RIGHT side — the SOR-tab interactive */
.arch-v2-side {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px 24px 22px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.arch-v2-side-eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--orange); text-transform: uppercase;
}
.arch-v2-side-h {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; color: var(--ink);
}
.arch-v2-side-h em { font-style: italic; color: var(--orange); }
.arch-v2-side-p { font-size: 13.5px; line-height: 1.55; color: var(--ink-mute); }
.arch-v2-side-p strong { color: var(--ink); font-weight: 600; }

.arch-v2-side-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  padding-top: 6px; border-top: 1px solid var(--line);
  margin-top: 4px;
}
.arch-v2-side-tab {
  font-family: var(--f-sans); font-size: 12.5px;
  padding: 7px 14px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line-2); color: var(--ink-mute);
  cursor: pointer; transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.arch-v2-side-tab:hover { color: var(--ink); border-color: var(--ink-mute); }
.arch-v2-side-tab.on { background: var(--orange-soft); color: var(--orange); border-color: var(--orange-edge); }

.arch-v2-side-panel {
  background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px;
  min-height: 180px;
  display: flex; flex-direction: column; gap: 10px;
}
.arch-v2-side-panel-h { font-family: var(--f-sans); font-weight: 500; font-size: 15px; color: var(--ink); }
.arch-v2-side-panel-p { font-size: 13px; line-height: 1.55; color: var(--ink-mute); }
.arch-v2-side-panel-p em { color: var(--orange); font-style: italic; }
.arch-v2-side-panel-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.arch-v2-side-panel-chip {
  font-family: var(--f-mono); font-size: 10.5px;
  padding: 4px 9px; border-radius: 5px;
  background: rgba(255,255,255,0.03); color: var(--ink-mute);
  border: 1px solid var(--line);
}
.arch-v2-cta {
  align-self: flex-start; margin-top: 4px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-sans); font-size: 13px; font-weight: 500;
  padding: 10px 16px; border-radius: 999px;
  background: var(--orange); color: #fff; text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.arch-v2-cta:hover { background: #ff6633; transform: translateY(-1px); }

@media (max-width: 1100px) {
  .arch-v2-board { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .arch-v2-sor-tiles { grid-template-columns: 1fr 1fr; }
}

/* ========================== HOW IT WORKS — teaser cards + explore link ========================== */
.how-teaser {
  max-width: 1320px; width: 100%; align-self: center;
  display: flex; flex-direction: column; gap: 18px;
}
.how-teaser-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.how-card {
  display: block; text-decoration: none;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .25s ease, transform .15s ease, background .25s ease;
  border-left: 3px solid var(--line-2);
}
.how-card.agent     { border-left-color: var(--orange); }
.how-card.reason    { border-left-color: #c89dff; }
.how-card.ontology  { border-left-color: var(--blue); }
.how-card.connector { border-left-color: var(--green); }
.how-card:hover { transform: translateY(-2px); border-color: var(--orange-edge); background: linear-gradient(180deg, rgba(237,90,42,0.04), transparent 80%); }
.how-card-no {
  font-family: var(--f-serif);
  font-weight: 500; font-size: 28px; line-height: 1; color: var(--orange);
}
.how-card.reason   .how-card-no { color: #c89dff; }
.how-card.ontology .how-card-no { color: var(--blue); }
.how-card.connector .how-card-no { color: var(--green); }
.how-card-tag {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--ink-mute); text-transform: uppercase;
}
.how-card h3 {
  font-family: var(--f-serif); font-weight: 600;
  font-size: 19px; line-height: 1.2; color: var(--ink);
}
.how-card p { font-size: 13px; line-height: 1.55; color: var(--ink-mute); }

.how-footer-cta {
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 22px;
}
.how-footer-text { font-size: 13.5px; color: var(--ink-mute); line-height: 1.55; }
.how-explore-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  padding: 12px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
}
.how-explore-btn:hover { background: #ff6633; transform: translateY(-1px); }

/* ========================== HOW IT WORKS — 2x2 grid for booth viewport (legacy stack) ========================== */
.stack {
  max-width: 1320px; width: 100%; align-self: center;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.stack-layer {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 22px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .25s ease, transform .25s ease;
}
.stack-layer:hover { border-color: var(--orange-edge); transform: translateY(-1px); }
.stack-meta { display: flex; align-items: center; gap: 12px; }
.stack-no { font-family: var(--f-serif);
  font-weight: 500; font-size: 32px; line-height: 1; color: var(--orange); }
.stack-tag {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-mute);
  padding: 4px 8px; border-radius: 4px;
}
.stack-tag.agent     { background: rgba(237,90,42,0.10); color: var(--orange); }
.stack-tag.reason    { background: rgba(200,157,255,0.10); color: #c89dff; }
.stack-tag.ontology  { background: rgba(109,184,255,0.10); color: var(--blue); }
.stack-tag.connector { background: rgba(95,194,111,0.10); color: var(--green); }
.stack-h {
  font-family: var(--f-serif); font-weight: 600;
  font-size: 21px; line-height: 1.18; letter-spacing: -0.01em;
}
.stack-p { font-size: 13px; line-height: 1.55; color: var(--ink-mute); }
.stack-chips {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px;
}
.stack-chip {
  font-family: var(--f-mono); font-size: 10.5px;
  padding: 4px 9px; border-radius: 4px;
  background: rgba(255,255,255,0.03); color: var(--ink);
  border: 1px solid var(--line);
}

/* ========================== AGENTFLEET — ID badges + profile ========================== */
.fleet { background: var(--bg-1); }

/* shared agent colors (used by badges, profiles, and CT) */
.a-atlas { background: linear-gradient(135deg, #ed5a2a, #b13a14); }
.a-clara { background: linear-gradient(135deg, #5fc26f, #2b7a3a); }
.a-nexa  { background: linear-gradient(135deg, #6db8ff, #2c6ec7); }
.a-vera  { background: linear-gradient(135deg, #f0b341, #b87f1f); }
.a-astra { background: linear-gradient(135deg, #c89dff, #7a4fc7); }

.kpi-k { font-family: var(--f-serif);
  font-weight: 500; font-size: 22px; color: var(--ink); }
.kpi-v { font-size: 11px; color: var(--ink-mute); line-height: 1.4; }
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft); flex-shrink: 0;
  animation: pulse-green 1.6s ease-in-out infinite;
}

.fleet-board {
  display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px;
  max-width: 1320px; width: 100%; align-self: center;
}

/* --- rail of ID badges (left) --- */
.fleet-rail { display: flex; flex-direction: column; gap: 10px; }
.badge {
  position: relative;
  display: grid; grid-template-columns: 8px 48px minmax(0, 1fr) auto;
  gap: 12px; align-items: center;
  padding: 12px 14px 12px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  text-align: left;
  font-family: var(--f-sans);
  transition: border-color .2s ease, transform .15s ease, background .2s ease;
}
.badge:hover { border-color: var(--line-2); transform: translateX(2px); }
.badge.active {
  border-color: var(--orange-edge);
  background: linear-gradient(90deg, rgba(237,90,42,0.08), rgba(237,90,42,0.02));
}
.badge-stripe {
  width: 100%; height: 36px; border-radius: 3px;
  align-self: stretch;
}
.badge-photo {
  width: 48px; height: 48px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--f-serif);
  font-weight: 500; font-size: 22px; color: #fff;
}
.badge-emoji { display: none; }   /* legacy */
.badge-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  color: var(--ink-mute);
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.badge-icon svg { display: block; }
.badge.active .badge-icon { color: var(--orange); background: var(--orange-soft); border-color: var(--orange-edge); }
.badge:hover .badge-icon { color: var(--ink); }
.badge.active:hover .badge-icon { color: var(--orange); }

/* ─── Agent icon micro-animations (run continuously) ─── */
@keyframes ai-spin     { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ai-ping     { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(1.6); transform-origin:center; } }
@keyframes ai-typing   { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
@keyframes ai-line-fade{ 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes ai-check    { 0%, 40%  { opacity: 0; stroke-dashoffset: 14; } 60%, 100% { opacity: 1; stroke-dashoffset: 0; } }
@keyframes ai-tilt     { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes ai-roll     { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ai-motion   { 0% { transform: translateX(0); opacity: 0; } 30%, 70% { opacity: 1; } 100% { transform: translateX(6px); opacity: 0; } }

.ai-atlas-sweep { animation: ai-spin 3.4s linear infinite; }
.ai-atlas-ping  { animation: ai-ping 1.8s ease-in-out infinite; transform-origin: 27px 13px; }

.ai-clara-dot   { animation: ai-typing 1.4s ease-in-out infinite; opacity: 0.3; }
.ai-clara-dot-1 { animation-delay: 0s; }
.ai-clara-dot-2 { animation-delay: 0.2s; }
.ai-clara-dot-3 { animation-delay: 0.4s; }

.ai-nexa-line   { animation: ai-line-fade 2.8s ease-in-out infinite; }
.ai-nexa-line-1 { animation-delay: 0s; }
.ai-nexa-line-2 { animation-delay: 0.4s; }
.ai-nexa-line-3 { animation-delay: 0.8s; }
.ai-nexa-check  { stroke-dasharray: 14; animation: ai-check 2.8s ease-in-out infinite; }

.ai-vera-beam   { animation: ai-tilt 2.8s ease-in-out infinite; transform-origin: 20px 12px; }

.ai-astra-wheel { animation: ai-roll 1.6s linear infinite; transform-origin: center; transform-box: fill-box; }
.ai-astra-motion{ animation: ai-motion 1.4s ease-in-out infinite; opacity: 0; }
.ai-astra-motion-1 { animation-delay: 0s; }
.ai-astra-motion-2 { animation-delay: 0.2s; }
.ai-astra-motion-3 { animation-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .ai-atlas-sweep, .ai-atlas-ping, .ai-clara-dot, .ai-nexa-line, .ai-nexa-check, .ai-vera-beam, .ai-astra-wheel, .ai-astra-motion { animation: none; }
}
.badge-info {
  display: flex; flex-direction: column; gap: 3px;
  min-width: 0;
}
.badge-eyebrow {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.12em;
  color: var(--ink-dim); text-transform: uppercase;
}
.badge-name {
  font-family: var(--f-serif);
  font-weight: 500; font-size: 19px; line-height: 1; color: var(--ink);
}
.badge-role {
  font-size: 11.5px; color: var(--ink-mute);
}
.badge-mark {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em;
  color: var(--ink-dim); text-transform: uppercase;
  writing-mode: vertical-rl; transform: rotate(180deg);
  align-self: stretch; padding-top: 2px;
}
.fleet-cycle {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--ink-dim);
}
.cycle-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
  animation: pulse-green 1.6s ease-in-out infinite;
}
.fleet-cycle.paused .cycle-dot { background: var(--ink-dim); box-shadow: 0 0 0 3px rgba(154,161,173,0.18); animation: none; }
.fleet-cycle.paused .cycle-text::after { content: ' (paused)'; }

/* --- profile detail panel (right) --- */
.fleet-detail { position: relative; min-height: 540px; }
.profile {
  display: none;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 30px 24px;
  animation: profileIn .35s ease both;
}
.profile.active { display: flex; flex-direction: column; gap: 22px; }
@keyframes profileIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
.profile-head {
  display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.profile-photo {
  width: 72px; height: 72px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--orange);
  background: var(--orange-soft); border: 1px solid var(--orange-edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.profile-photo svg { display: block; }
.profile-meta { display: flex; flex-direction: column; gap: 4px; }
.profile-id { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-mute); text-transform: uppercase; }
.profile-name { font-family: var(--f-serif);
  font-weight: 500; font-size: 38px; line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.profile-role { font-size: 14px; color: var(--ink-mute); }
.profile-role em { color: var(--orange); font-style: italic; font-weight: 500; }
.profile-blurb { font-size: 16px; line-height: 1.55; color: var(--ink); max-width: 720px; }
.profile-section { display: flex; flex-direction: column; gap: 10px; }
.profile-section-h {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink-dim); text-transform: uppercase;
}
.profile-tasks { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.profile-tasks li {
  position: relative; padding-left: 20px;
  font-size: 13.5px; line-height: 1.55; color: var(--ink-mute);
}
.profile-tasks li::before {
  content: '→'; position: absolute; left: 0; top: 0;
  color: var(--orange); font-weight: 600;
}
.profile-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-chip {
  font-family: var(--f-mono); font-size: 11px;
  padding: 5px 10px; border-radius: 4px;
  background: rgba(255,255,255,0.03); color: var(--ink);
  border: 1px solid var(--line);
}
.profile-foot {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px;
  padding-top: 18px; border-top: 1px solid var(--line);
  align-items: center;
}
.profile-kpi { display: flex; align-items: baseline; gap: 10px; }
.profile-kpi .kpi-k { font-size: 32px; color: var(--orange); }
.profile-runs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.profile-runs-l {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--ink-dim); text-transform: uppercase; margin-right: 4px;
}
/* Brand-recognition fallback: monogram badge + name when Clearbit fails */
.profile-cust {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-sans); font-weight: 500; font-size: 12px; color: var(--ink);
  padding: 5px 10px 5px 5px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
}
.profile-cust::before {
  content: attr(data-mono);
  display: inline-grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-color, var(--orange));
  color: #fff; font-weight: 700; font-size: 10px; letter-spacing: -0.03em;
}
.profile-cust[data-brand="heineken"]  { --brand-color: #00853e; }
.profile-cust[data-brand="aramex"]    { --brand-color: #d2002f; }
.profile-cust[data-brand="teleport"]  { --brand-color: #ff0033; }
.profile-cust[data-brand="yum"]       { --brand-color: #f01735; }
.profile-cust[data-brand="hccb"]      { --brand-color: #ed1c24; }
.profile-cust[data-brand="cocacola"]  { --brand-color: #ed1c24; }
.profile-cust[data-brand="wellness"]  { --brand-color: #00a651; }
.profile-cust[data-brand="maldives"]  { --brand-color: #d21034; }
.profile-cust[data-brand="hcCB"]      { --brand-color: #e60012; }
.profile-cust[data-brand="argenx"]    { --brand-color: #003a70; }
.profile-cust[data-brand="catalent"]  { --brand-color: #0d2c4d; }
.profile-cust[data-brand="pfizer"]    { --brand-color: #0093d0; }
.profile-cust[data-brand="novartis"]  { --brand-color: #0460a9; }
.profile-cust[data-brand="nestle"]    { --brand-color: #0033a0; }
.profile-cust[data-brand="unilever"]  { --brand-color: #1f36c7; }
.profile-cust[data-brand="pepsi"]     { --brand-color: #004b93; }
.profile-cust[data-brand="gmg"]       { --brand-color: #ec1b30; }
.profile-cust[data-brand="qatarpost"] { --brand-color: #8a1538; }
.profile-cust[data-brand="apollo"]    { --brand-color: #f7941d; }
/* Customer logo chips (Amritesh-A3): swap text chips for actual brand marks */
.profile-cust-logo {
  height: 26px; width: auto; max-width: 110px;
  padding: 4px 10px; border-radius: 6px;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  object-fit: contain;
  transition: transform .15s ease;
}
.profile-cust-logo:hover { transform: translateY(-1px); }

/* ========================== DIFFERENTIATION — Why Shipsy ========================== */
.why { background: var(--bg-1); }
.why-board {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
  max-width: 1320px; width: 100%; align-self: center;
}
.why-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s ease, transform .15s ease;
}
.why-card.hl {
  border-color: var(--orange-edge);
  background: linear-gradient(180deg, rgba(237,90,42,0.06), transparent 65%);
}
.why-card:hover { transform: translateY(-2px); border-color: var(--line-2); }
.why-num {
  font-family: var(--f-serif);
  font-weight: 500; font-size: 30px; line-height: 1;
  color: var(--orange);
}
.why-h {
  font-family: var(--f-serif); font-weight: 600;
  font-size: 22px; line-height: 1.18; color: var(--ink);
}
.why-h em { font-style: italic; color: var(--orange); }
.why-p { font-size: 13.5px; line-height: 1.55; color: var(--ink-mute); }
.why-p strong { color: var(--ink); font-weight: 500; }

.why-foot {
  max-width: 1320px; width: 100%; align-self: center;
  margin-top: 22px; padding: 18px 22px;
  border-left: 3px solid var(--orange); border-radius: 0 var(--r) var(--r) 0;
  background: rgba(237,90,42,0.04);
}
.why-foot-l {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--orange); text-transform: uppercase;
}
.why-foot-p {
  font-family: var(--f-serif);
  font-weight: 500; font-style: italic; font-size: 17px;
  line-height: 1.45; color: var(--ink); margin-top: 6px;
}

/* ========================== WHY-V2 — combined Why Shipsy + FDE + For IT ========================== */
.why-v2 { background: var(--bg-1); align-items: flex-start; }
.why-v2 .screen-header { max-width: 1320px; width: 100%; align-self: center; }

/* Bands inside the combined section — separates The Pillars / FDE / For IT */
.why-band {
  max-width: 1320px; width: 100%; align-self: center;
  display: flex; flex-direction: column; gap: 18px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
}
.why-band:first-of-type {
  border-top: 0; padding-top: 8px; margin-top: 4px;
}
.why-band-eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--orange); text-transform: uppercase;
}

/* FDE deployment model band */
.fde-band { gap: 22px; }
.fde-board {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: 28px;
  align-items: start;
}
.fde-headline { padding-top: 4px; }
.fde-h {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(26px, 3.0vw, 36px); line-height: 1.15; color: var(--ink);
}
.fde-h em { font-style: italic; color: var(--orange); }
.fde-p {
  font-size: 14.5px; line-height: 1.6; color: var(--ink-mute);
  margin-top: 14px;
}
.fde-timeline {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  position: relative;
}
.fde-timeline::before {
  content: ''; position: absolute; top: 28px; left: 12%; right: 12%;
  height: 1px; background: var(--line-2);
  z-index: 0;
}
.fde-step {
  position: relative; z-index: 1;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 18px 18px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .15s ease, transform .15s ease;
}
.fde-step:hover { transform: translateY(-2px); border-color: var(--line-2); }
.fde-step-no {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-1); border: 1px solid var(--line-2);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin-bottom: 4px;
}
.fde-step-h {
  font-family: var(--f-sans); font-weight: 500; font-size: 14px;
  color: var(--ink); line-height: 1.3;
}
.fde-step-p {
  font-size: 12.5px; line-height: 1.55; color: var(--ink-mute);
}
.fde-step-p strong { color: var(--ink); font-weight: 600; }
.fde-step-now {
  border-color: var(--orange-edge);
  background: linear-gradient(180deg, var(--orange-soft), transparent 70%);
}
.fde-step-now .fde-step-no {
  background: var(--orange); border-color: var(--orange);
  color: #fff;
}

@media (max-width: 1100px) {
  .fde-board { grid-template-columns: 1fr; gap: 18px; }
  .fde-timeline { grid-template-columns: 1fr 1fr; }
  .fde-timeline::before { display: none; }
}
@media (max-width: 640px) {
  .fde-timeline { grid-template-columns: 1fr; }
}

.whyv2-board {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  max-width: 1320px; width: 100%; align-self: center;
}
.whyv2-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s ease, transform .15s ease, box-shadow .15s ease;
}
.whyv2-card:hover { transform: translateY(-2px); border-color: var(--orange-edge); }
.whyv2-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange);
}
.whyv2-h {
  font-family: var(--f-serif); font-weight: 600;
  font-size: 22px; line-height: 1.25; color: var(--ink);
}
.whyv2-p {
  font-size: 13.5px; line-height: 1.6; color: var(--ink-mute);
}
.whyv2-p em { font-style: italic; color: var(--orange); }
.whyv2-tag {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-dim); text-transform: uppercase;
}
.whyv2-arrow { color: var(--orange); padding: 0 4px; }

/* ========================== VOICES — Stories, transformations ========================== */
.voices { background: var(--bg-0); }
.voices-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  max-width: 1320px; width: 100%; align-self: center;
}
.voice-card {
  display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color .2s ease, transform .15s ease, box-shadow .15s ease;
}
.voice-card:hover {
  transform: translateY(-3px); border-color: var(--orange-edge);
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}
.voice-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #0d1015;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.voice-thumb-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .3s ease, filter .2s ease;
  filter: brightness(0.85);
}
.voice-card:hover .voice-thumb-img { transform: scale(1.04); filter: brightness(1); }
.voice-play {
  width: 56px; height: 56px; border-radius: 999px;
  background: rgba(255,255,255,0.95); color: #0a0c10;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform .15s ease;
}
.voice-card:hover .voice-play { transform: scale(1.08); }
.voice-time {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em;
  color: #fff; background: rgba(0,0,0,0.55);
  padding: 4px 8px; border-radius: 6px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.voice-meta {
  padding: 18px 20px 20px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.voice-tag {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.10em;
  color: var(--orange); text-transform: uppercase;
}
.voice-brand {
  font-family: var(--f-serif); font-weight: 600;
  font-size: 24px; line-height: 1.1; color: var(--ink);
  margin-top: 2px;
}
.voice-quote {
  font-family: var(--f-serif);
  font-weight: 500; font-style: italic;
  font-size: 15px; line-height: 1.45; color: var(--ink-mute);
  margin-top: 6px;
}
.voice-person {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-mute);
}
.voice-name { color: var(--ink); font-weight: 500; }
.voice-role { color: var(--ink-dim); }
.voice-card { cursor: pointer; }
.voice-play { position: relative; z-index: 1; }
.voice-time { position: absolute; z-index: 1; }

/* ── YouTube lightbox modal ─────────────────────────────────────── */
.yt-modal { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 32px; }
.yt-modal[hidden] { display: none; }
.yt-modal-scrim { position: absolute; inset: 0; background: rgba(7,10,16,0.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: pointer; }
.yt-modal-card { position: relative; width: 100%; max-width: 1080px; background: #0b0e14; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px 22px; box-shadow: 0 32px 80px rgba(0,0,0,0.6); }
.yt-modal-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border-radius: 999px; background: transparent; border: 1px solid var(--line-2); color: var(--ink-mute); font-size: 22px; line-height: 1; cursor: pointer; }
.yt-modal-close:hover { color: var(--ink); border-color: var(--ink-mute); }
.yt-modal-title { font-family: var(--f-sans); font-size: 13px; color: var(--ink-mute); margin-bottom: 12px; padding-right: 40px; }
.yt-modal-frame-wrap { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--r); overflow: hidden; }
.yt-modal-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 1024px) {
  .whyv2-board, .voices-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .whyv2-board, .voices-grid { grid-template-columns: 1fr; }
}

/* ========================== ENTERPRISE — Integration & Guardrails ========================== */
.ent { background: var(--bg-0); }
.ent-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  max-width: 1380px; width: 100%; align-self: center;
}
.ent-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ent-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 22px 20px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s ease, transform .15s ease;
}
.ent-card-compact { padding: 16px 16px 14px; gap: 8px; }
.ent-card-compact .ent-icon { width: 28px; height: 28px; border-radius: 8px; }
.ent-card-compact .ent-q { font-size: 14px; }
.ent-card-compact .ent-a { font-size: 12.5px; line-height: 1.5; }
.ent-card-compact .ent-chip { font-size: 10px; padding: 3px 7px; }
@media (min-width: 1281px) { .ent-grid-compact { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.ent-card:hover { transform: translateY(-2px); border-color: var(--orange-edge); }
.ent-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange);
}
.ent-q {
  font-family: var(--f-sans); font-size: 17px; line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
}
.ent-a { font-size: 13.5px; line-height: 1.55; color: var(--ink-mute); }
.ent-chips {
  margin-top: auto; padding-top: 8px;
  display: flex; flex-wrap: wrap; gap: 5px;
}
.ent-chip {
  font-family: var(--f-mono); font-size: 10.5px;
  padding: 4px 9px; border-radius: 4px;
  background: rgba(255,255,255,0.03); color: var(--ink);
  border: 1px solid var(--line);
}
.ent-foot {
  max-width: 1380px; width: 100%; align-self: center;
  margin-top: 22px; padding: 14px 18px;
  border: 1px dashed var(--line-2); border-radius: var(--r-sm);
  font-family: var(--f-mono); font-size: 12px; color: var(--ink-mute);
  text-align: center;
}

@media (max-width: 1024px) {
  .why-board { grid-template-columns: 1fr; }
  .ent-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ent-grid { grid-template-columns: 1fr; }
}

/* ========================== CONTROL TOWER — diagnostic wizard ========================== */
.ct { background: var(--bg-0); }
.ct-header {
  display: grid; grid-template-columns: 1fr auto; align-items: end;
  gap: 24px; max-width: 1320px; width: 100%;
}
.ct-progress {
  display: flex; gap: 8px; align-items: center;
  padding: 10px 14px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px;
}
.ct-pip {
  width: 24px; height: 4px; border-radius: 2px;
  background: var(--line-2); transition: background .2s ease, width .2s ease;
}
.ct-pip.active { background: var(--orange); width: 32px; }

.ct-board { max-width: 1320px; width: 100%; align-self: center; }
.ct-grid {
  display: grid; gap: 12px; margin-bottom: 22px;
}
.ct-grid-industries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ct-grid-personas   { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ct-grid-pains      { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ct-grid-problems   { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ct-card-h em { font-style: italic; color: var(--orange); }

.ct-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 20px 20px;
  display: flex; flex-direction: column; gap: 10px;
  text-align: left; cursor: pointer; font-family: var(--f-sans);
  transition: border-color .2s ease, transform .15s ease, background .2s ease;
  min-height: 180px;
}
.ct-card:hover {
  border-color: var(--orange-edge);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(237,90,42,0.04), transparent 80%);
}
.ct-card-tag {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--green); text-transform: uppercase; align-self: flex-start;
  padding: 3px 8px; border: 1px solid var(--line); border-radius: 4px;
  background: var(--green-soft);
}
.ct-card-h {
  font-family: var(--f-serif);
  font-weight: 500; font-size: 20px; line-height: 1.18;
  color: var(--ink); margin-top: auto;
}
.ct-card-p { font-size: 12.5px; line-height: 1.55; color: var(--ink-mute); }
.ct-card-problem { min-height: 130px; }
.ct-card-problem .ct-card-tag { color: var(--orange); background: var(--orange-soft); }
.ct-step { display: none; animation: ctIn .35s ease both; }
.ct-step.active { display: block; }
@keyframes ctIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.ct-step-bar {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--ink-mute); text-transform: uppercase;
}
.ct-step-no { color: var(--orange); }
.ct-step-context { color: var(--ink); }
.ct-step-title {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.015em;
  margin-bottom: 28px;
}

/* persona grid */
.ct-personas {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
}
.ct-persona {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 20px 20px;
  display: flex; flex-direction: column; gap: 10px;
  text-align: left; cursor: pointer; font-family: var(--f-sans);
  transition: border-color .2s ease, transform .15s ease, background .2s ease;
  min-height: 200px;
}
.ct-persona:hover { border-color: var(--orange-edge); transform: translateY(-3px); }
.ct-persona-tag {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--green); text-transform: uppercase; align-self: flex-start;
  padding: 3px 8px; border: 1px solid var(--line); border-radius: 4px;
  background: var(--green-soft);
}
.ct-persona-h {
  font-family: var(--f-serif);
  font-weight: 500; font-size: 20px; line-height: 1.18;
  color: var(--ink); margin-top: auto;
}
.ct-persona-p { font-size: 12.5px; line-height: 1.5; color: var(--ink-mute); }

/* pain step */
.ct-pains {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  margin-bottom: 22px;
}
.ct-pain {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 18px;
  display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center;
  text-align: left; cursor: pointer; font-family: var(--f-sans);
  transition: border-color .2s ease, background .2s ease;
}
.ct-pain:hover { border-color: var(--orange-edge); background: rgba(237,90,42,0.04); }
.ct-pain-no {
  font-family: var(--f-mono); font-size: 11px; color: var(--orange);
  letter-spacing: 0.08em;
}
.ct-pain-h { font-size: 14.5px; color: var(--ink); font-weight: 500; }
.ct-pain-p { font-size: 12.5px; color: var(--ink-mute); margin-top: 4px; }
.ct-pain-go {
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-dim);
  letter-spacing: 0.04em;
}
.ct-pain:hover .ct-pain-go { color: var(--orange); }

.ct-custom { margin-bottom: 22px; }
.ct-custom-label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--ink-mute); text-transform: uppercase;
}
.ct-custom-row { display: flex; gap: 10px; margin-top: 10px; }
.ct-custom-input {
  flex: 1; background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px 16px;
  color: var(--ink); font-family: var(--f-sans); font-size: 14.5px;
  outline: none; transition: border-color .2s ease, background .2s ease;
}
.ct-custom-input:focus { border-color: var(--orange-edge); background: rgba(255,255,255,0.05); }
.ct-custom-submit {
  background: var(--orange); color: #fff; border: 0; border-radius: var(--r);
  padding: 14px 22px; font-family: var(--f-sans); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background .15s ease, transform .15s ease;
  white-space: nowrap;
}
.ct-custom-submit:hover { background: #ff6633; transform: translateY(-1px); }
.ct-back {
  background: transparent; border: 1px solid var(--line);
  color: var(--ink-mute); padding: 10px 16px; border-radius: var(--r);
  font-family: var(--f-sans); font-size: 13px; cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
  margin-right: 10px;
}
.ct-back:hover { color: var(--ink); border-color: var(--line-2); }

/* reveal step */
.ct-reveal-sub {
  font-size: 16px; line-height: 1.55; color: var(--ink-mute);
  margin-top: -16px; margin-bottom: 28px; max-width: 720px;
}
.ct-reveal-sub em { color: var(--orange); font-style: italic; }
.ct-dashboard {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px;
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px;
}
.ct-dash-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ct-dash-kpi {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.ct-dash-kpi-eyebrow {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--ink-dim); text-transform: uppercase;
}
.ct-dash-kpi-k {
  font-family: var(--f-serif);
  font-weight: 500; font-size: 30px; line-height: 1; color: var(--ink);
}
.ct-dash-kpi-k.up { color: var(--green); }
.ct-dash-kpi-k.down { color: var(--orange); }
.ct-dash-kpi-v { font-size: 12px; color: var(--ink-mute); margin-top: 6px; }
.ct-dash-kpi-delta {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--green); margin-top: 6px;
}

.ct-dash-feed {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  min-height: 320px;
}
.ct-dash-feed-head {
  display: flex; justify-content: space-between; align-items: center;
}
.ct-dash-feed-eyebrow {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--ink-mute); text-transform: uppercase;
}
.ct-dash-live {
  font-family: var(--f-mono); font-size: 10.5px; color: var(--green);
  display: inline-flex; align-items: center; gap: 6px;
}
.ct-live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
  animation: pulse-green 1.6s ease-in-out infinite;
}
.ct-dash-feed-body {
  display: flex; flex-direction: column; gap: 8px;
  flex: 1; overflow: hidden;
}
.ct-feed-item {
  display: grid; grid-template-columns: 60px 88px 1fr; gap: 10px;
  font-family: var(--f-mono); font-size: 11.5px;
  padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: rgba(255,255,255,0.02);
  animation: feedIn .5s cubic-bezier(.2,.7,.2,1) both;
}
.ct-feed-time { color: var(--ink-dim); }
.ct-feed-agent { font-weight: 500; }
.ct-feed-agent.atlas { color: var(--orange); }
.ct-feed-agent.clara { color: var(--green); }
.ct-feed-agent.nexa  { color: var(--blue); }
.ct-feed-agent.vera  { color: var(--amber); }
.ct-feed-agent.astra { color: #c89dff; }
.ct-feed-body { color: var(--ink); font-family: var(--f-sans); font-size: 12.5px; }
.ct-feed-body strong { color: var(--ink); font-weight: 600; }

.ct-reveal-actions { margin-top: 22px; display: flex; gap: 8px; }

/* Launch-demo row at bottom of step 3 */
.ct-launch-row { margin-top: 18px; display: flex; gap: 10px; align-items: center; }

/* ==========================================================================
   STEP 4 — INIT TERMINAL (inline, matches old site)
   ========================================================================== */
.ct-step-init { padding: 32px 0; }
.ct-init-card {
  max-width: 920px; margin: 0 auto;
  background: var(--bg-1);
  border: 1px solid rgba(95,194,111,0.18);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.ct-init-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(95,194,111,0.05), transparent);
  border-bottom: 1px solid rgba(95,194,111,0.18);
}
.ct-init-title {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--green); text-transform: uppercase; margin-left: 8px;
}
.ct-init-live {
  margin-left: auto;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--green); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.ct-init-body {
  min-height: 240px; max-height: 360px; overflow: hidden;
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--f-mono); font-size: 13px; line-height: 1.55;
  color: var(--green);
}
.ct-init-body .matrix-line { animation: matrixIn .35s ease-out both; }

/* ==========================================================================
   STEP 5 — INLINE DASHBOARD REVEAL
   ========================================================================== */
.ct-step-dash { padding: 0; }
.ct-dash-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r) var(--r) 0 0; border-bottom: 0;
}
.ct-dash-eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink-mute); text-transform: uppercase;
}
.ct-dash-eyebrow span { color: var(--orange); }
.ct-dash-meta {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em;
  color: var(--green); display: inline-flex; align-items: center; gap: 6px;
}

.ct-dash-kpis {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; padding: 0;
  background: var(--line);
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.ct-dash-kpi-tile {
  background: var(--bg-2); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.ct-dash-kpi-tile-eyebrow {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--ink-dim); text-transform: uppercase;
}
.ct-dash-kpi-tile-k {
  font-family: var(--f-serif);
  font-weight: 500; font-size: 30px; line-height: 1; color: var(--ink);
}
.ct-dash-kpi-tile-k.up { color: var(--green); }
.ct-dash-kpi-tile-k.tbd {
  font-family: var(--f-mono) !important; font-size: 12px !important;
  color: var(--amber) !important; background: var(--amber-soft);
  padding: 4px 10px; border-radius: 4px; align-self: flex-start;
}
.ct-dash-kpi-tile-v { font-size: 12px; color: var(--ink-mute); margin-top: 4px; }

.ct-dash-grid {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r) var(--r);
}
.ct-dash-map, .ct-dash-aside {
  background: var(--bg-2); padding: 18px 18px 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.ct-dash-map-head, .ct-dash-feed-head {
  display: flex; justify-content: space-between; align-items: center;
}
.ct-dash-mapsvg {
  width: 100%; height: 180px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
}
.ct-dash-mapsvg .demo-map-node circle.outer { fill: rgba(237,90,42,0.18); }
.ct-dash-mapsvg .demo-map-node circle.inner { fill: var(--orange); }
.ct-dash-mapsvg .demo-map-node.green circle.inner { fill: var(--green); }
.ct-dash-mapsvg .demo-map-node.green circle.outer { fill: rgba(95,194,111,0.18); }
.ct-dash-mapsvg .demo-map-node text {
  fill: var(--ink); font-family: var(--f-mono); font-size: 9px;
  letter-spacing: 0.08em;
}
.ct-dash-mapsvg .demo-map-lane {
  stroke: var(--orange); stroke-opacity: 0.55; stroke-dasharray: 4 4;
  animation: laneFlow 4s linear infinite;
}
@keyframes laneFlow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -40; } }
.ct-dash-mapsvg .demo-map-pulse {
  fill: var(--green); opacity: 0;
  animation: mapPulse 3s ease-in-out infinite;
}
@keyframes mapPulse {
  0%, 100% { opacity: 0; r: 3; }
  50%      { opacity: 0.9; r: 6; }
}

.ct-dash-tiles {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
}
.ct-dash-tile {
  background: rgba(255,255,255,0.02); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 10px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.ct-dash-tile-h {
  display: flex; justify-content: space-between; align-items: center;
}
.ct-dash-tile-l {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--ink-mute); text-transform: uppercase;
}
.ct-dash-tile-s {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.06em;
  padding: 2px 6px; border-radius: 3px;
}
.ct-dash-tile-s.ok    { color: var(--green); background: var(--green-soft); }
.ct-dash-tile-s.amber { color: var(--amber); background: var(--amber-soft); }
.ct-dash-tile-v { font-family: var(--f-serif);
  font-weight: 500; font-size: 20px; color: var(--ink); line-height: 1; }
.ct-dash-tile-sub { font-size: 11.5px; color: var(--ink-mute); }

.ct-dash-feed {
  display: flex; flex-direction: column; gap: 6px; flex: 1;
  overflow: hidden; min-height: 280px;
}
.ct-dash-feed-row {
  display: grid; grid-template-columns: 60px 88px 1fr; gap: 10px;
  font-family: var(--f-mono); font-size: 11px;
  padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: rgba(255,255,255,0.02);
  animation: feedIn .4s cubic-bezier(.2,.7,.2,1) both;
}
.ct-dash-feed-time { color: var(--ink-dim); }
.ct-dash-feed-agent { font-weight: 500; }
.ct-dash-feed-agent.atlas { color: var(--orange); }
.ct-dash-feed-agent.clara { color: var(--green); }
.ct-dash-feed-agent.nexa  { color: var(--blue); }
.ct-dash-feed-agent.vera  { color: var(--amber); }
.ct-dash-feed-agent.astra { color: #c89dff; }
.ct-dash-feed-body { color: var(--ink); font-family: var(--f-sans); font-size: 12px; }
.ct-dash-feed-body strong { color: var(--ink); font-weight: 600; }

/* Tour bubble overlay sitting top-right of the dashboard */
.ct-tour-bubble {
  position: absolute; right: 24px; top: 130px;
  width: 320px; z-index: 5;
  background: var(--bg-2); border: 1px solid var(--orange-edge);
  border-left: 3px solid var(--orange);
  border-radius: var(--r);
  padding: 18px 20px;
  box-shadow: 0 24px 56px rgba(0,0,0,0.4);
  display: flex; flex-direction: column; gap: 12px;
  animation: ctIn .35s ease both;
}
.ct-tour-bubble.hidden { display: none; }
.ct-tour-head { display: flex; gap: 12px; align-items: center; }
.ct-tour-no {
  font-family: var(--f-mono); font-size: 11px; color: var(--orange);
  letter-spacing: 0.08em;
}
.ct-tour-eyebrow {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--ink-mute); text-transform: uppercase;
}
.ct-tour-title {
  font-family: var(--f-serif); font-weight: 600;
  font-size: 20px; line-height: 1.2; color: var(--ink);
}
.ct-tour-body { font-size: 13.5px; line-height: 1.55; color: var(--ink-mute); }
.ct-tour-body em { color: var(--orange); font-style: italic; }
.ct-tour-body strong { color: var(--ink); font-weight: 600; }
.ct-tour-actions { display: flex; gap: 6px; margin-top: 4px; align-items: center; }
.ct-tour-back, .ct-tour-next, .ct-tour-skip {
  font-family: var(--f-sans); font-size: 12.5px; padding: 8px 14px;
  border-radius: 6px; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.ct-tour-back { background: transparent; border: 1px solid var(--line); color: var(--ink-mute); }
.ct-tour-back:hover:not(:disabled) { color: var(--ink); border-color: var(--line-2); }
.ct-tour-back:disabled { opacity: 0.4; cursor: not-allowed; }
.ct-tour-skip {
  background: transparent; border: 1px dashed var(--line-2); color: var(--ink-mute);
  margin-left: auto;
}
.ct-tour-skip:hover { color: var(--ink); border-color: var(--ink-mute); }
.ct-tour-next { background: var(--orange); border: 0; color: #fff; font-weight: 600; }
.ct-tour-next:hover { background: #ff6633; transform: translateY(-1px); }

.ct-dash-foot {
  margin-top: 14px; padding: 14px 18px;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.ct-dash-bookcta {
  margin-left: auto;
  font-family: var(--f-sans); font-size: 13px; font-weight: 600;
  color: #fff; background: var(--orange);
  padding: 10px 18px; border-radius: 999px; text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.ct-dash-bookcta:hover { background: #ff6633; transform: translateY(-1px); }

.ct { position: relative; }   /* anchor for the absolute tour bubble */

/* Launch panel — demo opens in a NEW TAB at its native 1440 viewport */
.ct-launch-panel {
  max-width: 720px; margin: 0 auto;
  background: var(--bg-2); border: 1px solid var(--orange-edge);
  border-left: 4px solid var(--orange);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  box-shadow: 0 24px 56px rgba(0,0,0,0.35);
}
.ct-launch-eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--orange); text-transform: uppercase; margin-bottom: 12px;
}
.ct-launch-title {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; color: var(--ink);
  margin-bottom: 14px;
}
.ct-launch-title em { font-style: italic; color: var(--orange); }
.ct-launch-body {
  font-size: 15px; line-height: 1.55; color: var(--ink-mute);
  margin-bottom: 24px;
}
.ct-launch-body strong { color: var(--ink); font-weight: 600; }
.ct-launch-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.ct-launch-cta {
  background: var(--orange); color: #fff;
  font-family: var(--f-sans); font-size: 15px; font-weight: 600;
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  transition: background .15s ease, transform .15s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.ct-launch-cta:hover { background: #ff6633; transform: translateY(-1px); }
.ct-launch-skip {
  background: transparent; border: 1px solid var(--line-2); color: var(--ink-mute);
  font-family: var(--f-sans); font-size: 13.5px; padding: 13px 18px; border-radius: 999px;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.ct-launch-skip:hover { color: var(--ink); border-color: var(--ink-mute); }
.ct-launch-hint {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-dim); letter-spacing: 0.03em;
}
.ct-launch-hint code {
  font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-mute);
  background: rgba(255,255,255,0.03); padding: 2px 6px; border-radius: 4px;
}
.ct-step-dash .ct-dash-bar { margin-bottom: 18px; }
.ct.ct-fullscreen .ct-launch-panel { margin-top: 24px; }

/* When the CT enters steps 4 or 5 it goes fullscreen — header hides, board fills */
.ct.ct-fullscreen .screen-header { display: none; }
.ct.ct-fullscreen .ct-board { padding-top: 16px; }
.ct.ct-fullscreen { padding-top: calc(var(--nav-h) + 8px); padding-bottom: 16px; }
.ct.ct-fullscreen .ct-step-init { padding: 18px 0; }
.ct.ct-fullscreen .ct-step-dash { padding: 0; }
/* On fullscreen, the dashboard map gets more vertical room */
.ct.ct-fullscreen .ct-dash-mapsvg { height: 280px; }
.ct.ct-fullscreen .ct-dash-feed { min-height: 380px; }
.ct.ct-fullscreen .ct-init-body { min-height: 360px; max-height: 480px; }
/* Tour bubble repositions to overlay the dashboard from the top-right */
.ct.ct-fullscreen .ct-tour-bubble { top: 96px; right: 28px; width: 340px; }

@media (max-width: 1024px) {
  .ct-dash-grid { grid-template-columns: 1fr; }
  .ct-tour-bubble,
  .ct.ct-fullscreen .ct-tour-bubble { position: static; width: auto; margin-top: 14px; top: auto; right: auto; }
  .ct-dash-kpis { grid-template-columns: 1fr 1fr; }
  .ct-dash-tiles { grid-template-columns: 1fr; }
  .ct.ct-fullscreen .ct-dash-mapsvg { height: 240px; }
  .ct.ct-fullscreen .ct-dash-feed { min-height: 280px; }
  .ct.ct-fullscreen { padding-top: calc(var(--nav-h) + 16px); padding-bottom: 24px; }
}

/* iPad landscape (1180×820) — still 2-col but tighter map + bubble width */
@media (min-width: 1025px) and (max-width: 1280px) {
  .ct.ct-fullscreen .ct-tour-bubble { width: 300px; top: 84px; right: 20px; }
  .ct.ct-fullscreen .ct-dash-mapsvg { height: 240px; }
}

/* ========================== 4. HOW IT WORKS ========================== */
.how { background: var(--bg-0); }
.arch-board {
  display: grid; grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1.4fr) 80px minmax(0, 1fr);
  align-items: stretch; gap: 12px;
  max-width: 1380px; width: 100%;
}
.arch-col {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 20px; display: flex; flex-direction: column; gap: 12px;
}
.arch-col-label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-mute); text-transform: uppercase; margin-bottom: 8px;
}
.arch-tile {
  background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  padding: 12px 14px; border-radius: var(--r-sm);
  font-size: 13.5px; color: var(--ink);
}
.arch-tile.success { background: var(--green-soft); border-color: rgba(95,194,111,0.2); color: var(--ink); }
.arch-col-foot {
  margin-top: auto; padding-top: 10px;
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-dim);
  letter-spacing: 0.03em;
}
.arch-shipsy { background: linear-gradient(180deg, rgba(237,90,42,0.06), rgba(237,90,42,0.015)); border-color: var(--orange-edge); }
.arch-layer {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px;
  padding: 12px 12px; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: rgba(255,255,255,0.02);
}
.arch-layer-k { font-family: var(--f-mono); font-size: 11px; color: var(--orange); padding-top: 2px; letter-spacing: 0.05em; }
.arch-layer-h { font-size: 14px; color: var(--ink); font-weight: 500; }
.arch-layer-p { font-size: 12.5px; color: var(--ink-mute); margin-top: 4px; line-height: 1.5; }
.arch-arrow { display: grid; place-items: center; color: var(--ink-dim); }
.how-footnote {
  margin-top: 28px; max-width: 920px;
  font-family: var(--f-serif);
  font-weight: 500; font-style: italic; font-size: 18px;
  color: var(--ink-mute); line-height: 1.5;
  padding-left: 18px; border-left: 2px solid var(--orange);
}

/* ========================== 5. GARTNER ========================== */
.gartner { background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%); align-items: center; }
.gartner-head { text-align: center; max-width: 920px; margin-bottom: 36px; }
.gartner-head .gartner-title em { font-style: italic; color: var(--orange); }
.gartner-head .gartner-sub { margin-left: auto; margin-right: auto; }

/* horizontal carousel timeline */
.gartner-carousel {
  position: relative; width: 100%; max-width: 1320px;
  padding: 36px 0 28px; overflow: hidden;
}
.gcar-rail {
  position: absolute; left: 4%; right: 4%; top: 50%;
  height: 1px; background: var(--line);
  z-index: 0;
}
.gcar-track {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 0 4%;
}
.gcar-item {
  position: relative; flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
  padding-top: 30px;
}
.gcar-item::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg-1); border: 1px solid var(--line-2);
  z-index: 2;
}
.gcar-item.on::before {
  background: var(--orange); border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-soft);
}
.gcar-item.now::before { animation: pulse-orange 1.4s ease-in-out infinite; }
.gcar-year {
  font-family: var(--f-serif);
  font-weight: 500; font-size: clamp(28px, 3.2vw, 40px);
  color: var(--ink-dim); line-height: 1;
}
.gcar-item.on .gcar-year { color: var(--ink); }
.gcar-item.now .gcar-year { color: var(--orange); }
.gcar-label {
  font-family: var(--f-sans); font-size: 14px; font-weight: 500;
  color: var(--ink);
}
.gcar-sub {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-mute); text-transform: uppercase;
}

.ceo-quote-full {
  max-width: 880px; margin: 36px auto 0;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px 36px 28px;
  text-align: center;
}
.ceo-quote-full p { font-size: clamp(18px, 2vw, 22px); }
.ceo-quote-full footer { text-align: center; }

@media (max-width: 1024px) {
  .gcar-track { flex-direction: column; padding: 0 18%; gap: 28px; }
  .gcar-item { padding-top: 0; padding-left: 30px; text-align: left; align-items: flex-start; flex-direction: column; }
  .gcar-item::before { top: 6px; left: 0; transform: none; }
  .gcar-rail { left: 6px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }

  /* ─── iPad tightening for sections added late in the build ─── */
  /* Combined Why band */
  .why-band { padding-top: 28px; margin-top: 22px; gap: 14px; }
  .why-band:first-of-type { padding-top: 4px; margin-top: 0; }
  .why-band-eyebrow { font-size: 10.5px; letter-spacing: 0.1em; }

  /* FDE model */
  .fde-headline { padding-top: 0; }
  .fde-h { font-size: clamp(22px, 4vw, 30px); }
  .fde-p { font-size: 14px; }
  .fde-step { padding: 14px 14px 16px; }
  .fde-step-h { font-size: 13.5px; }
  .fde-step-p { font-size: 12px; }

  /* For IT compact 6-card grid → stacks to 2-col on iPad */
  .ent-grid-compact { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Architecture / SOR bridge — pad the right side panel less */
  .arch-v2-side { padding: 20px 20px 18px; }
  .arch-v2-side-tabs { flex-wrap: wrap; }
  .arch-v2-layer { padding: 12px 14px; gap: 10px; grid-template-columns: 32px minmax(0, 1fr); }
  .arch-v2-sor-tiles { grid-template-columns: 1fr 1fr; }
  .arch-v2-sor-tile { padding: 8px 10px; }
  .arch-v2-side-h { font-size: clamp(22px, 3.6vw, 28px); }

  /* Voices — card meta tighter */
  .voice-meta { padding: 14px 16px 16px; }
  .voice-brand { font-size: 21px; }
  .voice-quote { font-size: 14px; }

  /* Hero subhead + CTAs tighter spacing */
  .hero-headline { font-size: clamp(40px, 7vw, 60px); }
  .hero-sub { font-size: 15px; max-width: 540px; }

  /* AgentFleet — give the active badge more breathing room */
  .badge { padding: 14px 14px; }
  .badge-icon { width: 42px; height: 42px; }
  .profile { padding: 22px 22px 20px; }
  .profile-name { font-size: clamp(26px, 3.6vw, 32px); }
}

@media (max-width: 768px) {
  .ent-grid-compact { grid-template-columns: 1fr; }
  .why-band { padding-top: 22px; margin-top: 18px; }
  .why-band-eyebrow { font-size: 10px; }
  .fde-timeline { grid-template-columns: 1fr; }
  .arch-v2-sor-tiles { grid-template-columns: 1fr; }
}
.gartner-wrap {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  max-width: 1320px; width: 100%;
  align-self: center; margin: auto 0;
}
.gartner-title {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04;
  margin-top: 18px;
}
.g-em { color: var(--orange); font-style: italic; }
.gartner-sub { font-size: 16px; line-height: 1.55; color: var(--ink-mute); margin-top: 18px; max-width: 540px; }
.gartner-timeline {
  margin-top: 36px;
  display: flex; flex-direction: column; gap: 0;
  border-left: 1px solid var(--line);
}
.g-step {
  display: grid; grid-template-columns: 80px 1fr; gap: 18px;
  padding: 14px 0 14px 20px; position: relative;
  border-bottom: 1px solid var(--line);
}
.g-step::before {
  content: ''; position: absolute; left: -5px; top: 20px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg-1); border: 1px solid var(--line-2);
}
.g-step.on::before { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.g-step.now::before { animation: pulse-orange 1.4s ease-in-out infinite; }
@keyframes pulse-orange {
  0%,100% { box-shadow: 0 0 0 3px var(--orange-soft); }
  50%     { box-shadow: 0 0 0 7px rgba(237,90,42,0); }
}
.g-year {
  font-family: var(--f-serif);
  font-weight: 500; font-size: 28px; color: var(--ink);
}
.g-step:not(.on) .g-year { color: var(--ink-dim); }
.g-label { font-size: 14px; color: var(--ink-mute); padding-top: 6px; }

.ceo-quote {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 36px 32px 28px;
  position: relative;
}
.ceo-quote::before {
  content: '"'; position: absolute; top: 8px; left: 18px;
  font-family: var(--f-serif);
  font-weight: 500; font-size: 96px; line-height: 1;
  color: var(--orange); opacity: 0.4;
}
.ceo-quote p {
  font-family: var(--f-serif); font-weight: 600; font-style: italic;
  font-size: 22px; line-height: 1.4; color: var(--ink); position: relative;
}
.ceo-quote footer {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line);
}
.quote-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.quote-title { font-family: var(--f-mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.06em; margin-top: 4px; text-transform: uppercase; }

/* ========================== Humans at the booth ========================== */
.booth-people {
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.booth-people-label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink-dim); text-transform: uppercase;
}
.booth-faces {
  display: flex; gap: 14px; margin-top: 14px; flex-wrap: wrap;
}
.booth-face {
  display: flex; flex-direction: column; gap: 4px; min-width: 92px;
}
.booth-face-circle {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-serif);
  font-weight: 500; font-size: 18px; color: #fff;
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.booth-face-name { font-size: 12.5px; color: var(--ink); margin-top: 4px; }
.booth-face-role {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em;
  color: var(--ink-mute); text-transform: uppercase;
}

/* ========================== 6. BOOTH ========================== */
.booth {
  background: radial-gradient(70% 80% at 10% 10%, rgba(237,90,42,0.10), transparent 60%),
              var(--bg-0);
  padding-bottom: 0;
}
.booth-wrap {
  display: grid; grid-template-columns: 1fr; gap: 64px;
  max-width: 920px; width: 100%; flex: 1;
  align-items: center;
}
.booth-title {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(44px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.02em;
  margin-top: 16px;
}
.booth-sub { font-size: 17px; line-height: 1.55; color: var(--ink-mute); margin-top: 22px; max-width: 540px; }
.booth-ctas { display: flex; gap: 14px; margin-top: 32px; align-items: center; }
.cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: #fff; padding: 14px 22px;
  border-radius: 999px; font-size: 14.5px; font-weight: 600;
  transition: transform .15s ease, background .15s ease;
}
.cta-primary:hover { background: #ff6633; transform: translateY(-1px); }
.cta-secondary {
  font-family: var(--f-mono); font-size: 13px; color: var(--ink-mute);
  padding: 14px 18px;
}
.booth-meta {
  margin-top: 36px; display: flex; flex-direction: column; gap: 10px;
}
.bm-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-mute); }
.bm-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.schedule-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 24px 16px;
}
.schedule-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.schedule-head > span:first-child {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink-mute); text-transform: uppercase;
}
.sc-live {
  font-family: var(--f-mono); font-size: 11px; color: var(--green);
  display: inline-flex; align-items: center; gap: 6px;
}
.sc-live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
  animation: pulse-green 1.6s ease-in-out infinite;
}
.schedule-list { list-style: none; }
.schedule-list li {
  display: grid; grid-template-columns: 48px 60px 1fr auto; gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.schedule-list li:last-child { border-bottom: 0; }
.sl-day { font-family: var(--f-mono); font-size: 11px; color: var(--ink-dim); letter-spacing: 0.08em; }
.sl-time { font-family: var(--f-mono); font-size: 12.5px; color: var(--ink); }
.sl-title { color: var(--ink); }
.sl-where { font-family: var(--f-mono); font-size: 11px; color: var(--ink-mute); }
.schedule-list li.hl .sl-time, .schedule-list li.hl .sl-title { color: var(--orange); }
.schedule-list li.hl .sl-day::before { content: '★ '; color: var(--orange); margin-right: 2px; }

/* Personalised-dashboard launcher (booth team uses in meetings) */
.personalised-block {
  margin-top: 48px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.personalised-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.personalised-eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--orange); text-transform: uppercase;
}
.personalised-mode-toggle { display: flex; gap: 14px; align-items: center; }
.personalised-mode-toggle a {
  font-family: var(--f-sans); font-size: 13px; color: var(--ink-mute);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
}
.personalised-mode-toggle a:hover { color: var(--ink); border-color: var(--line-2); }
.personalised-mode-toggle a.primary { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 600; }
.personalised-mode-toggle a.primary:hover { background: #ff6633; }

.personalised-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px;
}
.personalised-tile {
  background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
  text-decoration: none; color: var(--ink);
  transition: border-color .2s ease, transform .15s ease, background .2s ease;
}
.personalised-tile:hover { border-color: var(--orange-edge); transform: translateY(-2px); background: rgba(237,90,42,0.04); }
.personalised-tile.add { background: transparent; border-style: dashed; opacity: 0.7; }
.personalised-tile.add:hover { opacity: 1; }
.personalised-tile-name { font-family: var(--f-serif);
  font-weight: 500; font-size: 20px; line-height: 1.1; color: var(--ink); }
.personalised-tile-tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--ink-mute); text-transform: uppercase; margin-top: 2px; }
.personalised-tile-pain { font-size: 12.5px; color: var(--ink-mute); margin-top: auto; padding-top: 8px; }
.personalised-tile-pain code { font-family: var(--f-mono); font-size: 11px; background: rgba(255,255,255,0.04); padding: 1px 5px; border-radius: 3px; }

@media (max-width: 1280px) { .personalised-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 900px)  { .personalised-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px)  { .personalised-grid { grid-template-columns: 1fr; } }

.footer {
  margin-top: 48px; padding: 24px 0;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-dim);
  letter-spacing: 0.04em;
}
.footer-right { display: flex; gap: 24px; }

/* ==========================================================================
   RESPONSIVE — five breakpoints
   ≥1441   desktop wide        (default — loosen spacing slightly)
   1280-1440  desktop / large tablet (booth laptop)
   1025-1279  iPad landscape
   769-1024   iPad portrait      (single-column layouts, top-tabs)
   ≤768       phone              (snap-scroll relaxed, single-column)
   ========================================================================== */

/* ---------- Desktop wide (≥1441) — generous spacing ---------- */
@media (min-width: 1441px) {
  .screen { padding: calc(var(--nav-h) + 72px) 80px 64px; }
}

/* ---------- Desktop / booth laptop (≤1440, the original "tablet breakpoint") ---------- */
@media (max-width: 1440px) {
  .screen { padding: calc(var(--nav-h) + 36px) 36px 36px; }
  .hero { gap: 48px; }
  .outcome-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .agent-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  .topnav-mid { gap: 18px; }
  .agent-card { padding: 18px 14px 16px; }
  .agent-blurb { font-size: 12.5px; }
  .agent-live { font-size: 10.5px; }
  .oc-headline { font-size: 22px; }
  .industries-wrap { grid-template-columns: 320px minmax(0, 1fr); gap: 48px; }
}

/* ---------- iPad landscape (≤1280) ---------- */
@media (max-width: 1280px) {
  .topnav-mid { gap: 14px; }
  .topnav-mid a { font-size: 12.5px; }
  .hero-headline { font-size: clamp(40px, 6vw, 68px); }
  .hero-sub { font-size: 16px; }
  .industries-wrap { grid-template-columns: 280px minmax(0, 1fr); gap: 36px; }
  .ind-headline { font-size: clamp(28px, 4vw, 44px); }
  .agent-card { padding: 16px 12px 14px; }
  .stack-layer { padding: 16px 18px; }
  .stack-h { font-size: 19px; }
}

/* ---------- iPad portrait (≤1024) — stack big two-column sections ---------- */
@media (max-width: 1024px) {
  .snap { scroll-snap-type: y proximity; }   /* less aggressive snap on touch */
  .screen { padding: calc(var(--nav-h) + 28px) 28px 28px; min-height: auto; }

  .topnav-inner { grid-template-columns: auto 1fr auto; gap: 12px; padding: 0 16px; }
  /* Keep nav links visible on iPad — horizontal scroll if they overflow */
  .topnav-mid {
    display: flex; gap: 14px; overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none;
    justify-content: center; flex-wrap: nowrap;
    padding: 0 4px; min-width: 0;
  }
  .topnav-mid::-webkit-scrollbar { display: none; }
  .topnav-mid a { font-size: 12px; white-space: nowrap; }
  .event-badge { display: none; }
  .cta-pill { padding: 8px 14px; font-size: 12px; }

  /* Hero: stack */
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: calc(var(--nav-h) + 28px); }
  .hero-left { height: 38vh; max-height: 380px; order: 2; }
  .hero-right { order: 1; padding: 0; }
  .hero-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .hero-scrollhint { display: none; }

  /* Outcomes: 2-col */
  .outcome-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

  /* Gartner: stack */
  .gartner-wrap { grid-template-columns: 1fr; gap: 32px; }
  .gartner-title { font-size: clamp(28px, 4vw, 44px); }
  .ceo-quote p { font-size: 18px; }

  /* Industries: top tabs + content below */
  .industries-wrap { grid-template-columns: 1fr; gap: 24px; }
  .ind-aside { position: static; }
  .ind-title { font-size: clamp(28px, 4.5vw, 40px); }
  .ind-nav { flex-direction: row; flex-wrap: wrap; border-left: 0; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 16px; }
  .ind-tab { flex: 1; min-width: 160px; }
  .ind-tab::before { left: 0; right: 0; top: -1px; bottom: auto; width: auto; height: 2px; }

  /* Fleet board: rail on top, profile below */
  .fleet-board { grid-template-columns: 1fr; gap: 18px; }
  .fleet-rail { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .badge {
    flex: 1 1 calc(33.333% - 8px); min-width: 200px;
    grid-template-columns: 6px 40px minmax(0, 1fr);
  }
  .badge-mark { display: none; }
  .badge-photo { width: 40px; height: 40px; font-size: 18px; }
  .fleet-cycle { width: 100%; margin-top: 8px; padding-top: 8px; }
  .profile-head { grid-template-columns: 64px 1fr; }
  .profile-photo { width: 64px; height: 64px; font-size: 30px; }
  .profile-name { font-size: 32px; }

  /* Control Tower: stack the wizard grids into 2 columns */
  .ct-header { grid-template-columns: 1fr; gap: 12px; }
  .ct-progress { align-self: flex-start; }
  .ct-grid-industries,
  .ct-grid-personas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-grid-problems { grid-template-columns: 1fr; }
  .ct-card { min-height: 150px; padding: 18px 16px; }

  /* How it works: 2x2 stays */
  .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Booth: stack */
  .booth-wrap { grid-template-columns: 1fr; gap: 32px; }
  .booth-title { font-size: clamp(36px, 5vw, 56px); }
  .schedule-card { padding: 18px 18px 8px; }
  .schedule-list li { grid-template-columns: 40px 48px 1fr auto; gap: 8px; font-size: 12.5px; }
}

/* ---------- Small tablet / large phone (≤768) ---------- */
@media (max-width: 768px) {
  :root { --nav-h: 56px; }
  .snap { scroll-snap-type: none; }
  .screen { padding: calc(var(--nav-h) + 24px) 20px 28px; min-height: auto; }

  .topnav-inner { padding: 0 14px; }
  .brand span { display: none; }
  .cta-pill .booth-no { display: none; }

  /* Hero */
  .hero { gap: 20px; }
  .hero-left { height: auto; max-height: 360px; padding: 36px 16px 16px; }
  .hero-left::before { font-size: 9px; top: 14px; left: 14px; }
  .hero-left::after { top: 14px; right: 14px; }
  /* Stack each feed row vertically on phone: time+agent on row 1, body on row 2 */
  .hero-feed { gap: 8px; max-height: 290px; overflow: hidden; }
  .feed-item {
    display: block;
    padding: 8px 10px;
  }
  .feed-time { font-size: 10.5px; display: inline-block; }
  .feed-agent { font-size: 11px; display: inline-block; margin-left: 8px; }
  .feed-body { display: block; margin-top: 4px; font-size: 12px; }
  .hero-eyebrow { margin-bottom: 16px; font-size: 10px; }
  .hero-headline { font-size: clamp(32px, 9vw, 48px); }
  .hero-sub { font-size: 14.5px; margin-top: 18px; }
  .hero-meta { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; padding-top: 18px; }
  .meta-k { font-size: 24px; }
  .meta-v { font-size: 10.5px; max-width: 100px; }

  /* Section titles */
  .screen-title { font-size: clamp(28px, 7vw, 40px); }
  .screen-sub { font-size: 14.5px; }
  .screen-header { margin-bottom: 28px; }

  /* Outcomes: single column */
  .outcome-grid { grid-template-columns: 1fr; gap: 10px; }

  /* Hero stats card on phone: collapse 2x2 to 1col */
  .hero-stats-grid { grid-template-columns: 1fr; gap: 14px; }
  .hero-stat-k { font-size: 32px; }
  .oc-headline { font-size: 19px; }
  .oc-body { font-size: 12.5px; }

  /* Gartner */
  .gartner-title { font-size: clamp(26px, 7vw, 38px); }
  .gartner-timeline { margin-top: 24px; }
  .g-year { font-size: 22px; }
  .g-label { font-size: 12.5px; }
  .ceo-quote { padding: 28px 22px 22px; }
  .ceo-quote p { font-size: 16px; }

  /* Industries */
  .ind-nav { flex-direction: column; }
  .ind-tab { min-width: 0; }
  .ind-headline { font-size: clamp(24px, 6.5vw, 34px); }
  .ind-body { font-size: 14px; }
  .ind-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 16px 0; }
  .ind-stat-k { font-size: 24px; }
  .ind-stat-v { font-size: 11px; }
  .ind-caps { gap: 6px; }
  .ind-cap { font-size: 11.5px; padding: 5px 9px; }
  .ind-cust { font-size: 11px; padding: 4px 8px; }

  /* Agent strip: single column horizontal-scroll for character */
  .agent-strip {
    grid-template-columns: 78% 78% 78% 78% 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .agent-card { scroll-snap-align: start; min-width: 0; }
  .agent-card:nth-child(n) { grid-column: auto; }

  /* How it works: single column */
  .stack { grid-template-columns: 1fr; gap: 10px; }
  .stack-layer { padding: 14px 16px; }
  .stack-no { font-size: 26px; }
  .stack-h { font-size: 17px; }
  .stack-p { font-size: 12.5px; }
  .stack-chip { font-size: 10px; padding: 3px 7px; }

  /* Booth */
  .booth-title { font-size: clamp(28px, 8vw, 44px); }
  .booth-sub { font-size: 14.5px; }
  .booth-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-primary { justify-content: center; padding: 14px 18px; font-size: 14px; }
  .cta-secondary { text-align: center; padding: 10px; font-size: 12px; }
  .booth-meta { margin-top: 24px; }
  .schedule-list li { grid-template-columns: 36px 44px 1fr; gap: 6px; font-size: 12px; padding: 10px 0; }
  .sl-where { grid-column: 2 / 4; padding-top: 2px; }

  /* Footer */
  .footer { flex-direction: column; gap: 10px; align-items: flex-start; padding: 16px 0; }

  /* Trusted-by row: smaller chips */
  .logo-pill { font-size: 11px; padding: 5px 10px; }

  /* Hide scroll hint on phone */
  .hero-scrollhint { display: none; }
}

/* ---------- Phone landscape — short viewport ---------- */
@media (max-width: 920px) and (orientation: landscape) and (max-height: 500px) {
  .hero-left { display: none; }
  .hero { grid-template-columns: 1fr; }
}
