/* Referral Connect: the shared band and strip (2026-11-23).
   "We refer you directly to recruiters." is the key differentiator, shown the same way on every
   MobiusEngine page, the Mogi site and the Mogi web app. Paste the markup from snippet.html.

   Two forms, night by default, light with a modifier:
     .rc-band   the full section: label, headline, line, the two numbers, three steps on one rail,
                the logo wall, button, fine print.            Light: .rc-band.rc-band--light
     .rc-strip  one compact panel for tight places (an app banner, the top of a pricing page,
                under a hero).                                 Light: .rc-strip.rc-strip--light

   Self-contained on purpose:
   - every class starts with rc-, and every colour is a literal value set on .rc-band / .rc-strip,
     never read from the host page (the Mogi app redefines --ink, which would put dark text on navy);
   - both forms size themselves from their own width (container queries), so the same markup is
     right full width on a marketing page and inside a narrow column in the app;
   - the only fonts are Figtree (headlines) and IBM Plex Sans (text); load them on the host page
     (the Mogi web app already bundles both in src/main.tsx).

   Motion: in the band a faint light runs along the step rail to "We introduce you", the end dot
   rings, and one logo in the wall brightens (one per 7 s loop, 18 logos, 126 s for the set). CSS
   only; referral.js only pauses it while the band is off screen. Under prefers-reduced-motion, and
   in print, nothing moves and every word and logo is still there.

   House rules (founder review): one sans family, one heavy weight, no serif or italic words, no
   gradient text, no mono caps labels, no numbered steps, no badges, cards carry no paragraphs.
   Logos are a factual "our network includes recruiters at" list: monochrome, even, never reshaped.
   Docs: docs/implementation/referral_connect.md */

