/* Лендинг */

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
html { scroll-padding-top: 84px; scroll-behavior: smooth; }

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ---------- общие анимации ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes word { from { opacity: 0; transform: translateY(.42em) rotate(2deg); filter: blur(8px); } }
@keyframes draw { from { transform: scaleX(0); } }
@keyframes shimmer { 0%, 55% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes growW { from { width: 0; } }
@keyframes mockIn { from { opacity: 0; transform: translateY(34px) scale(.97); } }
@keyframes floatIn { from { opacity: 0; transform: translateX(36px) scale(.92); } }
@keyframes chipIn { from { opacity: 0; transform: translateY(-14px) scale(.9); } }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -7px; } }
@keyframes ping { to { transform: scale(2.6); opacity: 0; } }
@keyframes shine { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(120%); } }
@keyframes gridMove { to { background-position: 56px 56px, 56px 56px; } }
@keyframes drift { to { transform: translate(-90px, 70px) scale(1.15); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.94); } }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes tgIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
@keyframes pulseRow { 0%, 100% { background-color: transparent; } 50% { background-color: var(--critical-soft); } }
@keyframes spinBorder { to { --ang: 360deg; } }
@keyframes gradientShift { 50% { background-position: 100% 50%; } }
@keyframes coin { 0% { transform: translateY(0) rotate(0); opacity: 0; } 15%, 80% { opacity: .2; } 100% { transform: translateY(-280px) rotate(30deg); opacity: 0; } }

.enter { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0ms); }

/* Появление при прокрутке: базовое состояние — финальное, скрываем только при работающем JS */
html.js:not(.rm) [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0ms);
}
html.js:not(.rm) [data-reveal].is-in { opacity: 1; transform: none; }

.live-dot { position: relative; display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 1.8s ease-out infinite; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 5px 12px 5px 10px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-soft-ink); font-size: 13px; font-weight: 700;
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Кнопки с бликом */
.landing .btn-primary { position: relative; overflow: hidden; }
.landing .btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-20deg); transition: left .7s ease; pointer-events: none;
}
.landing .btn-primary:hover::after { left: 130%; }

/* ---------- полоса прогресса и шапка ---------- */

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress i {
  display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand), var(--series-1));
}

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .35); }
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.site-nav { display: flex; gap: 4px; margin-left: 12px; }
.site-nav a {
  position: relative; padding: 8px 12px; border-radius: 9px;
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 14.5px;
}
.site-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.menu-toggle, .nav-mobile-only { display: none; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--surface);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* ---------- заявка на ранний доступ ---------- */

.lead-dialog {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0;
  border: 1px solid var(--line); border-radius: 22px; background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.lead-dialog[open] { animation: pop .35s cubic-bezier(.2, .9, .3, 1.15); }
.lead-dialog::backdrop { background: rgba(8, 12, 10, .55); backdrop-filter: blur(3px); }
.lead-form, .lead-done { display: grid; gap: 18px; padding: 26px; }
.lead-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lead-head .kicker { margin-bottom: 10px; }
.lead-head h2 { font-size: 22px; letter-spacing: -0.025em; }
.lead-head p { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; }
.lead-body { display: grid; gap: 14px; }
.lf { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.lf-label { font-size: 13.5px; font-weight: 600; padding: 0; }
.lf-input {
  width: 100%; height: 44px; padding: 0 12px; border-radius: 11px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 15px;
}
.lf-input:focus { outline: 0; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent); }
.lf-input[aria-invalid="true"] { border-color: var(--critical); }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lf-err { font-style: normal; font-size: 12.5px; color: var(--critical-text); min-height: 0; }
.lf-err:empty { display: none; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.choice input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-soft-ink); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.lf-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.lf-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--brand); }
.lf-check a { color: var(--brand-soft-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-error { padding: 10px 12px; border-radius: 10px; background: var(--critical-soft); color: var(--critical-text); font-size: 13.5px; }
.lead-error[hidden] { display: none; }
.lead-foot .btn { width: 100%; }
.lead-foot .btn[disabled] { opacity: .7; cursor: progress; }
.lead-done { justify-items: center; text-align: center; padding: 36px 28px; }
.lead-done[hidden], .lead-form[hidden] { display: none; }
.lead-done-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-soft-ink); animation: pop .5s cubic-bezier(.2, .9, .3, 1.3); }
.lead-done-ic .ic { stroke-width: 2.6; }
.lead-done h2 { font-size: 24px; }
.lead-done p { color: var(--ink-2); max-width: 380px; }
.lead-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }

