/* ─────────────────────────────────────────────────────────────────
   home.css — page-specific styles for ui_kits/website/index.html
   Imports the shared marketing stack. Everything that is unique
   to the homepage lives here, organised by section.
   ───────────────────────────────────────────────────────────────── */

/* ════════════════════════════════════════════════════════════
   HERO — editorial centered, ambient iris atmosphere
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: calc(var(--nav-height) + var(--s8)) var(--content-pad) var(--s9);
  overflow: hidden;
  isolation: isolate;
}

/* Ambient layers */
.hero-orb {
  position: absolute; inset: -10%;
  pointer-events: none; z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 50% 38%, rgba(29,127,214,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 70% 80%, rgba(29,127,214,0.06) 0%, transparent 70%);
  filter: blur(20px);
}
.hero-grid {
  position: absolute; inset: 0;
  pointer-events: none; z-index: -1;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 80%);
}
.hero-scan {
  position: absolute; left: -20%; right: -20%; top: 45%;
  height: 1px; pointer-events: none; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(29,127,214,0.45), transparent);
  filter: blur(1px);
  animation: scanDrift 12s linear infinite;
}
@keyframes scanDrift {
  0%   { transform: translateY(-120px); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(120px); opacity: 0; }
}

/* Floating ambient dots */
.hero-dots {
  position: absolute; inset: 0;
  pointer-events: none; z-index: -1;
}
.hero-dots span {
  position: absolute; width: 4px; height: 4px;
  border-radius: 50%; background: var(--iris);
  opacity: 0; filter: blur(0.5px);
  animation: floatDot 8s ease-in-out infinite;
}
.hero-dots span:nth-child(1) { left: 14%; top: 28%; animation-delay: 0s;   }
.hero-dots span:nth-child(2) { left: 82%; top: 36%; animation-delay: 1.6s; }
.hero-dots span:nth-child(3) { left: 22%; top: 64%; animation-delay: 3.2s; }
.hero-dots span:nth-child(4) { left: 76%; top: 72%; animation-delay: 4.8s; }
.hero-dots span:nth-child(5) { left: 50%; top: 18%; animation-delay: 6.4s; }
@keyframes floatDot {
  0%   { opacity: 0; transform: translateY(0); }
  20%  { opacity: 0.8; }
  80%  { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-40px); }
}

/* Brand mark above headline */
.hero-brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: var(--s5);
  opacity: 0;
  animation: fadeUp 800ms var(--ease-out) 200ms forwards;
}
.hero-brand img { width: 22px; height: 22px; opacity: 0.85; }
.hero-brand .name {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 14px; color: var(--fg-2); letter-spacing: 5px;
}
.hero-brand .dot { color: var(--fg-5); }
.hero-brand .product {
  font-family: var(--font-serif); font-size: 18px; font-weight: 500;
  color: var(--fg-1); letter-spacing: 0.06em;
}

.hero-headline {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.02; letter-spacing: -0.025em;
  text-align: center;
  max-width: 1100px;
  color: var(--fg-1);
  margin: 0 0 var(--s5);
  opacity: 0;
  animation: fadeUp 900ms var(--ease-out) 350ms forwards;
}
.hero-headline em {
  color: var(--iris); font-style: italic; font-weight: 500;
  display: inline-block;
}

.hero-sub {
  font-size: 18px; line-height: 1.6; color: var(--fg-3);
  max-width: 620px; text-align: center;
  margin: 0 auto var(--s7);
  opacity: 0;
  animation: fadeUp 900ms var(--ease-out) 600ms forwards;
}

.hero-actions {
  display: flex; gap: var(--s4); align-items: center;
  opacity: 0;
  animation: fadeUp 900ms var(--ease-out) 800ms forwards;
}

.hero-marquee {
  position: absolute; bottom: var(--s7); left: 0; right: 0;
  display: flex; justify-content: center; gap: var(--s8);
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-4); letter-spacing: 0.06em;
  opacity: 0;
  animation: fadeUp 900ms var(--ease-out) 1100ms forwards;
}
.hero-marquee .item { display: flex; align-items: center; gap: 8px; }
.hero-marquee .item::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 12px rgba(61,155,115,0.6);
  animation: pulseGreen 1.6s ease-out infinite;
}
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61,155,115,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(61,155,115,0); }
}
.hero-marquee .num { color: var(--fg-1); font-variant-numeric: tabular-nums; }

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

/* ════════════════════════════════════════════════════════════
   BENTO — product shot + 6 module cards in one viewport
   ════════════════════════════════════════════════════════════ */
.bento {
  padding: var(--s5) 0 var(--s7);
  position: relative; overflow: hidden;
}
.bento-wrap {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--content-pad);
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: var(--s3);
}
.bento-product {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.bento-product .product-frame {
  position: absolute; inset: 0;
}
.product-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #080808;
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
}
.product-frame-chrome {
  height: 28px; background: #0c0c0c;
  border-bottom: 1px solid #161616;
  display: flex; align-items: center; padding: 0 14px; gap: 6px;
}
.product-frame-chrome .dot { width: 8px; height: 8px; border-radius: 50%; background: #1e1e1e; }
.product-frame-chrome .url {
  margin-left: 16px; padding: 4px 12px;
  background: #060606; border: 1px solid #161616;
  border-radius: 4px;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-4); letter-spacing: 0.04em;
}
.product-frame-chrome .url b { color: var(--iris); font-weight: 500; }

