/* =========================================================
   ULVEO — Design Tokens
   ========================================================= */
:root {
  /* Hero / dark surface palette */
  --void:            #05070a;
  --surface:         #0b0f14;
  --surface-raised:  #10151c;
  --border-subtle:   rgba(255, 255, 255, 0.08);
  --border-strong:   rgba(255, 255, 255, 0.16);

  --text-primary:    #f5f7fa;
  --text-secondary:  #9aa5b1;
  --text-tertiary:   #76828e;

  /* Accent system — vision cyan (primary) + owl amber (rare highlight) */
  --accent:          #2fe0c8;
  --accent-bright:   #6cf3e0;
  --accent-dim:      rgba(47, 224, 200, 0.14);
  --accent-amber:    #f5b942;

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
img, video { max-width: 100%; display: block; }

@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;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border-subtle);
  padding: 14px 0;
}
.nav-inner {
  /* nav intentionally hugs the true viewport edges on wide screens instead
     of capping at the same 1240px the body content uses below it — the
     logo/CTA pin toward the real corners rather than floating as a
     centered block with dead margins on either side */
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.logo-symbol {
  height: 26px; width: auto;
  flex-shrink: 0;
  display: block;
}
.logo-text { color: var(--text-primary); }
.logo-e {
  display: inline-block;
  height: 0.72em;
  width: auto;
  vertical-align: -0.06em;
  margin: 0 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { transform: scaleX(1); }

/* "See It In Action" — the one nav item pointing at real footage, given
   the same pulsing live-dot used in section eyebrows so it reads as
   "this is playing right now" rather than just another menu label. */
.nav-link-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav-link-live .eyebrow-dot { flex-shrink: 0; }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile { display: none; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #17b3a1);
  color: #04211d;
  box-shadow: 0 0 0 0 rgba(47, 224, 200, 0.5), 0 8px 24px -8px rgba(47, 224, 200, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px 2px rgba(47, 224, 200, 0.45), 0 12px 32px -8px rgba(47, 224, 200, 0.65);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(47, 224, 200, 0.10), transparent 60%),
    linear-gradient(180deg, var(--void) 0%, #070a0d 100%);
}

.hero-video,
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-canvas.is-hidden { display: none; }

/* Uniform dark overlay for the real-footage hero background — the
   existing .hero-vignette only darkens the edges (tuned for the
   sparse particle look), which isn't enough contrast for hero text
   over real, busy video. Sits above the video, below grid/vignette. */
.hero-video-scrim {
  position: absolute;
  inset: 0;
  z-index: 0.5;
  pointer-events: none;
  background: rgba(5, 7, 10, 0.6);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, transparent 0%, black 75%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, transparent 0%, black 75%);
}

.hero-scanline {
  position: absolute;
  left: 0; right: 0;
  height: 140px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(47, 224, 200, 0.10) 45%, rgba(47, 224, 200, 0.22) 50%, rgba(47, 224, 200, 0.10) 55%, transparent);
  animation: scanSweep 7s linear infinite;
  opacity: 0.7;
}
@keyframes scanSweep {
  0%   { top: -140px; }
  100% { top: 100%; }
}

/* .hero-detections / .detect-box (synthetic ZONE A / ANALYZING boxes)
   removed along with the JS that drove them — see index.html hero. */

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 40%, rgba(5,7,10,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 780px;
  margin: 0 auto;
  padding: 140px 24px 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Scroll-reveal entrance */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUpIn 0.9s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 0.12s + 0.1s);
}
@keyframes fadeUpIn {
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 1px var(--accent);
  animation: pulseGlow 2.4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 4.6vw + 1rem, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 26px;
}
.accent-text {
  background: linear-gradient(100deg, var(--accent-bright), var(--accent) 60%, var(--accent-amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.15rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 34px;
}

.hero-statement {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 460px;
  margin-bottom: 38px;
}
.statement-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong));
}
.hero-statement .statement-line:last-child { background: linear-gradient(90deg, var(--border-strong), transparent); }
.hero-statement p {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px 0 var(--accent);
}
.hero-trust li a {
  color: var(--accent-bright);
  border-bottom: 1px solid rgba(108, 243, 224, 0.35);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.hero-trust li a:hover { color: var(--text-primary); border-color: var(--text-primary); }

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUpIn 0.9s var(--ease) forwards;
  animation-delay: 0.9s;
}
.scroll-cue-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
.scroll-cue-text {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  color: var(--text-secondary);
}

/* =========================================================
   AGENTIC AI TEASER — thin strip right after the hero, plants the
   agentic concept early so a first-time visitor doesn't have to
   scroll past several sections to learn it exists
   ========================================================= */
.agentic-teaser {
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(47, 224, 200, 0.035) 0%, transparent 100%), var(--surface);
  overflow: hidden;
}
.agentic-teaser::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  pointer-events: none;
}
.agentic-teaser-inner {
  position: relative; z-index: 1;
  max-width: 1000px; margin: 0 auto; padding: 26px 32px;
  display: flex; align-items: center; gap: 28px;
}

/* mini hub — same visual language as the full diagram further down the
   page, just small enough to read as an icon, not a second diagram */
.teaser-hub { position: relative; width: 60px; height: 60px; flex-shrink: 0; }
.teaser-hub svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.teaser-hub .spoke {
  stroke: var(--accent-bright); stroke-width: 1.4; opacity: 0.55;
  filter: drop-shadow(0 0 2px rgba(108, 243, 224, 0.6));
}
.teaser-hub .node-dot { fill: var(--surface-raised); stroke: var(--accent-bright); stroke-width: 1.4; }
.teaser-hub .node-dot.pulse { animation: teaserDotPulse 2.4s ease-in-out infinite; }
.teaser-hub .node-dot:nth-child(3) { animation-delay: 0s; }
.teaser-hub .node-dot:nth-child(5) { animation-delay: 0.3s; }
.teaser-hub .node-dot:nth-child(7) { animation-delay: 0.6s; }
.teaser-hub .node-dot:nth-child(9) { animation-delay: 0.9s; }
.teaser-hub .node-dot:nth-child(11) { animation-delay: 1.2s; }
.teaser-hub .node-dot:nth-child(13) { animation-delay: 1.5s; }
.teaser-hub .node-dot:nth-child(15) { animation-delay: 1.8s; }
@keyframes teaserDotPulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(108, 243, 224, 0)); }
  50% { filter: drop-shadow(0 0 4px rgba(108, 243, 224, 0.9)); }
}
.teaser-hub .center-dot { fill: var(--accent-bright); }
.teaser-hub-ring {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(47, 224, 200, 0.25); animation: teaserRingPulse 2.4s ease-out infinite;
}
@keyframes teaserRingPulse { 0% { transform: scale(0.85); opacity: 0.7; } 100% { transform: scale(1.25); opacity: 0; } }

.teaser-text { flex: 1; min-width: 0; }
.teaser-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.12em; color: var(--accent-bright); margin-bottom: 6px;
}
.teaser-eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 6px 1px var(--accent-bright); }
.teaser-text p { font-size: 0.95rem; color: var(--text-primary); line-height: 1.5; }
.teaser-text p b { color: var(--accent-bright); font-weight: 600; }
.teaser-text .teaser-sub { display: block; margin-top: 3px; font-size: 0.82rem; color: var(--text-tertiary); }

.teaser-cta {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  padding: 10px 18px; border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.teaser-cta:hover { border-color: var(--accent); color: var(--accent-bright); background: rgba(47, 224, 200, 0.06); }
.teaser-cta svg { width: 13px; height: 13px; transition: transform 0.25s var(--ease); }
.teaser-cta:hover svg { transform: translateY(2px); }

@media (max-width: 720px) {
  .agentic-teaser-inner { flex-direction: column; text-align: center; gap: 16px; padding: 28px 24px; }
  .teaser-cta { width: 100%; justify-content: center; }
}

/* =========================================================
   BODY SECTIONS — shared light-surface tokens
   ========================================================= */
.body-section {
  --ink:        #0b0f14;
  --ink-soft:   #4b5766;
  --ink-faint:  #8a94a1;
  --paper:      #ffffff;
  --paper-raised: #f4f7f8;
  --line:       rgba(11, 15, 20, 0.09);
  --accent-deep: #0a8272;

  position: relative;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-glow {
  position: absolute;
  top: -10%;
  right: -8%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(47, 224, 200, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.eyebrow-light {
  border-color: var(--line);
  background: var(--paper-raised);
  color: var(--ink-soft);
}

.accent-text-solid { color: var(--accent-deep); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 2.6vw + 1rem, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}

.body-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 22px;
}

.body-punch {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--accent-deep);
  margin-bottom: 22px;
}

.body-copy {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 580px;
  margin-bottom: 34px;
}

/* =========================================================
   Reveal-on-scroll (used across all body sections)
   ========================================================= */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--sd, 0) * 0.1s);
}
.reveal-on-scroll.is-in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   WHAT IS ULVEO
   ========================================================= */
