/* ============================================================================
   RetailRoarports — public marketing landing page.
   Netflix-homepage layout/placement, RetailRoarports brand palette.
   Standalone (no app chrome). Loaded after styles.css; self-contained tokens
   below so it never depends on the app's light/dark token values.
   CSP note: script-src is 'self' (no inline JS) — interactivity lives in
   src/landing.js. Inline style="" attributes and data:/self images are allowed.
   ========================================================================== */

.home {
  /* Brand palette */
  --rr-navy: #0a1a33;        /* hero base navy            */
  --rr-navy-deep: #061026;   /* darker navy (top of hero) */
  --rr-blue: #2563eb;        /* primary action            */
  --rr-blue-strong: #1d4ed8;
  --rr-blue-soft: #60a5fa;
  --rr-ink: #0f172a;         /* dark navy text on light   */
  --rr-text: #1f2937;
  --rr-muted: #5b6573;
  --rr-muted-light: #cdd6e6; /* muted text on dark        */
  --rr-light: #f4f6f8;       /* light grey section bg     */
  --rr-white: #ffffff;
  --rr-line: #e2e8f0;
  /* Inter substitutes for Netflix Sans — clean geometric grotesque, heavy display weights. */
  --rr-display: "Inter", system-ui, sans-serif;

  background: var(--rr-white);
  color: var(--rr-ink);
  font-family: "Inter", system-ui, sans-serif;
  /* styles.css locks body to height:100vh; overflow:hidden (full-screen map).
     The marketing page is long-form, so re-enable vertical scrolling. */
  height: auto;
  min-height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.home a { color: inherit; text-decoration: none; }

.rr-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.rr-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.rr-wrap--narrow { max-width: 820px; }

/* ----- Buttons --------------------------------------------------------- */
.rr-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rr-blue);
  color: #fff !important;
  border: 0;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.15s ease, filter 0.15s ease, transform 0.05s ease;
}
.rr-btn:hover { background: var(--rr-blue-strong); }
.rr-btn:active { transform: translateY(1px); }

.rr-btn--signin {
  padding: 9px 17px;
  font-size: 0.95rem;
}

/* §1 — the header "Sign In" opens a dropdown popover anchored to the header-right cluster: a
   full-width email field with the blue "Send Sign-In Code" button stacked below it, then the
   6-digit code step. Anchored to [data-signin-root] (.rr-header-right, position:relative). */
.rr-signin-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(320px, calc(100vw - 24px));
  padding: 18px;
  background: #fff;
  color: var(--rr-ink);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(2, 8, 23, 0.45);
  z-index: 80;
}
.rr-signin-pop[hidden] { display: none; }
.rr-signin { display: flex; flex-direction: column; gap: 10px; }
.rr-signin-head { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--rr-ink); }
.rr-signin-field { display: block; }
.rr-signin-field[hidden] { display: none; } /* author display:block would otherwise beat [hidden] */
.rr-signin-input {
  width: 100%;
  height: 46px;
  box-sizing: border-box;
  padding: 0 14px;
  font-size: 1rem;
  color: var(--rr-ink);
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
}
.rr-signin-input::placeholder { color: var(--rr-muted); }
.rr-signin-input:focus { outline: none; border-color: var(--rr-blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
/* Full-width blue submit (inherits .rr-btn blue bg + hover); disabled = faded. */
.rr-btn--signin-submit { width: 100%; height: 46px; border-radius: 10px; }
.rr-btn--signin-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.rr-signin-status { margin: 0; font-size: 0.85rem; line-height: 1.4; color: var(--rr-muted); }
.rr-signin-status:empty { display: none; }
.rr-signin-status.is-error { color: #b91c1c; }

/* ============================ HEADER ================================= */
.rr-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.rr-header::after {
  /* soft top gradient so the transparent bar stays legible over the hero */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 16, 38, 0.7) 0%, rgba(6, 16, 38, 0) 100%);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.3s ease;
}
.rr-header.rr-header--scrolled {
  background: var(--rr-navy-deep);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.35);
}
.rr-header.rr-header--scrolled::after { opacity: 0; }

