/* ====================================================================
   RetailRoarports — landing page. One cohesive dark "data-intelligence"
   theme. Brand preserved: navy base, electric-blue accent, Inter.
   ==================================================================== */
:root {
  --navy-950: #050b18;
  --navy-900: #0a1a33;
  --navy-850: #0b1d3a;
  --navy-800: #0c2042;
  --navy-700: #102a52;
  --navy-600: #16356a;
  --blue: #2563eb;
  --blue-strong: #1d4ed8;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --ink: #f3f6fc;          /* primary text on dark   */
  --text: #c9d6ea;         /* body text on dark      */
  --muted: #93a4c2;        /* muted on dark          */
  --muted-dim: #6f819f;
  --line: rgba(148, 178, 232, 0.16);
  --line-strong: rgba(148, 178, 232, 0.28);
  --surface: #0e2146;      /* card surface           */
  --surface-2: #112a55;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --display: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.home {
  margin: 0;
  height: auto;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--navy-900);
  color: var(--ink);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.home a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.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: 1160px; 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(--blue); color: #fff !important; border: 0;
  font-family: inherit; font-weight: 700; cursor: pointer;
  border-radius: var(--r-sm);
  transition: background-color .15s ease, transform .06s ease, box-shadow .2s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 10px 24px rgba(37,99,235,.28);
}
.rr-btn:hover { background: var(--blue-strong); box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 14px 30px rgba(37,99,235,.40); }
.rr-btn:active { transform: translateY(1px); }
.rr-btn--signin {
  padding: 9px 18px; font-size: .95rem; border-radius: var(--r-pill);
  background: rgba(148,178,232,.10); color: var(--ink) !important;
  box-shadow: inset 0 0 0 1px var(--line-strong); backdrop-filter: blur(6px);
}
.rr-btn--signin:hover { background: rgba(148,178,232,.18); box-shadow: inset 0 0 0 1px var(--blue-400); }

/* ----- Sign-in popover ------------------------------------------- */
.rr-signin-pop {
  position: absolute; top: calc(100% + 12px); right: 0;
  width: min(330px, calc(100vw - 24px)); padding: 18px;
  background: var(--surface); color: var(--ink);
  border-radius: var(--r); border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(2,8,23,.6); 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(--ink); }
.rr-signin-field { display: block; }
.rr-signin-field[hidden] { display: none; }
.rr-signin-input {
  width: 100%; height: 46px; box-sizing: border-box; padding: 0 14px;
  font-size: 1rem; color: var(--ink); background: rgba(5,11,24,.5);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
}
.rr-signin-input::placeholder { color: var(--muted); }
.rr-signin-input:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(96,165,250,.28); }
.rr-btn--signin-submit { width: 100%; height: 46px; border-radius: var(--r-sm); border-radius: var(--r-sm); }
.rr-btn--signin-submit:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.rr-signin-status { margin: 0; font-size: .85rem; line-height: 1.4; color: var(--muted); }
.rr-signin-status:empty { display: none; }
.rr-signin-status.is-error { color: #fca5a5; }

/* ====================== HEADER =================================== */
.rr-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.rr-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,11,24,.75) 0%, rgba(5,11,24,0) 100%);
  transition: opacity .3s ease;
}
.rr-header.rr-header--scrolled {
  background: rgba(8,16,36,.72); backdrop-filter: saturate(150%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0,0,0,.35);
}
.rr-header.rr-header--scrolled::after { opacity: 0; }
.rr-header-wrap {
  max-width: 1300px; margin: 0 auto;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 44px 16px;
  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: 38px; width: auto; }
.rr-header-right { position: relative; display: flex; align-items: center; gap: 18px; }

