/* =============================================================
   ReactView platform case study — product / deep-build layout
   Loaded after styles.css; consumes the page-local token block
   set on #top (--ink, --grad, --paper, --blue, --purple, …),
   which matches case-reactview-appstore.html so the two
   ReactView case studies read as one family.
   Namespace: .rv-*
   ============================================================= */

/* ---------- Accent tokens ---------- */
#top {
  --rv-blue: #1A5FB4;             /* text-safe on paper */
  --rv-blue-deep: #123C74;
  --rv-blue-light: #6BA6F0;       /* graphics on dark surfaces */
  --rv-purple: #8B5CF6;
  --rv-purple-deep: #6D28D9;      /* text-safe on paper */
  --rv-accent-soft: rgba(26, 95, 180, 0.075);
  --rv-accent-line: rgba(26, 95, 180, 0.22);
  --rv-grad-cool: linear-gradient(95deg, #1A5FB4, #8B5CF6);
  --rv-grad-dark: linear-gradient(95deg, #6BA6F0, #C4B5FD);
}

/* ---------- Scroll reveal (progressive enhancement, js/reveal.js)
   Only applies once <html> gets .nc-reveal, so with JS off,
   reduced motion, or no IntersectionObserver everything shows. */
html.nc-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
html.nc-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Layout primitives ---------- */
.rv-section { padding: clamp(60px, 7.5vw, 116px) var(--gutter); }
.rv-section--tight { padding-top: clamp(20px, 3vw, 40px); }
.rv-section--flush { padding-bottom: clamp(24px, 3vw, 44px); }
/* .rv-section--rule: the line itself lives in styles.css (.nc-rule group) so it
   stays inside the content column instead of spanning the viewport. */
.rv-wrap { max-width: var(--container-inner); margin-inline: auto; }
.rv-wrap--narrow { max-width: 900px; margin-inline: auto; }
.rv-prose { max-width: 62ch; }

/* ---------- Shared type ---------- */
.rv-eyebrow {
  margin: 0 0 18px;
  font-family: var(--ff-title); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-45);
}
.rv-eyebrow--dark { color: var(--on-dark-muted); }

.rv-h2 {
  font-family: var(--ff-title); font-weight: 700;
  font-size: clamp(1.95rem, 4.1vw, 2.95rem);
  line-height: 1.03; letter-spacing: -0.035em;
  color: var(--ink); margin: 0; text-wrap: balance;
}
.rv-h2--dark { color: #fff; }
.rv-h3 {
  font-family: var(--ff-title); font-weight: 700; font-size: 20px;
  line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 10px;
}
.rv-lead {
  font-family: var(--ff-body); font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6; color: var(--ink-60); margin: 22px 0 0;
}
.rv-body { font-family: var(--ff-body); font-size: 16.5px; line-height: 1.65; color: var(--ink-60); margin: 0; }
.rv-body + .rv-body { margin-top: 16px; }
.rv-grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rv-grad--dark {
  background: var(--rv-grad-dark); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.rv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-title); font-size: 15px; font-weight: 600;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s, background-color 0.3s, border-color 0.3s, color 0.3s;
  white-space: nowrap;
}
.rv-btn__arrow { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.rv-btn:hover .rv-btn__arrow { transform: translateX(3px); }

/* Black, matching the site-wide .btn--dark CTA rather than the page accent. */
.rv-btn--primary { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -16px rgba(10, 10, 8, 0.7); }
.rv-btn--primary:hover { background: var(--ink-elevated); transform: translateY(-2px); box-shadow: 0 20px 38px -16px rgba(10, 10, 8, 0.8); }

.rv-btn--ghost { border-color: var(--border-ink-strong); color: var(--ink); }
.rv-btn--ghost:hover { border-color: var(--ink); background: rgba(10, 10, 8, 0.05); transform: translateY(-2px); }

.rv-btn--light { background: #fff; color: var(--ink); }
.rv-btn--light:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.6); }