.what-is { padding: 128px 0; }

.what-is-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: start;
}

.scale-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
}
.scale-note-icon { color: var(--accent-deep); flex-shrink: 0; margin-top: 2px; }
.scale-note p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.55; }

/* --- Stat card --- */
.what-is-visual { position: relative; z-index: 1; }

.stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 30px 60px -30px rgba(11, 15, 20, 0.18);
}

.stat-block { margin-bottom: 22px; }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 3.4vw + 1rem, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--accent-deep), #17b3a1 60%, #0a7e70);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-number-alt {
  background: linear-gradient(100deg, #e08a2c, var(--accent-amber));
  -webkit-background-clip: text;
  background-clip: text;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 320px;
}

.stat-divider {
  height: 1px;
  background: var(--line);
  margin: 26px 0;
}

.utilization { margin-top: 30px; }
.utilization-caption {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.utilization-bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  overflow: hidden;
}
.utilization-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-amber), var(--accent-deep));
  transition: width 1.4s var(--ease) 0.3s;
}
.stat-card.is-in-view .utilization-fill { width: 8px; }

.stat-footnote {
  margin-top: 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

/* =========================================================
   SEE IT IN ACTION — spotlight demo player
   One stage box sized to whichever clip is active (main.js),
   plus a row of selector cards to swap it. Source clips span
   very different native aspect ratios (landscape park footage,
   portrait doorbell/driveway cams, portrait hallway footage) —
   cropping any of them to force a shared box would cut people
   out of frame, so instead the stage's WIDTH AND HEIGHT both
   react to whatever's playing: --stage-h is the target/max
   height, and main.js shrinks proportionally instead if a
   clip's natural width at that height would overflow the
   available column (e.g. a landscape clip on a narrow phone).
   Because the box always ends up matching the video's own
   ratio, object-fit:contain never actually has to pad anything.
   --stage-h swaps at the mobile breakpoint further down.
   ========================================================= */
.demo-showcase {
  position: relative;
  padding: 128px 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--void) 0%, #070a0d 100%);
}
.demo-showcase .hero-grid { opacity: 0.7; }

.stage-wrap {
  --stage-h: 560px;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(47, 224, 200, 0.08);
  background: var(--surface);
  transition: width 0.5s var(--ease), height 0.5s var(--ease), box-shadow 0.4s var(--ease);
}
.stage-wrap.is-preview-active {
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(245, 185, 66, 0.25);
}

.stage-video {
  display: none;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.stage-video.is-active { display: block; }

.stage-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.stage-sim {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  font-family: var(--font-display); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(5, 7, 10, 0.72); backdrop-filter: blur(6px);
  border: 1px solid rgba(245, 185, 66, 0.4); color: var(--accent-amber);
}
.stage-sim[hidden] { display: none; }
.stage-badge.is-live { color: var(--accent-bright); border-color: rgba(47, 224, 200, 0.35); }
.stage-badge.is-preview { color: var(--accent-amber); border-color: rgba(245, 185, 66, 0.35); }

.stage-caption {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 22px auto 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  min-height: 44px;
}

.stage-more {
  display: block; width: fit-content; margin: 10px auto 0; position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent-bright); text-decoration: none; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(47, 224, 200, 0.3);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.stage-more[hidden] { display: none; }
.stage-more:hover { background: rgba(47, 224, 200, 0.08); border-color: rgba(47, 224, 200, 0.6); }
.cap-more { display: inline-block; margin-top: 10px; font-size: 0.85rem; font-weight: 600; color: var(--accent-bright); text-decoration: none; }
.cap-more:hover { text-decoration: underline; }

.selector-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 28px auto 0;
}
.selector-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.selector-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.selector-card.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 12px 28px -12px rgba(47, 224, 200, 0.35);
}
.selector-card.is-active.is-preview {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 1px var(--accent-amber), 0 12px 28px -12px rgba(245, 185, 66, 0.35);
}
.selector-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.62);
  transition: filter 0.25s var(--ease);
}
.selector-card.is-active img,
.selector-card:hover img { filter: brightness(0.85); }
.selector-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 12px;
  background: linear-gradient(0deg, rgba(5, 7, 10, 0.92) 0%, transparent 100%);
}
.selector-name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}
.selector-tag {
  display: inline-block;
  margin-top: 3px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-bright);
}
.selector-card.is-preview .selector-tag { color: var(--accent-amber); }
.selector-playicon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(5, 7, 10, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.selector-card:hover .selector-playicon,
.selector-card.is-active .selector-playicon { opacity: 1; }
.selector-playicon svg { width: 9px; height: 9px; }

.demo-trust {
  position: relative;
  z-index: 1;
  margin-top: 32px;
}

/* bridge prompt — closes the loop between "watch it detect" (above)
   and "watch it get verified" (the agentic-verify section below) */
.verify-bridge {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  max-width: 700px;
  margin: 40px auto 0;
  padding: 16px 26px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.verify-bridge:hover {
  border-color: var(--accent);
  background: rgba(47, 224, 200, 0.06);
  transform: translateY(-2px);
}
.verify-bridge-dot {
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 1px var(--accent);
  animation: pulseGlow 2.4s ease-in-out infinite;
}
.verify-bridge-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.verify-bridge-text strong { color: var(--text-primary); font-weight: 600; }
.verify-bridge-cta {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-bright);
  white-space: nowrap;
}

/* =========================================================
   BEHIND EVERY ALERT — agentic verification pipeline
   ========================================================= */
.agentic-verify {
  position: relative;
  padding: 128px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #070a0d 0%, var(--void) 100%);
}
.agentic-verify .hero-grid { opacity: 0.7; }

/* ambient live feed */
.feed-wrap {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 52px auto 0;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: var(--surface-raised);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(47, 224, 200, 0.06);
  overflow: hidden;
}
.feed-head {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--text-secondary);
}
.feed-head .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 7px 1px var(--accent-bright);
  animation: pulseGlow 1.6s ease-in-out infinite;
}
.feed-viewport {
  position: relative;
  height: 336px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, black 12%, black 88%, transparent);
          mask-image: linear-gradient(180deg, transparent, black 12%, black 88%, transparent);
}
.feed-track {
  display: flex; flex-direction: column;
  animation: feedScroll 42s linear infinite;
}
.feed-viewport:hover .feed-track { animation-play-state: paused; }
@keyframes feedScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.feed-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.feed-dot {
  flex-shrink: 0; margin-top: 5px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 7px 1px rgba(108, 243, 224, 0.6);
}
.feed-row.is-clear .feed-dot { background: var(--text-tertiary); box-shadow: none; }
.feed-body { flex: 1; min-width: 0; }
.feed-title { font-family: var(--font-display); font-weight: 600; font-size: 0.84rem; color: var(--text-primary); }
.feed-title .loc { color: var(--text-secondary); font-weight: 500; }
.feed-sub { font-size: 0.74rem; color: var(--text-secondary); margin-top: 2px; }
.feed-row.is-clear .feed-sub { color: var(--text-tertiary); }
.feed-time { flex-shrink: 0; font-family: var(--font-mono, monospace); font-size: 0.66rem; color: var(--text-tertiary); padding-top: 2px; }
.feed-caption { position: relative; z-index: 1; text-align: center; margin-top: 14px; font-size: 0.74rem; color: var(--text-tertiary); }

