/* ==========================================================================
   Vectra AI homepage mock, "Outcomes first" edition (2026-12-04)
   A variation of redesigns/home-combined on the new homepage wireframe copy
   (Vectra_AI_New_Homepage_Wireframe.docx).
   Scope: everything lives under main.rd; every class is prefixed rd-.
   Loaded after the Webflow CSS and tokens.css (Vectra AI design system v2.1),
   so the scoped reset below wins over the site's global tag rules (white
   p/h1/h2, flex ul, 1.375rem li, 20px lh).
   Two layers of values:
   - Kept from the combined edition (hero, stream, quotes, closing CTA): its
     own --rd-* values, unchanged, so those sections look exactly as approved.
   - New in this edition (value cards, proof stats, recognition): bound to the
     design system's tokens. Dark parts are .theme-dark islands.
   ========================================================================== */

/* ---------- 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;
  /* off-system: proposed Website/alert (dark mode), the bright red the stream
     already draws attacks in; the system's dark destructive (red/200) is a pale pink */
  --rd-alert: #f0524f;
  --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); }
/* Read by screen readers, not shown */
.rd-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 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-flow__toggle:focus-visible {
  outline: 2px solid var(--rd-sky);
  outline-offset: 3px;
}
/* On the light sheet the sky ring would be too faint: use the blue */
.rd-proof :is(.rd-btn, .rd-link):focus-visible { outline-color: var(--rd-blue); }

.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; }

/* ==========================================================================
   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, 8fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(3rem, 7vh, 6rem);
}
/* "Unleash AI progress." is the longest line: sized so it stays one line beside the questions */
.rd-hero .rd-h1 { font-size: clamp(2.35rem, 1rem + 3.9vw, 5.25rem); }
/* New: the eyebrow above the headline (design system: stack/eyebrow) */
.rd-hero__eyebrow { margin-bottom: var(--_layout---stack--heading); }
.rd-hero__lead { margin-top: clamp(1.5rem, 2.5vw, 2.25rem); max-width: 48ch; color: rgba(255, 255, 255, .78); }

/* The questions, without WebGL: three phrases around a faint ring */
.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: 48%; --fs: clamp(1.625rem, 1rem + 1.2vw, 2.25rem); --w: 14ch; }
.rd-q--2 { --x: 30%; --y: 14%; --fs: 1.25rem; --w: 17ch; }
.rd-q--3 { --x: 70%; --y: 84%; --fs: 1.25rem; --w: 15ch; }
.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: customers only, small,
   grayscale and slow (home.js sets --rd-marquee-dur for a steady ~22px/s) */
.rd-logos {
  position: relative;
  z-index: 1;
  padding-block: 1.375rem;
  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.5rem clamp(2.5rem, 4vw, 4rem);
  padding-inline: 5%;
}
.rd-logos.is-marquee .rd-logos__track {
  justify-content: flex-start;
  width: max-content;
  animation: rd-marquee var(--rd-marquee-dur, 110s) linear infinite;
}
.rd-logos.is-marquee .rd-logos__list { flex-wrap: nowrap; padding-inline: 0 clamp(2.5rem, 4vw, 4rem); }
.rd-logos:hover .rd-logos__track { animation-play-state: paused; }
/* Each logo carries its own height (--h) so they read at the same optical size:
   square and stacked marks run taller, long wordmarks shorter. */
.rd-logos__list img {
  width: auto;
  height: var(--h, 1.4rem);
  max-width: 9rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .5;
  transition: opacity .3s;
}
.rd-logos__list img:hover { opacity: .9; }
@keyframes rd-marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   2. Value outcomes: readiness you can build, resilience you can prove
   New in this edition, on the design system. The section is a .theme-dark
   island, so card, border, brand, primary and muted-foreground resolve to
   their dark values; its navy and the hero's glow carried across the seam
   are the combined edition's (as its tension section had them).
   ========================================================================== */
.rd-ciso {
  background: var(--rd-navy-deep);
  color: var(--foreground);
  padding-bottom: calc(var(--rd-pad) * .45);
}
/* The hero's glow (same ellipse, same stops) carries across the seam and dissolves */
.rd-ciso::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-ciso__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: var(--_layout---stack--heading) var(--_layout---grid--gap-lg);
}
.rd-ciso__line { display: block; }
.rd-ciso__lead { max-width: 40ch; color: var(--muted-foreground); }

