/* Палитра приложения: мятный акцент и чернильный текст — те же, что на сторовых картинках. */
:root {
  --mint: #77c2a5;
  --mint-deep: #5ca687;
  --mint-dark: #347961;
  --ink: #384068;
  /* Мятная и чернильная заливки одинаковы в обеих темах, поэтому всё, что лежит
     поверх них, красится фиксированным цветом, а не темозависимым --ink. */
  --ink-fixed: #384068;
  --text: #1c1c1e;
  --muted: #6e7391;
  --bg: #f2f2f7;          /* systemGroupedBackground */
  --card: #fff;           /* secondarySystemGroupedBackground */
  --line: rgba(56, 64, 104, .12);
  --star: #f0a92c;
  --hair: rgba(56, 64, 104, .16);
  --bar: rgba(255, 255, 255, .82);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(28, 28, 30, .04), 0 8px 24px rgba(56, 64, 104, .07);
  /* Подложки карточек: свой тон на карточку и уход в тень книзу, чтобы сетка
     не сливалась с фоном страницы и не читалась таблицей. */
  --t1a: #cdecdd;  --t1b: #8bcfb0;
  --t2a: #d6e5f8;  --t2b: #9bbfe9;
  --t3a: #fbdfcb;  --t3b: #efb388;
  --t4a: #e3d9f4;  --t4b: #b3a0e3;
  --t5a: #f6e9c6;  --t5b: #e6c97f;
  --t6a: #f9d8df;  --t6b: #eaa4b3;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eaf5;
    --text: #f2f2f7;
    --muted: #9aa0bd;
    --bg: #000;
    --card: #1c1c1e;
    --line: rgba(255, 255, 255, .12);
    --bar: rgba(28, 28, 30, .82);
    --shadow: none;
    --hair: rgba(255, 255, 255, .14);
    --t1a: #1b3129;  --t1b: #0c1713;
    --t2a: #17253a;  --t2b: #0b1119;
    --t3a: #31241a;  --t3b: #17110b;
    --t4a: #251e37;  --t4b: #120e19;
    --t5a: #2e2a1c;  --t5b: #15130d;
    --t6a: #31212a;  --t6b: #160e11;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
.lead { color: var(--muted); font-size: 1.1rem; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* ── Шапка и подвал ─────────────────────────────────────────── */

.bar { border-bottom: 1px solid var(--line); background: var(--card); }
.bar .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.brand img { border-radius: 9px; }
.bar nav { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.bar nav a { color: var(--ink); font-weight: 550; }
.bar nav a.cta { color: #fff; }
/* Якоря разделов встают под плавающей шапкой, если не отодвинуть цель. */
#features, #reviews, #faq { scroll-margin-top: 96px; }

/* Шапка едет со страницей островком: сама полоса прозрачная и не занимает места
   в потоке, а плашка внутри неё плывёт поверх героя. */
header.bar {
  position: sticky; top: 12px; z-index: 50;
  background: none; border: 0; margin-bottom: -84px;
}
header.bar > .wrap {
  min-height: 60px;
  padding: 8px 10px 8px 20px;
  border-radius: 999px;
  background: var(--bar);
  border: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 8px 30px rgba(28, 28, 30, .14);
}

.foot { border-bottom: 0; border-top: 1px solid var(--line); margin-top: 64px; }
.foot .wrap { flex-direction: column; align-items: flex-start; gap: 10px; padding: 32px 20px; }
.foot nav { margin-left: 0; flex-wrap: wrap; }
.fine { color: var(--muted); font-size: .9rem; }

/* Переключатель языка — нативный <details>, ни строчки JS. */
.lang { position: relative; }
.lang summary {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 550; color: var(--ink); list-style: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: "▾"; color: var(--muted); }
.lang[open] summary { background: var(--bg); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20;
  min-width: 220px; list-style: none; padding: 6px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 12px 32px rgba(28, 28, 30, .16);
}
.lang li a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 9px; color: var(--ink);
}
.lang li a:hover { background: var(--bg); text-decoration: none; }
.lang li a[aria-current] { font-weight: 700; }
.flag { font-size: 1.1rem; line-height: 1; }

/* ── Кнопка App Store ───────────────────────────────────────── */

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink-fixed); color: #fff; font-weight: 650;
  padding: 15px 28px; border-radius: 999px; font-size: 1.05rem;
}
.cta:hover { text-decoration: none; opacity: .9; }
/* С официальным бейджем плашка не нужна: картинка сама себе кнопка. */
.cta:has(img) { background: none; padding: 0; }
.cta img { height: 54px; width: auto; }
.cta.small { padding: 9px 18px; font-size: .95rem; }

/* ── Звёзды ─────────────────────────────────────────────────── */

.stars {
  position: relative; display: inline-block; white-space: nowrap;
  color: var(--line); letter-spacing: 2px; line-height: 1;
  width: fit-content; align-self: start;
}
.stars::before { content: "★★★★★"; }
.stars > span {
  position: absolute; left: 0; top: 0; overflow: hidden;
  color: var(--star); letter-spacing: 2px;
}
.rating { display: flex; align-items: center; gap: 10px; margin: 20px 0 26px; }
/* Звёзды крупнее текста и стоят на его базовой линии: базовое align-self: start нужно
   карточкам отзывов, здесь оно задирало их вверх, а center — наоборот, топил. */
.rating .stars { font-size: 1.3rem; align-self: baseline; }
/* Ссылка на отзывы: подчёркивание тонкое, цвет — как у текста, чтобы строка
   рейтинга осталась строкой рейтинга, а не мятной ссылкой посреди героя. */
.rating a {
  color: inherit; text-decoration: underline;
  text-decoration-color: var(--hair); text-underline-offset: 3px;
}
.rating a:hover { text-decoration-color: currentColor; }

/* ── Герой ──────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(180deg, var(--t1a), var(--t1b));
  padding: 132px 0 64px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-copy .lead { margin: 20px 0 0; }
.hero-copy .price { color: var(--muted); font-weight: 650; margin-top: 16px; }
.hero-shot { display: flex; justify-content: center; }
.hero-shot img { max-height: 620px; width: auto; }
.framed .hero-shot .shot { height: 620px; width: auto; }

/* ── Карточки доверия ───────────────────────────────────────── */

ul.trust {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid var(--hair);
}
ul.trust li { padding: 0 36px; }
ul.trust li + li { border-left: 1px solid var(--hair); }
ul.trust li:first-child { padding-left: 0; }
ul.trust li:last-child { padding-right: 0; }
.trust .icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(52, 121, 97, .13);
  border: 1.5px solid rgba(52, 121, 97, .3);
  color: var(--mint-dark);
}
.trust h2 { font-size: 1.15rem; font-weight: 700; }
.trust p { color: var(--muted); margin-top: 6px; }

