/* Home-only polish. Linked only on / so global.css budget stays honest. */
/* Double the legacy 29–32px headline throughout phone portrait widths,
   including 412px. Keep landscape, larger layouts, and subtext unchanged. */
@layer fx-authoritative {
  /* Size the typography, controls, and proof independently. Scaling the whole
     copy column made the lede and badges compete with the product demo. */
  @media (min-width: 1181px) {
    body#rg-home-win[data-page="home"] .home-hero {
      width: calc(100% - 64px) !important;
      max-width: 1180px !important;
      margin-inline: auto !important;
      padding: 24px 0 28px !important;
      grid-template-columns: minmax(0, 1fr) 500px !important;
      column-gap: 32px !important;
      align-items: start !important;
    }
    body#rg-home-win[data-page="home"] .home-hero-copy {
      align-self: center !important;
      align-content: center !important;
      min-width: 0 !important;
      padding-top: 0 !important;
      zoom: 1;
      row-gap: 24px !important;
      /* Center against the map card, not the playback/link area beneath it. */
      margin-block: 0 144px !important;
    }
    body#rg-home-win[data-page="home"] .home-hero-lead {
      gap: 22px !important;
      padding-block: 0 !important;
    }
    body#rg-home-win[data-page="home"] .home-hero-lead > h1 {
      font-size: clamp(68px, 6vw, 86px) !important;
      line-height: 1.06 !important;
    }
    body#rg-home-win[data-page="home"] .home-hero-lead > p {
      max-width: 42ch !important;
      font-size: clamp(21px, 1.7vw, 24px) !important;
      line-height: 1.45 !important;
    }
    body#rg-home-win[data-page="home"] .home-hero-proofbar {
      max-width: 520px !important;
      padding: 8px 12px !important;
    }
    body#rg-home-win[data-page="home"] .home-hero-proof.home-shift-story {
      align-self: start !important;
    }
  }
  @media (min-width: 981px) and (max-width: 1180px) {
    body#rg-home-win[data-page="home"] .home-hero {
      display: grid !important;
      width: calc(100% - 48px) !important;
      max-width: 1100px !important;
      margin-inline: auto !important;
      padding: 24px 0 !important;
      grid-template-columns: minmax(0, 1fr) 420px !important;
      column-gap: 24px !important;
      align-items: start !important;
    }
    body#rg-home-win[data-page="home"] .home-hero-copy {
      display: grid !important;
      align-self: center !important;
      min-width: 0 !important;
      gap: 22px !important;
      margin-block: 0 144px !important;
    }
    body#rg-home-win[data-page="home"] .home-hero-lead {
      gap: 20px !important;
      padding-block: 0 !important;
    }
    body#rg-home-win[data-page="home"] .home-hero-lead > h1 {
      font-size: clamp(54px, 5.6vw, 66px) !important;
      line-height: 1.06 !important;
    }
    body#rg-home-win[data-page="home"] .home-hero-lead > p {
      font-size: 20px !important;
      line-height: 1.45 !important;
    }
    body#rg-home-win[data-page="home"] .home-hero-proof.home-shift-story {
      align-self: start !important;
      width: 420px !important;
      max-width: 420px !important;
      margin-top: 0 !important;
    }
    body#rg-home-win[data-page="home"] .home-hero-proofbar {
      padding: 8px 10px !important;
      margin-top: 0 !important;
    }
  }
  @media (max-width: 430px) and (orientation: portrait) {
    body#rg-home-win[data-page="home"] .home-hero-lead > h1 {
      font-size: clamp(58px, 15.2vw, 64px) !important;
      line-height: 1.06 !important;
      max-width: 100% !important;
      white-space: normal !important;
      text-wrap: balance;
    }
  }
}
@layer ridegrade-round-24 {
/* The isolated feature story owns its own phone, responsive layout and motion. */
#rg-home-win .home-hero-proof.home-shift-story {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 480px !important;
  height: auto !important;
  min-height: 0 !important;
  margin-inline: auto !important;
  overflow: visible !important;
}
#rg-home-win .home-shift-story iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  background: transparent;
}
#rg-home-win .home-shift-story-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 800;
  color: #0867f2;
  text-underline-offset: 3px;
}
/* Owner ruling W3: the not-affiliated line under the demo, outside its closed drawer. */
#rg-home-win .home-shift-story-note {
  margin: 8px 0 0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #5c6d83 !important;
  text-align: center !important;
}
@media (min-width: 1181px) {
  #rg-home-win .home-hero-proof.home-shift-story {
    max-width: 500px !important;
    margin-inline: auto !important;
    justify-self: center !important;
  }
}
}
@layer ridegrade-round-24 {

#rg-home-win .home-hero-copy {
  justify-items: center !important;
  text-align: center !important;
}

#rg-home-win .home-hero-lead {
  display: grid !important;
  gap: 20px !important;
  justify-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-block: 13px !important;
  text-align: center !important;
}

#rg-home-win .home-hero-copy .eyebrow {
  justify-self: center !important;
  margin-inline: auto !important;
}

#rg-home-win .home-hero-lead h1,
#rg-home-win .home-hero-copy h1,
#rg-home-win .home-hero h1 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-inline: auto !important;
  text-align: center !important;
  justify-self: center !important;
  font-size: clamp(59px, 5.3vw, 79px) !important;
  line-height: 1.06 !important;
  text-wrap: balance;
}

#rg-home-win .home-hero-lead p,
#rg-home-win .home-hero-copy .home-hero-lead > p {
  width: auto !important;
  max-width: 36ch !important;
  margin: 0 auto !important;
  font-size: clamp(20px, 1.7vw, 24px) !important;
  line-height: 1.42 !important;
  text-align: center !important;
  text-wrap: pretty;
}

#rg-home-win .home-hero-copy .hero-actions {
  justify-content: center !important;
  margin-inline: auto !important;
}

#rg-home-win .home-hero-proofbar {
  justify-self: center !important;
  margin-inline: auto !important;
  width: 100% !important;
  max-width: 560px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 10px 14px !important;
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: var(--shadow-card) !important;
}

#rg-home-win .home-hero-copy .home-proof-scope,
#rg-home-win .home-hero-proofbar .home-proof-scope,
#rg-home-win .home-hero-proofbar .scope-strip {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px 10px !important;
  width: 100% !important;
  max-width: none !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

#rg-home-win .home-hero-copy .home-proof-scope > span,
#rg-home-win .home-hero-proofbar .home-proof-scope > span {
  display: inline-flex !important;
  flex: 0 1 auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 40px !important;
  padding: 6px 10px !important;
  border: 1px solid var(--soft-line) !important;
  border-radius: 999px !important;
  background: var(--wash) !important;
}

#rg-home-win .home-hero-proofbar .home-proof-scope > span .rg-icon,
#rg-home-win .home-hero-proofbar .home-proof-scope > span .rg-icon svg {
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
}

