/* ============================================
   GRAVITY VAULT — Responsive Breakpoints
   Mobile-first approach
   ============================================ */

/* ============================================
   sm — 640px+ (Mobile landscape)
   ============================================ */

@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-l);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__store-row {
    flex-wrap: nowrap;
  }
}

/* ============================================
   md — 768px+ (Tablet portrait)
   ============================================ */

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .metrics-grid {
    gap: var(--space-3xl);
  }

  .metrics-divider {
    display: block;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-stores {
    justify-content: flex-start;
  }

  .security-layout {
    grid-template-columns: 1fr 1fr;
  }

  /* Hide mobile sticky CTA on tablet+ */
  .mobile-sticky-cta {
    display: none;
  }
}

/* ============================================
   lg — 1024px+ (Tablet landscape / Small desktop)
   ============================================ */

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-2xl);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .hero {
    padding-top: 140px;
  }

  .hero__headline {
    max-width: 860px;
  }
}

/* ============================================
   xl — 1280px+ (Desktop)
   ============================================ */

@media (min-width: 1280px) {
  .testimonials-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* index.html: 4-col with brand column */
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
  }

  .footer-col--brand {
    grid-column: 1;
  }

  /* Sub-pages: 3-col footer (no brand column) */
  .footer-grid--3col {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3xl);
  }
}
