/* ============================================================
   REVANTA SYSTEMS — v1 page styles
   Light-first palette: paper BG with navy ink; dark bands flip.
   Loaded AFTER stack.css + kit.css; overrides starter defaults.
============================================================ */

html, body { background: var(--paper); color: var(--ink); }
body.rv { font: 400 18px/1.65 var(--text); overflow-x: clip; color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.rv h1, body.rv h2, body.rv h3, body.rv h4 {
  font-family: var(--display); font-weight: 800;
  letter-spacing: -0.025em; text-transform: none; color: var(--ink);
}
body.rv h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.05; letter-spacing: -0.03em; }
body.rv h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.1; }
body.rv h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; font-weight: 700; }
body.rv h4 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
body.rv p { font-size: 17px; line-height: 1.65; color: var(--ink); }
.ink-amber { color: var(--amber); }

/* Buttons — Revanta refresh */
body.rv .btn {
  border-radius: 999px; padding: 14px 22px; font-weight: 600;
  font-family: var(--text); font-size: 15px;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}
body.rv .btn.primary {
  background: var(--amber); color: var(--navy);
  box-shadow: 0 10px 24px -8px rgba(242, 163, 58, .55);
}
body.rv .btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(242, 163, 58, .7); }
body.rv .btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
body.rv .btn.ghost:hover { background: var(--ink); color: var(--paper); }
body.rv .btn.big { padding: 18px 30px; font-size: 16px; }
body.rv .btn.wide { width: 100%; justify-content: center; }
.sec.deep .btn.ghost { color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--paper); }
.sec.deep .btn.ghost:hover { background: var(--paper); color: var(--navy); }

/* ---------- NAV ---------- */
.rv-nav {
  position: fixed; z-index: 60; top: 16px; left: 50%; translate: -50% 0;
  width: min(1240px, calc(100% - 2 * var(--gutter)));
  display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(248, 246, 242, .82); color: var(--ink);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -14px rgba(14, 26, 43, .18), inset 0 0 0 1px rgba(14, 26, 43, .06);
}
.rv-logo { display: flex; align-items: center; height: 34px; text-decoration: none; }
.rv-logo img { height: 28px; width: auto; display: block; }
.rv-links { display: flex; gap: 22px; margin-left: auto; }
.rv-links a { font-size: 14px; font-weight: 500; opacity: .8; text-decoration: none; color: var(--ink); }
.rv-links a:hover { opacity: 1; color: var(--amber); }
.rv-cta-nav { padding: 10px 18px; font-size: 14px; }

/* ---------- HERO ---------- */
.rv-hero {
  position: relative; padding: 180px 0 100px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  overflow: clip;
}
.rv-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 500px at 85% 20%, rgba(242, 163, 58, .18), transparent 60%),
    radial-gradient(900px 400px at 10% 90%, rgba(94, 211, 224, .14), transparent 70%);
  pointer-events: none;
}
.rv-hero-inner {
  position: relative; display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 60px; align-items: center;
}
.rv-kicker {
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  text-transform: none; color: var(--amber); margin-bottom: 22px;
}
.rv-lede { margin-top: 26px; font-size: clamp(18px, 1.3vw, 21px); line-height: 1.55; max-width: 54ch; color: #0E1A2B; }
.rv-hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.rv-hero-trust { display: flex; gap: 28px; margin-top: 36px; list-style: none; padding: 0; flex-wrap: wrap; }
.rv-hero-trust li { font-size: 14px; color: #0E1A2B; font-family: var(--mono); }
.rv-hero-trust b { color: #0E1A2B; font-weight: 700; }

.rv-hero-risk {
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(242, 163, 58, .12);
  border-left: 3px solid var(--amber);
  border-radius: 8px;
  max-width: 54ch;
  color: #0E1A2B;
  font-size: 15px;
  line-height: 1.5;
}
.rv-hero-risk b { color: #0E1A2B; font-weight: 800; }
@media (max-width: 860px) {
  .rv-hero-risk { font-size: 14px; padding: 12px 14px; }
}

/* ===== Hero cinematic film (replaces the phone mockup) ===== */
.rv-hero-film {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 480px;
  margin-inline: auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 50px 100px -30px rgba(14, 26, 43, .55),
    0 0 0 1px rgba(14, 26, 43, .08),
    inset 0 0 0 1px rgba(255, 255, 255, .05);
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
  background: #0a1322;
}
.rv-hero-film:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg) translateY(-4px); }

.rv-hero-film-main {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

/* Floating accent clips — Pixar-reel depth */
.rv-hero-film-accent {
  position: absolute;
  width: 32%;
  aspect-ratio: 1;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .12);
  z-index: 3;
  transform: rotate(-3deg);
  animation: rv-hero-float 6s ease-in-out infinite;
}
.rv-hero-film-accent-tl {
  top: 6%; left: -4%;
  transform: rotate(-5deg);
  animation-delay: 0s;
}
.rv-hero-film-accent-br {
  bottom: 14%; right: -5%;
  transform: rotate(4deg);
  animation-delay: -3s;
}
@keyframes rv-hero-float {
  0%, 100% { transform: translateY(0) rotate(var(--r, -5deg)); }
  50% { transform: translateY(-10px) rotate(var(--r, -5deg)); }
}
.rv-hero-film-accent-tl { --r: -5deg; }
.rv-hero-film-accent-br { --r: 4deg; }

/* Soft brand vignette so the film sits warm, not raw */
.rv-hero-film-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 100%, rgba(14, 26, 43, .55) 0%, transparent 55%),
    linear-gradient(180deg, transparent 50%, rgba(14, 26, 43, .4) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Floating "24 trades · live" chip at the bottom of the film */
.rv-hero-film-chip {
  position: absolute; left: 50%; bottom: 22px;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: rgba(14, 26, 43, .92);
  backdrop-filter: blur(10px);
  color: var(--paper);
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid rgba(248, 246, 242, .18);
  border-radius: 999px;
  z-index: 4;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.rv-hero-film-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .25);
  animation: rv-hero-live-dot 1.4s ease-in-out infinite;
}
@keyframes rv-hero-live-dot {
  50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, .08); }
}