/* Mini Daily Brief inside the product frame */
.ps-app { display: grid; grid-template-columns: 140px 1fr; min-height: 0; flex: 1; overflow: hidden; }
.ps-side { background: #060606; border-right: 1px solid #141414; padding: 10px 0; }
.ps-side-brand { display: flex; align-items: center; gap: 9px; padding: 0 18px 16px; border-bottom: 1px solid #111; margin-bottom: 12px; }
.ps-side-brand img { width: 22px; height: 22px; }
.ps-side-name { font-family: var(--font-serif); font-size: 14px; color: #ddd; letter-spacing: 3px; }
.ps-cmd {
  margin: 0 12px 14px;
  padding: 6px 10px; border: 1px solid #1a1a1a; border-radius: 4px;
  font-family: var(--font-mono); font-size: 10px; color: #444;
  letter-spacing: 0.04em;
}
.ps-cmd .caret { color: var(--iris); animation: blink 1.1s steps(2,start) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ps-nav-sec { font-family: var(--font-mono); font-size: 9px; color: #2a2a2a; letter-spacing: 1.5px; text-transform: uppercase; padding: 12px 18px 4px; }
.ps-nav-item { padding: 5px 14px; font-family: var(--font-sans); font-size: 11px; color: #444; }
.ps-nav-item.active { color: var(--iris); background: rgba(29,127,214,0.08); }

.ps-main { padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ps-mast { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid #111; }
.ps-mast .l { display: flex; flex-direction: column; gap: 6px; }
.ps-mast .eye { font-family: var(--font-mono); font-size: 10px; color: var(--iris); letter-spacing: 0.16em; text-transform: uppercase; }
.ps-mast .title { font-family: var(--font-serif); font-style: italic; font-size: 18px; color: var(--fg-2); line-height: 1.3; max-width: 460px; }
.ps-mast .r { display: flex; gap: 26px; }
.ps-mast .stat { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.ps-mast .stat .lbl { font-family: var(--font-mono); font-size: 9px; color: var(--fg-4); letter-spacing: 0.14em; text-transform: uppercase; }
.ps-mast .stat .val { font-family: var(--font-mono); font-size: 18px; font-weight: 600; color: var(--fg-1); font-variant-numeric: tabular-nums; line-height: 1; }
.ps-mast .stat.crit .val { color: var(--negative); }

.ps-hero {
  padding: 4px 0 4px 0;
  display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: end;
}
.ps-hero-sect { font-family: var(--font-mono); font-size: 10px; color: var(--fg-4); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.ps-hero-sect .n { color: var(--negative); margin-right: 6px; }
.ps-hero-t { font-family: var(--font-serif); font-weight: 500; font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; color: var(--fg-1); margin-bottom: 8px; }
.ps-hero-t em { color: var(--iris); font-style: italic; }
.ps-hero-p { font-family: var(--font-sans); font-size: 12px; color: var(--fg-3); line-height: 1.55; max-width: 420px; }
.ps-hero-p .chip { display: inline-block; font-family: var(--font-mono); font-size: 10px; color: var(--negative); background: rgba(196,87,79,0.1); padding: 1px 6px; border-radius: 2px; margin: 0 2px; }
.ps-hero-r { text-align: right; }
.ps-hero-r .lbl { font-family: var(--font-mono); font-size: 9px; color: var(--fg-4); letter-spacing: 0.14em; text-transform: uppercase; }
.ps-hero-r .num { font-family: var(--font-mono); font-size: 44px; font-weight: 600; color: var(--fg-1); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; margin-top: 4px; }

.ps-charts { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; flex: 1; min-height: 0; }
.ps-panel { background: #0c0c0c; border: 1px solid #161616; border-radius: 6px; padding: 14px; display: flex; flex-direction: column; }
.ps-panel-h { font-family: var(--font-mono); font-size: 10px; color: var(--fg-4); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; display: flex; justify-content: space-between; }
.ps-panel svg { width: 100%; flex: 1; min-height: 0; }

/* ════════════════════════════════════════════════════════════
   EIGHT MINUTES — 4-step animated demonstration
   ════════════════════════════════════════════════════════════ */
.eight-minutes { padding: var(--s9) 0; }
.em-header { max-width: 720px; margin-bottom: var(--s7); }
.em-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4);
}
.em-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--s5);
  display: flex; flex-direction: column; gap: var(--s4);
  transition: border-color 300ms, transform 300ms;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.em-step:hover { border-color: var(--border-light); }
.em-step-num {
  font-family: var(--font-mono); font-size: 11px; color: var(--iris);
  letter-spacing: 0.18em; text-transform: uppercase;
}
.em-step h3 {
  font-family: var(--font-serif); font-weight: 500; font-size: 22px;
  letter-spacing: -0.005em; line-height: 1.2; color: var(--fg-1);
}
.em-step p {
  font-family: var(--font-sans); font-size: 13px; color: var(--fg-3);
  line-height: 1.6;
}
.em-stage {
  margin-top: auto;
  background: #060606; border: 1px solid #141414; border-radius: 6px;
  padding: 14px; min-height: 140px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative; overflow: hidden;
}

/* Stage 1 · Upload */
.em-drop {
  flex: 1;
  border: 1px dashed #333; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px; color: var(--fg-5);
  letter-spacing: 0.1em; transition: border-color 400ms, color 400ms, background 400ms;
  position: relative;
}
.em-file {
  position: absolute;
  top: -50px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 32px;
  background: #0c0c0c; border: 1px solid var(--iris);
  border-radius: 3px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  opacity: 0;
}
.em-file::before {
  content: ""; width: 18px; height: 1px; background: var(--iris);
  box-shadow: 0 4px 0 var(--iris), 0 8px 0 var(--iris);
}
.em-file::after {
  content: "CSV"; font-family: var(--font-mono); font-size: 6px;
  color: var(--iris); letter-spacing: 0.12em; margin-top: 8px;
}
.em-step.playing .em-file {
  animation: fileDrop 1.6s var(--ease-out) 200ms forwards;
}
@keyframes fileDrop {
  0%   { opacity: 0; top: -50px; }
  20%  { opacity: 1; }
  100% { opacity: 0; top: 30%; }
}
.em-step.playing .em-drop {
  animation: dropReceive 0.6s var(--ease-out) 1.5s forwards;
}
@keyframes dropReceive {
  0% { border-color: #333; background: transparent; }
  50% { border-color: var(--iris); background: rgba(29,127,214,0.08); color: var(--iris); }
  100% { border-color: var(--iris); background: rgba(29,127,214,0.04); color: var(--iris); }
}

/* Stage 2 · Parse */
.em-rows { display: flex; flex-direction: column; gap: 3px; }
.em-row {
  display: grid; grid-template-columns: 40px 1fr 40px;
  gap: 6px; padding: 3px 0;
  font-family: var(--font-mono); font-size: 9px;
  color: var(--fg-3);
  border-bottom: 1px solid #111;
  opacity: 0;
  transform: translateY(-6px);
}
.em-row .id { color: var(--fg-2); }
.em-row .num { text-align: right; color: var(--positive); }
.em-step.playing .em-row {
  animation: rowIn 400ms var(--ease-out) forwards;
}
.em-step.playing .em-row:nth-child(1) { animation-delay: 0.1s; }
.em-step.playing .em-row:nth-child(2) { animation-delay: 0.3s; }
.em-step.playing .em-row:nth-child(3) { animation-delay: 0.5s; }
.em-step.playing .em-row:nth-child(4) { animation-delay: 0.7s; }
.em-step.playing .em-row:nth-child(5) { animation-delay: 0.9s; }
@keyframes rowIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Stage 3 · Detect */
.em-detect .em-row {
  opacity: 1; transform: none;
  transition: background 400ms, color 400ms, box-shadow 400ms;
}
.em-detect .em-row.flag .num { color: var(--negative); }
.em-step.playing .em-detect .em-row.flag {
  animation: flagPulse 1.2s var(--ease-out) 0.4s forwards;
}
@keyframes flagPulse {
  0%   { background: transparent; }
  50%  { background: rgba(196,87,79,0.16); }
  100% { background: rgba(196,87,79,0.06); }
}
.em-conf {
  opacity: 0;
  font-family: var(--font-mono); font-size: 8px;
  color: var(--negative);
}
.em-step.playing .em-detect .em-row.flag .em-conf {
  animation: confIn 400ms var(--ease-out) 1.4s forwards;
}
@keyframes confIn { to { opacity: 1; } }

/* Stage 4 · Recover */
.em-recover {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center;
}
.em-recover .lbl {
  font-family: var(--font-mono); font-size: 9px; color: var(--fg-4);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.em-recover .big {
  font-family: var(--font-mono); font-size: 28px; font-weight: 600;
  color: var(--positive); font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.em-recover .sub { font-family: var(--font-sans); font-size: 10px; color: var(--fg-4); }

/* ════════════════════════════════════════════════════════════
   ANOMALY DETECTOR — interactive (unchanged structurally)
   ════════════════════════════════════════════════════════════ */
.detector { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s7); align-items: start; }
.detector .copy { max-width: 460px; }
.detector .copy h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: var(--s4); }
.detector .copy h2 em { color: var(--iris); font-style: italic; }
.detector .copy p { color: var(--fg-3); line-height: 1.7; margin-bottom: var(--s5); }
.detector .copy .actions { display: flex; gap: var(--s4); align-items: center; margin-top: var(--s5); }
.det-status { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); letter-spacing: 0.08em; }

.det-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.det-panel-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); letter-spacing: 0.12em; text-transform: uppercase; }
.det-panel-h .file { color: var(--fg-2); }
.det-rows { display: flex; flex-direction: column; }
.det-row {
  display: grid; grid-template-columns: 72px 1fr 70px 90px 80px 110px;
  gap: 14px; align-items: center; padding: 10px 18px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-2); border-bottom: 1px solid #0f0f0f;
  transition: background 400ms, color 400ms;
  font-variant-numeric: tabular-nums;
}
.det-row:last-child { border-bottom: none; }
.det-row .id { color: var(--fg-3); }
.det-row .num { text-align: right; color: var(--fg-2); }
.det-row [data-flag] { text-align: right; display: flex; justify-content: flex-end; gap: 8px; align-items: center; font-size: 11px; }
.det-row [data-flag] .conf { color: var(--negative); }
.det-row [data-flag] .loss { color: var(--negative); }
.det-row [data-flag] .ok { color: var(--fg-5); }
.det-row.scanning { background: rgba(29,127,214,0.05); }
.det-row.anomaly { background: rgba(196,87,79,0.06); }
.det-row.anomaly .num { color: var(--negative); }
.det-row.anomaly .id { color: var(--negative); }
.det-row.clear .id { color: var(--positive); opacity: 0.85; }
.det-summary { display: none; padding: 16px 18px; border-top: 1px solid var(--border); background: rgba(196,87,79,0.04); align-items: center; gap: var(--s4); justify-content: space-between; }
.det-summary.visible { display: flex; }
.det-sum-l { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); letter-spacing: 0.14em; text-transform: uppercase; }
.det-sum-num { font-family: var(--font-mono); font-size: 28px; color: var(--negative); font-weight: 600; font-variant-numeric: tabular-nums; }
.det-chip { font-family: var(--font-mono); font-size: 10px; color: var(--iris); letter-spacing: 0.14em; text-transform: uppercase; }
.det-chip + .det-chip::before { content: "·"; color: var(--fg-5); margin-right: 8px; margin-left: 2px; }

/* ════════════════════════════════════════════════════════════
   MODULES — six rich cards
   ════════════════════════════════════════════════════════════ */
.modules { padding: var(--s9) 0; }
.modules-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5);
  margin-top: var(--s7);
}
.module {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--s5);
  display: flex; flex-direction: column; gap: var(--s4);
  transition: border-color 200ms, transform 200ms, background 200ms;
  cursor: pointer;
}
.module:hover {
  border-color: var(--border-light);
  background: #0d0d0d;
  transform: translateY(-2px);
}
.module-h { display: flex; justify-content: space-between; align-items: baseline; }
.module-num {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-4);
  letter-spacing: 0.18em;
}
.module-tag {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--iris); letter-spacing: 0.16em; text-transform: uppercase;
}
.module-title {
  font-family: var(--font-serif); font-weight: 500; font-size: 22px;
  line-height: 1.15; letter-spacing: -0.005em; color: var(--fg-1);
}
.module-title em { color: var(--iris); font-style: italic; }
.module-vis {
  height: 120px; padding: 12px;
  background: #060606; border: 1px solid #141414; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.module-vis svg { width: 100%; height: 100%; }
.module-p {
  font-family: var(--font-sans); font-size: 13px; color: var(--fg-3);
  line-height: 1.6;
}
.module-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--s3); border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11px;
}
.module-foot .stat { color: var(--fg-3); }
.module-foot .stat b { color: var(--fg-1); font-weight: 500; font-variant-numeric: tabular-nums; }
.module-foot .open { color: var(--iris); }

