@media (max-width: 1180px) {
  .follow-up-grid {
    grid-template-columns: 1fr;
  }

  .follow-up-copy,
  .section-title {
    text-align: center;
  }

  .cta-content h2 {
    max-width: none;
  }

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

  .follow-up-copy {
    max-width: 760px;
    margin-inline: auto;
  }
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 1003;
  }

  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(10, 16, 28, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1000;
    touch-action: none;
  }

  .menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-list:not(.legal-nav-inline) {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    right: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
    border-radius: 24px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(15, 25, 61, 0.14);
    border: 1px solid rgba(17,17,17,0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 1002;
    max-height: calc(100dvh - var(--header-h) - 20px - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nav-list:not(.legal-nav-inline).is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav-list:not(.legal-nav-inline) li {
    width: 100%;
  }

  .nav-list:not(.legal-nav-inline) a {
    width: 100%;
    display: block;
    padding: 15px 12px;
    color: var(--text);
    font-size: 1rem;
  }

  .nav-list:not(.legal-nav-inline) a:not(.btn)::after {
    display: none;
  }

  .nav-list:not(.legal-nav-inline) .nav-cta {
    display: flex;
    justify-content: center;
    padding-top: 8px;
  }

  .nav-list:not(.legal-nav-inline) .nav-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 22px;
    min-height: 48px;
    text-align: center;
  }

  .nav-list:not(.legal-nav-inline) .nav-lang-item {
    width: 100%;
    padding: 8px 0;
  }

  .nav-list:not(.legal-nav-inline) .lang-switcher {
    width: 100%;
  }

  .nav-list:not(.legal-nav-inline) .lang-btn {
    width: 100%;
    justify-content: space-between;
    min-height: 52px;
    padding-inline: 16px;
    border-radius: 16px;
  }

  .nav-list:not(.legal-nav-inline) .lang-dropdown {
    position: static;
    margin-top: 10px;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border-radius: 18px;
    border-color: rgba(17,17,17,0.06);
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list:not(.legal-nav-inline) .lang-switcher.is-open .lang-dropdown {
    display: block;
  }
}

@media (max-width: 920px) {
  :root { --header-h: 76px; }

  .site-header {
    position: sticky;
  }

  .legal-header {
    height: auto;
    min-height: var(--header-h);
  }

  .legal-header .header-inner {
    flex-wrap: wrap;
    padding-block: 10px 12px;
  }

  .legal-header .main-nav,
  .legal-header .legal-nav-inline {
    width: 100%;
  }

  .legal-header .legal-nav-inline {
    justify-content: flex-start;
  }

  .legal-header .nav-lang-item {
    width: auto;
    padding: 0;
  }

  .legal-header .lang-switcher,
  .legal-header .lang-btn {
    width: auto;
  }

  .store-badge,
  .cta-store-row .store-badge {
    justify-content: center;
    text-align: center;
  }

  .store-badge span {
    text-align: center;
  }

  .store-logo-link {
    justify-content: center;
  }

  .hero {
    padding-top: 18px;
  }

  .hero::before {
    inset: 16px 8px 0;
    border-radius: 28px;
  }

  .hero-watermark {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: auto;
  }

  .hero-copy {
    text-align: center;
    justify-self: center;
  }

  .hero-copy h1,
  .cta-content h2 {
    max-width: none;
  }

  .hero-copy p {
    margin-inline: auto;
  }

  .hero-actions {
    align-items: center;
  }

  .hero-visual {
    min-height: 580px;
    justify-content: center;
    justify-self: center;
  }

  .hero-visual-watermark {
    display: none;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .how-copy {
    text-align: center;
    justify-self: center;
  }

  .how-visual {
    margin-top: 8px;
    justify-content: center;
    justify-self: center;
    width: fit-content;
    margin-inline: auto;
    transform: none;
  }

  .hero-phones-image {
    width: min(100%, 560px);
  }

  .phone-frame {
    width: 292px;
    height: 574px;
  }

  .phone-shadow {
    width: 312px;
    height: 576px;
  }

  .hero-artboard {
    width: 340px;
    height: 340px;
    bottom: 0;
  }

  .tile.house { width: 92px; height: 96px; }
  .tile.house.green { left: 8px; top: 18px; }
  .tile.house.blue { left: 112px; top: 14px; }
  .tile.house.yellow { left: 214px; top: 18px; }
  .tile.circle.coral { width: 104px; height: 104px; left: 104px; top: 88px; }
  .tile.circle.purple { width: 88px; height: 88px; right: 12px; bottom: 28px; }
  .tile.arch.teal { width: 102px; height: 92px; }
  .tile.arch.gold { width: 102px; height: 92px; left: 82px; }
  .tile.block.blue-solid { width: 96px; height: 88px; left: 174px; }
  .tile.block.purple-solid { width: 76px; height: 86px; }
  .tile.heart { width: 72px; height: 72px; right: 26px; top: 86px; }

  .feature-grid,
  .cards-3,
  .cards-4,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-top {
    text-align: center;
  }

  .footer-brand-block,
  .footer-social {
    justify-self: center;
  }

  .footer-links {
    width: 100%;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-links div {
    justify-items: center;
    width: 100%;
  }

  .footer-link-btn {
    text-align: center;
    width: 100%;
  }

  .footer-bottom-inner {
    flex-direction: column;
    padding: 20px 0;
  }

  .pattern-row {
    justify-content: center;
  }
}

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

  .brand-mark {
    width: 62px;
    height: 44px;
  }

  .brand-text {
    font-size: 1.36rem;
  }

  .btn,
  .store-badge,
  .store-logo-link {
    width: 100%;
  }

  .store-row {
    width: 100%;
  }

  .store-logo-image {
    max-width: 100%;
  }

  .cta-store-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .hero {
    padding-bottom: 52px;
  }

  .hero-copy h1,
  .section-title h2,
  .how-copy h2,
  .follow-up-copy h2,
  .cta-content h2 {
    line-height: 1.02;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 500px;
    padding-top: 14px;
  }

  .hero-phones-image {
    width: min(100%, 420px);
  }

  .phone-frame {
    width: 262px;
    height: 520px;
    padding: 12px;
  }

  .phone-notch {
    width: 92px;
    height: 22px;
  }

  .phone-shadow {
    width: 278px;
    height: 520px;
  }

  .chat-bubble {
    margin-inline: 14px;
    font-size: 0.9rem;
  }

  .mini-card.finance-card {
    margin-inline: 14px;
  }

  .hero-artboard {
    width: 246px;
    height: 246px;
    right: -6px;
  }

  .tile.house { width: 64px; height: 68px; border-radius: 16px; }
  .tile.house.green { left: 6px; top: 16px; }
  .tile.house.blue { left: 78px; top: 14px; }
  .tile.house.yellow { left: 150px; top: 16px; }
  .tile.circle.coral { width: 78px; height: 78px; left: 72px; top: 58px; }
  .tile.circle.purple { width: 66px; height: 66px; right: 8px; bottom: 18px; }
  .tile.arch.teal { width: 72px; height: 62px; }
  .tile.arch.gold { width: 70px; height: 62px; left: 56px; }
  .tile.block.blue-solid { width: 68px; height: 60px; left: 122px; }
  .tile.block.purple-solid { width: 54px; height: 58px; }
  .tile.heart { width: 52px; height: 52px; right: 16px; top: 56px; }
  .tile.dots { width: 52px; height: 24px; right: 14px; bottom: 12px; background: radial-gradient(circle, var(--emerald) 0 6px, transparent 7px) 0 0/26px 24px, radial-gradient(circle, var(--emerald) 0 6px, transparent 7px) 13px 0/26px 24px; }

  .step-item {
    grid-template-columns: 56px 1fr;
    gap: 14px;
  }

  .how-visual {
    flex-direction: column;
    transform: none;
  }

  .follow-up {
    padding-top: 52px;
    padding-bottom: 56px;
  }

  .follow-up-copy,
  .follow-up-card {
    padding: 24px 20px;
  }

  .follow-up-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .follow-up-card .feature-icon {
    margin-inline: auto;
  }

  .how-phone-image {
    width: 205px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-links div {
    justify-items: center;
  }

  .footer-link-btn {
    text-align: center;
    width: 100%;
  }

  .pattern-row {
    min-width: 0;
    flex-wrap: wrap;
  }
}


@media (max-width: 920px) {
  .lang-dropdown .lang-option {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
  }

  .lang-dropdown .lf,
  .lang-dropdown .lf img {
    width: 28px;
    height: 21px;
    border-radius: 4px;
  }

  .lang-dropdown .lf {
    justify-self: start;
    flex-basis: 28px;
  }

  .lang-dropdown .lc {
    justify-self: end;
    margin-left: 12px;
  }
}


@media (max-width: 920px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .cookie-consent__card {
    width: auto;
  }

  .legal-page {
    padding-top: 18px;
  }

  .legal-shell {
    width: min(calc(100% - 22px), 920px);
  }

  .legal-hero,
  .legal-card {
    padding: 22px;
    border-radius: 24px;
  }
}

@media (max-width: 920px) {
  .legal-nav-inline {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px 18px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: none;
    overflow: visible;
  }

  .legal-nav-inline li {
    width: auto;
  }

  .legal-nav-inline a {
    width: auto;
    display: inline-flex;
    padding: 8px 0;
    color: var(--muted);
  }
}

@media (max-width: 680px) {
  .legal-nav-inline {
    justify-content: flex-start;
    gap: 8px 16px;
  }
}