/* ====================== HERO ==================================== */
.rr-hero {
  position: relative; isolation: isolate; text-align: center; overflow: hidden;
  min-height: min(660px, 84dvh);
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px 0 32px; background: var(--navy-900); color: #fff;
}
.rr-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(closest-side at 18% 26%, rgba(37,99,235,.40), transparent 70%),
    radial-gradient(closest-side at 84% 16%, rgba(96,165,250,.26), transparent 70%),
    radial-gradient(closest-side at 72% 84%, rgba(37,99,235,.22), transparent 72%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 46%, var(--navy-800) 100%);
}
.rr-hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(147,197,253,.18) 1.3px, transparent 1.5px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 78% 66% at 50% 42%, #000 34%, transparent 80%);
  mask-image: radial-gradient(ellipse 78% 66% at 50% 42%, #000 34%, transparent 80%);
  opacity: .7;
}
.rr-hero-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,11,24,.5) 0%, rgba(5,11,24,.06) 32%, rgba(5,11,24,.34) 100%);
}
.rr-hero-inner { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.rr-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px;
  padding: 7px 15px 7px 12px; border-radius: var(--r-pill);
  background: rgba(96,165,250,.10); border: 1px solid var(--line-strong);
  font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-300);
}
.rr-hero-eyebrow b { color: #fff; font-weight: 800; letter-spacing: .04em; }
.rr-hero-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 0 4px rgba(96,165,250,.18); }
.rr-hero-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.5rem, 5.6vw, 4.2rem); line-height: 1.02; letter-spacing: -0.03em;
  margin: 0 auto; max-width: 18ch; text-wrap: balance;
}
.rr-hero-title em { font-style: normal; color: var(--blue-400); }
.rr-hero-desc {
  font-size: clamp(1.06rem, 1.9vw, 1.3rem); font-weight: 500; color: var(--text);
  line-height: 1.5; margin: 22px auto 0; max-width: 56ch;
}
.rr-hero-prompt { display: none; } /* folded into the hero stack to keep it to 4 elements */

.rr-email { display: flex; gap: 10px; max-width: 580px; margin: 34px auto 0; }
.rr-email--center { margin: 34px auto 0; }
.rr-email-field { position: relative; flex: 1 1 auto; min-width: 0; }
.rr-email-input {
  width: 100%; height: 60px; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); background: rgba(5,11,24,.55);
  color: #fff; font-family: inherit; font-size: 1.05rem; padding: 0 16px;
  box-sizing: border-box; text-align: left; backdrop-filter: blur(4px);
}
.rr-email-input::placeholder { color: rgba(201,214,234,.62); }
.rr-email-input:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(96,165,250,.3); }
.rr-btn--get { flex: none; height: 60px; padding: 0 26px; font-size: clamp(1.04rem, 1.7vw, 1.22rem); border-radius: var(--r-sm); }
.rr-btn--get:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.rr-chevron { margin-right: -6px; }
.rr-hero-fine { margin: 16px auto 0; font-size: .9rem; color: var(--muted); }

/* ====================== BRAND MARQUEE =========================== */
/* Lives at the top of the hero, so it's transparent (no band) and blends onto the hero bg. */
.rr-marquee { background: transparent; padding: 6px 0; overflow: hidden; margin: 0 0 24px; }
.rr-marquee[hidden] { display: none; }
.rr-marquee-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
/* margin-right (not flex gap) so translateX(-50%) over the duplicated track loops seamlessly */
.rr-marquee-track { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; width: max-content; }
.rr-marquee-item { flex: none; margin-right: 30px; }
.rr-marquee-item { cursor: pointer; }
.rr-marquee-logo {
  display: block; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.12), 0 3px 10px rgba(0,0,0,.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.rr-marquee-item:hover .rr-marquee-logo {
  transform: scale(1.08);
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.12), 0 0 0 3px rgba(96,165,250,.5), 0 6px 16px rgba(0,0,0,.5);
}
/* Stylized name popup (rendered fixed on <body> by src/showcase-draft.js). */
.rr-marquee-tip {
  position: fixed; z-index: 200; pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .01em;
  padding: 8px 13px; border-radius: 10px; border: 1px solid var(--line-strong);
  box-shadow: 0 16px 34px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08);
  white-space: nowrap; opacity: 0; transition: opacity .14s ease, transform .14s ease;
}
.rr-marquee-tip.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.rr-marquee-tip::before {
  content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-bottom-color: var(--surface-2);
}
.rr-marquee-initial { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.4rem; box-shadow: 0 3px 10px rgba(0,0,0,.4); }
/* Always scrolls (explicit request); the reduced-motion exception is re-asserted below the global rule. */
.rr-marquee-track { animation: marqueeScroll var(--marquee-duration, 240s) linear infinite; }
.rr-marquee:hover .rr-marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ====================== SECTION TITLES ========================== */
.rr-row-title, .rr-section-title {
  font-family: var(--display); font-weight: 800; color: #fff; letter-spacing: -.02em; margin: 0;
}
.rr-row-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.rr-section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0 0 26px; }
.rr-row-sub { color: var(--muted); margin: 8px 0 22px; font-size: 1.02rem; }