#rg-home-win .home-hero-copy .trust-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  max-width: none !important;
}

#rg-home-win .home-hero-copy .trust-item {
  display: grid !important;
  justify-items: center !important;
  gap: 6px !important;
  padding: 8px 6px 2px !important;
  text-align: center !important;
}

#rg-home-win .home-hero-copy .trust-item > .rg-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 999px !important;
  background: var(--wash) !important;
  margin-inline: auto !important;
}

#rg-home-win .bubble-showcase {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px) !important;
  align-items: start !important;
  gap: 20px !important;
}

#rg-home-win .showcase-multi-app-card {
  min-width: 0 !important;
  padding: 16px !important;
  border: 1px solid #ddd4f5 !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #faf8ff 0%, #fff 72%) !important;
}

#rg-home-win .showcase-multi-app-rows {
  display: grid !important;
  gap: 16px !important;
}

#rg-home-win .showcase-multi-app-card .multi-app-row {
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 58px !important;
}

#rg-home-win .showcase-multi-app-card .ride-bubble {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

#rg-home-win .showcase-multi-app-card .text-link {
  margin-top: 10px !important;
}

@media (max-width: 1180px) {
  #rg-home-win .home-hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  #rg-home-win .home-hero-copy {
    display: contents !important;
  }

  #rg-home-win .home-hero-copy .eyebrow {
    order: 1 !important;
    justify-self: center !important;
    margin-inline: auto !important;
    text-align: center !important;
  }

  #rg-home-win .home-hero-lead {
    order: 2 !important;
    gap: 18px !important;
    width: 100% !important;
    text-align: center !important;
    justify-items: center !important;
  }

  #rg-home-win .home-hero-lead h1,
  #rg-home-win .home-hero-lead p {
    text-align: center !important;
    margin-inline: auto !important;
  }

  #rg-home-win .home-hero-lead h1 {
    font-size: clamp(55px, 7.7vw, 73px) !important;
  }

  #rg-home-win .home-hero-lead p {
    font-size: clamp(20px, 2.9vw, 24px) !important;
  }

  #rg-home-win .home-hero-copy .hero-actions {
    order: 3 !important;
    width: min(100%, 360px) !important;
    margin-inline: auto !important;
    justify-content: center !important;
  }

  #rg-home-win .home-hero-proof {
    order: 4 !important;
    margin-top: 12px !important;
    width: 100% !important;
    max-width: 420px !important;
  }

  #rg-home-win .home-hero-proof .product-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
    gap: 14px !important;
  }

  #rg-home-win .home-hero-proof .offer-phone {
    position: relative !important;
    overflow: hidden !important;
    inset: auto !important;
    transform: none !important;
    margin-inline: auto !important;
    max-width: 100% !important;
  }

  #rg-home-win .home-hero-proof .phone-preview-label,
  #rg-home-win .home-hero-proof .phone-status {
    position: absolute !important;
  }

  #rg-home-win .home-hero-proof .phone-preview-label {
    left: 12px !important;
    top: 32px !important;
    right: auto !important;
  }

  #rg-home-win .home-hero-proof .phone-status {
    top: 8px !important;
    left: 12px !important;
    right: 12px !important;
  }

  #rg-home-win .home-hero-proof .floating-bubble,
  #rg-home-win .home-hero-proof .expanded-card {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    margin-inline: auto !important;
    max-width: 100% !important;
  }

  #rg-home-win .home-hero-proofbar {
    order: 5 !important;
    margin-top: 8px !important;
  }

  #rg-home-win .bubble-showcase {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #rg-home-win .bubble-showcase-card .ride-bubble {
    width: min(100%, 280px) !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 980px) {
  #rg-home-win .home-hero {
    align-items: center !important;
    text-align: center !important;
  }
}

}

/* Unlayered lock. Layered polish loses to unlayered global.css !important. */
#rg-home-win .bubble-showcase-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

#rg-home-win .bubble-showcase-section > .section-heading,
#rg-home-win .section-heading-center {
  display: grid !important;
  justify-items: center !important;
  text-align: center !important;
  width: 100% !important;
  margin-inline: auto !important;
}

#rg-home-win .section-heading-center h2 {
  text-align: center !important;
  margin-inline: auto !important;
}

#rg-home-win .bubble-showcase {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px) !important;
  gap: 20px !important;
  align-items: start !important;
  width: 100% !important;
}

#rg-home-win .bubble-showcase-glance {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: start !important;
  justify-items: center !important;
  min-width: 0 !important;
}

#rg-home-win .showcase-collapsed-card,
#rg-home-win .showcase-expanded-card,
#rg-home-win .showcase-states-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
}

#rg-home-win .showcase-collapsed-card .showcase-card-head,
#rg-home-win .showcase-expanded-card .showcase-card-head,
#rg-home-win .showcase-states-card .showcase-card-head {
  display: grid !important;
  justify-items: center !important;
  text-align: center !important;
  width: 100% !important;
}

#rg-home-win .showcase-collapsed-card .showcase-card-head h3,
#rg-home-win .showcase-expanded-card .showcase-card-head h3,
#rg-home-win .showcase-states-card .showcase-card-head h3,
#rg-home-win .showcase-collapsed-card .showcase-card-head p,
#rg-home-win .showcase-expanded-card .showcase-card-head p,
#rg-home-win .showcase-states-card .showcase-card-head p {
  text-align: center !important;
  margin-inline: auto !important;
}

#rg-home-win .showcase-collapsed,
#rg-home-win .showcase-states,
#rg-home-win .showcase-expanded-card .expanded-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  justify-items: stretch !important;
}

#rg-home-win .showcase-collapsed .ride-bubble,
#rg-home-win .showcase-states .ride-bubble,
#rg-home-win .showcase-expanded-card .ride-bubble,
#rg-home-win .showcase-expanded-card .expanded-card {
  margin-inline: auto !important;
}

#rg-home-win .showcase-collapsed-note {
  justify-content: center !important;
  text-align: center !important;
}

#rg-home-win .showcase-multi-app-card {
  grid-column: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  min-width: 0 !important;
  padding: 14px 12px 16px !important;
}

#rg-home-win .showcase-multi-app-card .showcase-card-head {
  width: 100% !important;
  text-align: center !important;
  justify-items: center !important;
}

#rg-home-win .showcase-multi-app-card .showcase-card-head h3 {
  max-width: 16ch !important;
  text-align: center !important;
  margin-inline: auto !important;
}

#rg-home-win .showcase-split-phone,
#rg-home-win .showcase-multi-app-card .split-phone {
  width: min(212px, 100%) !important;
  margin-inline: auto !important;
}

#rg-home-win .showcase-multi-app-card .multi-app-verdict {
  width: 100% !important;
  margin: 8px 0 0 !important;
  font-size: 12px !important;
  text-align: center !important;
}

