/* ==========================================================================
   Vectra AI homepage redesign mock (2026-11-03)
   Scope: everything lives under main.rd; every class is prefixed rd-.
   Loaded after the Webflow CSS so the scoped reset below wins over the
   site's global tag rules (white p/h1/h2, flex ul, 1.375rem li, 20px lh).
   ========================================================================== */

/* ---------- Tokens (brand values from the live site) ---------- */
.rd {
  --rd-navy: #002a4c;
  --rd-navy-deep: #01203a;
  --rd-navy-ink: #0b1f33;
  --rd-green: #35a36b;
  --rd-green-600: #1d895e;
  --rd-green-400: #5db589;
  --rd-orange: #c14b1f;
  --rd-blue: #1866c1;
  --rd-blue-hover: #005176;
  --rd-sky: #7ac9ed;
  --rd-ink: #131516;
  --rd-text: #303435;
  --rd-text-2: #525456;
  --rd-line: #e3e7e6;
  --rd-soft: #f4f6f5;
  --rd-display: Montserrat, sans-serif;
  --rd-body: "Roboto Flex", Arial, sans-serif;
  --rd-pad: clamp(5rem, 3.25rem + 5.2vw, 9rem);
  --rd-radius-sheet: 2.5rem;
  --rd-ease: cubic-bezier(.22, .7, .18, 1);

  background: var(--rd-navy-deep);
  color: var(--rd-ink);
  font-family: var(--rd-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
}

/* ---------- Scoped reset (specificity 0,1,0; components follow) ---------- */
.rd,
.rd *,
.rd *::before,
.rd *::after { box-sizing: border-box; }

.rd :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dt, dd) {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}
.rd :where(ul, ol) { display: block; flex-direction: row; gap: 0; list-style: none; }
.rd :where(li) { list-style: none; }
.rd :where(blockquote) { border: 0; }
.rd :where(img, video) { display: block; max-width: 100%; height: auto; }
.rd :where(strong, b) { font-weight: 700; }
.rd :where(a) { color: inherit; text-decoration: none; }
.rd :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.rd svg { overflow: visible; }
.rd :where(p) { text-wrap: pretty; }
.rd-nowrap { white-space: nowrap; }
.rd ::selection { background: rgba(93, 181, 137, .32); }

/* ---------- Layout ---------- */
.rd-container {
  position: relative;
  width: 90%;
  max-width: 108rem;
  margin-inline: auto;
}
.rd-section { position: relative; padding-block: var(--rd-pad); }
.rd-sheet {
  z-index: 1;
  margin-top: calc(var(--rd-radius-sheet) * -1);
  border-radius: var(--rd-radius-sheet) var(--rd-radius-sheet) 0 0;
}
.rd-section:has(+ .rd-sheet) { padding-bottom: calc(var(--rd-pad) + var(--rd-radius-sheet)); }