/* divider + single-example head */
.divider-row {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 14px;
  max-width: 620px; margin: 88px auto 0;
}
.divider-row .line { flex: 1; height: 1px; background: var(--border-subtle); }
.divider-row span {
  font-family: var(--font-display); font-size: 0.72rem;
  color: var(--text-tertiary); letter-spacing: 0.04em; white-space: nowrap;
}
.example-head { position: relative; z-index: 1; text-align: center; max-width: 560px; margin: 32px auto 0; }
.example-head h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin-bottom: 8px; }
.example-head p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* scenario tabs */
.scenario-tabs {
  position: relative; z-index: 1;
  display: flex; justify-content: center; gap: 8px;
  margin-top: 32px; flex-wrap: wrap;
}
.scenario-tab {
  font-family: var(--font-display); font-size: 0.76rem; font-weight: 600;
  color: var(--text-secondary); background: var(--surface-raised);
  border: 1px solid var(--border-subtle); border-radius: 999px;
  padding: 9px 18px; cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}
.scenario-tab:hover { border-color: var(--border-strong); color: var(--text-primary); }
.scenario-tab.is-active { color: var(--void); background: var(--accent-bright); border-color: var(--accent-bright); }

/* single-example video stage */
.agentic-verify .stage-outer { position: relative; z-index: 1; margin-top: 28px; display: flex; flex-direction: column; align-items: center; }

.agentic-verify .video-frame {
  position: relative;
  width: 240px; height: 427px;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(47, 224, 200, 0.07);
}
.agentic-verify .video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }

.agentic-verify .live-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(5, 7, 10, 0.72); backdrop-filter: blur(6px);
  border: 1px solid rgba(47, 224, 200, 0.35); color: var(--accent-bright);
}
.agentic-verify .live-badge .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-bright); box-shadow: 0 0 6px 1px var(--accent-bright);
  animation: pulseGlow 1.6s ease-in-out infinite;
}

.frozen-tint {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(47, 224, 200, 0.05), transparent 30%, transparent 70%, rgba(5, 7, 10, 0.15));
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.video-frame.is-frozen .frozen-tint { opacity: 1; }
.video-frame.is-frozen video { filter: saturate(0.82) brightness(0.94); }
.video-frame.is-thinking .frozen-tint {
  opacity: 1;
  background: linear-gradient(180deg, transparent, rgba(47, 224, 200, 0.16) 45%, rgba(47, 224, 200, 0.28) 50%, rgba(47, 224, 200, 0.16) 55%, transparent);
  background-size: 100% 340%;
  animation: thinkScan 1.9s ease-in-out infinite;
}
@keyframes thinkScan {
  0%   { background-position: 0 -120%; }
  100% { background-position: 0 120%; }
}

.ticker-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 26px 12px 13px;
  background: linear-gradient(0deg, rgba(3, 4, 6, 0.94) 20%, rgba(3, 4, 6, 0.75) 55%, transparent);
  display: flex; align-items: center; gap: 8px;
  min-height: 36px;
}
.ticker-dot {
  flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-bright); box-shadow: 0 0 7px 2px rgba(108, 243, 224, 0.7);
  animation: pulseGlow 1.5s ease-in-out infinite;
}
.ticker-text {
  font-family: var(--font-display); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.01em;
  color: #fff; flex: 1; min-width: 0;
}
.ticker-text .tag-num { color: var(--accent-bright); font-family: var(--font-mono, monospace); font-weight: 500; margin-right: 4px; }
.ticker-time { flex-shrink: 0; font-family: var(--font-mono, monospace); font-size: 0.58rem; color: var(--accent-bright); }
.ticker-text.swap, .ticker-time.swap { animation: tickSwap 0.4s var(--ease); }
@keyframes tickSwap {
  0%   { opacity: 0; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}
.ticker-text .dots { display: inline-flex; gap: 2px; margin-left: 3px; vertical-align: 2px; }
.ticker-text .dots i {
  width: 3px; height: 3px; border-radius: 50%; background: var(--accent-bright);
  animation: dotPulse 1.1s ease-in-out infinite;
}
.ticker-text .dots i:nth-child(2) { animation-delay: 0.15s; }
.ticker-text .dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dotPulse { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }

.agentic-verify .replay-btn {
  display: flex; align-items: center; gap: 6px; margin: 20px auto 0;
  background: transparent; border: 1px solid var(--border-strong); color: var(--text-secondary);
  font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.04em;
  padding: 7px 15px; border-radius: 999px; cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.agentic-verify .replay-btn:hover { border-color: var(--accent); color: var(--accent-bright); }

/* phone payoff — a cropped lock-screen, not a floating card */
.phone-payoff {
  position: relative;
  display: flex; justify-content: center; margin-top: 32px;
  opacity: 0; transform: translateY(8px) scale(0.96);
}
.stage-outer.payoff-on .phone-payoff { animation: payoffIn 0.5s var(--ease) forwards; }
@keyframes payoffIn { to { opacity: 1; transform: translateY(0) scale(1); } }

.phone-device {
  position: relative;
  width: 266px;
  border-radius: 26px;
  background: radial-gradient(120% 90% at 50% -15%, #131a22 0%, #05070a 65%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 26px 60px -22px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(47, 224, 200, 0.07), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  padding: 16px 14px 20px;
  overflow: hidden;
}
.phone-device::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 30%, rgba(108, 243, 224, 0.9), transparent 65%);
  opacity: 0;
}
.stage-outer.payoff-on .phone-device::before { animation: screenWake 1s var(--ease) forwards; animation-delay: 0.15s; }
@keyframes screenWake { 0% { opacity: 0; } 30% { opacity: 0.16; } 100% { opacity: 0; } }

.phone-statusbar {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 4px 20px;
  font-family: var(--font-mono, monospace); font-size: 0.66rem; letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.45);
}
.phone-statusbar .signal-dots { display: flex; gap: 3px; align-items: flex-end; }
.phone-statusbar .signal-dots span { width: 3px; border-radius: 1px; background: rgba(255, 255, 255, 0.45); }
.phone-statusbar .signal-dots span:nth-child(1) { height: 4px; }
.phone-statusbar .signal-dots span:nth-child(2) { height: 6px; }
.phone-statusbar .signal-dots span:nth-child(3) { height: 8px; }

.phone-notif {
  position: relative; z-index: 1;
  display: flex; gap: 10px; align-items: flex-start;
  width: 100%;
  background: rgba(24, 30, 38, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translateY(-14px);
}
.stage-outer.payoff-on .phone-notif { animation: notifDrop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) forwards; animation-delay: 0.2s; }
@keyframes notifDrop { to { opacity: 1; transform: translateY(0); } }

.phone-notif-icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(140deg, var(--accent), var(--accent-bright));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.64rem; color: var(--void);
}
.phone-notif-title { font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; margin-bottom: 3px; }
.phone-notif-text { font-size: 0.73rem; color: var(--text-secondary); line-height: 1.42; margin-bottom: 5px; }
.phone-notif-meta { font-family: var(--font-mono, monospace); font-size: 0.6rem; color: var(--accent-bright); }

/* reveal trigger for a .phone-payoff used standalone (not gated by an
   ancestor .stage-outer.payoff-on toggle) — reuses the same keyframes */
.phone-payoff.is-visible { animation: payoffIn 0.5s var(--ease) forwards; }
.phone-payoff.is-visible .phone-device::before { animation: screenWake 1s var(--ease) forwards; animation-delay: 0.15s; }
.phone-payoff.is-visible .phone-notif { animation: notifDrop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) forwards; animation-delay: 0.2s; }

.proof-line { position: relative; z-index: 1; text-align: center; margin-top: 40px; font-size: 0.82rem; color: var(--text-secondary); }
.proof-line b { color: var(--accent-bright); font-weight: 600; }

/* ================= AGENT NODE DIAGRAM =================
   replaces the old text accordion — a hub-and-spoke diagram of the 8
   agents, Orchestrator at the center, spokes light up in pipeline order. */
.agentic-diagram-wrap {
  position: relative; z-index: 1; max-width: 720px; margin: 44px auto 0; text-align: center;
  --diagram-flow: var(--accent);
  --diagram-flow-bright: var(--accent-bright);
}