.rd-ciso__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--_layout---grid--gap);
  margin-top: var(--_layout---stack--section-head);
}
.rd-ciso-card {
  display: flex;
  flex-direction: column;
  padding: var(--_layout---card--padding-lg);
  border: var(--_effects---border--thin) solid var(--border);
  border-radius: var(--_effects---radius--3xl);
  background: var(--card);
}
/* Side by side, the two cards share their rows: titles, texts and links line up */
@supports (grid-template-rows: subgrid) {
  .rd-ciso-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
}
.rd-ciso-card__viz {
  position: relative;
  isolation: isolate;
  aspect-ratio: 480 / 200;
  margin-bottom: var(--_layout---space--8);
  border-radius: var(--_effects---radius--xl);
  background: radial-gradient(110% 120% at 50% 0%, var(--_brand-colors---dark-blue--700) 0%, var(--_brand-colors---dark-blue--800) 72%);
  box-shadow: inset 0 0 0 var(--_effects---border--thin) var(--border);
  overflow: clip;
}
.rd-ciso-card__viz::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(var(--border) 1px, transparent 1.4px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(80% 90% at 50% 45%, #000 25%, transparent 90%);
  mask-image: radial-gradient(80% 90% at 50% 45%, #000 25%, transparent 90%);
}
.rd-ciso-card__title {
  margin-bottom: var(--_layout---space--3);
  font-family: var(--_typography---font--heading);
  font-size: var(--_typography---size--h4);
  font-weight: var(--_typography---weight--bold);
  line-height: var(--_typography---leading--heading);
  letter-spacing: var(--_typography---tracking--snug);
  text-wrap: balance;
}
.rd-ciso-card__text {
  max-width: 42ch;
  margin-bottom: var(--_layout---stack--actions);
  font-size: var(--_typography---size--body-lg);
  line-height: var(--_typography---leading--body);
  color: var(--muted-foreground);
}
.rd-ciso-card__link { align-self: flex-start; margin-top: auto; }
@supports (grid-template-rows: subgrid) {
  .rd-ciso-card__link { align-self: end; justify-self: start; margin-top: 0; }
}

/* The diagrams (SVG over a 480 x 200 box; labels are HTML, placed in %) */
.rd-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.rd-cv-label {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-family: var(--_typography---font--heading);
  font-size: var(--_typography---size--xs);
  font-weight: var(--_typography---weight--semibold);
  line-height: var(--_typography---leading--none);
  letter-spacing: var(--_typography---tracking--caps);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted-foreground);
  pointer-events: none;
}
.rd-cv-label--up { translate: 0 calc(-100% - var(--_layout---space--2)); }
.rd-cv-label--mid { translate: -50% 0; }
.rd-cv-label--end { translate: -100% 0; }
.rd-cv-label--ok { color: var(--brand); }

/* Readiness: the estate, the path an attack would take, and where it is closed */
.rd-cv-links { fill: none; stroke: var(--muted-foreground); stroke-opacity: .28; stroke-width: 1.25; }
.rd-cv-geo { fill: none; stroke: none; }
.rd-cv-walk,
.rd-cv-rest { fill: none; stroke: var(--rd-alert); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rd-cv-walk--glow { stroke-width: 8; stroke-opacity: .18; }
.rd-cv-rest { stroke-dasharray: 1; opacity: 0; }
.rd-cv-nodes circle { fill: var(--_brand-colors---light-blue--100); }
.rd-cv-entry__halo { fill: var(--rd-alert); opacity: .22; }
.rd-cv-entry__dot { fill: var(--rd-alert); }
.rd-cv-target__halo { fill: var(--brand); opacity: .14; transition: fill 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms cubic-bezier(0.4, 0, 0.2, 1); }
.rd-cv-target__ring { fill: var(--_brand-colors---dark-blue--800); stroke: var(--brand); stroke-width: 1.75; transition: stroke 300ms cubic-bezier(0.4, 0, 0.2, 1); }
.rd-cv-target__core { fill: var(--brand); transition: fill 300ms cubic-bezier(0.4, 0, 0.2, 1); }
.rd-cv-target.is-open .rd-cv-target__halo { fill: var(--primary); opacity: .1; }
.rd-cv-target.is-open .rd-cv-target__ring { stroke: var(--primary); }
.rd-cv-target.is-open .rd-cv-target__core { fill: var(--primary); }
.rd-cv-target.is-hit .rd-cv-target__halo { fill: var(--rd-alert); opacity: .3; }
.rd-cv-target.is-hit .rd-cv-target__ring { stroke: var(--rd-alert); }
.rd-cv-target.is-hit .rd-cv-target__core { fill: var(--rd-alert); }
.rd-cv-gate__disc { fill: var(--_brand-colors---dark-blue--800); stroke: var(--brand); stroke-width: 2; }
.rd-cv-gate__bar { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; }
.rd-cv-head { fill: var(--foreground); opacity: 0; filter: drop-shadow(0 0 4px var(--rd-alert)); }

/* Resilience: three streams into one piece of evidence */
.rd-cv-in,
.rd-cv-inglow { fill: none; stroke: var(--brand); stroke-linecap: round; }
.rd-cv-in { stroke-width: 1.5; stroke-opacity: .55; }
.rd-cv-inglow { stroke-width: 7; stroke-opacity: .14; }
.rd-cv-src { fill: var(--_brand-colors---light-blue--100); }
.rd-cv-packet { opacity: 0; }
.rd-cv-packet__glow { fill: var(--brand); opacity: .35; }
.rd-cv-packet__dot { fill: var(--foreground); }
.rd-cv-ev__ring { fill: var(--_brand-colors---dark-blue--800); stroke: var(--brand); stroke-width: 1.75; transition: stroke 300ms cubic-bezier(0.4, 0, 0.2, 1); }
.rd-cv-ev__core { fill: var(--brand); transition: fill 300ms cubic-bezier(0.4, 0, 0.2, 1); }
.rd-cv-ev__check { fill: none; stroke: var(--_brand-colors---dark-blue--800); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rd-cv.is-idle .rd-cv-ev__ring { stroke: var(--primary); }
.rd-cv.is-idle .rd-cv-ev__core { fill: var(--_brand-colors---dark-blue--700); }

/* The one hover detail: the closing mark (or the evidence) sends out a ring */
.rd-cv-gate__ping,
.rd-cv-ev__ping {
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.rd-ciso-card:hover :is(.rd-cv-gate__ping, .rd-cv-ev__ping) { animation: rd-ripple 1.8s cubic-bezier(0, 0, 0.2, 1) infinite; }

/* ==========================================================================
   3. The platform: one stream of activity, three steps
   The stream reads left to right (top to bottom on phones) and each zone sits
   over the step it demonstrates: sources merge and split by who is acting
   inside a learned baseline, a login succeeds before behavior leaves its
   baseline and deviations are linked into one signal, and the signal is acted
   on along the whole path. 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: 54ch; color: rgba(255, 255, 255, .72); }

.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; }
/* New: the login that succeeded, a moment before the behavior leaves its baseline */
.rd-fk__bg { fill: var(--rd-navy-deep); stroke: var(--rd-green-400); stroke-width: 1.25; }
.rd-fk__ok { fill: none; stroke: #7fd3a8; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* 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-i-play,
.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(3, 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: 28ch;
  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); }

/* New: the proof points and the call to action (design system: text-stat).
   A .theme-dark island; its background stays the section's. */
.rd-pstats {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--_layout---stack--block) var(--_layout---grid--gap);
  margin-top: var(--_layout---stack--section-head);
  padding-top: var(--_layout---stack--block);
  border-top: var(--_effects---border--thin) solid var(--border);
  background: none;
  color: var(--foreground);
}
.rd-pstats__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--_layout---grid--gap); }
.rd-pstat__num {
  display: flex;
  align-items: baseline;
  font-family: var(--_typography---font--heading);
  font-size: var(--_typography---size--h1);
  font-weight: var(--_typography---weight--bold);
  line-height: var(--_typography---leading--none);
  letter-spacing: var(--_typography---tracking--tighter);
  font-variant-numeric: tabular-nums;
}
.rd-pstat__unit { color: var(--brand); }
.rd-pstat__label {
  max-width: 20ch;
  margin-top: var(--_layout---space--3);
  font-size: var(--_typography---size--body);
  line-height: var(--_typography---leading--body);
  color: var(--muted-foreground);
}
.rd-pstats__cta { justify-self: end; }

/* ==========================================================================
   4. Customer proof (the combined edition's cards, outcome first), then
   5. Recognition (design system card recipe)
   ========================================================================== */
.rd-proof { background: var(--rd-soft); color: var(--rd-ink); }
.rd-proof__title { max-width: 24ch; }
.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 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: var(--s, 1); transition: scale .9s var(--rd-ease); }
.rd-quote:hover .rd-quote__img { scale: calc(var(--s, 1) * 1.04); }
/* The Luxgen photo has rounded corners baked in: enlarged, they stay out of frame */
.rd-quote__img--inset { --s: 1.08; }
.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: var(--h, 1.625rem); max-width: 60%; }
.rd-quote__logo--invert { filter: brightness(0) invert(1); }
/* New: the outcome is the card's headline; the number it reached is in green */
.rd-quote__metric {
  padding: 1.5rem 1rem 0;
  font-family: var(--rd-display);
  font-size: clamp(1.25rem, 1.05rem + .45vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  text-wrap: balance;
  color: var(--rd-ink);
}
.rd-quote__from { color: var(--rd-text-2); }
.rd-quote__to { color: var(--rd-green-600); }
.rd-quote__text {
  flex: 1;
  padding: .875rem 1rem 0;
  font-size: clamp(1rem, .95rem + .2vw, 1.125rem);
  line-height: 1.55;
  color: var(--rd-text);
}
.rd-quote__text p::before { content: "\201C"; }
.rd-quote__text p::after { content: "\201D"; }
.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: outcomes 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 4; grid-template-rows: subgrid; row-gap: 0; }
  .rd-quote__foot { align-items: flex-start; }
  .rd-quote__foot .rd-link { align-self: flex-end; }
}