/* ====================== APP SHOWCASE ============================ */
.rr-showcase { background: var(--navy-900); padding: 44px 0 70px; }
.rr-showcase .rr-row-sub { margin-bottom: 8px; }
.rr-show-row { margin-top: 16px; position: relative; }
.rr-show-track {
  list-style: none; margin: 0; padding: 18px 0 30px; 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: 244px; display: flex; flex-direction: column;
  align-items: center; text-align: center; scroll-snap-align: start;
}
.rr-show-cap { min-height: 116px; display: flex; flex-direction: column; align-items: center; }
.rr-show-kicker {
  font-family: var(--display); font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 900;
  letter-spacing: .01em; line-height: 1; margin: 0; color: #fff;
}
.rr-show-kicker::after {
  content: ""; display: block; width: 40px; height: 3px; margin: 12px auto 0;
  border-radius: 999px; background: var(--accent, var(--blue-400));
}
.rr-show-sub { margin: 14px 0 0; max-width: 220px; font-size: .94rem; line-height: 1.35; color: var(--text); }

/* Sub-sector switcher (sits next to the "Take a look inside" header) */
.rr-show-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.rr-show-head-text { min-width: 0; }
.rr-subsector-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.rr-subsector-tab {
  appearance: none; border: 1px solid var(--line-strong); background: rgba(148,178,232,.08);
  color: var(--text); font-family: inherit; font-weight: 600; font-size: .92rem;
  padding: 9px 16px; border-radius: var(--r-pill); cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .06s ease;
}
.rr-subsector-tab:hover { background: rgba(148,178,232,.16); color: #fff; }
.rr-subsector-tab:active { transform: translateY(1px); }
.rr-subsector-tab[aria-pressed="true"] {
  background: var(--blue); border-color: var(--blue); color: #fff;
  box-shadow: 0 8px 20px rgba(37,99,235,.32);
}
.rr-subsector-tab:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 2px; }

/* Swap animation when a sub-sector is chosen */
.rr-show-track { transition: opacity .24s ease, transform .24s ease; }
.rr-show-track.is-swapping { opacity: 0; transform: translateY(10px); }

.rr-phone {
  position: relative; width: 244px; aspect-ratio: 244 / 514; margin-top: 22px; padding: 11px;
  border-radius: 42px; background: #04080f;
  box-shadow: 0 0 0 1px var(--line-strong), 0 30px 60px rgba(0,0,0,.6), 0 8px 20px rgba(0,0,0,.45);
}
.rr-phone-shot {
  display: block; width: 100%; height: 100%; border-radius: 32px;
  object-fit: cover; object-position: top center; background: #11203a;
}

