/* ============================================================
   MyPass DRM — Responsive
   Primary nav switch at 960px; content is otherwise intrinsic.
   ============================================================ */

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--sp-9); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav, .header-actions .link-signin, .header-actions .btn--secondary { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { gap: var(--sp-2); }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: 2; }
  .cols--split, .cols--wide-left { grid-template-columns: 1fr; }
  .workflow__panel.is-active { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .section-head { margin-bottom: var(--sp-9); }
  .card { padding: var(--sp-6); }
  .hero__ctas .btn { flex: 1 1 auto; }
}

@media (max-width: 560px) {
  /* Keep the menu toggle reachable: the header CTA lives in the mobile sheet. */
  .site-header .header-actions .btn--primary { display: none; }
}

@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .display { font-size: clamp(2.1rem, 8vw, 2.6rem); }
  .modal { padding: var(--sp-6); }
  .int-grid { grid-template-columns: 1fr 1fr; }
}

/* Larger touch targets on coarse pointers */
@media (pointer: coarse) {
  .dropdown__link, .nav__link, .m-group__link { min-height: 44px; }
}
