/* Homepage-only compression and shared responsive layout. */
.home-proof .pp-testimonials__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.home-proof .pp-testimonials__card { min-height: 210px; }
.home-testimonial-pagination { display: none; }
.home-steps { padding-block: 3.2rem; }
.home-steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 1.8rem;
}
.home-step { display: flex; align-items: flex-start; gap: .85rem; }
.home-step-mark {
  display: grid;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-green-light);
  color: var(--color-green-dark);
  font: 500 .65rem var(--font-mono);
}
.home-step h3 {
  margin: .08rem 0 .35rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.18;
}
.home-step p { color: var(--color-text-secondary); font-size: .88rem; line-height: 1.55; }
.home-seo-details {
  margin-top: 1.3rem;
  border-top: 1px solid var(--color-border);
  padding-top: .7rem;
  color: var(--color-text-secondary);
  font-size: .84rem;
  line-height: 1.55;
}
.home-seo-details summary {
  color: var(--color-green-dark);
  font-weight: 600;
  cursor: pointer;
}
.home-seo-details p { margin-top: .55rem; max-width: 780px; }
.home-coach { padding-block: 3.25rem; }
.home-coach .coach-band-inner { gap: 2rem; align-items: center; }
.home-coach .coach-band-photo img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 10px;
}
.home-coach-copy h2 {
  margin: 0 0 .7rem;
  font: 400 clamp(1.8rem, 3vw, 2.25rem)/1.15 var(--font-display);
}
.home-coach-copy > p {
  max-width: 650px;
  color: var(--color-text-secondary);
  font-size: .98rem;
  line-height: 1.65;
}
.home-coach .coach-badges { margin-top: 1rem; }
.home-coach-contact {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .9rem;
  color: var(--color-green-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home-coach-details { margin-top: 1rem; }
.home-races { padding-block: 3.25rem; }
.home-race-intro { max-width: 690px; }
.home-race-more { margin-top: 1rem; }
.home-race-details { margin-top: .9rem; }
.home-compare { padding-block: 3.25rem; }
.home-compare-mobile { display: none; }
.home-compare .compare-table { margin-top: 1.5rem; }
.home-compare .section-title { max-width: 750px; }
.home-compare .section-sub { margin-bottom: 0; }
.home-gallery-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 980px;
  margin: .85rem auto 0;
  padding: .9rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text-secondary);
  font-size: .88rem;
}
.home-gallery-cta strong { color: var(--color-green-dark); }
.home-gallery-cta .btn-primary {
  flex: 0 0 auto;
  padding: .7rem 1rem;
  font-size: .88rem;
}
.home-race-cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .9rem;
  padding: .65rem .9rem;
  border-radius: 6px;
  background: var(--color-green);
  color: var(--color-surface);
  font-size: .86rem;
  font-weight: 700;
}