/* ====================== TRENDING NOW ============================ */
.rr-trending { background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%); padding: 70px 0 80px; }
.rr-row { position: relative; }
.rr-row-track {
  list-style: none; margin: 0; padding: 16px 0 28px; display: flex; gap: 16px;
  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 { --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(--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;
  color: var(--navy-800); paint-order: stroke fill;
  -webkit-text-stroke: 4px rgba(147,197,253,.55); text-stroke: 4px rgba(147,197,253,.55);
  margin-right: calc(-1 * var(--num-overlap)); user-select: none; letter-spacing: -.04em;
}
/* Calmer, cohesive card: one navy glass surface for all ranks; the per-rank --rank-accent
   survives only as a thin identity (left rule on the brand list + a top hairline). */
.rr-rank-card {
  position: relative; z-index: 1; width: 224px; min-height: 126px; border-radius: var(--r);
  padding: 18px 18px 16px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(155deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 16px 34px rgba(0,0,0,.42); overflow: hidden;
}
.rr-rank-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--rank-accent, var(--blue)); opacity: .9;
}
.rr-rank-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 86% 8%, rgba(147,197,253,.16), transparent 56%);
}
.rr-rank-tag {
  position: absolute; top: 13px; left: 18px; font-size: .64rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.rr-rank-name { font-family: var(--display); font-size: 1.1rem; font-weight: 700; margin: 0 0 4px; line-height: 1.12; color: #fff; }
.rr-rank-stat { margin: 0; font-size: 1.32rem; font-weight: 800; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.rr-rank-stat span { font-size: .78rem; font-weight: 500; color: var(--muted); }
.rr-rank-brands { list-style: none; margin: 12px 0 0 calc(var(--num-col) - var(--num-overlap)); padding: 0; width: 224px; display: grid; gap: 8px; }
.rr-rank-brands li { display: flex; flex-direction: column; gap: 1px; border-left: 3px solid var(--rank-accent, var(--blue)); padding-left: 10px; }
.rr-brand-name { font-weight: 700; font-size: .85rem; color: #fff; line-height: 1.15; }
.rr-brand-units { font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.rr-row-arrow {
  position: absolute; top: 0; bottom: 28px; z-index: 3; width: 52px; border: 0; cursor: pointer;
  color: #fff; display: flex; align-items: center; justify-content: center;
  background: rgba(5,11,24,.55); backdrop-filter: blur(4px); transition: background-color .15s ease;
}
.rr-row-arrow:hover { background: rgba(5,11,24,.82); }
.rr-row-arrow--prev { left: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.rr-row-arrow--next { right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.rr-row-arrow[hidden] { display: none; }

/* ====================== FIND / SEARCH =========================== */
.rr-find { background: var(--navy-850); padding: 84px 0 92px; }
.rr-find-inner {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 44px;
  max-width: 980px; margin: 0 auto; padding: 44px 48px;
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  box-shadow: 0 36px 70px rgba(0,0,0,.5);
}
.rr-find-art { flex: none; }
.rr-find-glass { display: block; width: clamp(120px, 16vw, 180px); height: auto; filter: drop-shadow(0 14px 24px rgba(0,0,0,.4)); }
.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(--text); margin: 0 0 24px; font-size: 1.04rem; }
.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(--muted); pointer-events: none; }
.rr-find-input {
  width: 100%; height: 60px; box-sizing: border-box; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); background: rgba(5,11,24,.5); color: #fff;
  font-family: inherit; font-size: 1.06rem; padding: 0 18px 0 48px;
}
.rr-find-input::placeholder { color: var(--muted); }
.rr-find-input:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(96,165,250,.28); }
.rr-find-results {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r);
  box-shadow: 0 24px 50px rgba(0,0,0,.55); 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: var(--r-sm); }
.rr-find-item:hover { background: rgba(96,165,250,.12); }
.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,.12); }
.rr-find-favicon-initial { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: .78rem; box-shadow: none; }
.rr-find-item-name { font-weight: 700; color: #fff; }
.rr-find-item-meta { color: var(--muted); font-size: .85rem; }
.rr-find-badge { flex: none; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 7px; border-radius: 999px; background: rgba(37,99,235,.22); color: var(--blue-300); }
.rr-find-item-tracked { margin-left: auto; color: #4ade80; font-weight: 700; font-size: .82rem; white-space: nowrap; }
.rr-find-empty { padding: 10px 12px; color: var(--muted); font-size: .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(--line-strong); background: rgba(5,11,24,.4);
  padding: 14px 16px; cursor: pointer; font-family: inherit;
}
.rr-find-request:hover { background: rgba(5,11,24,.6); }
.rr-find-request[hidden] { display: none; }
.rr-find-request-text { color: var(--text); font-size: .95rem; }
.rr-find-request-text strong { color: #fff; }
.rr-find-request-cta { margin-left: auto; color: #fff; background: var(--blue); font-weight: 700; padding: 9px 15px; border-radius: var(--r-sm); font-size: .9rem; white-space: nowrap; }
.rr-find-request:hover .rr-find-request-cta { background: var(--blue-strong); }

/* ====================== REQUEST MODAL =========================== */
.rr-modal {
  border: 0; border-radius: var(--r-lg); padding: 0; width: min(440px, calc(100vw - 32px));
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong);
  box-shadow: 0 36px 80px rgba(0,0,0,.6);
}
.rr-modal::backdrop { background: rgba(5,11,24,.66); backdrop-filter: blur(3px); }
.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(--muted); cursor: pointer; padding: 4px; border-radius: 6px; line-height: 0; }
.rr-modal-close:hover { background: rgba(148,178,232,.14); color: #fff; }
.rr-modal-title { font-family: var(--display); font-size: 1.4rem; font-weight: 800; margin: 0 6px 6px 0; color: #fff; }
.rr-modal-sub { color: var(--text); margin: 0 0 12px; line-height: 1.4; }
.rr-modal-label { font-weight: 600; font-size: .9rem; margin: 12px 0 6px; color: var(--text); }
.rr-modal-input { height: 46px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: rgba(5,11,24,.5); color: #fff; font-family: inherit; font-size: 1rem; padding: 0 14px; box-sizing: border-box; }
.rr-modal-input::placeholder { color: var(--muted); }
.rr-modal-input:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(96,165,250,.28); }
.rr-modal-input.rr-invalid { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,.22); }
.rr-modal-error { color: #fca5a5; font-size: .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: #4ade80; font-weight: 600; margin: 14px 0 0; text-align: center; }
.rr-modal-success[hidden] { display: none; }

/* ====================== FAQ + ACTIVATE ========================== */
.rr-faq { background: var(--navy-900); padding: 80px 0 92px; }
.rr-accordion { display: flex; flex-direction: column; gap: 10px; }
.rr-faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s ease; }
.rr-faq-item[open] { border-color: var(--line-strong); }
.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(--display);
  font-size: clamp(1.04rem, 2vw, 1.3rem); font-weight: 600; color: #fff; transition: background-color .15s ease;
}
.rr-faq-item summary::-webkit-details-marker { display: none; }
.rr-faq-item summary:hover { background: rgba(96,165,250,.06); }
.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(--blue-300); border-radius: 2px; transition: transform .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(--line); }
.rr-faq-answer p { margin: 16px 0 0; font-size: clamp(1rem, 1.7vw, 1.12rem); line-height: 1.6; color: var(--text); }
.rr-faq-item[open] .rr-faq-answer { animation: rrFaqOpen .28s ease; }
@keyframes rrFaqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.rr-faq-prompt { color: #fff; text-align: center; margin-top: 48px; font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 600; }
.rr-activate { max-width: 620px; margin: 0 auto; }
.rr-activate-form .rr-email { max-width: 440px; 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: .94rem; color: var(--muted); text-align: left; }
.rr-activate-tos input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.rr-activate-tos a { color: var(--blue-300); text-decoration: underline; text-underline-offset: 2px; }
.rr-activate-status { margin: 16px auto 0; text-align: center; font-size: .98rem; color: var(--text); }
.rr-activate-status[hidden] { display: none; }
.rr-activate-status.is-error { color: #fca5a5; }
.rr-activate-checkout { margin: 24px auto 0; }
.rr-activate-checkout[hidden] { display: none; }
.rr-activate-turnstile { display: flex; justify-content: center; margin: 16px auto 0; }
.rr-activate-turnstile[hidden] { display: none; }
.rr-activate-success { margin: 24px auto 0; max-width: 540px; padding: 24px; text-align: center; border: 1px solid var(--line-strong); border-radius: var(--r); background: rgba(37,99,235,.12); }
.rr-activate-success[hidden] { display: none; }
.rr-activate-success-title { margin: 0 0 6px; font-size: 1.25rem; font-weight: 700; color: #fff; }
.rr-activate-success-sub { margin: 0; color: var(--text); }

/* ====================== FOOTER ================================== */
.rr-footer { background: var(--navy-950); color: var(--muted); padding: 56px 0 60px; font-size: .92rem; border-top: 1px solid var(--line); }
.rr-footer-contact { margin: 0 0 28px; }
.rr-footer-contact a { color: var(--blue-300); 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(--muted); text-decoration: underline; text-underline-offset: 3px; }
.rr-footer-grid a:hover { color: #fff; }
.rr-footer-copy { margin: 0; color: var(--muted-dim); }

/* ====================== MOTION (JS-free) ======================== */
.rr-hero-inner > * { animation: heroUp .72s cubic-bezier(.16,1,.3,1) both; }
.rr-hero-eyebrow { animation-delay: .02s; }
.rr-hero-title { animation-delay: .10s; }
.rr-hero-desc { animation-delay: .18s; }
.rr-hero-inner > form { animation-delay: .26s; }
.rr-hero-fine { animation-delay: .32s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Scroll-reveal that NEVER hides content on unsupported browsers (default = visible). */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    [data-reveal] { animation: revealUp linear both; animation-timeline: view(); animation-range: entry 2% cover 22%; }
  }
}
@keyframes revealUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  /* Keep the brand marquee scrolling even under reduced-motion (explicit request)... */
  .rr-marquee-track { animation: marqueeScroll var(--marquee-duration, 240s) linear infinite !important; }
  /* ...but still let a logo hover pause it (needs !important to beat the rule above). */
  .rr-marquee:hover .rr-marquee-track { animation-play-state: paused !important; }
}

/* ====================== 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: 96px 0 48px; min-height: auto; }
  .rr-hero-inner { padding: 0 20px; }
  .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; }
  .rr-rank-num { font-size: 3.6rem; -webkit-text-stroke-width: 3px; text-stroke-width: 3px; }
  .rr-rank-card, .rr-rank-brands { width: 204px; }
  .rr-show-tile, .rr-phone { width: 214px; }
  .rr-show-cap { min-height: 130px; }
  .rr-find { padding: 56px 0 64px; }
  .rr-find-inner { flex-direction: column; gap: 22px; padding: 30px 22px; }
  .rr-find-glass { width: 120px; }
  .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.2rem; }
  .rr-footer-grid { grid-template-columns: 1fr; }
}