.diagram-wrap { position: relative; width: min(460px, 82vw); aspect-ratio: 1 / 1; margin: 0 auto; }
/* ambient glow behind the whole diagram — pure depth, no new hue —
   paints behind #agenticDiagram since it's an earlier sibling in DOM order */
.diagram-wrap::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle at 50% 50%, rgba(47, 224, 200, 0.14), transparent 62%);
  filter: blur(24px);
  pointer-events: none;
  animation: ambientBreathe 6s ease-in-out infinite;
}
@keyframes ambientBreathe { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.diagram-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.radar-ring { fill: none; stroke: rgba(47, 224, 200, 0.12); stroke-width: 0.25; stroke-dasharray: 1.2 2; }
.radar-ring-outer { stroke: rgba(47, 224, 200, 0.07); }
.diagram.done .radar-ring { animation: radarFade 4s ease-in-out infinite; }
@keyframes radarFade { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

.spoke { stroke: var(--border-strong); stroke-width: 0.6; fill: none; transition: stroke 0.4s var(--ease); }
.spoke-glow {
  stroke: var(--diagram-flow-bright); stroke-width: 0.6; fill: none;
  stroke-dasharray: 37; stroke-dashoffset: 37; opacity: 0;
  filter: drop-shadow(0 0 2px rgba(108, 243, 224, 0.8));
  transition: opacity 0.4s var(--ease), stroke-width 0.3s var(--ease);
}
/* the permanent "drawn" look lives on the class, not an animation end-state —
   the draw-in animation is a one-shot enhancement triggered by JS on the
   same clock as the node activating */
.spoke-glow.is-drawn { stroke-dashoffset: 0; opacity: 1; }
.spoke-glow.pulse-now { animation: drawSpoke 0.5s var(--ease) !important; }
@keyframes drawSpoke { 0% { stroke-dashoffset: 37; opacity: 0; } 15% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }

/* traveling dot — shows a signal moving from the Orchestrator out to each
   agent as it activates, so the connection reads as a direction, not just a line */
.spoke-dot { fill: var(--diagram-flow-bright); filter: drop-shadow(0 0 3px rgba(108, 243, 224, 0.9)); opacity: 0; }
.spoke-dot.pulse-now { animation-duration: 0.5s; animation-timing-function: var(--ease); animation-fill-mode: forwards; }
.spoke-dot[data-i="0"] { animation-name: dotTravel0; }
.spoke-dot[data-i="1"] { animation-name: dotTravel1; }
.spoke-dot[data-i="2"] { animation-name: dotTravel2; }
.spoke-dot[data-i="3"] { animation-name: dotTravel3; }
.spoke-dot[data-i="4"] { animation-name: dotTravel4; }
@keyframes dotTravel0 { 0% { cx: 50; cy: 50; opacity: 0; } 10% { opacity: 1; } 100% { cx: 50; cy: 13; opacity: 0; } }
@keyframes dotTravel1 { 0% { cx: 50; cy: 50; opacity: 0; } 10% { opacity: 1; } 100% { cx: 85.19; cy: 38.57; opacity: 0; } }
@keyframes dotTravel2 { 0% { cx: 50; cy: 50; opacity: 0; } 10% { opacity: 1; } 100% { cx: 71.75; cy: 79.93; opacity: 0; } }
@keyframes dotTravel3 { 0% { cx: 50; cy: 50; opacity: 0; } 10% { opacity: 1; } 100% { cx: 28.25; cy: 79.93; opacity: 0; } }
@keyframes dotTravel4 { 0% { cx: 50; cy: 50; opacity: 0; } 10% { opacity: 1; } 100% { cx: 14.81; cy: 38.57; opacity: 0; } }

.node {
  position: absolute; left: var(--nx); top: var(--ny);
  transform: translate(-50%, -50%) scale(0.85);
  width: clamp(48px, 12vw, 62px); height: clamp(48px, 12vw, 62px);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(47, 224, 200, 0.08), var(--surface-raised) 62%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease), opacity 0.4s var(--ease);
}
.node-label {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translate(-50%, -3px);
  white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  color: var(--diagram-flow-bright);
  background: var(--void);
  padding: 1px 6px; border-radius: 999px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.node.is-active .node-label, .node.is-selected .node-label { opacity: 1; transform: translate(-50%, 0); }
/* nodes in the top half have their spoke running straight through the
   space below them — flip the label above the node instead */
.node-label.label-above { top: auto; bottom: calc(100% + 6px); transform: translate(-50%, 3px); }
.node.is-active .node-label.label-above, .node.is-selected .node-label.label-above { transform: translate(-50%, 0); }

.node.is-center {
  width: clamp(84px, 20vw, 112px); height: clamp(84px, 20vw, 112px);
  background: radial-gradient(circle at 32% 28%, rgba(47, 224, 200, 0.14), var(--surface-raised) 62%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  z-index: 2;
  /* icon + name stacked inside the circle itself — lines radiate from every
     direction, so there's no external gap for a label that doesn't sit among them */
  flex-direction: column; gap: 7px;
}
.node.is-center .node-icon { width: 32%; height: 32%; }
.node-inner-label {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(0.72rem, 2.2vw, 0.9rem);
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  transition: color 0.4s var(--ease);
}
.node.is-active .node-inner-label { color: var(--diagram-flow-bright); }
.node:hover { border-color: var(--border-strong); transform: translate(-50%, -50%) scale(0.95); }
.node-icon { width: 46%; height: 46%; color: var(--text-tertiary); transition: color 0.4s var(--ease), filter 0.4s var(--ease); }
.node-icon svg { width: 100%; height: 100%; }
.node-num {
  position: absolute; top: -3px; right: -3px;
  font-family: var(--font-mono, monospace); font-size: 0.58rem; color: var(--text-tertiary);
  background: var(--void); border: 1px solid var(--border-subtle); border-radius: 999px;
  padding: 1px 4px;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}

/* the permanent "lit" look lives on the class alone, not inside an animation
   end-state — a transient pop/glow plays on top when a node activates, but
   even if that animation never runs the class guarantees the right look */
.node.is-active {
  border-color: rgba(47, 224, 200, 0.5);
  box-shadow: 0 0 0 1px rgba(47, 224, 200, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at 32% 28%, rgba(47, 224, 200, 0.22), rgba(47, 224, 200, 0.05) 65%);
}
.node.reveal-now { animation: nodePop 0.6s var(--ease); }
@keyframes nodePop {
  0% { transform: translate(-50%, -50%) scale(0.85); }
  55% { transform: translate(-50%, -50%) scale(1.12); box-shadow: 0 0 0 1px rgba(47, 224, 200, 0.4), 0 0 22px -2px rgba(47, 224, 200, 0.55); }
  100% { transform: translate(-50%, -50%) scale(1); }
}
.node.pulse-now { animation: nodePulseNow 0.5s var(--ease) !important; }
@keyframes nodePulseNow {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.15); }
  100% { transform: translate(-50%, -50%) scale(1); }
}
/* Orchestrator is bigger and centered — that already reads as "different."
   Amber (used sitewide for "preview / in development") would send the wrong
   signal here since it's the most important node, not a lesser one. */
.node.is-active .node-icon { color: var(--diagram-flow-bright); filter: drop-shadow(0 0 4px rgba(47, 224, 200, 0.5)); }
.node.is-active .node-num { color: var(--diagram-flow-bright); border-color: rgba(47, 224, 200, 0.4); }
.node.is-selected { border-color: var(--diagram-flow-bright) !important; box-shadow: 0 0 0 2px rgba(108, 243, 224, 0.5), 0 0 26px -2px rgba(47, 224, 200, 0.6) !important; }
.node.is-selected .node-label { opacity: 1 !important; transform: translate(-50%, 0) !important; }

/* focus mode: once something is selected, everything else steps back so the
   selected agent and its own line are unambiguous at a glance */
.node.is-dimmed { opacity: 0.4; }
.node.is-dimmed .node-label { opacity: 0 !important; }
.spoke-glow.is-dimmed { opacity: 0.28 !important; }
.spoke-glow.is-focused { stroke-width: 1; opacity: 1 !important; filter: drop-shadow(0 0 4px rgba(108, 243, 224, 1)); }

/* orchestrator ambient pulse once the diagram has finished its sequence */
.node.is-center .center-pulse { position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(47, 224, 200, 0.4); opacity: 0; pointer-events: none; }
.diagram.done .node.is-center .center-pulse { animation: centerPulse 2.4s ease-out infinite; }
@keyframes centerPulse { 0% { transform: scale(0.8); opacity: 0.6; } 100% { transform: scale(1.5); opacity: 0; } }

/* thinking state on Investigator while it "analyzes" */
.node.is-thinking { animation: thinkPulse 1s ease-in-out infinite !important; }
@keyframes thinkPulse {
  0%, 100% { border-color: rgba(47, 224, 200, 0.35); box-shadow: 0 0 0 1px rgba(47, 224, 200, 0.18); }
  50% { border-color: var(--diagram-flow-bright); box-shadow: 0 0 0 1px rgba(47, 224, 200, 0.4), 0 0 18px -2px rgba(47, 224, 200, 0.5); }
}

/* in-development nodes get a dashed ring (same teal palette, no new hue);
   the one live node (Perception) keeps a solid ring plus a LIVE badge */
.node.is-preview { border-style: dashed; }
.node.is-live .node-num { color: var(--void); background: var(--diagram-flow-bright); border-color: var(--diagram-flow-bright); font-weight: 700; letter-spacing: 0.04em; }
.node.is-live.is-active .node-num { color: var(--void); }
.diagram-legend { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 26px; font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--text-secondary); }
.diagram-legend span { display: inline-flex; align-items: center; gap: 8px; }
.diagram-legend i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: inline-block; }
.diagram-legend .lg-live i { border-style: solid; border-color: var(--diagram-flow-bright); }
.diagram-legend .lg-preview i { border-style: dashed; }
.diagram-panel-tag .pill { display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: 999px; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em; vertical-align: 1px; }
.diagram-panel-tag .pill-live { color: var(--void); background: var(--diagram-flow-bright); }
.diagram-panel-tag .pill-preview { color: var(--accent-amber, #f5b942); border: 1px solid rgba(245, 185, 66, 0.4); }

/* description panel below the diagram */
.diagram-panel {
  max-width: 460px; margin: 32px auto 0; min-height: 96px;
  padding: 18px 22px;
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  text-align: left;
}
.diagram-panel-tag { font-family: var(--font-mono, monospace); font-size: 0.66rem; color: var(--diagram-flow-bright); letter-spacing: 0.04em; margin-bottom: 4px; opacity: 0; transform: translateY(4px); }
.diagram-panel-name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin-bottom: 6px; opacity: 0; transform: translateY(4px); }
.diagram-panel-desc { font-size: 0.86rem; line-height: 1.55; color: var(--text-secondary); opacity: 0; transform: translateY(4px); }
.diagram-panel.swap .diagram-panel-tag, .diagram-panel.swap .diagram-panel-name, .diagram-panel.swap .diagram-panel-desc { animation: panelIn 0.4s var(--ease) forwards; }
.diagram-panel.swap .diagram-panel-name { animation-delay: 0.05s; }
.diagram-panel.swap .diagram-panel-desc { animation-delay: 0.1s; }
@keyframes panelIn { to { opacity: 1; transform: translateY(0); } }
.diagram-panel-idle { font-size: 0.86rem; color: var(--text-tertiary); font-style: italic; }

.replay-row { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.agentic-verify .replay-row .replay-btn { margin: 0; }

.simulate-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--diagram-flow-bright); border: 1px solid var(--diagram-flow-bright); color: var(--void);
  font-family: var(--font-display); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.02em;
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  box-shadow: 0 8px 22px -8px rgba(47, 224, 200, 0.5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.simulate-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -8px rgba(47, 224, 200, 0.65); }
.simulate-btn .play-tri { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid var(--void); }

@media (max-width: 640px) {
  .diagram-wrap { width: 88vw; }
  .diagram-panel { padding: 16px 18px; }
}

.agentic-verify .quote {
  position: relative; z-index: 1;
  max-width: 720px; margin: 76px auto 0; text-align: center; padding: 32px 36px;
  border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong);
}
.agentic-verify .quote p { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; line-height: 1.55; color: var(--text-primary); }
.agentic-verify .quote p span { color: var(--accent-bright); }