/* ---------- первый экран ---------- */

.hero { position: relative; padding: 64px 0 40px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 55% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 55% 35%, #000 25%, transparent 75%);
  opacity: .7; animation: gridMove 30s linear infinite;
}
.blob { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); }
.blob-a { top: -180px; right: 6%; background: var(--brand); opacity: .28; animation: drift 18s ease-in-out infinite alternate; }
.blob-b { bottom: -260px; right: 34%; background: var(--series-1); opacity: .18; animation: drift 24s ease-in-out infinite alternate-reverse; }
.spotlight {
  position: absolute; width: 640px; height: 640px; left: var(--sx, 72%); top: var(--sy, 35%);
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 13%, transparent), transparent);
  transition: left .35s ease-out, top .35s ease-out;
}

.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.hero-title {
  margin-top: 22px;
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.03;
  text-wrap: balance;
}
.hero-title .w {
  display: inline-block;
  animation: word .9s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(120ms + var(--i) * 85ms);
}
.hl {
  position: relative; white-space: nowrap; padding-bottom: .04em;
  color: var(--brand);
  background: linear-gradient(100deg, var(--brand) 0 40%, #8ff0c4 50%, var(--brand) 60% 100%);
  background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-title .hl {
  animation: word .9s cubic-bezier(.2, .7, .2, 1) both, shimmer 5s ease-in-out 1.6s infinite;
  animation-delay: calc(120ms + var(--i) * 85ms), 1.6s;
}
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .13em;
  background: var(--brand); opacity: .2; border-radius: 4px;
  transform-origin: left; animation: draw .8s cubic-bezier(.2, .7, .2, 1) 1s both;
}
.lead { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 560px; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-2); }
.trust .ic { color: var(--brand); }

/* Макет отчёта */
.hero-visual { position: relative; perspective: 1400px; }
.tilt {
  position: relative; padding: 28px 0 156px 28px;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.mock { padding: 22px; box-shadow: var(--shadow-lg); border-radius: 20px; animation: mockIn 1s cubic-bezier(.2, .7, .2, 1) .15s both; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mock-label { font-size: 13px; color: var(--muted); }
.mock-store { display: flex; align-items: center; gap: 6px; font-weight: 600; margin-top: 2px; }
.mock .status .live-dot { width: 7px; height: 7px; }
.mock-revenue {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2);
}
.mock-revenue strong { font-size: 20px; color: var(--ink); }
.mock-bars { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.mock-bars li {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px;
  font-size: 13px; color: var(--ink-2); white-space: nowrap;
}
.mock-bars b { text-align: right; font-weight: 500; color: var(--ink); }
.mock-bars i {
  grid-column: 1 / -1; grid-row: 2;
  display: block; height: 6px; border-radius: 0 4px 4px 0;
  width: var(--w); min-width: 4px; background: var(--bar-muted);
  animation: growW .9s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(550ms + var(--i) * 100ms);
}
.mock-total {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; row-gap: 2px;
  margin-top: 16px; padding: 16px; border-radius: 14px;
  background: var(--brand-soft);
}
.mock-total::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); animation: shine 6s ease-in-out 2.2s infinite;
}
.mock-total span { font-weight: 600; color: var(--brand-soft-ink); }
.mock-total strong { font-size: 30px; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.mock-total em { grid-column: 2; text-align: right; font-style: normal; font-size: 13px; color: var(--brand-soft-ink); }

.float { position: absolute; box-shadow: var(--shadow-lg); border-radius: 16px; }
.float-tg {
  display: flex; gap: 12px; width: 318px; padding: 14px;
  right: -18px; bottom: 0;
  animation: floatIn .8s cubic-bezier(.2, .9, .3, 1.15) 1.9s both, bob 5s ease-in-out 2.8s infinite alternate;
}
.tg-content { min-width: 0; }
.float-tg p { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); margin-top: 3px; min-height: 3em; }
.float-tg p b { color: var(--ink); }
.tg-avatar { position: relative; flex: none; }
.tg-avatar .logo-mark { width: 36px; height: 36px; }
.tg-ping {
  position: absolute; top: -3px; right: -3px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--critical); border: 2px solid var(--surface);
}
.tg-ping::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; background: var(--critical); animation: ping 1.6s ease-out infinite; }
.tg-name { font-weight: 600; font-size: 13.5px; display: flex; justify-content: space-between; gap: 8px; }
.tg-name span { font-weight: 400; color: var(--muted); font-size: 12px; }
.tg-btn {
  display: inline-block; margin-top: 9px; padding: 6px 11px; border-radius: 8px;
  background: var(--surface-2); color: var(--series-1); font-weight: 600; font-size: 13px;
}
.float-chip {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  top: 0; left: -8px; font-size: 13.5px; color: var(--ink-2);
  animation: chipIn .7s cubic-bezier(.2, .9, .3, 1.3) 1.5s both, bob 6s ease-in-out 2.3s infinite alternate-reverse;
}
.float-chip b { color: var(--ink); }

