/* ==========================================================================
   qpon.kz — секции главной (index.html) и страницы для бизнеса
   (business.html). Общее — токены, кнопки, шапка, подвал — в style.css.

   У секций вертикальные отступы задаёт только сам класс секции
   (padding-block), а горизонтальные — только .wrap (padding-inline), чтобы
   правила не перебивали друг друга.

     1. Каркас страницы
     2. Типографика секций
     3. Макет телефона
     4. Первый экран и точечный QR
     4а. Где работает Qpon
     5. Шаги («Как это работает», «Как подключиться»)
     6. Экраны приложения (тур со сменой скриншота)
     7. Подписка
     8. Вопросы
     9. Скачать и билет с QR
     10. Переход на соседнюю страницу
     11. Чек на странице для бизнеса
     12. «Как вас найдут покупатели»
     13. Адаптив
   ========================================================================== */


/* ==========================================================================
   1. Каркас страницы
   ========================================================================== */

.page {
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(900px 560px at 88% -6%, oklch(0.42 0.09 88 / 0.32), transparent 70%),
    radial-gradient(900px 700px at -10% 108%, oklch(0.3 0.08 285 / 0.28), transparent 70%),
    var(--ink);
}

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--paper-ink);
  font-weight: 700;
}
.skip:focus { top: 12px; color: var(--paper-ink); }


/* ==========================================================================
   2. Типографика секций
   ========================================================================== */

.h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead {
  margin-top: 20px;
  max-width: 34em;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-soft);
}


/* ==========================================================================
   3. Макет телефона
   Ширину задаёт --w, всё остальное считается от неё. Скриншоты уже с
   «островом» и статус-баром, поэтому рамка — только корпус.
   ========================================================================== */

.phone {
  --w: 300px;
  position: relative;
  width: var(--w);
  max-width: 100%;
  padding: calc(var(--w) * 0.028);
  border-radius: calc(var(--w) * 0.155);
  background: oklch(0.12 0.01 268);
  border: 1px solid oklch(var(--c-line-2) / 0.9);
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / 0.04),
    0 40px 80px -24px oklch(var(--c-shadow) / 0.9),
    0 0 0 calc(var(--w) * 0.006) oklch(0.26 0.015 268);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--w) * 0.128);
}


/* ==========================================================================
   4. Первый экран и точечный QR
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-block: 72px 104px;
}

.hero__title {
  max-width: 13em;
  overflow-wrap: break-word;
  hyphens: auto;
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.hero--biz .hero__title {
  max-width: 14em;
  font-size: clamp(36px, 4.5vw, 58px);
}

.hero__lead {
  margin-top: 26px;
  max-width: 30em;
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-soft);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.store {
  display: block;
  border-radius: 12px;
  transition: transform 0.15s ease;
}
.store:hover { transform: translateY(-2px); }
.store img { height: 52px; width: auto; border-radius: 9px; }

.hero__web {
  margin-top: 18px;
  font-size: 16px;
}

.hero__web a {
  color: var(--gold-text);
  text-decoration: underline;
  text-decoration-color: oklch(var(--c-gold-line));
  text-underline-offset: 4px;
}
.hero__web a:hover { text-decoration-color: var(--gold); }

/* -- правая часть: QR из точек и телефон поверх -- */
.hero__art {
  position: relative;
  min-height: 560px;
}

/* QR из точек — фон за телефоном: крупно, приглушённо, края растворяются */
.dotqr {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 560px);
  height: auto;
  translate: -50% -50%;
  opacity: 0.34;
  -webkit-mask: radial-gradient(closest-side, #000 55%, #0000);
          mask: radial-gradient(closest-side, #000 55%, #0000);
}

/* Единственная анимация на странице без участия посетителя: при загрузке
   точки кода проявляются диагональной волной, как при сканировании. */
.dotqr__dots circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: dot-in 0.55s cubic-bezier(0.2, 0.8, 0.3, 1.25) both;
  animation-delay: calc(var(--d) + 150ms);
}

.dotqr__eyes { animation: eyes-in 0.5s ease-out both; }