/* =========================================================
   CORE CAPABILITIES — dark band, accordion
   ========================================================= */
.capabilities {
  position: relative;
  padding: 128px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #070a0d 0%, var(--void) 100%);
}
.capabilities .hero-grid { opacity: 0.7; }

.section-glow-left {
  left: -8%;
  right: auto;
  top: 20%;
  background: radial-gradient(circle, rgba(47, 224, 200, 0.10), transparent 70%);
}

.capabilities-head {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-bottom: 56px;
}
.section-title-dark { color: var(--text-primary); }
.body-lead-dark { color: var(--text-secondary); max-width: 100%; }

.cap-accordion {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
}

.cap-item { border-bottom: 1px solid var(--border-subtle); }
.cap-h { margin: 0; font: inherit; }

.cap-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 4px;
  text-align: left;
  transition: background 0.3s var(--ease);
}
.cap-header:hover { background: rgba(255, 255, 255, 0.02); }

.cap-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.cap-icon svg { width: 20px; height: 20px; }

.cap-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex-shrink: 0;
  width: 26px;
}

.cap-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1vw + 0.8rem, 1.35rem);
  color: var(--text-primary);
  flex: 1;
}

.cap-chevron {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.cap-chevron::before,
.cap-chevron::after {
  content: "";
  position: absolute;
  background: var(--text-tertiary);
  transition: transform 0.4s var(--ease), background 0.35s var(--ease);
}
.cap-chevron::before { top: 8px; left: 0; width: 18px; height: 2px; }
.cap-chevron::after { top: 0; left: 8px; width: 2px; height: 18px; }

.cap-item.is-open .cap-icon { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }
.cap-item.is-open .cap-chevron::after { transform: rotate(90deg); }
.cap-item.is-open .cap-chevron::before,
.cap-item.is-open .cap-chevron::after { background: var(--accent); }

.cap-panel-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.cap-item.is-open .cap-panel-wrap { grid-template-rows: 1fr; }
.cap-panel-inner { overflow: hidden; min-height: 0; }

.cap-panel { padding: 4px 4px 40px 64px; max-width: 760px; }

/* Always-visible one-liner under the collapsed header, so the gist of
   each capability (especially the ones nobody clicks into, like
   Agentic AI Layer) isn't hidden behind the accordion entirely. */
.cap-teaser {
  padding: 0 4px 22px 64px;
  margin-top: -10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 640px;
}

.cap-lede {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.cap-copy {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.cap-close {
  margin-top: 22px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--accent-bright);
}

.cap-qa-label,
.cap-features .cap-feature h4 {
  font-family: var(--font-display);
}
.cap-qa-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.cap-qa ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.cap-qa li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.cap-qa li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.cap-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cap-feature {
  padding: 18px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
}
.cap-feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin-bottom: 8px;
}
.cap-feature p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how-it-works { padding: 128px 0; }

.section-head-center {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 72px;
}
.section-head-center .eyebrow { margin-bottom: 24px; }
.section-head-center .section-title { margin-bottom: 0; }

.how-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.how-line {
  position: absolute;
  top: 34px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, var(--line), var(--accent-deep) 20%, var(--accent-deep) 80%, var(--line));
  z-index: 0;
  opacity: 0.5;
}

.how-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.how-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  margin-bottom: 22px;
  flex-shrink: 0;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.how-circle svg { width: 26px; height: 26px; }
.how-step:hover .how-circle {
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 6px var(--accent-dim);
  transform: translateY(-4px);
}
.how-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.how-step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.how-step p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 240px;
}

.body-lead-center { margin-left: auto; margin-right: auto; text-align: center; }

/* =========================================================
   INDUSTRIES
   ========================================================= */
.industries { padding: 128px 0; }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.industry-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 54px -28px rgba(11, 15, 20, 0.22);
  border-color: var(--accent-deep);
}

.industry-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--paper-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  margin-bottom: 20px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.industry-icon svg { width: 22px; height: 22px; }
.industry-card:hover .industry-icon { background: var(--accent); color: #04211d; }

.industry-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 16px;
}