/* ---------- бегущая строка ---------- */

.ticker { display: grid; gap: 12px; padding: 30px 0 10px; }
.ticker-title { text-align: center; font-size: 14px; font-weight: 500; color: var(--muted); padding: 0 16px; }
.marquee { overflow: hidden; padding: 2px 16px; }
.marquee-track { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 10px; }
.marquee.is-ready {
  padding: 2px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee.is-ready .marquee-track { flex-wrap: nowrap; width: max-content; animation: marquee 90s linear infinite; }
.marquee-rev.is-ready .marquee-track { animation-direction: reverse; animation-duration: 100s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 40px; padding: 0 16px; margin-right: 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
}
.chip .ic { color: var(--brand); }
.chip-warn .ic { color: var(--serious-text); }
.chip b { color: var(--critical-text); font-weight: 600; }

/* ---------- секции ---------- */

.section { padding: 80px 0; }
.section-head { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin: 0; text-align: left; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 44px); letter-spacing: -0.035em; text-wrap: balance; }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.footnote { margin-top: 16px; font-size: 13px; color: var(--muted); }
.footnote.center { text-align: center; margin-top: 24px; }

/* Подсветка карточек за курсором */
.bento-card, .plan, .pain { position: relative; overflow: hidden; }
.bento-card::before, .plan::before, .pain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--brand) 11%, transparent), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.bento-card:hover::before, .plan:hover::before, .pain:hover::before { opacity: 1; }
.bento-card > *, .plan > *, .pain > * { position: relative; z-index: 1; }

/* ---------- проблема ---------- */

.pains { padding-top: 56px; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain { display: flex; flex-direction: column; padding: 26px; }
.pain strong { display: block; font-size: 44px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.pain strong small { font-size: 22px; font-weight: 700; color: var(--muted); letter-spacing: -0.02em; }
.pain p { margin-top: 12px; color: var(--ink-2); }
.pain-viz { margin-top: auto; padding-top: 24px; }

.viz-half { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 0; font-size: 12px; color: var(--muted); }
.viz-half i { grid-column: 1 / -1; position: relative; height: 10px; border-radius: 999px; background: var(--series-1); overflow: hidden; }
.viz-half i::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 50%;
  background: var(--bar-muted); border-right: 2px solid var(--surface);
  transition: width 1.2s cubic-bezier(.2, .7, .2, 1) .45s;
}
.viz-half span:last-child { text-align: right; }

.viz-days { display: grid; grid-template-columns: repeat(15, 1fr); gap: 5px; }
.viz-days i {
  aspect-ratio: 1; border-radius: 50%; background: var(--series-1);
  transition: background-color .3s ease, transform .3s ease;
  transition-delay: calc(400ms + var(--i) * 45ms);
}

.viz-slice { position: relative; height: 10px; border-radius: 999px; background: var(--bar-muted); overflow: hidden; }
.viz-slice i {
  position: absolute; top: 0; bottom: 0; right: 0; width: 7.5%;
  background: var(--series-1); border-left: 2px solid var(--surface);
  transition: width 1.4s cubic-bezier(.2, .7, .2, 1) .5s;
}

html.js:not(.rm) .pain:not(.is-in) .viz-half i::before { width: 0; }
html.js:not(.rm) .pain:not(.is-in) .viz-days i { background: var(--surface-3); transform: scale(.6); }
html.js:not(.rm) .pain:not(.is-in) .viz-slice i { width: 100%; }

/* ---------- калькулятор ---------- */

.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-md); }
.calc-inputs { display: grid; gap: 24px; align-content: start; padding: 32px; }
.calc-result {
  display: grid; gap: 22px; align-content: start; padding: 32px;
  background: linear-gradient(160deg, var(--brand-soft), var(--surface-2) 60%);
  border-left: 1px solid var(--line);
}
.field { display: grid; gap: 10px; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field label, .field-label { font-size: 14px; font-weight: 600; }
.field output { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.calc-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.landing input[type="range"] {
  --p: 50%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 26px; margin: 0; background: transparent; cursor: pointer;
}
.landing input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) var(--p), var(--surface-3) var(--p));
}
.landing input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--brand); box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
  transition: transform .15s;
}
.landing input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.12); }
.landing input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.22); }
.landing input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--surface-3); }
.landing input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--brand); }
.landing input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); }

