/* ============================================================
   TikShop Pro — лендинг
   Тёмная база, один фиолетовый акцент, красный = утечки денег,
   зелёный = то, что осталось тебе. Больше двух акцентов на экран
   не выводим — иначе цифры перестают читаться.
   ============================================================ */

:root {
  --bg:        #0B0A14;
  --bg-2:      #100E1E;
  --panel:     #16142B;
  --panel-2:   #1C1936;
  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .16);

  --ink:       #FFFFFF;
  --ink-2:     #A7A3C2;
  --ink-3:     #6F6B90;

  --brand:     #7C5CFF;
  --brand-2:   #A48EFF;
  --brand-dim: rgba(124, 92, 255, .14);
  --tiktok:    #FE2C55;
  --leak:      #FF3B5C;
  --keep:      #3DDC84;
  --amber:     #FFB020;

  --paper:     #F4F4F9;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --maxw: 1200px;

  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }

/* ---------- каркас ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 380px) { .wrap { padding: 0 16px; } }
[id] { scroll-margin-top: 84px; }   /* якоря не уезжают под липкую навигацию */
.sec { padding: 112px 0; position: relative; }
.sec--tight { padding: 80px 0; }
.sec--alt { background: var(--bg-2); }
.sec--line { border-top: 1px solid var(--line); }
/* Десктопные 112px между блоками на узком экране складываются в стену
   пустоты (шапка+подвал двух соседних секций = больше экрана телефона) —
   на мобильном режем их примерно вдвое. */
@media (max-width: 680px) {
  .sec { padding: 60px 0; }
  .sec--tight { padding: 44px 0; }
  .hero { padding: 40px 0 48px; }
}

.head { max-width: 760px; margin-bottom: 56px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; margin: 0; overflow-wrap: break-word; }
h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; }
h3 { font-size: 20px; line-height: 1.3; }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 18px;
}
.lead { font-size: 19px; color: var(--ink-2); max-width: 660px; margin-top: 20px; }
.head--center .lead { margin-left: auto; margin-right: auto; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.mark { color: var(--keep); }
.mark--leak { color: var(--leak); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-size: 16px; font-weight: 600;
  padding: 15px 26px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--brand); color: #fff; text-decoration: none; white-space: nowrap;
  transition: background .16s var(--ease), transform .16s var(--ease), box-shadow .16s var(--ease);
  box-shadow: 0 8px 24px -12px rgba(124, 92, 255, .9);
}
.btn:hover { background: #6A48F5; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: transparent; border: 1px solid var(--line-2); color: var(--ink); box-shadow: none;
}
.btn--ghost:hover { background: var(--brand-dim); border-color: var(--brand); transform: none; }
.btn--sm { padding: 11px 18px; font-size: 14.5px; border-radius: 10px; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .75; cursor: default; transform: none; }

/* ---------- навигация ---------- */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(11, 10, 20, .72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .25s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(11, 10, 20, .9); }
/* Прячется при скролле вниз, чтобы не съедать экран на телефоне,
   и сразу возвращается при скролле вверх — куда бы ни долистал,
   меню на расстоянии одного свайпа. Открытое мобильное меню держим
   на месте, даже если в этот момент ловится скролл вниз. */
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-open { transform: translateY(0); }
.nav__in { display: flex; align-items: center; gap: 32px; height: 66px; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 17.5px; letter-spacing: -.02em; text-decoration: none; }
.brand__mark {
  width: 28px; height: 28px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(145deg, #9A7BFF, #5B3BE8);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px -4px rgba(124, 92, 255, .8);
}
.brand__mark svg { width: 14px; height: 14px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--ink-2); }
.nav__links a { text-decoration: none; transition: color .15s; }
.nav__links a:hover { color: var(--ink); }

/* переключатель языка — обычные ссылки на статические страницы */
.lang {
  display: flex; align-items: center; gap: 2px; flex-shrink: 0;
  padding: 3px; border: 1px solid var(--line-2); border-radius: 10px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em;
}
.lang a, .lang__on { padding: 5px 9px; border-radius: 7px; line-height: 1; text-decoration: none; }
.lang__on { background: var(--brand-dim); color: var(--brand-2); }
.lang a { color: var(--ink-3); transition: color .15s, background .15s; }
.lang a:hover { color: var(--ink); background: rgba(255, 255, 255, .07); }

/* Русские подписи в меню длиннее английских, поэтому прячем их раньше,
   чем шапка успевает переполниться. */