.rd-recog { margin-top: clamp(var(--_layout---space--16), 8vw, var(--_layout---space--32)); }
.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));
  gap: var(--_layout---space--4);
  margin-top: var(--_layout---stack--block);
}
.rd-recog__item { display: flex; }
.rd-award {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--_layout---space--6);
  padding: var(--_layout---card--padding);
  border: var(--_effects---border--thin) solid var(--border);
  border-radius: var(--_effects---radius--xl);
  background: var(--card);
  color: var(--card-foreground);
  box-shadow:
    0 var(--_effects---shadow--sm-y) var(--_effects---shadow--sm-blur) var(--_effects---shadow--sm-spread) var(--shadow),
    0 var(--_effects---shadow--sm-y-2) var(--_effects---shadow--sm-blur-2) var(--_effects---shadow--sm-spread-2) var(--shadow);
  transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.rd-award:hover { border-color: var(--primary); }
.rd-award:focus-visible { border-color: var(--ring); outline: var(--_effects---focus--ring-width) solid var(--ring-soft); outline-offset: 2px; }
.rd-award__logos { display: flex; align-items: center; gap: var(--_layout---space--2); height: 3.5rem; }
.rd-award__logo { width: auto; height: 100%; max-width: 8rem; object-fit: contain; object-position: left center; }
.rd-award__logo.is-wordmark { height: 1.875rem; }
.rd-award__body { display: flex; flex-direction: column; gap: var(--_layout---space--1); }
.rd-award__title {
  font-family: var(--_typography---font--heading);
  font-size: var(--_typography---size--h6);
  font-weight: var(--_typography---weight--semibold);
  line-height: var(--_typography---leading--heading);
  color: var(--card-foreground);
}
.rd-award__meta {
  font-size: var(--_typography---size--small);
  line-height: var(--_typography---leading--body);
  color: var(--muted-foreground);
  text-wrap: pretty;
}

