/* ==========================================================================
   qpon.kz — стили сайта
   Чистый CSS, без препроцессоров и фреймворков.

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


/* ==========================================================================
   1. Токены
   Цвета заданы компонентами oklch без обёртки — так одно и то же значение
   используется и как сплошной цвет `oklch(var(--c-line))`, и с прозрачностью
   `oklch(var(--c-line) / 0.6)`.
   ========================================================================== */

:root {
  /* нейтральные */
  --c-ink:          0.19 0.014 258;   /* фон страницы */
  --c-ink-2:        0.212 0.014 258;
  --c-surface:      0.235 0.014 258;
  --c-surface-2:    0.245 0.016 258;
  --c-line:         0.34 0.02 262;
  --c-line-2:       0.4 0.035 262;
  --c-shadow:       0.12 0.02 262;

  /* акцентные */
  --c-gold:         0.86 0.11 88;
  --c-gold-line:    0.5 0.06 80;
  --c-gold-line-2:  0.45 0.05 80;
  --c-bronze:       0.68 0.09 52;
  --c-silver:       0.82 0.012 258;

  /* текст */
  --c-text:         0.82 0.008 258;
  --c-dim:          0.68 0.01 258;
  --c-faint:        0.6 0.01 258;

  --ink:            oklch(var(--c-ink));
  --gold:           oklch(var(--c-gold));
  --text:           oklch(var(--c-text));
  --text-soft:      oklch(0.75 0.01 258);
  --text-dim:       oklch(var(--c-dim));
  --text-faint:     oklch(var(--c-faint));
  --title:          oklch(0.96 0.02 92);
  --gold-label:     oklch(0.72 0.07 86);
  --gold-text:      oklch(0.9 0.05 90);

  /* градиенты */
  --grad-gold:  linear-gradient(150deg, oklch(0.9 0.095 92), oklch(0.76 0.125 78));
  --grad-num:   linear-gradient(120deg, oklch(0.94 0.08 94), oklch(0.78 0.13 76));
  --grad-logo:  linear-gradient(100deg, oklch(0.68 0.105 72), oklch(0.96 0.06 94) 35%,
                                        oklch(0.66 0.11 70) 62%, oklch(0.94 0.07 92));
  --grad-word:  linear-gradient(100deg, oklch(0.68 0.105 72), oklch(0.94 0.08 94) 35%,
                                        oklch(0.66 0.11 70) 62%, oklch(0.92 0.085 92));
  --grad-hero:  linear-gradient(100deg, oklch(0.7 0.11 72), oklch(0.95 0.075 94) 30%,
                                        oklch(0.78 0.13 76) 55%, oklch(0.95 0.07 96) 80%,
                                        oklch(0.7 0.11 72));

  /* тени */
  --shadow-gold:    0 10px 34px oklch(0.76 0.125 78 / 0.3);
  --shadow-gold-hi: 0 14px 42px oklch(0.8 0.13 82 / 0.48);

  /* размеры */
  --wrap: 1240px;
  --pill: 999px;
}


/* ==========================================================================
   2. Сброс и базовая типографика
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* чтобы якорь не уезжал под липкую шапку */
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Sora", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, figure, dl, dd { margin: 0; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: oklch(0.93 0.08 92); }

img, svg { display: block; max-width: 100%; }

button {
  font: inherit;
  color: inherit;
  margin: 0;
  border: 0;
  background: none;
}

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] { display: none !important; }


/* ==========================================================================
   3. Анимации
   ========================================================================== */

@keyframes scanline {
  0%   { top: 8%;  opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 88%; opacity: 0; }
}

@keyframes goldflow {
  to { background-position: -260% center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}


/* ==========================================================================
   4. Утилиты
   ========================================================================== */

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
}

/* Текст, залитый «перетекающим» золотым градиентом */
.shine {
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldflow 7s linear infinite;
}

.shine--logo { background-image: var(--grad-logo); }
.shine--word { background-image: var(--grad-word); font-weight: 600; }
.shine--hero { background-image: var(--grad-hero); animation-duration: 9s; }

/* Надзаголовок секции */
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-label);
}

/* Кнопки и кнопки-ссылки */
.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: var(--pill);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn--gold {
  background: var(--grad-gold);
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover {
  color: var(--ink);
  box-shadow: var(--shadow-gold-hi);
}

.btn--ghost {
  border: 1px solid oklch(var(--c-gold-line-2) / 0.6);
  color: oklch(0.9 0.03 90);
}
.btn--ghost:hover {
  background: oklch(var(--c-gold) / 0.08);
  color: oklch(0.96 0.025 90);
}

.btn--sm { padding: 13px 22px; font-size: 14px; }

/* Заголовок секции в две колонки */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid oklch(var(--c-line) / 0.8);
}

