/* ==========================================================================
   Vectra AI resource page mock, combined edition (2026-12-02):
   /resources/why-defenders-dont-see-attacks-earlier, rebuilt from a PDF-style
   infographic into a page that tells its story in time.
   Same system as the homepage, platform and blog combined mocks
   (redesigns/home-combined, platform-combined, blog-combined): tokens, type,
   CTAs, sheets, motion states. Scope: everything lives under main.rd; every
   class is prefixed rd-. Loaded after the Webflow CSS so the scoped reset
   wins over the site's global tag rules (white p/h1/h2, flex ul, 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-mint: #7fd3a8;
  --rd-orange: #c14b1f;
  --rd-blue: #1866c1;
  --rd-blue-hover: #005176;
  --rd-sky: #7ac9ed;
  --rd-red: #f0524f;
  --rd-red-soft: #ff6b63;
  --rd-amber: #f5a35c;
  --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, figcaption, blockquote, dl, dt, dd) {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: 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; text-align: inherit; }
.rd svg { overflow: visible; }
.rd :where(p) { text-wrap: pretty; }
.rd ::selection { background: rgba(93, 181, 137, .32); }
.rd-sr {
  position: absolute !important;
  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, 1rem + 3.6vw, 5.25rem);
  font-weight: 800;
  line-height: 1.02;
  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;
}
/* The live H1 sets "Earlier" in the logo's green */
.rd-accent { color: var(--rd-green-400); }
.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.2;
  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;
  flex: none;
  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 { color: var(--rd-navy); }
.rd-link--sm { --rd-caret: 1.75rem; font-size: .9375rem; }

.rd-btn:focus-visible,
.rd-link:focus-visible,
.rd-res:focus-visible,
.rd-sig__toggle:focus-visible,
.rd-race__toggle:focus-visible,
.rd-step__btn:focus-visible,
.rd-ax:focus-visible,
.rd-scale__src a:focus-visible,
.rd-whatif__src a:focus-visible {
  outline: 2px solid var(--rd-sky);
  outline-offset: 3px;
}
.rd-more .rd-res:focus-visible,
.rd-more .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; }

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

/* Pause / play (WCAG 2.2.2): every visual that keeps moving has one */
.rd-i-play { display: none; }
.is-user-paused .rd-i-pause { display: none; }
.is-user-paused .rd-i-play { display: block; }

/* ---------- Tags: a label beside a point in a field, joined by a short leader.
   Sides: tr (above right), tl (above left), br (below right), bl (below left) ---------- */
.rd-ntag {
  --tone: var(--rd-sky);
  --g: var(--gap, 18px);
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: .4375rem;
  padding: .375rem .625rem .375rem .5rem;
  border-radius: 100vh;
  background: rgba(1, 26, 48, .86);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 46%, transparent), 0 8px 24px -10px rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--rd-display);
  font-size: .6875rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  opacity: 0;
  transform: translate(var(--tx, 0), var(--ty, 0)) translate(var(--g), calc(-100% - var(--g))) scale(var(--s, .9));
  transform-origin: 0 100%;
  transition: opacity .45s var(--rd-ease), --s .45s;
}
.rd-ntag::before {
  content: "";
  flex: none;
  width: .4375rem;
  height: .4375rem;
  border-radius: 50%;
  background: var(--tone);
  box-shadow: 0 0 .625rem var(--tone);
}
.rd-ntag::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(var(--g) * .62);
  height: 1px;
  background: color-mix(in srgb, var(--tone) 70%, transparent);
  transform: rotate(135deg);
  transform-origin: 0 0;
}
.rd-ntag[data-side="tl"] {
  transform: translate(var(--tx, 0), var(--ty, 0)) translate(calc(-100% - var(--g)), calc(-100% - var(--g))) scale(var(--s, .9));
  transform-origin: 100% 100%;
}
.rd-ntag[data-side="tl"]::after { left: 100%; transform: rotate(45deg); }
.rd-ntag[data-side="br"] {
  transform: translate(var(--tx, 0), var(--ty, 0)) translate(var(--g), var(--g)) scale(var(--s, .9));
  transform-origin: 0 0;
}
.rd-ntag[data-side="br"]::after { bottom: auto; top: 0; transform: rotate(-135deg); }
.rd-ntag[data-side="bl"] {
  transform: translate(var(--tx, 0), var(--ty, 0)) translate(calc(-100% - var(--g)), var(--g)) scale(var(--s, .9));
  transform-origin: 100% 0;
}
.rd-ntag[data-side="bl"]::after { left: 100%; bottom: auto; top: 0; transform: rotate(-45deg); }
.rd-ntag.is-on { opacity: 1; --s: 1; }
@property --s { syntax: "<number>"; inherits: false; initial-value: 1; }

/* ==========================================================================
   1. Hero: the claim, and the scale of the problem
   ========================================================================== */