#rg-home-win .showcase-multi-app-card .text-link {
  margin-top: 8px !important;
}

#rg-home-win .showcase-multi-app-card .ride-bubble,
#rg-home-win .ride-bubble.is-stack-row {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) 28px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 40px !important;
  padding: 3px 4px !important;
}

#rg-home-win .showcase-multi-app-card .bubble-metrics,
#rg-home-win .ride-bubble.is-stack-row .bubble-metrics {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

#rg-home-win .showcase-multi-app-card .metric-chip,
#rg-home-win .ride-bubble.is-stack-row .metric-chip {
  min-width: 0 !important;
  padding: 4px 3px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 11.5px !important;
}

#rg-home-win .strip-panel.development-panel,
#rg-home-win main > section.strip-panel.development-panel {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  position: relative !important;
}

#rg-home-win .development-panel > div:first-child,
#rg-home-win .development-panel > .mini-roadmap,
#rg-home-win .development-panel > .text-link {
  position: static !important;
  inset: auto !important;
  grid-area: auto !important;
  transform: none !important;
}

#rg-home-win .development-panel > div:first-child { order: 1 !important; }
#rg-home-win .development-panel > .mini-roadmap {
  order: 2 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
}
#rg-home-win .development-panel > .text-link {
  order: 3 !important;
  align-self: flex-start !important;
  min-height: 44px !important;
  height: auto !important;
  max-height: none !important;
}

@media (max-width: 1279px) and (min-width: 821px) {
  #rg-home-win .bubble-showcase {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px) !important;
  }

  #rg-home-win .bubble-showcase-glance {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1180px) {
  #rg-home-win .home-hero-proof .offer-phone {
    position: relative !important;
    overflow: hidden !important;
  }

  #rg-home-win .home-hero-proof .phone-preview-label {
    position: absolute !important;
    left: 12px !important;
    top: 32px !important;
    right: auto !important;
    z-index: 4 !important;
  }

  #rg-home-win .home-hero-proof .phone-status {
    position: absolute !important;
    top: 8px !important;
    left: 12px !important;
    right: 12px !important;
    z-index: 3 !important;
  }
}

@media (max-width: 820px) {
  #rg-home-win .bubble-showcase {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #rg-home-win .bubble-showcase-glance {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  #rg-home-win .showcase-multi-app-card {
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  #rg-home-win .development-panel > .mini-roadmap {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

#rg-home-win .showcase-multi-app-card .split-phone-overlay {
  width: calc(100% - 16px) !important;
  padding: 7px !important;
  gap: 5px !important;
}

#rg-home-win .showcase-multi-app-card .split-phone-overlay .ride-bubble {
  min-height: 32px !important;
  padding: 2px 3px !important;
}

#rg-home-win .showcase-multi-app-card .split-phone-overlay .metric-chip {
  font-size: 9.5px !important;
  padding: 3px 2px !important;
}

#rg-home-win .bubble-showcase {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  align-items: stretch !important;
}

#rg-home-win .bubble-showcase-glance {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  justify-items: stretch !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#rg-home-win .showcase-collapsed-card,
#rg-home-win .showcase-expanded-card,
#rg-home-win .showcase-states-card {
  height: 100% !important;
  padding: 18px 16px 16px !important;
  border: 1px solid #d7e0ec !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(15, 38, 89, 0.06) !important;
}

#rg-home-win .showcase-collapsed-card .showcase-card-head,
#rg-home-win .showcase-expanded-card .showcase-card-head,
#rg-home-win .showcase-states-card .showcase-card-head {
  justify-items: center !important;
  text-align: center !important;
}

#rg-home-win .showcase-collapsed-card .showcase-card-head h3,
#rg-home-win .showcase-expanded-card .showcase-card-head h3,
#rg-home-win .showcase-states-card .showcase-card-head h3 {
  font-size: 18px !important;
  font-weight: 800 !important;
  text-align: center !important;
}

/* Center the three mini-cards in the leftover column next to Pro+,
   and put a punchy lede under the section title. */
#rg-home-win .bubble-showcase-section {
  justify-content: center !important;
  gap: 18px !important;
}

#rg-home-win .bubble-showcase-section > .section-heading {
  gap: 10px !important;
  max-width: 44rem !important;
  margin-bottom: 4px !important;
}

#rg-home-win .bubble-showcase-lede {
  display: block !important;
  width: fit-content !important;
  max-width: min(36rem, 100%) !important;
  margin: 2px auto 0 !important;
  padding: 8px 18px !important;
  border: 1px solid #d7e0ec !important;
  border-radius: 999px !important;
  background: #f4f7ff !important;
  color: var(--navy) !important;
  font-family: var(--font-sans) !important;
  font-size: clamp(15px, 1.3vw, 18px) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  text-wrap: balance;
  box-shadow: 0 8px 18px rgba(15, 38, 89, 0.05) !important;
}

#rg-home-win .bubble-showcase-lede .lede-tone {
  font-weight: 800 !important;
}

#rg-home-win .bubble-showcase-lede .is-green { color: var(--green) !important; }
#rg-home-win .bubble-showcase-lede .is-yellow { color: #c98900 !important; }
#rg-home-win .bubble-showcase-lede .is-red { color: var(--red) !important; }
#rg-home-win .bubble-showcase-lede .is-gray { color: var(--gray) !important; }

#rg-home-win .bubble-showcase {
  align-items: stretch !important;
  justify-content: center !important;
}

#rg-home-win .bubble-showcase-glance {
  align-self: stretch !important;
  align-items: stretch !important;
  align-content: stretch !important;
  justify-content: center !important;
  height: auto !important;
  min-height: 100% !important;
}

#rg-home-win .showcase-collapsed-card,
#rg-home-win .showcase-expanded-card,
#rg-home-win .showcase-states-card {
  align-self: stretch !important;
  height: 100% !important;
  min-height: 100% !important;
  justify-content: center !important;
}

@media (min-width: 1181px) {
  #rg-home-win .bubble-showcase {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #rg-home-win .bubble-showcase-glance {
    grid-template-columns: repeat(3, minmax(260px, 1fr)) !important;
  }
}

@media (max-width: 1180px) {
  #rg-home-win .bubble-showcase-lede {
    width: 100% !important;
    max-width: 32rem !important;
    border-radius: 16px !important;
    padding: 10px 14px !important;
  }

  #rg-home-win .bubble-showcase {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }

  #rg-home-win .bubble-showcase-glance {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    min-height: 0 !important;
    gap: 14px !important;
  }

  #rg-home-win .showcase-collapsed-card,
  #rg-home-win .showcase-expanded-card,
  #rg-home-win .showcase-states-card,
  #rg-home-win .showcase-multi-app-card {
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  #rg-home-win .showcase-collapsed .ride-bubble,
  #rg-home-win .showcase-states .ride-bubble,
  #rg-home-win .showcase-expanded-card .expanded-card,
  #rg-home-win .showcase-expanded-card .ride-bubble {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #rg-home-win .showcase-collapsed-card .metric-chip,
  #rg-home-win .showcase-expanded-card .metric-chip,
  #rg-home-win .showcase-states-card .metric-chip {
    overflow: hidden !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    font-size: 10px !important;
    padding: 4px 2px !important;
  }
}

