/* Rank Tracker for HVAC: "the race for the top 3". Violet and gold on a dusk skyline with racing lanes, so it
   reads differently from the Ads (royal blue) and SEO Audit (blue neighborhood) heroes. Below the hero it is
   the same road-map system as /temp/seo-authority/hvac-audit.css: phones and tablets stack the stops along a
   vertical road; from 1280px up each stop is a full-width row and hvac-rank.js draws the winding road from
   measured positions. Only this page loads this file. */

.rb-rank-tracker-page {
  --rb-bg: #140b2e;
  background: var(--rb-bg);
  color: #f6f4fb;
}
.rt-main { min-width: 0; }
.rt-main > footer { width: auto; margin: 0; padding-inline: 24px; }
.rt :is(a, button, summary, input):focus-visible { outline: 3px solid #f7c948; outline-offset: 3px; }

/* ---------------------------------------------------------------- shared */
.rt {
  --ink: #1a1336;
  --ink2: #3f3860;
  --muted: #625a80;
  --violet: #7c3aed;
  --violet-2: #a78bfa;
  --gold: #f7c948;
  --gold-deep: #b98500;
  --up: #22c55e;
  --down: #f05252;
  --asphalt: #474a55;
  --road-edge: #f7f5fb;
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(ellipse 40% 30% at 0% 30%, rgba(167, 139, 250, .16), transparent 70%),
    radial-gradient(ellipse 40% 30% at 100% 64%, rgba(247, 201, 72, .12), transparent 70%),
    linear-gradient(180deg, #eee9f8 0%, #f5f2fb 40%, #f6f3f9 72%, #efebf6 100%);
}
.rt *, .rt *::before, .rt *::after { box-sizing: border-box; }
:where(.rt) :where(h1, h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
:where(.rt) :where(ul, ol) { list-style: none; }
.rt img { display: block; max-width: none; }
.rt svg { display: block; overflow: visible; }
.rt h1, .rt h2, .rt h3, .rt-pin b, .rt-brand__logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.rt h1 em, .rt h2 em { font-family: inherit; font-style: normal; letter-spacing: inherit; }
.rt-i { width: 22px; height: 22px; }
.rt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffd766 0%, #f2b823 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .3) inset, 0 10px 24px rgba(242, 184, 35, .32);
  color: #2b1d00;
  font: 700 16px/1.1 "DM Sans", sans-serif;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.rt-btn:hover { color: #2b1d00; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .4) inset, 0 14px 30px rgba(242, 184, 35, .45); }
.rt-btn .rt-i { flex: 0 0 auto; width: 18px; height: 18px; }
.rt-btn--ghost { border-color: rgba(221, 212, 255, .7); background: rgba(20, 11, 46, .35); box-shadow: none; color: #fff; }
.rt-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); box-shadow: none; color: #fff; }
.rt-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.rt-note { font-family: "Caveat", cursive; font-weight: 700; font-size: 30px; line-height: .95; color: #2a1b5e; }
.rt-note u { color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.rt-checks { display: flex; flex-direction: column; gap: 9px; }
.rt-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; font-weight: 500; line-height: 1.3; }
.rt-checks svg { flex: 0 0 auto; width: 20px; height: 20px; }
.rt-ok { color: #22b35e; }
.rt-try { display: flex; align-items: center; gap: 8px; color: var(--violet); font-size: 15px; font-weight: 700; }
.rt-try .rt-i { flex: 0 0 auto; width: 20px; height: 20px; }

.rt-card {
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #faf8fe);
  box-shadow: 0 10px 24px rgba(26, 19, 54, .09), 0 2px 5px rgba(26, 19, 54, .05), 0 0 0 1px rgba(26, 19, 54, .06);
}
/* Dark cards with crisp UI inside (house style), tinted violet for this page. */
.rt-dark {
  border: 1px solid rgba(196, 181, 253, .22);
  border-radius: 16px;
  background: linear-gradient(160deg, #2a1a5a 0%, #1b1040 55%, #140b30 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 2px 4px rgba(20, 11, 46, .18), 0 16px 30px -8px rgba(20, 11, 46, .4), 0 36px 64px -20px rgba(20, 11, 46, .5);
  color: #ece8fb;
}

.rt-move { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; padding: 4px 7px; border-radius: 999px; font: 700 12.5px/1 "Space Grotesk", sans-serif; font-style: normal; white-space: nowrap; }
.rt-move--up { background: rgba(34, 197, 94, .16); color: #22c55e; }
.rt-move--down { background: rgba(240, 82, 82, .15); color: #f05252; }
.rt-move--same { background: rgba(148, 140, 180, .16); color: #9d95bd; }
.rt-tag { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; font-style: normal; line-height: 1; white-space: nowrap; }
.rt-tag--map { background: #ede4ff; color: #5b21b6; box-shadow: inset 0 0 0 1px #c4b5fd; }
.rt-tag--gold { background: var(--gold); color: #3a2600; }

/* ---------------------------------------------------------------- hero */
.rt-hero { position: relative; display: flex; flex-direction: column; overflow: hidden; padding-bottom: 36px; background: linear-gradient(180deg, #140b2e 0%, #2a1257 30%, #5b2475 55%, #b0526a 76%, #e0904f 92%, #f0a955 100%); color: #fff; }
.rt .rt-hero__sky { position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; }
.rt-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(247, 201, 72, .14), transparent 70%),
    linear-gradient(180deg, rgba(20, 11, 46, .3) 0%, rgba(20, 11, 46, .12) 50%, rgba(20, 11, 46, .3) 90%, rgba(20, 11, 46, .75) 100%);
}
.rt-hero__lanes { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; width: 100%; height: 30%; opacity: .7; }
.rt-hero__copy, .rt-race { position: relative; z-index: 2; }
.rt-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; width: min(100% - 32px, 640px); margin: 0 auto; padding: 30px 0 0; }
.rt-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.rt-brand__logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 30px; line-height: 1; letter-spacing: -0.02em; }
.rt-brand__logo svg { width: 34px; height: 30px; }
.rt-eyebrow { color: #ddd4ff; font-size: 14px; font-weight: 600; line-height: 1.3; }
.rt h1 { color: #fff; font-size: clamp(34px, 8.4vw, 50px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
.rt h1 em { display: block; margin-top: 4px; color: var(--gold); }
.rt-hero__sub { max-width: 560px; color: #e6e0fa; font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.rt-signals { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.rt-signals li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.rt-signals .rt-ok { width: 22px; height: 22px; color: var(--gold); }

/* The race: example leaderboard (the star) and the handwritten note. */
.rt-race { display: grid; justify-items: center; gap: 18px; width: min(100% - 32px, 480px); margin: 30px auto 0; }
.rt-board {
  position: relative;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(196, 181, 253, .3);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(46, 26, 102, .94) 0%, rgba(26, 14, 62, .96) 60%, rgba(18, 9, 44, .97) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 60px -18px rgba(5, 2, 20, .75), 0 0 0 6px rgba(167, 139, 250, .08);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
}
.rt-board::before { content: ""; position: absolute; z-index: -1; inset: -40px -30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(247, 201, 72, .2), transparent); pointer-events: none; }
.rt-board__search { display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 14px; border-radius: 999px; background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); color: var(--ink); }
.rt-board__search > .rt-i { flex: 0 0 auto; width: 18px; height: 18px; color: var(--violet); }
.rt-board__search p { flex: 1 1 auto; min-width: 0; font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.rt-board__query.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.14em; background: var(--violet); animation: rt-caret .8s steps(1) infinite; }
@keyframes rt-caret { 50% { opacity: 0; } }
.rt-board__where { flex: 0 0 auto; padding: 5px 10px; border-radius: 999px; background: #efe8ff; color: #5b21b6; font-size: 12px; font-weight: 700; }
.rt-board__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 4px 10px; color: #c9bff0; font-size: 12.5px; }
.rt-board__head p:first-child { display: flex; align-items: center; gap: 8px; }
.rt-board__head b { color: #fff; font: 700 14px/1 "Space Grotesk", sans-serif; }
.rt-board__head span { padding: 3px 8px; border: 1px solid rgba(196, 181, 253, .35); border-radius: 999px; font-weight: 600; }
.rt-board__month { display: flex; align-items: center; gap: 6px; }
.rt-board__month b { min-width: 34px; padding: 3px 8px; border-radius: 6px; background: rgba(247, 201, 72, .16); color: var(--gold); text-align: center; }
.rt-board__track { position: relative; height: 358px; }
.rt-board__list li {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: grid;
  grid-template-columns: 30px 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid rgba(196, 181, 253, .14);
  border-radius: 11px;
  background: #2c1c60;
  transform: translateY(var(--y, 0px));
}
.rt-board__list li > span { overflow: hidden; color: #eee9ff; font-size: 14.5px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.rt-board__list small { margin-left: 6px; padding: 2px 6px; border-radius: 5px; background: var(--gold); color: #3a2600; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.rt-board__list i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: color-mix(in srgb, var(--c) 30%, #1a1036); color: #fff; font: 700 13px/1 "Space Grotesk", sans-serif; font-style: normal; }
.rt-board__list img { width: 30px; height: 30px; border-radius: 8px; }
.rt-pos { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #d8d0f7; font: 700 14px/1 "Space Grotesk", sans-serif; }
.rt-board__list li:is([style*="--y:0px"], [style*="--y:50px"], [style*="--y:100px"]) .rt-pos,
.rt-board__list li.is-podium .rt-pos { background: var(--gold); color: #3a2600; }
.rt-board.is-live .rt-board__list li:not(.is-podium) .rt-pos { background: rgba(255, 255, 255, .08); color: #d8d0f7; }
.rt-board__list li.is-you { z-index: 2; border-color: var(--gold); background: linear-gradient(90deg, rgba(247, 201, 72, .24), rgba(167, 139, 250, .16)), #2c1c60; box-shadow: 0 0 0 3px rgba(247, 201, 72, .14), 0 10px 24px rgba(5, 2, 20, .45); }
.rt-board__top3 { position: absolute; left: 0; right: 0; top: 151px; border-top: 2px dashed rgba(247, 201, 72, .65); }
.rt-board__top3 span { position: absolute; right: 8px; top: -9px; padding: 0 7px; background: #1f1148; color: var(--gold); font: 700 11px/16px "Space Grotesk", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.rt-board__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: #d8d0f7; font-size: 13px; font-weight: 600; }
.rt-board__foot p { display: flex; align-items: center; gap: 8px; }
.rt-board__foot img { width: 24px; height: 24px; border-radius: 6px; }
.rt-board__climb s { color: #9d95bd; text-decoration: none; }
.rt-board__climb .rt-i { width: 16px; height: 16px; color: var(--up); }
.rt-board__climb b { color: #fff; font: 700 20px/1 "Space Grotesk", sans-serif; }
.rt-board__badge { padding: 4px 8px; border-radius: 999px; background: var(--gold); color: #3a2600; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; transition: opacity .3s ease, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.rt-board__badge.is-off { opacity: 0; transform: scale(.6); }
.rt-board__cap { margin: 10px 4px 0; color: #a79fcc; font-size: 11.5px; }
.rt-board.is-live .rt-board__list li { transition: transform .9s cubic-bezier(.5, 0, .2, 1), background-color .4s ease; }
.rt-board.is-live .rt-move { transition: opacity .3s ease; }
.rt-board.is-fading .rt-board__list li, .rt-board.is-fading .rt-board__foot { opacity: .35; transition: opacity .35s ease; }

/* Readable handwritten note over the photo: dark glass card (house pattern). */
.rt-note--hero {
  position: relative;
  container-type: inline-size;
  justify-self: end;
  width: min(100%, 250px);
  padding: 12px 16px 14px;
  border: 1px solid rgba(221, 212, 255, .28);
  border-radius: 14px;
  background: rgba(26, 12, 64, .62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 30px;
  transform: rotate(-4deg);
}
.rt-note--hero u { color: var(--gold); }

/* ---------------------------------------------------------------- road + steps (phones first) */
.rt-course { position: relative; }
.rt .rt-road, .rt .rt-drive { display: none; }
.rt-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 20px; max-width: 780px; margin: 0 auto; padding: 34px 16px 34px 76px; }
.rt-step::before, .rt-finish::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 22px; background: var(--asphalt); box-shadow: 0 0 0 2.5px var(--road-edge), 0 0 0 3.5px #cfc9dc; }
.rt-step::after, .rt-finish::after { content: ""; position: absolute; left: 30px; top: 0; bottom: 0; border-left: 2px dashed #fff; }
.rt-step > * { min-width: 0; }
.rt-pin { position: absolute; z-index: 1; left: 0; top: 20px; width: 62px; height: 78px; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .3)); }
.rt-pin svg { width: 100%; height: 100%; color: var(--pin); }
.rt-pin b { position: absolute; left: 0; right: 0; top: 8px; color: #fff; font-size: 36px; text-align: center; }
@keyframes rt-pin-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.rt-step.is-in .rt-pin, .rt:not(.rt-motion) .rt-pin { animation: rt-pin-bob 2.6s ease-in-out infinite; }
.rt-step:nth-of-type(even) .rt-pin { animation-delay: -1.3s; }
.rt h2 { font-size: clamp(26px, 6.4vw, 32px); line-height: 1.08; }
.rt-intro { display: grid; gap: 12px; align-content: start; }
.rt-sub { color: var(--ink2); font-size: 16px; line-height: 1.45; text-wrap: pretty; }

/* Stop 1: keyword picker */
.rt-pick { position: relative; display: grid; gap: 14px; }
.rt-picker { display: grid; gap: 12px; padding: 18px; }
.rt-picker__title { color: #fff; font: 700 19px/1.2 "Space Grotesk", sans-serif; }
.rt-picker__fields { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .6fr) minmax(0, 1.6fr); gap: 8px; }
.rt-picker__fields p { display: grid; gap: 4px; }
.rt-picker__fields small { color: #bdb3e6; font-size: 11.5px; font-weight: 700; }
.rt-picker__fields p > span { display: flex; align-items: center; gap: 6px; min-height: 38px; padding: 8px 10px; border-radius: 8px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; }
.rt-picker__devices p > span, .rt-picker__fields .rt-picker__devices > span { padding: 4px; }
.rt-picker__devices i { flex: 1 1 0; padding: 6px 4px; border-radius: 6px; background: #f1ecff; color: #4c1d95; font-size: 12.5px; font-style: normal; font-weight: 700; text-align: center; }
.rt-picker__devices i.is-on { background: var(--violet); color: #fff; }
.rt-picker__label { display: flex; align-items: center; gap: 7px; margin-top: 2px; color: #ddd4ff; font-size: 13px; font-weight: 700; }
.rt-picker__label .rt-i { width: 16px; height: 16px; color: var(--gold); }
.rt-picker__label em { margin-left: 2px; white-space: nowrap; padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #bdb3e6; font-size: 11px; font-style: normal; }
.rt-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.rt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid rgba(196, 181, 253, .35); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #ece8fb; font: 600 13px/1.1 "DM Sans", sans-serif; transition: background-color .25s ease, border-color .25s ease, transform .25s ease, color .25s ease, opacity .3s ease; }
.rt-chip::before { content: "+"; font-weight: 800; color: var(--gold); }
.rt-chip.is-on { border-color: var(--gold); background: var(--gold); color: #2b1d00; }
.rt-chip.is-on::before { content: "\2713"; color: #2b1d00; }
.rt-picker__count { color: #c9bff0; font-size: 13.5px; }
.rt-picker__count b { color: var(--gold); font: 700 18px/1 "Space Grotesk", sans-serif; }
.rt-note--s1 { justify-self: start; margin: 4px 0 0 30px; transform: rotate(-4deg); transform-origin: left center; }
.rt-s1aside { display: grid; gap: 14px; align-content: start; }

/* Stop 1 demo: a three-step strip, typed fields, chips picked by a cursor, then the tracked list. */
.rt-picker { position: relative; }
.rt-demo-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.rt-demo-steps li { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border: 1px solid rgba(196, 181, 253, .18); border-radius: 9px; background: rgba(255, 255, 255, .04); color: #a99fd0; font-size: 12.5px; font-weight: 700; line-height: 1.15; transition: background-color .3s ease, border-color .3s ease, color .3s ease; }
.rt-demo-steps b { display: grid; place-items: center; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #ddd4ff; font: 700 11.5px/1 "Space Grotesk", sans-serif; transition: background-color .3s ease, color .3s ease; }
.rt-demo-steps li.is-on { border-color: rgba(247, 201, 72, .7); background: rgba(247, 201, 72, .12); color: #fff; }
.rt-demo-steps li.is-on b { background: var(--gold); color: #2b1d00; }
.rt-picker__stage { display: grid; gap: 14px; }
.rt-picker__ideas, .rt-picker__results { display: grid; gap: 10px; align-content: start; }
.rt-results { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rt-results li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: #fff; color: var(--ink); transition: opacity .35s ease, transform .35s ease; }
.rt-results span { font-size: 14px; font-weight: 700; line-height: 1.2; }
.rt-results i { display: grid; justify-items: center; min-width: 54px; padding: 3px 6px; border-radius: 7px; background: #f1ecff; color: #4c1d95; font: 700 16px/1.05 "Space Grotesk", sans-serif; font-style: normal; }
.rt-results small { color: var(--muted); font: 700 10px/1.2 "DM Sans", sans-serif; letter-spacing: .02em; text-transform: uppercase; }
.rt-picker__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); }
.rt-picker__go { display: inline-grid; padding: 9px 16px; border-radius: 999px; background: linear-gradient(180deg, #ffd766 0%, #f2b823 100%); box-shadow: 0 8px 18px rgba(242, 184, 35, .28); color: #2b1d00; font: 700 14px/1.1 "DM Sans", sans-serif; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background-color .3s ease; }
.rt-picker__go > span { grid-area: 1 / 1; text-align: center; transition: opacity .2s ease; }
.rt-picker__go-b, .rt-picker__go.is-done .rt-picker__go-a { opacity: 0; }
.rt-picker__go.is-done .rt-picker__go-b { opacity: 1; }
.rt-picker__go.is-done { background: rgba(34, 197, 94, .16); box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .5); color: #6ee7a0; }
.rt-picker__go.is-press { transform: scale(.93); box-shadow: 0 3px 8px rgba(242, 184, 35, .3); }
.rt-cursor { position: absolute; z-index: 3; left: 0; top: 0; width: 26px; height: 26px; opacity: 0; pointer-events: none; transform: translate(var(--cx, 60%), var(--cy, 60%)); transition: transform .45s cubic-bezier(.4, 0, .2, 1), opacity .25s ease; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .4)); }
.rt-cursor svg { position: relative; z-index: 1; width: 100%; height: 100%; }
.rt-cursor::after { content: ""; position: absolute; left: -9px; top: -9px; width: 26px; height: 26px; border-radius: 50%; background: rgba(247, 201, 72, .55); opacity: 0; transform: scale(.3); }
.rt-cursor.is-on { opacity: 1; }
.rt-cursor.is-tap::after { animation: rt-tap .45s ease-out; }
@keyframes rt-tap { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes rt-caret { 50% { opacity: 0; } }
/* Demo mode (JS on, motion allowed): ideas and results share one cell so the card never changes height. */
.rt-picker.is-demo .rt-picker__stage > * { grid-area: 1 / 1; transition: opacity .4s ease, transform .4s ease; }
.rt-picker.is-demo .rt-picker__results { opacity: 0; transform: translateY(8px); }
.rt-picker.is-demo.is-tracking .rt-picker__ideas { opacity: 0; transform: scale(.96); }
.rt-picker.is-demo.is-tracking .rt-picker__results { opacity: 1; transform: none; }
.rt-picker.is-demo :is(.rt-chip, .rt-picker__ideas .rt-picker__label):not(.is-shown) { opacity: 0; transform: scale(.85); }
.rt-picker.is-demo .rt-picker__ideas .rt-picker__label { transition: opacity .3s ease, transform .3s ease; }
.rt-picker.is-demo .rt-results li:not(.is-shown) { opacity: 0; transform: translateX(-10px); }
.rt-picker.is-demo .rt-chip.is-pop { transform: scale(1.1); }
.rt-picker.is-demo [data-rt-type].is-typing::after { content: ""; width: 2px; height: 1.1em; margin-left: -4px; background: var(--violet); animation: rt-caret .8s steps(1) infinite; }
.rt-picker.is-demo .rt-picker__devices i { transition: background-color .3s ease, color .3s ease; }

/* Stop 2: mobile vs desktop switch (the device frame morphs between phone and monitor) */
.rt-devices { display: grid; justify-items: center; gap: 14px; }
.rt-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 8px 20px rgba(26, 19, 54, .12), 0 0 0 1px rgba(26, 19, 54, .08); }
.rt-switch button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink2); font: 700 14.5px/1 "DM Sans", sans-serif; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.rt-switch .rt-i { width: 18px; height: 18px; }
.rt-switch button[aria-pressed="true"] { background: var(--violet); color: #fff; box-shadow: 0 6px 14px rgba(124, 58, 237, .35); }
.rt-screen {
  position: relative;
  width: 280px;
  padding: 16px 12px 22px;
  border: 10px solid #1c1433;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 24px 48px -14px rgba(26, 19, 54, .45), 0 0 0 1px rgba(26, 19, 54, .2);
  transition: width .6s cubic-bezier(.5, 0, .2, 1), border-radius .6s ease, padding .6s ease, border-width .6s ease;
}
.rt-screen::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 0; height: 0; background: #1c1433; transform: translateX(-50%); transition: width .6s ease, height .6s ease; }
.rt-devices[data-rt-device="desktop"] .rt-screen { width: min(100%, 460px); padding: 14px 16px 16px; border-width: 12px; border-radius: 14px; }
.rt-devices[data-rt-device="desktop"] .rt-screen::after { bottom: -34px; width: 120px; height: 22px; border-radius: 0 0 8px 8px; clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.rt-screen__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.rt-screen__bar i { width: 30px; height: 5px; border-radius: 3px; background: #d9d3ea; }
.rt-screen__list { display: grid; gap: 7px; }
.rt-screen__list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid #ebe6f5; border-radius: 10px; background: #faf8fe; color: var(--ink); font-size: 14px; font-weight: 600; }
.rt-screen__list li > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rt-screen__list b { flex: 0 0 auto; min-width: 46px; padding: 5px 8px; border-radius: 8px; background: #ede4ff; color: #4c1d95; font: 700 15px/1 "Space Grotesk", sans-serif; text-align: center; transition: background-color .3s ease, color .3s ease, transform .3s ease; }
.rt-screen__list b.is-top3 { background: var(--gold); color: #3a2600; }
.rt-screen__list b.is-flip { transform: scale(1.15); }
.rt-devices__cap { color: var(--muted); font-size: 12px; }
.rt-note--s2 { transform: rotate(-5deg); }
.rt-devices[data-rt-device="desktop"] .rt-devices__cap { margin-top: 26px; }

/* Stop 3: Map Pack */
.rt-mapwrap { position: relative; display: grid; gap: 14px; }
.rt-map { overflow: hidden; }
.rt-map__art { width: 100%; height: 170px; }
.rt-map__art text { fill: #fff; font: 700 15px "Space Grotesk", sans-serif; }
.rt-map__list { display: grid; padding: 6px 14px 10px; }
.rt-map__list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.rt-map__list li + li { border-top: 1px solid #efeaf7; }
.rt-map__list li > b { display: grid; flex: 0 0 auto; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #6b7280; color: #fff; font: 700 13px/1 "Space Grotesk", sans-serif; }
.rt-map__list li > span { flex: 1 1 auto; min-width: 0; }
.rt-map__list li.is-you > b { background: var(--violet); box-shadow: 0 0 0 2px var(--gold); }
.rt-map__list small { margin-left: 6px; padding: 2px 6px; border-radius: 5px; background: var(--gold); color: #3a2600; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.rt-mapcell { display: grid; gap: 10px; align-content: start; padding: 18px; }
.rt-mapcell__kw { color: var(--ink); font: 700 17px/1.2 "Space Grotesk", sans-serif; }
.rt-mapcell__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #f6f3fc; color: var(--ink2); font-size: 14px; font-weight: 600; }
.rt-mapcell__row b { font: 700 20px/1 "Space Grotesk", sans-serif; color: var(--ink); }
.rt-mapcell__row b.is-gold { padding: 4px 8px; border-radius: 8px; background: var(--gold); color: #3a2600; }
.rt-mapcell__cap { color: var(--muted); font-size: 12px; }
.rt-note--s3 { justify-self: end; transform: rotate(-5deg); }

/* Stop 4: movement table + month slider */
.rt-moves { display: grid; gap: 14px; padding: 18px; }
.rt-moves__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.rt-moves__title { color: #fff; font: 700 19px/1.2 "Space Grotesk", sans-serif; }
.rt-moves__stats { display: flex; gap: 8px; }
.rt-moves__stats span { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #d8d0f7; font-size: 12.5px; font-weight: 600; }
.rt-moves__stats b { color: var(--gold); font-family: "Space Grotesk", sans-serif; }
.rt-months { display: grid; gap: 6px; }
.rt .rt-months[hidden] { display: none; }
.rt-months input { width: 100%; height: 26px; margin: 0; background: transparent; accent-color: var(--gold); cursor: grab; -webkit-appearance: none; appearance: none; }
.rt-months input::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: #4a3a86; box-shadow: inset 0 0 0 1px rgba(247, 201, 72, .35); }
.rt-months input::-moz-range-track { height: 8px; border-radius: 999px; background: #4a3a86; box-shadow: inset 0 0 0 1px rgba(247, 201, 72, .35); }
.rt-months input::-webkit-slider-thumb { width: 24px; height: 24px; margin-top: -8px; border: 3px solid #fff; border-radius: 50%; background: var(--gold); box-shadow: 0 4px 12px rgba(0, 0, 0, .4); -webkit-appearance: none; appearance: none; }
.rt-months input::-moz-range-thumb { width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: var(--gold); box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.rt-months__ticks { display: flex; justify-content: space-between; padding: 0 2px; color: #bdb3e6; font-size: 12px; font-weight: 700; }
.rt-months__ticks i { width: 32px; font-style: normal; text-align: center; }
.rt-months__ticks i:first-child { text-align: left; }
.rt-months__ticks i:last-child { text-align: right; }
.rt-months__ticks i.is-on { color: var(--gold); }
.rt-table { display: grid; gap: 6px; }
.rt-table__head, .rt-table__row { display: grid; grid-template-columns: minmax(0, 1.8fr) 58px 58px 58px; align-items: center; gap: 8px; }
.rt-table__head { padding: 0 10px; color: #a79fcc; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.rt-table__row { padding: 10px; border: 1px solid rgba(196, 181, 253, .14); border-radius: 10px; background: rgba(255, 255, 255, .05); font-size: 14px; }
.rt-table__row > span:first-child { overflow: hidden; color: #fff; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.rt-table__row [data-prev] { color: #a79fcc; font-family: "Space Grotesk", sans-serif; }
.rt-table__row [data-now] { color: #fff; font: 700 16px/1 "Space Grotesk", sans-serif; }
.rt-table__row [data-now].is-top3 { color: var(--gold); }
.rt .rt-table__trend { display: none; }
.rt-table__trend svg { width: 100%; height: 26px; }
.rt-table__trend polyline { fill: none; stroke: #a78bfa; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.rt-table__trend .rt-ghost { stroke: #a78bfa; stroke-opacity: .25; stroke-dasharray: 3 3; }
.rt-table__trend circle { fill: var(--gold); stroke: #1b1040; stroke-width: 1.5; transition: cx .35s ease, cy .35s ease; }
.rt-moves__cap { color: #a79fcc; font-size: 12px; }
@media (max-width: 699px) {
  /* Phones: the search gets its own line, the numbers sit under it with inline labels. */
  .rt .rt-table__head { display: none; }
  .rt-table__row { grid-template-columns: auto auto minmax(0, 1fr); column-gap: 14px; row-gap: 6px; }
  .rt-table__row > span:first-child { grid-column: 1 / -1; }
  .rt-table__row [data-change] { justify-self: end; }
  .rt-table__row [data-prev]::before { content: "Last month "; font-family: "DM Sans", sans-serif; font-size: 12px; }
  .rt-table__row [data-now]::before { content: "Now "; color: #a79fcc; font: 500 12px/1 "DM Sans", sans-serif; }
}

/* Stop 5: report + email */
.rt-report { display: grid; gap: 14px; }
.rt-movers { display: grid; gap: 12px; }
.rt-mover { display: grid; gap: 8px; align-content: start; padding: 16px; border-top: 4px solid var(--c); }
.rt-mover--win { --c: #22b35e; }
.rt-mover--quick { --c: #e0a100; }
.rt-mover--drop { --c: #e5484d; }
.rt-mover__head { display: flex; align-items: center; gap: 8px; color: var(--ink); font: 700 16px/1 "Space Grotesk", sans-serif; }
.rt-mover__head .rt-i { width: 20px; height: 20px; color: var(--c); }
.rt-mover ul { display: grid; gap: 6px; }
.rt-mover li { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ink2); font-size: 13.5px; }
.rt-mover li > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rt-mover li b { flex: 0 0 auto; color: var(--c); font-family: "Space Grotesk", sans-serif; }
.rt-mover--quick li b { color: #9a6c00; }
.rt-mover__foot { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.rt-email { display: grid; gap: 10px; padding: 14px 16px; }
.rt-email__from { display: flex; align-items: center; gap: 12px; }
.rt-email__from i { display: grid; flex: 0 0 auto; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--violet); color: #fff; font: 700 15px/1 "Space Grotesk", sans-serif; font-style: normal; }
.rt-email__from span { display: grid; gap: 2px; color: #c9bff0; font-size: 13px; }
.rt-email__from b { color: #fff; font-size: 14.5px; }
.rt-email__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 14px; font-weight: 600; }
.rt-email__row span { flex: 1 1 auto; }
.rt-email__row s { color: #a79fcc; font-family: "Space Grotesk", sans-serif; text-decoration: none; }
.rt-email__row b { color: var(--up); font: 700 17px/1 "Space Grotesk", sans-serif; }
.rt-report__cap { color: var(--muted); font-size: 12px; }

/* Stop 6: the rest of the Hub feeding the scoreboard */
.rt-hub { display: grid; gap: 14px; justify-items: center; }
.rt-hub__tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.rt-hub__tools .rt-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; align-items: center; height: 100%; padding: 12px; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.rt-hub__tools a.rt-card:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(26, 19, 54, .14), 0 0 0 1px rgba(124, 58, 237, .3); }
.rt-hub__ico { grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); }
.rt-hub__ico .rt-i { width: 22px; height: 22px; }
.rt-hub__tools b { font-size: 15px; }
.rt-hub__tools small { color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.rt-hub__arrow { width: 56px; height: 24px; color: var(--violet); transform: rotate(90deg); }
.rt-score { display: grid; gap: 8px; width: min(100%, 320px); padding: 18px; }
.rt-score__label { color: var(--gold); font: 700 13px/1 "Space Grotesk", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.rt-score__big { display: flex; align-items: baseline; gap: 10px; color: #d8d0f7; font-size: 14px; font-weight: 600; }
.rt-score__big b { color: #fff; font: 700 46px/1 "Space Grotesk", sans-serif; }
.rt-score__row { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, .06); color: #d8d0f7; font-size: 13.5px; font-weight: 600; }
.rt-score__row b { color: #fff; font-family: "Space Grotesk", sans-serif; }
.rt-score__row b.is-up { color: var(--up); }
.rt-score__cap { color: #a79fcc; font-size: 11.5px; }

/* Finish band: podium where the road ends */
.rt-finish { position: relative; display: grid; gap: 16px; max-width: 780px; margin: 0 auto; padding: 30px 16px 44px 76px; }
.rt-finish > * { position: relative; z-index: 2; }
.rt-podium { width: 200px; height: auto; }
.rt-podium text { font: 700 26px "Space Grotesk", sans-serif; }
.rt-finish__copy { display: grid; gap: 10px; }
.rt-finish__copy h2 { font-size: clamp(24px, 5.6vw, 30px); }
.rt-finish__copy p { color: var(--ink2); font-size: 15.5px; line-height: 1.45; }
.rt-note--out { justify-self: end; transform: rotate(-5deg); }

/* ---------------------------------------------------------------- FAQ + CTA */
.rt-close { position: relative; z-index: 3; display: grid; gap: 24px; padding: 40px 16px 48px; background: linear-gradient(180deg, #1d1044 0%, #140b2e 100%); color: #fff; }
.rt-faq { display: grid; gap: 10px; }
.rt-faq h2 { margin-bottom: 6px; color: #fff; font-size: clamp(24px, 5.4vw, 30px); }
.rt-faq details { border: 1px solid rgba(221, 212, 255, .18); border-radius: 10px; background: rgba(255, 255, 255, .04); }
.rt-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; color: #fff; font-size: 16px; font-weight: 700; list-style: none; cursor: pointer; }
.rt-faq summary::-webkit-details-marker { display: none; }
.rt-faq .rt-plus { flex: 0 0 auto; width: 18px; height: 18px; color: #b9addf; transition: transform .25s ease; }
.rt-faq details[open] .rt-plus { transform: rotate(45deg); }
.rt-faq details p { padding: 0 16px 15px; color: #d6cff0; font-size: 16px; line-height: 1.55; }
.rt-cta { display: grid; gap: 14px; align-content: start; padding: 24px; border: 1px solid rgba(221, 212, 255, .22); border-radius: 18px; background: linear-gradient(160deg, #2a1a5a 0%, #1b1040 55%, #140b30 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 24px 48px -16px rgba(0, 0, 0, .55); }
.rt-cta h2 { color: #fff; font-size: clamp(24px, 5.4vw, 30px); line-height: 1.12; }
.rt-cta p { color: #d6cff0; font-size: 16px; line-height: 1.45; }

/* ---------------------------------------------------------------- motion */
.rt-motion .rt-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.22, .8, .24, 1), transform .6s cubic-bezier(.22, .8, .24, 1); }
.rt-motion .rt-reveal.is-in { opacity: 1; transform: none; }
.rt-motion .rt-pin { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), filter .4s ease; }
.rt-motion .rt-step:not(.is-in) .rt-pin { transform: translateY(-28px) scale(.8); filter: grayscale(1) opacity(.55); }
.rt-motion .rt-map__pin { opacity: 0; transform: translateY(-26px); transform-box: fill-box; transition: opacity .35s ease, transform .55s cubic-bezier(.3, 1.6, .5, 1); }
.rt-motion .rt-step--3.is-in .rt-map__pin { opacity: 1; transform: none; transition-delay: calc(.5s + var(--d)); }
.rt-motion .rt-mover { opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .45s ease, transform .55s cubic-bezier(.3, 1.4, .5, 1); }
.rt-motion .rt-step--5.is-in .rt-mover { opacity: 1; transform: none; }
.rt-motion .rt-step--5.is-in .rt-mover:nth-child(1) { transition-delay: .45s; }
.rt-motion .rt-step--5.is-in .rt-mover:nth-child(2) { transition-delay: .65s; }
.rt-motion .rt-step--5.is-in .rt-mover:nth-child(3) { transition-delay: .85s; }
.rt-motion .rt-podium__star { transform-box: fill-box; transform-origin: center; animation: rt-star 3.2s ease-in-out infinite; }
@keyframes rt-star { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(18deg) scale(1.12); } }
.rt-hub__arrow path:first-child { animation: rt-flow 1.2s linear infinite; }
@keyframes rt-flow { to { stroke-dashoffset: -12; } }

/* ---------------------------------------------------------------- tablets */
@media (min-width: 700px) {
  .rt-hero__copy { padding-top: 40px; }
  .rt-race { grid-template-columns: minmax(0, 1fr); }
  .rt-pick { grid-template-columns: minmax(0, 1fr); }
  .rt-mapwrap { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
  .rt-note--s3 { grid-column: 1 / -1; }
  .rt .rt-table__trend { display: block; }
  .rt-table__head, .rt-table__row { grid-template-columns: minmax(0, 1.8fr) 70px 70px 64px minmax(80px, 1fr); }
  .rt-movers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rt-hub { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; justify-items: stretch; }
  .rt-hub__arrow { transform: none; }
  .rt-score { width: 280px; }
  .rt-finish { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 24px; }
  .rt-note--out { grid-column: 1 / -1; }
  .rt-close { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 32px; padding: 52px clamp(24px, 5vw, 64px) 60px; }
}

/* ---------------------------------------------------------------- desktop rows */
@media (min-width: 1280px) {
  .rt-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; min-height: clamp(600px, 40vw, 720px); padding-bottom: 0; }
  .rt-hero::before {
    background:
      radial-gradient(ellipse 36% 50% at 76% 46%, rgba(247, 201, 72, .16), transparent 70%),
      linear-gradient(90deg, rgba(26, 12, 64, .7) 0%, rgba(26, 12, 64, .45) 40%, rgba(26, 12, 64, 0) 70%),
      linear-gradient(180deg, rgba(20, 11, 46, 0) 70%, rgba(20, 11, 46, .5) 100%);
  }
  .rt-hero__lanes { height: 34%; }
  .rt-hero__copy { grid-column: 1; grid-row: 1; gap: 18px; width: auto; margin: 0; padding: 44px 24px 60px clamp(40px, 4.4vw, 80px); }
  .rt-brand__logo { font-size: 34px; }
  .rt-brand__logo svg { width: 38px; height: 34px; }
  .rt-eyebrow { font-size: 15px; }
  .rt h1 { font-size: clamp(40px, 3.1vw, 60px); }
  .rt-hero__sub { font-size: clamp(16px, 1.1vw, 19px); }
  .rt-race { position: relative; grid-column: 2; grid-row: 1; width: min(100%, 470px); margin: 34px clamp(24px, 3vw, 64px) 40px auto; }
  .rt-note--hero { position: absolute; right: calc(100% - 24px); bottom: 38px; width: 230px; font-size: 31px; }

  .rt-course { --edge: 92px; max-width: 1680px; margin: 0 auto; padding: 36px var(--edge) 0; }
  .rt .rt-road { position: absolute; left: 0; top: 0; z-index: 1; display: block; pointer-events: none; }
  .rt-road path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .rt-road__edge { stroke: var(--road-edge); stroke-width: 36; filter: drop-shadow(0 2px 3px rgba(40, 30, 60, .25)); }
  .rt-road__top { stroke: var(--asphalt); stroke-width: 30; }
  .rt-road__line { stroke: #fff; stroke-width: 2; stroke-dasharray: 12 10; stroke-linecap: butt !important; }
  .rt .rt-drive { position: absolute; z-index: 4; left: 0; top: 0; display: block; width: 140px; visibility: hidden; filter: drop-shadow(0 7px 5px rgba(20, 20, 40, .28)); pointer-events: none; will-change: transform; }
  .rt .rt-drive.is-placed { visibility: visible; }
  .rt-drive img { width: 100%; height: auto; }
  .rt-drive__right, .rt-drive.is-right .rt-drive__left { display: none !important; }
  .rt-drive.is-right .rt-drive__right { display: block !important; }

  .rt-step {
    z-index: 2;
    grid-template-columns: minmax(330px, .72fr) minmax(0, 1.45fr);
    grid-template-areas: "intro visual";
    align-items: start;
    column-gap: clamp(28px, 3vw, 56px);
    max-width: none;
    margin: 0;
    padding: 58px 36px 58px 104px;
  }
  .rt-intro { padding-top: 14px; }
  .rt-step::before, .rt-step::after, .rt-finish::before, .rt-finish::after { content: none; }
  .rt-intro { grid-area: intro; }
  .rt-visual { grid-area: visual; }
  .rt-pin { left: 17px; top: 28px; width: 80px; height: 100px; }
  .rt-pin b { top: 12px; font-size: 42px; }
  .rt h2 { font-size: clamp(27px, 1.95vw, 34px); line-height: 1.06; }

  .rt-pick { grid-template-columns: minmax(0, 660px); justify-content: start; }
  .rt-note--s1 { font-size: 34px; }
  .rt-devices { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "switch screen" "cap screen" "note screen"; grid-template-rows: auto auto 1fr; align-content: center; align-items: start; justify-items: start; column-gap: 48px; row-gap: 10px; min-height: 340px; }
  .rt-note--s2 { grid-area: note; margin-top: 18px; font-size: 36px; }
  .rt-switch { grid-area: switch; }
  .rt-screen { grid-area: screen; justify-self: center; align-self: center; }
  .rt-devices__cap, .rt-devices[data-rt-device="desktop"] .rt-devices__cap { grid-area: cap; align-self: start; margin-top: 0; }
  .rt-mapwrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .rt-note--s3 { justify-self: end; font-size: 36px; }
  .rt-hub { grid-template-columns: minmax(0, 1fr) auto 280px; }

  .rt-finish {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "podium copy note";
    align-items: center;
    column-gap: clamp(24px, 3vw, 48px);
    max-width: none;
    margin: 10px 0 0 104px;
    padding: 26px 32px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 16px 36px rgba(26, 19, 54, .1), 0 0 0 1px rgba(26, 19, 54, .05);
  }
  .rt-podium { grid-area: podium; width: 170px; }
  .rt-finish__copy { grid-area: copy; }
  .rt-finish__copy h2 { font-size: clamp(24px, 1.7vw, 30px); }
  .rt-note--out { grid-column: auto; grid-area: note; font-size: 36px; }
  .rt-course::after { content: ""; display: block; height: 96px; }

  .rt-close { grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr); max-width: none; padding: 56px clamp(40px, 5vw, 96px) 64px; column-gap: clamp(32px, 4vw, 72px); }
}

@media (min-width: 1280px) and (max-width: 1799px) {
  /* With the side panel open the course is ~1150px wide: visuals get the full row under a two-column intro. */
  .rt-step { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "visual"; row-gap: 26px; }
  .rt-step .rt-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: start; }
  .rt-step .rt-intro h2, .rt-step .rt-intro .rt-sub { grid-column: 1; }
  .rt-step .rt-intro > :is(.rt-checks, .rt-try, .rt-s1aside) { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .rt-finish { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "podium copy" "podium note"; row-gap: 8px; }
  .rt-note--out { justify-self: end; }
  .rt-hero__copy { padding-right: 8px; }
  .rt h1 { font-size: clamp(38px, 3.2vw, 48px); }
  .rt-race { width: min(100%, 440px); margin-right: 28px; }
  /* The note sits under the copy column's buttons, over the racing lanes. */
  .rt-note--hero { right: calc(100% + 36px); bottom: 34px; width: 220px; font-size: 29px; }
}

@media (min-width: 1800px) {
  .rt-note--hero { right: calc(100% + 10px); bottom: 60px; }
}

/* Placeholder testimonials (same design as the SEO Audit and Ads pages) */
.rt-reviews { position: relative; z-index: 3; display: grid; gap: 26px; padding: 48px 16px 56px; background: linear-gradient(180deg, #f3f0fb 0%, #f8f5ee 100%); scroll-margin-top: 186px; }
.rt-reviews__head { display: grid; justify-items: center; gap: 10px; max-width: 680px; margin: 0 auto; text-align: center; }
.rt-reviews__label { padding: 4px 12px; border-radius: 999px; background: rgba(26, 19, 54, .06); color: var(--muted); font-size: 13px; font-weight: 600; }
.rt-reviews__grid { display: grid; gap: 18px; width: 100%; max-width: 1280px; margin: 0 auto; }
.rt-review { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 22px; border-radius: 18px; background: linear-gradient(180deg, #fff 0%, #fcfbfe 100%); box-shadow: 0 16px 34px rgba(26, 19, 54, .1), 0 2px 6px rgba(26, 19, 54, .05), 0 0 0 1px rgba(26, 19, 54, .06); }
.rt-review::before { content: ""; position: absolute; inset: 0 22px auto; height: 3px; border-radius: 0 0 3px 3px; background: var(--av); opacity: .85; }
.rt-review::after { content: "\201C"; position: absolute; top: 6px; right: 18px; color: color-mix(in srgb, var(--av) 16%, transparent); font: 700 84px/1 Georgia, serif; pointer-events: none; }
.rt .rt-stars { width: 104px; height: auto; color: #f5b301; filter: drop-shadow(0 1px 1px rgba(181, 120, 0, .25)); }
.rt-review blockquote { flex: 1 1 auto; margin: 0; }
.rt-review blockquote p { color: var(--ink); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.rt-review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(26, 19, 54, .08); }
.rt-review__av { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(145deg, color-mix(in srgb, var(--av) 78%, #fff), var(--av)); box-shadow: 0 6px 14px color-mix(in srgb, var(--av) 35%, transparent), inset 0 1px rgba(255, 255, 255, .35); color: #fff; font: 700 16px/1 "Space Grotesk", sans-serif; letter-spacing: .02em; }
.rt-review figcaption b { display: block; color: var(--ink); font-size: 16px; }
.rt-review figcaption small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
@media (min-width: 700px) { .rt-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .rt-reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1280px) { .rt-reviews { gap: 30px; padding: 64px clamp(40px, 5vw, 96px) 72px; } }
@media (max-width: 1180px) { .rt-reviews { scroll-margin-top: 236px; } }
@media (max-width: 850px) { .rt-reviews { scroll-margin-top: 218px; } }

@media (max-width: 1180px) { .rt-step { scroll-margin-top: 236px; } }
@media (min-width: 1181px) { .rt-step { scroll-margin-top: 186px; } }
@media (max-width: 850px) { .rt-step { scroll-margin-top: 218px; } }
@media (max-width: 459px) {
  .rt-demo-steps li { flex-direction: column; justify-content: flex-start; gap: 4px; padding: 6px 4px; font-size: 11.5px; text-align: center; }
  .rt-results li { grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; padding: 8px 9px; }
  .rt-results i { min-width: 48px; }
  .rt-picker__fields { grid-template-columns: minmax(0, 1fr) 70px; }
  .rt-picker__fields .rt-picker__devices { grid-column: 1 / -1; }
  .rt-board { padding: 12px; }
  .rt-board__list li { gap: 8px; padding: 0 8px; grid-template-columns: 28px 28px minmax(0, 1fr) auto; }
  .rt-board__list li > span { font-size: 13.5px; }
  .rt-board__head { flex-wrap: wrap; }
  .rt-hub__tools { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .rt-btn, .rt-chip, .rt-results li, .rt-cursor, .rt-switch button, .rt-screen, .rt-screen::after, .rt-screen__list b, .rt-faq .rt-plus, .rt-board__list li, .rt-board__badge, .rt-table__trend circle, .rt-hub__tools .rt-card { transition: none !important; }
  .rt-pin, .rt-board__query::after, .rt-podium__star, .rt-hub__arrow path { animation: none !important; }
  .rt-motion .rt-reveal, .rt-motion .rt-pin, .rt-motion .rt-map__pin, .rt-motion .rt-mover { opacity: 1 !important; transform: none !important; transition: none !important; }
  .rt-motion .rt-pin { filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .3)) !important; }
}