@media (max-width: 767px) {
  .hero {
    padding-top: 1.6rem;
    padding-bottom: 1.35rem;
  }
  .hero-grid { gap: 1.2rem; }
  .plan-showcase { padding-block: 2rem; }
  .plan-showcase-heading { margin-bottom: 1rem; }
  .plan-showcase-heading .section-title { font-size: 1.7rem; line-height: 1.15; }
  .plan-showcase-heading .section-sub { font-size: .9rem; line-height: 1.5; }
  .plan-carousel-stage {
    height: min(50svh, 360px);
    min-height: 0;
    padding: .65rem;
  }
  .plan-showcase .plan-slide:not([hidden]) {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
  }
  .plan-showcase .plan-slide-image { max-height: 100%; }
  .plan-carousel-caption {
    min-height: 172px;
    align-content: start;
    gap: .55rem;
    padding: .75rem .9rem;
  }
  .plan-carousel-copy h3 { font-size: 1.12rem; }
  .plan-carousel-copy p { font-size: .82rem; line-height: 1.45; }
  .hero h1 { font-size: 2.05rem; margin-bottom: .75rem; }
  .hero-sub { margin-bottom: .85rem; font-size: .98rem; line-height: 1.5; }
  .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .45rem;
    margin-top: 1rem;
    padding-top: .8rem;
  }
  .hero-stat-num { font-size: 1rem; }
  .hero-stat-label {
    max-width: none;
    margin-top: .25rem;
    font-size: .62rem;
    line-height: 1.25;
  }
  .homepage-assessment-card { padding: 13px; border-radius: 18px; }
  .assessment-card-top { margin-bottom: 10px; }
  .homepage-assessment-form { gap: 10px; }
  .home-assessment-grid { gap: 8px; }
  .home-assessment-grid .home-assessment-field { padding: 10px; }
  .home-assessment-field-full { padding: 11px; }
  .home-assessment-proof { gap: 5px; margin-top: 9px; }
  .home-assessment-proof span { padding: 5px 7px; font-size: 11px; }
  .hero-popular { margin-top: 9px !important; font-size: 12px; }
  .home-proof {
    padding: 1.65rem 0 1.3rem;
    overflow: hidden;
  }
  .home-proof .pp-testimonials__inner { padding-inline: 1.1rem; }
  .home-proof .pp-testimonials__heading {
    margin-bottom: .35rem;
    font-size: 1.7rem;
  }
  .home-proof .pp-testimonials__intro { font-size: .9rem; line-height: 1.45; }
  .home-proof .home-testimonial-rail {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    margin: 1rem -1.1rem 0;
    padding: 0 1.1rem .2rem;
    -webkit-overflow-scrolling: touch;
  }
  .home-proof .home-testimonial-rail::-webkit-scrollbar { display: none; }
  .home-proof .home-testimonial-rail .pp-testimonials__card {
    flex: 0 0 100%;
    min-height: 0;
    padding: 1.05rem 1.1rem;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .home-proof .pp-testimonials__quote { margin-bottom: .75rem; font-size: .9rem; line-height: 1.55; }
  .home-proof .pp-testimonials__attribution { padding-top: .6rem; }
  .home-testimonial-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .58rem;
    padding-top: .7rem;
  }
  .home-testimonial-pagination button {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }
  .home-testimonial-pagination button::before {
    content: "";
    width: 10px;
    height: 10px;
    border: 1px solid #7a927f;
    border-radius: 50%;
    background: transparent;
  }
  .home-testimonial-pagination button[aria-current="true"] {
    background: transparent;
  }
  .home-testimonial-pagination button[aria-current="true"]::before {
    width: 20px;
    height: 8px;
    border-color: var(--color-green);
    border-radius: 99px;
    background: var(--color-green);
  }
  .home-testimonial-pagination button:focus-visible,
  .home-proof [data-testimonial-rail]:focus-visible {
    outline: 3px solid var(--color-green);
    outline-offset: 3px;
  }
  .home-steps,
  .home-races,
  .home-compare { padding-block: 2rem; }
  .home-steps .section-title,
  .home-races .section-title,
  .home-compare .section-title { font-size: 1.7rem; line-height: 1.14; }
  .home-steps-list {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.15rem;
  }
  .home-step { gap: .7rem; }
  .home-step-mark { flex-basis: 1.7rem; width: 1.7rem; height: 1.7rem; }
  .home-step h3 { font-size: 1.16rem; margin-bottom: .2rem; }
  .home-step p { font-size: .88rem; line-height: 1.48; }
  .home-seo-details { margin-top: .9rem; font-size: .82rem; }
  .home-coach { padding-block: 2rem; }
  .home-coach .coach-band-inner {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: .9rem;
    align-items: start;
  }
  .home-coach .coach-band-photo img {
    width: 88px;
    height: 108px;
    object-fit: cover;
    border-radius: 7px;
  }
  .home-coach .section-eyebrow { margin-bottom: .35rem; }
  .home-coach-copy h2 { font-size: 1.62rem; margin-bottom: .45rem; }
  .home-coach-copy > p { font-size: .88rem; line-height: 1.5; }
  .home-coach .coach-badges { gap: .35rem; margin-top: .65rem; }
  .home-coach .coach-badge { padding: .22rem .48rem; font-size: .67rem; }
  .home-coach-contact { margin-top: .65rem; font-size: .87rem; }
  .home-coach-details { margin-left: -5.5rem; }
  .home-races .section-sub { margin-bottom: .6rem; font-size: .9rem; line-height: 1.5; }
  .home-race-cards { display: none; }
  .home-race-more { margin-top: .55rem; font-size: .85rem; line-height: 1.45; }
  .home-race-cta { margin-top: .7rem; min-height: 42px; }
  .home-race-details { margin-top: .65rem; }
  .home-compare .section-sub { margin: 0; font-size: .9rem; line-height: 1.5; }
  .home-compare .compare-table { display: none; }
  .home-compare-mobile {
    display: grid;
    gap: .65rem;
    margin-top: 1rem;
  }
  .home-compare-option {
    padding: .8rem .95rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
  }
  .home-compare-option h3 {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .4rem;
    font-size: .92rem;
  }
  .home-compare-option h3 span { color: var(--color-green-dark); white-space: nowrap; }
  .home-compare-option ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .28rem .8rem;
    padding-left: 1.05rem;
    color: var(--color-text-secondary);
    font-size: .78rem;
    line-height: 1.4;
  }
  .home-compare-featured { border-color: #b6cfbd; background: #edf4ee; }
  .final-cta { padding: 2.4rem 0; }
  .final-cta h2 { font-size: 1.9rem; line-height: 1.15; }
  .final-cta p { margin: .4rem auto 1.2rem; font-size: .92rem; line-height: 1.5; }
  .final-cta .btn-primary-light { width: 100%; justify-content: center; min-height: 50px; }
  .final-guarantee { margin-top: .8rem; font-size: .75rem; line-height: 1.45; }
  .home-gallery-cta {
    align-items: stretch;
    flex-direction: column;
    gap: .55rem;
    margin-top: .65rem;
    padding: .75rem;
    font-size: .82rem;
  }
  .home-gallery-cta .btn-primary { width: 100%; justify-content: center; }
}

@media (max-width: 390px) {
  .home-coach .coach-band-inner { grid-template-columns: 76px minmax(0, 1fr); gap: .75rem; }
  .home-coach .coach-band-photo img { width: 76px; height: 96px; }
  .home-coach-details { margin-left: -4.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-proof .home-testimonial-rail { scroll-behavior: auto; }
}
