@media (max-width: 1080px) {
  :root {
    --shell: min(100% - 40px, 960px);
    --section-gap: 92px;
  }

  .hero {
    gap: 36px;
  }

  .hero__visual {
    min-height: 400px;
  }

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

  .product-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .site-footer__columns {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
    --section-gap: 78px;
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--header-height) + 72px);
  }

  .hero__visual {
    min-height: 360px;
    order: -1;
  }

  .hero__title {
    font-size: clamp(2.6rem, 9vw, 4rem);
  }

  .hero__meta {
    gap: 22px;
    flex-wrap: wrap;
  }

  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

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

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }

  .product-hero,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .product-aside {
    position: static;
    order: -1;
  }

  .site-footer__top {
    flex-direction: column;
  }

  .site-footer__columns {
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 32px);
    --section-gap: 66px;
  }

  .brand__text {
    font-size: 13px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 48px);
  }

  .hero__visual {
    min-height: 280px;
  }

  .hero-float {
    display: none;
  }

  .hero__actions,
  .page-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn,
  .page-hero__actions .btn {
    width: 100%;
  }

  .grid--2,
  .grid--3,
  .form-row,
  .feature-grid,
  .manifesto-grid,
  .product-gallery {
    grid-template-columns: 1fr;
  }

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

  .stat-item {
    padding: 24px;
  }

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

  .timeline__item {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }

  .store-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .store-search {
    max-width: none;
  }

  .store-sort {
    justify-content: space-between;
  }

  .product-hero {
    gap: 32px;
    margin-bottom: 48px;
  }

  .product-panel {
    padding: 22px;
  }

  .site-footer__columns {
    flex-direction: column;
    gap: 28px;
  }

  .site-footer__bottom {
    flex-direction: column;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .form-footer .btn {
    width: 100%;
  }

  .cta-band__inner {
    padding: 28px;
  }
}

@media (max-width: 420px) {
  .brand__mark {
    width: 30px;
    height: 30px;
  }

  .hero__meta {
    gap: 16px;
  }

  .hero__meta-item {
    flex: 1 1 40%;
  }

  .page-title,
  .hero__title {
    letter-spacing: -0.045em;
  }
}

@media (max-width: 480px) {
  .site-header .brand__text span {
    display: block;
  }
}