.rv-btn--ghost-dark { border-color: rgba(255, 255, 255, 0.3); color: var(--on-dark); }
.rv-btn--ghost-dark:hover { border-color: rgba(255, 255, 255, 0.72); color: #fff; transform: translateY(-2px); }

/* ---------- Hero engagement strip ---------- */
.rv-engage {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(28px, 3.6vw, 40px);
  border: 1px solid var(--border-ink); border-radius: 20px; overflow: hidden;
}
.rv-engage__item { padding: 16px clamp(18px, 2vw, 26px); }
.rv-engage__item:nth-child(2n) { border-left: 1px solid var(--border-ink); }
.rv-engage__item:nth-child(n + 3) { border-top: 1px solid var(--border-ink); }
.rv-engage__term {
  font-family: var(--ff-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-45); margin: 0 0 7px;
}
.rv-engage__def {
  font-family: var(--ff-title); font-size: 15.5px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--ink); margin: 0;
}

/* ---------- Browser frame ----------
   No fixed aspect ratio: the shot keeps the screenshot's own
   proportions so nothing is cropped. The img width/height
   attributes reserve the box, so this costs no layout shift. */
.rv-browser {
  border: 1px solid var(--border-ink); border-radius: 18px; overflow: hidden;
  background: #fff; box-shadow: 0 44px 80px -40px rgba(10, 10, 8, 0.42);
}
.rv-browser__bar {
  display: flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 16px;
  background: #fff; border-bottom: 1px solid var(--border-ink);
}
.rv-browser__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(10, 10, 8, 0.1); flex: 0 0 auto; }
.rv-browser__url {
  margin-left: 12px; font-family: var(--ff-mono); font-size: 12px; color: var(--ink-35);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rv-browser__shot { position: relative; overflow: hidden; background: var(--surface-light); }
.rv-browser__shot img { width: 100%; height: auto; display: block; }

/* Dark variant, for the admin-portal screens */
.rv-browser--dark { border-color: rgba(255, 255, 255, 0.14); background: #0E1526; box-shadow: 0 40px 74px -42px rgba(0, 0, 0, 0.85); }
.rv-browser--dark .rv-browser__bar { background: #0E1526; border-bottom-color: rgba(255, 255, 255, 0.12); }
.rv-browser--dark .rv-browser__dot { background: rgba(255, 255, 255, 0.16); }
.rv-browser--dark .rv-browser__url { color: rgba(255, 255, 255, 0.42); }
.rv-browser--dark .rv-browser__shot { background: #0E1526; }

/* ---------- Trust strip: the leagues ReactView is used in ----------
   Wordmarks are set as text, matching how ReactView presents them —
   no league logo files, so no trademark assets to license. */
.rv-trust {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 4vw, 56px); flex-wrap: wrap;
  padding: clamp(26px, 3.4vw, 40px) 0;
  border-top: 1px solid var(--border-ink); border-bottom: 1px solid var(--border-ink);
}
.rv-trust__label {
  font-family: var(--ff-title); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-45); margin: 0;
}
.rv-trust__marks { display: flex; align-items: center; gap: clamp(20px, 3.4vw, 46px); flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.rv-trust__mark {
  font-family: var(--ff-title); font-weight: 800;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem); letter-spacing: -0.02em;
  color: var(--ink-25);
}

/* ---------- Reach strip: hours, teams, countries, uptime ---------- */
.rv-reach {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px); margin-top: clamp(32px, 4vw, 52px);
}
.rv-reach__item { text-align: center; }
.rv-reach__icon {
  width: 46px; height: 46px; border-radius: 14px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: var(--rv-reach-accent, var(--rv-blue));
}
.rv-reach__value {
  display: block; font-family: var(--ff-title); font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 2.85rem); line-height: 1; letter-spacing: -0.04em;
  color: var(--rv-reach-accent, var(--rv-blue));
}
.rv-reach__label {
  display: block; margin-top: 10px;
  font-family: var(--ff-title); font-size: 14px; font-weight: 600;
  letter-spacing: 0.01em; color: var(--ink-60);
}