@media (max-width: 1080px) { .nav__links { display: none; } .nav__in { gap: 14px; } .nav .lang { margin-left: auto; } }

/* Бургер: заменяет .nav__links на узком экране, открывает .mobile-menu. */
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 34px; height: 34px; padding: 0; border: 0; background: transparent; cursor: pointer; flex-shrink: 0;
}
.burger span { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1080px) { .burger { display: flex; } }

.mobile-menu {
  display: none; flex-direction: column; padding: 4px 24px 12px;
  border-top: 1px solid var(--line);
}
.mobile-menu a {
  padding: 14px 4px; font-size: 15.5px; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a:hover { color: var(--ink); }
.nav.is-open .mobile-menu { display: flex; }
/* На узком экране кнопка в шапке сокращается, а не исчезает:
   липкий CTA нужен тем, кто уже дочитал до середины. */
.btn__short { display: none; }
@media (max-width: 480px) {
  .nav__in { gap: 10px; padding: 0 16px; }
  .brand { font-size: 15.5px; }
  .nav .btn--sm { padding: 10px 13px; font-size: 13.5px; }
  .lang { font-size: 11px; }
  .lang a, .lang__on { padding: 5px 7px; }
  .btn__long { display: none; }
  .btn__short { display: inline; }
}
@media (max-width: 360px) {
  .nav__in { gap: 8px; }
  .brand { font-size: 14.5px; gap: 8px; }
  .brand__mark { width: 24px; height: 24px; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 76px 0 104px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -320px 0 auto 50%;
  width: 1100px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(124, 92, 255, .28), transparent 64%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: 50%; top: 0; width: 200%; height: 100%;
  transform: translateX(-50%);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 20%, transparent 75%);
  opacity: .5; pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 56px; align-items: start;
}
@media (max-width: 1040px) { .hero__grid { grid-template-columns: 1fr; gap: 48px; } }

.hero h1 em { font-style: normal; color: var(--keep); }
.hero h1 s { text-decoration-color: var(--leak); text-decoration-thickness: 3px; color: var(--ink-3); }
.hero__sub { font-size: 19px; color: var(--ink-2); margin-top: 22px; max-width: 520px; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
  font-size: 13px; color: var(--ink-2); margin-bottom: 22px;
}
.pill b { color: var(--ink); font-weight: 600; }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--keep); box-shadow: 0 0 0 4px rgba(61, 220, 132, .16); }

/* ---------- формы ---------- */
.form { display: flex; gap: 10px; max-width: 500px; margin-top: 30px; }
.form input[type="email"] {
  flex: 1; min-width: 0; padding: 15px 16px;
  border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .05); color: var(--ink);
  font-family: var(--body); font-size: 16px;
  transition: border-color .15s, background .15s;
}
.form input::placeholder { color: var(--ink-3); }
.form input:focus { outline: none; border-color: var(--brand); background: rgba(255, 255, 255, .08); }
.form.is-error input { border-color: var(--leak); }
@media (max-width: 540px) { .form { flex-direction: column; } }
.form__note { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); max-width: 480px; }
.form__msg { margin-top: 10px; font-size: 14px; color: var(--leak); min-height: 0; }
.center .form { margin-left: auto; margin-right: auto; }
.center .form__note, .center .form__msg { margin-left: auto; margin-right: auto; text-align: center; }

/* квалификатор — появляется только после отправки имейла */
.qual {
  margin-top: 24px; max-width: 500px; padding: 22px;
  border: 1px solid var(--line-2); border-radius: var(--r);
  background: rgba(255, 255, 255, .035);
  display: none;
}
.qual.is-on { display: block; animation: rise .4s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.qual__step { display: none; }
.qual__step.is-on { display: block; }
.qual__q { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.qual__hint { font-size: 13.5px; color: var(--ink-3); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 15px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink-2);
  font-family: var(--body); font-size: 14px; transition: .15s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--brand-2); }