/* ================================================================== Tokens (night, the default) */
.rc-band,
.rc-strip {
  --rc-bg: #04071a;
  --rc-bg-top: #070c24;
  --rc-ink: #f1f4fb;
  --rc-dim: #b4bdd6;
  --rc-faint: rgba(241, 244, 251, 0.58);    /* 13.5px fine print: about 5.3:1 on the night */
  --rc-line: rgba(255, 255, 255, 0.10);
  --rc-line-strong: rgba(255, 255, 255, 0.22);
  --rc-dot-ring: rgba(241, 244, 251, 0.42);
  --rc-accent: #8cc8ff;
  --rc-lit: #2f9bf0;
  --rc-lit-ring: rgba(47, 155, 240, 0.18);
  --rc-lit-glow: rgba(47, 155, 240, 0.6);
  --rc-light: rgba(186, 222, 255, 0.95);    /* the light that runs along the rail */
  --rc-glow: rgba(47, 155, 240, 0.15);
  --rc-rim: rgba(140, 200, 255, 0.36);
  --rc-logo-filter: brightness(0) invert(1);
  --rc-logo-filter-lit: brightness(0) invert(1) drop-shadow(0 0 14px rgba(140, 200, 255, 0.55));
  --rc-logo-op: 0.7;
  --rc-logo-op-lit: 1;

  --rc-display: "Figtree", "Figtree Variable", "Helvetica Neue", Arial, sans-serif; /* the Mogi app bundles Figtree as "Figtree Variable" */
  --rc-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rc-ease: cubic-bezier(0.16, 1, 0.3, 1);

  position: relative;
  isolation: isolate;
  color: var(--rc-ink);
  font-family: var(--rc-body);
  font-size: 17px;
  line-height: 1.6;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.rc-band *, .rc-band *::before, .rc-band *::after,
.rc-strip *, .rc-strip *::before, .rc-strip *::after { box-sizing: border-box; }

/* Light: ivory, for the Mogi web app and light pages */
.rc-band--light,
.rc-strip--light {
  --rc-bg: #f6f3ec;
  --rc-bg-top: #fbfaf6;
  --rc-ink: #0b1324;
  --rc-dim: rgba(11, 19, 36, 0.7);
  --rc-faint: rgba(11, 19, 36, 0.64);       /* about 5.4:1 on ivory (AA for small text) */
  --rc-line: rgba(11, 19, 36, 0.10);
  --rc-line-strong: rgba(11, 19, 36, 0.24);
  --rc-dot-ring: rgba(11, 19, 36, 0.4);
  --rc-accent: #0a5fb8;
  --rc-lit: #1474d4;
  --rc-lit-ring: rgba(20, 116, 212, 0.14);
  --rc-lit-glow: rgba(20, 116, 212, 0.38);
  --rc-light: rgba(20, 116, 212, 0.9);
  --rc-glow: rgba(47, 155, 240, 0.07);
  --rc-rim: rgba(10, 95, 184, 0.2);
  --rc-logo-filter: brightness(0);
  --rc-logo-filter-lit: brightness(0) drop-shadow(0 0 12px rgba(20, 116, 212, 0.3));
  --rc-logo-op: 0.6;
  --rc-logo-op-lit: 0.95;
}

/* ================================================================== Shared parts */
.rc-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.rc-label {
  margin: 0;
  font-family: var(--rc-display); font-weight: 600; font-size: 17px;
  line-height: 1.3; letter-spacing: -0.005em; color: var(--rc-accent);
}
.rc-lede { margin: 0; color: var(--rc-dim); text-wrap: pretty; }

.rc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.rc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border: 0; border-radius: 999px;
  font-family: var(--rc-display); font-weight: 700; font-size: 16.5px; line-height: 1;
  letter-spacing: -0.005em; white-space: nowrap;
  color: #fff; text-decoration: none;
  /* starts deeper than the brand blue so the white label stays AA */
  background: linear-gradient(135deg, #2b8fe6 0%, #1474d4 50%, #0a5fb8 100%);
  box-shadow: 0 14px 40px -14px rgba(47, 155, 240, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.35s var(--rc-ease), box-shadow 0.35s var(--rc-ease);
}
.rc-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 50px -14px rgba(47, 155, 240, 1), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.rc-btn:active { transform: none; }
.rc-btn svg, .rc-link svg { display: block; flex: none; transition: transform 0.35s var(--rc-ease); }
.rc-btn svg { width: 18px; height: 18px; }
.rc-btn:hover svg { transform: translateX(3px); }
.rc-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0;
  font-family: var(--rc-display); font-weight: 700; font-size: 16px; line-height: 1.2;
  letter-spacing: -0.005em; color: var(--rc-ink); text-decoration: none;
}
.rc-link span { padding-bottom: 2px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--rc-ease); }
.rc-link:hover { color: var(--rc-ink); }
.rc-link:hover span { background-size: 100% 1px; }
.rc-link svg { width: 16px; height: 16px; }
.rc-link:hover svg { transform: translateY(2px); }
.rc-band a:focus-visible, .rc-strip a:focus-visible { outline: 2px solid var(--rc-accent); outline-offset: 4px; border-radius: 999px; }
.rc-fine { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--rc-faint); }

/* The two numbers: a pair split by one hairline. Each column is as wide as its number
   (width: min-content) and the label wraps inside it. */
.rc-stats { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; }
.rc-stat { flex: none; width: min-content; margin: 0; padding: 0 0 0 var(--rc-stat-gap, 40px); border-left: 1px solid var(--rc-line-strong); }
.rc-stat:first-child { padding: 0 var(--rc-stat-gap, 40px) 0 0; border-left: 0; }
.rc-num {
  display: block;
  font-family: var(--rc-display); font-weight: 800;
  line-height: 0.9; letter-spacing: -0.05em; white-space: nowrap;
  font-variant-numeric: lining-nums; color: var(--rc-ink);
  margin-left: -0.035em; /* the digits' side bearing; keeps the 3 on the column edge */
}
.rc-num-label { display: block; margin-top: 14px; font-size: 15.5px; line-height: 1.4; color: var(--rc-dim); }
.rc-nw { white-space: nowrap; } /* "referral network" never splits, so it never sits alone */

.rc-caption { margin: 0; font-family: var(--rc-display); font-weight: 600; font-size: 16px; line-height: 1.4; letter-spacing: -0.005em; color: var(--rc-dim); }

/* Logos: one optical height times the manifest scale (--s). A mark wider than its cell scales down
   whole (object-fit), never squashed. Monochrome by filter. */