@keyframes dot-in {
  from { opacity: 0; transform: scale(0.2); }
}

@keyframes eyes-in {
  from { opacity: 0; }
}

.hero__art {
  display: grid;
  place-items: center;
}

.hero__phone {
  --w: 290px;
  position: relative;
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / 0.04),
    0 40px 90px -20px oklch(var(--c-shadow)),
    0 0 120px -10px oklch(0.85 0.16 90 / 0.22);
}


/* ==========================================================================
   4а. Где работает Qpon — логотипы магазинов из базы
   Одна строка. С шести магазинов она бежит по кругу (повторы и второй круг
   для бесшовного стыка готовит сервер, --loop — плиток в круге) и встаёт под
   курсором и при фокусе; меньше — стоит на месте. Подложку под логотипом
   (--plate) подбирает сервер: белая, тёмная или цвет фона самого логотипа.
   ========================================================================== */

.partners {
  padding-block: 0 88px;
}

.partners__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
}

.partners .lead { max-width: 30em; }

.partners__all {
  padding-bottom: 6px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--gold-text);
  text-decoration: underline;
  text-decoration-color: oklch(var(--c-gold-line));
  text-underline-offset: 4px;
}
.partners__all:hover { text-decoration-color: var(--gold); }

.belt {
  --tile: 88px;
  --space: 44px;
  --fade: 72px;
  /* по ширине сайта, как текст над ней */
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  /* снизу — место под свечение плитки при наведении (иначе его срезает
     overflow), отрицательный margin возвращает обычный отступ секции */
  margin: 28px auto -32px;
  padding: 12px var(--gutter) 56px;
  overflow-x: auto;
  scrollbar-width: none;
}
.belt::-webkit-scrollbar { display: none; }

.belt__track {
  display: flex;
  width: max-content;
  list-style: none;
}

/* отступ — у плитки, а не gap: тогда круг ровно в половину ленты */
.belt__track > li { padding-right: var(--space); }

.belt--moving {
  padding-inline: 0;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, #0000, #000 var(--fade), #000 calc(100% - var(--fade)), #0000);
          mask: linear-gradient(90deg, #0000, #000 var(--fade), #000 calc(100% - var(--fade)), #0000);
}

.belt--moving .belt__track {
  animation: belt calc(var(--loop) * 3s) linear infinite;
}

.belt--moving:hover .belt__track,
.belt--moving:focus-within .belt__track { animation-play-state: paused; }

@keyframes belt {
  to { transform: translateX(-50%); }
}

.logo-tile {
  display: grid;
  place-items: center;
  width: var(--tile);
  aspect-ratio: 1;
  padding: 13%;
  overflow: hidden;
  border-radius: calc(var(--tile) * 0.26);
  background: var(--plate, oklch(var(--c-surface-2)));
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / 0.07),
    0 14px 30px -16px oklch(0 0 0 / 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* у логотипа свой фон — от края до края */
.logo-tile--bleed { padding: 0; }

.logo-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-tile:hover,
.logo-tile:focus-visible {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / 0.07),
    0 18px 36px -14px oklch(0.85 0.16 90 / 0.45);
}

.logo-tile:focus-visible {
  outline-offset: 4px;
  border-radius: calc(var(--tile) * 0.26);
}

/* без движения: лента стоит, повторов нет, листается сама */
@media (prefers-reduced-motion: reduce) {
  .belt--moving { overflow-x: auto; -webkit-mask: none; mask: none; padding-inline: var(--gutter); }
  .belt--moving .belt__track { animation: none; }
  .belt__track > li[aria-hidden] { display: none; }
}


/* ==========================================================================
   5. Шаги — настоящая последовательность, поэтому с номерами
   ========================================================================== */

.how {
  padding-block: 56px 72px;
}

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.how--three .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.step {
  position: relative;
  counter-increment: step;
  padding-top: 88px;
}

/* номер шага */
.step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-num);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* пунктир из точек — от номера к следующему шагу */
.step::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 56px;
  right: -16px;
  height: 4px;
  background: radial-gradient(circle, oklch(var(--c-gold) / 0.55) 1.6px, transparent 2px) 0 50% / 12px 4px repeat-x;
}