.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; }
.seg button {
  height: 34px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent;
  font-weight: 600; font-size: 13.5px; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s;
}
.seg button:hover { color: var(--ink); }
.seg button.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

.calc-big { display: grid; gap: 2px; }
.calc-big span { font-size: 14px; font-weight: 600; color: var(--brand-soft-ink); }
.calc-big strong { font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; }
.calc-big strong.is-neg { color: var(--critical-text); }
.calc-big em { font-style: normal; font-size: 14px; color: var(--ink-2); }

.waffle-wrap { display: flex; align-items: center; gap: 22px; }
.waffle { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; width: 170px; flex: none; }
.waffle i {
  aspect-ratio: 1; border-radius: 3px; background: var(--bar-muted); opacity: .55;
  transition: background-color .35s ease, opacity .35s ease, transform .35s ease;
  transition-delay: calc(var(--i) * 4ms);
}
.waffle i.on { background: var(--series-1); opacity: 1; transform: scale(1.06); }
.waffle-title { font-size: 15px; line-height: 1.45; }
.waffle-title b { font-variant-numeric: tabular-nums; }
.waffle-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.lg-profit { background: var(--series-1); }
.lg-cost { background: var(--bar-muted); }
.lg-wb { background: var(--wb); }
.lg-oz { background: var(--ozon); }
.lg-ym { background: var(--ym); }

.calc-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.calc-rows li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 52px; gap: 4px 12px; align-items: baseline;
  font-size: 13.5px;
}
.cr-label { color: var(--ink-2); }
.cr-val { font-weight: 600; text-align: right; white-space: nowrap; }
.cr-pct { color: var(--muted); text-align: right; }
.cr-bar { grid-column: 1 / -1; height: 6px; }
.cr-bar i { display: block; height: 100%; width: 0; min-width: 2px; border-radius: 0 4px 4px 0; background: var(--bar-muted); transition: width .55s cubic-bezier(.2, .7, .2, 1); }

/* ---------- возможности (бенто) ---------- */

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento-card { grid-column: span 2; display: flex; flex-direction: column; gap: 22px; padding: 26px; border-radius: 20px; }
.b-wide { grid-column: span 4; flex-direction: row; align-items: stretch; }
.b-wide .bento-text { flex: 1; }
.b-wide .bento-viz { flex: 1.15; }
.b-full { grid-column: span 6; flex-direction: row; align-items: center; }
.b-full .bento-text { flex: 1; }
.b-full .bento-viz { flex: 1.3; }
.feature-ic {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: var(--brand-soft); color: var(--brand-soft-ink);
}
.bento-text h3 { margin-top: 18px; font-size: 20px; letter-spacing: -0.02em; }
.bento-text p { margin-top: 10px; color: var(--ink-2); }
.bento-viz { border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); min-width: 0; }

