/* ==========================================================================
   Signal Arc — Premium acquisition site
   ========================================================================== */

:root {
  --ink: #0B0A12;
  --ink-2: #12111A;
  --ink-soft: #2C2940;
  --muted: #5C586C;
  --cloud: #F5F4F0;
  --paper: #FFFEFA;
  --ultramarine: #1F04DC;
  --electric: #7B6CFF;
  --lilac: #EBE8F4;
  --pale: #F3F1EA;
  --coral: #FF7B61;
  --line: #E3E0D6;
  --line-strong: #D0CCBF;
  --line-dark: rgba(255, 255, 255, 0.10);
  --mono: 'DM Mono', ui-monospace, monospace;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --nav-h: 72px;
  --section-pad: clamp(88px, 10vw, 152px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --demo-window-h: 460px;
  --demo-chat-h: 340px;
  --focus-ring: 0 0 0 3px rgba(31, 4, 220, 0.28);
  --radius: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cloud);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.brand:focus-visible,
.nav-links a:focus-visible,
.nav-cta:focus-visible,
.industry-card:focus-visible {
  border-radius: 2px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.container {
  width: min(1180px, calc(100% - 56px));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), backdrop-filter 0.45s var(--ease);
}

.nav-wrap.scrolled {
  background: rgba(245, 244, 240, 0.52);
  backdrop-filter: blur(14px) saturate(1.05);
  border-bottom-color: rgba(11, 10, 18, 0.06);
}

.nav-wrap.nav-dark {
  background: transparent;
  border-bottom-color: transparent;
}

.nav-wrap.nav-dark.scrolled {
  background: rgba(11, 10, 18, 0.42);
  backdrop-filter: blur(14px) saturate(1.05);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--ultramarine);
  opacity: 0.38;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.nav-wrap.nav-dark .nav-progress {
  opacity: 0.28;
  background: #fff;
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 17px;
  color: var(--ink);
  flex-shrink: 0;
}

.mark {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  transform: rotate(-32deg);
}

.mark i {
  display: block;
  width: 4px;
  border-radius: 4px;
  background: var(--ultramarine);
}

.mark i:nth-child(1) { height: 8px; }
.mark i:nth-child(2) { height: 14px; }
.mark i:nth-child(3) { height: 20px; }

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  opacity: 0.78;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--ultramarine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a:hover {
  color: var(--ultramarine);
  opacity: 1;
}

.nav-wrap.nav-dark .brand,
.nav-wrap.nav-dark .nav-links a {
  color: rgba(255, 255, 255, 0.86);
}

.nav-wrap.nav-dark .nav-links a:hover {
  color: #fff;
}

.nav-wrap.nav-dark .nav-links a::after {
  background: #fff;
}

.nav-wrap.nav-dark .nav-cta {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.nav-wrap.nav-dark .nav-toggle span {
  background: #fff;
}

.nav-wrap.nav-dark .mobile-menu {
  background: var(--ink);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-wrap.nav-dark .mobile-menu a {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-wrap.nav-dark .mobile-menu a:last-child {
  color: #fff;
}

.nav-cta {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ultramarine);
  border-bottom: 1.5px solid var(--ultramarine);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.nav-cta span {
  margin-left: 4px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 6px auto;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0 24px 24px;
  background: var(--cloud);
  border-bottom: 1px solid var(--line);
}

.mobile-menu a {
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.mobile-menu a:last-child {
  color: var(--ultramarine);
  border-bottom: none;
  padding-top: 20px;
}

.mobile-menu:not([hidden]) {
  display: flex;
}

/* --------------------------------------------------------------------------
   Typography & shared
   -------------------------------------------------------------------------- */

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 10px/1.2 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-label.light,
.eyebrow.light {
  color: rgba(255, 255, 255, 0.65);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 123, 97, 0.22);
  animation: pulse 2.4s ease-in-out infinite;
}

h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.054em;
  line-height: 0.96;
  margin: 0;
}

h1 {
  font-size: clamp(44px, 6.4vw, 84px);
}

h2 {
  font-size: clamp(34px, 4.8vw, 62px);
  margin-top: 18px;
}

h1 em,
h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ultramarine);
  letter-spacing: -0.03em;
}

.section-dark h2 em,
.closing h2 em {
  color: rgba(255, 255, 255, 0.95);
}

/* Reserved for supporting-section headlines: same weight/font as the
   headline, colour emphasis only — keeps the serif italic (h1/h2 em)
   rare enough that it still reads as a statement where it appears. */
.accent {
  color: var(--ultramarine);
}

.section-dark h2 .accent,
.closing h2 .accent {
  color: rgba(255, 255, 255, 0.95);
}

.section-dek {
  max-width: 540px;
  margin-top: 22px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.65;
  color: var(--muted);
}

.section-dek.light {
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding-block: var(--section-pad);
}

/* Spacing keyed to narrative weight rather than applied uniformly:
   identity statements get room to breathe; sections that continue the
   same beat as their neighbour sit closer together. */
.section-spacious {
  padding-block: clamp(110px, 13vw, 180px);
}

.section-tight {
  padding-block: clamp(56px, 7vw, 96px);
}

.section-tight + .section-tight {
  padding-top: 0;
}

.section-dark {
  background: var(--ink);
  color: #fff;
}

.section-intro {
  max-width: 740px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 24px;
  font: 700 14px var(--sans);
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s var(--ease), border-color 0.28s var(--ease), color 0.28s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
  transition-duration: 0.12s;
}

.btn span {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.28s var(--ease);
}

.btn:hover span {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--ultramarine);
  color: #fff;
  box-shadow: 0 10px 28px rgba(31, 4, 220, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(31, 4, 220, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  padding-inline: 22px;
}

.btn-secondary:hover {
  border-color: var(--ultramarine);
  color: var(--ultramarine);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-large {
  padding: 18px 28px;
  font-size: 15px;
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Grid card staggers — each grid uses `animation` rather than the shared
   `.reveal` transition, so the entrance never fights the card's own hover
   transition (both would otherwise compete for `transform`/`opacity`). Each
   grid gets its own timing/easing signature rather than reusing one motion
   for three different concepts. */

/* Opacity is deliberately NOT part of these keyframes. A CSS animation
   holds animation-priority over its animated properties for as long as its
   fill-mode keeps it "in effect" — including forever, with `forwards`/`both`
   — which would permanently block the later `.is-relevant`/`.is-dimmed`
   classes (plain, class-driven opacity) from ever overriding it. Keyframes
   here only choreograph the entrance transform; opacity is a normal
   transition so the highlight system (below) can always win afterward. */
@keyframes cardRevealMap {
  from { transform: translateY(12px); }
  to { transform: translateY(0); }
}

@keyframes cardRevealArchitecture {
  from { transform: translateY(22px) scale(0.97); }
  to { transform: translateY(0) scale(1); }
}

@keyframes cardRevealList {
  from { transform: translateY(16px); }
  to { transform: translateY(0); }
}

.capability-grid.reveal,
.outcomes-grid.reveal,
.industries-grid.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.capability-grid .capability-card,
.outcomes-grid .outcome-card,
.industries-grid .industry-card {
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.capability-grid.visible .capability-card {
  opacity: 1;
  animation: cardRevealMap 0.5s var(--ease) backwards;
}

.outcomes-grid.visible .outcome-card {
  opacity: 1;
  animation: cardRevealArchitecture 0.65s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.industries-grid.visible .industry-card {
  opacity: 1;
  animation: cardRevealList 0.55s var(--ease) backwards;
}

.capability-grid.visible .capability-card:nth-child(1) { animation-delay: 0ms; }
.capability-grid.visible .capability-card:nth-child(2) { animation-delay: 55ms; }
.capability-grid.visible .capability-card:nth-child(3) { animation-delay: 110ms; }
.capability-grid.visible .capability-card:nth-child(4) { animation-delay: 165ms; }
.capability-grid.visible .capability-card:nth-child(5) { animation-delay: 220ms; }

.outcomes-grid.visible .outcome-card:nth-child(1) { animation-delay: 0ms; }
.outcomes-grid.visible .outcome-card:nth-child(2) { animation-delay: 90ms; }
.outcomes-grid.visible .outcome-card:nth-child(3) { animation-delay: 180ms; }
.outcomes-grid.visible .outcome-card:nth-child(4) { animation-delay: 270ms; }

.industries-grid.visible .industry-card:nth-child(1) { animation-delay: 0ms; }
.industries-grid.visible .industry-card:nth-child(2) { animation-delay: 70ms; }
.industries-grid.visible .industry-card:nth-child(3) { animation-delay: 140ms; }
.industries-grid.visible .industry-card:nth-child(4) { animation-delay: 210ms; }
.industries-grid.visible .industry-card:nth-child(5) { animation-delay: 280ms; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  align-items: stretch;
  padding-top: var(--nav-h);
  padding-bottom: 0;
  background:
    radial-gradient(ellipse 46% 58% at 78% 42%, rgba(31, 4, 220, 0.34), transparent 64%),
    radial-gradient(ellipse 28% 32% at 8% 88%, rgba(123, 108, 255, 0.1), transparent 70%),
    var(--ink);
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12) 18%, rgba(255, 255, 255, 0.12) 82%, transparent);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: stretch;
  min-height: calc(100svh - var(--nav-h));
  width: min(100%, calc(1180px + max(0px, (100vw - 1180px) / 2)));
  margin-left: max(28px, calc((100vw - 1180px) / 2));
}

.hero-copy-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 72px) 0;
  max-width: 560px;
}

.hero h1 em {
  color: #fff;
}

.hero-lede {
  margin: 28px 0 32px;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.64);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero .btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.hero .btn-primary:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.hero-visual {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: clamp(48px, 7vh, 88px) clamp(28px, 4vw, 56px) clamp(48px, 7vh, 88px) 0;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 18% 4% 20% 8%;
  background: radial-gradient(ellipse at 70% 45%, rgba(31, 4, 220, 0.42), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero-media {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #05040a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 40px 90px rgba(0, 0, 0, 0.42);
}

.hero-media-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #05040a;
}

.hero-metrics {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  background: rgba(5, 4, 10, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-metrics div {
  padding: 12px 18px 14px;
}

.hero-metrics div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-metrics dt {
  font: 500 9px/1.2 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.hero-metrics dd {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
}

.hero-media-meta {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  font: 500 9px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  background: linear-gradient(180deg, rgba(5, 4, 10, 0.62), transparent);
  pointer-events: none;
}

.hero-media-meta span:nth-child(2) {
  margin-right: auto;
}

.hero-media-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--coral);
}

.hero-media-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 2s ease-in-out infinite;
}

.hero-media-video,
.hero-media-frame {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
}

/* Journey visual */

.journey-panel {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: none;
  overflow: hidden;
}

.journey-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.journey-label {
  font: 500 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.journey-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 500 10px var(--mono);
  color: var(--ultramarine);
}

.journey-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 2s ease-in-out infinite;
}

.journey-track {
  position: relative;
  height: 320px;
  padding: 24px;
}

.journey-svg {
  position: absolute;
  inset: 24px;
  width: calc(100% - 48px);
  height: calc(100% - 48px);
  overflow: visible;
}

.journey-path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
}

.journey-path-progress {
  fill: none;
  stroke: var(--electric);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 480;
  stroke-dashoffset: 480;
  transition: stroke-dashoffset 0.7s var(--ease);
}

.journey-track[data-step='0'] .journey-path-progress { stroke-dashoffset: 480; }
.journey-track[data-step='1'] .journey-path-progress { stroke-dashoffset: 360; }
.journey-track[data-step='2'] .journey-path-progress { stroke-dashoffset: 280; }
.journey-track[data-step='3'] .journey-path-progress { stroke-dashoffset: 180; }
.journey-track[data-step='4'] .journey-path-progress { stroke-dashoffset: 80; }
.journey-track[data-step='5'] .journey-path-progress { stroke-dashoffset: 0; }

.journey-signal {
  fill: var(--ultramarine);
  filter: drop-shadow(0 0 4px rgba(114, 92, 255, 0.5));
  transition: cx 0.7s var(--ease), cy 0.7s var(--ease);
  opacity: 0;
}

.journey-track.is-running .journey-signal {
  opacity: 1;
}

.journey-track[data-step='0'] .journey-signal { cx: 40; cy: 160; }
.journey-track[data-step='1'] .journey-signal { cx: 100; cy: 130; }
.journey-track[data-step='2'] .journey-signal { cx: 170; cy: 60; }
.journey-track[data-step='3'] .journey-signal { cx: 240; cy: 60; }
.journey-track[data-step='4'] .journey-signal { cx: 310; cy: 130; }
.journey-track[data-step='5'] .journey-signal { cx: 360; cy: 160; }

.journey-node {
  position: absolute;
  width: 130px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  opacity: 0.35;
  transform: scale(0.96);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), border-color 0.55s, box-shadow 0.55s;
}