/* Phone + portrait: never keep the three glance cards in one crushed row.
   A later 3-col lock at <=1180 was wrapping "Collapsed bubble" as
   "Collapse d bubble" and "High confidence" as "High confide nce". */
@media (max-width: 900px), (max-width: 1180px) and (orientation: portrait) {
  #rg-home-win .bubble-showcase,
  #rg-home-win .bubble-showcase-glance {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-flow: row !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #rg-home-win .showcase-collapsed-card,
  #rg-home-win .showcase-expanded-card,
  #rg-home-win .showcase-states-card,
  #rg-home-win .showcase-multi-app-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
  }

  #rg-home-win .showcase-collapsed-card .showcase-card-head h3,
  #rg-home-win .showcase-expanded-card .showcase-card-head h3,
  #rg-home-win .showcase-states-card .showcase-card-head h3,
  #rg-home-win .showcase-collapsed-card .showcase-card-head p,
  #rg-home-win .showcase-expanded-card .showcase-card-head p,
  #rg-home-win .showcase-states-card .showcase-card-head p {
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
    white-space: normal !important;
  }
}

@media (min-width: 901px) and (max-width: 1180px) and (orientation: landscape) {
  #rg-home-win .bubble-showcase-glance {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Glance cards: Pro+ sits below the three proof cards so metrics never crush. */
#rg-home-win .bubble-showcase {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 20px !important;
  align-items: stretch !important;
  width: 100% !important;
}

#rg-home-win .bubble-showcase-glance {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(260px, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
}

#rg-home-win .showcase-collapsed-card,
#rg-home-win .showcase-expanded-card,
#rg-home-win .showcase-states-card {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

#rg-home-win .showcase-collapsed .ride-bubble,
#rg-home-win .showcase-states .ride-bubble,
#rg-home-win .showcase-expanded-card .ride-bubble,
#rg-home-win .showcase-expanded-card .expanded-card {
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr) 30px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

#rg-home-win .showcase-expanded-card .expanded-card {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
}

#rg-home-win .showcase-expanded-card .expanded-card .ride-bubble {
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr) 30px !important;
}

#rg-home-win .showcase-collapsed-card .bubble-metrics,
#rg-home-win .showcase-expanded-card .bubble-metrics,
#rg-home-win .showcase-states-card .bubble-metrics {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  min-width: 0 !important;
  overflow: hidden !important;
  flex: 1 1 auto !important;
}

#rg-home-win .showcase-collapsed-card .metric-chip,
#rg-home-win .showcase-expanded-card .metric-chip,
#rg-home-win .showcase-states-card .metric-chip {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 10.5px !important;
  padding: 4px 3px !important;
}

@media (max-width: 1100px) {
  #rg-home-win .bubble-showcase-glance {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Homepage live-offer demo. The offer surface is intentionally neutral at
   every state; semantic color belongs exclusively to the RideGrade read. */
#rg-home-win .home-offer-demo {
  width: 100%;
  max-width: 560px;
  min-width: 0;
  margin-inline: auto;
  color: var(--ink);
  font-family: var(--font-ui);
}

#rg-home-win .home-demo-stage {
  position: relative;
  width: 100%;
  min-height: 484px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #cfdaea;
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 24%, rgba(8, 103, 242, 0.09), transparent 28%),
    linear-gradient(32deg, transparent 0 47%, rgba(219, 228, 239, 0.62) 47.3% 48.4%, transparent 48.7% 100%),
    linear-gradient(108deg, transparent 0 39%, rgba(223, 231, 240, 0.7) 39.2% 40.3%, transparent 40.7% 100%),
    #f8fbff;
  box-shadow: 0 20px 48px rgba(15, 38, 89, 0.1);
}

#rg-home-win .home-demo-stage::before,
#rg-home-win .home-demo-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 48% 52% 60% 40%;
  background: rgba(222, 241, 226, 0.72);
  pointer-events: none;
}

#rg-home-win .home-demo-stage::before {
  top: -30px;
  right: 56px;
  width: 172px;
  height: 118px;
  transform: rotate(12deg);
}

#rg-home-win .home-demo-stage::after {
  left: -42px;
  bottom: 48px;
  width: 154px;
  height: 116px;
  transform: rotate(-14deg);
}

#rg-home-win .home-demo-phone {
  position: absolute;
  top: 15px;
  left: 50%;
  z-index: 2;
  width: 280px;
  height: 420px;
  overflow: hidden;
  border: 8px solid #101827;
  border-radius: 31px;
  background: #101827;
  box-shadow: 0 26px 58px rgba(11, 22, 53, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transform: translateX(-50%);
}

#rg-home-win .home-demo-phone-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 23px;
  background: #edf1f4;
}

#rg-home-win .home-demo-statusbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 13px;
  color: #111827;
  font-size: 8px;
  font-weight: 800;
}

#rg-home-win .home-demo-statusbar > span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

#rg-home-win .home-demo-statusbar .rg-icon,
#rg-home-win .home-demo-statusbar .rg-icon svg {
  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  min-height: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

#rg-home-win .home-demo-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(30deg, transparent 0 46%, rgba(203, 212, 221, 0.75) 46.3% 47.5%, transparent 47.8% 100%),
    linear-gradient(110deg, transparent 0 42%, rgba(206, 216, 225, 0.72) 42.3% 43.4%, transparent 43.7% 100%),
    linear-gradient(180deg, #f1f4f5 0%, #e8edef 100%);
}

#rg-home-win .home-demo-map::before {
  content: "";
  position: absolute;
  top: 70px;
  right: -34px;
  width: 108px;
  height: 84px;
  border-radius: 50%;
  background: rgba(187, 219, 194, 0.58);
}

#rg-home-win .home-demo-map::after {
  content: "";
  position: absolute;
  left: -44px;
  bottom: 34px;
  width: 118px;
  height: 96px;
  border-radius: 48% 52% 58% 42%;
  background: rgba(194, 225, 202, 0.44);
}

#rg-home-win .home-demo-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#rg-home-win .home-demo-road,
#rg-home-win .home-demo-route-shadow,
#rg-home-win .home-demo-route {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#rg-home-win .home-demo-road {
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 9;
}

