/* NudgeForMe homepage mobile polish v10 – November 2026
   Loaded AFTER styles.css and the scoped footer style.
   Deliberately limited to mobile widths: desktop layout and controls remain intact.
*/
.campaign-copy-mobile,
.campaign-link-mobile { display: none; }

@media (max-width: 780px) {
  /* One compact, non-sticky announcement. It scrolls away instead of
     taking up permanent vertical space alongside the navigation. */
  .campaign-bar {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 61;
    width: 100%;
  }
  .campaign-bar-inner {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 8px 12px !important;
    gap: 7px !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    line-height: 1.3;
  }
  .campaign-bar-label,
  .campaign-bar-timer,
  .campaign-copy-desktop,
  .campaign-link-desktop { display: none !important; }
  .campaign-copy-mobile,
  .campaign-link-mobile { display: inline !important; }
  .campaign-bar-copy {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    margin: 0;
    font-size: 12px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }
  .campaign-bar-link {
    flex: 0 0 auto;
    margin: 0;
    font-size: 12px !important;
    line-height: 1.2;
    white-space: nowrap;
    text-underline-offset: 2px;
  }
  .campaign-bar-close {
    flex: 0 0 28px;
    margin: 0 !important;
    padding: 0 !important;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    touch-action: manipulation;
  }

  /* Position the sticky nav below the announcement in document flow.
     When the announcement scrolls away, nav occupies only its own height.
     Dismissing the announcement needs no manual offset recalculation. */
  nav,
  body:has(.campaign-bar:not(.is-dismissed)) nav {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
  }
  nav .wrap { min-height: 60px; }

  /* Remove the duplicated mobile bottom bar, regardless of its JS-visible state. */
  .mobile-quick-actions,
  .mobile-quick-actions.is-visible {
    display: none !important;
  }

  /* Replace animated timeline/star effects with message + video below. */
  .hero-stage,
  .hero .stars {
    display: none !important;
  }
  .hero,
  body:has(.campaign-bar:not(.is-dismissed)) .hero {
    padding-top: 35px !important;
    padding-bottom: 32px !important;
  }
  .hero .wrap {
    display: block !important;
  }
  .hero-title {
    font-size: clamp(36px, 8.7vw, 49px) !important;
    line-height: 1.08 !important;
    margin-bottom: 17px !important;
    overflow-wrap: normal;
  }
  .hero-sub {
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin-bottom: 21px !important;
  }
  .ph-winner-proof {
    margin-bottom: 17px !important;
  }
  .hero-actions {
    gap: 9px !important;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    padding: 12px 17px !important;
    font-size: 14px !important;
    justify-content: center;
  }
  /* The same lifetime deal is already visible in the top banner. */
  .hero .hero-deal-link { display: none !important; }
  /* The extra newsletter link competes with the main CTA on tiny screens. */
  .hero-lead-cta { display: none !important; }
  .hero-proof {
    gap: 6px 12px !important;
    margin-top: 17px !important;
    font-size: 10.5px !important;
    line-height: 1.5;
    letter-spacing: .01em !important;
  }
  /* The 60-second video now directly follows the hero, with no decorative band. */
  .dawn { display: none !important; }
  .video-section {
    padding-top: 30px !important;
  }
  .video-section .sec-head { margin-bottom: 18px !important; }
  /* Do not require scroll-reveal JS before the primary product video can be seen. */
  .video-section .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }


  /* V10: remove ALL decorative outbound/next arrows on MOBILE CTA controls.
     The visual-only svg arrows in the primary CTA are distinct from play/check icons. */
  a .cta-arrow, button .cta-arrow,
  a .mobile-arrow-decoration, button .mobile-arrow-decoration,
  a.btn-primary > svg[aria-hidden="true"],
  a.btn-ghost > svg[aria-hidden="true"],
  .nudge-footer-v8 .nudge-footer-cta > span[aria-hidden="true"] {
    display: none !important;
  }
  a[class*="btn"]::after, button[class*="btn"]::after,
  a[class*="cta"]::after, button[class*="cta"]::after,
  a[class*="button"]::after, button[class*="button"]::after,
  .campaign-bar-link::after, .hero-deal-link::after,
  .nudge-footer-v8 .nudge-footer-cta::after,
  .mini-cta-actions a::after, .mini-cta-actions button::after,
  .video-follow-cta a::after, .video-follow-cta button::after,
  .faq-exit-cta a::after, .faq-exit-cta button::after {
    content: none !important;
    display: none !important;
  }
}

@media (max-width: 360px) {
  .campaign-bar-inner { padding-inline: 9px !important; gap: 5px !important; }
  .campaign-bar-copy,
  .campaign-bar-link { font-size: 11px !important; }
  .hero,
  body:has(.campaign-bar:not(.is-dismissed)) .hero { padding-top: 26px !important; }
  .hero-title { font-size: 35px !important; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    padding: 12px 10px !important;
    font-size: 12px !important;
    min-height: 44px;
  }
  .hero-actions { gap: 8px !important; }
}

@media (max-width: 780px) {
  .campaign-bar-timer:not([hidden]) {
    display: inline-flex !important;
    order: 0;
    font-size: 10px;
    padding-inline: 6px;
  }
}
