/* =========================================================
   Responsive breakpoints + reduced motion
   ========================================================= */

/* ── Large laptop ── */
@media (max-width: 1180px) {
  .bento-card.feature { grid-column: span 6; grid-row: span 1; }
  .bento-card.span-4  { grid-column: span 3; }
  .bento-card.span-3  { grid-column: span 3; }
  .bento-card.span-2  { grid-column: span 3; }

  .hero { grid-template-columns: 1fr; }
  .hero-right { order: -1; }
  .hero::before { width: 90%; }
}

/* ── Tablet ── */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }

  .hero {
    padding-top: 7rem;
    min-height: auto;
  }
  .hero-right {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .tile.lg, .tile.live { grid-column: span 2; }

  .services-head { grid-template-columns: 1fr; align-items: start; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card,
  .bento-card.feature,
  .bento-card.span-4,
  .bento-card.span-3,
  .bento-card.span-2 { grid-column: span 1; grid-row: auto; }
  .bento-card.feature { grid-column: span 2; }

  .products-head { grid-template-columns: 1fr; }
  .product-feature {
    grid-template-columns: 1fr;
    grid-column: span 2;
  }
  .pf-visual .phone { transform: rotate(0); margin: 0 auto; }
  .products-grid { grid-template-columns: 1fr; }

  .process { grid-template-columns: 1fr; }
  .process-left { position: relative; top: 0; }

  .pricing-head { grid-template-columns: 1fr; align-items: start; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .price-card.pop { transform: none; }
  .price-card.pop:hover { transform: translateY(-4px); }

  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(2) { border-right: none; }
  .stats > div:nth-child(1),
  .stats > div:nth-child(2) { border-bottom: 1px solid var(--line); }

  .proof-head { grid-template-columns: 1fr; }

  .faq-grid { grid-template-columns: 1fr; }

  .cta-band {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile ── */
@media (max-width: 620px) {
  :root { --pad-y: 4rem; }

  .nav { padding: 0.45rem 0.45rem 0.45rem 1rem; }
  .nav-logo { font-size: 0.85rem; }
  .nav-logo .logo-mark { width: 26px; height: 26px; font-size: 0.85rem; }
  .nav-cta { padding: 0.55rem 0.9rem; font-size: 0.65rem; }

  .hero { padding: 6rem 1.25rem 4rem; }
  .hero-headline { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .hero-meta { font-size: 0.65rem; flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .hero-meta strong { display: block; }
  .hero-right { grid-template-columns: 1fr; }
  .tile.lg, .tile.live { grid-column: span 1; }

  .bento { grid-template-columns: 1fr; }
  .bento-card,
  .bento-card.feature { grid-column: span 1; }

  .pf-metrics { grid-template-columns: 1fr 1fr; }
  .pf-metric:nth-child(3) { grid-column: span 2; }

  .stats { grid-template-columns: 1fr; }
  .stats > div { border-right: none; border-bottom: 1px solid var(--line); }
  .stats > div:last-child { border-bottom: none; }

  .proof-card { width: 300px; }

  .pricing-foot { flex-direction: column; align-items: stretch; }
  .cta-band { padding: 2rem 1.5rem; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track,
  .proof-track,
  .bg-mesh,
  .hero::before { animation: none !important; }
  .hero-headline .word { transform: none !important; opacity: 1 !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}