.journey-node.was-active {
  opacity: 0.65;
  transform: scale(0.98);
}

.journey-node.active {
  opacity: 1;
  transform: scale(1);
  border-color: var(--ultramarine);
  box-shadow: 0 8px 24px rgba(31, 4, 220, 0.12);
}

.journey-node.completed .node-icon {
  background: var(--ultramarine);
  color: #fff;
}

.journey-stat b {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ultramarine);
  font-variant-numeric: tabular-nums;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.journey-stat b.stat-flash {
  opacity: 0.5;
  transform: translateY(2px);
}

.node-time {
  font: 500 9px var(--mono);
  color: var(--muted);
}

.node-icon {
  width: 28px;
  height: 28px;
  margin: 6px 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  background: var(--lilac);
  color: var(--ultramarine);
  border-radius: 2px;
}

.journey-node.active .node-icon {
  background: var(--ultramarine);
  color: #fff;
}

.journey-node strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.journey-node small {
  font: 500 9px var(--mono);
  color: var(--muted);
}

.node-1 { left: 0; top: 50%; transform: translateY(-50%); }
.node-2 { left: 22%; top: 8%; }
.node-3 { left: 42%; top: 8%; }
.node-4 { right: 22%; top: 50%; transform: translateY(-50%); }
.node-5 { right: 0; bottom: 12%; }