#rg-home-win .home-demo-road-minor { stroke-width: 6; }
#rg-home-win .home-demo-route-shadow { stroke: rgba(11, 22, 53, 0.2); stroke-width: 8; }
#rg-home-win .home-demo-route { stroke: var(--blue); stroke-width: 4.5; }
#rg-home-win .home-demo-route-start { fill: #fff; stroke: var(--navy); stroke-width: 3; }

#rg-home-win .home-demo-map-label {
  position: absolute;
  z-index: 2;
  color: #78869a;
  font-size: 7px;
  font-weight: 800;
}

#rg-home-win .home-demo-map-label-a { top: 108px; left: 28px; }
#rg-home-win .home-demo-map-label-b { top: 174px; right: 16px; }

#rg-home-win .home-demo-offer {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 11px;
  z-index: 6;
  display: grid;
  gap: 7px;
  min-height: 222px;
  overflow: hidden;
  border: 1px solid #d8e1ec;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(11, 22, 53, 0.18);
  padding: 13px 12px 10px;
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.985);
  transform-origin: 50% 100%;
  transition:
    transform 340ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 180ms ease-out;
  will-change: transform, opacity;
}

#rg-home-win .home-demo-stage:not([data-phase="idle"]) .home-demo-offer {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

#rg-home-win .home-demo-offer-progress {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  overflow: hidden;
  background: #e8edf4;
}

#rg-home-win .home-demo-offer-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(1);
  transform-origin: 0 50%;
  background: var(--blue);
  will-change: transform;
}

#rg-home-win .home-demo-offer-topline,
#rg-home-win .home-demo-offer-head,
#rg-home-win .home-demo-offer-route-row {
  display: flex;
  align-items: center;
}

#rg-home-win .home-demo-offer-topline,
#rg-home-win .home-demo-offer-head { justify-content: space-between; }

#rg-home-win .home-demo-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  color: #111827;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

#rg-home-win .home-demo-source-mark {
  width: 21px;
  height: 21px;
  min-width: 21px;
  border-radius: 6px;
  font-size: 8px;
  transition: background-color 220ms ease-out, color 220ms ease-out;
}

#rg-home-win .home-demo-source > b {
  font-size: 8px;
  font-weight: 900;
}

#rg-home-win .home-demo-timer {
  display: inline-flex;
  align-items: baseline;
  min-width: 28px;
  color: #627087;
  font-size: 9px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

#rg-home-win .home-demo-timer b {
  color: var(--navy);
  font-size: 13px;
}

#rg-home-win .home-demo-decline {
  display: none;
  color: #6b7280;
  font-size: 8px;
  font-weight: 850;
}

#rg-home-win .home-demo-offer-head > div {
  display: grid;
  gap: 1px;
}

#rg-home-win .home-demo-offer-head > div > span {
  color: #68768a;
  font-size: 8px;
  font-weight: 800;
}

#rg-home-win .home-demo-offer-head > div > small {
  color: #778398;
  font-size: 7px;
  font-weight: 700;
  line-height: 1.15;
}

#rg-home-win .home-demo-offer-head > div > strong {
  color: #0b0f33;
  font-family: var(--font-brand);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

#rg-home-win .home-demo-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #53627a;
  font-size: 9px;
  font-weight: 800;
}

#rg-home-win .home-demo-rating .rg-icon,
#rg-home-win .home-demo-rating .rg-icon svg {
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  min-height: 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

#rg-home-win .home-demo-offer > .offer-detail-list {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 7px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#rg-home-win .home-demo-offer-route-row {
  display: grid !important;
  grid-template-columns: 8px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 8px !important;
  min-width: 0 !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

#rg-home-win .home-demo-offer-route-row dt,
#rg-home-win .home-demo-offer-route-row dd {
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#rg-home-win .home-demo-offer-route-row dd {
  display: grid !important;
  gap: 1px !important;
}

#rg-home-win .home-demo-offer-route-row i {
  display: block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 3px;
  border: 2px solid #344157;
  border-radius: 50%;
  background: #fff;
}

#rg-home-win .home-demo-offer-route-row:last-child i {
  border-radius: 2px;
  background: #344157;
}

#rg-home-win .home-demo-offer-route-row b {
  color: #18233a;
  font-size: 8.5px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

#rg-home-win .home-demo-offer-route-row small {
  color: #718096;
  font-size: 7.5px;
  font-weight: 650;
  line-height: 1.2;
}

#rg-home-win .home-demo-offer-action {
  display: grid;
  place-items: center;
  min-height: 30px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

#rg-home-win .home-demo-offer-action b { font: inherit; }

#rg-home-win .home-demo-offer-action small {
  display: none;
  font-size: 7px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

#rg-home-win .home-demo-stage[data-app="doordash"] .home-demo-offer-progress > span,
#rg-home-win .home-demo-stage[data-app="doordash"] .home-demo-offer-action {
  background: #eb1700;
}

#rg-home-win .home-demo-stage[data-app="doordash"] .home-demo-timer { display: none; }
#rg-home-win .home-demo-stage[data-app="doordash"] .home-demo-decline { display: inline-flex; }
#rg-home-win .home-demo-stage[data-app="doordash"] .home-demo-offer-head { justify-content: center; }

#rg-home-win .home-demo-stage[data-app="doordash"] .home-demo-offer-head > div {
  justify-items: center;
  text-align: center;
}

#rg-home-win .home-demo-stage[data-app="doordash"] .home-demo-offer-head > div > span {
  color: #111827;
  font-size: 9px;
}

#rg-home-win .home-demo-stage[data-app="doordash"] .home-demo-offer-head > div > strong {
  font-size: 26px;
}

#rg-home-win .home-demo-stage[data-app="doordash"] .home-demo-rating { display: none; }

#rg-home-win .home-demo-stage[data-app="doordash"] .home-demo-offer-route-row {
  border: 1px solid #e5e7eb !important;
  border-radius: 9px !important;
  background: #f8fafc !important;
  padding: 6px 7px !important;
}

#rg-home-win .home-demo-stage[data-app="doordash"] .home-demo-offer-action {
  grid-auto-flow: column;
  gap: 6px;
}

#rg-home-win .home-demo-stage[data-app="doordash"] .home-demo-offer-action small { display: inline; }

#rg-home-win .home-demo-gesture {
  position: absolute;
  left: 50%;
  bottom: 4px;
  z-index: 10;
  width: 72px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #111827;
}

#rg-home-win .home-demo-read {
  position: absolute;
  inset: 38px 0 0;
  z-index: 8;
  pointer-events: none;
}