.section-head__note {
  max-width: 340px;
  font-size: 15px;
  line-height: 1.6;
  color: oklch(0.72 0.01 258);
}

.h2 {
  margin-top: 14px;
  font-size: clamp(30px, 3.7vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: oklch(0.96 0.02 92);
  text-wrap: pretty;
}

/* заголовок без надзаголовка над ним — верхний отступ не нужен */
.h2--flush { margin-top: 0; }


/* ==========================================================================
   5. Шапка и меню
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: oklch(var(--c-ink) / 0.72);
  border-bottom: 1px solid oklch(var(--c-line) / 0.6);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 16px 40px;
}

/* -- логотип -- */
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: inherit;
}

.logo__mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  flex: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: 13px;
  background: oklch(var(--c-surface));
  border: 1px solid oklch(var(--c-line-2));
}

.logo__mark i {
  border: 2px solid var(--gold);
  border-radius: 2px;
}

.logo__mark i:last-child {
  border: 0;
  background: linear-gradient(150deg, oklch(0.88 0.1 92), oklch(0.76 0.125 78));
}

.logo__word {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.03em;
}

/* -- навигация -- */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}

.nav a { color: oklch(0.78 0.008 258); }
.nav a:hover { color: oklch(0.96 0.025 90); }

/* -- правая группа -- */
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.icon-btn {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid oklch(var(--c-line-2));
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.icon-btn:hover {
  background: oklch(var(--c-gold) / 0.16);
  border-color: oklch(0.6 0.09 82);
}
.icon-btn svg { fill: var(--gold); }

/* -- переключатель языка -- */
.lang {
  display: flex;
  align-items: center;
  height: 42px;
  gap: 2px;
  padding: 0 4px;
  border: 1px solid oklch(var(--c-line-2));
  border-radius: var(--pill);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.lang__btn {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 13px;
  border-radius: var(--pill);
  cursor: pointer;
  font-weight: 500;
  color: var(--text-dim);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang__btn[aria-pressed="true"] {
  background: var(--gold);
  color: var(--ink);
}

/* -- бургер -- */
.burger {
  display: none;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid oklch(var(--c-line-2));
  cursor: pointer;
}

.burger span {
  width: 18px;
  height: 1.5px;
  background: var(--gold);
}

/* -- выпадающее меню -- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  padding: 8px 20px 20px;
  border-top: 1px solid oklch(var(--c-line) / 0.8);
}

.mobile-menu a {
  padding: 15px 0;
  font-size: 16px;
  font-weight: 500;
  color: oklch(0.88 0.01 258);
  border-bottom: 1px solid oklch(var(--c-line) / 0.6);
}

.mobile-menu a:last-child { border-bottom: 0; }


/* ==========================================================================
   6. Первый экран
   ========================================================================== */

.page {
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(1100px 520px at 78% -8%, oklch(0.32 0.055 78 / 0.55), transparent 70%),
    radial-gradient(760px 460px at 6% 12%, oklch(0.26 0.03 262 / 0.9), transparent 72%),
    var(--ink);
}

/* вертикальная «сетка» поверх фона */
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background: repeating-linear-gradient(90deg, oklch(1 0 0 / 0.035) 0 1px, transparent 1px 108px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: center;
  padding: 96px 40px 112px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 520px;
}

.hero__eyebrow span:first-child {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: oklch(0.84 0.075 88);
}

.hero__rule {
  flex: 1;
  min-width: 24px;
  height: 1px;
  background: linear-gradient(90deg, oklch(0.6 0.08 82 / 0.7), transparent);
}

.hero__title {
  position: relative;
  margin-top: 26px;
  font-size: clamp(34px, 5.2vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: oklch(0.97 0.02 92);
  text-wrap: pretty;
}

.hero__lead {
  margin-top: 24px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.65;
  color: oklch(0.76 0.01 258);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero__buttons .btn { flex: 0 0 auto; }

/* -- четыре показателя -- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid oklch(var(--c-line) / 0.8);
}

.stats > div { padding: 22px 0 0; }
.stats > div + div { padding-left: 24px; }

.stats dt {
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: oklch(0.93 0.06 90);
}

.stats dd {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.63 0.01 258);
}


/* ==========================================================================
   7. Макет телефона
   ========================================================================== */

.device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.phone {
  position: relative;
  width: min(330px, 100%);
  padding: 14px;
  border-radius: 44px;
  background: linear-gradient(150deg, oklch(0.5 0.07 84 / 0.85), oklch(0.3 0.03 262 / 0.6));
  box-shadow: 0 40px 90px oklch(var(--c-shadow) / 0.75);
}

.phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 640px;
  padding: 18px 18px 24px;
  overflow: hidden;
  border-radius: 32px;
  background: oklch(0.215 0.014 258);
}

.phone__status {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-faint);
}

.phone__hello {
  margin-top: 18px;
  font-size: 13px;
  color: oklch(0.72 0.01 258);
}

/* -- общая карточка экрана -- */
.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: none;
  height: 370px;
  margin-top: 14px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(160deg, oklch(0.28 0.03 264), oklch(var(--c-surface)));
  border: 1px solid oklch(var(--c-gold-line-2) / 0.35);
}

.screen--level {
  background: linear-gradient(160deg, oklch(0.3 0.045 82), oklch(var(--c-surface)));
  border-color: oklch(var(--c-gold-line) / 0.5);
}

.screen--scan { overflow: hidden; }

.screen__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.7 0.075 86);
}