.rc-logos, .rc-strip-logos { list-style: none; margin: 0; padding: 0; display: grid; }
.rc-logos li, .rc-strip-logos li { margin: 0; padding: 0 6%; min-width: 0; display: flex; align-items: center; justify-content: center; }
.rc-logo {
  display: block; flex: none; width: auto; max-width: 100%; object-fit: contain;
  height: calc(var(--rc-logo-h, 24px) * var(--s, 1));
  filter: var(--rc-logo-filter); opacity: var(--rc-logo-op);
}

/* ================================================================== The band */
.rc-band {
  container: rc-band / inline-size;
  overflow: hidden;
  overflow: clip;
  background:
    radial-gradient(56% 40% at 12% 0%, var(--rc-glow), transparent 72%),
    radial-gradient(40% 26% at 88% 62%, rgba(47, 155, 240, 0.05), transparent 72%),
    linear-gradient(180deg, var(--rc-bg-top) 0%, var(--rc-bg) 58%);
}
.rc-band--light {
  background:
    radial-gradient(56% 40% at 12% 0%, var(--rc-glow), transparent 72%),
    linear-gradient(180deg, var(--rc-bg-top) 0%, var(--rc-bg) 64%);
}
/* A lit top edge, brightest over the headline, gone at both ends */
.rc-band::before {
  content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--rc-rim) 22%, var(--rc-line) 70%, transparent 100%);
}

.rc-wrap {
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: clamp(80px, 11cqi, 164px) clamp(16px, 4cqi, 32px) clamp(80px, 9cqi, 132px);
}

/* --- Headline. Phone first; bigger layouts below. */
.rc-band .rc-label { margin-bottom: 18px; }
.rc-title {
  margin: 0; max-width: 11.6em;
  font-family: var(--rc-display); font-weight: 800;
  font-size: clamp(40px, 12.6cqi, 60px); line-height: 0.96; letter-spacing: -0.045em;
  color: var(--rc-ink); text-wrap: balance;
}

/* --- Pitch, button and the two numbers */
.rc-intro {
  margin-top: clamp(40px, 5.4cqi, 84px);
  padding-top: clamp(28px, 3cqi, 40px);
  border-top: 1px solid var(--rc-line);
  display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 48px;
}
.rc-band .rc-lede { max-width: 26em; font-size: clamp(18px, 1.5cqi, 21px); line-height: 1.5; }
.rc-band .rc-actions { margin-top: 28px; }
.rc-band .rc-fine { margin-top: 18px; }
.rc-band .rc-stats { --rc-stat-gap: 22px; }
.rc-band .rc-num { font-size: clamp(32px, 11.8cqi, 64px); } /* both numbers fit side by side down to a 320px phone */

/* --- How it works: three steps on one rail. Phone: a vertical rail. */
.rc-how { margin-top: clamp(64px, 8cqi, 116px); }
.rc-steps {
  --rc-dot: 11px;
  --rc-row-gap: 34px;
  --rc-col-gap: clamp(28px, 5cqi, 72px);
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--rc-row-gap);
}
.rc-step { position: relative; margin: 0; padding: 0 0 0 34px; }
.rc-step-title {
  display: block; margin: 0;
  font-family: var(--rc-display); font-weight: 700; font-size: clamp(21px, 1.9cqi, 25px);
  line-height: 1.2; letter-spacing: -0.02em; color: var(--rc-ink);
}
.rc-step-line { display: block; margin-top: 6px; max-width: 21em; font-size: 16px; line-height: 1.5; color: var(--rc-dim); text-wrap: pretty; }
/* The dots: hollow, and the last one (We introduce you) lit, because that is the point */
.rc-dot {
  position: absolute; left: 0; top: 7px;
  width: var(--rc-dot); height: var(--rc-dot); border-radius: 50%;
  border: 1.5px solid var(--rc-dot-ring); background: var(--rc-bg);
}
.rc-step:last-child .rc-dot {
  border-color: var(--rc-lit); background: var(--rc-lit);
  box-shadow: 0 0 0 4px var(--rc-lit-ring), 0 0 18px var(--rc-lit-glow);
}
.rc-step:last-child .rc-dot::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%;
  border: 1px solid var(--rc-lit); opacity: 0;
}
/* The rail between dots (::before) and the light that runs along it (::after) */
.rc-step:not(:last-child)::before,
.rc-step:not(:last-child)::after {
  content: ""; position: absolute; pointer-events: none;
  left: 5px; width: 1px;
  top: calc(7px + var(--rc-dot) + 8px);
  bottom: calc(-1 * var(--rc-row-gap) + 7px - 8px);
}
.rc-step:not(:last-child)::before { background: var(--rc-line-strong); }
.rc-step:not(:last-child)::after {
  left: 4px; width: 3px;
  background: linear-gradient(180deg, transparent, var(--rc-light) 50%, transparent) no-repeat;
  background-size: 100% 45%;
  background-position: 0 -82%;
  border-radius: 2px;
  filter: drop-shadow(0 0 4px var(--rc-lit-glow));
}

