/* =====================================================================
   Responsive overrides, largest to smallest breakpoint.
   ===================================================================== */

/* Tablet Large */
@media (max-width: 1100px) {
  .container { padding: 0 40px; }
  .feature-layout { gap: 60px; }
}

/* Tablet */
@media (max-width: 1023px) {
  .container { padding: 0 36px; }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 72px 0 80px;
    text-align: center;
  }

  .hero > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-copy { max-width: 600px; text-align: center; }
  .hero-actions { justify-content: center; }
  .micro-proof { justify-content: center; }

  .network { min-height: 440px; }

  .feature-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-layout .section-head {
    max-width: 100%;
    text-align: center;
    margin-bottom: 40px;
  }

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

  .privacy-flow { max-width: 100%; }
  .flow-step { width: 120px; }

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

  .trustbar div { padding: 20px 24px; }
  .trustbar div:nth-child(1) { border-bottom: 1px solid var(--line); }
  .trustbar div:nth-child(2) { border-bottom: 1px solid var(--line); border-right: 0; }
  .trustbar div:nth-child(3) { border-right: 0; }
  .trustbar div:nth-child(4) { border-right: 0; }

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

  .section { padding: 90px 0; }
}

/* Mobile Large */
@media (max-width: 767px) {
  .container { padding: 0 24px; }

  .navlinks { display: none; }
  .menu { display: block; }

  .nav { height: 68px; }
  .brand img { width: 120px; }

  .hero {
    padding: 56px 0 64px;
    gap: 40px;
  }

  .hero h1 { font-size: clamp(36px, 9vw, 52px); }
  .hero-copy { font-size: 15px; }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .hero-cta,
  .hero-actions .outline-cta {
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
  }

  .micro-proof { gap: 14px; justify-content: center; }

  .network {
    min-height: 340px;
    margin: 0 4px;
  }

  .network-center { width: 90px; height: 90px; }
  .network-center img { width: 54px; height: 54px; }
  .node { width: 62px; height: 62px; font-size: 10px; border-radius: 12px; }
  .node small { font-size: 7px; }

  .trustbar {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }

  .trustbar div {
    padding: 22px 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .trustbar div:nth-child(1) { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
  .trustbar div:nth-child(2) { border-bottom: 1px solid var(--line); border-right: 0; }
  .trustbar div:nth-child(3) { border-bottom: 0; border-right: 1px solid var(--line); }
  .trustbar div:nth-child(4) { border-bottom: 0; border-right: 0; }

  .trustbar strong { font-size: 26px; }

  .section { padding: 72px 0; }

  .section-head { margin-bottom: 36px; }
  .section-head.centered { text-align: center; }

  .problem-grid, .use-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card, .use-card { min-height: auto; }

  .problem-card, .feature-card, .use-card {
    padding: 24px 22px;
  }

  .problem-card h3, .feature-card h3, .use-card h3 {
    margin-top: 28px;
  }

  .privacy-flow {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .flow-step { width: 100%; }

  .flow-line {
    width: 2px;
    height: 32px;
    min-width: 0;
    margin-top: 0;
  }

  .flow-line-label { display: none; }

  .flow-particle {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    animation-name: flowMoveVertical;
  }

  .faq-q { font-size: 14px; padding: 20px 0; }
  .faq-item.open .faq-a { padding: 0 0 20px 0; }

  .model-chip { padding: 11px 16px; font-size: 12px; }

  .final-cta { padding: 90px 0; }
  .final-cta h2 { font-size: clamp(26px, 7vw, 40px); }

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 28px 0;
  }

  .modal-card { padding: 28px 22px; }
  .modal h2 { font-size: 22px; }

  .section h2 { letter-spacing: -.04em; }
}

/* Mobile Small */
@media (max-width: 479px) {
  .container { padding: 0 18px; }

  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: clamp(32px, 10vw, 42px); }

  .eyebrow { font-size: 10px; }

  .trustbar div { padding: 18px 14px; }
  .trustbar strong { font-size: 22px; }
  .trustbar span { font-size: 10px; }

  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }

  .model-cloud { gap: 8px; }
  .model-chip { padding: 10px 14px; font-size: 11px; }

  .kicker { font-size: 9px; }

  .faq-q { font-size: 13px; gap: 12px; }

  .final-cta { padding: 72px 0; }

  .network { min-height: 290px; }
  .network-center { width: 74px; height: 74px; }
  .network-center img { width: 44px; height: 44px; }
  .node { width: 50px; height: 50px; font-size: 9px; border-radius: 10px; }
  .node small { display: none; }
  .network-label, .network-status { font-size: 7px; }

  .modal-card { padding: 22px 18px; }

  .flow-icon { width: 52px; height: 52px; font-size: 20px; }

  .hero-actions .hero-cta,
  .hero-actions .outline-cta { font-size: 14px; padding: 14px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
