/* ── MotorLandingPage PageShell + ContentWell + SectionStack ── */
.fast-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  background: var(--pi-surface-level-4, #f5f5f5);
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fast-well {
  width: 100%;
  max-width: 352px;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* Reserve fixed bottom-nav (bar ~56px + radius) so VRN does not sit under it. */
  padding-bottom: calc(12px + 64px);
}

.fast-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding-top: 16px;
}

.fast-banner {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  padding: 0;
  margin: 0;
}

/* ── MotorLandingHero ── */
.fast-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  width: 100%;
}

.fast-hero-title {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  color: var(--pi-text-neutral-strong, #282828);
  text-align: center;
  width: 100%;
}

/* Marvel MotorLandingHero FeatureRow — single horizontal row (nowrap). */
.fast-hero-features {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fast-hero-features li {
  display: flex;
  flex-direction: row;
  gap: 4px;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: var(--pi-text-neutral-medium, #7e7e7e);
  white-space: nowrap;
  white-space: nowrap;
}

.fast-hero-features strong {
  font-weight: 600;
  color: inherit;
}

.fast-check {
  display: block;
  flex-shrink: 0;
}

/* ── MotorVehicleCard + InsuranceHorizontalSnapCarousel (peek 0.05, gap 12) ── */
.fast-resume {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 280ms cubic-bezier(0.32, 0.72, 0, 1);
}

.fast-resume-carousel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.fast-resume-clip {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.fast-resume-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.fast-resume-track::-webkit-scrollbar {
  display: none;
}

.fast-resume-slide {
  flex: 0 0 calc(95% - 12px);
  min-width: 0;
  width: auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* Clip each card's soft shadow to the slide so the 12px gutter stays clean
     page gray — adjacent 15px blurs were stacking into a dirty ridge on Android. */
  overflow: hidden;
  border-radius: 24px;
  /* Keep a strip for the bottom lift after side bleed is clipped. */
  padding-bottom: 8px;
}

.fast-resume-track.is-single .fast-resume-slide {
  flex: 0 0 100%;
}

.fast-resume-slide > * {
  width: 100%;
  min-width: 0;
}

.fast-resume-end-spacer {
  flex: 0 0 5%;
  align-self: stretch;
}

.fast-resume-dots {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0 12px;
  box-sizing: border-box;
}

.fast-resume-dots[hidden] {
  display: none !important;
}

.fast-resume.is-pending .fast-resume-carousel {
  /* Card + slide shadow pad (8) + dots row — was 195 and hard-clipped the lift
     into a band under the card (same unclean edge the peek gutter showed). */
  height: 206px;
}

.fast-resume-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--pi-ios-ink-secondary, rgba(60, 60, 67, 0.6));
  opacity: 0.3;
}

.fast-resume-dot.is-active {
  background: var(--pi-body-color, #000000);
  opacity: 1;
}

@keyframes fast-skel-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@keyframes fast-resume-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.fast-resume.is-empty {
  grid-template-rows: 0fr;
}

.fast-resume > .fast-resume-carousel {
  min-height: 0;
  overflow: hidden;
}

.fast-skel-bar {
  display: block;
  border-radius: 4px;
  background-color: var(--pi-surface-muted, #eef1f6);
  background-image: linear-gradient(
    90deg,
    var(--pi-surface-muted, #eef1f6) 0%,
    var(--pi-surface-level-1, #ffffff) 45%,
    var(--pi-surface-muted, #eef1f6) 90%
  );
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: fast-skel-shimmer 1.35s ease-in-out infinite;
}

.fast-resume-skel .fast-skel-bar:nth-child(1) {
  animation-delay: 0ms;
}
.fast-resume-skel .fast-skel-bar:nth-child(2) {
  animation-delay: 80ms;
}
.fast-resume-skel .fast-resume-head .fast-skel-bar:nth-child(1) {
  animation-delay: 120ms;
}
.fast-resume-skel .fast-resume-title .fast-skel-bar:nth-child(1) {
  animation-delay: 160ms;
}
.fast-resume-skel .fast-resume-title .fast-skel-bar:nth-child(2) {
  animation-delay: 200ms;
}
.fast-resume-skel .fast-skel-kebab {
  animation-delay: 240ms;
}
.fast-resume-skel .fast-skel-foot {
  animation-delay: 280ms;
}
.fast-resume-skel .fast-skel-sub {
  animation-delay: 320ms;
}
.fast-resume-skel .fast-skel-cta {
  animation-delay: 360ms;
}

.fast-skel-pill {
  width: 78px;
  height: 16px;
  border-radius: 64px;
}

.fast-skel-pill-sm {
  width: 40px;
  height: 16px;
  border-radius: 64px;
}

.fast-skel-img {
  width: 54px;
  height: 32px;
  border-radius: 6px;
  flex-shrink: 0;
}

.fast-skel-name {
  width: 148px;
  max-width: 100%;
  height: 20px;
}

.fast-skel-vrn {
  width: 108px;
  max-width: 70%;
  height: 16px;
}

.fast-skel-kebab {
  width: 6px;
  height: 20px;
  border-radius: 4px;
  flex: 0 0 auto;
  margin-left: auto;
}

.fast-skel-foot {
  width: 132px;
  max-width: 70%;
  height: 20px;
  flex: 1 1 0;
}

.fast-skel-sub {
  width: 156px;
  max-width: 85%;
  height: 16px;
}

.fast-skel-cta {
  width: 72px;
  height: 24px;
  border-radius: 40px;
  flex-shrink: 0;
  align-self: center;
}

.fast-resume-skel-peek {
  pointer-events: none;
}

.fast-resume.is-pending .fast-resume-track:not(.is-single) .fast-resume-skel-peek,
.fast-resume.is-pending .fast-resume-track .fast-resume-skel-peek {
  opacity: 1;
}

.fast-resume-skel-dots {
  pointer-events: none;
}

.fast-skel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pi-surface-muted, #eef1f6);
  opacity: 0.55;
}

.fast-skel-dot.is-active {
  background: var(--pi-text-neutral-hint, #8a93a6);
  opacity: 1;
}

.fast-resume.is-ready .fast-resume-card:not(.fast-resume-skel) {
  animation: fast-resume-in 280ms cubic-bezier(0.32, 0.72, 0, 1);
}

@media (prefers-reduced-motion: reduce) {
  .fast-skel-bar,
  .fast-skel-dot,
  .fast-resume.is-ready .fast-resume-card:not(.fast-resume-skel) {
    animation: none;
  }
  .fast-resume {
    transition: none;
  }
}

.fast-resume-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  box-sizing: border-box;
  background: var(--pi-surface-level-1, #ffffff);
  border: 1px solid var(--pi-border-neutral-weak, #ebebeb);
  border-radius: 24px;
  /* Marvel MotorVehicleCard token — side bleed is clipped by .fast-resume-slide. */
  box-shadow: 0 4px 15px 0 rgba(67, 67, 67, 0.05);
  padding: 16px;
  overflow: hidden;
}

.fast-resume-pills {
  display: flex;
  gap: 6px;
  align-items: center;
  min-height: 16px;
  width: 100%;
  overflow: hidden;
}

.fast-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 64px;
  font-size: 10px;
  line-height: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.fast-pill.warn {
  background: var(--pi-background-notice-weak, #fff2cc);
  color: var(--pi-notice-strong);
}

.fast-pill.ok {
  background: var(--pi-background-success-weak);
  color: var(--pi-text-positive-strong);
}

.fast-pill.neutral {
  background: var(--pi-background-neutral-weak);
  color: var(--pi-text-neutral-moderate, #414244);
}

.fast-resume-highlight {
  color: var(--pi-error-strong);
}

.fast-resume-head {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.fast-resume-img {
  width: 54px;
  height: 32px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fast-resume-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fast-resume-img-fallback {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: var(--pi-background-neutral-weak);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* PITE-14732: generic car/bike glyph inside the grey slot. */
.fast-resume-img-fallback-icon {
  width: 75%;
  height: 75%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.fast-resume-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 0;
  min-width: 0;
  min-height: 38px;
}

.fast-resume-name {
  margin: 0;
  min-height: 20px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--pi-text-neutral-strong, #282828);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fast-resume-vrn {
  margin: 0;
  min-height: 16px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: var(--pi-text-neutral-moderate, #414244);
  white-space: nowrap;
}

.fast-kebab {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--pi-text-neutral-moderate);
}

.fast-resume-foot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  min-height: 38px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--pi-ios-hairline, #e6e6e6);
}

.fast-resume-foot-row {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  width: 100%;
}

.fast-resume-foot-title {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--pi-text-neutral-strong, #282828);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fast-resume-cta {
  flex: 0 0 auto;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: none;
  border-radius: 40px;
  background: var(--pi-background-primary-strong, #004299);
  color: var(--pi-text-universal-light, #ffffff);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.fast-resume-sub {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--pi-text-neutral-medium, #7e7e7e);
}

/* ── MotorLandingVehicleQuoteCard ── */
.fast-vrn-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  background: var(--pi-surface-level-1, #ffffff);
  border-radius: 24px;
  padding: 16px 0 24px;
  overflow: hidden;
}

.fast-vrn-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.fast-vrn-inner h2 {
  margin: 0;
  padding: 8px 0;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  color: var(--pi-text-neutral-strong, #282828);
}

#fast-vrn-keyboard,
.fast-vrn-keyboard-stub {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.fast-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

/* Class covers LCP stub (no id) + React field; id kept for boot/DOM bindings. */
.fast-vrn-field,
#fast-vrn-input {
  height: 48px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid var(--pi-ios-ink-quaternary, rgba(60, 60, 67, 0.18));
  padding: 0 12px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: var(--pi-text-neutral-strong, #282828);
  background: var(--pi-surface-level-1, #ffffff);
  outline: none;
  text-transform: uppercase;
}

.fast-vrn-field::placeholder,
#fast-vrn-input::placeholder {
  color: var(--pi-text-neutral-medium, #7e7e7e);
  text-transform: none;
  font-weight: 500;
}

.fast-vrn-field.is-error,
#fast-vrn-input.is-error {
  border-color: var(--pi-error-strong, #e12e3a);
}

.fast-field-error {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: var(--pi-error-strong, #e12e3a);
}

.fast-cta {
  height: 52px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 40px;
  background: var(--pi-background-primary-strong, #004299);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-shadow: none;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
}

.fast-cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.fast-secondary {
  width: 100%;
  height: 44px;
  border: none;
  background: none;
  color: var(--pi-background-primary-strong, #004299);
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
}

.fast-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.fast-trusted {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.fast-trusted p {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  text-align: center;
  color: var(--pi-text-neutral-medium, #7e7e7e);
  white-space: nowrap;
}

.fast-hair {
  height: 0;
  width: 48px;
  border-top: 1px solid var(--pi-border-neutral-weak, #ebebeb);
  flex: 0 0 auto;
}

.fast-logos {
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
  overflow: hidden;
}

.fast-logos-track {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  animation: fast-logo-marquee 24s linear infinite;
  will-change: transform;
}

.fast-insurer-slot {
  width: 104px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--pi-icon-silverforever, #ffffff);
}

.fast-insurer-slot img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fast-logo-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pi-icon-neutral-weak, #cacaca);
  flex-shrink: 0;
}

@keyframes fast-logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fast-logos-track {
    animation: none;
  }
}

/* ── MotorLandingWhyChoose ── */
.fast-why {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.fast-why-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  background: var(--pi-surface-level-1, #ffffff);
  border-radius: 24px;
  padding: 24px 16px;
  position: relative;
  z-index: 1;
}

.fast-why h2 {
  margin: 0;
  padding-bottom: 4px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  color: var(--pi-text-neutral-strong, #282828);
}

.fast-why-stats {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fast-why-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex: 0 0 91px;
  width: 91px;
  max-width: 91px;
  height: 109px;
  padding: 0 6px;
  box-sizing: border-box;
  text-align: center;
}

.fast-why-disc {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--pi-background-offset-2-medium, #ecf2f8);
  overflow: hidden;
}

.fast-why-disc img[data-size='avatar'] {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.fast-why-disc img[data-size='inset'] {
  width: 41px;
  height: 30px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fast-why-label {
  margin: 0;
  width: 91px;
  max-width: 91px;
  min-height: 48px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: var(--pi-text-neutral-strong, #282828);
  text-align: center;
  word-break: break-word;
}

.fast-why-lead {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.fast-why-rest {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}

.fast-why-divider {
  width: 0;
  flex: 0 0 auto;
  align-self: center;
  height: 54px;
  margin-top: -7px;
  border-left: 1px solid var(--pi-border-neutral-weak, #ebebeb);
}

/* ── HealthLandingTrustBrandFooter (schema padX 16, padBottom 136, max 375) ── */
.fast-trust {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: 375px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 16px 136px;
  overflow: hidden;
  background: transparent;
}

.fast-trust-hero-row {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  gap: 16px;
  isolation: isolate;
}

.fast-trust-left {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 211px;
  flex: 1 1 auto;
  min-width: 0;
}

.fast-trust-headline-wrap {
  position: relative;
  width: 100%;
  max-width: 211px;
}

.fast-trust-kicker {
  margin: 0;
  width: 100%;
  max-width: 211px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: 'Inter Subset', Inter, sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  color: var(--pi-text-neutral-moderate, #414244);
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.fast-trust-line {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  max-width: 100%;
}

.fast-trust-hearts {
  /* Inline after TRUST — do not absolute-position (Android WebView font metrics shift). */
  position: static;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
  margin-left: 2px;
  pointer-events: none;
}

.fast-trust-hearts svg {
  display: block;
  width: 16px;
  height: 16px;
}

.fast-trust-byline {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: var(--pi-text-neutral-moderate, #414244);
}

.fast-trust-byline img {
  display: block;
  flex-shrink: 0;
  height: auto;
  max-width: 100%;
}

.fast-trust-illust {
  position: relative;
  flex: none;
  z-index: 2;
  flex-shrink: 0;
  margin-left: auto;
}

.fast-trust-illust img {
  display: block;
  width: 120px;
  height: 115px;
  object-fit: contain;
}

.fast-trust-rule {
  align-self: stretch;
  height: 0;
  border: 0;
  border-top: 1px solid var(--pi-border-neutral-weak, #ebebeb);
}

.fast-badges-scroll {
  align-self: stretch;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.fast-badges {
  display: flex;
  width: max-content;
  animation: fast-badge-marquee 22s linear infinite;
}

.fast-badges-col {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 24px;
  min-height: 16px;
  padding-right: 24px;
}

.fast-badge {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.fast-badge img {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  object-fit: contain;
}

.fast-badge span {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: var(--pi-text-neutral-medium, #7e7e7e);
  white-space: nowrap;
}

.fast-badge-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pi-text-neutral-weak, #cacaca);
  flex-shrink: 0;
}

@keyframes fast-badge-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.fast-legal-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.fast-legal {
  margin: 0;
  align-self: stretch;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--pi-text-neutral-strong, #282828);
}

.fast-legal-body {
  margin: 0;
  align-self: stretch;
  text-align: center;
  font-size: 10px;
  line-height: 16px;
  font-weight: 400;
  color: var(--pi-text-neutral-moderate, #414244);
  white-space: pre-line;
}

.fast-legal-links {
  margin: 0;
  align-self: stretch;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  font-weight: 510;
}

.fast-legal-links a {
  background: none;
  border: 0;
  padding: 0;
  color: var(--pi-primary-medium, #1576db);
  text-decoration: none;
  font-weight: 510;
}

.fast-legal-sep {
  color: var(--pi-primary-medium, #1576db);
}

/* Dark — HealthLandingTrustBrandFooter full-bleed Level-4 wash + legal body. */
html[data-theme='dark'] .fast-trust {
  background: var(--pi-surface-level-4, #101010) !important;
  max-width: none;
  width: 100%;
}

html[data-theme='dark'] .fast-legal-body {
  color: var(--pi-text-neutral-weak, #8b8c8c);
}

/* ── MotorBottomNavigation (Figma 5001:50653) ── */
.fast-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 50;
  background: var(--pi-surface-level-1, #ffffff);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Android WebView can report non-zero safe-area while already clear of nav. */
  padding-bottom: 0;
  box-sizing: border-box;
  font-family: 'Inter Subset', Inter, system-ui, sans-serif;
}

@supports (-webkit-touch-callout: none) {
  .fast-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

.fast-bottom-nav-bar {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px;
  background: var(--pi-surface-level-1, #ffffff);
}

.fast-bottom-nav button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  color: var(--pi-text-neutral-strong, #282828);
}

.fast-bottom-nav button[aria-current='page'] {
  color: var(--pi-primary-medium, #1576db);
}

/* Pill is 58×32 (Marvel IconPill). Do not share label span rules — they beat this. */
.fast-bottom-nav .fast-nav-icon {
  width: 58px;
  height: 32px;
  flex-shrink: 0;
  overflow: visible;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

/* Marvel IconGlyph — 24×24 hit area around the native SVG. */
.fast-bottom-nav .fast-nav-glyph {
  display: flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}

.fast-bottom-nav .fast-nav-icon svg {
  display: block;
  flex-shrink: 0;
  overflow: visible;
  width: auto;
  height: auto;
  max-width: none;
}

.fast-bottom-nav .fast-nav-label {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 10px;
  line-height: 12px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fast-bottom-nav button[aria-current='page'] .fast-nav-label {
  font-weight: 600;
}


/* ── Policies overlay ── */
.fast-policies {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: var(--pi-surface-level-4, #f5f5f5);
  overflow: hidden;
}

.fast-policies-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 56px;
  padding: 0 12px;
  box-sizing: border-box;
  background: var(--pi-surface-white, #fff);
  flex-shrink: 0;
}

.fast-policies-back {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--pi-text-neutral-strong, #282828);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fast-policies-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-family: inherit;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  color: var(--pi-text-neutral-strong, #282828);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fast-policies-scroll {
  flex: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 12px 0 32px;
}

.fast-policy-tabs {
  display: flex;
  gap: 8px;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.fast-policy-tabs::-webkit-scrollbar {
  display: none;
}

.fast-policy-tabs button {
  appearance: none;
  flex-shrink: 0;
  min-height: 32px;
  min-width: 56px;
  border-radius: 64px;
  border: 1px solid var(--pi-border-offset-1-strong, #e8e1e1);
  background: var(--pi-surface-level-1, #fff);
  padding: 6px 12px;
  font-family: inherit;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--pi-text-neutral-moderate, #414244);
  cursor: pointer;
  white-space: nowrap;
}

.fast-policy-tabs button[aria-current='true'],
.fast-policy-tabs button[aria-selected='true'] {
  background: var(--pi-background-primary-strong, #004299);
  border-color: transparent;
  color: var(--pi-text-universal-light);
  font-weight: 600;
}

.fast-policy-tabs button:disabled {
  opacity: 0.55;
  cursor: default;
}

.fast-policy-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.fast-policy-section-title {
  margin: 0;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--pi-text-neutral-strong, #282828);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fast-policy-card-wrap {
  padding: 0 16px;
}

.fast-policy-card {
  background: var(--pi-surface-level-1, #fff);
  border-radius: 16px;
  overflow: hidden;
  padding: 8px 0;
}

.fast-policy-row {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  background: var(--pi-surface-level-1, #fff);
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  font-family: inherit;
}

.fast-policy-row + .fast-policy-row {
  border-top: 1px solid var(--pi-border-neutral-weak, #ebebeb);
  margin-top: 0;
}

.fast-policy-row:active {
  opacity: 0.85;
}

.fast-policy-thumb {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--pi-surface-muted, #f0f0f0);
}

.fast-policy-thumb img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.fast-policy-row-body {
  flex: 1;
  min-width: 0;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fast-policy-row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fast-policy-plan {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--pi-text-neutral-deep, #101010);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fast-policy-sub {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: var(--pi-text-neutral-secondary, #8b8b8b);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fast-policy-status {
  font-weight: 500;
}

.fast-policy-status.is-valid {
  color: var(--pi-text-positive-strong, #158939);
}

.fast-policy-status.is-expiring {
  color: var(--pi-text-notice-strong, #c27a00);
}

.fast-policy-status.is-expired {
  color: var(--pi-text-negative-strong, #d93025);
}

.fast-policy-caret {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pi-text-neutral-strong, #282828);
}

.fast-policy-loading,
.fast-policy-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px;
  min-height: 320px;
  box-sizing: border-box;
  text-align: center;
}

.fast-policy-lottie {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  contain: strict;
}

.fast-policy-lottie svg {
  width: 200px;
  height: 200px;
}

.fast-policy-loading-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 280px;
}

.fast-policy-loading[hidden],
.fast-policy-empty[hidden],
.fast-policy-list[hidden] {
  display: none !important;
}

.fast-policy-loading-title {
  margin: 0;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: var(--pi-text-neutral-strong, #282828);
}

.fast-policy-empty-title {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--pi-text-neutral-strong, #282828);
}

.fast-policy-loading-sub {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: var(--pi-text-neutral-moderate, #414244);
}

.fast-policy-empty-sub {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--pi-text-neutral-moderate, #414244);
}

.fast-policy-empty .fast-cta {
  margin-top: 16px;
  max-width: 280px;
}

.fast-snackbar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 96px;
  z-index: 80;
  background: var(--fast-toast-bg);
  color: var(--fast-toast-fg);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
}

/*
 * Quotes API errors — MotorErrorSnackbar parity (Figma Notice-Strong #FFA905):
 * full-bleed top bar so select-plan failures read on the quote list after sheets close.
 */
@keyframes fast-snackbar-quotes-slide-down {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#fast-snackbar-quotes.fast-snackbar {
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  z-index: 250;
  background: var(--pi-notice-strong, #ffa905);
  color: var(--pi-text-universal-light, #fff);
  border-radius: 0;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  box-sizing: border-box;
  animation: fast-snackbar-quotes-slide-down 0.2s ease-out;
}