#rg-home-win .home-demo-read .expanded-card {
  --home-demo-accent: #a6afbd;
  --home-demo-card-border: rgba(148, 163, 184, 0.62);
  position: absolute !important;
  top: 0 !important;
  right: auto !important;
  left: 50% !important;
  z-index: 9 !important;
  display: block !important;
  align-self: auto !important;
  justify-self: auto !important;
  width: 228px !important;
  max-width: calc(100% - 18px) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: 42px !important;
  margin: 0 !important;
  overflow: visible !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  transform: translate3d(-50%, 0, 0) !important;
  transform-origin: top center !important;
  transition:
    top 320ms cubic-bezier(0.16, 1, 0.3, 1),
    left 320ms cubic-bezier(0.16, 1, 0.3, 1),
    width 380ms cubic-bezier(0.16, 1, 0.3, 1),
    max-height 400ms cubic-bezier(0.16, 1, 0.3, 1),
    padding 340ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 260ms ease-out,
    background-color 260ms ease-out,
    box-shadow 330ms ease-out !important;
  will-change: top, max-height, padding;
}

#rg-home-win .home-demo-read .expanded-card::before { content: none !important; }
#rg-home-win .home-demo-read .expanded-card.tone-green { --home-demo-accent: #28d889; --home-demo-card-border: rgba(42, 216, 132, 0.46); }
#rg-home-win .home-demo-read .expanded-card.tone-yellow { --home-demo-accent: #f7bd4d; --home-demo-card-border: rgba(247, 189, 77, 0.52); }
#rg-home-win .home-demo-read .expanded-card.tone-red { --home-demo-accent: #ff7777; --home-demo-card-border: rgba(255, 119, 119, 0.52); }

#rg-home-win .home-demo-read .expanded-card .ride-bubble {
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  grid-template-columns: 27px minmax(0, 1fr) 25px !important;
  align-items: center !important;
  gap: 4px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 38px !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 2px solid var(--home-demo-accent) !important;
  border-radius: 999px !important;
  background: #fff !important;
  background-clip: padding-box !important;
  padding: 3px 4px !important;
  box-shadow: 0 8px 18px rgba(15, 35, 70, 0.1) !important;
  box-sizing: border-box !important;
  transition:
    border-color 300ms cubic-bezier(0.16, 1, 0.3, 1),
    color 260ms ease-out,
    background-color 260ms ease-out,
    box-shadow 300ms ease-out !important;
}

#rg-home-win .home-demo-read .bubble-rg {
  width: 27px !important;
  height: 27px !important;
  min-width: 27px !important;
  border-radius: 8px !important;
  font-size: 10px !important;
  transition: background-color 300ms cubic-bezier(0.16, 1, 0.3, 1), color 240ms ease-out !important;
}

#rg-home-win .home-demo-read .bubble-metrics {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) minmax(0, 0.82fr) !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  transition: border-color 300ms ease-out, background-color 300ms ease-out !important;
}

#rg-home-win .home-demo-read .metric-chip {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  padding: 4px 2px !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  font-size: 8.2px !important;
  letter-spacing: -0.015em !important;
  transition: color 260ms ease-out, border-color 260ms ease-out, background-color 260ms ease-out !important;
}

#rg-home-win .home-demo-read .bubble-map {
  display: grid !important;
  place-items: center !important;
  width: 25px !important;
  height: 25px !important;
  min-width: 25px !important;
  padding: 0 !important;
  transition: border-color 280ms ease-out, background-color 280ms ease-out, color 260ms ease-out !important;
}

#rg-home-win .home-demo-read .bubble-map .rg-icon,
#rg-home-win .home-demo-read .bubble-map .rg-icon svg {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
}

#rg-home-win .home-demo-read .expanded-card-body {
  display: grid !important;
  gap: 5px !important;
  max-height: 0 !important;
  overflow: hidden !important;
  padding: 0 8px !important;
  opacity: 0 !important;
  transform: translate3d(0, -5px, 0) !important;
  transition:
    max-height 380ms cubic-bezier(0.16, 1, 0.3, 1),
    padding 360ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 190ms ease-out 55ms,
    transform 310ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#rg-home-win .home-demo-stage[data-phase="expanded"] .home-demo-read .expanded-card {
  top: 0 !important;
  right: auto !important;
  left: 50% !important;
  width: 236px !important;
  max-height: 236px !important;
  overflow: hidden !important;
  border-color: var(--home-demo-card-border) !important;
  background: #061424 !important;
  box-shadow: 0 24px 46px rgba(6, 20, 36, 0.28) !important;
  padding: 8px !important;
}

#rg-home-win .home-demo-stage[data-phase="expanded"] .home-demo-read .expanded-card-body {
  max-height: 184px !important;
  padding: 9px 6px 5px !important;
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}

#rg-home-win .home-demo-read .expanded-card-topline {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  color: var(--home-demo-accent) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

#rg-home-win .home-demo-read .expanded-card-topline > strong { color: var(--home-demo-accent) !important; white-space: nowrap !important; }
#rg-home-win .home-demo-read .card-controls { display: inline-flex !important; gap: 7px !important; }
#rg-home-win .home-demo-read .card-controls .rg-icon,
#rg-home-win .home-demo-read .card-controls .rg-icon svg { width: 13px !important; height: 13px !important; min-width: 13px !important; min-height: 13px !important; }

#rg-home-win .home-demo-read .expanded-card-body > p {
  margin: 0 !important;
  color: #f7fbff !important;
  font-size: 11.5px !important;
  font-weight: 650 !important;
  line-height: 1.34 !important;
}

#rg-home-win .home-demo-read .confidence {
  color: var(--home-demo-accent) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

#rg-home-win .home-demo-read ul {
  display: grid !important;
  gap: 4px !important;
  margin: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
  padding: 7px 0 0 17px !important;
  color: #fff !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

#rg-home-win .home-demo-read li::marker { color: var(--home-demo-accent) !important; }

#rg-home-win .home-demo-tap {
  position: absolute;
  top: 47px;
  right: 2px;
  z-index: 15;
  display: grid;
  place-items: center;
  width: 40px;
  height: 46px;
  color: var(--blue);
  opacity: 0;
  transform: translate3d(14px, 22px, 0) rotate(-13deg) scale(0.9);
  transform-origin: 14px 5px;
  pointer-events: none;
  will-change: opacity, transform;
}

#rg-home-win .home-demo-tap .rg-icon {
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  border: 1px solid rgba(8, 103, 242, 0.18) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 8px 18px rgba(10, 30, 65, 0.18) !important;
}

#rg-home-win .home-demo-tap .rg-icon svg {
  width: 23px !important;
  height: 23px !important;
  min-width: 23px !important;
  min-height: 23px !important;
  stroke-width: 2.25;
}

#rg-home-win .home-demo-tap::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 11px;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(8, 103, 242, 0.68);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.45);
}

#rg-home-win .home-demo-stage[data-phase="tap"] .home-demo-tap {
  animation: home-demo-finger-tap 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

#rg-home-win .home-demo-stage[data-phase="tap"] .home-demo-tap::before {
  animation: home-demo-tap-ring 260ms ease-out 205ms both;
}