.chip.is-sel { background: var(--brand); border-color: var(--brand); color: #fff; }
.qual__done { font-size: 15px; color: var(--keep); font-weight: 500; }
.qual__done span { display: block; color: var(--ink-2); font-weight: 400; font-size: 14px; margin-top: 6px; }

/* ---------- попап заявки (кнопки в тарифах) ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 5, 12, .78); backdrop-filter: blur(6px); }
.modal__box {
  position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: linear-gradient(168deg, #221D46, #16132C 65%);
  border: 1px solid rgba(164, 142, 255, .3); border-radius: var(--r-lg);
  padding: 30px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9);
  animation: rise .28s var(--ease);
}
.modal__x {
  position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; line-height: 1;
  border: 0; background: transparent; color: var(--ink-3); font-size: 26px; cursor: pointer; border-radius: 8px;
}
.modal__x:hover { color: var(--ink); background: rgba(255, 255, 255, .07); }
.modal__plan {
  display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-2); background: var(--brand-dim); border: 1px solid rgba(124, 92, 255, .3);
  padding: 6px 11px; border-radius: 8px; margin-bottom: 16px;
}
.modal__box h3 { font-size: 22px; margin-bottom: 8px; }
.modal__sub { font-size: 14.5px; color: var(--ink-2); margin-bottom: 18px; }
.modal__step { display: none; }
.modal__step.is-on { display: block; }
/* Внутри попапа квалификатор — не отдельная карточка, рамка тут лишняя. */
.modal .qual { margin-top: 0; max-width: none; padding: 0; border: 0; background: none; }
@media (max-width: 480px) { .modal__box { padding: 24px 18px; } }

.trust { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust i { width: 6px; height: 6px; border-radius: 50%; background: var(--keep); flex-shrink: 0; }

/* ============================================================
   Виджет живого расчёта — главный элемент страницы
   ============================================================ */
.calc {
  position: relative;
  background: linear-gradient(168deg, #221D46, #16132C 60%);
  border: 1px solid rgba(164, 142, 255, .22);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: 0 48px 100px -36px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.calc__top { margin-bottom: 22px; }
.calc__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.calc__title { font-family: var(--display); font-size: 17.5px; font-weight: 700; margin-top: 5px; letter-spacing: -.02em; }

.bar { display: flex; height: 18px; border-radius: 7px; overflow: hidden; gap: 2px; margin-bottom: 7px; background: rgba(0, 0, 0, .3); }
.bar i { display: block; min-width: 0; transition: width .5s var(--ease), background .3s; }
.bar__legend { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); margin-bottom: 20px; }

.ledger { margin-bottom: 20px; }
.row {
  display: grid; grid-template-columns: 10px 1fr auto auto; align-items: center; gap: 11px;
  padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .055);
}
.row__chip { width: 9px; height: 9px; border-radius: 3px; }
.row__name { font-size: 14px; color: #CFCBE8; }
.row__name em { font-style: normal; display: block; font-size: 11.5px; color: var(--ink-3); }
.row__pct { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); min-width: 46px; text-align: right; }
.row__val { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 14px; min-width: 70px; text-align: right; }
.row--net { border-bottom: 0; padding-top: 15px; }
.row--net .row__name { color: #fff; font-weight: 600; font-size: 15px; }
.row--net .row__val { color: var(--keep); font-weight: 700; font-size: 15.5px; }
.row--net.is-loss .row__val { color: var(--leak); }

.out { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .09); border-radius: 14px; overflow: hidden; margin-bottom: 22px; }
.out > div { background: #131029; padding: 15px 14px; }
.out span { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; }
.out b { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.03em; display: block; line-height: 1; }
.v-net { color: var(--keep); } .v-net.is-loss { color: var(--leak); }
.v-mar { color: var(--brand-2); } .v-roi { color: var(--amber); } .v-be { color: var(--ink); }
@media (max-width: 560px) { .out { grid-template-columns: 1fr 1fr; } }

/* 2 колонки держим и на телефоне: ползунку не нужна полная ширина
   экрана, а в один столбец все 4 штуки растягивают виджет вдвое выше. */
.sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; min-width: 0; }
.sl { min-width: 0; }
.sl label { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--ink-3); margin-bottom: 9px; }
.sl label b { font-family: var(--mono); color: var(--ink); font-weight: 500; font-size: 13px; }
input[type="range"] {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .18); outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 17px; height: 17px; border-radius: 50%;
  background: var(--brand-2); border: 3px solid #221D46; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}
input[type="range"]::-moz-range-thumb {
  width: 17px; height: 17px; border-radius: 50%; background: var(--brand-2);
  border: 3px solid #221D46; cursor: pointer;
}
.calc__foot { margin-top: 16px; font-size: 12px; line-height: 1.5; color: var(--ink-3); }

/* Компактный виджет на телефоне: та же информация, но без лишнего
   воздуха между блоками — иначе калькулятор растягивается на два-три
   экрана и первое, что видит человек, — это сплошной скролл. */
@media (max-width: 620px) {
  .calc { padding: 18px 16px; }
  .calc__top { margin-bottom: 14px; }
  .bar { height: 14px; margin-bottom: 6px; }
  .bar__legend { margin-bottom: 12px; }
  .ledger { margin-bottom: 12px; }
  .row { grid-template-columns: 9px 1fr auto; gap: 9px; padding: 7px 0; }
  .row__pct { display: none; }
  .row__name em { display: none; }
  .row--net { padding-top: 10px; }
  .out { margin-bottom: 14px; }
  .out > div { padding: 10px 10px; }
  .out b { font-size: 20px; }
  .sl label { margin-bottom: 5px; font-size: 11.5px; }
  .calc__foot { margin-top: 10px; font-size: 11px; }
}

/* ---------- сетки и карточки ---------- */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid3, .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }
/* Элементы грида по умолчанию не сжимаются уже своего содержимого — на узких
   экранах это единственная причина горизонтальной прокрутки. */