/* ── Сетка фич ──────────────────────────────────────────────── */

.features { margin-top: 80px; }
.features > .lead { margin: 12px 0 32px; max-width: 60ch; }
.features .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  border-radius: 22px; padding: 26px 26px 0;
  display: flex; flex-direction: column; overflow: hidden;
}
.feature:nth-child(6n + 1) { background: linear-gradient(180deg, var(--t1a), var(--t1b)); }
.feature:nth-child(6n + 2) { background: linear-gradient(180deg, var(--t2a), var(--t2b)); }
.feature:nth-child(6n + 3) { background: linear-gradient(180deg, var(--t3a), var(--t3b)); }
.feature:nth-child(6n + 4) { background: linear-gradient(180deg, var(--t4a), var(--t4b)); }
.feature:nth-child(6n + 5) { background: linear-gradient(180deg, var(--t5a), var(--t5b)); }
.feature:nth-child(6n + 6) { background: linear-gradient(180deg, var(--t6a), var(--t6b)); }
.feature h3 { font-size: 1.3rem; }
.feature > p { color: var(--muted); margin-top: 8px; }
/* Кадр уходит за нижний край карточки: так видно экран, а не полтелефона в миниатюре. */
/* margin-top:auto прибивает кадр к нижней кромке карточки: у карточек с разной
   длиной заголовка иначе оставался воздух под телефоном.
   Высота — доля от высоты телефона, а не абсолютная: так при смене --shot-w
   за кромку всегда уходит один и тот же кусок, таб-бар. */