.step:last-child::after { display: none; }

.step__title {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.step p {
  margin-top: 10px;
  max-width: 24em;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dim);
}

.how__note {
  margin-top: 48px;
  max-width: 44em;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  color: var(--text-soft);
}


/* ==========================================================================
   6. Экраны приложения
   На широком экране телефон стоит на месте, а скриншот в нём меняется,
   когда до центра экрана доезжает следующий блок текста (main.js). На узком
   у каждого блока свой скриншот.
   ========================================================================== */

.tour {
  padding-block: 40px 24px;
}

.tour__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px 80px;
}

.tour__step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 64vh;
  max-width: 34em;
  padding-block: 40px;
}

/* первый блок — сразу под заголовком, без пустоты сверху */
.tour__step:first-child { min-height: 52vh; justify-content: flex-start; padding-top: 56px; }

.tour__step p { margin-top: 18px; color: var(--text-soft); }
.tour__step .h3 + p { margin-top: 18px; }

/* с JS неактивные блоки приглушены — видно, о каком экране речь */
.js .tour__step {
  opacity: 0.38;
  transition: opacity 0.35s ease;
}
.js .tour__step.is-active { opacity: 1; }

.tour__note {
  font-size: 15px;
  color: var(--text-dim);
}

.tour__inline { display: none; }

.tour__stage {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  max-height: 900px;
}

.tour__stage .phone {
  --w: 320px;
  display: grid;
}

.tour__stage .phone img {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tour__stage .phone img.is-active { opacity: 1; }

/* уровни: три ступени, как в приложении */
.tiers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tier {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--pill);
  border: 1px solid oklch(var(--c-line-2));
  font-size: 15px;
  font-weight: 700;
}

.tier::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

.tier--bronze { color: oklch(var(--c-bronze)); }
.tier--silver { color: oklch(var(--c-silver)); }
.tier--gold   { color: var(--gold); }

.tier + .tier { position: relative; }

.tiers + .tour__note { margin-top: 14px; }

/* список с золотыми точками вместо маркеров */
.ticks {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 18px;
  color: var(--text-soft);
}

.ticks li {
  position: relative;
  padding-left: 22px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}


/* ==========================================================================
   7. Подписка
   ========================================================================== */

.price {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px 64px;
  align-items: start;
  padding-block: 96px;
}

.price__free {
  margin-top: 20px;
  max-width: 34em;
  color: var(--text-dim);
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.plan {
  padding: 28px 26px 30px;
  border-radius: 24px;
  border: 1px solid oklch(var(--c-line-2));
  background: oklch(var(--c-surface) / 0.55);
}

.plan--best {
  border-color: oklch(var(--c-gold-line));
  background:
    radial-gradient(120% 90% at 100% 0%, oklch(var(--c-gold) / 0.14), transparent 70%),
    oklch(var(--c-surface) / 0.7);
}

.plan__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-soft);
}

.plan__save {
  padding: 2px 10px;
  border-radius: var(--pill);
  background: var(--gold);
  color: var(--paper-ink);
  font-size: 13px;
  font-weight: 700;
}

.plan__price {
  margin-top: 14px;
  color: var(--text-dim);
}

.plan__price b {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.4vw, 42px);
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--title);
}

.plan__note {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-dim);
}

.plans__fallback {
  grid-column: 1 / -1;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px dashed oklch(var(--c-line-2));
  color: var(--text-soft);
}

.plans__note {
  margin-top: 18px;
  max-width: 44em;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-faint);
}

.price__friends {
  grid-column: 1 / -1;
  max-width: 46em;
  padding-top: 28px;
  border-top: 1px solid oklch(var(--c-line) / 0.8);
  color: var(--text-soft);
}


/* ==========================================================================
   8. Вопросы
   ========================================================================== */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 32px 64px;
  align-items: start;
  padding-block: 56px 104px;
}

.faq__list { border-top: 1px solid oklch(var(--c-line)); }

