/* Mobile-only overrides for the marketing landing page */
@media (max-width: 600px) {
  /* Hide the desktop sidebar column entirely */
  .main-wrapper .col-lg-2 { display: none !important; }
  .main-wrapper .col-lg-10 { width: 100% !important; }

  /* Simplify layout: show only the download card */
  /* show header-area on mobile */
  .links-area { display: none !important; }
  .features-list { display: none !important; }

  /* Tighten container spacing */
  .main-content-wp { padding-right: 0 !important; }
  .container { max-width: 100% !important; padding-left: 8px !important; padding-right: 8px !important; }
  .package-area { margin-top: -3px !important; gap: 12px !important; display: flex !important; flex-direction: column !important; }
  .package-area .app-extra-image { order: 1; }
  .package-area .packge-top-wp { order: 2; }
  .package-area .app-download-area { order: 3; }
  .package-area .mobile-yt-links { order: 5; }

  .packge-top-wp h2 { font-size: 20px !important; }
  .package-card { width: 100% !important; min-height: auto !important; }

  /* Download card becomes primary content */
  .app-download-area { margin-top: 12px !important; height: auto !important; padding: 12px !important; gap: 12px !important; }
  .app-download-left { display: none !important; }
  .download-info-card { height: auto !important; gap: 12px !important; padding: 8px !important; }
  .download-top h3 { font-size: 18px !important; }
  .download-top p { font-size: 13px !important; }
  .download-links ul img { max-width: 90px !important; }
  .download-links .qr-link { display: none !important; }

  .app-extra-image { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 16px !important; margin-top: 12px !important; margin-bottom: 10px !important; }
  .app-extra-image a { order: initial !important; }
  .app-extra-image .app-extra-caption { order: initial !important; }
  .app-extra-caption { font-size: 15px !important; text-align: center !important; color: #000 !important; line-height: 1.4 !important; margin-bottom: 12px !important; font-weight: 300 !important; }
  /* Use container gap for vertical rhythm on mobile */
  /* (Single source-of-truth for .app-extra-image above) */
  .app-extra-image .app-extra-caption { display: block !important; }
  .cs-pretext p { font-family: var(--primeryFont) !important; font-size: 15px !important; font-weight: 300 !important; line-height: 1.4 !important; color: #000 !important; text-align: center !important; }
  /* Show inline sidebar content placed under cs.png on mobile */
  .app-extra-image .sidebar-content { display: block !important; margin-top: 8px !important; text-align: center !important; }
  /* Force small inline logos to 20% of viewport width on mobile */
  .app-extra-image img.yt-inline { width: 30vw !important; height: auto !important; margin: 12px 0 !important; }
  /* Hide the original split image in lower section on mobile to avoid duplication */
  .app-extra-image a.split-open { display: none !important; }
  .trial-row { display:flex !important; align-items:center !important; gap:12px !important; margin-top:20px !important; width:100% !important; }
  .trial-row { justify-content: center !important; }
  .trial-row .trial-img { border-radius:12px !important; height:auto !important; }
  .trial-row .trial-img.solo { max-width:50% !important; width:50% !important; margin:0 auto !important; display:block !important; }
  /* Default images adapt to container but do not force full width */
  .app-extra-image img { max-width: 100%; height: auto; }
  /* Sidebar image and text removed on mobile for focus */
  .sidebar-image, .sidebar-content, .findoutmore-card { display: none !important; }
  /* Mobile header styles */
  .header-area { display: grid !important; grid-template-columns: 53px auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; row-gap: 6px; }
  .header-area { position: relative; }
  .logo-image { grid-column: 1; grid-row: 1; margin-left: 0; }
  .logo-image img { width: 53px !important; height: 48px !important; object-fit: cover; }
  .header-logo-ext { grid-column: 2; grid-row: 1; display: inline-block !important; width: 220px; font-size: 22px; font-family: var(--font-doppio); font-weight: 700; line-height: 1.1; text-align: left; justify-self: start; margin-left: 4px; }
  .header-logo-ext .hl-secondary { font-size: 18px; font-weight: 500; }
  .header-content { grid-column: 1 / span 2; grid-row: 2; display: none !important; }
  .header-content p:first-of-type { margin-bottom: 10px !important; }
  .header-content p:nth-of-type(2) { margin-bottom: 30px !important; }
  .header-content h4 { display: none !important; }
  /* Ensure any stray mobile-only caption inserted in header is hidden */
  .header-content .mobile-only { display: none !important; }
  .unified-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 0 8px; margin-top: -13px !important; margin-bottom: 40px !important; position: relative !important; z-index: 5 !important; }
  .unified-copy p { font-size: 15px !important; line-height: 1.4 !important; font-weight: 300 !important; color: #000 !important; }
  .unified-copy .space-2 { height: 20px; }
  .unified-copy .tight-group { display: flex; flex-direction: column; gap: 4px; }
  .unified-copy .split-inline img { width: 100% !important; height: auto !important; border-radius: 12px; }
  .unified-copy .split-inline { display: block !important; margin-bottom: 24px !important; }
  .header-content p {
    font-size: 15px !important;
    line-height: 1.4;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    word-break: break-word;
    overflow-wrap: anywhere;
    font-weight: 300 !important;
    text-align: center !important;
  }
  .cs-pretext { margin-top: -13px !important; }
  .cs-pretext p { margin: 0 !important; }
  .cs-pretext p:nth-of-type(3) { margin-top: 0 !important; }
  .cs-pretext p:first-of-type { margin-top: 0 !important; }
  .app-extra-caption { font-weight: 300 !important; }
}
  /* Stack download icons vertically and enlarge on mobile */
  .download-links ul { flex-direction: column !important; align-items: center !important; gap: 20px !important; }
  .download-links ul li { width: 100% !important; display: flex !important; justify-content: center !important; }
  .download-links ul img { width: 70% !important; max-width: 70% !important; }
  .download-links ul img { display: block !important; margin: 0 auto !important; }
  .download-links ul li a { display: flex !important; justify-content: center !important; width: 100% !important; }
  .hamburger-btn { position: absolute; right: 8px; top: 6px; z-index: 1000; background: #fff; color: #000; border: 1px solid #ddd; border-radius: 6px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; }
  .mobile-menu { position: absolute; right: 8px; top: 48px; z-index: 1000; background: #fff; border: 1px solid #ddd; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); display: none; min-width: 180px; overflow: hidden; }
  .mobile-menu.open { display: block; }
  .mobile-menu a { display: block; padding: 12px 14px; text-decoration: none; color: #000; font-size: 14px; }
  .mobile-menu a + a { border-top: 1px solid #eee; }
  .video-container { width: 100% !important; aspect-ratio: 16/9 !important; overflow: hidden !important; border-radius: 12px !important; background: #000 !important; margin: 150px 0 0 0 !important; position: relative !important; z-index: 1 !important; }
  .video-container::before,
  .video-container::after { content: ''; position: absolute; left: 0; right: 0; height: 8%; background: #fff; z-index: 2; pointer-events: none; }
  .video-container::before { top: 0; }
  .video-container::after { bottom: 0; }
  .intro-video { width: 100% !important; max-width: 100% !important; height: 100% !important; border-radius: 12px !important; display: block !important; object-fit: cover !important; object-position: center !important; margin: 0 !important; }
  .app-extra-image { width: 100% !important; }
  .app-extra-image .intro-video { position: static !important; top: auto !important; background-color: transparent !important; align-self: stretch !important; }
  .cs-findoutmore { margin-top: -4px !important; }
  .yt-inline { width: 90px !important; height: auto !important; display: block !important; margin: 8px auto !important; }
  .desktop-only { display: none !important; }
  .package-area .yt-inline { order: 4 !important; }
  .video-container-portrait { position: relative !important; width: 100% !important; max-width: 420px !important; aspect-ratio: 1080/1400 !important; overflow: hidden !important; background: #fff !important; border-radius: 12px !important; margin: 8px auto 12px auto !important; }
  .video-container-portrait .intro-video-portrait { width: 100% !important; height: 100% !important; display: block !important; object-fit: cover !important; object-position: center !important; }
  .mobile-yt-links { margin: 6px 0 16px 0 !important; display: flex !important; justify-content: center !important; }
   .mobile-yt-links .yt-bullets { list-style: none !important; padding: 0 !important; margin: 6px 0 0 !important; display: flex !important; flex-direction: column !important; gap: 8px !important; align-items: flex-start !important; }
  .mobile-yt-links .yt-bullets li { font-size: 16px !important; font-weight: 500 !important; display: flex !important; align-items: center !important; text-align: left !important; }
  .mobile-yt-links .yt-dot { height: 1em !important; width: auto !important; margin-right: 6px !important; }

.sms-details { margin-bottom: 30px !important; }