.node-1.active,
.node-4.active { transform: translateY(-50%) scale(1); }
.node-1:not(.active) { transform: translateY(-50%) scale(0.96); }
.node-4:not(.active) { transform: translateY(-50%) scale(0.96); }

.journey-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.journey-stat {
  padding: 16px 20px;
  border-right: 1px solid var(--line);
}

.journey-stat:last-child {
  border-right: none;
}

.journey-stat small {
  display: block;
  font: 500 9px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.journey-stat b {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ultramarine);
  font-variant-numeric: tabular-nums;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

/* --------------------------------------------------------------------------
   Revenue leak
   -------------------------------------------------------------------------- */

.leak-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
}

.leak-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Premium glass module — same restrained material language as .hero-media,
   pushed slightly further: soft frosted surface, a hairline glass edge, an
   inner top highlight to catch the light, and a quiet ambient shadow rather
   than a hard card border. The animation iframe is transparent so the
   artwork floats on this glass surface rather than sitting in a player. */
.leak-card-frame {
  position: relative;
  height: clamp(380px, 34vw, 460px);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--pale));
  border: 1px solid var(--line);
  box-shadow:
    0 1px 1px rgba(11, 10, 18, 0.04),
    0 24px 60px rgba(11, 10, 18, 0.07);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.leak-card:hover .leak-card-frame {
  transform: translateY(-3px);
  box-shadow:
    0 1px 1px rgba(11, 10, 18, 0.04),
    0 28px 70px rgba(11, 10, 18, 0.11);
}

.leak-card-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color-scheme: light;
}

.leak-text h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.leak-index {
  display: block;
  margin-bottom: 8px;
  font: 500 10px/1.2 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.leak-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 34ch;
}