.screen__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.screen__percent {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: oklch(0.88 0.1 90);
}

.screen__note {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: oklch(0.7 0.01 258);
}

/* -- QR -- */
.qr-plate {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  background: oklch(0.96 0.02 90);
}

.qr-plate--dim { position: relative; opacity: 0.55; }

.qr {
  display: block;
  width: 100%;
  height: auto;
  fill: var(--ink);
}

.scanline {
  position: absolute;
  left: 18px;
  right: 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, oklch(0.88 0.11 88), transparent);
  box-shadow: 0 0 18px var(--gold);
  animation: scanline 1.9s ease-in-out infinite;
}

/* -- карточка «новый уровень» -- */
.level-jump {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
}

.level-jump strong {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: oklch(0.92 0.09 92);
}

.level-jump span {
  font-size: 12px;
  color: oklch(0.74 0.06 86);
}

.level-bars {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}

.level-bars i {
  flex: 1;
  height: 8px;
  border-radius: 4px;
}

.level-bars i:nth-child(1) { background: oklch(var(--c-bronze)); }
.level-bars i:nth-child(2) { background: oklch(var(--c-silver)); }
.level-bars i:nth-child(3) {
  background: linear-gradient(90deg, oklch(0.9 0.1 92), oklch(0.76 0.125 78));
  box-shadow: 0 0 18px oklch(0.8 0.13 82 / 0.5);
}

/* -- список акций -- */
.phone__promos-label {
  margin-top: auto;
  padding-top: 16px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.promos {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.promo {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: oklch(var(--c-surface-2));
  border: 1px solid oklch(var(--c-line) / 0.8);
}

.promo b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: oklch(0.93 0.02 90);
}

.promo small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: oklch(0.66 0.01 258);
}

.promo i {
  align-self: center;
  font-style: normal;
  color: oklch(0.8 0.09 88);
}

/* -- переключатель кадров -- */
.phone-tabs {
  display: flex;
  gap: 8px;
}

.phone-tab {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 13px 15px;
  border-radius: var(--pill);
  cursor: pointer;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  border: 1px solid oklch(var(--c-line));
  background: transparent;
  color: var(--text-dim);
}

.phone-tab:hover {
  color: oklch(0.96 0.025 90);
  border-color: oklch(var(--c-gold-line));
}

.phone-tab[aria-selected="true"] {
  border-color: oklch(0.6 0.09 82);
  background: oklch(var(--c-gold) / 0.14);
  color: oklch(0.93 0.07 90);
}


/* ==========================================================================
   8. Три шага
   ========================================================================== */

.how { padding: 40px 40px 110px; }

.steps {
  display: grid;
  gap: 20px;
  margin-top: 36px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.step {
  position: relative;
  overflow: hidden;
  padding: 32px 28px 34px;
  border-radius: 24px;
  background: linear-gradient(165deg, oklch(0.245 0.018 260), oklch(var(--c-ink-2)));
  border: 1px solid oklch(var(--c-line) / 0.9);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: oklch(var(--c-gold-line) / 0.8);
}

.step__n {
  display: block;
  text-align: right;
  font-size: 80px;
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: -0.05em;
  color: oklch(var(--c-gold) / 0.12);
}

.step h3 {
  margin-top: 22px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: oklch(0.96 0.02 92);
}

.step p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: oklch(0.73 0.01 258);
}