/* --- The network */
.rc-network { margin-top: clamp(64px, 8cqi, 112px); }
.rc-band .rc-caption { margin-bottom: 22px; }
.rc-logos {
  --rc-logo-h: 17px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 10px;
}
.rc-logos li { height: 54px; }

/* ------------------------------------------------ Band: larger phones and small tablets (560+) */
@container rc-band (min-width: 560px) {
  .rc-title { font-size: clamp(56px, 10.6cqi, 112px); }
  .rc-band .rc-stats { --rc-stat-gap: clamp(28px, 4cqi, 48px); }
  .rc-band .rc-num { font-size: clamp(60px, 10.4cqi, 92px); }
  .rc-logos { --rc-logo-h: 21px; gap: 10px 18px; }
  .rc-logos li { height: 66px; }
}

/* ------------------------------------------------ Band: steps side by side (720+) */
@container rc-band (min-width: 720px) {
  .rc-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--rc-col-gap); row-gap: 0; }
  .rc-step { padding: 34px 0 0; }
  .rc-dot { top: 0; }
  .rc-step:not(:last-child)::before,
  .rc-step:not(:last-child)::after {
    top: 5px; bottom: auto; height: 1px;
    left: calc(var(--rc-dot) + 10px);
    width: calc(100% + var(--rc-col-gap) - var(--rc-dot) - 20px);
  }
  .rc-step:not(:last-child)::after {
    top: 4px; height: 3px;
    background: linear-gradient(90deg, transparent, var(--rc-light) 50%, transparent) no-repeat;
    background-size: 45% 100%;
    background-position: -82% 0;
  }
  /* the wall goes 6 x 3 here: a tablet keeps it a short block */
  .rc-logos { grid-template-columns: repeat(6, minmax(0, 1fr)); --rc-logo-h: 18px; gap: 6px 12px; }
  .rc-logos li { height: 62px; padding: 0 2%; }
}

/* ------------------------------------------------ Band: desktop (940+) */
@container rc-band (min-width: 940px) {
  .rc-title { font-size: clamp(80px, 9.4cqi, 112px); line-height: 0.95; }
  /* Pitch on the left, the numbers on the right; the numbers' labels end on the fine print's line,
     so the lower half is one block. */
  .rc-intro { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(48px, 6cqi, 96px); align-items: end; }
  .rc-band .rc-stats { --rc-stat-gap: clamp(36px, 4.2cqi, 56px); }
  .rc-band .rc-num { font-size: clamp(64px, 6.6cqi, 88px); }
  .rc-band .rc-num-label { margin-top: 16px; max-width: 11em; }
  .rc-logos { --rc-logo-h: 24px; gap: 12px 24px; }
  .rc-logos li { height: 76px; padding: 0 6%; }
}

/* ------------------------------------------------ Band: phone (under 560) */
@container rc-band (max-width: 559.98px) {
  .rc-band .rc-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rc-band .rc-btn { width: 100%; height: 58px; }
  .rc-band .rc-fine { margin-top: 10px; }
  .rc-band .rc-num-label { font-size: 15px; }
}