/* таблица прибыли */
.viz-table { display: grid; gap: 4px; align-content: center; padding: 16px; }
.vt-head { display: flex; justify-content: space-between; padding: 0 8px 6px; font-size: 12px; color: var(--muted); }
.vt-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; align-items: baseline;
  padding: 7px 8px; border-radius: 9px; font-size: 13.5px;
}
.vt-row span { grid-row: 1; grid-column: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-row b { grid-row: 1; grid-column: 2; font-weight: 600; font-variant-numeric: tabular-nums; }
.vt-row i {
  grid-row: 2; grid-column: 1 / -1; display: block; height: 6px; width: var(--w); border-radius: 0 4px 4px 0;
  background: var(--series-1);
  transition: width .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(350ms + var(--i) * 90ms);
}
.vt-row.is-neg i { background: var(--critical); }
.vt-row.is-neg b { display: inline-flex; align-items: center; gap: 4px; color: var(--critical-text); }
.is-in .vt-row.is-neg { animation: pulseRow 2.6s ease-in-out 1.6s infinite; }
html.js:not(.rm) .bento-card:not(.is-in) .vt-row i { width: 0; }

/* претензия */
.viz-doc { position: relative; flex: 1; display: grid; place-items: center; min-height: 230px; padding: 20px; overflow: hidden; }
.doc {
  display: grid; gap: 8px; width: 100%; max-width: 230px; padding: 18px;
  background: var(--surface); border-radius: 10px; box-shadow: var(--shadow-md); transform: rotate(-2.5deg);
}
.doc > b { font-size: 12px; letter-spacing: .14em; }
.doc-sub { margin-top: -4px; font-size: 11px; color: var(--muted); }
.ln {
  display: block; height: 6px; width: var(--w); border-radius: 3px; background: var(--surface-3);
  transition: width .6s ease; transition-delay: calc(450ms + var(--i) * 160ms);
}
.doc-sum { margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }
.doc-sum b { color: var(--ink); }
.stamp {
  position: absolute; right: 9%; bottom: 13%;
  padding: 7px 11px; border: 2.5px solid var(--good-text); border-radius: 8px;
  color: var(--good-text); background: color-mix(in srgb, var(--surface) 75%, transparent);
  font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; line-height: 1.2; text-align: center;
  transform: rotate(-12deg);
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) 1.35s, opacity .25s ease 1.35s;
}
html.js:not(.rm) .bento-card:not(.is-in) .ln { width: 0; }
html.js:not(.rm) .bento-card:not(.is-in) .stamp { opacity: 0; transform: rotate(-12deg) scale(2.3); }

/* выплаты */
.viz-pay { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; flex: 1; padding: 18px 14px 14px; align-content: end; }
.vp-col { display: grid; grid-template-rows: 64px 64px auto; justify-items: center; }
.vp-col::after { content: ""; grid-row: 1; grid-column: 1; align-self: end; width: calc(100% + 6px); height: 1px; background: var(--axis); }
.vp-col i {
  grid-row: 1; grid-column: 1; align-self: end; display: block; width: 58%; max-width: 22px; height: var(--h);
  background: var(--series-1); border-radius: 4px 4px 0 0;
  transition: height .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(350ms + var(--i) * 110ms);
}
.vp-col.is-out i { grid-row: 2; align-self: start; background: var(--bar-muted); border-radius: 0 0 4px 4px; }
.vp-col span { grid-row: 3; margin-top: 6px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.vp-alert {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px;
  font-size: 12.5px; font-weight: 600; color: var(--critical-text);
  transition: opacity .4s ease 1.2s;
}
html.js:not(.rm) .bento-card:not(.is-in) .vp-col i { height: 0; }
html.js:not(.rm) .bento-card:not(.is-in) .vp-alert { opacity: 0; }

/* акции */
.viz-promo { display: grid; gap: 12px; flex: 1; align-content: center; padding: 22px 20px; }
.vpr-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: var(--ink-2); }
.vpr-row b { font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.vpr-out b.is-good { color: var(--good-text); }
.vpr-out b.is-bad { color: var(--critical-text); }
.vpr-track { position: relative; height: 8px; margin: 30px 0 10px; border-radius: 999px; background: var(--surface-3); }
.vpr-fill { position: absolute; top: 0; bottom: 0; left: 0; width: 20%; border-radius: inherit; background: var(--brand); }
.vpr-fill.is-bad { background: var(--critical); }
.vpr-thumb {
  position: absolute; top: 50%; left: 20%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--brand); box-shadow: var(--shadow-sm);
}
.vpr-thumb.is-bad { border-color: var(--critical); }
.vpr-mark { position: absolute; top: -7px; bottom: -7px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--ink); }
.vpr-mark em {
  position: absolute; bottom: calc(100% + 5px); left: 50%; transform: translateX(-50%);
  font-style: normal; font-size: 11px; color: var(--muted); white-space: nowrap;
}

/* уведомления */
.viz-tg { position: relative; display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 200px; padding: 14px; overflow: hidden; }
.viz-tg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(transparent, var(--surface-2)); pointer-events: none; }
.tgn {
  display: flex; gap: 10px; align-items: flex-start; flex: none;
  padding: 10px 12px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-sm);
  font-size: 12.5px; line-height: 1.4;
}
.tgn.is-new { animation: tgIn .55s cubic-bezier(.2, .9, .3, 1.2) both; }
.tgn .logo-mark { width: 24px; height: 24px; flex: none; }
.tgn b { display: block; font-size: 13px; }
.tgn span { color: var(--ink-2); }