.industry-tags {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}
.industry-tags li {
  position: relative;
  padding-left: 17px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.industry-tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-deep);
}

.industry-punch {
  font-size: 0.86rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* =========================================================
   WHY ULVEO — dark band
   ========================================================= */
.why-ulveo {
  position: relative;
  padding: 128px 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--void) 0%, #070a0d 100%);
}
.why-ulveo .hero-grid { opacity: 0.7; }
.why-ulveo .section-head-center { margin-bottom: 80px; }

.why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 40px;
}

.why-item {
  border-top: 1px solid var(--border-subtle);
  padding-top: 26px;
}
.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  color: var(--accent);
  margin-bottom: 22px;
}
.why-icon svg { width: 21px; height: 21px; }
.why-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}
.why-item p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* =========================================================
   PLATFORM — stack diagram
   ========================================================= */
.platform { padding: 128px 0; }

.platform-stack {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.platform-rail {
  position: absolute;
  top: 8px;
  bottom: 24px;
  left: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-deep), var(--line) 90%);
}

.platform-layer {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 22px;
}
.platform-node {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  margin-top: 4px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--accent-deep);
}

.platform-content {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.platform-content-last { border-bottom: none; padding-bottom: 0; }

.platform-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  white-space: nowrap;
}
.platform-arrow { color: var(--accent-deep); font-weight: 600; }
.platform-desc { color: var(--ink-soft); font-size: 0.95rem; }

.platform-footnote {
  max-width: 560px;
  margin: 56px auto 0;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* =========================================================
   VISION — dark manifesto
   ========================================================= */
.vision {
  position: relative;
  padding: 128px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #070a0d 0%, var(--void) 100%);
}
.vision .hero-grid { opacity: 0.6; }

.vision-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.vision-inner .eyebrow { margin: 0 auto 24px; }
.vision-inner .section-title { margin-bottom: 30px; }

.vision-lead {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.vision-copy {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.vision-punch {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent-bright);
  margin: 40px 0;
}
.vision-close {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.6vw + 1rem, 1.9rem);
  font-weight: 600;
  line-height: 1.4;
}
.vision-close-muted {
  display: block;
  color: var(--text-tertiary);
  text-decoration: line-through;
  text-decoration-color: var(--border-strong);
  margin-bottom: 6px;
}
.vision-close .accent-text { display: block; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;
  background: var(--void);
  text-align: center;
}
.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.final-cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.2vw + 1rem, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.final-cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}
.final-cta-path {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 40px;
}
.final-cta-path-arrow { color: var(--accent); }
.final-cta .hero-cta { margin-bottom: 28px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--void);
  border-top: 1px solid var(--border-subtle);
  padding: 44px 0 32px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.footer-brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-brand p { font-size: 0.85rem; color: var(--text-secondary); }
.footer-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px 28px; }
.footer-links a { font-size: 0.85rem; color: var(--text-secondary); transition: color 0.25s var(--ease); }
.footer-links a:hover { color: var(--accent); }
.site-footer .footer-bottom { margin-top: 28px; }
.site-footer .footer-bottom-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding-top: 20px; border-top: 1px solid var(--border-subtle);
}
.footer-bottom-row a { font-size: 0.8rem; color: var(--text-secondary); transition: color 0.25s var(--ease); }
.footer-bottom-row a:hover { color: var(--accent); }
.footer-copyright { font-size: 0.8rem; color: var(--text-tertiary); }

@media (max-width: 900px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; width: 100%; }
  .footer-links a { font-size: 0.88rem; }
}

/* =========================================================
   REQUEST A DEMO — modal
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 44px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.4s var(--ease);
}
.modal-overlay.is-open .modal-panel { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-tertiary);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.modal-close:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.06); }
.modal-close svg { width: 18px; height: 18px; }

.modal-eyebrow { margin-bottom: 20px; }
.modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.25;
}
.modal-subtitle {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.modal-form { display: flex; flex-direction: column; gap: 18px; }
.field-row { display: flex; gap: 16px; }
.field-row .field { flex: 1; min-width: 0; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}
.field input,
.field textarea {
  font: inherit;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}
.field textarea { resize: vertical; min-height: 64px; }
.field span em { font-style: normal; font-weight: 400; color: var(--text-tertiary); }
.field select {
  font: inherit; color: var(--text-primary); width: 100%;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-subtle);
  border-radius: 10px; padding: 12px 14px; cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field select:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, 0.05); }
.field select option { background: #0b1418; color: #f2f6f7; }

.modal-submit { margin-top: 6px; width: 100%; }
.modal-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.modal-error {
  display: none;
  font-size: 0.85rem;
  color: #ff8a80;
  text-align: center;
  line-height: 1.5;
}
.modal-error a { color: var(--accent-bright); text-decoration: underline; }
.modal-error.is-visible { display: block; }

.modal-success { text-align: center; display: flex; flex-direction: column; align-items: center; }
.modal-success[hidden] { display: none; }
.modal-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  margin-bottom: 22px;
}
.modal-success-icon svg { width: 26px; height: 26px; }
.modal-success .modal-subtitle { margin-bottom: 26px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 128px 0; }

.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }

.faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
  text-align: left;
  transition: background 0.3s var(--ease);
}
.faq-header:hover { background: var(--paper-raised); }

.faq-q {
  flex: 1;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.4;
}

.faq-chevron {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.faq-chevron::before,
.faq-chevron::after {
  content: "";
  position: absolute;
  background: var(--ink-faint);
  transition: transform 0.4s var(--ease), background 0.35s var(--ease);
}
.faq-chevron::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-chevron::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-item.is-open .faq-chevron::after { transform: rotate(90deg); }
.faq-item.is-open .faq-chevron::before,
.faq-item.is-open .faq-chevron::after { background: var(--accent-deep); }
.faq-item.is-open .faq-q { color: var(--accent-deep); }

.faq-panel-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.faq-item.is-open .faq-panel-wrap { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; min-height: 0; }

.faq-a {
  padding: 0 4px 26px 4px;
  max-width: 640px;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1280px) {
  /* raised from 900px — 8 nav links no longer fit comfortably in one row
     below ~1240px, so the mobile menu now takes over before that cramped
     middle ground instead of letting links wrap onto multiple lines */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    /* height is set explicitly in JS on open — mobile browsers resize the
       viewport as the address bar collapses/expands, which makes a plain
       bottom:0 unreliable once the page has been scrolled first. */
    overflow-y: auto;
    padding: 8px 24px 32px;
    background: rgba(5, 7, 10, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
  }
  .nav-mobile.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-mobile a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--border-subtle);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
  }
  .nav-mobile .btn { margin-top: 24px; width: 100%; }

  .what-is-grid { grid-template-columns: 1fr; gap: 48px; }
  .section-glow { width: 400px; height: 400px; }

  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 32px; }

  .how-steps { grid-template-columns: 1fr; gap: 36px; }
  .how-line { top: 0; bottom: 0; left: 34px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--line), var(--accent-deep) 20%, var(--accent-deep) 80%, var(--line)); }
  .how-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 22px; }
  .how-circle { margin-bottom: 0; }
  .how-step p { max-width: 420px; }
}