/* ════════════════════════════════════════════════════════════
   ROUTE MAP — interactive
   ════════════════════════════════════════════════════════════ */
.rm-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s7); align-items: start; }
.rm-svg-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 24px; aspect-ratio: 5/4; position: relative; overflow: hidden; }
.rm-svg-card svg { width: 100%; height: 100%; }
.rm-grid { stroke: rgba(255,255,255,0.025); stroke-width: 1; }
.rm-city { fill: var(--fg-4); stroke: var(--black); stroke-width: 2; cursor: pointer; transition: fill 200ms, r 200ms; }
.rm-city-label { font-family: var(--font-mono); font-size: 11px; fill: var(--fg-3); letter-spacing: 0.06em; pointer-events: none; }
.rm-route-bg { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 1.5; pointer-events: none; }
[data-route] { fill: none; stroke: var(--iris-dim); stroke-width: 3; cursor: pointer; transition: stroke 200ms, stroke-width 200ms; stroke-linecap: round; }
[data-route][data-margin^="-"] { stroke: var(--negative); }
[data-route]:hover, [data-route].active { stroke-width: 5; }
[data-route].active { stroke: var(--iris); }
[data-route][data-margin^="-"].active { stroke: var(--negative); }
.rm-detail { padding: 0 var(--s4); }
.rm-detail-eyebrow { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: var(--s3); }
.rm-detail-name { font-family: var(--font-serif); font-size: 36px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.1; margin-bottom: var(--s4); color: var(--fg-1); }
.rm-detail-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-bottom: var(--s5); }
.rm-stat .l { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.rm-stat .v { font-family: var(--font-mono); font-size: 24px; font-weight: 600; color: var(--fg-1); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.rm-detail-num.pos { color: var(--positive); } .rm-detail-num.neg { color: var(--negative); }
.rm-detail-status { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding-top: var(--s4); border-top: 1px solid var(--border); }
.rm-detail-status.pos { color: var(--positive); } .rm-detail-status.neg { color: var(--negative); }
.rm-routes-list { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.rm-routes-list .item { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); padding: 5px 0; font-variant-numeric: tabular-nums; }
.rm-routes-list .item .neg { color: var(--negative); }
.rm-routes-list .item .pos { color: var(--positive); }

/* ════════════════════════════════════════════════════════════
   PULL QUOTE — editorial moment
   ════════════════════════════════════════════════════════════ */
.pull-quote {
  padding: var(--s10) 0; border-top: 1px solid var(--border);
  text-align: center;
}
.pull-quote .quote {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(32px, 4.2vw, 56px); line-height: 1.15; letter-spacing: -0.02em;
  max-width: 920px; margin: 0 auto;
  color: var(--fg-2);
}
.pull-quote .quote em { color: var(--iris); font-style: italic; }
.pull-quote .attr {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-4);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-top: var(--s6);
}

/* ════════════════════════════════════════════════════════════
   RECOVERABLE — big number editorial moment
   ════════════════════════════════════════════════════════════ */
.recoverable-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: var(--s9) var(--s7);
  text-align: center;
  position: relative; overflow: hidden;
}
.recoverable-block::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(29,127,214,0.08), transparent 70%);
  pointer-events: none;
}
.rb-label { font-family: var(--font-mono); font-size: 12px; color: var(--fg-4); letter-spacing: 0.18em; text-transform: uppercase; position: relative; }
.rb-num { font-family: var(--font-mono); font-size: clamp(72px, 11vw, 168px); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--fg-1); letter-spacing: -0.035em; line-height: 0.95; margin: var(--s5) 0; position: relative; }
.rb-cap { font-family: var(--font-serif); font-size: 20px; color: var(--fg-3); font-style: italic; max-width: 640px; margin: 0 auto; line-height: 1.5; position: relative; }
.rb-cap em { color: var(--iris); font-style: italic; }
.rb-sub { margin-top: var(--s7); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); border-top: 1px solid var(--border); padding-top: var(--s6); position: relative; }
.rb-sub .item { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 0 var(--s4); text-align: left; }
.rb-sub .item .l { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); letter-spacing: 0.14em; text-transform: uppercase; }
.rb-sub .item .v { font-family: var(--font-mono); font-size: 36px; font-weight: 600; color: var(--fg-2); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.rb-sub .item .d { font-family: var(--font-sans); font-size: 13px; color: var(--fg-4); line-height: 1.5; }

/* ════════════════════════════════════════════════════════════
   USE CASES — for fleets like yours
   ════════════════════════════════════════════════════════════ */
.use-cases { padding: var(--s9) 0; }
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-top: var(--s7); }
.uc {
  padding: var(--s5);
  background: transparent;
  display: flex; flex-direction: column; gap: var(--s4);
}
.uc .kind {
  font-family: var(--font-mono); font-size: 11px; color: var(--iris);
  letter-spacing: 0.18em; text-transform: uppercase;
}
.uc h3 {
  font-family: var(--font-serif); font-weight: 500; font-size: 24px;
  line-height: 1.2; letter-spacing: -0.005em; color: var(--fg-1);
}
.uc h3 em { color: var(--iris); font-style: italic; }
.uc p { font-family: var(--font-sans); font-size: 13px; color: var(--fg-3); line-height: 1.65; }
.uc .stat-row {
  display: flex; gap: var(--s5); margin-top: var(--s2);
  padding-top: var(--s3); border-top: 1px solid var(--border);
}
.uc .stat-row .s { display: flex; flex-direction: column; gap: 2px; }
.uc .stat-row .s .v { font-family: var(--font-mono); font-size: 18px; font-weight: 600; color: var(--fg-1); font-variant-numeric: tabular-nums; letter-spacing: -0.005em; }
.uc .stat-row .s .l { font-family: var(--font-mono); font-size: 10px; color: var(--fg-4); letter-spacing: 0.14em; text-transform: uppercase; }

