@charset "UTF-8";
@media (max-width: 1024px) {
  .hero__grid { gap: 32px; }
  .hero__mascot { width: 280px; }
  .hero__chip--1 { left: -25px; }
  .hero__chip--2 { right: -35px; }
  .hero__chip--3 { left: -15px; }

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

  .ti-grid { grid-template-columns: repeat(2, 1fr); }
  .ti-stats { gap: 32px; flex-wrap: wrap; }
  .ti-hero__visual { width: 240px; }

  .shield__grid { gap: 40px; }
  .shield__img { width: 220px; }

  .device-frame--showcase { width: 260px; }
  .screens__showcase { gap: 48px; }

  .browser-frame { transform: none; }
  .browser-frame:hover { transform: scale(1.01); }
  .dash-mock__stats-row { grid-template-columns: repeat(2, 1fr); }

  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card:last-child { grid-column: 1 / -1; max-width: 460px; margin: 0 auto; }

  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card:last-child { grid-column: 1 / -1; max-width: 400px; margin: 0 auto; }

  .footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .story-landing__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-landing__col--visual { order: -1; }
  .story-landing__col--panel { text-align: center; align-items: center; }
  .story-landing__lead,
  .story-landing__footnote { margin-left: auto; margin-right: auto; }
  .story-landing__report-points { width: 100%; max-width: 28rem; margin-left: auto; margin-right: auto; }

  /* Glow follows stacked image (top) */
  .story-section.story-landing,
  [data-theme="dark"] .story-section.story-landing {
    background:
      radial-gradient(
        ellipse 110% 72% at 50% 26%,
        #000 0%,
        rgba(0, 0, 0, 0.52) 36%,
        rgba(0, 0, 0, 0.16) 58%,
        transparent 80%
      ),
      var(--bg-dark);
  }
}

@media (min-width: 768px) {
  .theme-toggle--mobile { display: none; }
}

@media (max-width: 767px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .hero {
    padding-top: calc(var(--nav-height) + 32px);
    padding-bottom: 48px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__content { align-items: center; }
  .hero__subtitle { max-width: 100%; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__visual { order: -1; }
  .hero__chips { display: none; }
  .hero__mascot { width: 200px; }
  .hero__glow { width: 240px; height: 240px; }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .ti-hero { flex-direction: column; text-align: center; gap: 32px; }
  .ti-hero__lead { max-width: 100%; }
  .ti-hero__visual { width: 220px; }

  .threat-intel-section {
    background:
      radial-gradient(
        ellipse 105% 70% at 50% 24%,
        #000 0%,
        rgba(0, 0, 0, 0.5) 38%,
        rgba(0, 0, 0, 0.15) 60%,
        transparent 80%
      ),
      var(--bg-dark);
  }
  .ti-grid { grid-template-columns: 1fr; }
  .ti-stats { gap: 24px; flex-wrap: wrap; }
  .ti-stats__number { font-size: 1.4rem; }

  .story__line {
    font-size: clamp(1.2rem, 4.5vw, 1.5rem);
  }
  .story__line--accent {
    font-size: clamp(1.4rem, 5vw, 1.75rem);
  }

  .shield__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .shield__visual { order: -1; margin-bottom: 16px; }
  .shield__img { width: 180px; }
  .shield__content { align-items: center; }
  .shield__features { align-items: stretch; }
  .shield__feature { text-align: left; }

  .device-frame--showcase { width: 240px; }
  .screens__showcase {
    flex-direction: column;
    gap: 36px;
    text-align: center;
  }
  .showcase__info { max-width: 100%; }
  .showcase__dots { justify-content: center; }
  .showcase__feature-title { font-size: 1.25rem; }

  .dash-mock { flex-direction: column; }
  .dash-mock__sidebar {
    width: 100%;
    flex-direction: row;
    padding: 10px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow-x: auto;
  }
  .dash-mock__sidebar-logo { margin-bottom: 0; margin-right: 8px; }
  .dash-mock__stats-row { grid-template-columns: repeat(2, 1fr); }
  .dash-mock__table-header,
  .dash-mock__table-row {
    grid-template-columns: 1.5fr 1fr 0.6fr 0.8fr;
    font-size: 0.65rem;
    padding: 8px 10px;
  }
  .testimonials__grid { grid-template-columns: 1fr; }
  .testimonial-card:last-child { max-width: none; }

  .steps__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .step__connector { display: none; }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .pricing-card:last-child { max-width: none; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__col--brand { grid-column: 1 / -1; text-align: center; }
  .footer__col--brand .footer__brand { justify-content: center; }
  .footer__col--brand .footer__tagline { margin: 0 auto; }

  .btn--lg { width: 100%; }
  .scroll-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
  .cta__stores { flex-direction: column; align-items: center; }
  .store-badge { width: 100%; max-width: 260px; justify-content: center; }
  .consent-banner__inner { flex-direction: column; text-align: center; gap: 16px; }
  .consent-banner__actions { width: 100%; }
  .consent-banner__btn { flex: 1; }
}

@media (max-width: 399px) {
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero__mascot { width: 170px; }
  .ent-hero__mascot { max-width: 220px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__col { align-items: center; }
}

/* ===========================================
   ENTERPRISE PAGE — Responsive
   =========================================== */

@media (max-width: 1024px) {
  .ent-hero__grid { gap: 32px; }
  .ent-hero__mascot { max-width: 400px; }
  .ent-hero__mascot-wrap { max-width: min(100%, 560px); }
  .ent-hero__chip--1 { left: -20px; }
  .ent-hero__chip--2 { right: -28px; }
  .ent-hero__chip--3 { left: -10px; }

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

@media (max-width: 767px) {
  .ent-hero {
    padding-top: calc(var(--nav-height) + 32px);
    padding-bottom: 48px;
  }
  .ent-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ent-hero__copy { text-align: center; }
  .ent-hero h1 { margin-left: auto; margin-right: auto; max-width: 100%; }
  .ent-hero__sub { margin-left: auto; margin-right: auto; max-width: 100%; }
  .ent-hero__actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .ent-hero__actions .btn { width: 100%; max-width: 320px; }
  .ent-hero__visual { order: -1; justify-content: center; }
  .ent-hero__mascot-wrap { align-items: center; max-width: 100%; }
  .ent-hero__mascot { max-width: 280px; }
  .ent-hero__chips { display: none; }

  .ent-hero__stats { gap: 32px; }
  .ent-hero__stat-num { font-size: 2rem; }
  .ent-grid { grid-template-columns: 1fr; }
  .ent-deploy { grid-template-columns: 1fr; gap: 32px; }
}