/* ==========================================================================
   9. Уровни скидки
   ========================================================================== */

.band {
  position: relative;
  border-top: 1px solid oklch(var(--c-line) / 0.7);
}

.band--loyalty {
  border-bottom: 1px solid oklch(var(--c-line) / 0.7);
  background: radial-gradient(900px 420px at 82% 30%, oklch(0.32 0.055 78 / 0.4), transparent 70%);
}

.band--coupons {
  background: radial-gradient(900px 420px at 18% 30%, oklch(0.32 0.055 78 / 0.35), transparent 70%);
}

.band--cta {
  background: radial-gradient(800px 380px at 50% 0%, oklch(0.34 0.06 78 / 0.45), transparent 72%);
}

.section {
  padding: 104px 40px;
}

.section--split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: center;
}

.lead {
  margin-top: 20px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
}

.lead--wide { max-width: 500px; }

/* список с галочками */
.checks {
  display: flex;
  flex-direction: column;
  margin-top: 34px;
}

.checks div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid oklch(var(--c-line) / 0.8);
  font-size: 15px;
  color: oklch(0.88 0.01 258);
}

.checks i {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: oklch(var(--c-gold) / 0.14);
  border: 1px solid oklch(var(--c-gold-line) / 0.6);
  font-size: 11px;
  font-style: normal;
  color: oklch(0.88 0.1 90);
}

/* карточка уровня */
.level-card {
  padding: 36px;
  border-radius: 28px;
  background: linear-gradient(165deg, oklch(0.26 0.022 260), oklch(0.21 0.014 258));
  border: 1px solid oklch(var(--c-gold-line-2) / 0.45);
  box-shadow: 0 30px 80px oklch(var(--c-shadow) / 0.6);
}

.level-card__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.level-card__badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge {
  padding: 3px 10px;
  border-radius: var(--pill);
  background: oklch(var(--c-silver) / 0.16);
  border: 1px solid oklch(var(--c-silver) / 0.45);
  font-size: 11px;
  font-weight: 600;
  color: oklch(0.9 0.008 258);
}

.badge--gold {
  background: oklch(var(--c-gold) / 0.18);
  border-color: oklch(0.6 0.09 82);
  color: oklch(0.93 0.07 90);
}

.level-card__value {
  margin-top: 10px;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  background: var(--grad-num);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.level-card__aside {
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
  color: var(--text-dim);
}

.tiers {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.tier {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier__bar {
  height: 6px;
  border-radius: 3px;
}

.tier__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: oklch(0.95 0.02 92);
}

.tier__dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 3px;
}

.tier__pct { font-size: 12px; }

.tier--bronze .tier__bar { background: oklch(var(--c-bronze)); box-shadow: 0 0 22px oklch(var(--c-bronze) / 0.45); }
.tier--bronze .tier__dot { background: oklch(var(--c-bronze)); }
.tier--bronze .tier__pct { color: oklch(var(--c-bronze)); }

.tier--silver .tier__bar { background: oklch(var(--c-silver)); box-shadow: 0 0 22px oklch(var(--c-silver) / 0.45); }
.tier--silver .tier__dot { background: oklch(var(--c-silver)); }
.tier--silver .tier__pct { color: oklch(var(--c-silver)); }

.tier--gold .tier__bar { background: oklch(var(--c-line) / 0.9); }
.tier--gold .tier__dot { background: oklch(0.4 0.02 262); }
.tier--gold .tier__name { color: oklch(0.62 0.01 258); }
.tier--gold .tier__pct { color: oklch(0.62 0.01 258); }

.level-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid oklch(var(--c-line) / 0.8);
}

.level-card__foot dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.64 0.01 258);
}

.level-card__foot dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-text);
}


/* ==========================================================================
   10. Панели «Бизнесу» / «Клиентам»
   ========================================================================== */

.panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  padding: 104px 40px;
}

.panel {
  padding: 44px 40px;
  border-radius: 28px;
  background: linear-gradient(165deg, oklch(0.245 0.018 260), oklch(var(--c-ink-2)));
  border: 1px solid oklch(var(--c-line) / 0.9);
}

.panel--accent {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, oklch(0.3 0.045 82), oklch(0.215 0.016 258) 70%);
  border-color: oklch(var(--c-gold-line) / 0.55);
}

.panel__title {
  margin-top: 16px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: oklch(0.96 0.02 92);
}