/* WB и Ozon */
.viz-split { display: grid; gap: 14px; padding: 24px; }
.vs-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.vs-total b { font-size: 30px; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); }
.vs-bar { display: flex; gap: 2px; height: 14px; }
.vs-bar i { display: block; height: 100%; width: var(--w); transition: width 1.1s cubic-bezier(.2, .7, .2, 1) .45s; }
.vs-wb { background: var(--wb); border-radius: 4px 0 0 4px; }
.vs-oz { background: var(--ozon); }
.vs-ym { background: var(--ym); border-radius: 0 4px 4px 0; }
.vs-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; color: var(--ink-2); }
.vs-legend b { color: var(--ink); font-weight: 600; }
html.js:not(.rm) .bento-card:not(.is-in) .vs-bar i { width: 0; }

/* ---------- живое демо ---------- */

.demo-section { overflow: hidden; }
.demo-stage { position: relative; perspective: 1700px; }
.demo-stage::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 10%; bottom: -5%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent);
  filter: blur(30px);
}
.browser {
  --t: 1;
  transform: translateY(calc((1 - var(--t)) * 40px)) rotateX(calc((1 - var(--t)) * 24deg)) scale(calc(.88 + var(--t) * .12));
  transform-origin: 50% 0;
  overflow: hidden; border-radius: 18px; border: 1px solid var(--line-strong);
  background: var(--surface); box-shadow: var(--shadow-lg);
}
html.js:not(.rm) .browser { --t: 0; will-change: transform; }
.browser-bar {
  display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 10px 0 16px;
  background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: 7px; flex: none; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.url {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  max-width: 420px; height: 28px; margin: 0 auto; padding: 0 12px; border-radius: 8px;
  background: var(--surface); font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden;
}
.browser-view { position: relative; height: 700px; overflow: hidden; background: var(--bg); }
.browser-view iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; }
.browser-view .demo-cover { display: none; position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); box-shadow: var(--shadow-lg); }

/* ---------- Telegram ---------- */

.tg-section { background: var(--surface); border-block: 1px solid var(--line); }
.tg-grid { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center; }
.tg-copy h2 { font-size: clamp(30px, 3.8vw, 44px); letter-spacing: -0.035em; text-wrap: balance; }
.tg-copy > p { margin-top: 14px; font-size: 17px; color: var(--ink-2); max-width: 520px; }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ic { color: var(--brand); margin-top: 3px; stroke-width: 2.4; }
.tg-try { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.tg-try[hidden] { display: none; }
.tg-try p { font-size: 14px; color: var(--muted); }

.phone { border-radius: 36px; padding: 12px; background: var(--ink); box-shadow: var(--shadow-lg); }
.phone-top {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: var(--surface); border-radius: 26px 26px 0 0; border-bottom: 1px solid var(--line);
}
.phone-top .logo-mark { width: 34px; height: 34px; }
.phone-top b { display: block; font-size: 14.5px; line-height: 1.2; }
.phone-top span { font-size: 12.5px; color: var(--muted); }
.phone-chat {
  display: grid; gap: 10px; padding: 14px; min-height: 440px; align-content: start;
  background: var(--surface-2); border-radius: 0 0 26px 26px;
}
.msg {
  position: relative; padding: 11px 13px 20px; max-width: 92%;
  background: var(--surface); border-radius: 14px 14px 14px 4px;
  box-shadow: var(--shadow-sm); font-size: 13.5px; line-height: 1.45;
}
.msg.is-hidden { display: none; }
.msg.pop { animation: pop .45s cubic-bezier(.2, .9, .3, 1.25) both; }
.msg > b { display: block; margin-bottom: 6px; }
.msg dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; }
.msg dt { color: var(--muted); white-space: nowrap; }
.msg dd { margin: 0; text-align: right; font-weight: 600; }
.msg p { color: var(--ink-2); }
.msg-tag { margin-bottom: 6px; height: 22px; font-size: 12px; }
.msg time { position: absolute; right: 10px; bottom: 5px; font-size: 11px; color: var(--muted); }
.msg .tg-btn { margin-top: 8px; }
.typing {
  display: inline-flex; gap: 4px; width: max-content; padding: 13px 14px;
  background: var(--surface); border-radius: 14px 14px 14px 4px; box-shadow: var(--shadow-sm);
}
.typing[hidden] { display: none; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

/* ---------- шаги ---------- */

.steps-wrap { position: relative; padding-top: 26px; }
.steps-line { position: absolute; z-index: 1; top: 25px; left: calc(100% / 6); right: calc(100% / 6); height: 2px; border-radius: 2px; background: var(--line-strong); }
.steps-line i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--series-1)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; padding: 0 26px 28px; text-align: center; overflow: visible; }
.step-n {
  position: relative; z-index: 2; display: grid; place-items: center;
  width: 52px; height: 52px; margin: -26px auto 18px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--line-strong);
  font-size: 19px; font-weight: 800; color: var(--muted);
  transition: background-color .4s, border-color .4s, color .4s, box-shadow .4s, transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.step.is-on .step-n {
  background: var(--brand); border-color: var(--brand); color: var(--brand-ink); transform: scale(1.08);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--brand) 16%, transparent);
}
.step .feature-ic { display: none; }
.step h3 { font-size: 19px; }
.step p { margin-top: 10px; color: var(--ink-2); }