@media (max-width: 640px) {
  .nav-inner { padding: 0 20px; }
  .hero-content { padding: 120px 20px 70px; }
  .hero-statement { flex-direction: column; gap: 10px; }
  .statement-line { display: none; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { gap: 14px 18px; }
  .scroll-cue { display: none; }

  .container { padding: 0 20px; }
  .what-is { padding: 88px 0; }
  .stat-card { padding: 30px; }

  .demo-showcase { padding: 88px 0; }
  .stage-wrap { --stage-h: 420px; border-radius: 14px; }
  .selector-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .verify-bridge { flex-direction: column; padding: 16px 20px; }

  .agentic-verify { padding: 88px 0; }
  .feed-viewport { height: 300px; }
  .agentic-verify .video-frame { width: 220px; height: 391px; }
  .detail-row { grid-template-columns: 1fr; gap: 4px; }

  .capabilities { padding: 88px 0; }
  .cap-header { gap: 12px; padding: 20px 0; }
  .cap-num { display: none; }
  .cap-icon { width: 34px; height: 34px; }
  .cap-icon svg { width: 17px; height: 17px; }
  .cap-name { font-size: 1rem; }
  .cap-panel { padding: 4px 4px 32px 46px; }
  .cap-teaser { padding-left: 46px; }
  .cap-qa ul { grid-template-columns: 1fr; }

  .how-it-works { padding: 88px 0; }
  .industries { padding: 88px 0; }
  .industry-card { padding: 26px; }

  .why-ulveo { padding: 88px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }

  .platform { padding: 88px 0; }
  .platform-content { flex-direction: column; align-items: flex-start; gap: 2px; }
  .platform-arrow { display: none; }

  .vision { padding: 88px 0; }
  .vision-punch { font-size: 1.2rem; margin: 32px 0; }
  .vision-close { margin-top: 36px; padding-top: 32px; }

  .final-cta { padding: 88px 0 100px; }
  .final-cta-path { flex-wrap: wrap; justify-content: center; text-align: center; }


  .modal-panel { padding: 32px 24px; }
  .field-row { flex-direction: column; gap: 18px; }

  .faq { padding: 88px 0; }
  .faq-q { font-size: 0.96rem; }
}

/* =========================================================
   HOMEPAGE SHORTENING — merged "How it works", collapsed stack,
   compact industry cards, folded vision line
   ========================================================= */
.how-merged { padding: 96px 0 104px; }
.how-merged .what-is-grid { margin-top: 56px; margin-bottom: 72px; }
.under-hood { max-width: 760px; margin: 64px auto 0; }
.under-hood summary {
  list-style: none; cursor: pointer; width: fit-content; margin: 0 auto;
  display: flex; align-items: center; gap: 10px; padding: 13px 24px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.under-hood summary::-webkit-details-marker { display: none; }
.under-hood summary::after { content: "+"; font-size: 1.15rem; color: var(--accent-deep); line-height: 1; }
.under-hood[open] summary::after { content: "\2212"; }
.under-hood summary:hover { border-color: var(--accent-deep); background: var(--paper-raised); }
.under-hood .platform-stack { margin-top: 40px; }

.industry-card { padding: 22px 22px 16px; display: flex; flex-direction: column; }
.industry-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.industry-head .industry-icon { margin-bottom: 0; width: 40px; height: 40px; flex-shrink: 0; }
.industry-head h3 { margin: 0; font-size: 1.02rem; }
.industry-card .industry-punch { border-top: 0; padding-top: 0; margin-bottom: 8px; font-style: normal; }
.industry-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.industry-more-inner { overflow: hidden; min-height: 0; }
.industry-card.is-open .industry-more { grid-template-rows: 1fr; }
.industry-more .industry-tags { margin: 10px 0 6px; }
.industry-toggle {
  margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 6px 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; color: var(--accent-deep);
}
.industry-toggle::after { content: " +"; }
.industry-card.is-open .industry-toggle::after { content: " \2212"; }

.final-cta-vision { max-width: 640px; margin: 0 auto 30px; font-size: 0.98rem; line-height: 1.6; color: var(--text-secondary); }
.final-cta-vision strong { color: var(--accent-bright); font-weight: 600; }

@media (max-width: 640px) {
  .how-merged .what-is-visual { display: none; }
  .industry-grid { grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
  .industry-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 4px; }
  .industry-card .industry-punch { display: none; margin-top: 8px; }
  .industry-card.is-open .industry-punch { display: block; }
  .industry-card { padding: 16px 14px 10px; }
  .industry-head h3 { font-size: 0.95rem; line-height: 1.3; }
  .how-merged { padding: 64px 0 72px; }
  .how-merged .what-is-grid { margin-top: 36px; margin-bottom: 48px; }
  .under-hood { margin-top: 44px; }
  .industry-card { padding: 20px 20px 14px; }
}

/* =========================================================
   MOBILE QA FIXES
   ========================================================= */
/* How It Works steps: number / title / text used to sit side by side in a row
   on phones, squeezing the paragraph into a ~90px column. Lay them out as a
   two-column grid instead: circle on the left, text stacked on the right. */
@media (max-width: 900px) {
  .how-steps { grid-template-columns: minmax(0, 1fr); }
  .how-step { display: grid; grid-template-columns: 68px minmax(0, 1fr); column-gap: 20px; row-gap: 0; align-items: start; text-align: left; }
  .how-step .how-circle { grid-row: 1 / span 3; grid-column: 1; }
  .how-step .how-num, .how-step h3, .how-step p { grid-column: 2; }
  .how-step .how-num { margin-bottom: 4px; }
  .how-step h3 { margin-bottom: 6px; }
  .how-step p { max-width: none; }
}
/* very small phones: keep logo + Request Demo + menu inside 320px */
@media (max-width: 380px) {
  .nav-inner { gap: 8px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-sm { padding: 8px 13px; font-size: 0.76rem; }
}
@media (max-width: 380px) {
  .hero-content { width: 100%; max-width: 100%; }
  .hero-title { font-size: 2.05rem; }
}

@media (max-width: 640px) {
  .selector-row .selector-card:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 6; }
}

/* breathing room between dark-section titles and their intro paragraph */
.section-head-center .section-title-dark + .body-lead-dark { margin-top: 18px; }

/* Who-it's-for strip */
.who-strip { background: #070a0d; border-top: 1px solid var(--border-subtle); padding: 26px 0; }
.who-strip-inner { display: flex; align-items: center; justify-content: center; gap: 14px 28px; flex-wrap: wrap; text-align: center; }
.who-strip-label { font-size: 0.85rem; color: var(--text-tertiary); }
.who-strip-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.who-strip-list a {
  display: inline-block; padding: 8px 16px; border: 1px solid var(--border-subtle); border-radius: 999px;
  font-size: 0.85rem; color: var(--text-secondary);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.who-strip-list a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 640px) { .who-strip { padding: 22px 0; } .who-strip-list a { font-size: 0.82rem; padding: 7px 13px; } }

/* Accuracy note under capabilities */
.cap-note { max-width: 760px; margin: 22px auto 0; text-align: center; font-size: 0.8rem; line-height: 1.55; color: var(--text-tertiary); }

/* Sticky "Request a Demo" (phones only, appears after the hero) */
.sticky-cta { display: none; }
@media (max-width: 768px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(7,10,13,0) 0%, rgba(7,10,13,0.92) 38%);
    transform: translateY(110%); opacity: 0; pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }
  .sticky-cta.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .sticky-cta .btn { width: 100%; }
}

.stage-badge[hidden] { display: none; }

@media (max-width: 380px) { .hero-statement p { white-space: normal; text-align: center; font-size: 0.95rem; } }

/* Three core outcomes */
.outcomes-row { background: #070a0d; padding: 8px 0 56px; }
.outcomes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.outcome-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-subtle); border-radius: 16px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.outcome-card:hover { border-color: rgba(47, 224, 200, 0.4); background: rgba(255, 255, 255, 0.05); transform: translateY(-2px); }
.outcome-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--accent-bright); background: rgba(47, 224, 200, 0.1);
}
.outcome-icon svg { width: 22px; height: 22px; }
.outcome-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.outcome-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.outcome-head strong { font-family: var(--font-display); font-size: 1.02rem; color: var(--text-primary); }
.outcome-tag {
  font-style: normal; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; border: 1px solid;
}
.outcome-tag.is-live { color: var(--accent-bright); border-color: rgba(47, 224, 200, 0.35); }
.outcome-tag.is-preview { color: var(--accent-amber); border-color: rgba(245, 185, 66, 0.35); }
.outcome-text { font-size: 0.88rem; line-height: 1.55; color: var(--text-secondary); }
@media (max-width: 900px) { .outcomes-grid { grid-template-columns: 1fr; gap: 12px; } .outcomes-row { padding: 4px 0 40px; } }
@media (max-width: 640px) { .outcome-card { padding: 16px; gap: 14px; } .outcome-icon { width: 38px; height: 38px; } }