.panel--accent .panel__title { color: oklch(0.97 0.03 92); }
.panel--accent .eyebrow { color: oklch(0.8 0.08 88); }

.panel__lead {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: oklch(0.74 0.01 258);
}

.panel--accent .panel__lead { color: oklch(0.79 0.015 258); }

.features {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}

.features div {
  padding: 18px 0;
  border-top: 1px solid oklch(var(--c-gold-line-2) / 0.45);
}

.features b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: oklch(0.94 0.02 90);
}

.features span {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: oklch(0.71 0.01 258);
}

.panel--accent .features b { color: oklch(0.96 0.025 90); }
.panel--accent .features span { color: oklch(0.77 0.015 258); }

.panel .btn { margin-top: 28px; padding: 14px 26px; }


/* ==========================================================================
   11. Купоны
   ========================================================================== */

.coupon-claim {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid oklch(var(--c-line) / 0.8);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--gold-text);
}

.coupon-wrap {
  display: flex;
  justify-content: center;
}

.coupon {
  position: relative;
  width: min(400px, 100%);
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(165deg, oklch(0.28 0.035 264), oklch(var(--c-ink-2)));
  border: 1px solid oklch(var(--c-gold-line) / 0.5);
  box-shadow: 0 30px 70px oklch(var(--c-shadow) / 0.6);
}

.coupon__body { padding: 28px 28px 24px; }

.coupon__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.coupon__head .eyebrow { font-size: 10px; }

.coupon__value {
  display: block;
  margin-top: 18px;
  font-size: 68px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.045em;
  background: var(--grad-num);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.coupon__what {
  margin-top: 12px;
  font-size: 15px;
  color: oklch(0.82 0.015 258);
}

.coupon__meter {
  margin-top: 22px;
}

.coupon__track {
  height: 6px;
  border-radius: 3px;
  background: oklch(var(--c-line) / 0.9);
  overflow: hidden;
}

.coupon__fill {
  width: 37%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, oklch(0.9 0.1 92), oklch(0.76 0.125 78));
}

.coupon__left {
  margin-top: 10px;
  font-size: 13px;
  color: oklch(0.7 0.01 258);
}

.coupon__foot {
  position: relative;
  padding: 20px 28px 26px;
  border-top: 1px dashed oklch(var(--c-gold-line) / 0.55);
}

/* «отрывные» полукружья по краям перфорации */
.coupon__foot::before,
.coupon__foot::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
}
.coupon__foot::before { left: -11px; }
.coupon__foot::after  { right: -11px; }

.coupon__foot .btn {
  display: block;
  padding: 14px 22px;
  box-shadow: 0 10px 30px oklch(0.76 0.125 78 / 0.3);
}


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

.price-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid oklch(var(--c-line) / 0.8);
}

.price-note dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.64 0.01 258);
}

.price-note dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-text);
}

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

.plan {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: 24px;
  background: linear-gradient(165deg, oklch(0.245 0.018 260), oklch(var(--c-ink-2)));
  border: 1px solid oklch(var(--c-line) / 0.9);
}

.plan--accent {
  position: relative;
  background: linear-gradient(165deg, oklch(0.3 0.045 82), oklch(0.215 0.016 258) 75%);
  border-color: oklch(var(--c-gold-line) / 0.55);
  box-shadow: 0 24px 60px oklch(var(--c-shadow) / 0.5);
}

.plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.66 0.01 258);
}

.plan--accent .plan__label { color: oklch(0.82 0.08 88); }

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 16px;
}

.plan__price b {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.035em;
  white-space: nowrap;
  color: oklch(0.96 0.02 92);
}

.plan__price span {
  font-size: 14px;
  color: var(--text-dim);
}

.plan--accent .plan__price b { color: oklch(0.97 0.03 92); }
.plan--accent .plan__price span { color: oklch(0.76 0.02 258); }

.plan__note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: oklch(0.74 0.01 258);
}

.plan--accent .plan__note { color: oklch(0.79 0.015 258); }

.plan .btn { margin-top: 26px; }


/* ==========================================================================
   13. Блок скачивания
   ========================================================================== */

.cta {
  max-width: 820px;
  margin-inline: auto;
  padding: 110px 40px;
  text-align: center;
}

.lockup {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.lockup__mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 7px;
  flex: none;
  width: 124px;
  height: 124px;
  padding: 14px;
  border-radius: 28px;
  background: oklch(var(--c-surface));
  border: 1px solid oklch(var(--c-gold-line-2) / 0.4);
}