.feature .crop {
  --shot-w: 300px;
  --visible: .85;
  margin-top: auto; padding-top: 26px; overflow: hidden;
  height: calc(var(--shot-w) * 2080 / 1009 * var(--visible));
  display: flex; justify-content: center;
}
/* align-self: кадр обрезается кромкой, а не ужимается: у флекс-элемента с aspect-ratio
   растяжение по поперечной оси спорит с пропорцией, и Chrome решает спор в пользу
   растяжения — телефон сплющивался по высоте. */
.feature .crop .shot { width: var(--shot-w); flex: none; align-self: start; }

/* ── Горизонтальные блоки ───────────────────────────────────── */

.spotlight { margin-top: 120px; }
.sp-grid {
  display: grid; grid-template-columns: 320px minmax(0, 520px);
  gap: 72px; align-items: center; justify-content: center;
}
.spotlight.flip .sp-grid { grid-template-columns: minmax(0, 520px) 320px; }
.spotlight.flip figure { order: 2; }
.spotlight h2 { max-width: 20ch; }
.spotlight .lead { margin-top: 16px; max-width: 44ch; }

/* Стопка кадров: передний стоит справа, каждый следующий уходит влево и вглубь,
   становясь меньше. Ширины — в процентах от фигуры, поэтому стопка ужимается целиком.
   Задние вынуты из потока (высоту фигуре задаёт передний), а кто из них выше — решает
   порядок в разметке. Ширину колонки под фигуру держит --fig: пользовательские свойства
   наследуются, поэтому фигуре её пересказывать не надо. */
.spotlight.pair .sp-grid {
  --fig: 470px; --txt: 470px;
  grid-template-columns: var(--fig) minmax(0, var(--txt));
}
.spotlight.flip.pair .sp-grid { grid-template-columns: minmax(0, var(--txt)) var(--fig); }
.spotlight.pair-4 .sp-grid { --fig: 620px; --txt: 420px; }
.sp-pair { position: relative; width: var(--fig); max-width: 100%; }
.sp-pair .shot:last-child { position: relative; z-index: 1; margin-left: auto; }
/* Все кадры стоят на одном уровне: задние прибиты к нижней кромке фигуры,
   а её высоту задаёт передний, единственный оставшийся в потоке. */
.sp-pair .shot:not(:last-child) { position: absolute; bottom: 0; margin: 0; }

/* Два кадра: задний на десятую меньше, передний заходит на него четвертью. */
.sp-2 .shot { width: 59.5%; }
.sp-2 .shot:first-child { width: 53.5%; left: 0; }

/* Четыре кадра: каждый слой меньше переднего на десятую его ширины и перекрыт
   на две пятых — начала строк у задних кадров остаются видны. */
.sp-4 .shot { width: 40.5%; }
.sp-4 .shot:nth-last-child(2) { width: 36.5%; left: 37.6%; }
.sp-4 .shot:nth-last-child(3) { width: 32.4%; left: 18.2%; }
.sp-4 .shot:nth-last-child(4) { width: 28.4%; left: 1.2%; }

/* ── Большой блок с перечислением ───────────────────────────── */