.faq details { border-bottom: 1px solid oklch(var(--c-line)); }

.faq summary {
  position: relative;
  display: block;
  padding: 22px 48px 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--title);
}

.faq summary::-webkit-details-marker { display: none; }

/* плюс, который становится минусом */
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 16px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform 0.25s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }

.faq summary:hover { color: var(--gold-text); }

.faq details p {
  max-width: 40em;
  padding-bottom: 24px;
  color: var(--text-soft);
}


/* ==========================================================================
   9. Скачать и билет с QR
   ========================================================================== */

.download {
  border-block: 1px solid oklch(var(--c-line) / 0.8);
  background:
    radial-gradient(700px 420px at 85% 50%, oklch(var(--c-gold) / 0.1), transparent 70%),
    oklch(var(--c-ink-2));
}

.download__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  padding-block: 88px;
}

.download__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 22px;
  font-weight: 700;
}

/* Билет: светлая плашка с вырезами по бокам, как у купона. Тёмный QR на
   светлом — так его надёжно читает камера. */
.ticket {
  --notch: 14px;
  width: 280px;
  padding: 28px 28px 24px;
  border-radius: 22px;
  background: var(--paper);
  color: var(--paper-ink);
  -webkit-mask: radial-gradient(circle var(--notch) at 0 62%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 62%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 62%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 62%, #0000 98%, #000) right / 51% 100% no-repeat;
  box-shadow: 0 30px 60px -20px oklch(0 0 0 / 0.6);
}

.ticket__qr {
  width: 100%;
  height: auto;
}

.ticket figcaption {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px dashed oklch(var(--c-paper-ink) / 0.18);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}


/* ==========================================================================
   10. Переход на соседнюю страницу
   ========================================================================== */

.crosslink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 48px;
  padding-block: 64px;
}

.crosslink__text p {
  margin-top: 10px;
  max-width: 38em;
  color: var(--text-dim);
}


/* ==========================================================================
   11. Чек на странице для бизнеса
   ========================================================================== */

.hero--biz .hero__art {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.receipt {
  --tooth: 12px;
  width: min(100%, 420px);
  padding: 28px 30px calc(30px + var(--tooth));
  border-radius: 22px 22px 0 0;
  background: var(--paper);
  color: var(--paper-ink);
  font-variant-numeric: tabular-nums;
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease;
  box-shadow: 0 40px 80px -30px oklch(0 0 0 / 0.7);
  /* зубчатый нижний край отрывного чека */
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat,
                conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--tooth) * 2) var(--tooth) repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat,
                conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--tooth) * 2) var(--tooth) repeat-x;
}

/* посетитель взялся за чек — выпрямляем его */
.receipt:focus-within { transform: rotate(0deg); }

.receipt__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 2px dashed oklch(var(--c-paper-ink) / 0.16);
}

.receipt__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.receipt__who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.receipt__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: oklch(var(--c-paper-ink) / 0.08);
  font-size: 14px;
}

.receipt__levels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.receipt__levels legend,
.receipt__sum > span:first-child {
  margin-bottom: 10px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  color: oklch(var(--c-paper-ink) / 0.62);
}

.chip { position: relative; cursor: pointer; }

.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.chip > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 13px 6px 10px;
  border-radius: var(--pill);
  border: 1.5px solid oklch(var(--c-paper-ink) / 0.16);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.chip > span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: oklch(var(--c-paper-ink) / 0.3);
}

.chip--bronze > span::before { background: oklch(0.62 0.12 55); }
.chip--silver > span::before { background: oklch(0.7 0.015 260); }
.chip--gold > span::before   { background: oklch(0.8 0.16 88); }

.chip:hover > span { border-color: oklch(var(--c-paper-ink) / 0.4); }

.chip input:checked + span {
  background: var(--paper-ink);
  border-color: var(--paper-ink);
  color: var(--title);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--paper-ink);
  outline-offset: 2px;
}

.receipt__sum {
  display: flex;
  flex-direction: column;
  margin-top: 22px;
}