/* ================================================================== The strip */
.rc-strip {
  container: rc-strip / inline-size;
  overflow: hidden;
  overflow: clip;
  width: 100%;
  border-radius: 28px;
  background:
    radial-gradient(60% 90% at 0% 0%, var(--rc-glow), transparent 70%),
    linear-gradient(180deg, #0a1129 0%, #060a1f 100%);
  box-shadow: inset 0 0 0 1px var(--rc-line), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 90px -50px rgba(0, 0, 0, 0.7);
}
.rc-strip--light {
  background:
    radial-gradient(60% 90% at 0% 0%, var(--rc-glow), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%);
  box-shadow: inset 0 0 0 1px var(--rc-line), 0 30px 70px -44px rgba(11, 19, 36, 0.32);
}
.rc-strip-in {
  padding: clamp(24px, 6cqi, 52px) clamp(20px, 5.4cqi, 56px);
  display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 30px;
  grid-template-areas: "head" "stats" "cta" "net";
}
.rc-strip-head { grid-area: head; }
.rc-strip .rc-label { font-size: 16px; margin-bottom: 12px; }
.rc-strip-title {
  margin: 0; max-width: 14em;
  font-family: var(--rc-display); font-weight: 800;
  font-size: clamp(30px, 9.4cqi, 40px); line-height: 1; letter-spacing: -0.04em;
  color: var(--rc-ink); text-wrap: balance;
}
.rc-strip .rc-lede { margin-top: 14px; max-width: 34em; font-size: 16.5px; line-height: 1.5; }
.rc-strip .rc-actions { grid-area: cta; gap: 10px 22px; }
.rc-strip .rc-btn { height: 52px; padding: 0 26px; font-size: 16px; }
.rc-strip .rc-stats { grid-area: stats; --rc-stat-gap: 22px; }
.rc-strip .rc-num { font-size: clamp(30px, 10.6cqi, 52px); }
.rc-strip .rc-num-label { margin-top: 10px; font-size: 14.5px; }
.rc-strip-net { grid-area: net; margin-top: 4px; padding-top: 26px; border-top: 1px solid var(--rc-line); }
.rc-strip .rc-caption { margin-bottom: 14px; font-size: 15px; }
.rc-strip-logos {
  --rc-logo-h: 17px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 10px;
}
.rc-strip-logos li { height: 48px; }
.rc-strip-logos .rc-strip-extra { display: none; } /* the two widest marks show only where a cell can hold them */

/* Phone: the button spans the panel */
@container rc-strip (max-width: 519.98px) {
  .rc-strip .rc-actions { flex-direction: column; align-items: flex-start; }
  .rc-strip .rc-btn { width: 100%; }
}

/* Medium: all eight logos, four across */
@container rc-strip (min-width: 520px) {
  .rc-strip-title { font-size: clamp(34px, 6.4cqi, 48px); }
  .rc-strip .rc-stats { --rc-stat-gap: 32px; }
  .rc-strip-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); --rc-logo-h: 19px; }
  .rc-strip-logos .rc-strip-extra { display: flex; }
}

/* Wide: words left, numbers right, one row of eight logos under a hairline */
@container rc-strip (min-width: 880px) {
  /* the numbers' labels end level with the button row */
  .rc-strip-in {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "head stats" "cta stats" "net net";
    column-gap: clamp(40px, 6cqi, 88px); row-gap: 26px;
  }
  .rc-strip .rc-stats { align-self: end; }
  .rc-strip-net { margin-top: 10px; }
  .rc-strip-title { font-size: clamp(38px, 4.3cqi, 50px); }
  .rc-strip .rc-num { font-size: clamp(48px, 5.4cqi, 64px); }
  .rc-strip .rc-stats { --rc-stat-gap: clamp(28px, 3.4cqi, 44px); }
  .rc-strip-net { padding-top: 30px; }
  .rc-strip-logos { grid-template-columns: repeat(6, minmax(0, 1fr)); --rc-logo-h: 20px; gap: 0 14px; }
  .rc-strip-logos li { height: 52px; padding: 0 4%; }
  .rc-strip-logos .rc-strip-extra { display: none; }
}

