.mobile-menu-trigger {
  display: none;
}

@media (max-width: 640px) {
  body {
    padding-top: env(safe-area-inset-top);
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .top-bar,
  .site-header .site-nav,
  .site-header .header-cta {
    display: none;
  }

  .site-header {
    position: relative;
    min-height: 64px;
  }

  .mobile-menu-trigger {
    display: inline-grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
  }

  .mobile-menu-trigger svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    border: 0;
    background: rgba(26, 21, 16, 0.28);
  }

  .mobile-menu-panel {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    left: 12px;
    z-index: 60;
    display: grid;
    gap: 10px;
    max-height: calc(100dvh - 24px - env(safe-area-inset-top));
    overflow-y: auto;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(26, 21, 16, 0.18);
  }

  .mobile-menu-panel a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-menu-panel a:active {
    background: var(--cream-2);
  }

  .mobile-menu-panel .mobile-menu-primary {
    justify-content: center;
    width: 100%;
    margin-left: 0;
    background: var(--mango);
    color: #fff;
  }

  .mobile-menu-panel .mobile-menu-legal {
    display: grid;
    gap: 2px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .mobile-menu-panel .mobile-menu-legal a {
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 600;
  }

  .section {
    padding: 52px 0;
  }

  .hero {
    padding: 52px 0 44px;
  }

  .hero-text,
  .section-sub {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 290px);
    margin-inline: auto;
  }

  .hero-actions .btn,
  .hero-actions .store-badges {
    width: 100%;
  }

  .hero-actions .store-badges {
    justify-content: center;
  }

  .showcase {
    gap: 12px;
  }

  .phone-frame,
  .toggle-phone,
  .compare {
    width: 74px;
    height: 151px;
    border-radius: 14px;
  }

  .phone-frame img,
  .toggle-phone img {
    border-radius: 14px;
  }

  .compare-labels {
    max-width: 74px;
  }

  .translate-btn {
    width: 18px;
    height: 18px;
    bottom: 27px;
    left: 6px;
  }

  .translate-btn svg {
    width: 9px;
    height: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu-panel,
  .mobile-menu-backdrop {
    scroll-behavior: auto;
  }
}