@media (max-width: 900px) {
  .leak-cards {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .leak-card-frame {
    height: clamp(340px, 78vw, 440px);
  }
}

/* --------------------------------------------------------------------------
   Outcomes
   -------------------------------------------------------------------------- */

/* Ink, not ultramarine — deliberately different from Capability Explorer's
   background so the two dark chapters (diagnosis vs. architecture) don't
   read as one continuous section. The ultramarine outcome-cards now sit as
   surfaces on a darker canvas instead of blending into an identical field. */
.outcomes {
  background: #08070f;
  transition: background 0.7s var(--ease);
}

.outcomes[data-active-system='revenue-recovery'] {
  background:
    radial-gradient(ellipse 52% 42% at 22% 28%, rgba(31, 4, 220, 0.38), transparent 62%),
    #08070f;
}

.outcomes[data-active-system='customer-concierge'] {
  background:
    radial-gradient(ellipse 48% 40% at 82% 22%, rgba(123, 108, 255, 0.3), transparent 62%),
    #08070f;
}

.outcomes[data-active-system='growth-acceleration'] {
  background:
    radial-gradient(ellipse 46% 38% at 78% 68%, rgba(31, 4, 220, 0.3), transparent 62%),
    #08070f;
}

.outcomes[data-active-system='intelligent-operations'] {
  background:
    radial-gradient(ellipse 70% 28% at 50% 88%, rgba(31, 4, 220, 0.28), transparent 64%),
    #08070f;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.outcomes[data-active-system] .outcomes-grid {
  border-bottom-color: rgba(123, 108, 255, 0.42);
}

.outcomes-grid:has(.outcome-card:hover) .outcome-card:not(:hover):not(.is-expanded) {
  opacity: 0.55;
}

.outcomes[data-active-system] .outcome-card:not(.is-expanded) {
  opacity: 0.46;
}

.outcome-card {
  position: relative;
  grid-column: span 2;
  background: #1608c2;
  padding: clamp(24px, 3vw, 36px);
  min-height: 200px;
  transition: background 0.35s var(--ease), opacity 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
  cursor: pointer;
}

.outcome-card::after {
  content: '+';
  position: absolute;
  top: 20px;
  right: 20px;
  font: 400 18px var(--sans);
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.outcome-card.is-expanded::after {
  content: '\2212';
  color: #fff;
}

.outcome-card.is-expanded {
  box-shadow: inset 0 0 0 2px var(--electric);
}

.outcome-card:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.outcome-card:hover {
  background: #1803b8;
  transform: scale(1.01);
  z-index: 1;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.outcome-signal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric), transparent);
  transform: translateX(-100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.outcome-card:hover .outcome-signal {
  opacity: 1;
  animation: signalSweep 1.2s var(--ease) forwards;
}

.outcome-card.featured {
  grid-column: span 4;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  padding: clamp(32px, 4vw, 48px);
  background:
    radial-gradient(ellipse 80% 70% at 88% 8%, rgba(255, 255, 255, 0.1), transparent 48%),
    linear-gradient(160deg, #2a12e8 0%, var(--ultramarine) 52%);
}

.outcome-card--band {
  grid-column: span 6;
  grid-row: 4;
  min-height: 168px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.outcome-band-copy {
  max-width: 640px;
}

.outcome-card--band h3 {
  margin: 0 0 10px;
}

.outcome-field {
  position: absolute;
  inset: auto 20px 20px auto;
  width: 72px;
  height: 40px;
  pointer-events: none;
  opacity: 0.28;
}

.outcome-card[data-system-id='revenue-recovery'] .outcome-field {
  background:
    linear-gradient(90deg, transparent 0 12%, currentColor 12% 14%, transparent 14% 32%, currentColor 32% 34%, transparent 34% 52%, currentColor 52% 54%, transparent 54%),
    radial-gradient(circle at 86% 50%, #fff 0 3px, transparent 4px);
  color: #fff;
}

.outcome-card[data-system-id='customer-concierge'] .outcome-field {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px 18px 4px 18px;
}

.outcome-card[data-system-id='growth-acceleration'] .outcome-field {
  background:
    radial-gradient(circle at 18% 70%, #fff 0 3px, transparent 4px),
    radial-gradient(circle at 48% 38%, #fff 0 3px, transparent 4px),
    radial-gradient(circle at 78% 18%, #fff 0 3px, transparent 4px);
}

.outcome-card[data-system-id='intelligent-operations'] .outcome-field {
  background:
    linear-gradient(#fff, #fff) 0 8px / 100% 1px no-repeat,
    linear-gradient(#fff, #fff) 0 20px / 72% 1px no-repeat,
    linear-gradient(#fff, #fff) 0 32px / 44% 1px no-repeat;
}

.outcome-tag {
  font: 500 10px var(--mono);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}

.outcome-card h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 40px 0 10px;
  line-height: 1.15;
}

.outcome-card.featured h3 {
  font-size: clamp(24px, 2.8vw, 32px);
  margin-top: auto;
}

.outcome-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.outcome-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font: 500 11px var(--mono);
  color: rgba(255, 255, 255, 0.85);
}

.proof-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

/* --------------------------------------------------------------------------
   Capability Explorer
   -------------------------------------------------------------------------- */

.capability {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 64% 48% at 100% -10%, rgba(31, 4, 220, 0.32), transparent 58%),
    var(--ink);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}

.capability-grid::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 45px;
  height: 1px;
  background: var(--line-dark);
}

.capability-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 30px) clamp(18px, 2vw, 24px);
  min-height: 190px;
  border-top: 2px solid var(--line-dark);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease), opacity 0.35s var(--ease);
  cursor: pointer;
}

.capability-card + .capability-card {
  border-left: 1px solid var(--line-dark);
}

.capability-card:hover {
  background: rgba(255, 255, 255, 0.035);
  border-top-color: var(--electric);
  transform: translateY(-4px);
}

.capability-card::after {
  content: '+';
  position: absolute;
  top: clamp(22px, 2.6vw, 30px);
  right: clamp(18px, 2vw, 24px);
  font: 400 16px var(--sans);
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s var(--ease);
}

.capability-card.is-expanded::after {
  content: '\2212';
  color: #fff;
}

.capability-card.is-expanded {
  background: rgba(255, 255, 255, 0.035);
  border-top-color: var(--electric);
}

.capability-card:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.capability-num {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 500 10px var(--mono);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}

.capability-num::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 3px rgba(114, 92, 255, 0.18);
  transition: box-shadow 0.35s var(--ease);
}

.capability-card:hover .capability-num::before {
  box-shadow: 0 0 0 5px rgba(114, 92, 255, 0.28);
}

.capability-card h3 {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 22px 0 8px;
  color: #fff;
}

.capability-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  flex: 1;
}

@media (max-width: 900px) {
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-grid::before {
    display: none;
  }

  .capability-card + .capability-card {
    border-left: none;
  }

  .capability-card:nth-child(even) {
    border-left: 1px solid var(--line-dark);
  }
}

@media (max-width: 560px) {
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card:nth-child(even) {
    border-left: none;
  }
}

/* --------------------------------------------------------------------------
   Capability Detail — expanding a domain in the Capability Explorer.
   Shares System Trace's panel shell (below) for visual continuity, but
   deliberately has no loop and no "live" status badge: a domain is a
   diagnostic lens, not a running system, so it gets one calm reveal.
   -------------------------------------------------------------------------- */

.capability-detail-panel {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s var(--ease), max-height 0.7s var(--ease);
}

.capability-detail-panel.is-open {
  opacity: 1;
  max-height: 600px;
}

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

.capability-detail-block {
  animation: detailBlockReveal 0.5s var(--ease) both;
}

.capability-detail-panel.is-open .capability-detail-block:nth-child(1) { animation-delay: 60ms; }
.capability-detail-panel.is-open .capability-detail-block:nth-child(2) { animation-delay: 140ms; }
.capability-detail-panel.is-open .capability-detail-block:nth-child(3) { animation-delay: 220ms; }

.capability-detail-eyebrow {
  margin: 0 0 10px;
  font: 500 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.capability-detail-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.capability-related-systems {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.capability-system-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  font: 700 14px var(--sans);
  color: #fff;
  border-bottom: 1.5px solid var(--electric);
  padding-bottom: 3px;
  cursor: pointer;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.capability-system-link:hover {
  opacity: 0.8;
  transform: translateX(2px);
}

.capability-system-link span {
  color: var(--electric);
}

@media (max-width: 900px) {
  .capability-detail-panel {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .capability-detail-panel.is-open {
    max-height: 900px;
  }
}

/* --------------------------------------------------------------------------
   Chapter divider — marks a phase change between sections (e.g. diagnosis
   → architecture) using existing tokens only. Two variants: dark (sits
   between two dark sections, ink background) and light (sits between two
   light sections, transparent).
   -------------------------------------------------------------------------- */

.chapter-divider {
  padding: 40px 0;
  text-align: center;
  background: var(--ink);
}

.chapter-divider-light {
  background: transparent;
  padding: 8px 0 48px;
}

.chapter-divider-inner {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font: 500 11px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  max-width: 640px;
}

.chapter-divider-light .chapter-divider-inner {
  color: var(--muted);
}

.chapter-divider-inner::before,
.chapter-divider-inner::after {
  content: '';
  flex-shrink: 0;
  width: 32px;
  height: 1px;
  background: var(--line-dark);
}

.chapter-divider-light .chapter-divider-inner::before,
.chapter-divider-light .chapter-divider-inner::after {
  background: var(--line);
}

/* The bookend variant carries a longer sentence (vs. the short "Discover →
   Architect" label) which wraps at narrow widths — stack the flanking
   rules above/below instead of beside the text so a wrapped line never
   sits oddly next to a short horizontal rule. */
@media (max-width: 640px) {
  .chapter-divider-inner {
    flex-direction: column;
    gap: 12px;
  }

  .chapter-divider-inner::before,
  .chapter-divider-inner::after {
    width: 32px;
  }
}

/* --------------------------------------------------------------------------
   Flow sequence — a static (non-looping) counterpart to System Trace, used
   where a section needs to show "business event → system action → outcome"
   instead of a feature checklist. Deliberately has no dots-activating
   animation or status badge: it's supporting narrative, not a live system.
   -------------------------------------------------------------------------- */

.flow-sequence {
  position: relative;
  padding-left: 24px;
  margin: 0;
}

.flow-sequence::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line-dark);
}

.flow-sequence-light::before {
  background: var(--line);
}

.flow-step {
  position: relative;
  padding: 0 0 18px 22px;
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-step::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric);
}

.flow-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.flow-step p strong {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   System Trace — living architecture view inside an expanded AI System card.
   Reuses the Story section's line/dot grammar and the Live Demo's
   message-bubble/typing-dot grammar rather than introducing new visual
   language. Slow, ambient, no controls.
   -------------------------------------------------------------------------- */

.system-trace-panel {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  background: #07060e;
  border: 0;
  padding: 0 clamp(24px, 3vw, 40px);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s var(--ease), max-height 0.7s var(--ease), padding 0.5s var(--ease), background 0.5s var(--ease);
}

.system-trace-panel.is-open {
  opacity: 1;
  max-height: 880px;
  padding: clamp(22px, 2.6vw, 34px) clamp(24px, 3vw, 40px);
  background: #0a0914;
  box-shadow: inset 0 2px 0 var(--electric);
}

.system-trace-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.system-trace-name {
  font: 600 13px var(--sans);
  letter-spacing: -0.01em;
  color: #fff;
}

.system-trace-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.trace-line-wrap {
  position: relative;
  padding-left: 28px;
  max-width: 560px;
}

.trace-line {
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line-dark);
}

.trace-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: var(--trace-progress, 0%);
  background: var(--electric);
  transition: height 0.8s var(--ease);
}

.trace-node {
  position: relative;
  padding: 0 0 28px 24px;
  opacity: 0.4;
  transition: opacity 0.5s var(--ease);
}

.trace-node:last-child {
  padding-bottom: 0;
}

.trace-node.is-active {
  opacity: 1;
}

.trace-dot {
  position: absolute;
  left: -33px;
  top: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-dark);
  border: 2px solid var(--ink);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.trace-node.is-active .trace-dot {
  background: var(--electric);
  box-shadow: 0 0 0 4px rgba(114, 92, 255, 0.22);
}

/* Evidence status shown structurally, not just in copy: approved nodes are
   solid once active; pilot nodes stay hollow-rimmed; pending_verification
   nodes never fill in — a visual admission nothing is confirmed there yet. */
.trace-node[data-status='pilot'] .trace-dot {
  background: transparent;
  border-color: var(--electric);
}

.trace-node[data-status='pilot'].is-active .trace-dot {
  background: var(--electric);
}

.trace-node[data-status='pending_verification'] .trace-dot,
.trace-node[data-status='pending_verification'].is-active .trace-dot {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.trace-label {
  margin: 0 0 4px;
  font: 600 15px var(--sans);
  color: #fff;
}

.trace-status-tag {
  margin-left: 8px;
  font: 500 10px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.trace-outcome {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  max-width: 420px;
}

.trace-bubble {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.trace-bubble.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.trace-bubble .typing-dot {
  background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
  .system-trace-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   Live demo gateway
   -------------------------------------------------------------------------- */

.demo-gateway {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.demo-gateway::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 16% 48%, rgba(31, 4, 220, 0.16) 0%, transparent 62%),
    radial-gradient(ellipse 36% 50% at 92% 18%, rgba(114, 92, 255, 0.1) 0%, transparent 52%);
  pointer-events: none;
}

.demo-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  min-height: var(--demo-window-h);
}

.demo-visual {
  min-height: var(--demo-window-h);
}

.demo-window {
  background: #090810;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  height: var(--demo-window-h);
  display: flex;
  flex-direction: column;
}

.demo-copy .section-label {
  color: rgba(255, 255, 255, 0.5);
}

.demo-copy h2 .accent {
  color: rgba(255, 255, 255, 0.95);
}

.demo-copy p {
  margin: 20px 0 24px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 440px;
}

.demo-capabilities {
  margin-bottom: 28px;
}

.demo-capabilities-label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}


.demo-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.demo-cta-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
  max-width: 440px;
}

.demo-window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.console-id {
  font: 500 9px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.demo-window-title {
  margin-left: 0;
  font: 500 10px var(--mono);
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-window-bar .demo-live {
  margin-left: auto;
}

.demo-window-body {
  flex: 1;
  padding: 0;
  height: var(--demo-chat-h);
  overflow: hidden;
}

.demo-chat-viewport {
  position: relative;
  height: 100%;
  padding: 20px;
}

.demo-chat-viewport.is-resetting [data-chat-step].is-visible {
  opacity: 0 !important;
  transform: translateY(-6px) scale(0.99) !important;
  transition-duration: 0.65s !important;
}

.demo-msg,
.demo-booking {
  position: absolute;
  margin: 0;
  will-change: opacity, transform;
}

.demo-msg {
  max-width: 78%;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px) scale(0.99);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.demo-msg[data-chat-step='1'] { top: 8px; }
.demo-msg[data-chat-step='2'],
.demo-msg[data-chat-step='3'] { top: 68px; }
.demo-msg[data-chat-step='4'] { top: 128px; }
.demo-msg[data-chat-step='5'],
.demo-msg[data-chat-step='6'] { top: 188px; }

.demo-booking {
  top: 258px;
  left: 20px;
  right: 20px;
}

.demo-msg.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.demo-msg[hidden] {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.demo-msg[hidden].is-visible {
  visibility: visible;
  pointer-events: auto;
}

.demo-booking {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(114, 92, 255, 0.4);
  background: rgba(114, 92, 255, 0.12);
  font: 600 11px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric);
  opacity: 0;
  transform: translateY(8px) scale(0.99);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.demo-booking.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.demo-booking[hidden] {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.demo-booking[hidden].is-visible {
  visibility: visible;
  pointer-events: auto;
}

.demo-booking-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ultramarine);
  color: #fff;
  font-size: 11px;
}

.demo-msg small {
  display: block;
  font: 500 9px var(--mono);
  margin-bottom: 4px;
  opacity: 0.5;
}

.demo-msg p {
  margin: 0;
}

.demo-msg.incoming {
  left: 20px;
  right: auto;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-msg.outgoing {
  right: 20px;
  left: auto;
  align-self: flex-end;
  background: var(--ultramarine);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-msg.typing p {
  display: flex;
  gap: 4px;
  padding: 2px 0;
}

.typing-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  animation: typingBounce 1.2s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }

.demo-window-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font: 500 10px var(--mono);
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.demo-live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--coral);
}

.demo-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 2s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--line);
}

