/* Shared mobile polish for CC product marketing landings (sync-marketing-waitlist.py). */
@media (max-width: 720px) {
  .shell {
    padding-left: clamp(14px, 4vw, 22px) !important;
    padding-right: clamp(14px, 4vw, 22px) !important;
  }

  /* Header — keep one row, truncate brand, don't force nav to full width */
  .masthead,
  header .bar,
  .site-header,
  .top-bar {
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px 10px !important;
  }

  .masthead .wordmark,
  header .brand,
  header .bar > .brand,
  .site-header .brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .masthead nav,
  header .bar nav {
    flex: 0 1 auto !important;
    gap: 8px 12px !important;
    max-width: 100%;
  }

  .masthead nav a,
  header nav a,
  header .bar nav a {
    font-size: 13px !important;
  }

  /* Header CTAs — compact but tappable */
  header .bar > .btn,
  header .bar > a.btn,
  header .bar .cta,
  header .bar-actions .btn,
  header .bar-actions a.btn {
    padding: 8px 12px !important;
    font-size: 12px !important;
    min-height: 44px !important;
    white-space: nowrap !important;
  }

  .hero,
  section.hero {
    padding-top: clamp(40px, 10vw, 72px) !important;
    padding-bottom: clamp(36px, 8vw, 64px) !important;
  }

  .hero h1,
  section.hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
  }

  .two-col,
  .hero-grid,
  .grid-2 {
    grid-template-columns: 1fr !important;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cc-waitlist-form input,
  .cc-waitlist-btn {
    font-size: 16px !important;
    min-height: 44px !important;
  }

  .cc-waitlist-form {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .cc-waitlist-form input,
  .cc-waitlist-btn {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .masthead nav,
  header .bar nav {
    gap: 6px 10px !important;
  }

  .btn,
  .btn-solid,
  .btn-ghost,
  .btn-outline,
  .btn-cobalt,
  .btn-coin,
  .btn-violet,
  .btn-ember,
  .btn-cyan,
  .btn-teal,
  .btn-tick,
  .btn-gold,
  .btn-mag,
  .btn-moss,
  .btn-navy,
  .btn-forest,
  .btn-leaf,
  .btn-green {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero .actions,
  .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .hero .actions .btn,
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}