#rg-home-win .home-demo-stage[data-phase="tap"] .home-demo-read .ride-bubble {
  animation: home-demo-bubble-press 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes home-demo-finger-tap {
  0% { opacity: 0; transform: translate3d(14px, 22px, 0) rotate(-13deg) scale(0.9); }
  24% { opacity: 1; transform: translate3d(4px, 7px, 0) rotate(-13deg) scale(1); }
  46% { opacity: 1; transform: translate3d(0, 0, 0) rotate(-13deg) scale(0.96); }
  64% { opacity: 1; transform: translate3d(3px, 5px, 0) rotate(-13deg) scale(1); }
  100% { opacity: 0; transform: translate3d(10px, 16px, 0) rotate(-13deg) scale(0.94); }
}

@keyframes home-demo-tap-ring {
  0% { opacity: 0; transform: scale(0.45); }
  16% { opacity: 1; }
  100% { opacity: 0; transform: scale(2.25); }
}

@keyframes home-demo-bubble-press {
  0%, 28% { transform: scale(1); }
  46% { transform: scale(0.975); }
  72%, 100% { transform: scale(1); }
}

#rg-home-win .home-demo-cues {
  position: absolute;
  bottom: 10px;
  left: 50%;
  z-index: 12;
  display: grid;
  place-items: center;
  align-items: center;
  justify-content: center;
  width: min(360px, calc(100% - 24px));
  min-height: 30px;
  transform: translateX(-50%);
}

#rg-home-win .home-demo-cues > span {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 28px;
  border: 1px solid #d6e2f1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 7px 18px rgba(15, 38, 89, 0.07);
  padding: 5px 9px;
  color: #4e6079;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(0, 7px, 0) scale(0.96);
  pointer-events: none;
}

#rg-home-win .home-demo-stage[data-cue="rapid"] .home-demo-cues > [data-home-demo-cue="rapid"],
#rg-home-win .home-demo-stage[data-cue="expanded"] .home-demo-cues > [data-home-demo-cue="expanded"] {
  opacity: 1;
  animation: home-demo-cue-pop 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes home-demo-cue-pop {
  0% { opacity: 0; transform: translate3d(0, 7px, 0) scale(0.96); }
  68% { opacity: 1; transform: translate3d(0, -1px, 0) scale(1.018); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

#rg-home-win .home-demo-cues .rg-icon {
  display: grid !important;
  place-items: center !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  border-radius: 7px;
  background: #edf5ff;
}

#rg-home-win .home-demo-cues .rg-icon svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
}

#rg-home-win .home-demo-cues [data-home-demo-read-timer] {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  min-height: 19px;
  border-radius: 999px;
  background: #edf5ff;
  padding: 3px 5px;
  color: var(--blue);
  font-size: 8px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

#rg-home-win .home-demo-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(360px, calc(100% - 24px));
  margin: 10px auto 0;
  padding: 0;
  list-style: none;
}

#rg-home-win .home-demo-rail::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 16.5%;
  right: 16.5%;
  height: 2px;
  background: #d9e2ec;
}

#rg-home-win .home-demo-rail li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #8491a4;
}

#rg-home-win .home-demo-rail li > span {
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #c3cfdd;
  box-shadow: 0 0 0 1px #c3cfdd;
  transition: transform 140ms ease-out, background-color 140ms ease-out, box-shadow 140ms ease-out;
}

#rg-home-win .home-demo-rail li b { font-size: 9px; font-weight: 900; }
#rg-home-win .home-demo-rail li.is-active { color: var(--navy); }
#rg-home-win .home-demo-rail li.is-active > span { transform: scale(1.08); }
#rg-home-win .home-demo-rail li[data-home-demo-step="good"].is-active > span { background: var(--green); box-shadow: 0 0 0 1px var(--green), 0 0 0 5px rgba(20, 147, 90, 0.1); }
#rg-home-win .home-demo-rail li[data-home-demo-step="meh"].is-active > span { background: var(--yellow); box-shadow: 0 0 0 1px var(--yellow), 0 0 0 5px rgba(245, 158, 11, 0.11); }
#rg-home-win .home-demo-rail li[data-home-demo-step="ugly"].is-active > span { background: var(--red); box-shadow: 0 0 0 1px var(--red), 0 0 0 5px rgba(239, 43, 43, 0.1); }

#rg-home-win .home-demo-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 11px;
  color: #718096;
}

#rg-home-win .home-demo-footer p {
  margin: 0;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

#rg-home-win .home-demo-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 30px;
  border: 1px solid #d6dfeb;
  border-radius: 999px;
  background: #fff;
  padding: 5px 9px;
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

#rg-home-win .home-demo-footer button:hover { border-color: #bfcce0; background: #f8fbff; }
#rg-home-win .home-demo-footer button:focus-visible { outline: 3px solid rgba(8, 103, 242, 0.2); outline-offset: 2px; }

@media (max-width: 1180px) {
  #rg-home-win .home-hero-proof { max-width: 430px !important; }
  #rg-home-win .home-demo-stage { min-height: 474px; }
  #rg-home-win .home-demo-phone { left: 50%; width: 264px; height: 410px; }
  #rg-home-win .home-demo-read .expanded-card { right: auto !important; left: 50% !important; width: 228px !important; max-width: calc(100% - 16px) !important; }
  #rg-home-win .home-demo-stage[data-phase="expanded"] .home-demo-read .expanded-card { right: auto !important; left: 50% !important; width: 236px !important; max-width: calc(100% - 16px) !important; }
  #rg-home-win .home-demo-read .metric-chip { font-size: 8px !important; }
}

@media (max-width: 620px) {
  #rg-home-win .home-hero-lead {
    gap: 18px !important;
    padding-block: 20px 11px !important;
  }
  #rg-home-win .home-hero-lead h1 { font-size: 65px !important; }
  #rg-home-win .home-hero-lead p { font-size: 24px !important; line-height: 1.4 !important; }
  #rg-home-win .home-hero-proof { max-width: 420px !important; }
  #rg-home-win .home-demo-stage { min-height: 474px; border-radius: 20px; }
  #rg-home-win .home-demo-phone { left: 50%; width: min(264px, calc(100% - 36px)); height: 410px; transform: translateX(-50%); }
  #rg-home-win .home-demo-read .expanded-card {
    top: 0 !important;
    right: auto !important;
    left: 50% !important;
    width: min(228px, calc(100% - 16px)) !important;
    max-width: calc(100% - 16px) !important;
  }
  #rg-home-win .home-demo-stage[data-phase="expanded"] .home-demo-read .expanded-card {
    top: 0 !important;
    right: auto !important;
    left: 50% !important;
    width: min(236px, calc(100% - 16px)) !important;
    max-width: calc(100% - 16px) !important;
  }
  #rg-home-win .home-demo-read .metric-chip { font-size: 8px !important; }
  #rg-home-win .home-demo-footer { flex-wrap: wrap; gap: 7px; }
  #rg-home-win .home-demo-footer p { flex: 1 1 210px; }
}