/* ---------- сравнение ---------- */

.compare { overflow-x: auto; }
.compare table { width: 100%; min-width: 680px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: middle; }
.compare thead th { font-size: 14px; color: var(--muted); font-weight: 600; }
.compare thead th.us { color: var(--brand-soft-ink); }
.compare tbody th { font-weight: 500; width: 36%; }
.compare tbody td { color: var(--ink-2); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .us { background: color-mix(in srgb, var(--brand-soft) 55%, transparent); }
.compare .us b { color: var(--ink); }
.compare tbody tr { transition: opacity .5s ease, transform .5s ease; }
.compare tbody tr:nth-child(2) { transition-delay: .07s; }
.compare tbody tr:nth-child(3) { transition-delay: .14s; }
.compare tbody tr:nth-child(4) { transition-delay: .21s; }
.compare tbody tr:nth-child(5) { transition-delay: .28s; }
.compare tbody tr:nth-child(6) { transition-delay: .35s; }
html.js:not(.rm) .compare:not(.is-in) tbody tr { opacity: 0; transform: translateX(-14px); }
.yes, .no { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.yes { color: var(--good-text); }
.yes .ic { stroke-width: 2.4; }
.no { color: var(--muted); font-weight: 500; }

/* ---------- тарифы ---------- */

.billing {
  position: relative; display: inline-flex; gap: 4px; margin-top: 22px; padding: 4px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;
}
.billing-pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 9px;
  background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), width .35s cubic-bezier(.2, .7, .2, 1);
}
.billing button {
  position: relative; z-index: 1; height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent;
  font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: color .2s;
}
.billing button.is-active { color: var(--ink); }
html:not(.js) .billing button.is-active { background: var(--surface); }
.billing button span { color: var(--good-text); margin-left: 4px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px; border-radius: 20px; }
.plan h3 { font-size: 20px; }
.plan-desc { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.plan-price strong { font-size: 42px; font-weight: 800; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--muted); font-size: 14px; }
.plan .checks { margin: 22px 0 26px; flex: 1; align-content: start; }
.plan .checks li { font-size: 14.5px; }
.plan .btn { width: 100%; }
.plan-featured {
  overflow: visible;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from var(--ang), var(--brand), color-mix(in srgb, var(--brand) 10%, transparent) 25%,
      color-mix(in srgb, var(--series-1) 70%, transparent) 50%, color-mix(in srgb, var(--brand) 10%, transparent) 75%, var(--brand)) border-box;
  box-shadow: var(--shadow-md);
  animation: spinBorder 6s linear infinite;
}
.plan-featured::before { border-radius: 18px; }
.plan-badge {
  position: absolute; top: -13px; left: 28px; z-index: 2;
  padding: 4px 10px; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink); font-size: 12.5px; font-weight: 700;
}

/* ---------- вопросы ---------- */

