/* Focused V2 cleanup after production visual review. */

/* Homepage hero: one clean visual, no collage seams. */
.fit-public-home-v2 .fit-hero-visual{min-height:520px}
.fit-public-home-v2 .fit-hero-photo-stage{min-height:520px}
.fit-public-home-v2 .fit-hero-photo-primary{inset:0;border-radius:28px;background:#111827}
.fit-public-home-v2 .fit-hero-photo-primary img{object-position:center 18%;filter:saturate(.96) contrast(1.02)}
.fit-public-home-v2 .fit-hero-photo-secondary{display:none!important}
.fit-public-home-v2 .fit-hero-app-card{left:-26px;bottom:28px;width:min(330px,68%)}

/* Outcome cards: use consistent framing and protect text legibility. */
.fit-public-home-v2 .fit-outcome-card{min-height:430px;background:#0d1424}
.fit-public-home-v2 .fit-outcome-card img{object-position:center 18%;filter:saturate(.96) contrast(1.02)}
.fit-public-home-v2 .fit-outcome-card:after{inset:0;background:linear-gradient(180deg,rgba(13,20,36,.02) 0%,rgba(13,20,36,.06) 40%,rgba(13,20,36,.78) 73%,rgba(7,11,20,.97) 100%)}
.fit-public-home-v2 .fit-outcome-card-copy{left:20px;right:20px;bottom:20px}
.fit-public-home-v2 .fit-outcome-card-copy h3{color:#fff!important}
.fit-public-home-v2 .fit-outcome-card-copy p{color:#e2e8f0!important}

/* Light surface text should never inherit dark-section colors. */
.fit-public-home-v2 .fit-three-step-section,
.fit-public-home-v2 .fit-guidance-section-v2,
.fit-public-home-v2 .fit-public-cta{color:#111827}
.fit-public-home-v2 .fit-three-step-section h2,
.fit-public-home-v2 .fit-three-step-section h3,
.fit-public-home-v2 .fit-guidance-section-v2 h2,
.fit-public-home-v2 .fit-guidance-section-v2 h3,
.fit-public-home-v2 .fit-public-cta h2{color:#111827!important}
.fit-public-home-v2 .fit-three-step-section p,
.fit-public-home-v2 .fit-guidance-section-v2 p,
.fit-public-home-v2 .fit-public-cta p{color:#526176!important}

/* Final CTA: stronger contrast and a more intentional accent surface. */
.fit-public-home-v2 .fit-public-cta .container{background:linear-gradient(135deg,#eefaac 0%,#f7fbe9 46%,#ffffff 100%);border-color:#cfe77f;box-shadow:0 18px 44px rgba(78,105,18,.10)}
.fit-public-home-v2 .fit-public-cta h2{max-width:740px}
.fit-public-home-v2 .fit-public-cta .fit-btn-primary{background:#0d1424;border-color:#0d1424;color:#fff}
.fit-public-home-v2 .fit-public-cta .fit-btn-primary:hover,.fit-public-home-v2 .fit-public-cta .fit-btn-primary:focus{background:#070b14;border-color:#070b14;color:#fff}
.fit-public-home-v2 .fit-public-cta .fit-btn-secondary{background:#fff;border-color:#cbd5e1;color:#0d1424}

/* Program selector: slightly firmer selected and card states. */
#fitness-app .fitness-visual-goal-card{background:#fff}
#fitness-app .fitness-visual-goal-card.is-selected{border-color:#9bc629;box-shadow:0 0 0 3px rgba(184,242,60,.20),0 14px 34px rgba(13,20,36,.08)}
#fitness-app .fitness-training-option.is-selected{background:#f1f9d9;border-color:#a9d12f;box-shadow:0 0 0 2px rgba(184,242,60,.14)}
#fitness-app .fitness-program-card{background:#fff}

/* Purchase page: make trust information read as reassurance, not disabled UI. */
.fit-purchase-page .fit-purchase-card{background:#0d1424;color:#fff}
.fit-purchase-page .fit-purchase-card h2,.fit-purchase-page .fit-purchase-card strong{color:#fff}
.fit-purchase-page .fit-price-note{color:#dce7f3}
.fit-purchase-page .fit-price-note i{color:#b8f23c}
.fit-purchase-page .fit-secure-note{background:#15223a!important;border:1px solid rgba(184,242,60,.28)!important;border-radius:14px;color:#dce7f3!important;margin:0 0 18px;padding:16px 18px!important}
.fit-purchase-page .fit-secure-note i{color:#b8f23c!important;margin-top:3px}
.fit-purchase-page .fit-secure-note strong{color:#fff!important;line-height:1.35}
.fit-purchase-page .fit-secure-note span{color:#c4d0df!important;line-height:1.5;margin-top:4px}
.fit-purchase-page .fit-includes{color:#dce7f3}
.fit-purchase-page .fit-includes i{color:#b8f23c}
.fit-purchase-page .fit-purchase-card .fit-btn-primary{background:#b8f23c;border-color:#b8f23c;color:#0d1424}
.fit-purchase-page .fit-purchase-card .fit-btn-primary:hover,.fit-purchase-page .fit-purchase-card .fit-btn-primary:focus{background:#a7df31;border-color:#a7df31;color:#0d1424}

/* How It Works closing CTA: readable on the light public canvas. */
.fit-public-how .fit-how-cta{display:flex;justify-content:space-between;align-items:center;gap:28px;margin:64px 0 32px;padding:34px 40px;border:1px solid #cfe77f;border-radius:24px;background:linear-gradient(135deg,#eefaac 0%,#f7fbe9 48%,#fff 100%);box-shadow:0 18px 44px rgba(78,105,18,.10);color:#111827}
.fit-public-how .fit-how-cta h2{color:#111827!important;margin:0 0 8px}
.fit-public-how .fit-how-cta p{color:#526176!important;margin:0;max-width:680px}
.fit-public-how .fit-how-cta .fit-btn-primary{background:#0d1424;border-color:#0d1424;color:#fff}
.fit-public-how .fit-how-cta .fit-btn-primary:hover,.fit-public-how .fit-how-cta .fit-btn-primary:focus{background:#070b14;border-color:#070b14;color:#fff}
.fit-public-how .fit-how-cta .fit-btn-secondary{background:#fff;border-color:#cbd5e1;color:#0d1424}

/* Keep desktop purchase action visible without changing mobile behavior. */
@media (min-width:992px){
  .fit-purchase-page .fit-purchase-card{position:sticky;top:92px;align-self:start}
}

@media (max-width:991.98px){
  .fit-public-home-v2 .fit-hero-visual,
  .fit-public-home-v2 .fit-hero-photo-stage{min-height:430px}
  .fit-public-home-v2 .fit-hero-app-card{left:18px;right:18px;bottom:18px;width:auto}
}

@media (max-width:767.98px){
  .fit-public-home-v2 .fit-outcome-card{min-height:360px}
  .fit-public-home-v2 .fit-outcome-card img{object-position:center 14%}
  .fit-public-home-v2 .fit-public-cta .container{padding:28px 24px}
  .fit-public-how .fit-how-cta{align-items:stretch;flex-direction:column;padding:28px 24px}
  .fit-public-how .fit-how-cta .fit-public-actions{width:100%}
  .fit-public-how .fit-how-cta .btn{width:100%}
  .fit-purchase-page .fit-secure-note{padding:14px 16px!important}
}

@media (prefers-reduced-motion:reduce){
  .fit-public-home-v2 .fit-outcome-card img{transition:none!important}
}