@media (max-width: 360px) {
  #rg-home-win .home-hero-lead h1 { font-size: 51px !important; }
  #rg-home-win .home-hero-lead p { font-size: 20.5px !important; }
}

@media (max-width: 380px) {
  #rg-home-win .home-demo-stage { min-height: 462px; }
  #rg-home-win .home-demo-phone { width: min(252px, calc(100% - 36px)); height: 398px; }
  #rg-home-win .home-demo-read .expanded-card { right: auto !important; left: 50% !important; width: min(228px, calc(100% - 12px)) !important; max-width: calc(100% - 12px) !important; }
  #rg-home-win .home-demo-stage[data-phase="expanded"] .home-demo-read .expanded-card { right: auto !important; left: 50% !important; width: min(236px, calc(100% - 12px)) !important; max-width: calc(100% - 12px) !important; }
  #rg-home-win .home-demo-read .expanded-card .ride-bubble { grid-template-columns: 26px minmax(0, 1fr) 24px !important; gap: 3px !important; }
  #rg-home-win .home-demo-read .bubble-rg { width: 26px !important; height: 26px !important; min-width: 26px !important; font-size: 9px !important; }
  #rg-home-win .home-demo-read .bubble-map { width: 24px !important; height: 24px !important; min-width: 24px !important; }
  #rg-home-win .home-demo-read .metric-chip { font-size: 7.8px !important; }
}

@media (prefers-reduced-motion: reduce) {
  #rg-home-win .home-demo-tap { display: none !important; }

  #rg-home-win .home-offer-demo *,
  #rg-home-win .home-offer-demo *::before,
  #rg-home-win .home-offer-demo *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* "Before you accept" (#offer-basics): the Home offer guide, its four answers
   and the platforms' pay guides, as on the live site (2026-10-01). The tool
   tile links share its link rhythm. */
#rg-home-win .home-driver-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 28px 40px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

#rg-home-win .home-driver-guide-intro h2 {
  margin: 12px 0;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
}

#rg-home-win .home-driver-guide p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

#rg-home-win .home-driver-questions details {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

#rg-home-win .home-driver-questions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: auto;
  max-width: none;
  padding: 17px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

#rg-home-win .home-driver-questions summary::marker {
  color: var(--blue);
}

#rg-home-win .home-driver-questions summary .rg-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  transform: rotate(90deg);
}

#rg-home-win .home-driver-questions details[open] summary .rg-icon {
  transform: rotate(-90deg);
}

#rg-home-win .home-driver-question-label {
  flex: 1;
  min-width: 0;
}

#rg-home-win .home-driver-answer p {
  padding: 0;
  max-width: none;
}

#rg-home-win .home-driver-answer {
  padding-bottom: 18px;
}

#rg-home-win .home-driver-guide a,
#rg-home-win .home-tool-link {
  line-height: 1.5;
  text-underline-offset: 3px;
}

#rg-home-win .home-driver-guide summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

#rg-home-win .home-driver-guide .home-driver-sources {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

#rg-home-win .home-driver-sources a {
  color: var(--blue-dark);
  text-decoration: underline;
}

@media (max-width: 760px) {
  #rg-home-win .home-driver-guide {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 22px 18px;
  }
}

/* WP-8 (owner answer, 2026-10-02): the Home hero's call to action is the live
   site's "Coming soon / Google Play" badge. Its hero row, ported from the live
   home-polish.css: from 981px the badge and "See how it works" share one 52px
   row, as on the live site; below that the badge keeps a 44px floor. */
@layer fx-authoritative {
  body#rg-home-win[data-page="home"] .home-hero-copy .play-cta {
    min-height: 44px !important;
  }

  @media (min-width: 981px) {
    body#rg-home-win[data-page="home"] .home-hero-copy .hero-actions {
      display: flex !important;
      flex-direction: row !important;
      flex-wrap: wrap !important;
      width: 100% !important;
      max-width: none !important;
      gap: 12px !important;
    }

    body#rg-home-win[data-page="home"] .home-hero-copy .hero-actions > .button {
      min-height: 52px !important;
      min-width: 216px !important;
      max-width: 100% !important;
      padding: 10px 18px !important;
      border-radius: 12px !important;
      gap: 10px !important;
      font-size: 16px !important;
    }

    body#rg-home-win[data-page="home"] .home-hero-copy .hero-actions > .play-cta {
      min-height: 52px !important;
      min-width: 176px !important;
      padding: 8px 14px !important;
      border-radius: 12px !important;
      gap: 10px !important;
    }

    body#rg-home-win[data-page="home"] .home-hero-copy .play-cta-copy strong {
      font-size: 16px !important;
    }

    /* m5 (2026-10-02): at least 10px, as in the header. */
    body#rg-home-win[data-page="home"] .home-hero-copy .play-cta-copy small {
      font-size: 10px !important;
    }

    body#rg-home-win[data-page="home"] .home-hero-copy .hero-actions .rg-icon,
    body#rg-home-win[data-page="home"] .home-hero-copy .play-cta-mark {
      width: 24px !important;
      height: 24px !important;
      flex: 0 0 24px !important;
      --rgib: 24;
    }
  }
}

/* Reserve the embedded card and its 122px playback area before its first size message.
   Desktop story is 707.1px naturally; shorter viewports use the same host budget. */
@media (min-width:1181px) {
  #rg-home-win .home-shift-story iframe { height:min(830px,calc(100svh + 18px)); }
}

/* Home tool glyphs match the All Features catalog. */
@layer fx-authoritative {
 body[data-page="home"] #driver-tools {scroll-margin-top:84px!important;}
 body[data-page="home"] .home-tool-icon {width:34px!important;height:34px!important;background:transparent!important;border-radius:50%!important;}
 body[data-page="home"] .home-tool-icon .fs-icon {display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:50%!important;background:color-mix(in srgb,var(--fs-tone) 9%,white)!important;color:var(--fs-tone)!important;}
 body[data-page="home"] .home-tool-icon .fs-blue {--fs-tone:#0867f2;}
 body[data-page="home"] .home-tool-icon .fs-green {--fs-tone:#158552;}
 body[data-page="home"] .home-tool-icon .fs-ochre {--fs-tone:#bc7900;}
 body[data-page="home"] .home-tool-icon .fs-orange {--fs-tone:#ce5900;}
 body[data-page="home"] .home-tool-icon .fs-teal {--fs-tone:#009998;}
 body[data-page="home"] .home-tool-icon :is(.rg-icon,svg) {display:grid!important;place-items:center!important;width:24px!important;height:24px!important;min-width:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important;color:inherit!important;}
}
