/* Consolidated DS responsive layer: legacy media.css + product responsive overrides. */
/* Desktop */
@media (min-width: 1024px) {
  .container {
    padding-left: var(--landing-space-responsive-container-inline-desktop, 48px);
    padding-right: var(--landing-space-responsive-container-inline-desktop, 48px);
  }

  .reviews-track {
    justify-content: flex-start;
  }

  .section-hero h3 {
    font-size: var(--landing-type-responsive-hero-subtitle-desktop-size, 24px);
  }

  .section-hero h1 {
    font-size: var(--landing-type-responsive-hero-title-desktop-size, 52px);
  }

  .section-hero .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    column-gap: var(--landing-space-responsive-hero-columns-gap, 56px);
    row-gap: 0;
  }

  .section-hero .content {
    grid-column: 1;
  }

  .section-hero .img.desk {
    grid-column: 2;
  }

}

/* Tablet */
@media (min-width: 601px) and (max-width: 1023px) {
  :root {
    --landing-space-proof-reviews-edge-padding: var(--landing-space-scale-20);
  }

  section:not(.section-hero) h2 {
    font-size: var(--landing-type-responsive-section-h2-tablet-size, 32px);
  }

  .section-hero h3 {
    font-size: var(--landing-type-responsive-hero-subtitle-tablet-size, 24px);
  }

  .section-hero h1 {
    font-size: var(--landing-type-responsive-hero-title-tablet-size, 52px);
  }

  .section-hero .container {
    padding-left: var(--landing-space-responsive-container-inline-tablet, 24px);
    padding-right: var(--landing-space-responsive-container-inline-tablet, 24px);
    gap: 0;
  }

  .section-hero .img {
    margin-top: var(--landing-space-responsive-hero-image-margin-top, 32px);
  }

  .section-problem .items {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-expert .section-expert-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .section-expert .section-expert-image {
    width: 100%;
    width: min(100%, 23rem);
    max-width: 23rem;
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
  }

  .section-expert .section-expert-text {
    width: 100%;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
  }

  .section-expert .section-expert-text-content {
    min-height: auto;
  }

}

/* Mobile */
@media (max-width: 600px) {
  section:not(.section-hero) h2 {
    font-size: var(--landing-type-responsive-section-h2-mobile-size, 30px);
    text-align: center;
  }

  section:not(.section-hero) h3 {
    font-size: var(--landing-type-responsive-section-h3-mobile-size, 20px);
    line-height: var(--landing-line-body-soft, 1.45);
    font-weight: 500;
    color: var(--landing-color-text-muted);
    margin-bottom: var(--landing-space-section-heading-margin-bottom, 24px);
  }

  .container {
    padding-left: var(--landing-space-responsive-container-inline-mobile, 20px);
    padding-right: var(--landing-space-responsive-container-inline-mobile, 20px);
  }

  .desk {
    display: none !important;
  }

  .mob {
    display: block !important;
  }

  .section-hero .img.mob {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    border-radius: var(--landing-radius-responsive-hero-image, 24px);
    margin-top: var(--landing-space-responsive-hero-image-margin-top, 32px);
    background: transparent;
  }

  .section-hero iframe.img.mob {
    max-height: none;
    aspect-ratio: 16 / 9;
  }

  .section-hero .video-embed.img.mob {
    max-height: none;
  }

  .video-embed__play {
    width: 64px;
    height: 64px;
  }

  .video-embed__label {
    font-size: 13px;
  }

  .section-hero .img {
    width: 100%;
    max-width: 448px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-hero h1 {
    font-size: var(--landing-type-responsive-hero-title-mobile-size, 32px);
    line-height: var(--landing-line-hero-mobile-tight, 1.06);
    margin-top: var(--landing-space-responsive-hero-title-margin-top, 24px);
  }

  .section-hero h3 {
    font-size: var(--landing-type-responsive-hero-subtitle-mobile-size, 20px);
    line-height: var(--landing-line-body-soft, 1.45);
    font-weight: 500;
    margin-top: var(--landing-space-responsive-hero-subtitle-margin-top, 24px);
  }

  .hero-proof {
    margin-top: var(--landing-space-responsive-hero-proof-margin-top, 16px);
    align-items: center;
  }

  .hero-proof__badge {
    font-size: var(--landing-type-responsive-proof-badge-mobile-size, 13px);
    padding: var(--landing-space-responsive-badge-padding, 6px 10px);
  }

  .hero-proof__quote {
    font-size: var(--landing-type-responsive-proof-quote-mobile-size, 15px);
    line-height: var(--landing-line-caption, 1.35);
    max-width: 100%;
    text-align: left;
    padding: var(--landing-space-responsive-quote-padding, 10px 12px);
  }

  .section-hero .section-hero-preprice {
    text-align: center;
  }

  .section-hero .benefits-block > p {
    font-size: var(--landing-type-responsive-hero-benefits-mobile-size, 18px);
    line-height: var(--landing-line-loose, 1.6);
    color: var(--landing-color-text);
    font-weight: 500;
  }

  .section-hero .benefits-block {
    margin-top: var(--landing-space-responsive-hero-subtitle-margin-top, 24px);
  }

  .benefits__item {
    font-size: var(--landing-type-responsive-hero-benefit-item-mobile-size, 16px);
  }

  .benefits__icon {
    width: var(--landing-size-responsive-icon-mobile, 24px);
    height: var(--landing-size-responsive-icon-mobile, 24px);
    background: rgba(239, 135, 123, 0.1);
    color: var(--landing-color-icon-accent-soft, var(--landing-color-accent-soft));
    font-size: var(--landing-type-responsive-icon-mobile-size, 16px);
    line-height: var(--landing-line-reset, 1);
  }

  .section-hero .price span {
    font-size: var(--landing-type-responsive-hero-emphasis-mobile-size, 30px);
  }

  .section-hero #divprice .price-stack {
    justify-content: center;
    gap: var(--landing-space-responsive-hero-highlights-margin-top, 8px);
  }

  .section-hero .price .price-old {
    font-size: var(--landing-type-responsive-hero-price-old-mobile-size, 22px);
  }

  .section-hero .price .price-current {
    font-size: var(--landing-type-responsive-hero-price-current-mobile-size, 32px);
  }

  .section-hero #divprice .price-note {
    font-size: var(--landing-type-responsive-hero-price-note-mobile-size, 14px);
    font-weight: 400;
    line-height: var(--landing-line-body-compact, 1.4);
  }

  .section-hero #divprice .openModal {
    width: 100%;
    max-width: 100%;
    padding: var(--landing-space-responsive-cta-padding, 10px 32px);
    border-radius: var(--landing-radius-responsive-cta, 14px);
    font-size: var(--landing-type-responsive-cta-mobile-size, 18px);
    min-height: var(--landing-type-responsive-cta-mobile-min-height, 40px);
  }

  #menu .openModal {
    width: 100%;
    max-width: 100%;
    padding: var(--landing-space-responsive-cta-padding, 10px 32px);
    border-radius: var(--landing-radius-responsive-cta, 14px);
    font-size: var(--landing-type-responsive-cta-mobile-size, 18px);
    min-height: var(--landing-type-responsive-cta-mobile-min-height, 40px);
    font-weight: 700;
    line-height: normal;
    box-shadow: var(--landing-shadow-cta);
  }

  #menu {
    padding-left: var(--landing-space-responsive-sticky-inline, 16px);
    padding-right: var(--landing-space-responsive-sticky-inline, 16px);
  }

  .section-hero::after {
    display: none;
  }

  .section-hero .container {
    padding-left: var(--landing-space-responsive-container-inline-mobile, 20px);
    padding-right: var(--landing-space-responsive-container-inline-mobile, 20px);
    gap: 0;
  }

  .section-hero #divprice {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }

  .section-hero #divprice .price-note,
  .section-hero #divprice .cta-note {
    text-align: center;
  }

  .section-hero #divprice .price-note-row {
    justify-content: center;
  }

  .section-hero #divprice p {
    font-size: var(--landing-type-responsive-inline-note-mobile-size, 12px);
    white-space: normal;
    text-align: center;
    margin-top: 0;
    display: block;
    width: 100%;
  }

  .section-solution h2 {
    margin-bottom: var(--landing-space-proof-heading-margin-bottom, 16px);
  }

  .section-solution p {
    margin-bottom: var(--landing-space-section-heading-margin-bottom, 24px);
  }


  .help-cards {
    flex-direction: column;
    gap: var(--landing-space-responsive-card-gap, 16px);
  }

  .help-card {
    --landing-size-help-card-media-slot: 7.25rem;
    --landing-space-help-card-media-gap: var(--landing-space-scale-18);
    --landing-space-help-card-title-gap: var(--landing-space-scale-12);
    padding: var(--landing-space-responsive-card-padding, 18px);
  }

  .help-card img {
    width: 96px;
    height: 96px;
  }

  .help-why {
    margin-top: var(--landing-space-proof-text-margin-bottom, 24px);
  }

  .section-solution .container,
  .section-problem .container,
  .section-program .container,
  .section-format .container,
  .section-proof .container,
  .section-expert .container,
  .section-faq .container,
  .section-offer .container {
    gap: var(--landing-space-responsive-card-gap, 16px);
  }

  .help-why h3 {
    font-size: var(--landing-type-responsive-utility-heading-mobile-size, 18px);
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: var(--landing-space-faq-accordion-item-margin-bottom, 15px);
  }

  .step {
    width: 100%;
    text-align: center;
  }

  .step p {
    text-align: center;
  }

  .section-problem .items {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--landing-space-responsive-problem-gap, 12px);
  }

  .grid-item {
    width: 100%;
  }

  .mobile-break {
    display: block;
    height: 0;
  }

  #iframe {
    width: 100%;
    max-width: 100%;
    height: var(--landing-size-responsive-iframe-height, 300px);
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--landing-space-responsive-card-gap, 16px);
  }

  .footer {
    padding-bottom: var(--landing-space-responsive-footer-padding-bottom, 64px);
    padding-top: var(--landing-space-responsive-footer-padding-bottom, 64px);
  }

  .footer-section {
    width: auto;
    margin-bottom: 0;
  }

  #footer-left {
    flex-direction: column;
    align-items: center;
    gap: var(--landing-space-footer-social-gap, 12px);
  }

  #footer-center,
  #footer-right {
    text-align: center;
  }

  .footer-logo-payments {
    flex-direction: column;
    align-items: center;
    gap: var(--landing-space-responsive-footer-logo-gap, 10px);
  }

  .footer #footer-right .item {
    display: flex;
    justify-content: center;
    gap: var(--landing-space-footer-social-gap, 12px);
    margin-top: var(--landing-space-responsive-footer-item-margin-top, 10px);
  }

  .footer #footer-right .item a {
    display: inline-flex;
    align-items: center;
  }

  .footer #footer-right .item img {
    width: var(--landing-size-responsive-footer-social-icon, 32px);
    height: var(--landing-size-responsive-footer-social-icon, 32px);
    display: block;
  }
}