/* ════════════════════════════════════════════════════════════
   CTA — final
   ════════════════════════════════════════════════════════════ */
.cta {
  text-align: center; padding: var(--s10) var(--content-pad);
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 600px; height: 600px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(29,127,214,0.08), transparent 65%);
  pointer-events: none;
}
.cta h2 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(36px, 5vw, 64px); line-height: 1.1;
  letter-spacing: -0.02em; max-width: 800px; margin: 0 auto var(--s5);
  position: relative;
}
.cta h2 em { color: var(--iris); font-style: italic; }
.cta .sub { color: var(--fg-3); margin-bottom: var(--s7); position: relative; font-size: 16px; }
.cta .meta {
  margin-top: var(--s7);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-5); letter-spacing: 0.16em; text-transform: uppercase;
  position: relative;
}
.cta-actions { position: relative; display: flex; gap: var(--s4); justify-content: center; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-product { grid-column: span 2; }
  .ps-side { display: none; }
  .em-grid { grid-template-columns: repeat(2, 1fr); }
  .detector, .rm-wrap { grid-template-columns: 1fr; }
  .modules-grid, .uc-grid { grid-template-columns: 1fr; }
  .rb-sub { grid-template-columns: 1fr; }
  .hero-marquee { flex-direction: column; gap: var(--s3); padding: 0 var(--s5); }
}
@media (max-width: 640px) {
  .hero { min-height: 80vh; padding-top: calc(var(--nav-height) + var(--s7)); }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-product { grid-column: span 1; }
  .em-grid { grid-template-columns: 1fr; }
  .det-row { grid-template-columns: 1fr 70px; gap: 8px; }
  .det-row .num { display: none; }
}

