/* Review round: deliberately loaded only by the current homepage and /compare.
   Remove these two link tags to revert the styling. /homepage-v1 is frozen. */

/* Center the three introductions without changing the cards beneath them. */
.homepage-v2 .centered-home-intro > h2,
.homepage-v2 .centered-home-intro > .section-intro {
  margin-inline: auto;
  text-align: center;
}

/* A quiet list of benefits beside the heading, rather than another set of steps. */
.homepage-v2 .benefits-split > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(40px, 7vw, 104px);
}
.homepage-v2 .benefits-heading .section-title { margin: 0; text-align: left; }
.homepage-v2 .benefit-checklist {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.homepage-v2 .benefit-checklist li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 800;
  line-height: 1.4;
}
.homepage-v2 .benefit-checklist li::before { content: none; }
.homepage-v2 .benefit-checklist .promise-check {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
}
.homepage-v2 .benefit-checklist .promise-check svg { width: 23px; height: 23px; }

/* Keep the featured frame, badge, checkmarks and button, with a white card. */
.homepage-v2 .pricing .plan.featured { background: white; }

/* On desktop the labels form a recessed panel behind the three-option card.
   Native table rows keep the labels and values aligned as text wraps. */
@media (min-width: 601px) {
  :is(.homepage-v2, .compare-page) .comparison-slideout {
    position: relative;
    isolation: isolate;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  :is(.homepage-v2, .compare-page) .comparison-slideout::after {
    content: "";
    position: absolute;
    inset: 0 0 0 22%;
    z-index: 1;
    border: 2px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 7px 0 var(--line);
    pointer-events: none;
  }
  :is(.homepage-v2, .compare-page) .comparison-slideout .comparison-feature-head {
    background: transparent;
  }
  :is(.homepage-v2, .compare-page) .comparison-slideout thead th:not(:first-child) {
    background: #fffefa;
  }
  :is(.homepage-v2, .compare-page) .comparison-slideout thead th.comparison-choice-poc {
    background: var(--comparison-poc-background);
  }
  :is(.homepage-v2, .compare-page) .comparison-slideout thead th:nth-child(2) {
    border-top-left-radius: 24px;
  }
  :is(.homepage-v2, .compare-page) .comparison-slideout thead th:last-child {
    border-top-right-radius: 24px;
  }
  :is(.homepage-v2, .compare-page) .comparison-slideout tbody th {
    border-left: 2px solid var(--line);
  }
  :is(.homepage-v2, .compare-page) .comparison-slideout tbody tr:first-child th {
    border-top: 2px solid var(--line);
    border-top-left-radius: 24px;
  }
  :is(.homepage-v2, .compare-page) .comparison-slideout tbody tr:last-child th {
    border-bottom: 2px solid var(--line);
    border-bottom-left-radius: 24px;
  }
  :is(.homepage-v2, .compare-page) .comparison-slideout tbody tr:last-child td:nth-child(2) {
    border-bottom-left-radius: 24px;
  }
  :is(.homepage-v2, .compare-page) .comparison-slideout tbody tr:last-child td:last-child {
    border-bottom-right-radius: 24px;
  }
}

@media (max-width: 800px) {
  .homepage-v2 .benefits-split > .wrap { grid-template-columns: 1fr; gap: 32px; }
  .homepage-v2 .benefit-checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
}
@media (max-width: 600px) {
  .homepage-v2 .benefit-checklist { grid-template-columns: 1fr; gap: 18px; }
}

/* Review round two: clearer copy, centered gallery controls and comparison notes. */
.homepage-v2 .problem .comparison-table-note,
.homepage-v2 .problem .section-more { text-align: center; }
.homepage-v2 .problem .section-more { margin-top: 14px; }
.homepage-v2 .examples-heading-row {
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  text-align: center;
}
.homepage-v2 .examples-heading-row > div:first-child { width: 100%; }
.homepage-v2 .examples-heading-row h2 { max-width: 900px; margin-inline: auto; text-wrap: balance; }
.homepage-v2 .examples-controls { justify-content: center; padding-bottom: 0; margin-top: 16px; }

@media (min-width: 601px) {
  /* Leave breathing room below the label panel for the main card's corner. */
  :is(.homepage-v2, .compare-page) .comparison-slideout tbody tr:last-child > * {
    padding-bottom: 54px;
  }
  :is(.homepage-v2, .compare-page) .comparison-slideout tbody tr:last-child th {
    position: relative;
    isolation: isolate;
    background: transparent;
    border: 0;
    border-radius: 0;
  }
  :is(.homepage-v2, .compare-page) .comparison-slideout tbody tr:last-child th::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 32px;
    background: var(--comparison-row-background);
    border-left: 2px solid var(--line);
    border-bottom: 2px solid var(--line);
    border-bottom-left-radius: 24px;
    pointer-events: none;
  }
}