/* ---------- Type ---------- */
.rd-h1 {
  font-family: var(--rd-display);
  font-size: clamp(2.35rem, 1.2rem + 4vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
  color: #fff;
}
.rd-line { display: block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.rd-line__inner { display: block; }
@media (min-width: 1200px) { .rd-line__inner { white-space: nowrap; } }
.rd-h2 {
  font-family: var(--rd-display);
  font-size: clamp(2.125rem, 1.3rem + 2.4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.rd-lead {
  max-width: 56ch;
  font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem);
  line-height: 1.5;
  text-wrap: pretty;
}
.rd-eyebrow {
  font-family: var(--rd-display);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rd-green-600);
}
.rd-eyebrow--on-dark { color: var(--rd-green-400); }
.rd-gradient-text {
  background: linear-gradient(270deg, #15b374 12%, #d56a32 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.rd-sl-mask { padding-bottom: .12em; margin-bottom: -.12em; }

/* ---------- CTAs: one system ---------- */
.rd-btn {
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  min-height: 3.25rem;
  padding: .5rem .5rem .5rem 1.5rem;
  border-radius: 100vh;
  font-family: var(--rd-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .35s var(--rd-ease), box-shadow .35s var(--rd-ease);
}
.rd-btn--primary {
  background: var(--rd-blue);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(24, 102, 193, .7);
}
.rd-btn--primary:hover { background: var(--rd-blue-hover); }
.rd-btn__chev {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--rd-orange);
  color: #fff;
  transition: transform .35s var(--rd-ease);
}
.rd-btn:hover .rd-btn__chev { transform: translateX(3px); }

.rd-link {
  --rd-caret: 2rem;
  display: inline-flex;
  align-items: flex-end;
  gap: .625rem;
  font-family: var(--rd-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--rd-blue);
}
.rd-link > span:first-child { text-wrap: balance; }
/* Centred on the label's last line (line-height 1.25em), whether it wraps or not */
.rd-link__caret {
  display: grid;
  flex: none;
  place-items: center;
  width: var(--rd-caret);
  height: var(--rd-caret);
  margin-bottom: calc((1.25em - var(--rd-caret)) / 2);
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transition: background-color .3s var(--rd-ease), transform .3s var(--rd-ease);
}
.rd-link__caret svg { transition: color .3s; }
.rd-link:hover .rd-link__caret { background: currentColor; transform: translateX(2px); }
.rd-link:hover .rd-link__caret svg { color: #fff; }
.rd-link--light { color: #fff; }
.rd-link--light:hover .rd-link__caret svg,
.rd-link--sky:hover .rd-link__caret svg { color: var(--rd-navy); }
.rd-link--sky { color: var(--rd-sky); }
.rd-link--sm { font-size: .9375rem; }
.rd-link--sm { --rd-caret: 1.75rem; }

.rd-btn:focus-visible,
.rd-link:focus-visible,
.rd-stage__toggle:focus-visible,
.rd-flow__toggle:focus-visible,
.rd-play:focus-visible,
.rd-award--featured:focus-visible,
.rd-dialog__close:focus-visible {
  outline: 2px solid var(--rd-sky);
  outline-offset: 3px;
}

.rd-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: clamp(2rem, 3vw, 2.75rem);
}
.rd-cta-row--center { justify-content: center; }

.rd-head { display: flex; flex-direction: column; gap: 1.25rem; }
.rd-head--center { align-items: center; text-align: center; }
.rd-head--split { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }

/* ==========================================================================
   1. Hero
   ========================================================================== */
.rd-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: max(38rem, calc(100svh - var(--rd-header-h, 148px)));
  background: var(--rd-navy);
  color: #fff;
  overflow: clip;
}
.rd-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 34rem at 94% calc(100% + 4.75rem), rgba(29, 137, 94, .62) 0%, rgba(16, 94, 85, .3) 42%, rgba(0, 42, 76, 0) 76%),
    radial-gradient(40% 55% at 0% 0%, rgba(24, 102, 193, .2) 0%, rgba(24, 102, 193, 0) 70%),
    linear-gradient(180deg, #002a4c 0%, #01203a 100%);
}
.rd-hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(3rem, 7vh, 6rem);
}
.rd-hero__lead { margin-top: clamp(1.5rem, 2.5vw, 2.25rem); max-width: 48ch; color: rgba(255, 255, 255, .78); }

/* The questions every security team asks (rebuilt from words-static.svg) */
.rd-questions {
  position: relative;
  align-self: stretch;
  min-height: 27rem;
  font-family: var(--rd-display);
}
.rd-questions__rings {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46rem;
  height: 46rem;
  translate: -50% -50%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, .075) 0 1px, transparent 1px 3.5rem);
  -webkit-mask-image: radial-gradient(circle, #000 0 22%, transparent 66%);
  mask-image: radial-gradient(circle, #000 0 22%, transparent 66%);
  pointer-events: none;
}
.rd-q {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
}
.rd-q__t {
  display: block;
  width: max-content;
  max-width: var(--w, 13ch);
  font-size: var(--fs, 1.125rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-align: center;
  color: #fff;
  opacity: .26;
  transform: scale(.92);
  transition: opacity 1s var(--rd-ease), transform 1.2s var(--rd-ease), text-shadow 1s;
}
.rd-q.is-active .rd-q__t {
  opacity: 1;
  transform: none;
  text-shadow: 0 0 2rem rgba(53, 163, 107, .5);
}
.rd-q--1 { --x: 50%; --y: 50%; --fs: clamp(1.75rem, 1rem + 1.35vw, 2.5rem); --w: 11ch; }
.rd-q--2 { --x: 17%; --y: 22%; --fs: 1.125rem; --w: 15ch; }
.rd-q--3 { --x: 76%; --y: 12%; --fs: 1.5rem; --w: 14ch; }
.rd-q--4 { --x: 24%; --y: 86%; --fs: 1.375rem; --w: 14ch; }
.rd-q--5 { --x: 84%; --y: 72%; --fs: 1.0625rem; --w: 14ch; }
.rd-ripple {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12rem;
  height: 12rem;
  margin: -6rem 0 0 -6rem;
  border: 1px solid rgba(93, 181, 137, .6);
  border-radius: 50%;
  box-shadow: inset 0 0 2.5rem rgba(53, 163, 107, .25);
  opacity: 0;
  pointer-events: none;
}

/* Customer logos, docked to the bottom of the hero */
.rd-logos {
  position: relative;
  z-index: 1;
  padding-block: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  overflow: clip;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.rd-logos__track { display: flex; justify-content: center; }
.rd-logos__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.75rem clamp(2.5rem, 4.5vw, 4.5rem);
  padding-inline: 5%;
}
.rd-logos.is-marquee .rd-logos__track {
  justify-content: flex-start;
  width: max-content;
  animation: rd-marquee 60s linear infinite;
}
.rd-logos.is-marquee .rd-logos__list { flex-wrap: nowrap; padding-inline: 0 clamp(2.5rem, 4.5vw, 4.5rem); }
.rd-logos:hover .rd-logos__track { animation-play-state: paused; }
.rd-logos__list img {
  width: auto;
  height: 1.75rem;
  max-width: 9rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .62;
  transition: opacity .3s;
}
.rd-logos__list img:hover { opacity: 1; }
@keyframes rd-marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   2. Tension
   ========================================================================== */
.rd-tension { background: var(--rd-navy-deep); color: #fff; padding-bottom: calc(var(--rd-pad) * .45); }
/* The hero's glow (same ellipse, same stops) carries across the seam and dissolves,
   so the hero ends without a hard edge. A static light, not an animation. */
.rd-tension::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 15rem;
  background: radial-gradient(52% 34rem at 94% 4.75rem, rgba(29, 137, 94, .62) 0%, rgba(16, 94, 85, .3) 42%, rgba(0, 42, 76, 0) 76%);
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .55) 35%, transparent);
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .55) 35%, transparent);
  pointer-events: none;
}
.rd-tension__title { max-width: 22ch; }
.rd-shifts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 5vw, 4.5rem);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.rd-shift {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding: clamp(2rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 3rem) 0 0;
}
.rd-shift + .rd-shift {
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid rgba(255, 255, 255, .12);
}
.rd-shift__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: rgba(53, 163, 107, .1);
  box-shadow: inset 0 0 0 1px rgba(93, 181, 137, .3);
}
.rd-shift__icon img { width: 1.75rem; height: 1.75rem; object-fit: contain; }
.rd-shift__title {
  font-family: var(--rd-display);
  font-size: clamp(1.375rem, 1.05rem + .8vw, 1.875rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.rd-shift__accent { display: block; color: var(--rd-green-400); }
.rd-shift .rd-link { margin-top: auto; padding-top: .5rem; }
/* A label that wraps keeps its caret after the last word, on the same line as the
   carets of the one-line labels beside it */
.rd-shift .rd-link { display: block; max-width: 24rem; text-wrap: balance; }
.rd-shift .rd-link > span:first-child { display: inline; }
.rd-shift .rd-link__caret { display: inline-grid; vertical-align: middle; margin: -.15em 0 0 .375rem; }

/* ==========================================================================
   3. Approach: one stream of activity
   The stream reads left to right (top to bottom on phones) and each zone sits
   over the step it demonstrates: sources merge into one system, the stream
   splits by who is acting inside a learned baseline, deviations are linked
   into one signal, and the signal is acted on. JS draws it from the layout.
   ========================================================================== */
.rd-approach {
  background: var(--rd-navy-deep);
  color: #fff;
  padding-top: calc(var(--rd-pad) * .65);
}
.rd-approach__glow {
  position: absolute;
  left: 50%;
  top: 0;
  width: 72rem;
  height: 40rem;
  translate: -50% -25%;
  background: radial-gradient(closest-side, rgba(29, 137, 94, .2), transparent);
  pointer-events: none;
}
.rd-approach__head { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.rd-approach__title { font-size: clamp(2.25rem, 1.1rem + 3.6vw, 4.75rem); letter-spacing: -.035em; }
/* Each word is its own mask, so the headline can rise in word by word */
.rd-word { display: inline-block; clip-path: inset(-.1em -.1em -.15em); transition: color .6s var(--rd-ease); }
.rd-word__in { display: inline-block; }
.rd-approach .rd-lead { max-width: 44ch; color: rgba(255, 255, 255, .72); }
.rd-approach .rd-lead strong { font-weight: 600; color: #fff; }

.rd-word.is-now { color: var(--rd-green-400); }

.rd-flow { position: relative; margin-top: clamp(2.25rem, 1rem + 3vw, 3.75rem); }
/* Full bleed: sources enter from the screen edge and the lanes run off it */
.rd-flow__viz {
  position: relative;
  width: 100vw;
  height: clamp(14rem, 7.5rem + 13vw, 22rem);
  margin-left: calc(50% - 50vw);
}
.rd-flow__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.rd-flow__labels { position: absolute; inset: 0; pointer-events: none; }
.rd-flow__label {
  position: absolute;
  translate: 0 -100%;
  font-family: var(--rd-display);
  font-size: .6875rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, .42);
}
.rd-flow__label--lane { color: rgba(255, 255, 255, .68); }

/* Stream parts (SVG, drawn by JS) */
.rd-fz { opacity: 0; transition: opacity .5s var(--rd-ease); }
.rd-fz.is-on { opacity: 1; }
.rd-ft { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1; }
.rd-ft--in { stroke: rgba(255, 255, 255, .13); }
.rd-fe { fill: rgba(53, 163, 107, .07); stroke: rgba(93, 181, 137, .34); stroke-width: 1; }
.rd-fp__glow { fill: var(--rd-sky); opacity: .2; }
.rd-fp__dot { fill: #e4f3fa; }
.rd-fm__glow { animation: rd-breathe 4.5s ease-in-out infinite; }
.rd-fm__ring { fill: var(--rd-navy-deep); stroke: rgba(93, 181, 137, .7); stroke-width: 1.25; }
.rd-fm__core { fill: var(--rd-green-400); }
.rd-fb__bg { fill: var(--rd-navy-deep); stroke: rgba(122, 201, 237, .45); stroke-width: 1.25; }
.rd-fb__icon { fill: none; stroke: var(--rd-sky); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
/* A deviation: amber as it leaves its baseline, red once flagged, green once acted on */
.rd-fa__core { transform-box: fill-box; transform-origin: center; transition: transform .45s var(--rd-ease); }
.rd-fa:is(.is-warn, .is-alert, .is-ok) .rd-fa__core { transform: scale(1.5); }
.rd-fa__glow { fill: var(--rd-sky); opacity: .2; transition: fill .4s, opacity .4s; }
.rd-fa__dot { fill: #e4f3fa; transition: fill .4s; }
.rd-fa.is-warn .rd-fa__glow { fill: #ea8a43; opacity: .34; }
.rd-fa.is-warn .rd-fa__dot { fill: #ffc58a; }
.rd-fa.is-alert .rd-fa__glow { fill: #f0524f; opacity: .42; }
.rd-fa.is-alert .rd-fa__dot { fill: #ff958f; }
.rd-fa.is-ok .rd-fa__glow { fill: var(--rd-green); opacity: .42; }
.rd-fa.is-ok .rd-fa__dot { fill: #b5ebcf; }
.rd-fa__ring { fill: none; stroke: #ff6b63; stroke-width: 1.25; opacity: 0; transform-box: fill-box; transform-origin: center; }
.rd-fa.is-alert .rd-fa__ring { animation: rd-ripple 1.6s ease-out infinite; }
.rd-fa__lock { fill: none; stroke: #7fd3a8; stroke-width: 1.5; opacity: 0; }
.rd-fl { stroke: #ff6b63; stroke-width: 1.25; stroke-linecap: round; stroke-dasharray: 3 4; transition: stroke .4s; animation: rd-track .8s linear infinite; }
.rd-fl.is-ok { stroke: var(--rd-green-400); }
.rd-fs__bg { fill: #f0524f; transition: fill .35s; }
.rd-fs.is-ok .rd-fs__bg { fill: var(--rd-green); }
.rd-fs__ping { fill: none; stroke: #ff6b63; stroke-width: 1.25; opacity: 0; transform-box: fill-box; transform-origin: center; animation: rd-ripple 1.6s ease-out infinite; }
.rd-fs.is-ok .rd-fs__ping { stroke: var(--rd-green-400); }
.rd-fs__warn,
.rd-fs__ok { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: opacity .3s; }
.rd-fs__ok,
.rd-fs.is-ok .rd-fs__warn { opacity: 0; }
.rd-fs.is-ok .rd-fs__ok { opacity: 1; }

/* Pause / play (WCAG 2.2.2): the stream keeps moving after its intro */
.rd-flow__toggle {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: none;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .75);
  transition: background-color .3s, color .3s;
}
.rd-flow.is-live .rd-flow__toggle { display: grid; }
.rd-flow__toggle:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.rd-flow__toggle svg { width: 1rem; height: 1rem; }
.rd-flow.is-user-paused .rd-i-pause { display: none; }
.rd-flow.is-user-paused .rd-i-play { display: block; }
.rd-flow.is-paused * { animation-play-state: paused; }

.rd-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2.5rem; margin-top: clamp(1rem, .5rem + 1.2vw, 1.75rem); }
.rd-step { position: relative; }
.rd-step__rail { position: relative; display: block; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.rd-step__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rd-green-600), var(--rd-green) 60%, var(--rd-sky));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 1));
}
.rd-step__num {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--rd-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .45);
  transition: color .5s;
}
.rd-step.is-now .rd-step__num { color: #fff; }
.rd-step.is-alert .rd-step__num { color: #ff8a83; }
.rd-step.is-ok .rd-step__num { color: #7fd3a8; }
.rd-step__text {
  max-width: 22ch;
  margin-top: .625rem;
  font-size: clamp(1.125rem, 1rem + .35vw, 1.3125rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, .72);
  transition: color .5s;
}
.rd-step__text strong { font-weight: 600; color: #fff; transition: color .5s; }
.rd-verb { font-weight: 700; color: var(--rd-green-400); transition: color .5s; }

/* With motion on, the steps start unlit and light as the stream shows them */
.rd-motion .rd-step { --p: 0; }
.rd-motion .rd-step:not(.is-lit) .rd-step__text { color: rgba(255, 255, 255, .38); }
.rd-motion .rd-step:not(.is-lit) .rd-step__text strong,
.rd-motion .rd-step:not(.is-lit) .rd-verb { color: rgba(255, 255, 255, .5); }

/* ==========================================================================
   4. Platform: the story player
   One timeline tells see, act, strengthen on a live map. The lead's phrases,
   the chapter list (with progress rails) and the console all follow it, so
   the whole story plays in place without asking for more scroll.
   ========================================================================== */
.rd-platform { background: #fff; color: var(--rd-ink); }
.rd-platform__title { max-width: 26ch; color: var(--rd-ink); }
.rd-platform__lead { max-width: 58ch; color: var(--rd-text-2); }
.rd-phrase {
  padding-bottom: .08em;
  font-weight: 500;
  color: var(--rd-ink);
  background: linear-gradient(var(--rd-green), var(--rd-green)) 0 100% / 0% 2px no-repeat;
  transition: background-size .7s var(--rd-ease);
}
.rd-phrase.is-active { background-size: 100% 2px; }
@media (min-width: 768px) { .rd-phrase { white-space: nowrap; } }

.rd-story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "list stage" "cta stage";
  column-gap: clamp(2.5rem, 5vw, 5.5rem);
  row-gap: 2rem;
  margin-top: clamp(2.75rem, 4.5vw, 4.25rem);
}
.rd-chapters { grid-area: list; display: flex; flex-direction: column; gap: .25rem; }
.rd-story__cta { grid-area: cta; align-self: end; }
.rd-stage { grid-area: stage; }

/* ---------- Chapters: the copy, with a progress rail per act ---------- */
.rd-chapter { position: relative; padding: 1.125rem 0 1.125rem 1.75rem; }
.rd-chapter__rail {
  position: absolute;
  left: 0;
  top: 1.125rem;
  bottom: 1.125rem;
  width: 2px;
  border-radius: 2px;
  background: var(--rd-line);
  overflow: hidden;
}
.rd-chapter__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--rd-green);
  transform-origin: 50% 0;
  transform: scaleY(var(--p, 0));
}
.rd-story:not(.is-live) .rd-chapter.is-active .rd-chapter__fill { --p: 1; }
.rd-chapter__kicker {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  font-family: var(--rd-display);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rd-text-2);
  transition: color .5s var(--rd-ease);
}
.rd-chapter__num { font-variant-numeric: tabular-nums; }
.rd-chapter__title {
  margin-top: .625rem;
  font-family: var(--rd-display);
  font-size: clamp(1.1875rem, 1rem + .45vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
  color: var(--rd-text-2);
  transition: color .5s var(--rd-ease);
}
.rd-chapter__btn { text-align: left; letter-spacing: inherit; line-height: inherit; }
.rd-chapter__btn::after { content: ""; position: absolute; inset: 0; border-radius: .875rem; }
.rd-chapter__btn:focus-visible { outline: none; }
.rd-chapter__btn:focus-visible::after { outline: 2px solid var(--rd-blue); outline-offset: 2px; }
.rd-chapter__text {
  max-width: 44ch;
  margin-top: .5rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: #6b7073;
  text-wrap: pretty;
  transition: color .5s var(--rd-ease);
}
.rd-chapter:hover .rd-chapter__title,
.rd-chapter.is-active .rd-chapter__title { color: var(--rd-ink); }
.rd-chapter.is-active .rd-chapter__kicker { color: var(--rd-green-600); }
.rd-chapter.is-active .rd-chapter__text { color: var(--rd-text); }
/* Each verb underlines as the stage acts it out */
.rd-beat {
  background: linear-gradient(var(--rd-green), var(--rd-green)) 0 100% / 0% 1.5px no-repeat;
  transition: background-size .6s var(--rd-ease), color .4s;
}
.rd-chapter.is-active .rd-beat.is-on { color: var(--rd-ink); background-size: 100% 1.5px; }

/* ---------- Stage ---------- */
.rd-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 1.5rem;
  background: radial-gradient(85% 70% at 50% 40%, #0c3a61 0%, #032b4b 52%, #01203a 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(1, 32, 58, .06), 0 44px 80px -40px rgba(1, 32, 58, .6);
  overflow: clip;
  isolation: isolate;
}
.rd-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 42%, #000 20%, transparent 85%);
  mask-image: radial-gradient(75% 65% at 50% 42%, #000 20%, transparent 85%);
  pointer-events: none;
}
.rd-stage__view { position: relative; display: flex; flex: 1; flex-direction: column; }
.rd-stage__map {
  display: grid;
  flex: 1;
  place-items: center;
  padding: clamp(1rem, 2.4vw, 2rem) clamp(.75rem, 2.4vw, 2rem) .75rem;
}
.rd-world { position: relative; width: 100%; aspect-ratio: 720 / 440; }
.rd-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.rd-sweep {
  position: absolute;
  left: 50%;
  top: 44.545%;
  width: 100%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  /* a crisp leading edge over a long, soft afterglow; clear of the core */
  background:
    conic-gradient(from 0deg, transparent 0deg 358.6deg, rgba(178, 246, 208, .85) 359.7deg, transparent 360deg),
    conic-gradient(from 0deg, rgba(93, 181, 137, 0) 0deg 200deg, rgba(93, 181, 137, .06) 290deg, rgba(110, 205, 158, .28) 359.7deg, rgba(93, 181, 137, 0) 360deg);
  -webkit-mask-image: radial-gradient(closest-side, transparent 11%, #000 22%, #000 58%, transparent 100%);
  mask-image: radial-gradient(closest-side, transparent 11%, #000 22%, #000 58%, transparent 100%);
  pointer-events: none;
  will-change: transform, opacity;
}
/* Without the timeline (no JS or no GSAP) the stage is a calm, complete map */
.rd-story:not(.is-live) :is(.rd-sweep, .rd-m-attack, .rd-m-response, .rd-m-badges, .rd-m-halo__red, .rd-m-halo__ok, .rd-m-halo__ring, .rd-m-core__ok, .rd-m-pulse) { display: none; }

/* Map */
.rd-m-ring { fill: none; stroke: rgba(93, 181, 137, .32); stroke-width: 1; }
.rd-m-ring--dash { stroke: rgba(255, 255, 255, .14); stroke-dasharray: 2 6; }
.rd-m-ring--faint { stroke: rgba(255, 255, 255, .07); }
.rd-m-halo__base { fill: rgba(122, 201, 237, .035); stroke: rgba(122, 201, 237, .14); stroke-width: 1; }
.rd-m-halo__red { fill: rgba(240, 82, 79, .1); stroke: rgba(240, 82, 79, .5); stroke-width: 1; }
.rd-m-halo__ok { fill: rgba(53, 163, 107, .17); }
.rd-m-halo__ring { fill: none; stroke: var(--rd-green-400); stroke-width: 1.5; }
.rd-m-spoke { fill: none; stroke: rgba(122, 201, 237, .24); stroke-width: 1.25; }
.rd-m-flow {
  fill: none;
  stroke: #7fd3a8;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 0 14;
  animation: rd-flow 1.2s linear infinite;
}
@keyframes rd-flow { to { stroke-dashoffset: -28; } }
.rd-m-link { stroke: rgba(255, 255, 255, .2); stroke-width: 1; }
.rd-m-node { fill: #dff1fa; }
.rd-m-node--gw { fill: #0d3a60; stroke: var(--rd-sky); stroke-width: 2; }
.rd-m-label {
  font-family: var(--rd-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  fill: rgba(255, 255, 255, .55);
  text-anchor: middle;
}
.rd-m-seg { fill: none; stroke: #f0524f; stroke-width: 2.25; stroke-linecap: round; }
.rd-m-seg--glow { stroke-width: 8; stroke-opacity: .22; }
.rd-m-ripple { fill: none; stroke: #f0524f; stroke-width: 1.5; }
.rd-m-hot { fill: #f0524f; }
.rd-m-hop { fill: rgba(240, 82, 79, .14); stroke: #f0524f; stroke-width: 1.5; }
.rd-m-head__glow { fill: rgba(240, 82, 79, .35); }
.rd-m-head__dot { fill: #fff; }
.rd-m-pulse { fill: none; stroke: var(--rd-sky); stroke-width: 2; }
.rd-m-pulse--ok { stroke: var(--rd-green-400); }
.rd-m-beam { fill: none; stroke: var(--rd-sky); stroke-width: 2.5; stroke-linecap: round; }
.rd-m-beam--glow { stroke-width: 9; stroke-opacity: .25; }
.rd-m-contain { fill: none; stroke: var(--rd-sky); stroke-width: 1.5; stroke-dasharray: 3 3.3; }
.rd-m-contain--solid { fill: rgba(122, 201, 237, .12); stroke-dasharray: none; }
.rd-m-shield circle { fill: var(--rd-sky); }
.rd-m-shield path { fill: var(--rd-navy-deep); }
.rd-m-block__disc { fill: var(--rd-navy-deep); stroke: var(--rd-sky); stroke-width: 2; }
.rd-m-block__ping { fill: none; stroke: var(--rd-sky); stroke-width: 1.5; }
.rd-m-block path { stroke: var(--rd-sky); stroke-width: 2.5; stroke-linecap: round; }
.rd-m-xb__ping { fill: none; stroke: #ea8a43; stroke-width: 1.5; }
.rd-m-xb__bg { fill: #ea8a43; stroke: #022844; stroke-width: 2; }
.rd-m-xb__warn path { stroke: var(--rd-navy-deep); stroke-width: 2; stroke-linecap: round; }
.rd-m-xb__dot { fill: var(--rd-navy-deep); }
.rd-m-xb__ok circle,
.rd-m-vb circle { fill: var(--rd-green); stroke: #022844; stroke-width: 2; }
.rd-m-xb__ok path,
.rd-m-vb path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rd-m-core__ok { fill: none; stroke: var(--rd-green-400); stroke-width: 2; }
.rd-m-core__label {
  font-family: var(--rd-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  fill: #fff;
  text-anchor: middle;
}
.rd-m-track { fill: none; stroke: var(--rd-sky); stroke-width: 1.25; stroke-linecap: round; stroke-dasharray: 2 5; }
.rd-m-xb__halo { fill: none; stroke: #ea8a43; stroke-width: 1.25; }
.rd-m-head__ring { fill: none; stroke: #ff6b63; stroke-width: 1.25; }

/* Ambient life: slow and low-contrast. Never on a property GSAP drives; paused with the story. */
.rd-m-ring--dash { animation: rd-orbit 9s linear infinite; }
.rd-m-core__glow { animation: rd-breathe 4.5s ease-in-out infinite; }
.rd-m-contain { animation: rd-contain 2.4s linear infinite; }
.rd-m-track { animation: rd-track .8s linear infinite; }
.rd-m-xb__halo,
.rd-m-head__ring {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: rd-ripple 1.8s ease-out infinite;
}
.rd-m-head__ring { animation-duration: 1.1s; }
@keyframes rd-orbit { to { stroke-dashoffset: -64; } }
@keyframes rd-breathe { 50% { opacity: .55; } }
@keyframes rd-contain { to { stroke-dashoffset: -25.2; } }
@keyframes rd-track { to { stroke-dashoffset: -14; } }
@keyframes rd-ripple {
  from { opacity: .8; transform: scale(.6); }
  to { opacity: 0; transform: scale(2.1); }
}

/* Effects the timeline creates: discovery blips, pings and packets */
.rd-m-fx { fill: none; stroke-width: 1.5; }
.rd-m-fx--blip { stroke: #7fd3a8; stroke-width: 1.25; }
.rd-m-fx--ok { stroke: var(--rd-green-400); }
.rd-m-fx--alert { stroke: #f0524f; }
.rd-m-fx--sky { stroke: var(--rd-sky); }
.rd-m-packet--sky { color: var(--rd-sky); }
.rd-m-packet--ok { color: #7fd3a8; }
.rd-m-packet--alert { color: #ff6b63; }
.rd-m-packet__glow { fill: currentColor; opacity: .38; }
.rd-m-packet__dot { fill: #fff; }

/* Console: what the AI is doing right now, one cell per verb */
.rd-console {
  position: relative;
  display: grid;
  margin: 0 clamp(.5rem, 1.2vw, .875rem) clamp(.5rem, 1.2vw, .875rem);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  overflow: clip;
}
.rd-console__page { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rd-console__page[data-act="1"] { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr) minmax(0, 1fr); }
.rd-story:not(.is-live) .rd-console__page { visibility: hidden; }
.rd-story:not(.is-live)[data-act="0"] .rd-console__page[data-act="0"],
.rd-story:not(.is-live)[data-act="1"] .rd-console__page[data-act="1"],
.rd-story:not(.is-live)[data-act="2"] .rd-console__page[data-act="2"] { visibility: visible; }
.rd-cell {
  --tone: var(--rd-green-400);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-width: 0;
  padding: .875rem 1.125rem;
  transition: opacity .5s var(--rd-ease);
}
.rd-cell + .rd-cell { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .08); }
.rd-cell[data-tone="warn"] { --tone: #ea8a43; }
.rd-cell[data-tone="alert"] { --tone: #f0524f; }
.rd-cell[data-tone="sky"] { --tone: var(--rd-sky); }
.rd-cell[data-state="0"] { opacity: .38; }
.rd-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 110% at 0% 0%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 68%);
  opacity: 0;
  transition: opacity .6s var(--rd-ease);
}
.rd-cell + .rd-cell::before { left: 1px; }
.rd-cell[data-state="1"]::before { opacity: 1; }
.rd-cell__label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--rd-display);
  font-size: .6875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.rd-cell__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: .875rem;
  height: .875rem;
  border-radius: 50%;
  background: var(--rd-green);
  color: #fff;
  transition: background-color .35s, box-shadow .35s;
}
.rd-cell__icon svg { width: .75rem; height: .75rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity .3s; }
.rd-cell[data-state="0"] .rd-cell__icon { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
.rd-cell[data-state="1"] .rd-cell__icon { background: var(--tone); animation: rd-live 1.5s ease-out infinite; }
.rd-cell[data-state="0"] .rd-cell__icon svg,
.rd-cell[data-state="1"] .rd-cell__icon svg { opacity: 0; }
@keyframes rd-live {
  from { box-shadow: 0 0 0 0 var(--tone); }
  to { box-shadow: 0 0 0 .5rem transparent; }
}
.rd-cell__value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .5rem;
  min-height: 1.75rem;
  font-family: var(--rd-display);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, .75);
}
.rd-num {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.rd-num[data-k="assets"] { min-width: 2ch; }
.rd-num--alert { min-width: 3ch; color: #ff7a72; }
.rd-stopped { color: var(--rd-sky); }
.rd-chips { gap: .375rem; }
.rd-chip { display: inline-flex; align-items: center; gap: .375rem; font-size: .8125rem; color: #fff; }
.rd-chip i {
  padding: .25rem .5rem;
  border-radius: .375rem;
  background: rgba(240, 82, 79, .14);
  box-shadow: inset 0 0 0 1px rgba(240, 82, 79, .42);
  font-style: normal;
  white-space: nowrap;
}
.rd-chip + .rd-chip::before { content: "\203A"; color: rgba(255, 255, 255, .45); }
.rd-spark { flex: none; width: 3.5rem; height: 1.25rem; margin: -.375rem 0 -.375rem auto; }
.rd-spark__area { fill: rgba(93, 181, 137, .18); }
.rd-spark__line { fill: none; stroke: var(--rd-green-400); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.rd-spark__dot { fill: #fff; stroke: var(--rd-green-400); stroke-width: 1.5; }
.rd-checks { display: inline-flex; gap: .25rem; }
.rd-ck { position: relative; display: block; width: 1rem; height: 1rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.rd-ck span { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: var(--rd-green); color: #fff; }
.rd-ck svg { width: .625rem; height: .625rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rd-deliver { display: inline-flex; align-items: center; gap: .5rem; color: #fff; white-space: nowrap; }
.rd-doc { flex: none; width: .875rem; height: 1rem; fill: none; stroke: var(--rd-green-400); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.rd-pill {
  margin: -.25rem 0 -.25rem auto;
  padding: .1875rem .5rem;
  border-radius: 100vh;
  background: rgba(53, 163, 107, .2);
  box-shadow: inset 0 0 0 1px rgba(93, 181, 137, .5);
  font-size: .625rem;
  letter-spacing: .12em;
  color: #8fe0b5;
}

/* Pause / play (WCAG 2.2.2): only when the story autoplays */
.rd-stage__toggle {
  position: absolute;
  z-index: 3;
  top: .875rem;
  right: .875rem;
  display: none;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .82);
  transition: background-color .3s, color .3s;
}
.rd-story.is-live:not(.is-static) .rd-stage__toggle { display: grid; }
.rd-stage__toggle:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.rd-stage__toggle svg { width: 1rem; height: 1rem; }
.rd-stage__toggle .rd-stage__progress { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; pointer-events: none; }
.rd-stage__progress circle { fill: none; stroke: rgba(255, 255, 255, .72); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 106.81; stroke-dashoffset: 106.81; }
.rd-i-play,
.rd-story.is-user-paused .rd-i-pause { display: none; }
.rd-story.is-user-paused .rd-i-play { display: block; }
.rd-story.is-paused .rd-stage * { animation-play-state: paused; }

/* ==========================================================================
   5. Outcomes
   ========================================================================== */
.rd-outcomes { background: #fff; color: var(--rd-ink); padding-top: calc(var(--rd-pad) * .35); }
.rd-outcomes__title { max-width: 22ch; }
.rd-outcomes__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 4.5vw, 4rem);
}
.rd-outcome {
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  background: var(--rd-soft);
  overflow: clip;
  transition: translate .45s var(--rd-ease), box-shadow .45s var(--rd-ease);
}
.rd-outcome:hover { translate: 0 -4px; box-shadow: 0 24px 48px -24px rgba(10, 35, 60, .28); }
.rd-outcome__media { position: relative; aspect-ratio: 16 / 10; background: #dfe5e3; overflow: clip; }
.rd-outcome__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--rd-ease); }
.rd-outcome:hover .rd-outcome__media img { scale: 1.04; }
.rd-outcome__body { display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem 1.5rem 1.75rem; }
/* Cards side by side share their rows, so every title and every line of copy
   starts at the same height, however the titles wrap */
@supports (grid-template-rows: subgrid) {
  .rd-outcome { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .rd-outcome__body { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: .75rem; align-content: start; }
}
.rd-outcome__check { width: 1.75rem; height: 1.75rem; color: var(--rd-green-600); }
.rd-outcome__check svg { width: 100%; height: 100%; }
.rd-outcome__title {
  font-family: var(--rd-display);
  font-size: clamp(1.125rem, 1rem + .3vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.015em;
  text-wrap: balance;
  color: var(--rd-ink);
}
.rd-outcome__text { font-size: 1rem; line-height: 1.5; color: var(--rd-text-2); }

/* ==========================================================================
   6. Why Vectra AI
   ========================================================================== */
.rd-why { background: var(--rd-navy); color: #fff; overflow: clip; }
.rd-why__rings {
  position: absolute;
  right: -18rem;
  top: -14rem;
  width: 56rem;
  height: 56rem;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, .06) 0 1px, transparent 1px 3.25rem);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 68%);
  mask-image: radial-gradient(circle, #000 18%, transparent 68%);
  pointer-events: none;
}
.rd-why__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem 3rem; }
.rd-why__heading { display: flex; flex-direction: column; gap: 1.25rem; }
.rd-why .rd-h2 { max-width: 20ch; }
.rd-stats { margin-top: clamp(3rem, 6vw, 5.5rem); border-top: 1px solid rgba(255, 255, 255, .14); }
.rd-stats__row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 2rem clamp(2rem, 4vw, 4rem);
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.rd-stats__label {
  max-width: 17ch;
  font-family: var(--rd-display);
  font-size: clamp(1.25rem, 1rem + .6vw, 1.625rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: #fff;
}
.rd-stats__row--payoff .rd-stats__label { color: var(--rd-green-400); }
.rd-stats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.rd-stat__num {
  display: flex;
  align-items: baseline;
  font-family: var(--rd-display);
  font-size: clamp(2.75rem, 1.5rem + 3.2vw, 5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.rd-stats__row--payoff .rd-stat__num { color: var(--rd-green-400); }
.rd-stat__label { max-width: 18ch; margin-top: .875rem; font-size: 1.0625rem; line-height: 1.4; color: rgba(255, 255, 255, .66); }

/* ==========================================================================
   7. Proof: customers, then analysts
   ========================================================================== */
.rd-proof { background: var(--rd-soft); color: var(--rd-ink); }
.rd-proof__title { max-width: 26ch; }
.rd-quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 4.5vw, 4rem);
}
.rd-quote {
  display: flex;
  flex-direction: column;
  padding: .625rem .625rem 1.5rem;
  border-radius: 1.375rem;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(10, 35, 60, .06), 1px 12px 34px rgba(0, 0, 0, .04);
  transition: translate .45s var(--rd-ease), box-shadow .45s var(--rd-ease);
}
.rd-quote:hover { translate: 0 -4px; box-shadow: 0 0 0 1px rgba(10, 35, 60, .06), 1px 18px 40px rgba(0, 0, 0, .1); }
.rd-quote__media { position: relative; aspect-ratio: 16 / 10; border-radius: .75rem; background: #0b2236; overflow: clip; } /* concentric with the card: 1.375rem - .625rem */
.rd-quote__img,
.rd-quote__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rd-quote__img { transition: scale .9s var(--rd-ease); }
.rd-quote:hover .rd-quote__img { scale: 1.04; }
.rd-quote__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 40, 0) 45%, rgba(0, 20, 40, .62) 100%);
  pointer-events: none;
}
.rd-quote__logo { position: absolute; z-index: 2; left: 1.25rem; bottom: 1.125rem; width: auto; height: 1.625rem; }
.rd-quote__logo--boxed { height: 2rem; }
.rd-quote__logo--invert { filter: brightness(0) invert(1); }
.rd-quote__media--video .rd-quote__logo,
.rd-quote__media--video::after { transition: opacity .7s var(--rd-ease); }
.rd-quote__media--video.is-playing .rd-quote__logo,
.rd-quote__media--video.is-playing::after { opacity: 0; }
.rd-quote__text {
  flex: 1;
  padding: 1.75rem 1rem 0;
  font-size: clamp(1.0625rem, 1rem + .2vw, 1.1875rem);
  line-height: 1.55;
  color: var(--rd-text);
}
.rd-quote__text::before {
  content: "\201C";
  display: block;
  height: 1.75rem;
  font-family: var(--rd-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--rd-green);
}
.rd-quote__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1.5rem 1rem 0; }
.rd-quote__name { font-family: var(--rd-display); font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--rd-ink); }
.rd-quote__role { margin-top: .25rem; font-size: .9375rem; line-height: 1.4; color: var(--rd-text-2); }
.rd-quote__foot .rd-link { flex: none; }
/* Side by side, the cards share their rows: quotes start together, names sit on
   one line and every "Read more" closes the card at the same height */
@supports (grid-template-rows: subgrid) {
  .rd-quote { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .rd-quote__foot { align-items: flex-start; }
  .rd-quote__foot .rd-link { align-self: flex-end; }
}
.rd-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: -2rem 0 0 -2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--rd-green-600);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  transition: transform .35s var(--rd-ease), background-color .3s;
}
.rd-play svg { width: 1.5rem; height: 1.5rem; }
.rd-play:hover { transform: scale(1.08); background: #fff; }

.rd-recog { margin-top: clamp(4.5rem, 8vw, 8rem); }
.rd-recog__title {
  max-width: 24ch;
  font-family: var(--rd-display);
  font-size: clamp(1.625rem, 1.1rem + 1.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-wrap: balance;
  color: var(--rd-ink);
}
.rd-recog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(10.5rem, auto);
  gap: 1rem;
  margin-top: clamp(2rem, 3.5vw, 3rem);
}
.rd-award {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 1.125rem;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(10, 35, 60, .07);
}
.rd-award__logo { width: auto; height: 3.5rem; max-width: 8.5rem; object-fit: contain; object-position: left center; }
.rd-award__name { font-family: var(--rd-display); font-size: .9375rem; font-weight: 600; line-height: 1.35; color: var(--rd-text); }
.rd-award--featured {
  position: relative;
  grid-column: span 2;
  grid-row: span 2;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: inset 0 0 0 2px var(--rd-blue);
  transition: background-color .35s var(--rd-ease);
}
.rd-award--featured .rd-award__logo { height: 2.75rem; max-width: 10rem; }
.rd-award__title {
  max-width: 18ch;
  text-wrap: balance;
  font-family: var(--rd-display);
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2.125rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--rd-ink);
}
.rd-award__desc { max-width: 34ch; margin-top: .875rem; font-size: 1.0625rem; line-height: 1.5; color: var(--rd-text-2); }
.rd-award__caret { --rd-caret: 2rem; position: absolute; right: clamp(1.75rem, 3vw, 2.5rem); bottom: clamp(1.75rem, 3vw, 2.5rem); margin: 0; color: var(--rd-blue); }
.rd-award--featured:hover { background: #f3f7fd; }
.rd-award--featured:hover .rd-award__caret { background: var(--rd-blue); transform: translateX(2px); }
.rd-award--featured:hover .rd-award__caret svg { color: #fff; }

/* ==========================================================================
   8. Resolution
   ========================================================================== */
.rd-final { background: var(--rd-navy); color: #fff; text-align: center; overflow: clip; padding-bottom: 0; }
.rd-final::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: clamp(5rem, 9vw, 8rem);
  background: linear-gradient(180deg, rgba(19, 21, 22, 0), rgba(19, 21, 22, .55) 55%, #131516);
  pointer-events: none;
}
.rd-final__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(48% 62% at 50% 118%, rgba(29, 137, 94, .58), rgba(16, 94, 85, .2) 45%, transparent 76%);
  pointer-events: none;
}
.rd-final__questions { position: absolute; inset: 0; font-family: var(--rd-display); font-weight: 600; pointer-events: none; }
.rd-fq {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
  font-size: var(--fs);
  white-space: nowrap;
  color: #fff;
  opacity: .08;
}
.rd-fq--1 { --x: 15%; --y: 20%; --fs: 1.5rem; }
.rd-fq--2 { --x: 84%; --y: 16%; --fs: 1.125rem; }
.rd-fq--3 { --x: 10%; --y: 62%; --fs: 1.125rem; }
.rd-fq--4 { --x: 88%; --y: 58%; --fs: 1.375rem; }
.rd-fq--5 { --x: 50%; --y: 8%; --fs: 1rem; }
.rd-final__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding-bottom: clamp(5rem, 8vw, 8rem);
}
.rd-final__title { max-width: 15ch; font-size: clamp(2.5rem, 1.25rem + 3.9vw, 5.25rem); line-height: 1.04; letter-spacing: -.035em; }
.rd-final__beat { display: inline-block; }
.rd-final__lead { max-width: 40ch; color: rgba(255, 255, 255, .75); }
.rd-final .rd-cta-row { margin-top: .5rem; }
.rd-fineprint {
  position: relative;
  z-index: 1;
  padding-block: 1.75rem 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8125rem;
  line-height: 1.6;
  text-align: left;
  color: rgba(255, 255, 255, .52);
}
.rd-fineprint a { color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Video dialog ---------- */
html:has(.rd-dialog[open]) { overflow: hidden; scrollbar-gutter: stable; }
.rd-dialog {
  width: min(92vw, 70rem);
  max-width: none;
  max-height: 90vh;
  padding: 0;
  border: 0;
  border-radius: 1.25rem;
  background: #000;
  color: #fff;
  overflow: visible;
}
.rd-dialog::backdrop { background: rgba(0, 18, 34, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rd-dialog video {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: 85vh;
  border-radius: 1.25rem;
  background: #000;
  object-fit: contain !important;
}
.rd-dialog__close {
  position: absolute;
  top: -3.25rem;
  right: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
}
.rd-dialog__close svg { width: 1.25rem; height: 1.25rem; }

/* ---------- Motion start states (only when JS + GSAP will run) ---------- */
.rd-motion .rd-line__inner { transform: translateY(105%); }
.rd-motion .rd-word__in { transform: translateY(110%); }
.rd-motion .rd-hero [data-rd-hero],
.rd-motion .rd-approach .rd-lead,
.rd-motion .rd-questions,
.rd-motion [data-rd-reveal],
.rd-motion .rd-final__beat { opacity: 0; }
.rd-motion [data-rd-split] { visibility: hidden; }

/* ==========================================================================
   Responsive (site breakpoints: 991 / 767 / 479)
   ========================================================================== */
@media (max-width: 1199px) {
  .rd-story { column-gap: 2.5rem; }
  .rd-hero__inner { grid-template-columns: 1fr; }
  .rd-questions { display: none; }
  .rd-outcomes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-recog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rd-award--featured { grid-row: span 2; }
}

@media (max-width: 991px) {
  .rd { --rd-radius-sheet: 1.75rem; }
  .rd-container { width: 100%; padding-inline: 1.5rem; }
  .rd-hero { min-height: auto; }
  .rd-hero__inner { grid-template-columns: 1fr; padding-block: 4rem 3.5rem; }
  .rd-questions { display: none; }

  .rd-shifts { grid-template-columns: 1fr; border-top: 0; }
  .rd-shift,
  .rd-shift + .rd-shift { padding: 2rem 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }

  .rd-approach__head { align-items: flex-start; text-align: left; }
  .rd-steps { column-gap: 1.5rem; }
  .rd-step__text { font-size: 1.0625rem; }

  .rd-head--center { align-items: flex-start; text-align: left; }

  .rd-story { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "stage" "list" "cta"; }
  .rd-chapters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .rd-chapter { padding: 1.25rem 0 0; }
  .rd-chapter__rail { top: 0; right: 0; bottom: auto; width: auto; height: 2px; }
  .rd-chapter__fill { transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
  .rd-story__cta { align-self: auto; }

  .rd-stats__row { grid-template-columns: 1fr; }
  .rd-quotes { grid-template-columns: 1fr; max-width: 40rem; }
  .rd-recog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-award--featured { grid-column: span 2; grid-row: auto; }
  .rd-final { text-align: left; }
  .rd-final__inner { align-items: flex-start; }
  .rd-cta-row--center { justify-content: flex-start; }
  .rd-final__questions { display: none; }
}

@media (max-width: 767px) {
  .rd-award__caret { top: clamp(1.75rem, 3vw, 2.5rem); bottom: auto; }
  .rd-flow { display: grid; grid-template-columns: 7rem minmax(0, 1fr); column-gap: 1.25rem; margin-top: 2.25rem; }
  .rd-flow__viz { grid-area: 1 / 1; width: auto; height: auto; margin: 0; }
  .rd-flow__svg {
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 5%, #000 90%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 5%, #000 90%, transparent);
  }
  .rd-flow__labels { display: none; }
  .rd-steps { grid-area: 1 / 2; grid-template-columns: minmax(0, 1fr); margin-top: 0; }
  .rd-step { min-height: 7.5rem; padding-bottom: 1.25rem; }
  .rd-step__num { margin-top: .875rem; }
  .rd-step__text { max-width: none; margin-top: .375rem; }
  .rd-flow__toggle { top: auto; right: auto; bottom: 0; left: calc(3.5rem - 1rem); width: 2rem; height: 2rem; }
  .rd-chapters { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rd-chapter { padding: 1rem 0 1rem 1.5rem; }
  .rd-chapter__rail { top: 1rem; bottom: 1rem; right: auto; width: 2px; height: auto; }
  .rd-chapter__fill { transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .rd-stage { border-radius: 1.125rem; }
  .rd-stage__map { padding: 1.75rem .5rem .25rem; }
  .rd-stage__toggle { top: .5rem; right: .5rem; width: 2rem; height: 2rem; }
  .rd-console__page,
  .rd-console__page[data-act="1"] { grid-template-columns: minmax(0, 1fr); }
  .rd-cell { flex-direction: row; align-items: center; justify-content: space-between; gap: .75rem; padding: .625rem .875rem; }
  .rd-cell + .rd-cell { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
  .rd-cell__label { flex: none; }
  .rd-cell__value { justify-content: flex-end; min-height: 0; font-size: .875rem; text-align: right; }
  .rd-doc { display: none; }
  .rd-num { font-size: 1.25rem; }
  .rd-pill { margin-left: .25rem; }
  .rd-m-label { font-size: 21px; letter-spacing: .1em; }
  .rd-m-core__label { font-size: 24px; }
  .rd-m-packet__in,
  .rd-m-head__in { transform: scale(1.6); }
  .rd-m-link { stroke-width: 1.6; }
  .rd-m-spoke { stroke-width: 2; }
  .rd-m-seg { stroke-width: 3.5; }
  .rd-m-seg--glow { stroke-width: 11; }
  .rd-m-beam { stroke-width: 3.5; }
  .rd-m-beam--glow { stroke-width: 12; }
  .rd-m-track { stroke-width: 2.25; }
  .rd-m-halo__ring,
  .rd-m-fx { stroke-width: 2.25; }
  .rd-cell + .rd-cell::before { left: 0; top: 1px; }
  .rd-outcomes__grid { grid-template-columns: 1fr; }
  .rd-head--split,
  .rd-why__head { flex-direction: column; align-items: flex-start; }
  .rd-stats__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .rd-stat { display: grid; grid-template-columns: 8.75rem minmax(0, 1fr); align-items: baseline; gap: 1rem; }
  .rd-stat__num { font-size: 2.5rem; }
  .rd-stat__label { margin-top: 0; }
  .rd-quote__foot { flex-direction: column; align-items: flex-start; }
  .rd-quote__foot .rd-link { align-self: flex-start; }
}

@media (max-width: 479px) {
  .rd-btn { font-size: 1rem; }
  .rd-flow { grid-template-columns: 6.25rem minmax(0, 1fr); column-gap: 1rem; }
  .rd-flow__toggle { left: calc(3.125rem - 1rem); }
  .rd-cell { gap: .5rem; padding-inline: .75rem; }
  .rd-cell__label { gap: .4rem; letter-spacing: .1em; }
  .rd-recog__grid { grid-auto-rows: auto; }
  .rd-award { padding: 1.25rem; }
  .rd-award__logo { height: 2.75rem; max-width: 7rem; }
  .rd-award__name { font-size: .875rem; }
}

/* ==========================================================================
   WebGL edition (gl.js): the canvases, and what each one takes over
   html.rd-gl-ok   WebGL2 exists (set in <head>, so space is held from the first paint;
                   removed again if three.js never arrives)
   .is-gl          on a section or block: its scene has drawn, so its CSS/SVG stand-ins hide
   ========================================================================== */
.rd-gl {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s var(--rd-ease);
}
.rd-gl.is-on { opacity: 1; }

/* Hero: the particle field takes the right column; the question in focus becomes its caption */
.rd-qhud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  font-family: var(--rd-display);
  pointer-events: none;
}
.rd-gl-ok .rd-hero :is(.rd-q, .rd-questions__rings, .rd-ripple) { display: none; }
.rd-gl-ok .rd-hero .rd-qhud { display: block; }
.rd-qhud__k {
  display: flex;
  gap: .25rem;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .16em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .42);
}
.rd-qhud__i { color: var(--rd-green-400); }
.rd-qhud__t {
  max-width: 17ch;
  margin-top: .875rem;
  font-size: clamp(1.5rem, 1rem + 1.1vw, 2.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 0 1.75rem rgba(0, 25, 46, .9);
}
.rd-qw { display: inline-block; clip-path: inset(-.1em -.1em -.22em); }
.rd-qw__in { display: inline-block; }
.rd-qhud__bars { display: flex; gap: .375rem; width: min(100%, 15rem); margin-top: 1.25rem; }
.rd-qhud__bars i { position: relative; flex: 1; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .16); }
.rd-qhud__bars i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--rd-green-400);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

/* Resolution: the particles take over from the CSS questions and glow */
.rd-final.is-gl .rd-final__questions { visibility: hidden; }
.rd-final.is-gl .rd-final__glow { opacity: .5; transition: opacity 1.5s; }

/* Approach: WebGL draws the activity, the baselines and the scan; the SVG keeps the crisp parts */
.rd-flow__viz > .rd-gl {
  top: -5rem;
  height: calc(100% + 10rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.rd-flow.is-gl :is(.rd-fp, .rd-fe, .rd-fscan, .rd-fm__glow) { display: none; }
.rd-approach__head,
.rd-steps { position: relative; z-index: 1; }
.rd-flow.is-gl .rd-ft { stroke: rgba(255, 255, 255, .07); }

/* Platform: the radar floor, core, streams and trails are drawn under the SVG map */
.rd-stage > .rd-gl { z-index: 0; }
.rd-stage__view { z-index: 1; }
.rd-stage.is-gl::before { opacity: 0; }
.rd-stage.is-gl :is(.rd-sweep, .rd-m-flow, .rd-m-core__glow, .rd-m-seg--glow, .rd-m-beam--glow, .rd-m-packet__glow) { visibility: hidden; }

@media (max-width: 1199px) {
  .rd-gl-ok .rd-hero .rd-questions { display: block; min-height: 0; height: clamp(22rem, 64vw, 30rem); }
}
@media (max-width: 767px) {
  .rd-flow__viz > .rd-gl {
    top: -3rem;
    left: -1rem;
    width: calc(100% + 2rem);
    height: calc(100% + 6rem);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 5%, #000 90%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 5%, #000 90%, transparent);
  }
  .rd-qhud__t { font-size: 1.375rem; }
}

@media (prefers-reduced-motion: reduce) {
  .rd *,
  .rd *::before,
  .rd *::after { transition-duration: .01ms !important; animation: none !important; }
}