/* ════════════════════════════════════════════════════════════
   MODULE BAND — horizontal auto-scrolling card strip
   (placeholder for future client testimonial band)
   ════════════════════════════════════════════════════════════ */
.module-band { padding: var(--s7) 0; overflow: hidden; }
.module-band .band-header {
  max-width: 1240px; margin: 0 auto var(--s5); padding: 0 var(--content-pad);
}
.band-track {
  display: flex; gap: var(--s4); width: max-content;
  animation: bandScroll 40s linear infinite;
}
.band-track:hover { animation-play-state: paused; }
@keyframes bandScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.band-card {
  flex-shrink: 0; width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--s5);
  display: flex; flex-direction: column; gap: var(--s3);
  transition: border-color 200ms;
}
.band-card:hover { border-color: var(--border-light); }
.band-card .module-h { display: flex; justify-content: space-between; align-items: baseline; }
.band-card .module-num {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); letter-spacing: 0.18em;
}
.band-card .module-tag {
  font-family: var(--font-mono); font-size: 10px; color: var(--iris);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.band-card .module-title {
  font-family: var(--font-serif); font-weight: 500; font-size: 20px;
  line-height: 1.15; letter-spacing: -0.005em; color: var(--fg-1);
}
.band-card .module-title em { color: var(--iris); font-style: italic; }
.band-card .module-vis {
  height: 100px; padding: 10px;
  background: #060606; border: 1px solid #141414; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.band-card .module-vis svg { width: 100%; height: 100%; }
.band-card .module-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--s3); border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11px;
}
.band-card .module-foot .stat { color: var(--fg-3); }
.band-card .module-foot .stat b { color: var(--fg-1); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ════════════════════════════════════════════════════════════
   ANATOMY — interactive alert walkthrough (from product page)
   ════════════════════════════════════════════════════════════ */
.anatomy { padding: var(--s9) 0; }
.an-header { max-width: 720px; margin-bottom: var(--s7); }
.anatomy-stage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: grid; grid-template-columns: 380px 1fr;
  min-height: 600px;
}
.an-list { background: #0a0a0a; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.an-list-h {
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-4);
  letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
}
.an-list-h .count { color: var(--negative); font-variant-numeric: tabular-nums; }
.an-item {
  appearance: none; background: transparent; border: none;
  border-bottom: 1px solid #0f0f0f; color: inherit; font: inherit;
  text-align: left; width: 100%; padding: 16px 22px;
  cursor: pointer; transition: background 200ms;
  display: flex; flex-direction: column; gap: 6px; position: relative;
}
.an-item:focus-visible { outline: 1px solid var(--iris); outline-offset: -1px; }
.an-item:hover { background: rgba(255,255,255,0.02); }
.an-item.active { background: rgba(29,127,214,0.06); }
.an-item-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--severity, var(--negative)); }
.an-item.active .an-item-rail { width: 0; }
.an-item-top {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--fg-4);
}
.an-item-chip {
  font-family: var(--font-mono); font-size: 10px; color: var(--negative);
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
}
.an-item-chip.waste { color: var(--warning); }
.an-item-title {
  font-family: var(--font-serif); font-weight: 500; font-size: 16px;
  line-height: 1.3; color: var(--fg-1);
}
.an-item-title em { color: var(--iris); font-style: italic; }
.an-item-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; font-variant-numeric: tabular-nums;
}
.an-item-foot .impact { color: var(--negative); font-weight: 500; }
.an-item-foot .age { color: var(--fg-5); letter-spacing: 0.04em; }
.an-detail {
  padding: 28px 32px; display: flex; flex-direction: column; gap: var(--s5); background: #050505;
}
.an-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s4); border-bottom: 1px solid var(--border); padding-bottom: var(--s5); }
.an-detail-l { display: flex; flex-direction: column; gap: 8px; }
.an-detail-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; display: flex; align-items: center; gap: 8px; color: var(--fg-4);
}
.an-detail-eyebrow .chip {
  font-family: var(--font-mono); font-size: 10px; color: var(--negative);
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
}
.an-detail-title {
  font-family: var(--font-serif); font-weight: 500; font-size: 28px;
  line-height: 1.2; letter-spacing: -0.01em; max-width: 520px;
}
.an-detail-title em { color: var(--iris); font-style: italic; }
.an-detail-num {
  font-family: var(--font-mono); font-size: 36px; font-weight: 600;
  color: var(--negative); font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em; line-height: 1; text-align: right;
}
.an-detail-num .l { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--fg-4); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; font-weight: 400; }
.an-section { display: flex; flex-direction: column; gap: var(--s3); }
.an-section .eye {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-4);
  letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.an-section .eye::before { content: ""; width: 14px; height: 1px; background: var(--iris); }