/* ---------- Facts band (dark) ---------- */
.rv-band {
  position: relative; overflow: hidden;
  background: var(--ink); border-radius: 32px;
  padding: clamp(30px, 4vw, 52px) clamp(24px, 4vw, 56px);
}
.rv-band::before, .rv-band::after {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; pointer-events: none;
}
.rv-band::before { top: -46%; left: -6%; background: radial-gradient(circle, rgba(107, 166, 240, 0.26), transparent 68%); }
.rv-band::after { bottom: -50%; right: -6%; background: radial-gradient(circle, rgba(139, 92, 246, 0.28), transparent 68%); }

.rv-facts {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px);
}
.rv-fact { position: relative; padding-left: clamp(20px, 2.4vw, 34px); }
.rv-fact:first-child { padding-left: 0; }
.rv-fact::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.rv-fact:first-child::before { display: none; }
.rv-fact__value {
  font-family: var(--ff-title); font-weight: 800;
  font-size: clamp(2rem, 3.8vw, 3rem); line-height: 0.98; letter-spacing: -0.045em;
  color: #fff; display: block;
}
.rv-fact__value .rv-grad--dark { display: inline; }
.rv-fact__label {
  display: block; margin-top: 12px;
  font-family: var(--ff-title); font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em; color: var(--on-dark);
}
.rv-fact__note {
  display: block; margin-top: 5px;
  font-family: var(--ff-body); font-size: 13.5px; line-height: 1.45; color: var(--on-dark-muted);
}
.rv-band__source {
  position: relative; z-index: 1; margin: clamp(24px, 3vw, 34px) 0 0;
  padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--ff-mono); font-size: 12px; line-height: 1.5; color: var(--on-dark-muted);
}

/* ---------- Two-column intro ---------- */
.rv-split {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.rv-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.rv-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-title); font-size: 14px; font-weight: 600; color: var(--ink);
  background: var(--surface-light); border: 1px solid var(--border-ink);
  padding: 9px 16px; border-radius: 999px;
}
.rv-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rv-grad-cool); flex: 0 0 auto; }

.rv-quotepanel {
  position: relative; background: var(--surface-light);
  border: 1px solid var(--border-ink); border-radius: 24px;
  padding: clamp(26px, 3vw, 38px);
}
.rv-quotepanel__kicker {
  font-family: var(--ff-title); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-45); margin: 0;
}
.rv-quotepanel__mark {
  font-family: var(--ff-title); font-size: 56px; font-weight: 800; line-height: 0.7;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rv-quotepanel__text {
  font-family: var(--ff-title); font-weight: 600;
  font-size: clamp(18px, 2vw, 22px); line-height: 1.4; letter-spacing: -0.02em;
  color: var(--ink); margin: 14px 0 0;
}
.rv-quotepanel__meta {
  font-family: var(--ff-body); font-size: 14px; line-height: 1.5; color: var(--ink-45);
  margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--border-ink);
}

/* ---------- Feature rows: copy beside a real screen ----------
   Alternating sides. Equal columns on purpose: the copy and the shot
   swap places row to row, so unequal tracks would make every
   right-hand screenshot wider than every left-hand one.
   Rows are separated by a hairline rather than whitespace alone. */
.rv-features { display: grid; gap: 0; margin-top: clamp(40px, 4.6vw, 64px); }
.rv-feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 76px); align-items: center;
}
.rv-feature + .rv-feature {
  margin-top: clamp(56px, 6.5vw, 96px);
  padding-top: clamp(56px, 6.5vw, 96px);
  border-top: 1px solid var(--border-ink);
}
.rv-feature:nth-child(even) .rv-feature__copy { order: 2; }
.rv-feature__index {
  font-family: var(--ff-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--rv-blue); margin: 0 0 14px;
}
.rv-feature__title {
  font-family: var(--ff-title); font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem); line-height: 1.12; letter-spacing: -0.03em;
  color: var(--ink); margin: 0 0 18px; text-wrap: balance;
}
.rv-feature__shot { position: relative; }

