/* Motion Store — мобильная версия: компактнее, красивее, плавно на 60/90/120 Гц */

@media (max-width: 760px) {
  /* ── главный экран: плашка → заголовок → лого → текст → кнопки ── */
  .hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; padding-top: 84px; padding-bottom: 18px; min-height: 0; }
  .hero > div:first-child { display: contents; }
  .hero .pill { order: 1; margin-top: 4px; max-width: 100%; font-size: 12.5px; padding: 5px 12px 5px 5px; }
  .hero .pill #pillTxt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62vw; }
  h1.ttl { order: 2; margin: 18px 0 6px; font-size: clamp(44px, 13.6vw, 60px); line-height: .98; }
  h1.ttl .l { margin: 0 auto; }
  .hero .show { order: 3; width: min(100%, 420px); margin: 6px auto 4px; }
  .hero .lead { order: 4; font-size: 15.5px; max-width: 330px; margin: 6px auto 0; }
  .hero .cta { order: 5; width: 100%; margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .cta .btn { padding: 14px 12px; font-size: 14px; width: 100%; }
  .hero .trust { order: 6; margin-top: 18px; gap: 8px; justify-content: center; }
  .hero .trust div { font-size: 12.5px; gap: 6px; padding: 6px 10px 6px 6px; border-radius: 999px; background: rgba(120, 160, 255, .07); border: 1px solid var(--line); }
  .hero .trust i { width: 24px; height: 24px; border-radius: 50%; }
  .hero .trust svg { width: 13px; height: 13px; }
  .hint2 { font-size: 10.5px; bottom: -4px; }

  section { padding-top: 70px; }
  .sh { margin-bottom: 20px; }
  .sh h2, .ahd h2 { font-size: clamp(30px, 9vw, 40px); }
  .eyebrow { font-size: 10px; margin-bottom: 10px; }

  /* ── промо Claude ── */
  .promo-s { padding-top: 56px; }
  .promo { gap: 16px; padding: 22px 18px 20px; border-radius: 28px; }
  .promo h2 { font-size: clamp(28px, 8.6vw, 38px); margin: 14px 0 8px; }
  .promo p { font-size: 14.5px; }
  .pchips { gap: 6px; margin-top: 12px; }
  .pchips span { font-size: 12px; padding: 5px 10px; }
  .pbuy { margin-top: 16px; gap: 12px; }
  .pbuy b { font-size: 30px; }
  .pr { min-height: 0; }
  .mvid.big { width: min(220px, 70%); }

  /* ── каталог: сетка 2 колонки, компактные карточки ── */
  .bar { gap: 10px; margin-bottom: 16px; }
  .seg button { padding: 7px 13px; font-size: 13px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { padding: 14px 12px 12px; border-radius: 20px; }
  .card .top { flex-direction: column; align-items: flex-start; gap: 10px; padding-right: 0 !important; }
  .card .ic { width: 46px; height: 46px; border-radius: 13px; }
  .card h3 { font-size: 16px; }
  .card .plan { font-size: 12px; }
  .card .tag { top: 12px; right: 10px; font-size: 9px; padding: 3px 8px; }
  .card ul { display: none; }
  .card .price { margin-top: 14px; gap: 2px 6px; }
  .card .price b { font-size: 22px; }
  .card .price span, .card .price s { font-size: 11.5px; }
  .card .save { font-size: 11px; min-height: 0; }
  .card .btn { margin-top: 10px; padding: 11px 8px; font-size: 13px; }
  .card .btn .ar { display: none; }
  .btn.soonb::after { width: 6px; height: 6px; }
  /* главная карточка Claude — на всю ширину */
  .card.top1 { grid-column: 1 / -1; padding: 18px 16px 16px; }
  .card.top1 ul { display: grid; gap: 6px; margin: 10px 0 4px; font-size: 13.5px; }
  .card.top1 .top { flex-direction: row; align-items: center; }
  .card.top1 .crown { font-size: 9.5px; padding: 4px 10px 4px 7px; margin-bottom: 10px; }
  .t1in { flex-direction: row-reverse; gap: 12px; align-items: flex-start; }
  .t1l { flex: 1; }
  .t1r { flex: 0 0 38%; }
  .t1r .mvid { width: 100%; margin: 34px 0 0; border-radius: 18px; }
  .t1r .mbadge { width: 40px; height: 40px; left: -10px; top: -10px; }
  .t1r .mcap { font-size: 8.5px; left: 8px; bottom: 7px; gap: 5px; }
  .t1d { font-size: 13px; margin-top: 8px; }
  .card.top1 .price b { font-size: 28px; }
  .card.top1 .btn { padding: 13px; font-size: 14px; }

  /* ── «Как это работает»: сетка 2×2 ── */
  .flow { grid-template-columns: 1fr 1fr; gap: 10px; row-gap: 10px; }
  .fstep { padding: 18px 10px 16px; border-radius: 20px; background: linear-gradient(160deg, rgba(26, 40, 96, .5), rgba(10, 16, 46, .6)); border: 1px solid var(--line); }
  .forb { width: 64px; height: 64px; margin-bottom: 12px; }
  .forb svg { width: 26px; height: 26px; }
  .forb span { min-width: 28px; height: 20px; font-size: 9.5px; top: -4px; right: -8px; }
  .fstep b { font-size: 14px; }
  .fstep p { font-size: 12.5px; }

  /* ── «Почему мы» ── */
  .bento { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bx { padding: 16px 14px; border-radius: 20px; }
  .bx-big { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 10px; min-height: 0; }
  .bx-big b { font-size: 21px; }
  .bxtiles { width: 120px; height: 104px; margin: 0; flex: none; }
  .bxtiles img { width: 54px; height: 54px; left: calc(var(--x) * 60px + var(--y) * 6px); top: calc(var(--y) * 46px); }
  .bento .bx:nth-child(2) { grid-column: 1 / -1; }
  .bxorb { width: 42px; height: 42px; border-radius: 13px; margin-bottom: 10px; }
  .bxorb svg { width: 20px; height: 20px; }
  .bx b { font-size: 14.5px; }
  .bx p { font-size: 12.5px; }

  .faq summary { font-size: 14.5px; padding: 16px 52px 16px 16px; }
  .final { margin-top: 70px; padding: 36px 18px; border-radius: 28px; }
  .final .lgo { width: 76px; height: 76px; border-radius: 22px; }
  .marquee { padding: 12px 0; }
  .mq span { font-size: 15px; gap: 8px; }
  .mq span img, .mq span em { width: 26px; height: 26px; }
}

/* ═════ плавность на телефонах (60/90/120 Гц) ═════
   На телефоне оставляем только анимации, которые видеокарта двигает сама (transform/opacity),
   и убираем то, что перерисовывается каждый кадр: размытие фона под стеклом, бегущие градиенты, вращающиеся рамки. */
html.touch header.scrolled .hd, html.touch header.solid .hd { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(9, 14, 38, .94); }
html.touch .pill, html.touch .btn.gh, html.touch .kick, html.touch .composer, html.touch .tip { backdrop-filter: none; -webkit-backdrop-filter: none; }
html.touch .modal .sc { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(2, 5, 20, .78); }
html.touch em.ac, html.touch .grad, html.touch .holo, html.touch .mp .mt, html.touch .pcard h3 span, html.touch .card .tag { animation: none !important; }
html.touch .mp, html.touch .mp .mi, html.touch .card.top1, html.touch .promo, html.touch .forb::before, html.touch .final::before, html.touch .pcard::before { animation: none !important; }
html.touch .mp::after, html.touch .btn.pri::after { display: none; }
html.touch .cta .btn.pri, html.touch .final .btn.pri { animation: none; }
html.touch .ly.k-logo img { filter: none; }
html.touch .sheen.all.two { display: none; }
html.touch .card, html.touch .bx, html.touch .fstep { transition: none; }
html.touch .card .sp, html.touch .glow::before { display: none; }
html.touch .fl2 { will-change: transform; }
html.touch #bg i { will-change: transform; }
html.touch .chart .bar i { box-shadow: none; }
/* мгновенный отклик на нажатие */
html.touch .btn, html.touch .chip, html.touch .seg button, html.touch .opt { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
html.touch .btn:active { transform: scale(.97); transition: transform .12s; }