.an-evidence {
  background: #0a0a0a; border: 1px solid var(--border); border-radius: 6px;
  font-family: var(--font-mono); font-size: 12px; font-variant-numeric: tabular-nums;
}
.an-ev-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; padding: 10px 14px;
  border-bottom: 1px solid #0f0f0f;
}
.an-ev-row:last-child { border-bottom: none; }
.an-ev-row .lbl { color: var(--fg-4); letter-spacing: 0.06em; text-transform: uppercase; font-size: 10px; }
.an-ev-row .val { color: var(--fg-1); }
.an-ev-row .val.neg { color: var(--negative); }
.an-ev-row .delta { color: var(--negative); }
.an-actions { display: flex; flex-direction: column; gap: 8px; }
.an-action {
  display: flex; align-items: center; justify-content: space-between;
  appearance: none; width: 100%; padding: 12px 16px;
  background: #0a0a0a; border: 1px solid var(--border); border-radius: 6px;
  font-family: var(--font-sans); font-size: 13px; color: var(--fg-2);
  transition: border-color 200ms, background 200ms, color 200ms;
  cursor: pointer; text-align: left;
}
.an-action:hover { border-color: var(--iris); background: rgba(29,127,214,0.06); color: var(--fg-1); }
.an-action:focus-visible { outline: 1px solid var(--iris); outline-offset: 2px; }
.an-action .arrow { font-family: var(--font-mono); color: var(--iris); }
.an-action.primary { background: var(--surface-hi); border-color: transparent; color: var(--iris); font-weight: 500; }
.an-action.primary:hover { background: #222; }

/* ════════════════════════════════════════════════════════════
   MODULES IN DEPTH — editorial breakdown (from product page)
   ════════════════════════════════════════════════════════════ */
.dm {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; transition: border-color 200ms;
}
.dm:hover { border-color: var(--border-light); }
.dm .dm-vis { order: -1; }
.dm-vis {
  position: relative; background: #060606;
  padding: var(--s3); min-height: 140px;
  display: flex; flex-direction: column;
  border-bottom: 1px solid var(--border);
}
.dm-vis-h {
  font-family: var(--font-mono); font-size: 10px; color: var(--fg-4);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: var(--s3); display: flex; justify-content: space-between; align-items: center;
}
.dm-vis-h .badge { font-size: 10px; color: var(--iris); letter-spacing: 0.14em; text-transform: uppercase; }
.dm-vis-body { flex: 1; display: flex; flex-direction: column; }
.dm-vis-body svg { width: 100%; height: 100%; flex: 1; min-height: 120px; }
.dm-text { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4); }
.dm-num { font-family: var(--font-mono); font-size: 11px; color: var(--iris); letter-spacing: 0.2em; text-transform: uppercase; }
.dm-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 24px; line-height: 1.15; letter-spacing: -0.01em; color: var(--fg-1);
}
.dm-title em { color: var(--iris); font-style: italic; }
.dm-prose { font-family: var(--font-sans); font-size: 13px; line-height: 1.65; color: var(--fg-3); }
.dm-prose b { color: var(--fg-1); font-weight: 500; }
.dm-prose em { color: var(--iris); font-style: italic; }
.dm-list { display: none; }

