/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links li:not(.nav-keep) { display: none; }
  .app-shell { grid-template-columns: 1fr; }
  .app-sidebar { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: 1fr 1fr; }
  .vs-grid { grid-template-columns: 1fr; }
  .vs-divider { display: none; }
  .ai-grid { grid-template-columns: 1fr; }
  .pricing-grid { flex-direction: column; align-items: center; padding-bottom: 0; }
  .price-card { margin: 0 0 1rem 0; width: 100%; max-width: 380px; }
  .price-card:nth-child(1),
  .price-card:nth-child(2),
  .price-card:nth-child(3) { transform: none !important; }
  .price-card.reveal.in-view:nth-child(1),
  .price-card.reveal.in-view:nth-child(2),
  .price-card.reveal.in-view:nth-child(3) { transform: none !important; }
  .promise-inner { grid-template-columns: 1fr; gap: 3rem; }
  .table-row { grid-template-columns: 2fr 1fr 1fr; }
  .table-row > *:nth-child(4),
  .table-row > *:nth-child(5) { display: none; }
}

@media (max-width: 640px) {
  .modules-grid { grid-template-columns: 1fr; }
  .promise-stats { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile fixes (2026-12 responsive pass) ── */
@media (max-width: 900px) {
  /* hero copy had min-width:320px — at 320px its padding pushed the text past the screen edge */
  .hero-copy { min-width: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
  /* the orange headline band bleeds to the left screen edge, as on desktop */
  .hero-headline {
    margin-left: calc(-1 * clamp(1.2rem, 4vw, 2rem)) !important;
    padding-left: clamp(1.2rem, 4vw, 2rem) !important;
    padding-right: 1.25rem !important;
    max-width: calc(100% + clamp(1.2rem, 4vw, 2rem));
  }
  .build-prog { max-width: 70%; }
  .footer-links { gap: 0.5rem 1rem; flex-wrap: wrap; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 13px; }
}