@media (max-width: 860px) {
  .rv-hero-film {
    max-width: 340px;
    transform: none;
    aspect-ratio: 4 / 4.5;
  }
  .rv-hero-film-accent { width: 36%; }
  .rv-hero-film-chip { font-size: 11px; padding: 8px 14px; bottom: 16px; }
}

/* Phone mockup (reused everywhere) */
.rv-phone {
  position: relative; width: min(360px, 92%); margin-inline: auto;
  aspect-ratio: 10 / 20; background: var(--navy);
  border-radius: 48px; padding: 16px;
  box-shadow:
    0 40px 80px -30px rgba(14, 26, 43, .5),
    0 0 0 2px rgba(14, 26, 43, .95),
    0 0 0 7px rgba(255, 255, 255, .06);
  transform: rotate(-2deg);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.rv-phone:hover { transform: rotate(0) translateY(-6px); }
.rv-phone-notch {
  position: absolute; top: 24px; left: 50%; translate: -50% 0;
  width: 100px; height: 26px; background: #000; border-radius: 22px; z-index: 2;
}
.rv-phone-screen {
  position: relative; height: 100%; width: 100%;
  background: linear-gradient(180deg, #1a2638, #0E1A2B);
  border-radius: 34px; overflow: hidden;
  padding: 60px 16px 18px; display: flex; flex-direction: column; gap: 12px;
  color: #fff; font-size: 15px; font-family: var(--text);
}
.rv-phone-hero { transform: rotate(3deg); }
.rv-call-miss, .rv-call-in {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px; padding: 12px 14px;
}
.rv-call-miss small, .rv-call-in small {
  display: block; opacity: .55; font-size: 11px; margin-bottom: 4px;
  letter-spacing: .04em; text-transform: uppercase;
}
.rv-call-miss b, .rv-call-in b { display: block; font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.rv-call-miss span, .rv-call-in span { font-size: 12px; opacity: .6; }
.rv-call-miss b::before { content: "✕ "; color: #FF7A5A; margin-right: 4px; }
.rv-sms { max-width: 88%; padding: 12px 14px; border-radius: 16px; font-size: 15px; line-height: 1.4; }
.rv-sms p { margin: 0; color: inherit; font-size: 15px; line-height: 1.4; font-weight: 500; }
.rv-sms small { display: block; opacity: 1; color: var(--navy); font-size: 11px; margin-bottom: 5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; }
.rv-sms a { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 800; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rv-sms-biz { background: #7FB8E8; border-top-left-radius: 6px; align-self: flex-start; color: #0E1A2B; box-shadow: 0 4px 14px rgba(127,184,232,.3); font-weight: 600; }
.rv-sms-cust { background: #E8912B; color: #0E1A2B; align-self: flex-end; border-top-right-radius: 6px; font-weight: 600; box-shadow: 0 4px 14px rgba(232,145,43,.3); }
.rv-booked {
  margin-top: auto; background: rgba(94, 211, 224, .14);
  border: 1px solid rgba(94, 211, 224, .3); border-radius: 16px;
  padding: 14px 16px; color: #fff;
}
.rv-booked b { display: block; font-size: 16px; color: var(--aqua); font-weight: 700; }
.rv-booked b::before { content: "\2713 "; margin-right: 6px; }
.rv-booked small { display: block; margin-top: 5px; opacity: .72; font-size: 13px; line-height: 1.4; }

/* Big readable missed-call tile at top of phone */
.rv-hero-call { display: flex; align-items: center; gap: 14px; background: rgba(255, 90, 90, .12); border: 1px solid rgba(255, 122, 90, .35); border-radius: 16px; padding: 14px 16px; }
.rv-hero-call-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #FF7A5A; box-shadow: 0 0 0 4px rgba(255, 122, 90, .2); animation: rv-dot-pulse 1.4s ease-in-out infinite; }
@keyframes rv-dot-pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 122, 90, .08); } }
.rv-hero-call b { display: block; font-size: 16px; font-weight: 700; color: #fff; line-height: 1.2; }
.rv-hero-call small { display: block; font-size: 12px; opacity: .65; margin-top: 3px; letter-spacing: 0; text-transform: none; font-weight: 500; }
.rv-counter {
  position: absolute; bottom: 20px; right: 14px;
  background: rgba(242, 163, 58, .18); border: 1px solid rgba(242, 163, 58, .4);
  padding: 8px 12px; border-radius: 10px; text-align: center;
  animation: rv-counter-pulse 3s ease-in-out infinite;
  z-index: 2;
}
.rv-counter b { display: block; font-family: var(--mono); font-size: 22px; color: var(--amber); font-weight: 700; }
.rv-counter span { display: block; font-size: 10px; opacity: .7; }
@keyframes rv-counter-pulse { 50% { transform: scale(1.04); } }

/* Review screen */
.rv-review-screen { padding-top: 56px; align-items: center; justify-content: center; }
.rv-review-ask { background: #243348; padding: 16px; border-radius: 14px; text-align: center; width: 100%; }
.rv-review-ask small { opacity: 1; color: var(--amber); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; display: block; margin-bottom: 10px; font-weight: 700; }
.rv-review-ask p { color: #fff; font-size: 14px; margin: 0 0 14px; }
.rv-stars { display: flex; justify-content: center; gap: 4px; font-size: 24px; color: var(--amber); }
.rv-stars .star-pop { animation: rv-star-pop 1.6s ease-in-out infinite; transform-origin: center; }
@keyframes rv-star-pop { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.35); } }
.rv-review-badge {
  margin-top: 16px; background: rgba(242, 163, 58, .16);
  border: 1px solid rgba(242, 163, 58, .36); border-radius: 12px;
  padding: 10px 16px; text-align: center;
}
.rv-review-badge b { display: block; font-family: var(--mono); font-size: 20px; color: var(--amber); }
.rv-review-badge span { font-size: 11px; opacity: .7; }

/* ========== REVIEW FLOW (System 2 phone) — 4 screens + ghost cursor ========== */
.rv-review-flow { position: relative; padding: 0; overflow: hidden; background: #0a1322; }
.rv-review-flow .rf-screen {
  position: absolute; inset: 24px 14px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
}
/* JS-driven: .rf-screen is hidden by default, .on fades it in */
.rv-review-flow .rf-screen { transition: opacity 320ms ease; }
.rv-review-flow .rf-screen.on { opacity: 1; }

/* Screen 1: Review tile */
.rf-tile {
  background: #0a0a0a; border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; padding: 16px 18px; text-align: center; width: 88%;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.rf-tile small { display: block; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rf-tile-stars { color: var(--amber); font-size: 16px; letter-spacing: 2px; margin: 10px 0; }
.rf-tile-btn {
  background: var(--amber); color: #111; font-weight: 800; font-size: 11px;
  border-radius: 8px; padding: 8px 14px; display: inline-block;
  text-transform: uppercase; letter-spacing: .04em;
}

/* Screen 2: Rating form */
.rf-form {
  background: var(--navy); border: 1px solid var(--amber);
  border-radius: 10px; padding: 12px; width: 92%; color: #fff;
}
.rf-form-title { font-size: 12px; text-align: center; margin: 0 0 8px; color: #fff; font-weight: 500; }
.rf-brand {
  background: #fff; color: var(--navy); font-weight: 800; font-size: 13px;
  padding: 6px 10px; border-radius: 6px; margin: 0 auto 8px; display: table;
  letter-spacing: -.02em;
}
.rf-rating { list-style: none; padding: 10px 12px; margin: 0 0 6px; background: #fff; border-radius: 6px; }
.rf-rating li { color: var(--navy); font-size: 10px; padding: 2px 0; display: flex; align-items: center; gap: 5px; font-weight: 500; }
.rf-dot { width: 9px; height: 9px; border-radius: 50%; border: 1.2px solid #999; display: inline-block; flex: none; background: #fff; }
/* Highlight the picked option in each rating form */
.rf-rating .rf-pick .rf-dot { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 2px rgba(242,163,58,.3); }
.rf-rating .rf-pick { color: #000; font-weight: 800; }
.rf-rating-low .rf-pick { color: #c72c2c; }
.rf-rating-low .rf-pick .rf-dot { background: #c72c2c; border-color: #c72c2c; box-shadow: 0 0 0 2px rgba(199,44,44,.25); }
.rf-next { text-align: right; color: var(--amber); font-size: 10px; font-weight: 700; }

/* Screen 3: Google native review modal */
.rf-google {
  background: #1f1f1f; border: 1px solid #333;
  border-radius: 12px; padding: 12px; width: 92%; color: #fff;
}
.rf-google > small { color: #9ca3af; font-size: 10px; display: block; margin-bottom: 6px; font-weight: 600; }
.rf-google-user { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.rf-avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--aqua); color: #000; display: grid; place-items: center; font-size: 10px; font-weight: 800; flex: none; }
.rf-google-user b { display: block; color: #fff; font-size: 11px; font-weight: 600; }
.rf-google-user small { color: #9ca3af; font-size: 9px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.rf-google-stars { color: var(--amber); font-size: 18px; letter-spacing: 3px; margin-bottom: 6px; }
.rf-google-text {
  background: #0a0a0a; border: 1px solid #333; border-radius: 6px;
  padding: 8px 10px; font-size: 10px; line-height: 1.4; min-height: 42px; color: #fff;
  overflow: hidden;
}
.rf-google-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; font-size: 10px; font-weight: 700; }
.rf-cancel { color: #9ca3af; padding: 4px 8px; }
.rf-post { color: #fff; background: #4285F4; padding: 4px 12px; border-radius: 6px; }

/* Screen 3: Sorry (private feedback — bad review intercepted) */
.rf-sorry {
  background: #fff; color: var(--navy);
  border-radius: 10px; padding: 14px; width: 92%;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.rf-sorry-badge {
  background: #c72c2c; color: #fff; font-weight: 800; font-size: 9px;
  padding: 4px 8px; border-radius: 6px; display: inline-block;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px;
}
.rf-sorry b { color: var(--navy); font-size: 14px; display: block; font-weight: 800; }
.rf-sorry > small { color: #555; font-size: 10px; display: block; margin: 4px 0 10px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.rf-sorry-field { margin-bottom: 6px; }
.rf-sorry-field label { font-size: 9px; color: #666; display: block; margin-bottom: 2px; font-weight: 600; }
.rf-sorry-input { background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 5px; height: 16px; }
.rf-sorry-textarea { background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 5px; height: 28px; }

/* Screen 5 overlay: "✓ Posted" confirmation that lands on top of the google review */
.rf-posted {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  background: var(--aqua); color: var(--navy); font-weight: 800; font-size: 11px;
  padding: 7px 14px; border-radius: 20px; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(94,211,224,.35);
  opacity: 0;
  animation: rf-posted-in 15s linear infinite;
}
@keyframes rf-posted-in {
  0%,86% { opacity: 0; transform: translate(-50%, 10px); }
  89%,99% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; }
}
.rf-google { position: relative; }

/* Ghost cursor — SVG arrow traces the user path */
.rf-cursor {
  position: absolute; width: 22px; height: 22px; z-index: 10; pointer-events: none;
  top: 0; left: 0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 10-8.2 1.2L7 21z' fill='%23ffffff' stroke='%23000000' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.55));
  /* JS positions it via left/top; CSS gives smooth movement */
  top: 85%; left: 74%; opacity: 0;
  transition: top 620ms cubic-bezier(.4,.1,.25,1),
              left 620ms cubic-bezier(.4,.1,.25,1),
              transform 150ms ease,
              opacity 250ms ease;
  transform-origin: 20% 20%;
}
.rf-cursor.on { opacity: 1; }
.rf-cursor.clicking { transform: scale(.72); }

/* Blinking caret + typed text + focused input states */
.rf-caret {
  display: inline-block; width: 1.5px; height: 10px;
  background: var(--navy); vertical-align: middle;
  margin-left: 1px; opacity: 0;
  animation: rf-caret-blink 1s steps(2) infinite;
}
.rf-sorry-input.focused .rf-caret,
.rf-sorry-textarea.focused .rf-caret { opacity: 1; }
@keyframes rf-caret-blink { 50% { opacity: 0 } }
.rf-typed { font-family: var(--mono); color: var(--navy); font-size: 10px; padding-left: 6px; display: inline-block; vertical-align: middle; }
.rf-sorry-input, .rf-sorry-textarea { transition: border-color 200ms, background 200ms, box-shadow 200ms; }
.rf-sorry-input.focused, .rf-sorry-textarea.focused { background: #fff; border-color: var(--amber); box-shadow: 0 0 0 2px rgba(242,163,58,.2); }

/* Private feedback send button */
.rf-sorry-send {
  background: var(--navy); color: var(--amber); font-weight: 800; font-size: 11px;
  padding: 8px 12px; border-radius: 6px; text-align: center; margin-top: 10px;
  letter-spacing: .04em;
  transition: transform 150ms, box-shadow 200ms;
}

/* Posted chip only shows when JS adds .on */
.rf-posted { opacity: 0; transition: opacity 320ms, transform 320ms; transform: translate(-50%, 10px) !important; }
.rf-posted.on { opacity: 1; transform: translate(-50%, 0) !important; }

/* Click pulse on target elements when the ghost cursor clicks */
.rf-tile-btn, .rf-rating li, .rf-next, .rf-sorry-send, .rf-post {
  transition: transform 150ms ease, box-shadow 200ms, background 200ms;
}
.rf-tile-btn.clicked, .rf-next.clicked, .rf-sorry-send.clicked, .rf-post.clicked {
  transform: scale(.94); box-shadow: 0 0 0 3px rgba(242,163,58,.35);
}

/* Legacy keyframes intentionally neutralized — JS drives the cursor now */
@keyframes rf-cursor-path_unused {
  /* Screen 1 (0-17%): idle bottom-right → Leave a review btn → click */
  0%,4%    { top: 85%; left: 74%; opacity: 1; transform: scale(1); }
  12%      { top: 60%; left: 42%; }
  13%,14%  { top: 60%; left: 42%; transform: scale(.72); }
  16%      { top: 60%; left: 42%; transform: scale(1); }
  /* Screen 2 (17-34%): rating form → cursor drops to 1-star (BOTTOM) → click */
  20%      { top: 55%; left: 60%; opacity: 1; }
  30%      { top: 70%; left: 18%; }
  31%,32%  { top: 70%; left: 18%; transform: scale(.72); }
  33%      { top: 70%; left: 18%; transform: scale(1); }
  /* Screen 3 (34-53%): sorry form — cursor hides (user types) */
  35%,52%  { opacity: 0; }
  /* Screen 4 (53-70%): rating form again → cursor rises to 5-star (TOP) → click */
  55%      { top: 65%; left: 60%; opacity: 1; }
  66%      { top: 42%; left: 18%; }
  67%,68%  { top: 42%; left: 18%; transform: scale(.72); }
  70%      { top: 42%; left: 18%; transform: scale(1); }
  /* Screen 5 (70-99%): google review → Post button → click → cursor fades out before Posted chip */
  75%      { top: 55%; left: 60%; opacity: 1; }
  84%      { top: 76%; left: 76%; }
  85%,86%  { top: 76%; left: 76%; transform: scale(.72); }
  87%      { top: 76%; left: 76%; transform: scale(1); }
  88%,100% { opacity: 0; }
}

/* ===== Looping phone UI demos, Stone-style ===== */
/* All share a 12s cycle so beats land in sync across the page. */
.rv-hero-call,
.sms-pop-1, .sms-pop-2, .sms-pop-3 { opacity: 0; }

.rv-hero-call { animation: rv-beat-0  8s ease-in-out infinite; }
.sms-pop-1    { animation: rv-beat-20 8s ease-in-out infinite; }
.sms-pop-2    { animation: rv-beat-40 8s ease-in-out infinite; }
.sms-pop-3    { animation: rv-beat-60 8s ease-in-out infinite; }

/* Each cycle: 0-12% blank, then beats land top-to-bottom and STAY until the very end */
@keyframes rv-beat-0  { 0%,10%{opacity:0;transform:translateY(10px)} 14%,99%{opacity:1;transform:none} 100%{opacity:0;transform:translateY(-4px)} }
@keyframes rv-beat-20 { 0%,26%{opacity:0;transform:translateY(10px)} 30%,99%{opacity:1;transform:none} 100%{opacity:0;transform:translateY(-4px)} }
@keyframes rv-beat-40 { 0%,46%{opacity:0;transform:translateY(10px)} 50%,99%{opacity:1;transform:none} 100%{opacity:0;transform:translateY(-4px)} }
@keyframes rv-beat-60 { 0%,66%{opacity:0;transform:translateY(10px)} 70%,99%{opacity:1;transform:none} 100%{opacity:0;transform:translateY(-4px)} }

/* ===== System 2 star-sequence (stars light up one by one) ===== */
.rv-stars span { opacity: .18; transition: none; }
.rv-stars span:nth-child(1) { animation: rv-star-on 8s ease-in-out infinite; animation-delay: 0s; }
.rv-stars span:nth-child(2) { animation: rv-star-on 8s ease-in-out infinite; animation-delay: 0s; }
.rv-stars span:nth-child(3) { animation: rv-star-on 8s ease-in-out infinite; animation-delay: 0s; }
.rv-stars span:nth-child(4) { animation: rv-star-on 8s ease-in-out infinite; animation-delay: 0s; }
.rv-stars span:nth-child(5) { animation: rv-star-on 8s ease-in-out infinite; animation-delay: 0s; }
.rv-stars span:nth-child(1) { animation-name: rv-star-s1; }
.rv-stars span:nth-child(2) { animation-name: rv-star-s2; }
.rv-stars span:nth-child(3) { animation-name: rv-star-s3; }
.rv-stars span:nth-child(4) { animation-name: rv-star-s4; }
.rv-stars span:nth-child(5) { animation-name: rv-star-s5; }
@keyframes rv-star-s1 { 0%,30%{opacity:.18;transform:scale(1)} 33%{opacity:1;transform:scale(1.35)} 38%,92%{opacity:1;transform:scale(1)} 100%{opacity:.18} }
@keyframes rv-star-s2 { 0%,34%{opacity:.18;transform:scale(1)} 37%{opacity:1;transform:scale(1.35)} 42%,92%{opacity:1;transform:scale(1)} 100%{opacity:.18} }
@keyframes rv-star-s3 { 0%,38%{opacity:.18;transform:scale(1)} 41%{opacity:1;transform:scale(1.35)} 46%,92%{opacity:1;transform:scale(1)} 100%{opacity:.18} }
@keyframes rv-star-s4 { 0%,42%{opacity:.18;transform:scale(1)} 45%{opacity:1;transform:scale(1.35)} 50%,92%{opacity:1;transform:scale(1)} 100%{opacity:.18} }
@keyframes rv-star-s5 { 0%,46%{opacity:.18;transform:scale(1)} 49%{opacity:1;transform:scale(1.4)} 54%,92%{opacity:1;transform:scale(1)} 100%{opacity:.18} }

/* Review badge count ticks (shown via pseudo-element content swap) */
.rv-review-badge { opacity: 0; animation: rv-beat-60 8s ease-in-out infinite; }
.rv-review-count { font-family: var(--mono); font-size: 12px; color: var(--amber); display: block; margin-top: 4px; }
.rv-review-count::before { content: "+1 review"; animation: rv-review-tick 8s steps(1) infinite; }
@keyframes rv-review-tick {
  0%,60%  { content: "46 reviews"; }
  62%,100% { content: "47 reviews \2022 +1 today"; }
}

/* ===== System 3 Google Maps rank card (counts #20 down to #1) ===== */
.rv-rank-card {
  background: #fff; color: #111;
  border-radius: 14px; padding: 12px 14px;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.4);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  opacity: 0; animation: rv-beat-0 8s ease-in-out infinite;
}
.rv-rank-card .rv-rank-g {
  width: 36px; height: 36px; border-radius: 50%;
  background: conic-gradient(from 0deg, #4285F4 0 25%, #34A853 25% 50%, #FBBC04 50% 75%, #EA4335 75% 100%);
  padding: 3px; display: grid; place-items: center;
}
.rv-rank-card .rv-rank-g::before {
  content: "G"; width: 100%; height: 100%; border-radius: 50%;
  background: #fff; display: grid; place-items: center;
  font-family: var(--sans); font-weight: 700; font-size: 18px; color: #111;
}
.rv-rank-card .rv-rank-g span { display: none; }
.rv-rank-card .rv-rank-copy { flex: 1; }
.rv-rank-card .rv-rank-copy small { display: block; font-size: 10px; color: #6b7280; text-transform: uppercase; letter-spacing: .06em; }
.rv-rank-card .rv-rank-copy b { display: block; font-size: 13px; color: #111; font-weight: 600; margin-top: 2px; }
.rv-rank-num {
  font-family: var(--mono); font-weight: 700; font-size: 32px;
  color: var(--amber); min-width: 48px; text-align: right; line-height: 1;
}
.rv-rank-num::before { content: "#20"; animation: rv-rank-climb 8s steps(1) infinite; }
@keyframes rv-rank-climb {
  0%,10%  { content: "#20"; color: #9ca3af; }
  15%,25% { content: "#12"; color: #9ca3af; }
  30%,45% { content: "#7";  color: #d97706; }
  50%,65% { content: "#4";  color: #d97706; }
  70%,100% { content: "#1"; color: #16a34a; }
}
.rv-rank-arrow { font-size: 14px; }
.rv-rank-arrow::before { content: "\2193"; color: #16a34a; animation: rv-rank-arrow 8s steps(1) infinite; }
@keyframes rv-rank-arrow {
  0%,69% { content: "\2193"; color: #16a34a; }
  70%,100% { content: "\2605"; color: #d97706; }
}

/* ---------- PAIN LINE ---------- */
.rv-pain.statement {
  min-height: 70vh; padding: 100px 0; background: var(--paper);
  display: grid; place-items: center; text-align: center;
}
.rv-pain [data-type] {
  color: var(--ink); font-family: var(--display); font-weight: 800;
  font-size: clamp(28px, 4vw, 54px); line-height: 1.12;
  text-transform: none; letter-spacing: -0.02em; max-width: 22ch;
}
.rv-pain [data-type] .dim { opacity: .2; }
.rv-pain [data-type] .lit { color: var(--ink); }

/* ---------- SYSTEMS ---------- */
.rv-systems { padding: 100px 0 40px; background: var(--paper); }
.rv-systems-head { text-align: center; margin-bottom: 70px; }
.rv-systems-head h2 { max-width: 20ch; margin: 14px auto; }
.rv-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 12px;
}
.rv-section-lede { max-width: 56ch; margin: 20px auto 0; text-align: center; font-size: 18px; line-height: 1.6; color: #0E1A2B; }
.rv-system {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; max-width: 1180px; margin: 0 auto 80px;
  padding: 60px var(--gutter); background: #fff; border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(14, 26, 43, .14), 0 0 0 1px var(--line);
}
.rv-system-flip { direction: rtl; }
.rv-system-flip > * { direction: ltr; }
.rv-num { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--amber); margin-bottom: 14px; font-weight: 500; }
.rv-system h3 { font-size: clamp(28px, 2.8vw, 38px); margin-bottom: 14px; color: var(--ink); }
.rv-system-line { font-size: 18px; color: var(--ink); opacity: .82; margin-bottom: 28px; line-height: 1.6; }
.rv-bullets { list-style: none; padding: 0; }
.rv-bullets li {
  position: relative; padding: 14px 0 14px 36px; font-size: 16px;
  color: var(--ink); line-height: 1.55; border-bottom: 1px solid var(--line);
}
.rv-bullets li:last-child { border-bottom: 0; }
.rv-bullets li b { color: var(--ink); font-weight: 700; display: block; font-size: 16px; margin-bottom: 3px; }
.rv-bullets li::before {
  content: "✓"; position: absolute; left: 0; top: 10px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--amber); color: var(--navy);
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- TRADES ---------- */
.rv-trades { background: var(--paper-2); padding: 100px 0; overflow: hidden; }
.rv-trades .wrap { text-align: center; }
.rv-trades h2 { margin: 14px auto; max-width: 22ch; }
.rv-trades-strip {
  margin-top: 60px; width: 100%; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.rv-trades-track { display: flex; gap: 20px; width: max-content; animation: rv-trades-slide 48s linear infinite; }
.rv-trades-track:hover { animation-play-state: paused; }
@keyframes rv-trades-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.rv-trade {
  flex: none; width: 220px; background: #fff; border-radius: 18px;
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 14px 30px -18px rgba(14, 26, 43, .18);
  opacity: .55; filter: grayscale(.4);
  transition: opacity .3s, filter .3s, transform .3s;
}
.rv-trade:hover { opacity: 1; filter: none; transform: translateY(-3px); }
.rv-trade-live {
  opacity: 1; filter: none;
  box-shadow: 0 14px 30px -14px rgba(242, 163, 58, .4), 0 0 0 2px var(--amber);
}
.rv-trade-img {
  width: 100%; aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--slate), var(--navy));
  border-radius: 12px; display: block; overflow: hidden; position: relative;
}
.rv-trade-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.rv-trade:hover .rv-trade-img img { transform: scale(1.06); }
.rv-trade-meta { display: flex; align-items: center; justify-content: space-between; }
.rv-trade-meta b { font-size: 17px; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.rv-trade-tag {
  font-size: 11px; font-family: var(--mono); color: var(--ink-soft);
  background: var(--paper-2); padding: 4px 8px; border-radius: 6px; letter-spacing: .04em;
}
.rv-trade-tag.live { background: var(--amber); color: var(--navy); font-weight: 700; }

/* ---------- PROCESS ---------- */
.rv-process { background: var(--navy); color: var(--paper); padding: 110px 0; }
.rv-process .wrap { text-align: center; }
.rv-process h2 { color: var(--paper); max-width: 22ch; margin: 14px auto; }
.rv-process .rv-section-lede { color: rgba(248, 246, 242, .85); }
.rv-steps {
  list-style: none; padding: 0;
  margin: 80px auto 0; max-width: 1180px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  position: relative; padding-inline: var(--gutter);
}
.rv-steps::before {
  content: ""; position: absolute; top: 44px;
  left: calc(var(--gutter) + 15%); right: calc(var(--gutter) + 15%); height: 2px;
  background: linear-gradient(to right, var(--amber), rgba(242, 163, 58, .18));
  transform-origin: left center; transform: scaleX(0);
  transition: transform 1.4s cubic-bezier(.2, .8, .2, 1) .3s;
}
.rv-process.in .rv-steps::before { transform: scaleX(1); }
.rv-step { text-align: center; padding: 0 10px; }
.rv-step-num {
  display: inline-flex; width: 72px; height: 72px; border-radius: 50%;
  background: var(--amber); color: var(--navy);
  font-family: var(--display); font-weight: 800; font-size: 32px;
  align-items: center; justify-content: center; margin-bottom: 24px;
  box-shadow: 0 10px 24px -8px rgba(242, 163, 58, .5), 0 0 0 6px rgba(242, 163, 58, .12);
}
.rv-step h3 { color: var(--paper); margin-bottom: 6px; }
.rv-step-time { font-family: var(--mono); font-size: 13px; color: var(--amber); letter-spacing: .04em; margin-bottom: 16px; }
.rv-step p { color: rgba(248, 246, 242, .88); font-size: 16px; line-height: 1.6; max-width: 32ch; margin-inline: auto; }

/* ---------- PRICING ---------- */
.rv-pricing { background: var(--paper); padding: 110px 0; }
.rv-pricing-head { text-align: center; }
.rv-pricing-head h2 { max-width: 22ch; margin: 14px auto 60px; }
.rv-price-wrap { display: grid; place-items: center; }
.rv-price-card {
  width: min(640px, 100%); background: #fff;
  border-radius: var(--radius-lg); padding: 48px;
  box-shadow: 0 30px 60px -30px rgba(14, 26, 43, .18), 0 0 0 1px var(--line);
  position: relative; overflow: hidden;
}
.rv-price-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--amber), var(--aqua));
}
.rv-price-head { text-align: center; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.rv-price-tag { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.rv-price-amount { font-family: var(--display); font-weight: 800; color: var(--ink); line-height: 1; }
.rv-price-amount b { font-size: 72px; }
.rv-price-amount span { font-size: 20px; color: var(--ink-soft); font-weight: 400; margin-left: 4px; }
.rv-price-note { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.rv-price-list { list-style: none; padding: 0; margin: 0 0 32px; }
.rv-price-list li {
  position: relative; padding: 14px 0 14px 32px; font-size: 16px;
  color: var(--ink); line-height: 1.5; border-bottom: 1px solid var(--line);
}
.rv-price-list li:last-child { border-bottom: 0; }
.rv-price-list li::before {
  content: "✓"; position: absolute; left: 0; top: 12px;
  width: 20px; height: 20px; background: var(--aqua); color: var(--navy);
  border-radius: 50%; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.rv-price-rationale {
  margin-top: 24px; padding: 22px 24px;
  background: linear-gradient(135deg, rgba(242, 163, 58, .1), rgba(94, 211, 224, .06));
  border: 1px dashed rgba(242, 163, 58, .4); border-radius: 12px;
  font-size: 15px; color: var(--ink); line-height: 1.6;
}
.rv-rationale-tag {
  display: inline-block; background: var(--amber); color: var(--navy);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; margin-right: 8px; margin-bottom: 4px;
}
.rv-price-rationale b { color: var(--ink); font-weight: 700; }
.rv-price-amount span { display: block; margin-top: 4px; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; font-family: var(--mono); color: var(--amber); font-weight: 500; }

/* ---------- ABOUT ---------- */
.rv-about { background: var(--navy); color: var(--paper); padding: 110px 0; }
.rv-about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.rv-about-portrait { position: relative; }
.rv-about-portrait picture, .rv-about-portrait img {
  display: block; width: 100%; height: auto; border-radius: var(--radius-lg);
}
.rv-about-portrait::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px;
  background: linear-gradient(135deg, var(--amber), var(--aqua));
  border-radius: var(--radius-lg); z-index: -1; opacity: .65;
}
.rv-about-portrait figcaption {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(14, 26, 43, .8); color: var(--paper);
  font-size: 13px; padding: 10px 16px; border-radius: 999px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--mono); letter-spacing: .04em;
}
.rv-about-body h2, body.rv .rv-about-body h2 { color: var(--paper); margin: 10px 0 28px; }
.rv-process .wrap h2, body.rv .rv-process .wrap h2 { color: var(--paper); }
.rv-step h3, body.rv .rv-step h3 { color: var(--paper); }
body.rv .sec.deep p { color: rgba(248, 246, 242, .88); }
body.rv .rv-phone p { color: #fff; }
body.rv .rv-phone-screen .rv-sms-biz p { color: #0E1A2B; font-weight: 600; }
body.rv .rv-phone-screen .rv-sms-cust p { color: #0E1A2B; font-weight: 600; }
body.rv .rv-step-time { color: var(--amber); font-family: var(--mono); font-size: 13px; letter-spacing: .04em; margin: 2px 0 14px; }
.rv-foot-cols h4, body.rv .rv-foot-cols h4 { color: var(--paper); }
.rv-about-body p { color: rgba(248, 246, 242, .92); margin-bottom: 20px; font-size: 17px; line-height: 1.65; }
.rv-about-pains {
  list-style: none; padding: 20px; margin: 20px 0;
  background: rgba(255, 255, 255, .05);
  border-left: 3px solid var(--amber); border-radius: 0 12px 12px 0;
}
.rv-about-pains li { padding: 10px 0; font-size: 16px; font-style: italic; color: rgba(248, 246, 242, .95); line-height: 1.5; }
.rv-about-pains li::before {
  content: "\201C"; color: var(--amber); font-family: var(--display);
  font-size: 24px; margin-right: 6px; vertical-align: -6px;
}
.rv-pull {
  margin-top: 32px; padding: 28px;
  background: linear-gradient(135deg, rgba(242, 163, 58, .14), rgba(94, 211, 224, .08));
  border-radius: var(--radius-lg); text-align: center;
}
.rv-pull p {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(28px, 3.4vw, 42px); color: var(--amber);
  letter-spacing: -0.02em; margin: 0;
}
.rv-pull span { display: block; margin-top: 10px; font-size: 13px; color: rgba(248, 246, 242, .7); font-family: var(--mono); letter-spacing: .04em; }

/* ---------- FINAL CTA ---------- */
.rv-final { background: linear-gradient(135deg, var(--paper), var(--paper-2)); padding: 110px 0; }
.rv-final-inner { text-align: center; max-width: 820px; margin-inline: auto; }
.rv-final h2 { margin: 14px auto 20px; }
.rv-final .rv-section-lede { margin: 20px auto 36px; }
.rv-final-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.rv-final-fine { margin-top: 32px; font-family: var(--mono); font-size: 15px; color: var(--ink); opacity: .75; }
.rv-final-fine b { color: var(--ink); font-weight: 500; }

/* ---------- FOOTER ---------- */
.rv-foot {
  background: var(--navy); color: rgba(248, 246, 242, .7);
  padding: 70px 0 30px; border-top: 1px solid rgba(255, 255, 255, .06);
}
.rv-foot-grid {
  display: grid; grid-template-columns: 1.3fr 2fr; gap: 50px;
  padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.rv-foot-brand img { height: 32px; width: auto; display: block; margin-bottom: 20px; opacity: .95; }
.rv-foot-tag { font-size: 14px; color: var(--amber); font-family: var(--mono); letter-spacing: .04em; margin-bottom: 12px; }
.rv-foot-fine { font-size: 12px; line-height: 1.6; color: rgba(248, 246, 242, .55); max-width: 36ch; }
.rv-foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.rv-foot-cols h4 { color: var(--paper); margin-bottom: 14px; }
.rv-foot-cols a { display: block; padding: 12px 0; font-size: 14px; color: rgba(248, 246, 242, .65); text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.rv-foot-cols a:hover { color: var(--amber); }
.rv-foot-base {
  display: flex; justify-content: space-between; padding-top: 24px;
  font-size: 12px; color: rgba(248, 246, 242, .45); font-family: var(--mono);
}

/* ---------- Reveal (uses .reveal.in applied by kit observer) ---------- */
.rv-system.reveal, .rv-step.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1);
}
.rv-system.reveal.in, .rv-step.reveal.in { opacity: 1; transform: none; }

/* ---------- MOBILE PASS ---------- */
@media (max-width: 900px) {
  .rv-hero { padding: 140px 0 80px; }
  .rv-hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  .rv-hero-art { display: flex; justify-content: center; }
  .rv-system { grid-template-columns: 1fr; gap: 40px; padding: 40px 28px; }
  .rv-system-flip { direction: ltr; }
  .rv-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .rv-about-portrait { max-width: 400px; margin-inline: auto; }
  .rv-steps { grid-template-columns: 1fr; gap: 50px; padding-inline: 20px; }
  .rv-steps::before { display: none; }
  .rv-foot-grid { grid-template-columns: 1fr; gap: 40px; }
  .rv-foot-cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .rv-foot-base { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 760px) {
  .rv-nav { top: 10px; padding: 8px 8px 8px 16px; gap: 12px; }
  .rv-links { display: none; }
  .rv-cta-nav { margin-left: auto; padding: 10px 14px; font-size: 13px; }
  .rv-logo img { height: 24px; }
  body.rv h1 { font-size: 40px; }
  body.rv h2 { font-size: 30px; }
  .rv-hero-trust { gap: 16px; }
  .rv-phone { transform: none; }
  .rv-phone-hero { transform: none; }
  .rv-price-card { padding: 32px 24px; }
  .rv-price-amount b { font-size: 56px; }
  .rv-trade { width: 180px; padding: 20px; }
  .rv-trade-img { aspect-ratio: 1 / 1; }
  .rv-trade-emoji { font-size: 38px; }
  .rv-about-pains { padding: 16px; }
  .rv-process { padding: 80px 0; }
  .rv-step-num { width: 60px; height: 60px; font-size: 26px; }
}

/* ============================================================
   CONTRAST SAFETY — audit pass
   Every dark-background section must force paper text on all
   headings and paragraphs, because body.rv h1..h4 and body.rv p
   default to var(--ink) (navy) which is invisible on navy.
   ============================================================ */

/* --- Functional Website section (navy background) --- */
body.rv .rv-functional h1,
body.rv .rv-functional h2,
body.rv .rv-functional h3,
body.rv .rv-functional h4 { color: var(--paper); }
body.rv .rv-functional p { color: rgba(248, 246, 242, .85); }
body.rv .rv-functional .rv-eyebrow,
body.rv .rv-functional .rv-amber-ink { color: var(--amber); }
body.rv .rv-functional .rv-section-lede { color: rgba(248, 246, 242, .78); }
/* Inside the laptop/phone mockups — these have their own white/dark surfaces. Don't paperify them. */
body.rv .rv-functional .fw-site h1,
body.rv .rv-functional .fw-site h2,
body.rv .rv-functional .fw-site h3,
body.rv .rv-functional .fw-site h4,
body.rv .rv-functional .fw-site p { color: inherit; }

/* --- Process ("How it works") section (navy background) --- */
body.rv .rv-process h1,
body.rv .rv-process h2,
body.rv .rv-process h3,
body.rv .rv-process h4 { color: var(--paper); }
body.rv .rv-process p { color: rgba(248, 246, 242, .85); }
body.rv .rv-process .rv-eyebrow { color: var(--amber); }
body.rv .rv-process .rv-step-time { color: var(--amber); }

/* --- About section (navy background) --- */
body.rv .rv-about h1,
body.rv .rv-about h2,
body.rv .rv-about h3,
body.rv .rv-about h4 { color: var(--paper); }
body.rv .rv-about p { color: rgba(248, 246, 242, .85); }
body.rv .rv-about .rv-eyebrow { color: var(--amber); }
body.rv .rv-about b,
body.rv .rv-about strong { color: var(--paper); }

/* --- Final CTA (navy background, if present) --- */
body.rv .rv-cta h1,
body.rv .rv-cta h2,
body.rv .rv-cta h3,
body.rv .rv-cta h4 { color: var(--paper); }
body.rv .rv-cta p { color: rgba(248, 246, 242, .85); }

/* --- Footer (navy background) --- */
body.rv .rv-foot h1,
body.rv .rv-foot h2,
body.rv .rv-foot h3,
body.rv .rv-foot h4 { color: var(--paper); }
body.rv .rv-foot p { color: rgba(248, 246, 242, .7); }
body.rv .rv-foot a { color: rgba(248, 246, 242, .85); }
body.rv .rv-foot a:hover { color: var(--amber); }

/* --- Pain line (paper bg, dark text — just confirm it's not overridden) --- */
body.rv .rv-pain [data-type] { color: var(--ink); }
body.rv .rv-pain [data-type] .lit { color: var(--ink); }
body.rv .rv-pain [data-type] .dim { color: var(--ink); opacity: .2; }

/* --- Trades marquee section — ensure trade tile text reads --- */
body.rv .rv-trades h2 { color: var(--ink); }
body.rv .rv-trades p { color: var(--ink-soft); }

/* --- Inside any phone mockup, text is managed by its own classes — never default-navy --- */
body.rv .rv-phone-screen p,
body.rv .rv-phone-screen h3,
body.rv .rv-phone-screen h4,
body.rv .rv-phone-screen b,
body.rv .rv-phone-screen small { color: inherit; }
body.rv .rv-phone-screen .rv-sms-biz p { color: var(--navy); font-weight: 600; }
body.rv .rv-phone-screen .rv-sms-cust p { color: var(--navy); font-weight: 600; }

/* --- Generic safeguard: any navy-background section with class "deep" or inline --bg: var(--navy) --- */
body.rv .sec.deep h1,
body.rv .sec.deep h2,
body.rv .sec.deep h3,
body.rv .sec.deep h4 { color: var(--paper); }
body.rv .sec.deep .rv-eyebrow { color: var(--amber); }