/* ==========================================================================
   6. Closing call to action
   ========================================================================== */
.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;
}
/* The three questions hang in a band above the headline. Sizes grow with the
   viewport: gl.js spells these in dots, which need a little more size than
   ink to stay readable */
.rd-fq--1 { --x: 21%; --y: 9.75rem; --fs: clamp(1.125rem, .4rem + .85vw, 1.5rem); }
.rd-fq--2 { --x: 50%; --y: 5.25rem; --fs: clamp(1.125rem, .4rem + .85vw, 1.5rem); }
.rd-fq--3 { --x: 79%; --y: 9.75rem; --fs: clamp(1.125rem, .4rem + .85vw, 1.5rem); }
.rd-final__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding-bottom: clamp(7rem, 11vw, 10.5rem);
}
.rd-final__title { max-width: 14ch; font-size: clamp(2.25rem, 1rem + 3.6vw, 4.5rem); line-height: 1.06; 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; }
@media (min-width: 1200px) {
  .rd-final { padding-top: calc(var(--rd-pad) + 5rem); }
}

/* ---------- 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; the hero also at 1199)
   ========================================================================== */
@media (max-width: 1199px) {
  .rd-hero__inner { grid-template-columns: 1fr; }
  .rd-questions { display: none; }
  .rd-recog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-final__questions { display: none; }
  .rd-pstats { grid-template-columns: minmax(0, 1fr); }
  .rd-pstats__cta { justify-self: start; }
}

