@media (max-width: 1300px) and (min-width: 1061px) {
  .site-nav a:not(.btn-pill) {
    padding: 9px 8px;
    font-size: 13px;
  }

  .btn-pill--nav {
    margin-left: 6px;
    padding: 5px 5px 5px 14px;
    font-size: 13px;
  }
}

@media (max-width: 1060px) {
  .site-header__inner {
    justify-content: space-between;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::before {
    content: '';
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(12, 11, 10, 0.55);
    z-index: 105;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    z-index: 110;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open {
    display: flex;
    pointer-events: auto;
  }

  .site-nav a:not(.btn-pill) {
    color: var(--ink);
    text-align: center;
    width: 100%;
    max-width: 360px;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
  }

  .site-nav a:not(.btn-pill):hover,
  .site-nav a:not(.btn-pill):focus-visible {
    color: var(--ink);
    background: var(--surface);
  }

  .nav-toggle {
    display: block;
    flex: none;
    margin-left: auto;
    z-index: 111;
    position: relative;
  }

  .btn-pill--nav {
    margin-left: 0;
    margin-top: 8px;
    justify-content: center;
    width: 100%;
    max-width: 360px;
    color: var(--white);
  }
}

@media (max-width: 720px) {
  .site-header.is-scrolled,
  .site-header--solid,
  .site-header.is-menu-open {
    backdrop-filter: none;
    background: #fff;
  }

  .container { padding: 0 20px; }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .site-footer .site-footer__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .site-footer__brand {
    justify-content: flex-start;
    font-size: 15px;
    line-height: 1.35;
  }

  .site-footer__legal {
    justify-content: center;
  }

  .site-footer__copy {
    max-width: 58ch;
    line-height: 1.55;
  }

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

@media (max-width: 1060px) and (min-width: 721px) {
  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
  }

  .site-footer__col--brand {
    grid-column: 1 / -1;
  }

  .site-footer .site-footer__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding: 24px;
  }

  .site-footer__brand {
    justify-content: center;
  }

  .site-footer__legal {
    justify-content: center;
  }

  .site-footer__copy {
    max-width: 60ch;
    line-height: 1.5;
  }
}

@media (max-width: 360px) {
  .container { padding: 0 16px; }

  .brand { font-size: 24px; gap: 10px; }

  .brand__logo { width: 44px; height: 44px; }

  .section-pad { padding: 48px 0; }

  .form-panel { padding: 20px 16px; }
}