.receipt__input {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid oklch(var(--c-paper-ink) / 0.2);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.receipt__input:focus-within { border-bottom-color: oklch(0.72 0.16 85); }

.receipt__input input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  caret-color: oklch(0.72 0.16 85);
  outline: none;
}

.receipt__input > span { font-family: var(--font-text); font-weight: 400; opacity: 0.5; }

.receipt__lines {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.receipt__lines > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.receipt__lines dt { color: oklch(var(--c-paper-ink) / 0.66); }
.receipt__lines dd { font-weight: 700; }

.receipt__lines .is-discount dd { color: oklch(0.55 0.13 75); }

.receipt__lines .is-pay {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 2px dashed oklch(var(--c-paper-ink) / 0.16);
  align-items: baseline;
}

.receipt__lines .is-pay dt { color: var(--paper-ink); font-weight: 700; }

.receipt__lines .is-pay dd {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.receipt__caption {
  margin-top: 22px;
  max-width: 26em;
  text-align: center;
  font-size: 15px;
  color: var(--text-dim);
}


/* ==========================================================================
   12. «Как вас найдут покупатели»
   ========================================================================== */

.reach {
  padding-block: 56px 72px;
}

.reach__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
  border-top: 1px solid oklch(var(--c-line));
}

.reach__list > div {
  padding: 28px 32px 0 0;
}

.reach__list > div + div {
  padding-left: 32px;
  border-left: 1px solid oklch(var(--c-line));
}

.reach__title {
  font-size: 20px;
  line-height: 1.25;
}

.reach__list p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--text-dim);
}


/* ==========================================================================
   13. Адаптив
   ========================================================================== */

@media (max-width: 1099px) {
  .hero { gap: 32px; }
  .hero__art { min-height: 480px; }
  .hero__phone { --w: 250px; }
  .tour__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
  .tour__stage .phone { --w: 280px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .how--three .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step:nth-child(2n)::after { display: none; }
  .how--three .step:nth-child(2n)::after { display: block; }
  .how--three .step:last-child::after { display: none; }
  .price { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 819px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-block: 36px 64px;
  }

  .hero__lead { font-size: 18px; }

  .hero__art { min-height: 0; }

  .hero__phone { --w: min(60vw, 250px); }

  .hero--biz .hero__art { height: auto; }
  .receipt { transform: none; padding-inline: 22px; }
  .receipt__input { font-size: 30px; }

  .hero__buttons .btn { flex: 1 1 200px; }

  .partners { padding-block: 0 56px; }
  .partners__head { align-items: flex-start; }
  .belt { --tile: 68px; --space: 24px; --fade: 32px; margin-top: 12px; }

  .how { padding-block: 32px 64px; }
  .steps,
  .how--three .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 36px; }
  .step { padding-top: 0; padding-left: 64px; min-height: 56px; }
  .step::before { font-size: 44px; }
  .step::after,
  .how--three .step::after { display: none; }

  .tour { padding-block: 64px 24px; }
  .tour__grid { grid-template-columns: minmax(0, 1fr); }
  .tour__stage { display: none; }
  .tour__step { min-height: 0; padding-block: 36px 24px; }
  .js .tour__step { opacity: 1; }
  .tour__inline {
    --w: min(72vw, 280px);
    display: block;
    margin: 32px auto 0;
  }

  .price { padding-block: 64px; }
  .plans { grid-template-columns: minmax(0, 1fr); }

  .faq { grid-template-columns: minmax(0, 1fr); padding-block: 32px 72px; }

  .download__inner { grid-template-columns: minmax(0, 1fr); padding-block: 64px; }
  /* с телефона сканировать свой же экран незачем */
  .ticket { display: none; }

  .reach { padding-block: 32px 48px; }
  .reach__list { grid-template-columns: minmax(0, 1fr); border-top: 0; margin-top: 28px; }
  .reach__list > div,
  .reach__list > div + div {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid oklch(var(--c-line));
  }

  .crosslink { padding-block: 48px; }

  /* место под нижнюю панель */
  .page .footer__inner { padding-bottom: 120px; }
}

@media (max-width: 420px) {
  .store img { height: 46px; }
}
