@media (max-width: 1100px) {
  .topbar__inner,
  .topbar__meta,
  .header__inner,
  .footer__bottom,
  .hero__actions,
  .cta-panel,
  .cta-panel__actions,
  .product-card__meta {
    flex-wrap: wrap;
  }

  .hero__grid,
  .section-heading--split,
  .brand-story,
  .cta-panel,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 520px;
  }

  .advantage-grid,
  .category-grid,
  .process-grid,
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid,
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card--featured {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 74px;
  }

  .section {
    padding: 72px 0;
  }

  .topbar {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .main-nav {
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(100% + 12px);
    padding: 20px;
    border: 1px solid rgba(22, 24, 27, 0.08);
    border-radius: 24px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: var(--shadow-card);
  }

  .main-nav.is-open {
    display: flex;
  }

  .header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    position: relative;
  }

  .header__actions {
    gap: 10px;
  }

  .header__actions .button--auth {
    display: inline-flex;
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 32px;
  }

  .hero__content h1 {
    max-width: none;
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }

  .hero__visual {
    min-height: 460px;
  }

  .hero-card {
    inset: 40px 0 120px;
    padding: 30px;
  }

  .hero-metric--one {
    right: 0;
  }

  .hero-metric--two {
    left: 12px;
    bottom: 120px;
  }

  .hero-panel {
    width: min(100%, 280px);
  }

  .trust-strip__inner,
  .advantage-grid,
  .category-grid,
  .product-grid,
  .solution-grid,
  .process-grid,
  .stats-grid,
  .footer__grid,
  .hero__summary {
    grid-template-columns: 1fr;
  }

  .product-card--featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .brand-story__visual {
    min-height: 420px;
  }

  .story-panel--large {
    inset: 0 40px 80px 0;
  }

  .story-badge {
    right: 12px;
    top: 14px;
    max-width: 220px;
  }

  .footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section-heading h2 {
    font-size: 1.9rem;
  }

  .hero__actions,
  .cta-panel__actions,
  .download-panel__actions {
    flex-direction: column;
  }

  .hero__actions .button,
  .cta-panel__actions .button,
  .download-panel__actions .button {
    width: 100%;
  }

  .auth-page__grid,
  .auth-form__code {
    grid-template-columns: 1fr;
  }

  .auth-panel,
  .auth-intro {
    padding: 22px;
  }

  .header__actions {
    gap: 8px;
  }

  .header__actions .button--auth {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .hero__bullets {
    flex-direction: column;
    align-items: flex-start;
  }

  .summary-card {
    padding: 16px 18px;
  }

  .hero__visual {
    min-height: 420px;
  }

  .hero-card {
    inset: 24px 0 120px;
  }

  .hero-card h2,
  .hero-card p {
    max-width: none;
  }

  .hero-metric {
    width: 124px;
    padding: 16px;
  }

  .hero-panel {
    left: 0;
    right: 0;
    width: auto;
  }

  .feature-card,
  .category-card,
  .product-card,
  .solution-card,
  .process-card,
  .cta-panel,
  .download-panel {
    padding-left: 20px;
    padding-right: 20px;
  }
}