/* The engineering note under each feature */
.rv-detail {
  margin-top: 26px; padding: clamp(20px, 2.2vw, 26px) clamp(22px, 2.4vw, 28px);
  background: rgba(255, 255, 255, 0.5); border: 1px solid var(--border-ink); border-radius: 16px;
}
.rv-detail__label {
  display: flex; align-items: center; gap: 8px; margin: 0 0 10px;
  font-family: var(--ff-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--rv-blue);
}
.rv-detail__text { font-family: var(--ff-body); font-size: 14.5px; line-height: 1.65; color: var(--ink-60); margin: 0; }

/* ---------- Bulleted capability list ---------- */
.rv-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.rv-list--two { grid-template-columns: 1fr 1fr; column-gap: 26px; }
.rv-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-family: var(--ff-body); font-size: 15px; line-height: 1.5; color: var(--ink-60);
}
.rv-list li::before {
  content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 8px;
  border-radius: 50%; background: var(--rv-grad-cool);
}

/* ---------- Admin plane: dark section with its own screens ---------- */
.rv-dark {
  position: relative; overflow: hidden; background: var(--ink);
  border-radius: 36px; padding: clamp(38px, 5vw, 76px) clamp(24px, 4vw, 62px);
}
.rv-dark::before, .rv-dark::after {
  content: ""; position: absolute; width: 540px; height: 540px; border-radius: 50%; pointer-events: none;
}
.rv-dark::before { top: -28%; right: -8%; background: radial-gradient(circle, rgba(107, 166, 240, 0.22), transparent 70%); }
.rv-dark::after { bottom: -32%; left: -10%; background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%); }
.rv-dark__inner { position: relative; z-index: 1; }
.rv-dark__lead { font-family: var(--ff-body); font-size: clamp(16.5px, 1.8vw, 19px); line-height: 1.6; color: var(--on-dark-muted); margin: 22px 0 0; max-width: 62ch; }

.rv-dark__shot { margin-top: clamp(30px, 3.6vw, 46px); }

/* Compact capability grid under the admin screenshot */
.rv-adminfeatures {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 3.2vw, 44px) clamp(26px, 3.4vw, 48px); margin-top: clamp(38px, 4.4vw, 58px);
}
.rv-adminfeature { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.rv-adminfeature__title {
  font-family: var(--ff-title); font-weight: 700; font-size: 15.5px;
  letter-spacing: -0.015em; color: #fff; margin: 0 0 9px;
}
.rv-adminfeature__text { font-family: var(--ff-body); font-size: 14px; line-height: 1.55; color: var(--on-dark-muted); margin: 0; }

/* ---------- Engineering module grid ---------- */
.rv-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 30px); margin-top: clamp(36px, 4.2vw, 54px); }
.rv-module {
  background: var(--surface-light); border: 1px solid var(--border-ink);
  border-radius: 18px; padding: clamp(24px, 2.6vw, 32px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}
.rv-module:hover { transform: translateY(-3px); border-color: var(--border-ink-strong); }
.rv-module__icon {
  width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--rv-accent-soft); border: 1px solid var(--rv-accent-line); color: var(--rv-blue);
  margin-bottom: 18px;
}
/* Solid icon, for the product-capability cards */
.rv-module__icon--solid { background: var(--grad); border-color: transparent; color: #fff; }
.rv-module__title { font-family: var(--ff-title); font-weight: 700; font-size: 16px; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 10px; }
.rv-module__text { font-family: var(--ff-body); font-size: 14.5px; line-height: 1.6; color: var(--ink-60); margin: 0; }

/* ---------- Provenance / caption notes ---------- */
.rv-caption { font-family: var(--ff-mono); font-size: 12px; line-height: 1.5; letter-spacing: 0.03em; color: var(--ink-35); margin: 13px 0 0; }
.rv-note {
  display: flex; gap: 13px; align-items: flex-start;
  margin-top: clamp(30px, 3.4vw, 42px); padding: clamp(18px, 2vw, 22px) clamp(20px, 2.2vw, 26px);
  border: 1px solid var(--border-ink); border-radius: 16px;
  background: rgba(255, 255, 255, 0.42);
  font-family: var(--ff-body); font-size: 14px; line-height: 1.55; color: var(--ink-45);
}
.rv-note strong { color: var(--ink); font-weight: 600; }
.rv-note svg { flex: 0 0 auto; color: var(--rv-blue); margin-top: 2px; }
.rv-caption--dark { color: rgba(255, 255, 255, 0.45); }

/* ---------- Result panel ---------- */
.rv-result { position: relative; overflow: hidden; background: var(--ink); border-radius: 32px; padding: clamp(30px, 4.4vw, 60px); }
.rv-result::before {
  content: ""; position: absolute; top: -34%; right: -8%; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 166, 240, 0.3), rgba(139, 92, 246, 0.18) 42%, transparent 70%);
  pointer-events: none;
}
.rv-result__inner { position: relative; z-index: 1; }
.rv-result__statement {
  font-family: var(--ff-title); font-weight: 600;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.28; letter-spacing: -0.03em;
  color: #fff; margin: 0; max-width: 34ch; text-wrap: balance;
}
.rv-result__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(30px, 3.6vw, 46px);
  padding-top: clamp(26px, 3vw, 38px); border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.rv-result__label { font-family: var(--ff-title); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0 0 10px; }