.rr-header-wrap {
  max-width: 1300px;
  margin: 0 auto;
  /* keep the Sign In row below the iOS status bar in standalone PWA (env=0 elsewhere) */
  padding: calc(18px + env(safe-area-inset-top, 0px)) 44px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rr-logo { display: inline-flex; align-items: center; }
.rr-logo-img { display: block; height: 40px; width: auto; }

.rr-header-right { position: relative; display: flex; align-items: center; gap: 18px; }

/* ============================== HERO ================================= */
.rr-hero {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: 168px 24px 92px;
  background: var(--rr-navy);
  color: #fff;
  overflow: hidden;
}
/* Branded "collage": navy gradient + soft sector-colored glows + map-dot field */
.rr-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(closest-side at 18% 28%, rgba(37, 99, 235, 0.42), transparent 70%),
    radial-gradient(closest-side at 82% 18%, rgba(124, 58, 237, 0.32), transparent 70%),
    radial-gradient(closest-side at 70% 82%, rgba(219, 39, 119, 0.26), transparent 72%),
    radial-gradient(closest-side at 30% 88%, rgba(5, 150, 105, 0.24), transparent 72%),
    linear-gradient(180deg, var(--rr-navy-deep) 0%, var(--rr-navy) 45%, #0c2042 100%);
}
.rr-hero-bg::before {
  /* map-pin dot field */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.4px, transparent 1.6px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 35%, transparent 78%);
  opacity: 0.7;
}
.rr-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 16, 38, 0.55) 0%, rgba(6, 16, 38, 0.1) 30%, rgba(6, 16, 38, 0.2) 100%);
  pointer-events: none;
}