/* ════════════════════════════════════════════════════════════
   VEHICLE SCORECARD — interactive (from product page)
   ════════════════════════════════════════════════════════════ */
.vs-section { padding: var(--s9) 0; }
.vs-wrap { display: grid; grid-template-columns: 320px 1fr; gap: var(--s6); align-items: stretch; margin-top: var(--s7); }
.vs-list { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.vs-list-h { padding: 14px 18px; border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); letter-spacing: 0.14em; text-transform: uppercase; display: flex; justify-content: space-between; }
.vs-item { padding: 14px 18px; border-bottom: 1px solid #0f0f0f; display: grid; grid-template-columns: 64px 1fr 60px; gap: 12px; align-items: center; cursor: pointer; transition: background 200ms; }
.vs-item:last-child { border-bottom: none; }
.vs-item:hover { background: rgba(255,255,255,0.02); }
.vs-item.active { background: rgba(29,127,214,0.08); }
.vs-id { font-family: var(--font-mono); font-size: 12px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.vs-bar { display: flex; align-items: center; gap: 8px; }
.vs-bar-track { flex: 1; height: 4px; background: rgba(255,255,255,0.04); border-radius: 2px; overflow: hidden; }
.vs-bar-fill { height: 100%; background: var(--iris); border-radius: 2px; transition: width 800ms var(--ease-out); }
.vs-bar-fill.warn { background: var(--warning); }
.vs-bar-fill.neg { background: var(--negative); }
.vs-score { font-family: var(--font-mono); font-size: 13px; color: var(--fg-2); font-variant-numeric: tabular-nums; text-align: right; font-weight: 500; }
.vs-score.warn { color: var(--warning); } .vs-score.neg { color: var(--negative); }
.vs-detail { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: var(--s6); display: flex; flex-direction: column; gap: var(--s5); }
.vs-detail-h { display: flex; justify-content: space-between; align-items: baseline; }
.vs-detail-id { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); letter-spacing: 0.14em; text-transform: uppercase; }
.vs-detail-name { font-family: var(--font-serif); font-weight: 500; font-size: 32px; letter-spacing: -0.01em; line-height: 1.15; color: var(--fg-1); }
.vs-detail-name em { color: var(--iris); font-style: italic; }
.vs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.vs-stat .l { font-family: var(--font-mono); font-size: 10px; color: var(--fg-4); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.vs-stat .v { font-family: var(--font-mono); font-size: 22px; font-weight: 600; color: var(--fg-1); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.vs-stat .v.pos { color: var(--positive); } .vs-stat .v.neg { color: var(--negative); } .vs-stat .v.warn { color: var(--warning); }
.vs-prose { color: var(--fg-3); line-height: 1.7; font-size: 14px; padding-left: var(--s3); border-left: 1px solid var(--border-light); }
.vs-prose b { color: var(--fg-1); font-weight: 500; }
.vs-actions { display: flex; gap: var(--s4); align-items: center; padding-top: var(--s3); border-top: 1px solid var(--border); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — product sections
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .vs-wrap { grid-template-columns: 1fr; }
  .vs-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════════════════════
   SUBTLE ANIMATIONS — making the page feel alive
   ════════════════════════════════════════════════════════════ */

/* Scroll reveal: sections fade up when entering viewport */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
[data-reveal].visible {
  opacity: 1; transform: translateY(0);
}

/* Bento cards: gentle lift on hover */
.bento-grid .dm {
  transition: border-color 200ms, transform 300ms var(--ease-out), box-shadow 300ms;
}
.bento-grid .dm:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* SVG chart data points: subtle glow pulse */
.dm-vis svg circle[fill="#C4574F"] {
  animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Chart lines: gentle shimmer */
.dm-vis svg polyline, .dm-vis svg polygon {
  animation: chartShimmer 4s ease-in-out infinite;
}
@keyframes chartShimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* Bento product frame: subtle border glow */
.bento-product .product-frame {
  transition: box-shadow 400ms;
}
.bento-product:hover .product-frame {
  box-shadow: 0 0 40px rgba(29,127,214,0.08);
}

/* Route map cities: breathing pulse */
.rm-city {
  animation: cityPulse 3s ease-in-out infinite;
}
@keyframes cityPulse {
  0%, 100% { r: 5; }
  50% { r: 6; }
}

/* Route map routes: subtle flow animation */
[data-route] {
  stroke-dasharray: 8 4;
  stroke-dashoffset: 0;
  animation: routeFlow 20s linear infinite;
}
@keyframes routeFlow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -120; }
}

/* Module band: edge fade for seamless scroll feel */
.module-band {
  mask-image: linear-gradient(90deg, transparent, black 60px, black calc(100% - 60px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 60px, black calc(100% - 60px), transparent);
}

/* Vehicle scorecard bars: grow in on scroll reveal */
.vs-section.visible .vs-bar-fill {
  animation: barGrow 800ms var(--ease-out) forwards;
}
@keyframes barGrow {
  from { width: 0; }
}

/* Use case cards: staggered fade in */
.use-cases.visible .uc:nth-child(1) { transition-delay: 0ms; }
.use-cases.visible .uc:nth-child(2) { transition-delay: 120ms; }
.use-cases.visible .uc:nth-child(3) { transition-delay: 240ms; }
.uc {
  opacity: 0; transform: translateY(16px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.use-cases.visible .uc {
  opacity: 1; transform: translateY(0);
}

/* Eight-minute step cards: staggered entrance */
.em-step {
  opacity: 0; transform: translateY(16px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.eight-minutes.visible .em-step:nth-child(1) { transition-delay: 0ms; }
.eight-minutes.visible .em-step:nth-child(2) { transition-delay: 100ms; }
.eight-minutes.visible .em-step:nth-child(3) { transition-delay: 200ms; }
.eight-minutes.visible .em-step:nth-child(4) { transition-delay: 300ms; }
.eight-minutes.visible .em-step {
  opacity: 1; transform: translateY(0);
}

/* CTA section: gentle iris glow breathe */
.cta::before {
  animation: ctaGlow 6s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
