.lmpp-product-wording-public .rp-card[data-testid="catalog-mask"],
[data-testid="catalog-mask"][data-lmpp-inactive-product],
[data-lmpp-inactive-product="brute-force-link"][hidden],
.lmpp-product-wording-public [data-testid="catalog-mask"],
.lmpp-product-wording-public [data-lmpp-inactive-product="brute-force"],
.lmpp-product-wording-public [data-lmpp-inactive-product="brute-force-link"] {
  display: none !important;
}

.lmpp-product-wording-public .rp-grid:has(> [data-testid="catalog-mask"]) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lmpp-product-wording-public .rp-faq details[data-lmpp-inactive-product="brute-force"] {
  display: none !important;
}

.lmpp-product-wording-public .rp-card-number {
  display: none !important;
}

@media (max-width: 900px) {
  .lmpp-product-wording-public .rp-grid:has(> [data-testid="catalog-mask"]) {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The compact homepage card already owns its one-column mobile layout. */
.lmpp-product-wording-public .home-plan-cards .rp-grid {
  grid-template-columns: minmax(0, 1fr);
}

@media(max-width:1279.98px){
 .home-page .home-mobile-service-intro,
 .home-page .home-mobile-recovery-animation,
 .home-page [data-testid="mobile-home-recovery-options"]{
   width:var(--home-format-rail-width,100%)!important;
   max-width:100%!important;
   margin-inline:auto!important;
 }

}
@media(min-width:1280px){
 .home-desktop-layout :is(section#how-it-works,section#pricing,section#faq){
   width:var(--home-format-rail-width,100%)!important;
   max-width:100%!important;
   margin-inline:auto!important;
 }
}

/* The v2 How It Works runtime can append the older page stylesheet after the
   static link. Keep this tiny, late-loaded override scoped to the CTA so the
   shared Header Start Recovery values always win. */
.how-recovery .how-recovery__start {
  align-items: center !important;
  justify-content: center !important;
  gap: .5rem !important;
  min-height: 40px !important;
  border-radius: 12px !important;
  padding: 8px 12px !important;
  color: #fff !important;
  background-image: linear-gradient(to right, #06b6d4, #2563eb) !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
  box-shadow: 0 10px 15px -3px rgb(6 182 212 / .2), 0 4px 6px -4px rgb(6 182 212 / .2) !important;
}
.how-recovery .how-recovery__start:hover {
  color: #fff !important;
  background-image: linear-gradient(to right, #0891b2, #2563eb) !important;
  box-shadow: 0 10px 15px -3px rgb(6 182 212 / .3), 0 4px 6px -4px rgb(6 182 212 / .3) !important;
}
@media (max-width: 639px) {
  .how-recovery .how-recovery__start {
    min-height: 34px !important;
    padding: 2px 12px !important;
    font-size: 12px !important;
    line-height: 14.4px !important;
  }
}

/* Keep the existing copy and form layout; scope the visual hierarchy to the intro. */
.home-hero-intro p { text-wrap: pretty; }
@media (min-width: 768px) {
  .home-desktop-layout .home-hero-intro p { text-wrap: wrap !important; }
}
@media (max-width: 767px) {
  .home-page .home-mobile-service-intro {
    position: relative;
    padding: 17px 17px 16px !important;
    border: 1px solid rgba(65, 154, 193, .29) !important;
    border-radius: 18px !important;
    background: radial-gradient(ellipse at 0 0, rgba(13, 123, 153, .13), transparent 75%), linear-gradient(145deg, #0c1c2e, #07121f) !important;
    box-shadow: 0 12px 26px rgba(2, 8, 20, .2), inset 0 1px 0 rgba(140, 218, 246, .035) !important;
    text-align: start;
  }
  .home-page .home-mobile-service-intro::before {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 18px;
    width: 38px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(to right, #22d3ee, #3b82f6);
  }
  .home-page .home-mobile-service-intro .home-hero-intro {
    max-width: 100%;
    padding-top: 0;
  }
  .home-page .home-mobile-service-intro .home-hero-intro p {
    text-wrap: pretty;
    margin-bottom: 0;
  }
  .home-page .home-mobile-service-intro .home-hero-intro p:first-child {
    color: #edf6ff !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.5 !important;
    letter-spacing: -.015em;
    margin-top: 0 !important;
  }
  .home-page .home-mobile-service-intro .home-hero-intro p:nth-child(2) {
    color: #a8bdd0 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.55 !important;
    margin-top: 10px !important;
  }
  .home-page .home-mobile-service-intro .home-hero-intro p:last-child {
    border-top: 1px solid rgba(93, 169, 193, .2);
    padding-top: 11px;
    margin-top: 12px !important;
    color: #91e5de !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
  }
  .home-page .home-mobile-service-intro:lang(ar),
  .home-page .home-mobile-service-intro:lang(he) { direction: rtl; }
}