.rr-hero-inner { max-width: 780px; margin: 0 auto; }
.rr-hero-title {
  font-family: var(--rr-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 auto;
  /* §5: the new two-sentence headline is longer; widen from 16ch so it splits to ~2 clean lines
     (text-wrap:balance still evens them) instead of a tall narrow column. */
  max-width: 22ch;
  text-wrap: balance;
}
/* The bold subtitle was removed; the hero description now occupies that prominent slot,
   so it carries that weight/size — eased slightly for a multi-sentence block. */
.rr-hero-desc {
  font-size: clamp(1.08rem, 1.9vw, 1.38rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.42;
  margin: 22px auto 0;
  max-width: 720px;
}
.rr-hero-prompt {
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  font-weight: 500;
  margin: 30px auto 16px;
}

/* Inline email signup (input + Get Started), Netflix-style */
.rr-email {
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto;
}
.rr-email--center { margin: 0 auto; }
.rr-email-field { position: relative; flex: 1 1 auto; min-width: 0; }
.rr-email-input {
  width: 100%;
  height: 58px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(8, 16, 36, 0.65);
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  padding: 0 16px;
  box-sizing: border-box;
  text-align: left;
}
.rr-email-input::placeholder { color: rgba(255, 255, 255, 0.72); }
.rr-email-input:focus {
  outline: none;
  border-color: var(--rr-blue-soft);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.35);
}
.rr-btn--get {
  flex: none;
  height: 58px;
  padding: 0 26px;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  border-radius: 8px;
}
.rr-chevron { margin-right: -6px; }

/* ========================== TRENDING NOW ============================ */
.rr-trending {
  background: linear-gradient(180deg, #0c2042 0%, var(--rr-navy) 100%);
  color: #fff;
  padding: 8px 0 64px;
  position: relative;
}
.rr-trending::before {
  /* thin separator bar like Netflix's section dividers */
  content: "";
  display: block;
  height: 8px;
  background: var(--rr-navy-deep);
  margin-bottom: 44px;
}
.rr-row-title {
  font-family: var(--rr-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0;
}
.rr-row-sub { color: var(--rr-muted-light); margin: 8px 0 24px; font-size: 1rem; }

.rr-row { position: relative; }
.rr-row-track {
  list-style: none;
  margin: 0;
  padding: 14px 0 26px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.rr-row-track::-webkit-scrollbar { display: none; }

.rr-rank {
  /* Column width var keeps the rank number, card overlap, and the brand list beneath the
     card all aligned in one place (overridden for mobile). */
  --num-col: 76px;
  --num-overlap: 16px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}
.rr-rank-head { display: flex; align-items: center; }
.rr-rank-num {
  font-family: var(--rr-display);
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 1;
  width: var(--num-col);
  flex: none;
  text-align: center;
  font-variant-numeric: tabular-nums;
  /* §6: fill the glyph body with the Trending gradient's TOP color (linear-gradient #0c2042→#0a1a33),
     and paint stroke-then-fill so the fill covers the inner half of the stroke — this hides the
     internal seam lines Inter's heavy 1/4 expose when stroke-only. Stroke bumped 3→5px so ~3px stays
     visible after the fill eats the inner half. */
  color: #0c2042;
  paint-order: stroke fill;
  -webkit-text-stroke: 5px rgba(150, 180, 232, 0.7);
  text-stroke: 5px rgba(150, 180, 232, 0.7);
  margin-right: calc(-1 * var(--num-overlap));
  user-select: none;
  letter-spacing: -0.04em;
}
.rr-rank-brands {
  list-style: none;
  margin: 12px 0 0 calc(var(--num-col) - var(--num-overlap));
  padding: 0;
  width: 220px;
  display: grid;
  gap: 8px;
}
.rr-rank-brands li {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-left: 3px solid var(--rank-accent);
  padding-left: 9px;
}
.rr-brand-name { font-weight: 700; font-size: 0.85rem; color: #fff; line-height: 1.15; }
.rr-brand-units { font-size: 0.74rem; color: var(--rr-muted-light); }
.rr-rank-card {
  position: relative;
  z-index: 1;
  width: 220px;
  min-height: 124px;
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--rank-accent) 88%, #000 0%) 0%, color-mix(in srgb, var(--rank-accent) 55%, #0a1a33) 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.rr-rank-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.28), transparent 55%);
  pointer-events: none;
}
.rr-rank-tag {
  position: absolute;
  top: 12px; left: 16px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.rr-rank-name {
  font-family: var(--rr-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.12;
}
.rr-rank-stat { margin: 0; font-size: 1.35rem; font-weight: 800; line-height: 1; }
.rr-rank-stat span { font-size: 0.8rem; font-weight: 500; opacity: 0.85; }

/* Scroll arrows */
.rr-row-arrow {
  position: absolute;
  top: 0; bottom: 26px;
  z-index: 3;
  width: 52px;
  border: 0;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 16, 38, 0.6);
  transition: background-color 0.15s ease;
}
.rr-row-arrow:hover { background: rgba(6, 16, 38, 0.85); }
.rr-row-arrow--prev { left: 0; border-radius: 0 8px 8px 0; }
.rr-row-arrow--next { right: 0; border-radius: 8px 0 0 8px; }
.rr-row-arrow[hidden] { display: none; }

/* ===================== Shared section title ========================= */
.rr-section-title {
  font-family: var(--rr-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--rr-ink);
  margin: 0 0 28px;
}

/* ===================== APP SHOWCASE (iPhone carousel) =============== */
.rr-showcase {
  background: linear-gradient(180deg, var(--rr-navy) 0%, #0c2042 100%);
  color: #fff;
  padding: 56px 0 64px;
}
.rr-showcase .rr-row-sub { margin-bottom: 8px; }
.rr-show-row { margin-top: 14px; }
.rr-show-track {
  list-style: none;
  margin: 0;
  padding: 16px 0 28px;
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.rr-show-track::-webkit-scrollbar { display: none; }

.rr-show-tile {
  flex: 0 0 auto;
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  scroll-snap-align: start;
}
/* fixed-height caption block so every phone starts at the same baseline */
.rr-show-cap { min-height: 120px; display: flex; flex-direction: column; align-items: center; }
.rr-show-kicker {
  font-family: var(--rr-display);
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 1;
  margin: 0;
  color: #fff;
}
.rr-show-kicker::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: var(--accent, var(--rr-blue-soft));
}
.rr-show-sub {
  margin: 14px 0 0;
  max-width: 220px;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--rr-muted-light);
}

/* Pure-CSS iPhone frame holding the portrait app screenshot. */
.rr-phone {
  position: relative;
  width: 240px;
  aspect-ratio: 240 / 506;
  margin-top: 22px;
  padding: 11px;
  border-radius: 40px;
  background: #060d1c;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.10),
    0 28px 56px rgba(0, 0, 0, 0.55),
    0 6px 18px rgba(0, 0, 0, 0.4);
}
.rr-phone::before {
  /* dynamic island */
  content: "";
  position: absolute;
  top: 19px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  border-radius: 999px;
  background: #060d1c;
  z-index: 2;
}
.rr-phone-shot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  object-fit: cover;
  object-position: top center;
  background: #11203a;
}

/* ==================== DO WE TRACK YOUR BRAND? (search) ============== */
/* §: elevated "platform" — the search card floats on a soft pedestal so this
   call-to-action reads as a raised surface, not just another flat section. */
.rr-find { background: linear-gradient(180deg, var(--rr-white) 0%, var(--rr-light) 100%); padding: 72px 0 84px; }
.rr-find-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 44px;
  background: var(--rr-white);
  border: 1px solid var(--rr-line);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.16), 0 2px 0 rgba(15, 23, 42, 0.04);
}
.rr-find-inner::after {
  /* pedestal shadow under the floating card */
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -22px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.18), transparent 72%);
  z-index: -1;
}
.rr-find-art { flex: none; }
.rr-find-glass { display: block; width: clamp(120px, 16vw, 185px); height: auto; }
.rr-find-content { flex: 1 1 auto; min-width: 0; max-width: 640px; }
.rr-find-title { text-align: left; margin-bottom: 8px; }
.rr-find-sub { text-align: left; color: var(--rr-muted); margin: 0 0 24px; font-size: 1.05rem; }