.rv-result__text { font-family: var(--ff-body); font-size: 15px; line-height: 1.6; color: var(--on-dark); margin: 0; }

/* ---------- Playbook cards ---------- */
.rv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 24px); margin-top: clamp(34px, 4vw, 52px); }
.rv-card {
  background: var(--surface-light); border: 1px solid var(--border-ink); border-radius: 22px;
  padding: clamp(24px, 2.6vw, 32px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.35s;
}
.rv-card:hover { transform: translateY(-4px); border-color: var(--border-ink-strong); box-shadow: 0 22px 40px -26px rgba(10, 10, 8, 0.4); }
.rv-card__icon {
  width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--rv-accent-soft); border: 1px solid var(--rv-accent-line); color: var(--rv-blue);
  margin-bottom: 18px;
}

/* ---------- FAQ ---------- */
.rv-faq { margin-top: clamp(30px, 3.6vw, 46px); border-top: 1px solid var(--border-ink); }
.rv-faq__item { border-bottom: 1px solid var(--border-ink); }
.rv-faq__item summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: clamp(20px, 2.2vw, 26px) 0; cursor: pointer; list-style: none;
  font-family: var(--ff-title); font-weight: 600; font-size: clamp(16.5px, 1.8vw, 19px);
  letter-spacing: -0.02em; color: var(--ink); transition: color 0.25s;
}
.rv-faq__item summary::-webkit-details-marker { display: none; }
.rv-faq__item summary:hover { color: var(--rv-blue); }
.rv-faq__sign { position: relative; flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; }
.rv-faq__sign::before, .rv-faq__sign::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: currentColor;
  transform: translate(-50%, -50%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}
.rv-faq__sign::before { width: 15px; height: 2px; }
.rv-faq__sign::after { width: 2px; height: 15px; }
.rv-faq__item[open] .rv-faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.rv-faq__answer {
  font-family: var(--ff-body); font-size: 16px; line-height: 1.65; color: var(--ink-60);
  margin: 0 0 clamp(22px, 2.4vw, 28px); max-width: 68ch;
}
.rv-faq__answer a { color: var(--ink); border-bottom: 1px solid rgba(10, 10, 8, 0.3); }
.rv-faq__answer a:hover { border-bottom-color: var(--rv-blue); }