.showcase {
  margin-top: 120px; padding: 80px 0;
  background: linear-gradient(180deg, var(--t1a), var(--t1b));
}
.sc-grid {
  display: grid; grid-template-columns: minmax(0, 560px) 330px;
  gap: 72px; align-items: center; justify-content: center;
}
.showcase .lead { margin-top: 14px; }
.showcase ul { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.showcase li { padding-left: 30px; position: relative; }
.showcase li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--mint-deep); font-weight: 700;
}

/* ── Карточки, которыми делятся ─────────────────────────────── */

.share { margin-top: 120px; text-align: center; }
/* Значок «поделиться» в том же кружке, что и значки обещаний в герое. */
.share .icon {
  display: grid; place-items: center; width: 52px; height: 52px;
  margin: 0 auto 18px; border-radius: 50%;
  background: rgba(52, 121, 97, .13);
  border: 1.5px solid rgba(52, 121, 97, .3);
  color: var(--mint-dark);
}
.share .icon svg { width: 26px; height: 26px; }
.share .lead { margin: 14px auto 0; max-width: 56ch; }
/* Карточки лежат внахлёст и под разными углами — будто их бросили на стол.
   Нахлёст даёт отрицательное поле, хвост на узком экране уносит flex-wrap. */
.fan {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  margin-top: 44px; padding: 16px 0;
}
.fan img {
  width: 240px; margin: 14px -16px;
  border-radius: 16px; box-shadow: 0 10px 30px rgba(28, 28, 30, .18);
}
.fan img:nth-child(1) { transform: rotate(-6deg) translateY(6px); }
.fan img:nth-child(2) { transform: rotate(3deg) translateY(-8px); }
.fan img:nth-child(3) { transform: rotate(-2.5deg) translateY(4px); position: relative; z-index: 1; }
.fan img:nth-child(4) { transform: rotate(5deg) translateY(-6px); }
.fan img:nth-child(5) { transform: rotate(-4deg) translateY(8px); }

/* ── Зеркало, а не тренер ───────────────────────────────────── */