.how-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-top: 1px solid var(--line);
}

.how-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.how-num {
  position: relative;
  font: 500 12px var(--mono);
  color: var(--ultramarine);
  padding-top: 4px;
  background: var(--cloud);
}

.how-steps h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.how-steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 560px;
}

/* --------------------------------------------------------------------------
   2:17 AM story
   -------------------------------------------------------------------------- */

.story {
  background: var(--ink);
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.story-clock {
  margin: 28px 0 4px;
  font: 400 clamp(72px, 9vw, 128px)/0.82 var(--serif);
  letter-spacing: -0.06em;
  color: #fff;
}

.story-clock span {
  color: var(--electric);
  animation: pulse 1.8s ease-in-out infinite;
}

.story-timeline {
  position: relative;
  padding-left: 24px;
}

.story-line {
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line-dark);
}

.story-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: var(--story-progress, 0%);
  background: var(--electric);
  transition: height 0.6s var(--ease);
}

.story-event {
  position: relative;
  padding: 0 0 36px 32px;
  opacity: 0.3;
  transform: translateX(0);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.story-event.is-active {
  opacity: 1;
  transform: translateX(2px);
}

.story-event.is-active .story-dot {
  background: var(--electric);
  box-shadow: 0 0 0 4px rgba(114, 92, 255, 0.2);
}

.story-event.is-active[data-story-step='5'] .story-dot {
  background: var(--ultramarine);
  box-shadow: 0 0 0 4px rgba(31, 4, 220, 0.15);
}

.story-event time {
  display: block;
  font: 500 11px var(--mono);
  color: var(--electric);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.story-event p {
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.story-dot {
  position: absolute;
  left: -29px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-dark);
  border: 2px solid var(--ink);
  transition: background 0.4s, box-shadow 0.4s;
}

.story-dot.active {
  background: var(--electric);
  box-shadow: 0 0 0 4px rgba(114, 92, 255, 0.2);
}

.story-dot.success {
  background: var(--ultramarine);
  box-shadow: 0 0 0 4px rgba(31, 4, 220, 0.15);
}

.story-divider {
  padding: 8px 0 32px 32px;
  position: relative;
}

.story-divider span {
  font: 500 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  background: var(--ink);
  padding-right: 12px;
}

.story-event.highlight p {
  color: #fff;
}

.story-event.highlight time {
  color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   ROI
   -------------------------------------------------------------------------- */

.roi-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.18fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.roi-body {
  margin-top: 12px;
}

.roi-model {
  border-top: 1px solid var(--ink);
}

.roi-model-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--line);
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.roi-ledger {
  list-style: none;
  margin: 0;
  padding: 0;
}

.roi-ledger li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.roi-ledger li span {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.12em;
  color: var(--ultramarine);
  padding-top: 4px;
}

.roi-ledger h3 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.roi-ledger p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.roi-model-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  padding-top: 28px;
}

.roi-cta {
  margin-top: 0;
}

.roi-secondary-cta {
  display: inline-block;
  margin-top: 0;
}

.roi-disclaimer {
  margin: 0;
  width: 100%;
  font: 500 10px var(--mono);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Industry Intelligence Selector
   -------------------------------------------------------------------------- */

.industry-selector {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(11, 10, 18, 0.05);
  padding: clamp(20px, 2.6vw, 32px) clamp(20px, 2.6vw, 32px) clamp(24px, 3vw, 36px);
}

.industry-search-wrap {
  position: relative;
}

.industry-selector-label {
  display: block;
  font: 500 11px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.industry-search-input {
  width: 100%;
  padding: 14px 16px;
  font: 500 16px var(--sans);
  color: var(--ink);
  background: var(--cloud);
  border: 1.5px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.industry-search-input:focus {
  outline: none;
  border-color: var(--ultramarine);
  box-shadow: var(--focus-ring);
}

.industry-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 10;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(16, 10, 46, 0.14);
  max-height: 280px;
  overflow-y: auto;
}

.industry-option {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font: 600 14px var(--sans);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s;
}

.industry-option:last-child {
  border-bottom: none;
}

.industry-option small {
  flex-shrink: 0;
  font: 500 11px var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.industry-option:hover,
.industry-option.is-active {
  background: var(--pale);
}

.industry-quick-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.industry-chip {
  padding: 7px 14px;
  font: 600 12px var(--sans);
  color: var(--ink-soft);
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.industry-chip:hover {
  background: var(--ultramarine);
  border-color: var(--ultramarine);
  color: #fff;
}

.industry-analysis {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.industry-analysis-lede {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 640px;
}

.industry-analysis-lede strong {
  color: var(--ultramarine);
}

.opportunity-chain {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

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

.opportunity-row {
  background: var(--cloud);
  padding: 18px 20px;
  animation: opportunityReveal 0.4s var(--ease) both;
}

.opportunity-row:nth-child(1) { animation-delay: 0ms; }
.opportunity-row:nth-child(2) { animation-delay: 80ms; }
.opportunity-row:nth-child(3) { animation-delay: 160ms; }

.opportunity-insight {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.opportunity-path {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font: 600 13px var(--sans);
}

.opportunity-domain {
  color: var(--ultramarine);
}

.opportunity-arrow {
  color: var(--muted);
}

.opportunity-systems {
  color: var(--ink);
}

.industry-analysis-transition {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-style: italic;
  color: var(--ink-soft);
}

.industry-analysis-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.industries-grid-label {
  margin: 40px 0 20px;
  font: 500 11px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Cross-section highlight, driven by js/selection-store.js. Relevant cards
   get emphasis; everything else dims — this is emphasis, not filtering,
   so nothing is ever removed from the layout.
   Selectors are scoped to the grid (not just `.card.is-dimmed`) so they hold
   at least the same specificity as `.capability-grid.visible .capability-card`
   above and reliably win the cascade once a card has revealed. */
.capability-grid .capability-card.is-relevant {
  background: rgba(114, 92, 255, 0.12);
  border-top-color: var(--electric);
}

.capability-grid .capability-card.is-dimmed {
  opacity: 0.4;
}

.outcomes-grid .outcome-card.is-relevant {
  box-shadow: inset 0 0 0 2px var(--electric);
}

.outcomes-grid .outcome-card.is-dimmed {
  opacity: 0.4;
}

/* A card the visitor deliberately expands should never stay visually
   dimmed — their explicit interest outranks the ambient industry-relevance
   signal. Same specificity as .is-dimmed above; wins on source order. */
.outcomes-grid .outcome-card.is-expanded {
  opacity: 1;
}

@media (max-width: 640px) {
  .industry-option {
    padding: 14px 16px;
  }
}

/* --------------------------------------------------------------------------
   Industries
   -------------------------------------------------------------------------- */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.industry-card {
  display: flex;
  flex-direction: column;
  position: relative;
  grid-column: span 2;
  padding: clamp(24px, 3vw, 32px);
  background: var(--cloud);
  text-decoration: none;
  color: inherit;
  transition: background 0.3s, color 0.3s;
  min-height: 248px;
}

.industry-card--lead {
  grid-column: span 4;
  min-height: 292px;
  padding: clamp(28px, 3.4vw, 40px);
}

.industry-motif {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 72px;
  height: 48px;
  color: var(--ultramarine);
  opacity: 0.72;
  transition: color 0.3s, opacity 0.3s;
}

.industry-motif svg {
  display: block;
  width: 100%;
  height: 100%;
}

.industry-card--lead .industry-motif {
  width: 88px;
  height: 58px;
}

.industry-card:hover .industry-motif,
.industry-card.is-touched .industry-motif {
  color: #fff;
  opacity: 0.8;
}

.industry-card:hover {
  background: var(--ultramarine);
  color: #fff;
}

.industry-card:hover .industry-num,
.industry-card:hover p,
.industry-card:hover .industry-link {
  color: rgba(255, 255, 255, 0.65);
}

.industry-card:hover .industry-link {
  color: #fff;
}

.industry-num {
  font: 500 10px var(--mono);
  color: var(--muted);
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.industry-card h3 {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 24px 0 10px;
}

.industry-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
  transition: color 0.3s;
}

.industry-link {
  margin-top: 20px;
  font: 600 13px var(--sans);
  color: var(--ultramarine);
  transition: color 0.3s, opacity 0.3s;
}

.industry-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font: 500 10px var(--mono);
  letter-spacing: 0.02em;
  color: var(--muted);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), opacity 0.35s var(--ease), margin 0.35s var(--ease);
}

.industry-preview i {
  font-style: normal;
  color: var(--electric);
  opacity: 0.7;
}

.industry-card:hover .industry-preview {
  max-height: 48px;
  opacity: 1;
}

.industry-card:hover .industry-link,
.industry-card.is-touched .industry-link {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
}

.industry-card.is-touched {
  background: var(--ultramarine);
  color: #fff;
}

.industry-card.is-touched .industry-num,
.industry-card.is-touched p,
.industry-card.is-touched .industry-preview {
  color: rgba(255, 255, 255, 0.65);
}

.industry-card.is-touched .industry-preview {
  max-height: 48px;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Trust
   -------------------------------------------------------------------------- */

.trust-dossier {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.trust-dossier-head h2 {
  max-width: 12ch;
}

.trust-dossier-head h2 em {
  color: inherit;
}

.trust-sheet {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.trust-sheet-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.trust-evidence {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-evidence li {
  display: grid;
  grid-template-columns: minmax(140px, 0.42fr) 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.trust-evidence strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.trust-evidence span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.trust-honesty {
  margin: 0;
  padding: 16px 20px 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Closing CTA
   -------------------------------------------------------------------------- */

.closing {
  position: relative;
  overflow: hidden;
  background: var(--ultramarine);
  color: #fff;
  text-align: left;
  padding-block: clamp(112px, 13vw, 176px);
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.closing h2 {
  font-size: clamp(44px, 7vw, 92px);
  margin: 18px 0 22px;
}

.closing p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 36px;
  max-width: 28ch;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px;
}

.closing .btn-primary {
  background: #fff;
  color: var(--ultramarine);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--ink);
  padding: 56px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: end;
  gap: 32px;
}

.footer .brand {
  color: #fff;
}

.footer-tagline {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-nav a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font: 500 11px var(--mono);
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.38);
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Launch film
   -------------------------------------------------------------------------- */

.launch-film {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.launch-film::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(114, 92, 255, 0.22) 0%, transparent 60%);
  pointer-events: none;
}

.launch-film-intro {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.launch-film-intro .section-dek {
  margin-inline: auto;
}

.launch-film-frame {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #000;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 40px 100px rgba(0, 0, 0, 0.5);
}

.launch-meta {
  padding: 10px 14px;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #07060c;
  color: rgba(255, 255, 255, 0.48);
}

.launch-film-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* --------------------------------------------------------------------------
   Live revenue flow showcase
   -------------------------------------------------------------------------- */

.journey-showcase {
  background: var(--cloud);
}

.journey-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.journey-showcase .section-intro {
  margin-bottom: 0;
}

.journey-showcase .nav-cta {
  display: inline-flex;
  margin-top: 8px;
}

.journey-showcase-visual .journey-panel {
  max-width: none;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */

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

@keyframes signalSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes callRingOnce {
  0% { opacity: 0.6; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(1.8); }
}

@keyframes callDurationTick {
  0%, 19%   { transform: translateY(0); }
  20%, 39%  { transform: translateY(-20%); }
  40%, 59%  { transform: translateY(-40%); }
  60%, 79%  { transform: translateY(-60%); }
  80%, 100% { transform: translateY(-80%); }
}

@keyframes followMarkerTravel {
  0%   { left: 6%; opacity: 0; }
  8%   { opacity: 1; }
  45%  { left: 50%; opacity: 1; }
  72%  { left: 70%; opacity: 1; }
  100% { left: 70%; opacity: 0; }
}

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .nav-links,
  .nav .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-stage,
  .demo-inner,
  .story-layout,
  .roi-layout,
  .trust-dossier,
  .journey-showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 0;
  }

  .hero-stage {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    min-height: calc(100svh - var(--nav-h));
    gap: 0;
  }

  .hero-copy-block {
    max-width: none;
    padding: 22px 20px 16px;
    width: 100%;
    margin-inline: auto;
    flex: 0 0 auto;
  }

  .hero-lede {
    margin: 14px 0 16px;
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-visual {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    align-items: stretch;
  }

  .hero-media {
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-visual::before {
    inset: 8% 8% 8% 8%;
  }

  .outcomes-grid {
    grid-template-columns: 1fr 1fr;
  }

  .outcome-card,
  .outcome-card.featured,
  .outcome-card--band {
    grid-column: span 1;
    grid-row: auto;
  }

  .outcome-card.featured {
    grid-column: span 2;
    min-height: 280px;
  }

  .outcome-card--band {
    grid-column: span 2;
    min-height: 180px;
    flex-direction: column;
    align-items: flex-start;
  }

  .system-trace-panel {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .industries-grid {
    grid-template-columns: 1fr 1fr;
  }

  .industry-card,
  .industry-card--lead {
    grid-column: span 1;
    min-height: 240px;
  }

  .industry-card--lead {
    grid-column: span 2;
  }

  .leak-content {
    grid-template-columns: 1fr;
  }

  .leak-visual {
    max-width: 280px;
  }

  .journey-track {
    height: 380px;
  }

  .node-1 { left: 4%; top: auto; bottom: 8%; transform: none; }
  .node-2 { left: 4%; top: 8%; }
  .node-3 { left: 38%; top: 8%; }
  .node-4 { right: 4%; top: auto; bottom: 38%; transform: none; }
  .node-5 { right: 4%; bottom: 8%; }

  .node-1.active,
  .node-4.active { transform: none; }
}

@media (max-width: 640px) {
  :root {
    --demo-window-h: 420px;
    --demo-chat-h: 300px;
  }

  .container {
    width: min(100% - 32px, 1160px);
  }

  .hero {
    padding-top: var(--nav-h);
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-copy-block {
    padding: 16px 20px 12px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .section-intro {
    margin-bottom: 32px;
  }

  .section-spacious {
    padding-block: clamp(72px, 16vw, 110px);
  }

  .hero-metrics div {
    padding: 12px 12px 14px;
  }

  .story-clock {
    font-size: clamp(64px, 18vw, 88px);
  }

  .trust-evidence li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 16px;
  }

  .trust-sheet-meta,
  .trust-honesty {
    padding-left: 16px;
    padding-right: 16px;
  }

  .closing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .outcome-card,
  .outcome-card.featured,
  .outcome-card--band {
    grid-column: auto;
    min-height: 168px;
  }

  .outcome-card.featured {
    min-height: 280px;
  }

  .system-trace-panel.is-open {
    max-height: none;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .industry-card,
  .industry-card--lead {
    grid-column: auto;
    min-height: 220px;
  }

  .industry-motif {
    width: 56px;
    height: 38px;
  }

  .leak-item {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .journey-footer {
    grid-template-columns: 1fr;
  }

  .journey-stat {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .journey-stat:last-child {
    border-bottom: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-nav,
  .footer-links {
    align-items: flex-start;
  }

  .closing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .closing-actions .btn {
    justify-content: center;
  }

  .demo-msg[data-chat-step='4'] { top: 118px; }
  .demo-msg[data-chat-step='5'],
  .demo-msg[data-chat-step='6'] { top: 172px; }
  .demo-booking { top: 232px; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .demo-msg,
  .demo-booking,
  .story-event,
  .leak-item,
  .system-trace-panel.is-open {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-media-video {
    filter: none;
  }

  .journey-signal {
    opacity: 0 !important;
  }

  .journey-path-progress {
    stroke-dashoffset: 0 !important;
  }

  .journey-node {
    opacity: 1 !important;
  }

  .industry-preview {
    max-height: none;
    opacity: 1;
  }

  .call-ring::before,
  .call-duration-track,
  .follow-fill,
  .follow-marker {
    animation-delay: 0s !important;
    transition-delay: 0s !important;
  }

  .call-missed,
  .slow-time,
  .slow-label,
  .slow-elapsed,
  .follow-stage.s1,
  .follow-stage.s2,
  .follow-lost {
    opacity: 1 !important;
    transform: none !important;
    transition-delay: 0s !important;
  }

  .leak-item.is-active[data-leak='slow'] .slow-time.t3 {
    color: var(--ink) !important;
  }

  .story-clock span {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   Console language — shared instrumentation chrome
   -------------------------------------------------------------------------- */

.console-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 16px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--line);
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.console-meta span:last-child {
  margin-left: auto;
}

.launch-meta {
  padding: 10px 14px;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #07060c;
  color: rgba(255, 255, 255, 0.48);
}

/* --------------------------------------------------------------------------
   Section atmosphere
   -------------------------------------------------------------------------- */

.industries {
  background:
    linear-gradient(180deg, #f3f2ed 0%, var(--cloud) 18%);
}

.leak {
  background: var(--pale);
}

.roi {
  background: var(--paper);
}

.how {
  background: var(--cloud);
}

.trust {
  background: var(--paper);
}

.outcomes {
  background: #08070f;
}

.launch-film {
  padding-block: clamp(104px, 12vw, 168px);
}

.story .nav-cta {
  display: inline-flex;
  margin-top: 36px;
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.industry-card {
  background: var(--paper);
}

.industry-card:hover,
.industry-card.is-touched {
  background: var(--ink);
}

.capability-card {
  min-height: 208px;
}

.outcome-card {
  min-height: 228px;
}

.roi-model {
  background: transparent;
}

/* Dark-section nav already handled via .nav-dark; keep chapter dividers ink. */
.chapter-divider {
  padding: 32px 0;
}

@media (max-width: 960px) {
  .container {
    width: min(100% - 40px, 1180px);
  }

  .hero-visual {
    max-width: none;
  }

  .console-meta {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .console-meta span:last-child {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero-metrics dd {
    font-size: 16px;
  }

  .footer-inner {
    gap: 28px;
  }
}
