/* Approved desktop remains untouched: every rule in this file is below 1024px. */
@media (max-width: 1023px) {
  html, body { overflow-x: hidden; }
  body { font-size: 17px; line-height: 1.6; }
  img { max-width: 100%; height: auto; }
  main, section, .container, .reading-column, .hero-copy, .authority-copy,
  .offer-card, .checkout-card, .audit-card, .field { min-width: 0; }
  p, li, h1, h2, h3, label, legend, a { overflow-wrap: break-word; }
  h1, h2, h3 { word-break: normal; }
  .hero-copy h1 { letter-spacing: -.035em; text-wrap: wrap; }
  .hero-subhead, .subheadline { font-size: 17px; line-height: 1.6; }
  .microcopy, .small-text, .privacy-note, .form-note, .proof-link, .proof-line,
  .form-message, .guarantee-badge, .decline-link, .site-footer,
  .legal-page .updated-date, .header-cta, .order-status { font-size: 15px; line-height: 1.6; }
  .eyebrow, .section-label, .part-label, .hero-copy .eyebrow { font-size: 15px; }
  .hero-grid, .authority-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 32px; }
  .hero-copy { width: 100%; max-width: 680px; margin-inline: auto; }
  .hero-media { justify-self: center; }
  .authority-grid { max-width: 680px; justify-items: center; gap: 24px; }
  .authority-copy { width: 100%; }
  .founder-photo { margin-inline: auto; }
  .form-grid .full-width, .services-fieldset { grid-column: auto; }
  .button, .download-primary { width: 100%; min-height: 52px; font-size: 16px; line-height: 1.5; }
  input[type='text'], input[type='email'], input[type='tel'], select, textarea {
    width: 100%; max-width: 100%; min-height: 48px; font-size: 16px;
  }
  label.field, .field label, .checkout-card label[for='checkout-email'],
  .services-fieldset label, .services-fieldset legend { font-size: 15px; line-height: 1.6; }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand-lockup { min-width: 0; gap: 10px; }
  .brand-logo-badge { width: 32px; height: 32px; padding: 0; border-radius: 7px; }
  .brand-logo-image { width: 32px; height: 32px; object-fit: contain; }
  .brand-name { font-size: 15px; line-height: 1.3; white-space: nowrap; }
  .header-cta { display: flex; min-height: 52px; align-items: center; justify-content: center; }
  .results-image-button { width: 100%; }
  .results-lightbox { max-width: calc(100vw - 24px); width: calc(100vw - 24px); }
  [data-close-results-lightbox] { width: 52px; height: 52px; min-height: 52px; right: 4px; top: 0; font-size: 26px; }
  #calendly-container, #calendly-container .calendly-inline-widget, #calendly-container .calendly-embed-host { width: 100%; max-width: 100%; min-width: 0 !important; }
  #calendly-container iframe { width: 100% !important; max-width: 100%; min-width: 0 !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .container { max-width: 720px; padding-inline: 32px; }
  .section, .success-panel.section { padding-block: 72px; }
  h1, .success-panel h1, .legal-page h1 { font-size: 40px; line-height: 1.15; }
  h2, .checkout-card h2, .audit-card h2, .legal-page h2, .calendar-section h2 { font-size: 32px; line-height: 1.2; }
  .hero-media { max-width: 360px; }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .offer-card { padding: 24px 20px; }
  .offer-card h3 { font-size: 26px; }
  .checkout-card { max-width: 560px; }
  .button, .download-primary, #upsell-yes, .checkout-card .button, .audit-form .button {
    display: flex; width: fit-content; min-width: 320px; max-width: 100%; margin-inline: auto;
  }
  .order-bump p { font-size: 15px; }
  .site-footer { padding-block: 40px; }
}