/* Wider: room for all eight in one row */
@container rc-strip (min-width: 1080px) {
  .rc-strip-logos { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .rc-strip-logos .rc-strip-extra { display: flex; }
}

/* ================================================================== Motion (band only) */
/* One 7 s loop: the light crosses the first rail (0 to 20%), the second (18 to 38%), the end dot
   rings (36 to 64%), and one logo brightens (its slot's 38 to 100%). The logos take turns in a
   scattered order, one per loop: 18 logos x 7 s = 126 s. */
@media (prefers-reduced-motion: no-preference) {
  .rc-step:nth-child(1)::after { animation: rc-run-a 7s infinite; }
  .rc-step:nth-child(2)::after { animation: rc-run-b 7s infinite; }
  .rc-step:nth-child(2) .rc-dot { animation: rc-pass 7s infinite; }
  .rc-step:last-child .rc-dot::after { animation: rc-ring 7s infinite; }
  .rc-logos .rc-logo { animation: rc-lit 126s infinite; animation-delay: calc(var(--rc-k, 0) * 7s); }

  @container rc-band (min-width: 720px) {
    .rc-step:nth-child(1)::after { animation-name: rc-run-a-x; }
    .rc-step:nth-child(2)::after { animation-name: rc-run-b-x; }
  }

  /* referral.js adds .rc-paused while the band is off screen */
  .rc-band.rc-paused *, .rc-band.rc-paused *::before, .rc-band.rc-paused *::after { animation-play-state: paused; }
}

/* the order the logos light in (by position in the wall) */
.rc-logos li:nth-child(1)  { --rc-k: 0; }
.rc-logos li:nth-child(2)  { --rc-k: 11; }
.rc-logos li:nth-child(3)  { --rc-k: 5; }
.rc-logos li:nth-child(4)  { --rc-k: 14; }
.rc-logos li:nth-child(5)  { --rc-k: 2; }
.rc-logos li:nth-child(6)  { --rc-k: 8; }
.rc-logos li:nth-child(7)  { --rc-k: 15; }
.rc-logos li:nth-child(8)  { --rc-k: 3; }
.rc-logos li:nth-child(9)  { --rc-k: 10; }
.rc-logos li:nth-child(10) { --rc-k: 6; }
.rc-logos li:nth-child(11) { --rc-k: 17; }
.rc-logos li:nth-child(12) { --rc-k: 1; }
.rc-logos li:nth-child(13) { --rc-k: 12; }
.rc-logos li:nth-child(14) { --rc-k: 7; }
.rc-logos li:nth-child(15) { --rc-k: 16; }
.rc-logos li:nth-child(16) { --rc-k: 4; }
.rc-logos li:nth-child(17) { --rc-k: 13; }
.rc-logos li:nth-child(18) { --rc-k: 9; }

@keyframes rc-run-a {
  0% { background-position: 0 -82%; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  20%, 100% { background-position: 0 182%; }
}
@keyframes rc-run-b {
  0%, 18% { background-position: 0 -82%; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  38%, 100% { background-position: 0 182%; }
}
@keyframes rc-run-a-x {
  0% { background-position: -82% 0; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  20%, 100% { background-position: 182% 0; }
}
@keyframes rc-run-b-x {
  0%, 18% { background-position: -82% 0; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  38%, 100% { background-position: 182% 0; }
}
@keyframes rc-pass {
  0%, 15%, 30%, 100% { border-color: var(--rc-dot-ring); box-shadow: none; }
  20% { border-color: var(--rc-accent); box-shadow: 0 0 12px var(--rc-lit-glow); }
}
@keyframes rc-ring {
  0%, 36% { transform: scale(1); opacity: 0; }
  40% { transform: scale(1.2); opacity: 0.9; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
  66%, 100% { transform: scale(3.4); opacity: 0; }
}
@keyframes rc-lit {
  0%, 2.1% { opacity: var(--rc-logo-op); filter: var(--rc-logo-filter); animation-timing-function: ease-out; }
  2.9%, 4.6% { opacity: var(--rc-logo-op-lit); filter: var(--rc-logo-filter-lit); animation-timing-function: ease-in-out; }
  5.5%, 100% { opacity: var(--rc-logo-op); filter: var(--rc-logo-filter); }
}

/* ================================================================== Reduced motion and print */
@media (prefers-reduced-motion: reduce) {
  .rc-band *, .rc-band *::before, .rc-band *::after,
  .rc-strip *, .rc-strip *::before, .rc-strip *::after { animation: none !important; }
  .rc-step::after, .rc-step:last-child .rc-dot::after { display: none; }
  .rc-btn, .rc-btn svg, .rc-link svg, .rc-link span { transition: none; }
  .rc-btn:hover { transform: none; }
}
@media print {
  .rc-band *, .rc-band *::before, .rc-band *::after { animation: none !important; }
  .rc-step::after, .rc-step:last-child .rc-dot::after { display: none; }
}