.rd-bhero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(38rem, calc(100svh - var(--rd-header-h, 148px) - 4.5rem), 50rem);
  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-bhero__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, 4.5rem);
  padding-block: clamp(3rem, 7vh, 5.5rem) clamp(3.5rem, 8vh, 6rem);
}
.rd-bhero__copy { position: relative; z-index: 2; }
.rd-bhero__eyebrow { margin-bottom: clamp(1.25rem, 2vw, 1.75rem); }
.rd-hero__lead { margin-top: clamp(1.5rem, 2.5vw, 2.25rem); max-width: 40ch; color: rgba(255, 255, 255, .8); }

/* The side: the signal lines' point, and the scale of the problem under it */
.rd-bhero__side {
  --fx: 50%;
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  min-height: 30rem;
}
.rd-sig { position: relative; flex: 0 1 12rem; min-height: 9rem; }
/* The still drawing (no WebGL, or until it draws): its point sits on the same spot */
.rd-sig__still {
  position: absolute;
  top: 50%;
  left: var(--fx);
  height: 100%;
  width: auto;
  aspect-ratio: 1000 / 300;
  translate: -52% -50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 46%);
  mask-image: linear-gradient(90deg, transparent 4%, #000 46%);
  pointer-events: none;
}
.rd-bhero.is-gl .rd-sig__still { visibility: hidden; }
.rd-sig__focus {
  position: absolute;
  left: var(--fx);
  top: 50%;
  width: 0;
  height: 0;
}
.rd-sig__focus::before {
  content: "";
  position: absolute;
  left: -.6875rem;
  top: -.6875rem;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.25px rgba(127, 211, 168, .75);
  animation: rd-focus 3.2s var(--rd-ease) 3;
}
.rd-sig__focus::after {
  content: "";
  position: absolute;
  left: -.25rem;
  top: -.25rem;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 .75rem 2px rgba(127, 211, 168, .7);
}
@keyframes rd-focus { 0%, 100% { scale: 1; opacity: .9; } 50% { scale: 1.35; opacity: .35; } }
/* Seen, but late: when the red signal is already well past, the point flashes amber */
.rd-bhero.is-late .rd-sig__focus::before { animation: rd-late 1.1s ease-out both; }
@keyframes rd-late {
  from { scale: .7; opacity: 1; box-shadow: inset 0 0 0 2px rgba(245, 163, 92, .95); }
  to { scale: 2.6; opacity: 0; box-shadow: inset 0 0 0 1px rgba(245, 163, 92, .4); }
}
.rd-sig__toggle {
  position: absolute;
  z-index: 3;
  right: 0;
  top: 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-sig__toggle:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.rd-sig__toggle svg { width: 1rem; height: 1rem; }
.rd-bhero.is-gl .rd-sig__toggle { display: grid; }
.rd-bhero.is-user-paused .rd-sig__focus::before { animation-play-state: paused; }

/* The scale of the problem: three numbers, each with its words */
.rd-scale {
  position: relative;
  z-index: 2;
  padding: clamp(1.375rem, 2vw, 1.875rem);
  border-radius: 1.25rem;
  background: rgba(1, 26, 48, .74);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -34px rgba(0, 0, 0, .75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.rd-scale__k {
  font-family: var(--rd-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .66);
}
.rd-scale__list { display: grid; margin-top: .5rem; }
.rd-scale__item {
  display: grid;
  grid-template-columns: 6.75rem minmax(0, 1fr);
  align-items: baseline;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.rd-scale__item:last-child { padding-bottom: .25rem; border-bottom: 0; }
.rd-scale__num {
  font-family: var(--rd-display);
  font-size: clamp(2.125rem, 1.5rem + 1.3vw, 2.875rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: #fff;
}
.rd-scale__u { margin-left: .04em; font-size: .62em; letter-spacing: -.02em; color: var(--rd-amber); }
.rd-scale__text { font-size: .9375rem; line-height: 1.45; color: rgba(255, 255, 255, .8); }
.rd-scale__src { margin-top: 1rem; font-size: .75rem; line-height: 1.45; color: rgba(255, 255, 255, .58); }
.rd-scale__src a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255, 255, 255, .35); }
.rd-scale__src a:hover { color: #fff; text-decoration-color: currentColor; }

/* ==========================================================================
   2. The race: where time is lost
   ========================================================================== */
.rd-race-sec { background: var(--rd-navy-deep); color: #fff; }
/* The hero's glow (same ellipse, same stops) carries across the seam and dissolves */
.rd-race-sec::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-race-sec__title { max-width: 18ch; }
.rd-race-sec__lead { color: rgba(255, 255, 255, .78); max-width: 44ch; }
/* What the ledger's two small marks mean (the live table's column heads) */
.rd-keys { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; font-size: .875rem; color: rgba(255, 255, 255, .72); }
.rd-keys li { display: inline-flex; align-items: center; gap: .5rem; }
.rd-keys svg { flex: none; width: 1rem; height: 1rem; color: var(--rd-sky); }

/* The band: a field where the attacker moves on its own clock, the team's
   seven steps under it. JS draws the field from its size (container: race). */
.rd-race { container: race / inline-size; position: relative; margin-top: clamp(2.25rem, 3.5vw, 3.25rem); }
.rd-race__stage {
  position: relative;
  border-radius: 1.5rem;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(24, 102, 193, .14), transparent 70%),
    linear-gradient(180deg, rgba(8, 40, 70, .7), rgba(1, 26, 48, .55));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  overflow: clip;
}
html:not(.w-mod-js) .rd-race__stage { display: none; }
.rd-race__bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0 1.375rem;
}
.rd-race__legend {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.375rem;
  font-family: var(--rd-display);
  font-size: .6875rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .74);
}
.rd-race__key { display: inline-flex; align-items: center; gap: .5rem; }
.rd-race__key::before { content: ""; flex: none; width: .5625rem; height: .5625rem; border-radius: 50%; }
.rd-race__key--atk::before { background: var(--rd-red-soft); box-shadow: 0 0 .625rem var(--rd-red); }
.rd-race__key--team::before { box-shadow: inset 0 0 0 1.75px var(--rd-sky), 0 0 .5rem rgba(122, 201, 237, .5); }
.rd-race__key--signal::before { background: var(--rd-mint); box-shadow: 0 0 .625rem var(--rd-mint); }
.rd-race__toggle {
  display: none;
  flex: 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, .78);
  transition: background-color .3s, color .3s;
}
.rd-race.is-live .rd-race__toggle { display: grid; }
.rd-race__toggle:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.rd-race__toggle svg { width: 1rem; height: 1rem; }
.rd-race.is-paused * { animation-play-state: paused !important; }

.rd-race__field { position: relative; height: clamp(20rem, 36cqi, 30rem); }
.rd-race:not(.is-built) .rd-race__svg { visibility: hidden; }
.rd-race__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rd-race__tags { position: absolute; inset: 0; pointer-events: none; }

/* Field parts (SVG) */
.rd-rc-link { stroke: rgba(122, 201, 237, .17); stroke-width: 1; }
.rd-rc-n { fill: #d7eef8; opacity: .78; transition: fill .35s, opacity .35s; }
.rd-rc-node.is-hit .rd-rc-n { fill: #ff8a83; opacity: 1; }
.rd-rc-halo { fill: rgba(122, 201, 237, .1); transition: fill .35s; }
.rd-rc-node.is-hit .rd-rc-halo { fill: rgba(240, 82, 79, .26); }
.rd-rc-ripple { fill: none; stroke: #ff6b63; stroke-width: 1.4; }
.rd-rc-trail { fill: none; stroke: #f0524f; stroke-width: 2.2; stroke-linecap: round; }
.rd-rc-trail--glow { stroke-width: 9; stroke-opacity: .2; }
.rd-rc-head__ring { fill: none; stroke: #ff6b63; stroke-width: 1.3; transform-box: fill-box; transform-origin: center; animation: rd-ripple 1.1s ease-out infinite; }
.rd-rc-head__glow { fill: rgba(240, 82, 79, .5); }
.rd-rc-head__dot { fill: #fff; }
/* the ai band holds the attacker once it is contained */
.rd-rc-head.is-held .rd-rc-head__ring { animation: none; opacity: 0; }
@keyframes rd-ripple {
  from { opacity: .8; transform: scale(.6); }
  to { opacity: 0; transform: scale(2.1); }
}
.rd-rc-known { fill: none; stroke: var(--rd-sky); stroke-width: 1.3; stroke-dasharray: 2.5 3; }
.rd-rc-team__halo { fill: rgba(122, 201, 237, .1); }
.rd-rc-team__ring { fill: none; stroke: var(--rd-sky); stroke-width: 1.7; }
.rd-rc-team__spin { fill: none; stroke: rgba(122, 201, 237, .55); stroke-width: 1; stroke-dasharray: 3 6; }
.rd-rc-rule__bg { fill: #0b2a47; stroke: rgba(122, 201, 237, .7); stroke-width: 1.2; }
.rd-rc-rule__ln { stroke: rgba(207, 234, 247, .75); stroke-width: 2.2; stroke-linecap: round; }
.rd-rc-rule__ok { fill: var(--rd-sky); }
.rd-rc-rule__ok path { fill: none; stroke: #021f38; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rd-rc-frame__box { fill: rgba(122, 201, 237, .03); stroke: rgba(122, 201, 237, .55); stroke-width: 1.2; stroke-dasharray: 4 5; transition: fill .3s, stroke .3s; }
.rd-rc-frame.is-on .rd-rc-frame__box { fill: rgba(122, 201, 237, .07); stroke: rgba(170, 228, 250, .95); stroke-dasharray: none; }
.rd-rc-frame__gear { fill: none; stroke: #9fd9f2; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.rd-rc-frame__pill { fill: #0b2a47; stroke: rgba(122, 201, 237, .55); stroke-width: 1; }
.rd-rc-stitch { fill: none; stroke: var(--rd-sky); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 3 5; }
.rd-rc-stitch__end { fill: var(--rd-sky); }
.rd-rc-q__bg { fill: rgba(1, 22, 40, .92); stroke: rgba(122, 201, 237, .4); stroke-width: 1; }
.rd-rc-q__chrome { fill: rgba(255, 255, 255, .22); }
.rd-rc-q__dot { fill: rgba(255, 255, 255, .5); }
.rd-rc-q__bar { fill: rgba(255, 255, 255, .2); }
.rd-rc-q__row.is-red .rd-rc-q__dot { fill: #ff6b63; }
.rd-rc-q__row.is-red .rd-rc-q__bar { fill: #f0524f; fill-opacity: .9; }
.rd-rc-lock__ring { fill: none; stroke: var(--rd-sky); stroke-width: 2; stroke-linecap: round; }
.rd-rc-lock__ic { fill: none; stroke: var(--rd-sky); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.rd-rc-lock__bg { fill: #0b2a47; }
/* ai mode: the signal follows the attack as it moves */
.rd-rc-trace { fill: none; stroke: var(--rd-mint); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rd-rc-trace--glow { stroke-width: 12; stroke-opacity: .34; }
.rd-rc-seen { fill: none; stroke: var(--rd-mint); stroke-width: 1.6; }
.rd-race--ai .rd-rc-lock__ring { stroke: var(--rd-mint); }
.rd-race--ai .rd-rc-lock__ic { stroke: var(--rd-mint); }
.rd-rc-block { stroke: var(--rd-mint); stroke-width: 3; stroke-linecap: round; }

/* The timeline row (mid and tall layouts, and the ai band): seven segments,
   each with the team's progress and the attacker's hops as red ticks */
.rd-race__axis { display: none; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .375rem; padding: .25rem 1.375rem 0; }
.rd-ax { display: flex; flex-direction: column; gap: .5rem; min-width: 0; padding-top: .5rem; text-align: left; cursor: pointer; }
.rd-ax__n { font-family: var(--rd-display); font-size: .6875rem; font-weight: 600; letter-spacing: .14em; color: rgba(255, 255, 255, .5); transition: color .4s; }
.rd-ax__k { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--rd-display); font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .62); transition: color .4s; }
.rd-ax.is-active .rd-ax__n,
.rd-ax.is-active .rd-ax__k { color: var(--rd-sky); }
/* The caption: every step's line stacked in one cell, so the height never jumps */
.rd-race__cap { display: none; padding: 1rem 1.375rem 1.375rem; }
.rd-race__cap-in { display: grid; }
.rd-race__ci {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s var(--rd-ease), transform .45s var(--rd-ease);
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .86);
}
.rd-race__ci.is-on { opacity: 1; transform: none; }
.rd-race__ci-k { display: block; margin-bottom: .25rem; font-family: var(--rd-display); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rd-sky); }
.rd-race__ci strong { font-weight: 600; color: var(--rd-amber); }

/* Rails: the team's progress through a step (sky) and the attacker's hops (red ticks) */
.rd-rail { position: relative; display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .11); }
.rd-rail__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(122, 201, 237, .55), var(--rd-sky));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 1));
}
.rd-rail__tick {
  position: absolute;
  left: var(--x);
  top: -4px;
  width: 2px;
  height: 11px;
  margin-left: -1px;
  border-radius: 1px;
  background: var(--rd-red-soft);
  box-shadow: 0 0 6px rgba(240, 82, 79, .85);
  opacity: 0;
  transform: scaleY(.3);
  transition: opacity .25s, transform .3s var(--rd-ease);
}
.rd-rail__tick.is-on { opacity: 1; transform: none; }

/* The ledger: the seven steps, real content, readable with no motion at all */
.rd-steps { display: grid; gap: 2.25rem 1.75rem; margin-top: 1.75rem; }
.rd-step { position: relative; display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.rd-step__h { margin-top: .5rem; }
.rd-step__btn { display: flex; flex-direction: column; align-items: flex-start; gap: .3125rem; width: 100%; border-radius: .375rem; }
.rd-step__btn:disabled { cursor: default; }
.rd-step__top { display: flex; align-items: baseline; gap: .625rem; }
.rd-step__n { font-family: var(--rd-display); font-size: .75rem; font-weight: 600; letter-spacing: .14em; color: rgba(255, 255, 255, .46); transition: color .4s; }
.rd-step__k { font-family: var(--rd-display); font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rd-sky); }
.rd-step__name { font-family: var(--rd-display); font-size: 1.0625rem; font-weight: 700; line-height: 1.22; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.rd-step__time,
.rd-step__exp { display: inline-flex; align-items: center; gap: .4375rem; font-size: .8125rem; line-height: 1.3; }
.rd-step__time { font-family: var(--rd-display); font-weight: 600; color: #cdebf7; }
.rd-step__time svg,
.rd-step__exp svg { flex: none; width: .9375rem; height: .9375rem; color: var(--rd-sky); }
.rd-step__cons { font-size: .9375rem; line-height: 1.45; color: rgba(255, 255, 255, .84); transition: color .5s; }
.rd-step__cons strong { font-weight: 600; color: var(--rd-amber); }
.rd-step__stat { font-size: .875rem; line-height: 1.4; color: rgba(255, 255, 255, .74); transition: color .5s; }
.rd-step__stat b { font-family: var(--rd-display); font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.rd-step__exp { align-self: flex-start; margin-top: auto; padding: .375rem .625rem; border-radius: 100vh; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .74); }
/* While the band plays, the step it shows leads; the others step back but stay readable */
.rd-race.is-live .rd-step:not(.is-active) .rd-step__cons { color: rgba(255, 255, 255, .62); }
.rd-race.is-live .rd-step:not(.is-active) .rd-step__stat { color: rgba(255, 255, 255, .58); }
.rd-race.is-live .rd-step.is-active .rd-step__n { color: var(--rd-sky); }
.rd-race.is-live .rd-step .rd-rail__fill { transform: scaleX(var(--p, 0)); }

/* Wide (band ≥ 70rem): the field over seven columns; each column's rail is the timeline */
@container race (min-width: 70rem) {
  .rd-race__stage { border-radius: 1.5rem 1.5rem 0 0; }
  .rd-race--ai .rd-race__stage { border-radius: 1.5rem; }
  .rd-steps {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
    margin-top: 0;
    border-radius: 0 0 1.5rem 1.5rem;
    background: rgba(255, 255, 255, .025);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  }
  .rd-step { padding: 0 1.125rem 1.5rem; }
  .rd-step + .rd-step { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .07); }
  .rd-step .rd-rail { margin-inline: -1.125rem; border-radius: 0; }
  .rd-step .rd-rail__fill { border-radius: 0; }
  .rd-step__h { margin-top: 1.125rem; }
  /* the seven columns share their rows, so times, lines, numbers and skills align across */
  @supports (grid-template-rows: subgrid) {
    .rd-steps { grid-template-rows: repeat(6, auto); }
    .rd-step { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: .75rem; align-content: start; }
    .rd-step__exp { align-self: end; }
  }
}
/* Mid (40 to 70rem): the field, a timeline row and a caption; the steps below in two columns */
@container race (min-width: 40rem) and (max-width: 69.99rem) {
  .rd-race__field { height: auto; aspect-ratio: 16 / 10; }
  .rd-race__axis { display: grid; }
  .rd-race__cap { display: block; }
  .rd-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2.25rem; }
}
/* Tall (under 40rem): an upright field, numbers on the timeline, one column of steps */
@container race (max-width: 39.99rem) {
  .rd-race__field { height: auto; aspect-ratio: 4 / 5; }
  .rd-race__axis { display: grid; gap: .25rem; padding-inline: 1rem; }
  .rd-ax__k { display: none; }
  .rd-race__cap { display: block; padding-inline: 1rem; }
  .rd-race__bar { padding-left: 1rem; }
  .rd-steps { grid-template-columns: minmax(0, 1fr); margin-top: 2rem; gap: 2rem; }
}
/* The ai band has no ledger and no caption; its field is a little shorter */
.rd-race--ai { margin-top: clamp(2rem, 3.5vw, 3rem); }
.rd-race--ai .rd-race__field { height: clamp(16rem, 30cqi, 25rem); }
.rd-race--ai .rd-race__cap { display: none; }
@container race (min-width: 40rem) and (max-width: 69.99rem) {
  .rd-race--ai .rd-race__field { height: auto; aspect-ratio: 16 / 9; }
}
@container race (max-width: 39.99rem) {
  .rd-race--ai .rd-race__field { height: auto; aspect-ratio: 4 / 5; }
}
/* The ai timeline: the seven steps slide together into the first hops */
.rd-race--ai .rd-race__axis { position: relative; display: block; height: 3.25rem; padding: 0; margin: .25rem 1.375rem 1.25rem; }
.rd-aix__track { position: absolute; left: 0; right: 0; top: 1.25rem; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); }
.rd-aix__seg {
  position: absolute;
  top: 1.25rem;
  height: 3px;
  margin-left: 1px;
  border-radius: 2px;
  background: var(--rd-sky);
  opacity: .9;
}
.rd-aix__num { position: absolute; top: 0; font-family: var(--rd-display); font-size: .625rem; font-weight: 600; letter-spacing: .06em; color: rgba(255, 255, 255, .6); translate: -50% 0; }
.rd-aix__tick { position: absolute; top: calc(1.25rem - 4px); width: 2px; height: 11px; margin-left: -1px; border-radius: 1px; background: var(--rd-red-soft); box-shadow: 0 0 6px rgba(240, 82, 79, .85); }
.rd-aix__head { position: absolute; top: calc(1.25rem - 7px); width: 1px; height: 17px; background: rgba(255, 255, 255, .55); }
.rd-aix__stop { position: absolute; top: calc(1.25rem - 6px); width: 3px; height: 15px; margin-left: -1.5px; border-radius: 2px; background: var(--rd-mint); box-shadow: 0 0 8px rgba(127, 211, 168, .8); }
@container race (max-width: 39.99rem) {
  .rd-race--ai .rd-race__axis { margin-inline: 1rem; }
}

/* ==========================================================================
   3. Why: the four barriers, each a small diagram of itself
   ========================================================================== */
.rd-why-sec { background: var(--rd-soft); color: var(--rd-ink); }
.rd-why-sec__title { max-width: 20ch; }
.rd-causes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(2.5rem, 4.5vw, 4rem); }
.rd-cause {
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(10, 35, 60, .08), 1px 12px 34px rgba(0, 0, 0, .04);
  overflow: clip;
}
.rd-cause__fig {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(24, 102, 193, .2), transparent 72%),
    linear-gradient(180deg, #0a2846, #01203a);
}
.rd-cause__fig svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rd-cause__body { display: flex; flex-direction: column; gap: .375rem; padding: 1.375rem 1.5rem 1.625rem; }
.rd-cause__title { font-family: var(--rd-display); font-size: clamp(1.125rem, 1rem + .35vw, 1.3125rem); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
.rd-cause__sub { font-size: 1rem; line-height: 1.5; color: var(--rd-text-2); }

/* Diagram parts. Every diagram's base style is its final frame (what reduced
   motion and no JS show); with motion its animation waits, paused at the
   first frame, until the card enters view (.is-on), then runs once. */
.rd-cz-line { fill: none; stroke: rgba(122, 201, 237, .2); stroke-width: 1; }
.rd-cz-pane { fill: rgba(122, 201, 237, .05); stroke: rgba(122, 201, 237, .6); stroke-width: 1; }
.rd-cz-red { fill: none; stroke: #f0524f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rd-cz-redf { fill: #ff6b63; }
.rd-cz-ghost { fill: none; stroke: rgba(255, 128, 120, .5); stroke-width: 1.2; stroke-dasharray: 2 5; }
.rd-cz-sky { fill: var(--rd-sky); }
.rd-cz-skys { fill: none; stroke: var(--rd-sky); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rd-cz-stair { fill: none; stroke: rgba(207, 234, 247, .5); stroke-width: 1.4; stroke-linejoin: round; }
.rd-cz-num { font-family: var(--rd-display); font-size: 9px; font-weight: 600; fill: rgba(207, 234, 247, .45); text-anchor: middle; }
.rd-cz-frag { fill: rgba(255, 255, 255, .05); stroke: rgba(207, 234, 247, .55); stroke-width: 1; }
.rd-cz-frag-ln { stroke: rgba(207, 234, 247, .4); stroke-width: 2; stroke-linecap: round; }
.rd-cz-stitch { fill: none; stroke: var(--rd-sky); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 3 4; }
.rd-cz-whole { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1; stroke-dasharray: 2 5; }
.rd-cz-tick { stroke: rgba(207, 234, 247, .42); stroke-width: 2; stroke-linecap: round; }
.rd-cz-tick--red { stroke: #ff6b63; stroke-width: 2.4; }

.rd-motion .rd-cz-a { animation-play-state: paused; }
.rd-cause.is-on .rd-cz-a { animation-play-state: running; }
/* 1. Too many tools: panes open one by one, each showing a sliver of one path */
.rd-cz-pop { animation: rd-cz-pop .5s var(--rd-ease) both; animation-delay: calc(var(--i) * .22s); }
@keyframes rd-cz-pop { from { opacity: 0; transform: scale(.86); } }
.rd-cz-pop { transform-box: fill-box; transform-origin: center; }
/* 2. Too many manual steps: the team climbs, one stair at a time; the attacker is across at once */
/* the base style is the last stair, so reduced motion shows the end */
.rd-cz-climb { transform: translate(180px, -72px); animation: rd-cz-climb 4.2s linear both; }
@keyframes rd-cz-climb {
  0%, 8% { transform: translate(0, 0); }
  14%, 22% { transform: translate(30px, -12px); }
  28%, 36% { transform: translate(60px, -24px); }
  42%, 50% { transform: translate(90px, -36px); }
  56%, 64% { transform: translate(120px, -48px); }
  70%, 78% { transform: translate(150px, -60px); }
  84%, 100% { transform: translate(180px, -72px); }
}
.rd-cz-dash { animation: rd-cz-dash .9s cubic-bezier(.5, 0, .2, 1) .3s both; }
@keyframes rd-cz-dash { from { transform: translateX(-212px); } }
.rd-cz-trail { stroke-dasharray: 220; animation: rd-cz-trail .9s cubic-bezier(.5, 0, .2, 1) .3s both; }
@keyframes rd-cz-trail { from { stroke-dashoffset: 220; } }
/* 3. Too much stitching: slow stitches, the last never finishes */
.rd-cz-sew { stroke-dasharray: 3 4; }
.rd-cz-sewmask { stroke-dasharray: 200; animation: rd-cz-sew 1.3s linear both; animation-delay: calc(var(--i) * 1.25s); }
@keyframes rd-cz-sew { from { stroke-dashoffset: 200; } }
.rd-cz-sewmask--last { stroke-dashoffset: 150; animation-name: rd-cz-sew-last; }
@keyframes rd-cz-sew-last { from { stroke-dashoffset: 200; } }
/* 4. No reliable signal: the red tick flares once, then the noise buries it */
.rd-cz-flick { opacity: .55; animation: rd-cz-flick 1.6s ease-in-out both; animation-delay: calc(var(--i) * .035s); }
@keyframes rd-cz-flick { 0% { opacity: .15; } 45% { opacity: 1; } 100% { opacity: .55; } }
.rd-cz-tick--red { opacity: .32; animation: rd-cz-bury 4.4s ease-in-out both; }
@keyframes rd-cz-bury { 0%, 12% { opacity: 0; } 22%, 40% { opacity: 1; } 100% { opacity: .32; } }
.rd-cz-ring { fill: none; stroke: #ff6b63; stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: rd-cz-ring 4.4s ease-out both; }
@keyframes rd-cz-ring { 0%, 20% { opacity: 0; transform: scale(.5); } 28% { opacity: .9; } 46%, 100% { opacity: 0; transform: scale(2.4); } }

/* ==========================================================================
   4. What if: the same attack, with the delay removed
   ========================================================================== */
.rd-whatif { background: var(--rd-navy); color: #fff; overflow: clip; }
.rd-whatif::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(29, 137, 94, .22), transparent 70%);
  pointer-events: none;
}
.rd-whatif__title { max-width: 36ch; font-size: clamp(2rem, 1rem + 2.4vw, 3.75rem); line-height: 1.08; letter-spacing: -.035em; }
.rd-whatif__foot {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: end;
  gap: 2.5rem clamp(2.5rem, 6vw, 6rem);
  margin-top: clamp(2.75rem, 4.5vw, 4rem);
}
.rd-pull { position: relative; padding-left: clamp(1.5rem, 2.4vw, 2.25rem); border-left: 2px solid var(--rd-green-400); }
.rd-pull__q { font-family: var(--rd-display); font-size: clamp(1.25rem, 1rem + .75vw, 1.75rem); font-weight: 500; line-height: 1.4; letter-spacing: -.015em; color: #fff; }
.rd-pull__q p::before { content: "\201C"; }
.rd-pull__q p::after { content: "\201D"; }
.rd-pull__by { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.25rem; }
.rd-pull__who { font-family: var(--rd-display); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.rd-whatif__act { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.rd-whatif__act .rd-btn { white-space: normal; text-wrap: balance; }
.rd-whatif__src {
  margin-top: clamp(2.75rem, 4.5vw, 4rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .6);
}
.rd-whatif__src a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255, 255, 255, .35); }
.rd-whatif__src a:hover { color: #fff; text-decoration-color: currentColor; }

/* ==========================================================================
   5. More: who trusts it, and what to read next
   ========================================================================== */
.rd-more { background: #fff; color: var(--rd-ink); }
.rd-trust__title {
  font-family: var(--rd-display);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
  color: var(--rd-text-2);
}
.rd-logos {
  position: relative;
  margin-top: 1.75rem;
  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 70s 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: var(--h, 1.875rem);
  max-width: 9.5rem;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: multiply;
  opacity: .62;
  transition: opacity .3s, filter .3s;
}
.rd-logos__list img:hover { opacity: 1; filter: none; }
@keyframes rd-marquee { to { transform: translateX(-50%); } }

.rd-more__res { margin-top: clamp(4rem, 7vw, 6.5rem); }
.rd-more__title { max-width: 22ch; font-size: clamp(1.875rem, 1.2rem + 1.9vw, 3.125rem); }
.rd-res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(2.25rem, 4vw, 3.5rem); }
.rd-res {
  --tone: var(--rd-blue);
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(10, 35, 60, .08), 1px 12px 34px rgba(0, 0, 0, .04);
  overflow: clip;
  transition: translate .45s var(--rd-ease), box-shadow .45s var(--rd-ease);
}
.rd-res:hover { translate: 0 -4px; box-shadow: 0 0 0 1px rgba(10, 35, 60, .08), 1px 20px 44px rgba(0, 0, 0, .1); }
.rd-res__band {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  aspect-ratio: 16 / 7;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  background: radial-gradient(90% 120% at 0% 100%, color-mix(in srgb, var(--tone) 70%, #000) 0%, var(--tone) 70%);
  color: #fff;
  overflow: clip;
  isolation: isolate;
}
.rd-res__band::before {
  content: "";
  position: absolute;
  right: -9rem;
  top: -9rem;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, .16) 0 1px, transparent 1px 2.25rem);
  -webkit-mask-image: radial-gradient(circle, #000 12%, transparent 66%);
  mask-image: radial-gradient(circle, #000 12%, transparent 66%);
  transition: transform .9s var(--rd-ease);
}
.rd-res:hover .rd-res__band::before { transform: scale(1.12); }
.rd-res__icon { width: 2.25rem; height: 2.25rem; stroke: #fff; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rd-res__type { font-family: var(--rd-display); font-size: clamp(1.375rem, 1.1rem + .8vw, 1.875rem); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; text-align: right; }
.rd-res__body { display: flex; flex: 1; flex-direction: column; gap: .75rem; padding: 1.5rem 1.5rem 1.75rem; }
.rd-res__title { display: block; font-family: var(--rd-display); font-size: clamp(1.125rem, 1.02rem + .3vw, 1.3125rem); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; }
.rd-res__text { display: block; font-size: 1rem; line-height: 1.55; color: var(--rd-text-2); }
.rd-res__cta { margin-top: auto; padding-top: .75rem; }
.rd-res:hover .rd-link__caret { background: currentColor; transform: translateX(2px); }
.rd-res:hover .rd-link__caret svg { color: #fff; }
@supports (grid-template-rows: subgrid) {
  .rd-res { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .rd-res__body { display: contents; }
  .rd-res__title { padding: 1.5rem 1.5rem 0; }
  .rd-res__text { padding: .75rem 1.5rem 0; }
  .rd-res__cta { align-self: end; padding: 1.25rem 1.5rem 1.75rem; }
}

/* ==========================================================================
   6. Final (the template's closing block)
   ========================================================================== */
.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;
}
/* gl.js spells these in dots, which need a little more size than ink to stay readable */
.rd-fq--1 { --x: 16%; --y: 20%; --fs: clamp(1.375rem, .6rem + .95vw, 1.75rem); }
.rd-fq--2 { --x: 83%; --y: 15%; --fs: clamp(1.25rem, .5rem + .9vw, 1.625rem); }
.rd-fq--3 { --x: 13%; --y: 58%; --fs: clamp(1.125rem, .4rem + .85vw, 1.5rem); }
.rd-fq--4 { --x: 86%; --y: 54%; --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.5rem;
  padding-top: clamp(1rem, 3vw, 3rem);
  padding-bottom: clamp(9rem, 15vw, 14rem);
}
.rd-final__title { max-width: 22ch; font-size: clamp(2.25rem, 1.05rem + 3.4vw, 4.75rem); line-height: 1.06; letter-spacing: -.035em; }
.rd-final__beat { display: inline-block; }
.rd-final__lead { color: rgba(255, 255, 255, .8); }
.rd-final .rd-cta-row { margin-top: .75rem; }

/* ---------- Motion start states (only when JS + GSAP will run) ---------- */
.rd-motion .rd-line__inner { transform: translateY(105%); }
.rd-motion .rd-bhero [data-rd-hero],
.rd-motion .rd-scale,
.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, plus 1199 for the wide layouts)
   ========================================================================== */
@media (max-width: 1199px) {
  .rd-bhero__inner { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 2.5rem; }
  .rd-bhero__side { --fx: 62%; width: min(100%, 44rem); min-height: 0; }
  .rd-sig { flex: none; height: 9.5rem; min-height: 0; }
  .rd-causes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .rd-whatif__foot { grid-template-columns: minmax(0, 1fr); }
  .rd-res-grid { grid-template-columns: 1fr; max-width: 40rem; }
  @supports (grid-template-rows: subgrid) {
    .rd-res { display: flex; }
    .rd-res__body { display: flex; }
    .rd-res__title,
    .rd-res__text,
    .rd-res__cta { padding: 0; }
    .rd-res__cta { align-self: flex-start; padding-top: .75rem; }
  }
  .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 { --rd-radius-sheet: 2rem; }
  .rd-scale__item { grid-template-columns: 5.75rem minmax(0, 1fr); }
  .rd-causes { grid-template-columns: minmax(0, 1fr); }
  .rd-ntag { font-size: .5625rem; padding: .3125rem .5rem .3125rem .4375rem; }
  .rd-logos__list img { height: calc(var(--h, 1.875rem) * .85); }
}

@media (max-width: 479px) {
  .rd-bhero__inner { padding-top: 2.5rem; }
  .rd-scale { padding: 1.25rem; }
  .rd-scale__item { grid-template-columns: 5.25rem minmax(0, 1fr); gap: .75rem; }
  .rd-btn { padding-left: 1.25rem; font-size: 1rem; }
}

/* ==========================================================================
   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: 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; }
/* Behind the copy the lines stay quiet: the side column is where they converge */
.rd-gl--hero {
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .34) calc(var(--rd-sx, 58%) - 22rem), #000 calc(var(--rd-sx, 58%) - 2rem));
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .34) calc(var(--rd-sx, 58%) - 22rem), #000 calc(var(--rd-sx, 58%) - 2rem));
}
@media (max-width: 1199px) {
  .rd-gl--hero {
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .18) calc(var(--rd-sy, 50%) - 8rem), #000 calc(var(--rd-sy, 50%) - 1rem));
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .18) calc(var(--rd-sy, 50%) - 8rem), #000 calc(var(--rd-sy, 50%) - 1rem));
  }
}
/* Resolution: the particles take over from the CSS words and glow */
.rd-final.is-gl .rd-final__questions { visibility: hidden; }
.rd-final.is-gl .rd-final__glow { opacity: .5; transition: opacity 1.5s; }

/* QA captures: no transitions, so a seeked frame is exactly that frame */
html.rd-qa .rd-race *,
html.rd-qa .rd-race *::before,
html.rd-qa .rd-race *::after { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .rd *,
  .rd *::before,
  .rd *::after { transition-duration: .01ms !important; animation: none !important; }
  /* nothing moves, so nothing to pause */
  .rd-bhero.is-gl .rd-sig__toggle { display: none; }
}