/* ---------- Closing CTA ---------- */
.rv-cta {
  position: relative; overflow: hidden; background: var(--ink);
  border-radius: 36px; padding: clamp(38px, 5.6vw, 84px) clamp(26px, 4vw, 72px);
  text-align: center;
}
.rv-cta::before, .rv-cta::after {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; pointer-events: none;
}
.rv-cta::before { top: -30%; left: -8%; background: radial-gradient(circle, rgba(107, 166, 240, 0.24), transparent 70%); }
.rv-cta::after { bottom: -34%; right: -6%; background: radial-gradient(circle, rgba(139, 92, 246, 0.26), transparent 70%); }
.rv-cta__inner { position: relative; z-index: 1; }
.rv-cta .rv-eyebrow { text-align: center; }
.rv-cta__lead { font-family: var(--ff-body); font-size: clamp(16.5px, 1.8vw, 19px); line-height: 1.6; color: var(--on-dark-muted); max-width: 58ch; margin: 22px auto 0; }
.rv-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Next case study ---------- */
.rv-next {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--surface-light); border: 1px solid var(--border-ink); border-radius: 24px;
  padding: clamp(24px, 3vw, 34px) clamp(24px, 3vw, 38px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}
.rv-next:hover { transform: translateY(-3px); border-color: var(--border-ink-strong); }
.rv-next__label { font-family: var(--ff-title); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-45); margin: 0 0 8px; }
.rv-next__title { font-family: var(--ff-title); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.7rem); letter-spacing: -0.03em; color: var(--ink); margin: 0; }
.rv-next__go { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-title); font-size: 15px; font-weight: 600; color: var(--ink); }
.rv-next:hover .rv-next__go span { transform: translateX(4px); }
.rv-next__go span { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

/* ---------- Sticky mobile CTA ---------- */
.rv-sticky {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(10, 10, 8, 0.94); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px;
  padding: 12px 12px 12px 18px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateY(140%); opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}
.rv-sticky.is-in { transform: none; opacity: 1; }
.rv-sticky__text { font-family: var(--ff-title); font-size: 14px; font-weight: 600; color: #fff; line-height: 1.3; }
.rv-sticky__text span { display: block; font-family: var(--ff-body); font-size: 12.5px; font-weight: 400; color: var(--on-dark-muted); margin-top: 2px; }
.rv-sticky .rv-btn { padding: 12px 20px; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .rv-facts { grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 4vw, 34px); }
  .rv-fact:nth-child(3) { padding-left: 0; }
  .rv-fact:nth-child(3)::before { display: none; }
  .rv-result__grid { grid-template-columns: 1fr; gap: 22px; }
  .rv-cards { grid-template-columns: 1fr; }
  .rv-modules { grid-template-columns: repeat(2, 1fr); }
  .rv-adminfeatures { grid-template-columns: repeat(2, 1fr); }
  .rv-reach { grid-template-columns: repeat(2, 1fr); gap: clamp(26px, 4vw, 38px); }
}
@media (max-width: 900px) {
  .rv-split { grid-template-columns: 1fr; }
  .rv-sticky { display: flex; }
  /* Stack every feature row copy-first, overriding the alternation */
  .rv-feature { grid-template-columns: 1fr; }
  .rv-feature:nth-child(even) .rv-feature__copy { order: 0; }
}
@media (max-width: 640px) {
  .rv-engage { grid-template-columns: 1fr; }
  .rv-engage__item:nth-child(2n) { border-left: 0; }
  .rv-engage__item:nth-child(n + 2) { border-top: 1px solid var(--border-ink); }
  .rv-facts { grid-template-columns: 1fr; }
  .rv-fact { padding-left: 0; padding-top: 18px; }
  .rv-fact::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
  .rv-list--two { grid-template-columns: 1fr; }
  .rv-modules { grid-template-columns: 1fr; }
  .rv-adminfeatures { grid-template-columns: 1fr; }
  .rv-trust { flex-direction: column; gap: 20px; }
  .rv-trust__marks { gap: 26px; justify-content: center; }
  .rv-btn { width: 100%; }
  .rv-sticky .rv-btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-card, .rv-module, .rv-next, .rv-btn, .rv-sticky { transition: none; }
  .rv-card:hover, .rv-module:hover, .rv-next:hover, .rv-btn:hover { transform: none; }
}