.lockup__mark span {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--gold);
  border-radius: 8px;
  font-weight: 700;
  font-size: 26px;
  line-height: 0.78;
  color: var(--gold);
}

.lockup__mark span:last-child {
  border: 0;
  background: linear-gradient(150deg, oklch(0.9 0.1 92), oklch(0.76 0.125 78));
  color: var(--ink);
}

.lockup__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lockup__word {
  font-weight: 600;
  font-size: 52px;
  line-height: 0.86;
  letter-spacing: -0.04em;
}

/* межбуквенный интервал подгоняется скриптом под ширину слова «qpon» */
.lockup__slogan {
  margin-top: 9px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: oklch(0.7 0.075 86);
}

.cta__title {
  margin-top: 28px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: oklch(0.97 0.025 92);
  text-wrap: pretty;
}

.cta__lead {
  margin: 18px auto 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
}

.stores {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.stores a {
  display: block;
  border-radius: 11px;
  overflow: hidden;
  background: oklch(0.05 0 0);
  border: 1px solid oklch(0.42 0.03 262);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stores a:hover {
  transform: translateY(-2px);
  border-color: oklch(0.6 0.09 82);
}

.stores img { height: 54px; width: auto; }

.cta__owner {
  margin-top: 30px;
  font-size: 14px;
  color: var(--text-dim);
}


/* ==========================================================================
   14. Подвал
   ========================================================================== */

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

.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 40px;
  align-items: start;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 52px 40px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  width: 26px;
  height: 26px;
  padding: 3px;
  border-radius: 7px;
  background: oklch(var(--c-surface));
}

.footer__mark i {
  border: 2px solid var(--gold);
  border-radius: 1.5px;
}

.footer__mark i:last-child {
  border: 0;
  background: oklch(0.82 0.12 84);
}

.footer__word {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.footer__copy {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

/* ссылки на документы под копирайтом */
.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.4;
}
.footer__legal a { color: var(--text-faint); }
.footer__legal a:hover { color: oklch(0.96 0.025 90); }

.footer__nav {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  column-gap: 40px;
  row-gap: 12px;
  align-content: start;
  font-size: 14px;
}

.footer__nav a { color: oklch(0.76 0.01 258); }
.footer__nav a:hover { color: oklch(0.96 0.025 90); }

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
}

.footer__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer__phone {
  display: inline-block;
  margin-top: 5px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: oklch(var(--c-gold) / 0.1);
  border: 1px solid oklch(var(--c-gold-line-2) / 0.5);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.socials a:hover {
  background: oklch(var(--c-gold) / 0.2);
  border-color: oklch(0.6 0.09 82);
}

.socials svg { stroke: var(--gold); }
.socials svg.is-filled { stroke: none; fill: var(--gold); }


/* ==========================================================================
   15. Нижняя панель на мобильных
   ========================================================================== */

.actionbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: oklch(var(--c-ink) / 0.9);
  border-top: 1px solid oklch(var(--c-line) / 0.8);
}

.actionbar .btn--gold { flex: 1; padding: 15px 20px; }

.actionbar .btn--ghost {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 18px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--gold-text);
}


/* ==========================================================================
   16. Адаптив
   Граница 820px повторяет логику исходного макета (mob = ширина < 820).
   ========================================================================== */

@media (max-width: 1179px) {
  .nav { gap: 18px; }
}

@media (max-width: 819px) {
  html { scroll-padding-top: 76px; }

  /* шапка */
  .header__inner { padding: 12px 16px; }
  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; }

  /* первый экран */
  .hero { padding: 40px 20px 64px; }
  .hero__buttons { gap: 10px; }
  .hero__buttons .btn { flex: 1 1 140px; }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 36px;
  }
  .stats > div { padding: 18px 0 0; }
  .stats > div + div { padding-left: 0; }

  .phone { width: min(300px, 100%); }

  /* секции */
  .how { padding: 8px 20px 64px; }
  .section { padding: 64px 20px; }
  .panels { gap: 16px; padding: 20px 20px 44px; }
  .panel { padding: 32px 22px; }
  .cta { padding: 72px 20px 64px; }
  .footer__inner { padding: 40px 20px; }

  .step { padding: 20px 22px 24px; }
  .step__n { font-size: 44px; }
  .step h3 { margin-top: 10px; }

  .plans { grid-template-columns: 1fr; }

  .lockup { flex-direction: column; }

  /* нижняя панель */
  .actionbar { display: flex; }
  .actionbar.is-hidden { display: none; }
}