/* Sonar ring around the guarantee dot; the solid center never changes size. */
.homepage-v2 .hero .dot { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .homepage-v2 .hero .dot { box-shadow: none; }
  .homepage-v2 .hero .dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--berry);
    pointer-events: none;
    animation: hero-guarantee-sonar 2.4s ease-out infinite;
  }
}
@keyframes hero-guarantee-sonar {
  0% { transform: scale(1); opacity: .28; }
  75%, 100% { transform: scale(3.6); opacity: 0; }
}

/* Comparison branding and standalone-page introductions. */
:is(.homepage-v2, .compare-page) .comparison-table thead th:not(.comparison-choice-poc) {
  color: var(--muted);
}
.comparison-logo { display: none; }
@media (min-width: 1000px) {
  :is(.homepage-v2, .compare-page) .comparison-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    color: var(--berry);
    font-size: clamp(18px, 1.65vw, 23px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1.2;
    white-space: nowrap;
  }
  .comparison-logo-icon { flex: 0 0 44px; width: 44px; height: 44px; }
  .comparison-mobile-label { display: none; }
}
.marketing-page:is(.compare-page, .faq-page) #main > .section > .wrap > :is(h1, h2, .section-intro, .comparison-table-note) {
  text-align: center;
  margin-inline: auto;
}
.marketing-page:is(.compare-page, .faq-page) .marketing-page-actions { justify-content: center; }

@media (min-width: 601px) {
  :is(.homepage-v2, .compare-page) .comparison-slideout tbody th { position: relative; z-index: 0; }
  :is(.homepage-v2, .compare-page) .comparison-slideout tbody td,
  :is(.homepage-v2, .compare-page) .comparison-slideout thead th:not(:first-child) { position: relative; z-index: 2; }
  :is(.homepage-v2, .compare-page) .comparison-slideout::after { z-index: 3; }
}
@media (min-width: 601px) and (prefers-reduced-motion: no-preference) {
  .comparison-panel-ready tbody th { transform: translateX(100%); }
  .comparison-panel-ready.comparison-panel-arrived tbody th {
    transform: translateX(0);
    transition: transform .8s cubic-bezier(.22,.61,.36,1);
  }
}
.homepage-v2 .testimonials { overflow: clip; }
@media (prefers-reduced-motion: no-preference) {
  .homepage-v2 .testimonials-burst-ready .testimonial-card:not(.burst-arrived) { opacity: 0; }
}

/* Featured-column trial. One overlay keeps the outline continuous across rows. */
.comparison-featured-frame { position: relative; }
.comparison-featured-frame::before {
  content: "";
  position: absolute;
  inset: 0 26% 0 48%;
  z-index: 4;
  border: 2px solid var(--berry);
  border-radius: 24px;
  pointer-events: none;
}
.comparison-featured-frame thead .comparison-choice-poc { border-radius: 24px 24px 0 0; }
.comparison-featured-frame tbody tr:last-child .comparison-choice-poc { border-radius: 0 0 24px 24px; }
@media (max-width: 600px) {
  .comparison-featured-frame::before { inset-inline: 33.333333%; border-radius: 18px; }
  .comparison-featured-frame thead .comparison-choice-poc { border-radius: 18px 18px 0 0; }
}

/* Center the FAQ introduction alongside the cards while the layout has two columns. */
@media (min-width: 601px) {
  .homepage-v2 .faq-intro { align-self: center; }
}

/* Retain breathing room for the guarantee after removing the pricing footnote. */
.homepage-v2 .pricing-grid + .pricing-guarantee { margin-top: 32px; }
.homepage-v2 .problem .comparison-table-wrap + .section-more { margin-top: 32px; }
@media (max-width: 600px) {
  .homepage-v2 #main > .section .button { width: 100%; }
}