@media (max-width: 767px) {
  html { scroll-padding-bottom: 80px; }
  body.home-page { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .container { padding-inline: 20px; }
  .section, .success-panel.section { padding-block: 56px; }
  .header-cta { display: none; }
  .header-inner { min-height: 64px; }
  h1, .success-panel h1, .legal-page h1 { font-size: 32px; line-height: 1.15; }
  h2, .checkout-card h2, .audit-card h2, .legal-page h2, .calendar-section h2, #calendar-status h3 {
    font-size: 26px; line-height: 1.2; text-wrap: wrap;
  }
  h3, .offer-card h3 { font-size: 24px; line-height: 1.2; }
  .eyebrow, .section-label, .part-label, .hero-copy .eyebrow { font-size: 11px; letter-spacing: .13em; }
  .hero-copy h1 { letter-spacing: -.035em; margin-bottom: 20px; }
  .hero-copy .eyebrow { margin-bottom: 16px; }
  .hero-subhead { margin-bottom: 22px; }
  .hero-media { max-width: 280px; }
  .button, .download-primary { padding: 12px 16px; font-size: 16px; }
  .hero-copy .button { margin-top: 0; }
  .microcopy { margin-top: 14px; }
  .proof-link { display: block; }
  .results-caption { margin: 12px 0 0; text-align: center; font-size: 15px; line-height: 1.6; color: var(--muted); }
  .results-lightbox { padding: 56px 10px 10px; }
  .results-lightbox img { max-height: calc(90vh - 72px); }
  .relate-section ul, .teaser-section ul { padding-left: 20px; }
  .relate-section li, .teaser-section li { padding-left: 4px; margin-bottom: 12px; }
  .offer-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .offer-card { padding: 20px; }
  .recap-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; margin-bottom: 16px; }
  .recap-check { font-size: 17px; line-height: 1.6; }
  .recap-text { min-width: 0; }
  .price-display { font-size: 56px; text-align: center; }
  .recap-image { max-width: 280px; }
  .checkout-card { max-width: 100%; width: 100%; padding: 20px; }
  .order-bump { padding: 16px; cursor: pointer; }
  .order-bump > label, .order-bump p { font-size: 15px; line-height: 1.6; }
  .order-bump > label { gap: 10px; }
  .order-bump input { width: 22px; height: 22px; }
  .order-bump:focus-within { outline: 2px solid var(--burgundy); outline-offset: 3px; }
  .guarantee-section, .guarantee-section .reading-column { text-align: left; }
  .guarantee-badge { display: block; width: 100%; text-align: left; border-radius: 12px; padding: 12px 16px; }
  .faq-section details { width: 100%; }
  .faq-section summary { min-height: 48px; padding: 16px 32px 16px 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; }
  .faq-section summary::after { top: 16px; right: 0; font-size: 20px; line-height: 1.36; }
  .faq-section details p { padding: 0 0 20px; font-size: 17px; }
  .final-call.section { padding: 20px; }
  .final-call .container { padding-inline: 0; }
  .final-call .button { width: 100%; }
  .site-footer { padding-block: 32px; font-size: 15px; text-align: center; }
  .site-footer p { font-size: 15px; }
  .site-footer p:first-child { display: grid; gap: 8px; justify-items: center; }
  .site-footer .footer-copyright { display: block; }
  .site-footer .footer-separator { display: none; }
  .site-footer p:first-child a { display: flex; align-items: center; justify-content: center; min-height: 44px; }
  .mobile-sticky-cta {
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding: 6px 20px calc(6px + env(safe-area-inset-bottom, 0px));
    display: flex; align-items: center;
  }
  .mobile-sticky-cta .button { min-height: 52px; height: 52px; width: 100%; }
  .mobile-sticky-cta.is-checkout-visible { display: none; }
  .upgrade-banner { padding: 14px 20px; font-size: 14px; line-height: 1.5; }
  .upgrade-banner p { font-size: 14px; }
  .upgrade-hero h1 { font-size: 28px; line-height: 1.15; }
  .upgrade-product-image { width: 100%; max-width: 100%; }
  #upsell-yes { width: 100%; min-height: 52px; }
  .decline-link { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: 15px; text-align: center; }
  .download-primary { max-width: 100%; width: 100%; margin-top: 12px; min-height: 52px; }
  .audit-card { padding: 20px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .services-options, .checkbox-group { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .services-fieldset label { display: flex; align-items: center; min-height: 44px; gap: 10px; width: 100%; }
  .services-fieldset input { width: 22px; height: 22px; }
  #calendly-container .calendly-inline-widget, #calendly-container .calendly-embed-host, #calendly-container iframe { height: 900px !important; }
}

@media (max-width: 1023px) {
  .services-options, .checkbox-group { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .services-fieldset label { min-height: 44px; display: flex; align-items: center; gap: 10px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .decline-link { display: flex; align-items: center; justify-content: center; width: fit-content; min-width: 320px; max-width: 100%; min-height: 52px; margin-inline: auto; }
}