/* Evidence chain under the demo stage */
.chain { max-width: 860px; margin: 22px auto 0; position: relative; z-index: 1; }
.chain[hidden] { display: none; }
.chain-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; justify-content: center; }
.chain-node {
  position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 10px; margin-right: 26px; border: 1px solid var(--border-subtle); border-radius: 12px;
  background: rgba(255, 255, 255, 0.02); text-align: center; opacity: 0.42;
  transition: opacity 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease);
}
.chain-node.chain-p:last-of-type, .chain-node[data-step="4"] { margin-right: 0; }
.chain-node.is-preview { border-style: dashed; border-color: rgba(245, 185, 66, 0.3); opacity: 0.62; }
.chain-node.is-live.is-on { opacity: 1; border-color: rgba(47, 224, 200, 0.55); background: rgba(47, 224, 200, 0.07); }
.chain-name { font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--text-primary); }
.chain-line { font-size: 0.72rem; line-height: 1.4; color: var(--text-secondary); }
.chain-tag { font-style: normal; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.07em; padding: 2px 7px; border-radius: 999px; border: 1px solid; }
.chain-tag.is-live { color: var(--accent-bright); border-color: rgba(47, 224, 200, 0.35); }
.chain-tag.is-preview { color: var(--accent-amber); border-color: rgba(245, 185, 66, 0.35); }
.chain-node[data-step]:not([data-step="4"])::after {
  content: ""; position: absolute; right: -26px; top: 50%; width: 26px; height: 0; border-top: 1.5px dashed rgba(245, 185, 66, 0.4);
}
.chain-node[data-step="0"]::after { border-top: 1.5px solid rgba(47, 224, 200, 0.5); }
.chain-collapsed { display: none; }
.chain-note { margin-top: 12px; text-align: center; font-size: 0.76rem; line-height: 1.5; color: var(--text-tertiary); }
.chain-note a { color: var(--accent-bright); }
.chain-note a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .chain-p { display: none; }
  .chain-collapsed { display: flex; margin-right: 0; opacity: 0.7; }
  .chain-node { margin-right: 22px; padding: 10px 8px; }
  .chain-node[data-step="1"] { margin-right: 22px; }
  .chain-node[data-step]:not([data-step="4"])::after { right: -22px; width: 22px; }
  .chain-name { font-size: 0.78rem; }
  .chain-line { font-size: 0.68rem; }
}
@media (max-width: 400px) {
  .chain-node { margin-right: 16px; padding: 9px 6px; }
  .chain-node[data-step="1"] { margin-right: 16px; }
  .chain-node[data-step]:not([data-step="4"])::after { right: -16px; width: 16px; }
}

/* Hero: detect -> alert -> investigate flow */
.hero-flow { list-style: none; margin: 0 0 22px; padding: 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 10px; }
.hero-flow-step {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid;
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; background: rgba(5, 7, 10, 0.55); backdrop-filter: blur(6px);
}
.hero-flow-step em { font-style: normal; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-amber); }
.hero-flow-step.is-live { color: var(--accent-bright); border-color: rgba(47, 224, 200, 0.45); }
.hero-flow-step.is-preview { color: var(--text-secondary); border-color: rgba(245, 185, 66, 0.4); border-style: dashed; }
.hero-flow-arrow { color: var(--text-tertiary); font-size: 0.9rem; }
@keyframes heroFlowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hero-flow > li { animation: heroFlowIn 0.5s var(--ease) both; }
.hero-flow > li:nth-child(1) { animation-delay: 0.9s; }
.hero-flow > li:nth-child(2) { animation-delay: 1.1s; }
.hero-flow > li:nth-child(3) { animation-delay: 1.3s; }
.hero-flow > li:nth-child(4) { animation-delay: 1.5s; }
.hero-flow > li:nth-child(5) { animation-delay: 1.7s; }
@media (prefers-reduced-motion: reduce) { .hero-flow > li { animation: none; } }
@media (max-width: 380px) { .hero-flow { margin-bottom: 16px; gap: 6px 6px; } .hero-flow-step { padding: 6px 11px; font-size: 0.78rem; } }

@media (max-width: 480px) { .hero-flow { flex-wrap: nowrap; gap: 6px; } .hero-flow-step { padding: 6px 10px; font-size: 0.76rem; white-space: nowrap; gap: 6px; } .hf-long { display: none; } .hero-flow-arrow { font-size: 0.8rem; } }

.chain .chain-node[data-step="0"]::after { border-top: 1.5px solid rgba(47, 224, 200, 0.5); }

/* Capability availability tags + limitations */
.cap-status {
  flex-shrink: 0; margin-left: 10px; font-family: var(--font-display); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid; align-self: center;
}
.cap-status.is-live { color: var(--accent-bright); border-color: rgba(47, 224, 200, 0.35); }
.cap-status.is-preview { color: var(--accent-amber); border-color: rgba(245, 185, 66, 0.4); border-style: dashed; }
.cap-limits {
  margin-top: 22px; padding: 12px 16px; border-left: 2px solid rgba(255, 255, 255, 0.14); border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.025); font-size: 0.82rem; line-height: 1.55; color: var(--text-secondary);
}
.cap-limits strong { color: var(--text-primary); font-weight: 600; }
@media (max-width: 640px) { .cap-status { margin-left: 6px; font-size: 0.56rem; padding: 3px 7px; } }

/* Label key under the outcomes cards */
.outcomes-row { padding-bottom: 48px; }
.label-key {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 18px;
  font-size: 0.78rem; color: var(--text-tertiary); text-align: center;
}
.label-key-sep { opacity: 0.5; }
@media (max-width: 900px) { .outcomes-row { padding-bottom: 36px; } }

.label-key-item { display: inline-flex; align-items: center; gap: 8px; text-align: left; }
@media (max-width: 640px) { .label-key { flex-direction: column; gap: 8px; } .label-key-sep { display: none; } .label-key-item { justify-content: center; } }

/* Accessibility: skip link + visible keyboard focus */
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px;
  background: var(--accent); color: #04120f; font-weight: 600; font-size: 0.9rem; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [role="button"]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-bright); outline-offset: 3px;
}
.body-section a:focus-visible, .body-section button:focus-visible, .body-section summary:focus-visible,
.body-section [role="button"]:focus-visible { outline-color: var(--accent-deep); }
.selector-card:focus-visible { outline-offset: 2px; border-radius: 16px; }

.industry-toggle { color: #0a7a6c; }

/* Behind Every Alert: illustrative feed removed, real event leads */
.agentic-verify .example-head { margin-top: 44px; }
@media (max-width: 640px) { .agentic-verify .example-head { margin-top: 32px; } }

.phone-notif-meta.is-illustrative { color: var(--accent-amber); }

/* Phones: reach the first demo sooner (analytics: ~64% of visitors never got past the outcomes row) */
@media (max-width: 640px) {
  .who-strip { padding: 12px 0 10px; }
  .who-strip-label { display: none; }
  .who-strip-inner { flex-wrap: nowrap; justify-content: flex-start; gap: 0; }
  .who-strip-list {
    flex-wrap: nowrap; justify-content: flex-start; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 2px 20px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; width: calc(100% + 40px);
  }
  .who-strip-list::-webkit-scrollbar { display: none; }
  .who-strip-list li { flex: 0 0 auto; }
  .who-strip-list a { white-space: nowrap; }
  .outcomes-row { padding: 2px 0 26px; }
  .outcomes-grid { gap: 8px; }
  .outcome-card { padding: 12px 14px; align-items: center; gap: 12px; }
  .outcome-icon { width: 34px; height: 34px; border-radius: 10px; }
  .outcome-icon svg { width: 19px; height: 19px; }
  .outcome-text { display: none; }
  .label-key { margin-top: 12px; }
}


/* Footer: LinkedIn as a logo icon beside the brand (the convention used across the category) */
.footer-social {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border-subtle); color: var(--text-secondary);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.footer-social svg { width: 17px; height: 17px; }
.footer-social:hover { color: var(--accent); border-color: rgba(47, 224, 200, 0.5); background: rgba(47, 224, 200, 0.06); }

/* Footer bottom bar: legal link + LinkedIn icon grouped at the right end */
.footer-bottom-links { display: flex; align-items: center; gap: 8px 20px; }
.footer-bottom-row .footer-social { width: 34px; height: 34px; border-radius: 9px; }
.footer-bottom-row .footer-social svg { width: 16px; height: 16px; }