.grid2 > *, .grid3 > *, .grid4 > *, .split > *, .plans > *, .pipe > *, .steps > * { min-width: 0; }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card__idx { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--leak); margin-bottom: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--top { align-items: start; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.colhead { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
/* Галочка — absolute, а не flex-элемент: во flex-раскладке <b> внутри
   пункта отрывался в отдельный flex-элемент и получал лишний gap
   («FBT Fulfillment ⎵⎵ — по габаритам и весу»). */
.ticks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.ticks li b { color: var(--ink); font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px;
  background: rgba(61, 220, 132, .16);
  -webkit-mask: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M4 9.2l3.2 3.2L14 5.4' fill='none' stroke='%233DDC84' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 18px 18px;
}
.ticks--hot li::before {
  background-color: rgba(255, 176, 32, .16);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M4 9.2l3.2 3.2L14 5.4' fill='none' stroke='%23FFB020' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* ---------- слоты под скриншоты ---------- */
.shot {
  margin: 0; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .9);
}
.shot img { width: 100%; height: auto; }
.shot figcaption {
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  padding: 11px 15px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .02);
}
/* пока настоящего скриншота нет — аккуратная заглушка вместо битой картинки */
.shot.is-missing img { display: none; }
.shot.is-missing .shot__ph { display: flex; }
.shot__ph {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 240px; padding: 32px 24px; text-align: center;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .022) 0 12px, transparent 12px 24px);
  border-bottom: 1px dashed var(--line-2);
}
.shot__ph b { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-2); }
.shot__ph span { font-size: 13.5px; color: var(--ink-3); max-width: 340px; }
.shot__ph code { font-family: var(--mono); font-size: 12px; color: var(--ink-2); background: rgba(255, 255, 255, .06); padding: 3px 8px; border-radius: 6px; }

/* ============================================================
   Водопад «иллюзия маржи» — самый убедительный блок страницы
   ============================================================ */