.rr-find-box { position: relative; max-width: 620px; margin: 0; }
.rr-find-inputwrap { position: relative; }
.rr-find-icon {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--rr-muted); pointer-events: none;
}
.rr-find-input {
  width: 100%;
  height: 58px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid #c3cdda;
  background: #fff;
  color: var(--rr-ink);
  font-family: inherit;
  font-size: 1.08rem;
  padding: 0 18px 0 48px;
}
.rr-find-input::placeholder { color: #7a8699; }
.rr-find-input:focus { outline: none; border-color: var(--rr-blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }

.rr-find-results {
  position: absolute;
  z-index: 20;
  left: 0; right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--rr-line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}
.rr-find-results[hidden] { display: none; }
.rr-find-matches { list-style: none; margin: 0; padding: 6px; max-height: 322px; overflow-y: auto; }
.rr-find-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
}
.rr-find-item:hover { background: var(--rr-light); }
.rr-find-favicon {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}
.rr-find-favicon-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  box-shadow: none;
}
.rr-find-item-name { font-weight: 700; color: var(--rr-ink); }
.rr-find-item-meta { color: var(--rr-muted); font-size: 0.85rem; }
.rr-find-badge {
  flex: none;
  font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 7px; border-radius: 999px; background: #eff6ff; color: #1d4ed8;
}
.rr-find-item-tracked { margin-left: auto; color: #16a34a; font-weight: 700; font-size: 0.82rem; white-space: nowrap; }
.rr-find-empty { padding: 10px 12px; color: var(--rr-muted); font-size: 0.9rem; }

.rr-find-request {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  width: 100%;
  text-align: left;
  border: 0; border-top: 1px solid var(--rr-line);
  background: var(--rr-light);
  padding: 14px 16px;
  cursor: pointer;
  font-family: inherit;
}
.rr-find-request:hover { background: #e9eef5; }
.rr-find-request[hidden] { display: none; }
.rr-find-request-text { color: var(--rr-text); font-size: 0.95rem; }
.rr-find-request-text strong { color: var(--rr-ink); }
.rr-find-request-cta {
  margin-left: auto; color: #fff; background: var(--rr-blue);
  font-weight: 700; padding: 9px 15px; border-radius: 8px; font-size: 0.9rem; white-space: nowrap;
}
.rr-find-request:hover .rr-find-request-cta { background: var(--rr-blue-strong); }

/* Request-a-brand modal */
.rr-modal {
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: min(440px, calc(100vw - 32px));
  background: #fff;
  color: var(--rr-ink);
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.45);
}
.rr-modal::backdrop { background: rgba(6, 16, 38, 0.55); }
.rr-modal-form { display: flex; flex-direction: column; padding: 28px 26px 26px; position: relative; }
.rr-modal-close {
  position: absolute; top: 14px; right: 14px;
  border: 0; background: transparent; color: var(--rr-muted);
  cursor: pointer; padding: 4px; border-radius: 6px; line-height: 0;
}
.rr-modal-close:hover { background: var(--rr-light); color: var(--rr-ink); }
.rr-modal-title { font-family: var(--rr-display); font-size: 1.4rem; font-weight: 800; margin: 0 6px 6px 0; }
.rr-modal-sub { color: var(--rr-muted); margin: 0 0 12px; line-height: 1.4; }
.rr-modal-label { font-weight: 600; font-size: 0.9rem; margin: 12px 0 6px; }
.rr-modal-input {
  height: 46px; border-radius: 8px; border: 1px solid #c3cdda; background: #fff;
  color: var(--rr-ink); font-family: inherit; font-size: 1rem; padding: 0 14px; box-sizing: border-box;
}
.rr-modal-input:focus { outline: none; border-color: var(--rr-blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
.rr-modal-input.rr-invalid { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15); }
.rr-modal-error { color: #dc2626; font-size: 0.85rem; margin: 8px 0 0; }
.rr-modal-error[hidden] { display: none; }
.rr-modal-submit { justify-content: center; height: 48px; margin-top: 20px; font-size: 1.02rem; }
.rr-modal-success { color: #16a34a; font-weight: 600; margin: 14px 0 0; text-align: center; }
.rr-modal-success[hidden] { display: none; }

/* ============================== FAQ ================================= */
.rr-faq { background: var(--rr-white); padding: 64px 0 80px; }
.rr-accordion { display: flex; flex-direction: column; gap: 8px; }

.rr-faq-item {
  background: var(--rr-light);
  border: 1px solid var(--rr-line);
  border-radius: 8px;
  overflow: hidden;
}
.rr-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  font-family: var(--rr-display);
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  font-weight: 600;
  color: var(--rr-ink);
  transition: background-color 0.15s ease;
}
.rr-faq-item summary::-webkit-details-marker { display: none; }
.rr-faq-item summary:hover { background: #e9eef5; }

/* + icon that rotates to × when open */
.rr-faq-icon { position: relative; flex: none; width: 26px; height: 26px; }
.rr-faq-icon::before,
.rr-faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--rr-ink);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.rr-faq-icon::before { width: 22px; height: 2.6px; transform: translate(-50%, -50%); }
.rr-faq-icon::after { width: 2.6px; height: 22px; transform: translate(-50%, -50%); }
.rr-faq-item[open] .rr-faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.rr-faq-answer {
  padding: 2px 24px 24px;
  border-top: 1px solid var(--rr-line);
}
.rr-faq-answer p {
  margin: 16px 0 0;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.55;
  color: var(--rr-text);
}
.rr-faq-item[open] .rr-faq-answer { animation: rrFaqOpen 0.28s ease; }
@keyframes rrFaqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Repeated CTA under the FAQ (light section -> dark email controls) */
.rr-faq-prompt { color: var(--rr-ink); text-align: center; margin-top: 44px; }
.rr-faq .rr-email-input {
  background: #fff;
  color: var(--rr-ink);
  border-color: #b9c4d4;
}
.rr-faq .rr-email-input::placeholder { color: #6b7686; }
.rr-faq .rr-email-input:focus { border-color: var(--rr-blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2); }

/* Activate-membership block (embedded Stripe checkout) */
.rr-activate { max-width: 620px; margin: 0 auto; }
/* §3 — cap the activate email row to the hero field's wide-desktop width (≈620 − 190 btn − 10 gap) and
   let the long "Activate membership — $49/mo" button wrap onto its own centered line, so this email box
   matches the hero one. Mobile already stacks both full-width (@media max-width:720px .rr-email). */
.rr-activate-form .rr-email { max-width: 420px; flex-wrap: wrap; justify-content: center; }
.rr-activate-tos {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
  max-width: 540px;
  margin: 16px auto 0;
  font-size: 0.95rem;
  color: var(--rr-muted);
  text-align: left;
}
.rr-activate-tos input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--rr-blue); }
.rr-activate-tos a { color: var(--rr-blue); text-decoration: underline; text-underline-offset: 2px; }
.rr-btn--get:disabled { opacity: 0.5; cursor: not-allowed; }
.rr-activate-status { margin: 16px auto 0; text-align: center; font-size: 0.98rem; color: var(--rr-ink); }
.rr-activate-status.is-error { color: #b91c1c; }
.rr-activate-checkout { margin: 24px auto 0; }
.rr-activate-turnstile { display: flex; justify-content: center; margin: 16px auto 0; }
.rr-activate-success {
  margin: 24px auto 0;
  max-width: 540px;
  padding: 24px;
  text-align: center;
  border: 1px solid var(--rr-line);
  border-radius: 12px;
  background: #f0f6ff;
}
.rr-activate-success-title { margin: 0 0 6px; font-size: 1.25rem; font-weight: 700; color: var(--rr-ink); }
.rr-activate-success-sub { margin: 0; color: var(--rr-text); }

/* ============================ FOOTER =============================== */
.rr-footer {
  background: var(--rr-navy-deep);
  color: var(--rr-muted-light);
  padding: 48px 0 56px;
  font-size: 0.92rem;
}
.rr-footer-contact { margin: 0 0 28px; }
.rr-footer-contact a { text-decoration: underline; text-underline-offset: 3px; }
.rr-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 24px;
  margin-bottom: 28px;
}
.rr-footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rr-footer-grid a { color: var(--rr-muted-light); text-decoration: underline; text-underline-offset: 3px; }
.rr-footer-grid a:hover { color: #fff; }

.rr-footer-copy { margin: 0; color: #8b97ad; }
.rr-footer-copy a { color: var(--rr-muted-light); text-decoration: underline; text-underline-offset: 3px; }
.rr-footer-copy a:hover { color: #fff; }

/* ===================== LEGAL PAGES (terms / privacy) =============== */
.rr-legal-nav { background: var(--rr-navy-deep); }
.rr-legal-nav .rr-wrap { display: flex; align-items: center; justify-content: space-between; padding: calc(16px + env(safe-area-inset-top, 0px)) 24px 16px; }
.rr-legal { max-width: 820px; margin: 0 auto; padding: 48px 24px 72px; color: var(--rr-text); }
.rr-legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--rr-ink); margin: 0 0 6px; line-height: 1.15; }
.rr-legal-updated { color: var(--rr-muted); margin: 0 0 32px; font-size: 0.95rem; }
.rr-legal h2 { font-size: 1.4rem; color: var(--rr-ink); margin: 38px 0 12px; }
.rr-legal h3 { font-size: 1.15rem; color: var(--rr-ink); margin: 26px 0 10px; }
.rr-legal h4 { font-size: 1.02rem; color: var(--rr-ink); margin: 22px 0 8px; }
.rr-legal p { line-height: 1.7; margin: 0 0 14px; }
.rr-legal ul, .rr-legal ol { line-height: 1.7; margin: 0 0 16px; padding-left: 24px; }
.rr-legal li { margin: 0 0 8px; }
.rr-legal a { color: var(--rr-blue); text-decoration: underline; text-underline-offset: 2px; }
.rr-legal strong { color: var(--rr-ink); }

/* ============================ RESPONSIVE =========================== */
@media (max-width: 720px) {
  .rr-header-wrap { padding: calc(14px + env(safe-area-inset-top, 0px)) 20px 14px; }
  .rr-logo-img { height: 30px; }
  .rr-wrap { padding: 0 20px; }

  .rr-hero { padding: 120px 20px 64px; }

  .rr-email { flex-direction: column; }
  .rr-btn--get { width: 100%; justify-content: center; height: 54px; }
  .rr-email-input { height: 54px; }

  .rr-rank { --num-col: 60px; --num-overlap: 12px; }
  /* §6: the desktop 5px stroke is proportionally heavy at the smaller 3.6rem mobile size — ease to 4px. */
  .rr-rank-num { font-size: 3.6rem; -webkit-text-stroke-width: 4px; text-stroke-width: 4px; }
  .rr-rank-card { width: 200px; }
  .rr-rank-brands { width: 200px; }

  .rr-show-tile { width: 214px; }
  .rr-show-cap { min-height: 132px; }
  .rr-phone { width: 214px; }

  .rr-find { padding: 48px 0 60px; }
  .rr-find-inner { flex-direction: column; gap: 20px; padding: 28px 22px; }
  .rr-find-glass { width: 124px; }
  .rr-find-content { max-width: 100%; width: 100%; }
  .rr-find-title, .rr-find-sub { text-align: center; }
  .rr-find-box { margin: 0 auto; }

  .rr-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .rr-hero-title { font-size: 2.1rem; }
  .rr-footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .rr-row-track { scroll-behavior: auto; }
  .rr-faq-item[open] .rr-faq-answer { animation: none; }
  .rr-btn:active { transform: none; }
}
