.hero .hero-proof {
  display: flex;
  flex-wrap: nowrap;
  width: fit-content;
  max-width: min(100%, 710px);
  overflow: hidden;
  gap: 0;
  margin-top: 8px;
  justify-content: flex-start;
}

.hero .hero-proof span,
.hero .hero-proof span:last-child {
  grid-column: auto;
  flex: 0 1 auto;
  min-height: auto;
  padding: 1px clamp(7px, 0.9vw, 11px);
  font-size: clamp(8px, 1.05vw, 9.5px);
  line-height: 1.12;
  text-align: center;
  white-space: normal;
}

.hero-comparison.section-wrap {
  margin: 0;
  padding-top: clamp(48px, 5vw, 76px);
  padding-bottom: clamp(64px, 7vw, 96px);
  border-bottom: 1px solid rgba(28, 36, 33, 0.09);
}

.hero-comparison .hero-comparison-heading h2 {
  width: 100%;
  max-width: 100%;
  font-size: clamp(16px, 3.1vw, 44px);
}

.hero-comparison-brand {
  white-space: nowrap;
}

.hero-brand-dealreviewer {
  color: var(--luxury-muted);
}

.hero-brand-one {
  color: var(--luxury-green);
}

@media (max-width: 760px) {
  /* iOS Safari must never reserve space for content that remains hidden by reveal animation. */
  .reveal,
  .reveal.in-view,
  .step-card,
  .markup-card,
  .pricing-card,
  .sample-report,
  .california-notice {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .steps-grid,
  .markup-grid {
    min-height: 0 !important;
  }

  .step-card,
  .markup-card {
    min-height: 0 !important;
  }

  /* The page already has in-flow CTAs; the floating bar must not cover mobile content. */
  .sticky-cta {
    display: none !important;
  }

  .hero .hero-proof {
    width: 100%;
    max-width: 100%;
  }

  .hero .hero-proof span,
  .hero .hero-proof span:last-child {
    flex: 1 1 0;
    align-self: stretch;
    padding-inline: 3px;
    border: 0 !important;
    font-size: clamp(7px, 2.15vw, 8.5px);
    line-height: 1.08;
  }

  .hero .hero-proof span:not(:last-child) {
    border-right: 1px solid #c8c6be !important;
  }

  .hero-comparison.section-wrap {
    padding-top: 42px;
    padding-bottom: 52px;
  }

  .hero-comparison .hero-comparison-heading h2 {
    font-size: clamp(15px, 4.8vw, 26px);
  }

  .hero-comparison .hero-comparison-heading p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.45;
  }

  /* Keep the comparison as a true three-column table, fully inside one mobile viewport. */
  .hero-comparison-scroll {
    width: 100%;
    margin-top: 16px;
    overflow: hidden;
    border-radius: 11px;
  }

  .hero-comparison-table {
    display: table;
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .hero-comparison-table thead th:first-child {
    width: 22%;
  }

  .hero-comparison-table thead th:nth-child(2) {
    width: 35%;
  }

  .hero-comparison-table thead th:nth-child(3) {
    width: 43%;
  }

  .hero-comparison-table th,
  .hero-comparison-table td {
    padding: 7px 5px;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    font-size: 8px;
    line-height: 1.25;
  }

  .hero-comparison-table thead th {
    position: static;
    padding-block: 8px;
    font-size: 7px;
    line-height: 1.15;
    letter-spacing: 0.025em;
  }

  .hero-comparison-table tbody th {
    font-size: 7.5px;
    line-height: 1.2;
  }

  .hero-comparison-table tbody td:nth-child(3)::before {
    content: none;
    display: none;
  }
}

@media (max-width: 390px) {
  .hero-comparison-table th,
  .hero-comparison-table td {
    padding-inline: 4px;
    font-size: 7.25px;
  }

  .hero-comparison-table thead th,
  .hero-comparison-table tbody th {
    font-size: 6.75px;
  }
}