@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-ciso__head { grid-template-columns: minmax(0, 1fr); }

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

  .rd-quotes { grid-template-columns: 1fr; max-width: 40rem; }
  .rd-final { text-align: left; }
  .rd-final__inner { align-items: flex-start; }
  .rd-cta-row--center { justify-content: flex-start; }
}

@media (max-width: 767px) {
  .rd-ciso__grid { grid-template-columns: minmax(0, 1fr); }
  .rd-ciso-card { display: flex; grid-row: auto; }
  .rd-ciso-card .rd-ciso-card__link { align-self: flex-start; }

  .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: 8.5rem; padding-bottom: 1.25rem; }
  /* the first zone holds the merge and the split: give it room */
  .rd-step:first-child { min-height: 11rem; }
  .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-pstats__list { grid-template-columns: minmax(0, 1fr); gap: var(--_layout---space--6); }
  .rd-pstat { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: baseline; gap: var(--_layout---space--4); }
  .rd-pstat__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-recog__grid { grid-template-columns: minmax(0, 1fr); }
  /* On phones each recognition is a row: badge beside the words */
  .rd-award { flex-direction: row; align-items: center; }
  .rd-award__logos { flex: none; justify-content: center; width: 5.5rem; height: 3rem; }
  .rd-award__logo { max-width: 100%; object-position: center; }
  .rd-award__logo.is-wordmark { height: auto; width: 100%; }
}

/* ==========================================================================
   WebGL (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; }
/* While the dots gather they cross the whole hero: keep them quiet behind the copy */
.rd-gl--hero {
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .35) calc(var(--rd-qx, 58%) - 22rem), #000 calc(var(--rd-qx, 58%) - 1rem));
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .35) calc(var(--rd-qx, 58%) - 22rem), #000 calc(var(--rd-qx, 58%) - 1rem));
}
@media (max-width: 1199px) {
  .rd-gl--hero {
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .35) calc(var(--rd-qy, 45%) - 12rem), #000 calc(var(--rd-qy, 45%) - 1rem));
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .35) calc(var(--rd-qy, 45%) - 12rem), #000 calc(var(--rd-qy, 45%) - 1rem));
  }
}

/* Hero: the particle field takes the right column; the question in focus becomes its caption.
   The caption arrives with the particles (.is-gl), never ahead of them. */
.rd-qhud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  font-family: var(--rd-display);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s var(--rd-ease);
}
.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-hero.is-gl .rd-qhud { opacity: 1; }
.rd-qhud__k {
  display: flex;
  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: 22ch;
  margin-top: .875rem;
  font-size: clamp(1.5rem, 1rem + 1.1vw, 2.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  min-height: 2.24em;
  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%, 12rem); 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));
}

/* Closing: 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); }

@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; }
}

/* Ambient keyframes (shared) */
@keyframes rd-breathe { 50% { opacity: .55; } }
@keyframes rd-track { to { stroke-dashoffset: -14; } }
@keyframes rd-ripple {
  from { opacity: .8; transform: scale(.6); }
  to { opacity: 0; transform: scale(2.1); }
}

@media (prefers-reduced-motion: reduce) {
  .rd *,
  .rd *::before,
  .rd *::after { transition-duration: .01ms !important; animation: none !important; }
  /* One still shape: its question stays, the counter and progress go */
  .rd-qhud__k,
  .rd-qhud__bars { display: none; }
}