.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq details:hover { border-color: var(--line-strong); }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: none; color: var(--muted); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.faq details[open]:not(.is-closing) summary .ic { transform: rotate(180deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 20px 18px; color: var(--ink-2); }

/* ---------- призыв ---------- */

.cta-band {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 48px; border-radius: 26px; color: var(--brand-ink);
  background: linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 65%, var(--series-1)), var(--brand));
  background-size: 220% 220%; animation: gradientShift 12s ease-in-out infinite;
}
.cta-coins { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cta-coins span {
  position: absolute; bottom: -50px; left: var(--x);
  font-size: calc(30px * var(--s)); font-weight: 800; color: var(--brand-ink); opacity: 0;
  animation: coin 8s linear infinite; animation-delay: var(--t);
}
.cta-copy, .cta-actions { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.03em; }
.cta-band p { margin-top: 8px; opacity: .85; font-size: 16px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-primary { background: var(--brand-ink); color: var(--brand); }
.cta-primary:hover { opacity: .92; }
.cta-secondary { border-color: color-mix(in srgb, var(--brand-ink) 40%, transparent); color: var(--brand-ink); background: transparent; }
.cta-secondary:hover { background: color-mix(in srgb, var(--brand-ink) 10%, transparent); }

/* ---------- подвал ---------- */

.site-footer { padding: 40px 0 32px; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-note { margin-top: 10px; font-size: 13px; color: var(--muted); max-width: 360px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-copy { margin-top: 24px; font-size: 13px; color: var(--muted); }

/* ---------- адаптив ---------- */

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card, .b-tall { grid-column: span 1; }
  .b-wide, .b-full { grid-column: span 2; }
  .calc { grid-template-columns: 1fr; }
  .calc-result { border-left: 0; border-top: 1px solid var(--line); }
  .tg-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone { max-width: 380px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
}
/* Меню прячется под кнопку раньше, чем на телефоне: иначе шапка не помещается на ноутбуке */
@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    display: none; flex-direction: column; gap: 2px; padding: 10px 16px 16px;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: flex; animation: rise .25s ease both; }
  .site-nav a { padding: 12px; font-size: 16px; }
  .site-nav a::after { display: none; }
  .nav-mobile-only { display: block; }
}
@media (max-width: 860px) {
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .hide-sm { display: none; }
  .hero { padding: 36px 0 24px; }
  .lead { font-size: 16.5px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-visual { perspective: none; }
  .tilt { padding: 34px 0 0; }
  .float-tg { position: relative; right: auto; bottom: auto; width: auto; margin-top: 12px; }
  .float-chip { left: 8px; top: 8px; }
  .mock { padding: 18px; }
  .blob { width: 320px; height: 320px; }
  .section { padding: 56px 0; }
  .pain-grid, .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento-card, .b-tall, .b-wide, .b-full { grid-column: span 1; flex-direction: column; align-items: stretch; }
  .calc-inputs, .calc-result { padding: 22px 18px; }
  .waffle-wrap { flex-direction: column; align-items: flex-start; }
  .steps-wrap { padding-top: 26px; }
  .steps-line { display: none; }
  .steps { gap: 40px; }
  .browser-view iframe { pointer-events: none; }
  .browser-view .demo-cover { display: inline-flex; }
  .browser-bar .btn { display: none; }
  .cta-band { padding: 32px 22px; }
  .cta-actions .btn { flex: 1 1 auto; }
  .header-row { gap: 10px; }
  .header-actions { gap: 4px; }
  .header-actions .btn-primary { height: 38px; padding: 0 12px; font-size: 14px; }
  .lead-form, .lead-done { padding: 20px; }
  .lf-row { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .header-actions .theme-toggle { display: none; } /* тема берётся из настроек телефона */
}

/* Без анимаций: показываем финальное состояние сразу */
html.rm .browser { transform: none; }
html.rm .marquee-track { animation: none; }

/* Налоги и НДС */
.viz-vat { display: grid; gap: 8px; align-content: center; padding: 18px; }
.vv-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.vv-row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.vv-sub { font-size: 12px; color: var(--muted); }
.vv-track { position: relative; height: 10px; border-radius: 999px; background: var(--surface-3); }
.vv-track i { display: block; height: 100%; width: var(--w); border-radius: 999px; background: var(--series-1); transition: width 1.1s cubic-bezier(.2, .7, .2, 1) .3s; }
.vv-mark { position: absolute; top: -4px; bottom: -4px; left: 80%; width: 2px; border-radius: 2px; background: var(--ink); }
.vv-alert { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--serious-text); }
html.js:not(.rm) .bento-card:not(.is-in) .vv-track i { width: 0; }

/* Защита по закону */
.viz-law { list-style: none; margin: 0; display: grid; gap: 8px; align-content: center; padding: 16px; }
.viz-law li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.viz-law b { font-weight: 600; }
.viz-law span { color: var(--muted); font-size: 12.5px; }

/* Три площадки в строке «ранний доступ» — на узком экране переносим */
.hero-copy { min-width: 0; }
.eyebrow { flex-wrap: wrap; row-gap: 6px; }
.hero-visual { min-width: 0; }
.mock-store { flex-wrap: wrap; row-gap: 4px; }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Ссылка «проверить отчёт» под кнопками первого экрана */
.hero-check { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }
.hero-check a { color: var(--brand-soft-ink); font-weight: 600; text-underline-offset: 3px; }