.fall { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 780px) { .fall { grid-template-columns: 1fr; } }
.fall__col { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--panel); }
.fall__col--real { border-color: rgba(124, 92, 255, .4); background: linear-gradient(170deg, #1E1A3C, var(--panel)); }
.fall__h { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 18px; }
.fall__col--real .fall__h { color: var(--brand-2); }
/* колонки разной высоты — итог прижимаем вниз, чтобы суммы читались на одной линии */
.fall__list { display: block; flex: 1 1 auto; margin-bottom: 16px; }
.fall__i { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14.5px; color: var(--ink-2); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.fall__i b { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 500; color: #D6D2EC; }
.fall__i--rev { color: var(--ink); }
.fall__i--rev b { color: var(--ink); }
.fall__sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.fall__sum span { font-size: 15px; font-weight: 600; }
.fall__sum b { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.fall__col--sheet .fall__sum b { color: var(--leak); }
.fall__col--real .fall__sum b { color: var(--keep); }
.fall__margin { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.fall__note { margin-top: 22px; padding: 18px 20px; border-radius: var(--r); background: rgba(255, 59, 92, .08); border: 1px solid rgba(255, 59, 92, .22); font-size: 15.5px; color: #FFC9D2; }
.fall__note b { color: #fff; }

/* ---------- пайплайн ---------- */
.pipe { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
@media (max-width: 900px) { .pipe { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pipe { grid-template-columns: 1fr; } }
.pipe__s { padding: 26px 24px; border-right: 1px solid var(--line); }
.pipe__s:last-child { border-right: 0; }
.pipe__n { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--brand-2); margin-bottom: 14px; }
.pipe__s h3 { font-size: 16.5px; margin-bottom: 8px; }
.pipe__s p { font-size: 14px; color: var(--ink-2); }
.pipe__t { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--keep); }

/* ---------- шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 56px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 20px; } }
.step__n { display: block; font-family: var(--display); font-size: 46px; font-weight: 700; line-height: 1; color: rgba(255, 255, 255, .12); margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- видео ---------- */
.video {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-2); background: #0A0813;
  aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 24px;
}
.video__play {
  width: 72px; height: 72px; border-radius: 50%; background: var(--brand);
  display: grid; place-items: center; margin: 0 auto 20px;
  box-shadow: 0 0 0 12px rgba(124, 92, 255, .14);
}
.video__play::after { content: ""; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 6px; }
.video p { color: var(--ink-2); font-size: 15px; }
.video small { display: block; margin-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .08em; }
.beats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; margin-top: 1px; }
@media (max-width: 860px) { .beats { grid-template-columns: 1fr 1fr; } }
.beats > div { background: var(--panel); padding: 15px 17px; }
.beats b { display: block; font-family: var(--mono); font-size: 11px; color: var(--brand-2); margin-bottom: 5px; }
.beats span { font-size: 13.5px; color: var(--ink-2); }

/* ---------- скоринг-чеклист ---------- */
.score { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 24px; }
.score__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.score__top h3 { font-size: 17px; }
.score__badge { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 8px; background: rgba(61, 220, 132, .14); color: var(--keep); white-space: nowrap; }
.score__f { display: grid; grid-template-columns: 1fr 90px 54px; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: 14.5px; }
.score__f:last-child { border-bottom: 0; }
.score__f span { color: var(--ink-2); min-width: 0; overflow-wrap: break-word; }
.score__meter { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.score__meter i { display: block; height: 100%; border-radius: 3px; background: var(--brand); }
.score__f b { font-family: var(--mono); font-size: 13px; text-align: right; color: var(--ink); }
.score__f.is-na .score__meter i { background: var(--ink-3); }
.score__f.is-na b { color: var(--ink-3); }
.score__note { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); }
/* Полоски прогресса на узком экране не помещаются рядом с длинными подписями —
   балл важнее полоски, поэтому убираем именно её. */
@media (max-width: 560px) {
  .score { padding: 20px 18px; }
  .score__f { grid-template-columns: 1fr auto; gap: 12px; }
  .score__meter { display: none; }
}

/* ---------- таблица сравнения ----------
   Раньше было 6 колонок (селлер + 4 конкурента + мы) с min-width:760px —
   на телефоне это означало обязательный свайп по горизонтали. Конкурентов
   свернули в одну колонку «Аналитика», TikShop Pro — сразу вторая колонка
   (главная), итого 4 колонки шириной в fixed-раскладке — влезает без
   прокрутки на любом телефоне. .tablewrap оставлен как страховка. */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; table-layout: fixed; width: 100%; font-size: 14.5px; }
th:first-child, td:first-child { width: 34%; }
th:not(:first-child), td:not(:first-child) { width: 22%; }
th, td { padding: 15px 10px; text-align: left; border-bottom: 1px solid var(--line); overflow-wrap: break-word; }
thead th { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
tbody td { color: var(--ink-2); }
tbody td:first-child { color: var(--ink); }
tbody td:not(:first-child) { text-align: center; }
th.us { background: rgba(124, 92, 255, .14); color: var(--brand-2); }
td.us { background: rgba(124, 92, 255, .07); color: var(--ink); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.no { color: var(--ink-3); }
.yes { color: var(--keep); font-weight: 600; }
@media (max-width: 480px) {
  th, td { padding: 11px 6px; font-size: 12px; }
  thead th { font-size: 8.5px; letter-spacing: .04em; }
}

/* ---------- roadmap ---------- */
.road { display: grid; border-left: 2px solid var(--line); margin-left: 6px; }
.road__i { position: relative; padding: 0 0 36px 30px; }
.road__i:last-child { padding-bottom: 0; }
.road__i::before {
  content: ""; position: absolute; left: -8px; top: 5px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line-2);
}
.road__i--now::before { background: var(--keep); border-color: var(--keep); box-shadow: 0 0 0 5px rgba(61, 220, 132, .16); }
.road__tag { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; }
.road__i--now .road__tag { color: var(--keep); }
.road__i h3 { font-size: 18px; margin-bottom: 6px; }
.road__i p { font-size: 15px; color: var(--ink-2); }

.vote { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 28px; position: sticky; top: 90px; }
@media (max-width: 980px) { .vote { position: static; } }
.vote h3 { margin-bottom: 6px; }
.vote > p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 20px; }
.vopt {
  display: flex; align-items: center; gap: 12px; padding: 13px 15px; margin-bottom: 9px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 11px; font-size: 15px; color: var(--ink-2);
  transition: .15s var(--ease);
}
.vopt:hover { border-color: var(--brand); color: var(--ink); }
.vopt input { accent-color: var(--brand); width: 17px; height: 17px; flex-shrink: 0; cursor: pointer; }
.vote__done { display: none; color: var(--keep); font-size: 15px; font-weight: 500; }
.vote.is-done .vopt, .vote.is-done .vote__btn { display: none; }
.vote.is-done .vote__done { display: block; }

/* ---------- тарифы ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.plan--hi { border-color: var(--brand); background: linear-gradient(170deg, #251F52, #191534); position: relative; }
.plan__badge {
  position: absolute; top: -12px; left: 30px; background: var(--brand); color: #fff;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 7px;
}
.plan__name { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.plan__price { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -.035em; line-height: 1; margin-bottom: 6px; }
.plan__price s { font-size: 20px; color: var(--ink-3); font-weight: 400; margin-right: 10px; }
.plan__per { font-size: 13.5px; color: var(--ink-2); margin-bottom: 24px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; font-size: 14.5px; color: var(--ink-2); }
/* Тире выносим в absolute, а не во flex-раскладку: при display:flex каждый
   inline-элемент внутри пункта (например <span> с подставляемой ценой)
   становится отдельным flex-элементом и получает свой gap — строка
   «Дальше — $29 разово» разъезжалась рваными пробелами. */
.plan li { position: relative; padding-left: 20px; }
.plan li::before { content: "—"; position: absolute; left: 0; top: 0; color: var(--ink-3); }
.plan li b { color: var(--ink); font-weight: 600; }

/* ---------- кто это делает ---------- */
.founder {
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px;
}
.founder h2 { font-size: clamp(22px, 2.6vw, 30px); }
@media (max-width: 640px) {
  .founder { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 32px 24px; }
}
.shot--avatar {
  width: 132px; height: 132px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(124, 92, 255, .4); box-shadow: none;
}
.shot--avatar img { width: 100%; height: 100%; object-fit: cover; }
.shot--avatar .shot__ph { min-height: 0; width: 100%; height: 100%; padding: 8px; background: none; border-bottom: none; }
.shot--avatar .shot__ph span { font-size: 11px; max-width: 100px; }

/* ---------- FAQ ---------- */
details { background: var(--panel); border: 1px solid var(--line); border-radius: 13px; margin-bottom: 10px; overflow: hidden; }
details[open] { border-color: var(--line-2); }
summary {
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); font-size: 21px; color: var(--brand-2); flex-shrink: 0; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding: 0 24px 22px; color: var(--ink-2); font-size: 15.5px; max-width: 800px; }

/* ---------- CTA ---------- */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(124, 92, 255, .2), transparent 65%);
  pointer-events: none;
}
.cta .wrap { position: relative; z-index: 1; }

/* ---------- footer ---------- */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding: 54px 0 40px; color: var(--ink-2); font-size: 14.5px; }
.foot__in { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: center; }
.foot a { text-decoration: none; transition: color .15s; }
.foot a:hover { color: var(--ink); }
.foot__links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot__legal { width: 100%; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 10px; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }

/* ---------- юридические страницы ---------- */
.doc { max-width: 780px; margin: 0 auto; padding: 64px 24px 96px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 12px; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc p { margin-bottom: 14px; }
.doc ul { padding-left: 20px; display: grid; gap: 8px; margin: 0 0 14px; }
.doc__meta { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); margin-bottom: 32px; }
.doc__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.doc__back { display: inline-block; font-size: 14.5px; color: var(--brand-2); text-decoration: none; }
.doc__top .doc__back { margin-bottom: 0; }
.doc__note { border: 1px solid rgba(255, 176, 32, .3); background: rgba(255, 176, 32, .07); border-radius: var(--r); padding: 18px 20px; color: #FFDFA8; font-size: 14.5px; margin-bottom: 32px; }

/* ---------- появление при скролле ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- печать ---------- */
@media print {
  .nav, .video, .form, .qual { display: none; }
  body { background: #fff; color: #000; }
}