/* Product responsive overrides */
@media (min-width: 64rem) {
  .section-hero .container {
    max-width: var(--ds-container-max);
  }
}

@media (min-width: 37.5625rem) and (max-width: 63.9375rem) {
  :root {
    --landing-size-card-media-tile-width: 13.5rem;
    --landing-size-card-composition-min-height: 28rem;
    --landing-size-card-problem-min-height: 10rem;
    --landing-size-card-solution-min-height: 14.5rem;
    --landing-size-card-program-min-height: 22rem;
  }

  .section-program,
  .section-format,
  .section-proof,
  .section-expert,
  .section-offer,
  .section-faq {
    padding-inline: var(--ds-space-4);
  }

  .section-program .section-program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 37.5rem) {
  :root {
    --landing-size-card-media-tile-width: 100%;
    --landing-size-card-media-frame-max-width: 100%;
    --landing-size-card-composition-min-height: auto;
    --landing-size-card-composition-media-max-width: 22.5rem;
    --landing-size-card-summary-max-width: 100%;
    --landing-size-card-problem-min-height: 8.5rem;
    --landing-size-card-solution-min-height: auto;
    --landing-size-card-program-min-height: auto;
  }

  .section-expert .section-expert-grid {
    grid-template-columns: 1fr;
  }

  .section-expert .section-expert-text {
    text-align: left;
    padding-right: 0;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-expert .section-expert-image {
    position: relative;
    width: 100%;
    max-width: 360px;
    min-height: auto;
    height: auto;
    right: 0;
    top: auto;
    transform: none;
    display: block;
  }

  .section-expert h2 {
    text-align: center;
    display: block;
  }

  .section-expert p,
  .section-expert ul {
    text-align: left;
  }

  .section-expert .section-expert-text-content {
    padding: var(--landing-space-responsive-card-padding, 18px);
  }

  .section-program .lesson {
    padding: var(--landing-space-responsive-lesson-padding, 5px 10px);
    font-size: var(--landing-type-responsive-program-lesson-mobile-size, 14px);
  }

  .section-program .items {
    padding: var(--landing-space-responsive-card-padding, 18px);
    width: 100%;
    max-width: 100%;
  }

  .section-program .section-program-grid {
    grid-template-columns: 1fr;
    gap: var(--landing-space-responsive-card-gap, 16px);
  }

  .section-proof h2 {
    text-align: center;
    width: 100%;
  }

  .section-offer .container {
    width: calc(100% - (var(--landing-space-safe-edge-mobile, 20px) * 2));
    max-width: calc(100% - (var(--landing-space-safe-edge-mobile, 20px) * 2));
    margin-left: auto;
    margin-right: auto;
    padding: var(--landing-space-responsive-card-padding, 18px);
  }

  .section-hero .openModal,
  .section-offer .openModal,
  [data-sticky-menu] .openModal {
    width: 100%;
  }
}