.mirror {
  background: linear-gradient(155deg, #3f4878, #212743);
  color: #fff; margin-top: 120px; padding: 88px 0;
}
.mirror .wrap { max-width: 940px; text-align: center; }
.mirror h2, .mirror h3 { color: #fff; }
.mirror h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.mirror .lead { color: rgba(255, 255, 255, .8); max-width: 52ch; margin: 16px auto 0; }
.mirror ul {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 44px; text-align: left;
}
.mirror li {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius); padding: 24px;
}
.mirror li::before {
  content: "✕"; display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(119, 194, 165, .18);
  border: 1.5px solid rgba(119, 194, 165, .55);
  color: var(--mint); font-weight: 700; font-size: 1.8rem; line-height: 1;
}
.mirror li p { color: rgba(255, 255, 255, .72); margin-top: 8px; }

/* ── Отзывы ─────────────────────────────────────────────────── */

.reviews { margin-top: 120px; }
.reviews > .lead { margin: 12px 0 8px; }
.reviews .grid {
  display: grid; gap: 20px; margin-top: 16px;
  /* 420 — порог, за которым в 1180-й «wrap» встаёт третья колонка: держим две.
     min(100%) не даёт колонке вылезти за экран на узком телефоне. */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
}
.review {
  background: var(--card); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
}
.review h3 { font-size: 1.05rem; }
.review blockquote p { color: var(--muted); margin-top: 6px; }
.review figcaption { margin-top: auto; color: var(--muted); font-size: .9rem; }

/* Скрытая часть отзыва: свёрнута в многоточие, кнопка раскрывает карточку целиком. */
.review .hid { display: none; }
.review.open .hid { display: inline; }
.peek {
  font: inherit; font-weight: 700; font-size: 1.05em; line-height: 1;
  color: var(--mint-deep); background: rgba(119, 194, 165, .22);
  border: 0; border-radius: 999px; padding: 2px 10px; margin: 0 3px; cursor: pointer;
}
.peek:hover { background: rgba(119, 194, 165, .38); }
.peek:focus-visible { outline: 2px solid var(--mint-deep); outline-offset: 2px; }
.peek::after { content: "···"; letter-spacing: .12em; }
.review.open .peek::after { content: "−"; letter-spacing: 0; }

/* Просьбы из отзыва, на которые есть ответ. В тексте — подсветка и значок,
   расшифровка значков висит плашками в шапке карточки. */
.review .head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.review .head .stars { align-self: center; }
.review .legend { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.review .badge {
  padding: 2px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 650; white-space: nowrap;
}
.review .tag {
  color: var(--text); border-radius: 8px; padding: 2px 5px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.review .tag::before { font-size: 1.3em; line-height: 0; vertical-align: -.06em; }
.review .badge::before { margin-right: 5px; font-weight: 700; }

.review .tag.done, .review .badge.done { background: rgba(119, 194, 165, .18); }
.review .tag.planned, .review .badge.planned { background: rgba(240, 169, 44, .16); }
.review .tag.rejected, .review .badge.rejected { background: var(--line); color: var(--muted); }

/* Пробел после значка неразрывный: иначе галочка остаётся висеть в конце строки. */
.review .tag.done::before { content: "✓\00a0"; color: var(--mint-deep); }
.review .tag.planned::before { content: "◷\00a0"; color: var(--star); }
.review .tag.rejected::before { content: "×\00a0"; }
.review .badge.done::before { content: "✓"; color: var(--mint-deep); }
.review .badge.planned::before { content: "◷"; color: var(--star); }
.review .badge.rejected::before { content: "×"; }
.review .badge.thanks { background: rgba(226, 86, 109, .14); }
.review .badge.thanks::before { content: "♥"; color: #e2566d; }

/* ── FAQ ────────────────────────────────────────────────────── */

.faq { margin-top: 110px; }
.faq > h2 { margin-bottom: 20px; }
.faq details {
  background: var(--card); border-radius: var(--radius);
  margin-bottom: 10px; box-shadow: var(--shadow); overflow: hidden;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--mint-deep); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary h3 { display: inline; font-size: 1.1rem; }
.faq details > p { padding: 0 24px 22px; color: var(--muted); max-width: 68ch; }

/* ── Финальный призыв ───────────────────────────────────────── */

.cta-end {
  background: linear-gradient(180deg, var(--t1a), var(--t1b));
  margin-top: 110px; padding: 80px 0; text-align: center;
}
.cta-end .lead { margin: 14px auto 28px; max-width: 46ch; }

/* ── Корпус телефона ────────────────────────────────────────── */

/* Рамка кладётся поверх кадра, поэтому её непрозрачный безель сам закрывает
   прямые углы скриншота. Проценты замерены сборщиком по альфа-каналу рамки. */
.framed .shot { position: relative; aspect-ratio: var(--frame-ar); }
/* Тень корпуса — box-shadow по замеренной коробке телефона.
   Не filter: drop-shadow — тот считает силуэт по альфе картинки, растеризуется
   плитками и оставляет непрокрашенные углы, да ещё и меняется по мере загрузки.
   И не по габариту рамки: слева и справа торчат кнопки, габарит шире корпуса.
   Только там, где телефон виден целиком: в карточках сетки он уходит за кромку
   с overflow: hidden, и тень легла бы серой каймой внутрь карточки. */
.framed .hero-shot .shot::before,
.framed .spotlight figure .shot::before,
.framed .showcase figure .shot::before {
  content: ""; position: absolute;
  /* Коробка утоплена на 3 px внутрь корпуса: собственный край и углы тени уходят
     под непрозрачную рамку, наружу выходит только размытие. Промах в пару пикселей
     на скруглении после этого не виден вовсе — 28 px размытия его съедают. */
  left: calc(var(--frame-bx) + 3px); width: calc(var(--frame-bw) - 6px);
  top: 3px; height: calc(100% - 6px);
  border-radius: var(--frame-brad);
  box-shadow: 0 12px 28px rgba(56, 64, 104, .22);
}
.framed .shot img {
  position: absolute;
  left: var(--frame-l); top: var(--frame-t);
  width: var(--frame-w); height: var(--frame-h);
  border-radius: var(--frame-r);
}
.framed .shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url(/assets/frame.webp) 0 0 / 100% 100% no-repeat;
}

/* Без рамки: сторовая картинка сама себе фон. */
.img-store .feature .crop { background: var(--mint); }
.img-store .feature .crop img,
.img-store .spotlight figure img,
.img-store .showcase figure img { width: 100%; }
.img-store .hero-shot img {
  border-radius: 26px;
  box-shadow: 0 12px 40px rgba(56, 64, 104, .22);
}

/* ── Текстовые страницы ─────────────────────────────────────── */

.page { padding-top: 124px; max-width: 800px; }
.page h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.page .lead { margin: 16px 0; }
.page .mailto { font-size: 1.2rem; font-weight: 650; margin-bottom: 36px; }
.page h2 { margin-top: 36px; margin-bottom: 12px; }
.page .faq { margin-top: 14px; }
.prose h1 { margin-bottom: 20px; }
.prose h2 { font-size: 1.35rem; }
.prose p, .prose ul { margin-bottom: 14px; color: var(--text); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* ── Узкие экраны ───────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero .rating { justify-content: center; }
  .hero-shot img { max-height: 520px; }
  .framed .hero-shot .shot { height: 500px; }
  ul.trust, .mirror ul { grid-template-columns: 1fr; }
  /* Столбиком боковые отступы не нужны: текст пунктов должен стоять по той же
     кромке, что и всё остальное на странице. Разделитель переезжает наверх. */
  ul.trust li { padding: 24px 0; }
  ul.trust li + li { border-left: 0; border-top: 1px solid var(--hair); }
  ul.trust li:first-child { padding-top: 0; }
  ul.trust li:last-child { padding-bottom: 0; }
  .features .grid { grid-template-columns: repeat(2, 1fr); }
  .sp-grid, .spotlight.flip .sp-grid, .spotlight.pair .sp-grid,
  .spotlight.flip.pair .sp-grid, .sc-grid { grid-template-columns: 1fr; gap: 28px; }
  .spotlight.flip figure { order: 0; }
  .spotlight figure, .showcase figure { width: min(300px, 100%); margin-inline: auto; }
  /* Стопке тесно в 300 px: под выглядывающие кадры нужен запас. */
  .spotlight figure.sp-pair { width: min(400px, 100%); }
  .showcase figure { order: -1; }
  /* Плашка шапки узкая: ссылки на разделы уходят, разделы всё равно рядом при прокрутке. */
  .bar nav a.nav-section { display: none; }
}

@media (max-width: 620px) {
  .features .grid { grid-template-columns: 1fr; }
  .feature .crop { --shot-w: 280px; }
}

@media (max-width: 640px) {
  .bar nav a.nav-support { display: none; }
}

@media (max-width: 520px) {
  header.bar > .wrap { min-height: 54px; padding: 6px 8px 6px 14px; }
  .lang-name { display: none; }
  .bar nav { gap: 10px; }
}

/* ── QR на App Store: только для больших экранов с мышью ────── */

.qr { display: none; }

@media (min-width: 1100px) and (min-height: 600px) and (hover: hover) and (pointer: fine) {
  .qr {
    display: block;
    position: fixed; right: 24px; bottom: 24px; z-index: 50;
    width: 164px; padding: 16px 16px 12px;
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
    border: 1px solid var(--line);
    text-align: center;
  }
  /* Белая подложка в обеих темах: тёмный QR на тёмном фоне камера не читает. */
  .qr img { display: block; width: 100%; height: auto; background: #fff; padding: 6px; border-radius: 8px; box-sizing: border-box; }
  .qr p { margin: 8px 0 0; font-size: 12px; line-height: 1.3; color: var(--muted); }
}
