/* Сайт RANK.TUBE: облик карточки v14 и мини-приложения (слоновая кость, чернила, рубин), подача как у Apple:
   одна мысль на экран, крупная типографика, воздух, продукт живым куском. Анимации только transform и opacity. */
:root {
  --bg: #F4F1EC; --paper: #FFFFFF; --ink: #111114; --g2: #55555D; --g3: #85858D; --line: rgba(17,17,20,.09); --well: #ECE8E1;
  --red: #EE1D36; --red-d: #C4122A; --soft: #FBEDEE;
  --ruby: linear-gradient(152deg, #FF3F57 0%, #F01834 30%, #CE1029 64%, #A50A20 100%);
  --ruby-sh: inset 0 1px 0 rgba(255,255,255,.34), inset 0 -14px 24px rgba(116,0,16,.36), 0 10px 22px rgba(176,8,32,.22);
  --sh: 0 1px 0 rgba(0,0,0,.03), 0 12px 30px rgba(60,35,15,.07);
  --sh-l: 0 50px 100px rgba(60,25,10,.16), 0 14px 30px rgba(60,25,10,.07);
  --ease: cubic-bezier(.22,.8,.28,1);
  /* появление блоков: плавный разгон, без рывка в первом кадре (кривая --ease проходит половину пути за 0,1 с) */
  --calm: cubic-bezier(.4,0,.2,1); --drift: cubic-bezier(.25,.5,.2,1);
  --nav: 80px; --gut: 32px;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 8px); }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.5 "Wix Madefor Display", -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
a { color: inherit; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; touch-action: manipulation; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
img { display: block; max-width: 100%; height: auto; }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip: auto; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
input:focus-visible { outline: none; }
.wrap { max-width: calc(1200px + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.wrap.narrow { max-width: calc(860px + var(--gut) * 2); }
.small { font-size: 14px; line-height: 1.45; }
.dim { color: var(--g3); }
.center { text-align: center; }
section { position: relative; }

/* типографика разделов: заголовок слева, пояснение справа на той же линии */
.h2 { font-weight: 800; font-size: clamp(40px, 5.3vw, 76px); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.sub { max-width: 520px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.45; color: var(--g2); text-wrap: pretty; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 18px 60px; align-items: end; }
.head .sub { padding-bottom: 7px; }
.head > :only-child { grid-column: 1 / -1; }
.head .sp-ex { justify-self: end; margin: 0 0 14px; background: var(--bg); font-size: 13px; padding: 6px 13px; }

/* кнопки: наведение меняет только цвет */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px;
  border-radius: 16px; font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap; isolation: isolate;
  transition: background-color .2s, color .2s, box-shadow .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff; opacity: 0; transition: opacity .2s; pointer-events: none; }
.btn:hover::after { opacity: .1; }
.ruby { color: #fff; background: var(--ruby); box-shadow: var(--ruby-sh); }
.soft { background: var(--paper); box-shadow: var(--sh); }
.soft::after { background: var(--ink); }
.soft:hover::after { opacity: .04; }
.white { background: #fff; color: var(--ink); }
.white::after { background: var(--ink); }
.white:hover::after { opacity: .06; }
.white .tg { fill: #2AABEE; stroke: none; }
.line-w { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* шапка: плотная белая капсула над страницей, без живого размытия */
.nav { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding: 0 var(--gut); pointer-events: none; }
.nav-in { pointer-events: auto; max-width: 1200px; height: 56px; margin: 0 auto; padding: 0 9px 0 20px; display: flex; align-items: center; gap: 28px;
  border-radius: 999px; background: var(--paper); box-shadow: var(--sh); transition: box-shadow .25s; }
.nav.bare .nav-in, .nav.bare.scrolled .nav-in { background: none; box-shadow: none; }
.nav.scrolled .nav-in { box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 14px 34px rgba(60,35,15,.13); }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.logo img { width: 26px; height: 26px; }
.logo b { font-weight: 800; font-size: 20px; letter-spacing: -.04em; }
.logo i { font-style: normal; color: var(--red); }
.links { display: flex; gap: 4px; margin: 0 auto; }
.links a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--g2); text-decoration: none; transition: color .2s, background-color .2s; }
.links a:hover { color: var(--ink); background: var(--bg); }
/* одна подложка едет за курсором между пунктами, а не вспыхивает у каждого заново */
.links { position: relative; }
.links a { position: relative; z-index: 1; }
.links .pill { position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 999px; background: var(--bg); opacity: 0; pointer-events: none;
  transition: transform .22s cubic-bezier(.3,.7,.2,1), width .22s cubic-bezier(.3,.7,.2,1), opacity .2s ease; }
.links .pill.snap { transition: opacity .25s ease; }
.links.slide a:hover { background: none; }
@media (prefers-reduced-motion: reduce) { .links .pill { transition: opacity .2s; } }
.nav-btn { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 18px; border-radius: 999px; flex: none; margin-left: auto; text-decoration: none;
  font-weight: 700; font-size: 15px; box-shadow: inset 0 0 0 1.5px rgba(17,17,20,.16); transition: background-color .2s, box-shadow .2s; }
.links + .nav-btn { margin-left: 0; }
.nav-btn:hover { background: var(--bg); box-shadow: inset 0 0 0 1.5px rgba(17,17,20,.22); }
.nav-btn b { font-weight: 700; padding-left: 10px; box-shadow: -1px 0 0 rgba(17,17,20,.14); font-variant-numeric: tabular-nums; }

/* проявление при прокрутке, один раз */
.js .rv { opacity: 0; transform: translateY(22px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .8s var(--calm), transform .9s var(--drift); }

/* первый экран: слева обещание и проверка, справа живая выдача на рубиновой сцене */
.hero { padding: calc(var(--nav) + clamp(16px, 2.6vw, 40px)) 0 clamp(48px, 6vw, 84px);
  background: radial-gradient(54% 62% at 100% 0%, rgba(238,29,54,.09), rgba(238,29,54,0) 72%); }
.hero-g { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: clamp(32px, 5vw, 76px); align-items: start; }
.hero-g > * { min-width: 0; }
.hero-t { padding-top: 12px; }
.niches { display: flex; flex-wrap: wrap; gap: 8px; }
.nch { padding: 8px 15px; border-radius: 999px; background: var(--paper); box-shadow: var(--sh); font-weight: 600; font-size: 15px; line-height: 1.5; transition: background-color .2s, color .2s; }
.nch:hover { background: #fff; color: var(--red-d); }
.nch.on, .nch.on:hover { background: var(--ink); color: #fff; }
.hero h1 { margin-top: 26px; font-weight: 800; font-size: clamp(56px, 7.9vw, 116px); line-height: .9; letter-spacing: -.058em; }
.hero h1 span { color: var(--red); }
.hero h1 small { display: block; margin-bottom: 14px; font-weight: 700; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.25; letter-spacing: -.02em; color: var(--g2); }
.hero.np h1 { font-size: clamp(54px, 7.1vw, 102px); }
.hero .lead { max-width: 560px; margin-top: 28px; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.4; color: var(--g2); text-wrap: pretty; }
.hero .lead b { color: var(--ink); font-weight: 700; }
.check { max-width: 600px; margin-top: 34px; }
.field { display: flex; align-items: center; gap: 10px; height: 70px; padding: 8px 8px 8px 22px; border-radius: 22px; background: var(--paper);
  box-shadow: var(--sh), inset 0 0 0 1.5px transparent; transition: box-shadow .2s; }
.field:focus-within { box-shadow: var(--sh), inset 0 0 0 1.5px var(--red); }
.field .ic { width: 20px; height: 20px; color: var(--g3); flex: none; }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font: inherit; font-size: 17px; color: var(--ink); }
.field input::placeholder { color: var(--g3); }
.go { height: 54px; padding: 0 24px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.go > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 9px; transition: opacity .25s, filter .25s, transform .25s var(--ease); }
.go .lbl2 { opacity: 0; filter: blur(4px); transform: translateY(4px); }
.go.busy { pointer-events: none; }
.go.busy .lbl { opacity: 0; filter: blur(4px); transform: translateY(-4px); }
.go.busy .lbl2 { opacity: 1; filter: none; transform: none; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2.2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: turn .8s linear infinite; flex: none; }
@keyframes turn { to { transform: rotate(360deg); } }
.err { margin: 12px 22px 0; font-weight: 600; font-size: 15px; color: var(--red-d); }
.err.small { margin: 8px 0 0; font-size: 14px; }
.note { margin-top: 14px; font-size: 15px; color: var(--g3); }
.note a { color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: 0 1.5px 0 var(--line); white-space: nowrap; }
.note a:hover { box-shadow: 0 1.5px 0 var(--ink); }
.hfacts { display: flex; margin-top: 38px; }
.hfacts div { padding: 2px 26px; border-left: 1px solid rgba(17,17,20,.13); }
.hfacts div:first-child { padding-left: 0; border-left: 0; }
.hfacts dt { font-weight: 800; font-size: 24px; line-height: 1.1; letter-spacing: -.04em; white-space: nowrap; }
.hfacts dd { margin-top: 5px; font-size: 14px; line-height: 1.35; color: var(--g2); }

/* результат проверки */
.result { max-width: 600px; margin-top: 24px; }
.res { border-radius: 30px; background: var(--paper); box-shadow: var(--sh); padding: 22px; animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.r-vid { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 16px; align-items: center; }
.r-vid img, .r-vid .ph { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; object-fit: cover; background: var(--well); }
.r-vid b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 17px; line-height: 1.3; }
.r-vid span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.35; color: var(--g3); }
.r-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.r-stats > div { padding: 16px 18px; border-radius: 20px; background: var(--bg); }
.r-stats b { display: block; font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.r-stats b small { font-size: 20px; letter-spacing: -.02em; color: var(--g3); font-weight: 700; }
.r-stats span { display: block; margin-top: 6px; font-size: 14px; color: var(--g2); }
.r-g { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-weight: 600; font-size: 15px; line-height: 1.4; }
.r-g svg { width: 20px; height: 20px; flex: none; color: var(--red); stroke-width: 2.6; }
.r-g.no { color: var(--g2); }
.r-g.no svg { color: var(--g3); }
.r-noscan { margin-top: 10px; font-size: 14px; color: var(--g3); }
.r-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.plan { position: relative; display: block; padding: 16px 18px; border-radius: 20px; background: var(--bg); text-align: left; text-decoration: none; isolation: isolate; transition: background-color .2s; }
.plan:hover { background: var(--well); }
.plan small { display: block; font-weight: 700; font-size: 13px; opacity: .7; }
.plan b { display: block; margin-top: 4px; font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -.05em; }
.plan .go-l { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; font-size: 15px; }
.plan .go-l svg { width: 15px; height: 15px; stroke-width: 2.4; }
.plan em { position: absolute; top: 14px; right: 14px; padding: 4px 9px; border-radius: 999px; background: #fff; color: var(--red); font-style: normal; font-weight: 800; font-size: 12px; line-height: 1.2; white-space: nowrap; }
.plan.pv { color: #fff; background: var(--ruby); box-shadow: var(--ruby-sh); }
.plan.pv::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff; opacity: 0; transition: opacity .2s; z-index: -1; }
.plan.pv:hover::after { opacity: .08; }
.r-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; font-size: 14px; color: var(--g3); }
.r-foot button { font-weight: 700; font-size: 14px; color: var(--ink); }
.r-foot button:hover { color: var(--red-d); }
.res.wait .r-wait { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 18px; border-radius: 20px; background: var(--bg); font-weight: 600; }
.res.wait .r-wait .spin { border-color: var(--line); border-top-color: var(--ink); }
.res.wait .r-wait small { display: block; font-weight: 400; color: var(--g3); font-size: 14px; }
.sk { background: var(--well); border-radius: 8px; animation: sk 1.2s ease-in-out infinite alternate; }
@keyframes sk { from { opacity: 1; } to { opacity: .55; } }

/* телефон с выдачей */
.hero-s { position: relative; }
.plate { position: absolute; left: 0; right: 0; top: 58px; bottom: 38px; border-radius: 48px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 70% at 12% -6%, rgba(255,255,255,.34), rgba(255,255,255,0) 48%), var(--ruby);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), inset 0 -90px 130px rgba(116,0,16,.34), 0 40px 80px rgba(176,8,32,.2); }
.scene { position: relative; height: 700px; }
.phone { position: absolute; left: 50%; top: 0; width: 344px; height: 676px; margin-left: -172px; padding: 10px; border-radius: 58px; background: #121214;
  box-shadow: 0 50px 90px rgba(70,0,10,.42), 0 18px 40px rgba(70,0,10,.24), inset 0 0 0 2px #2A2A2E; }
.scr { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 48px; background: #fff; text-align: left; }
.scr .isl { position: absolute; left: 50%; top: 11px; width: 94px; height: 27px; margin-left: -47px; border-radius: 14px; background: #121214; }
.scr .sb { position: absolute; left: 30px; right: 30px; top: 15px; display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; }
.scr .q { position: absolute; left: 12px; right: 12px; top: 54px; height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 15px; border-radius: 999px; background: #F2F2F2; font-size: 15px; font-weight: 500; }
.scr .q svg { width: 16px; height: 16px; flex: none; color: #606060; stroke-width: 2.4; }
.scr .q span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.list { position: absolute; left: 8px; right: 8px; top: 106px; bottom: 0; }
.row { position: absolute; left: 0; right: 0; top: 0; height: 100px; padding: 7px; border-radius: 14px; display: grid; grid-template-columns: 138px minmax(0, 1fr); gap: 10px; align-items: start; background: #fff; }
.row .th { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; background-size: cover; background-position: center; background-color: #eee; }
.row .len { position: absolute; right: 5px; bottom: 5px; padding: 1px 4px; border-radius: 4px; font-size: 10px; font-weight: 600; background: rgba(0,0,0,.82); color: #fff; }
.row .tt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; font-weight: 700; line-height: 1.25; color: #0F0F0F; }
.row .mt { margin-top: 4px; font-size: 11px; color: #606060; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.ours { z-index: 2; box-shadow: 0 0 0 2px var(--red), 0 14px 30px rgba(238,29,54,.2); }
.row .pl { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; margin-top: 6px; border-radius: 7px; background: var(--red); color: #fff; font-weight: 800; font-size: 12px; font-variant-numeric: tabular-nums; }
.row .pl svg { width: 11px; height: 11px; stroke-width: 3; }
.fl { position: absolute; z-index: 3; background: var(--paper); border-radius: 22px; box-shadow: 0 30px 60px rgba(70,0,10,.26), 0 6px 16px rgba(70,0,10,.12); }
.fl.tags { left: -28px; top: 252px; display: flex; align-items: center; gap: 13px; padding: 14px 20px 14px 14px; }
.fl.tags .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--soft); color: var(--red); display: grid; place-items: center; }
.fl.tags .ic svg { width: 22px; height: 22px; stroke-width: 2.8; }
.fl.tags b { display: block; font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.fl.tags b span { display: inline-block; min-width: 1.15em; text-align: right; }
.fl.tags > div > span { display: block; margin-top: 5px; font-size: 13px; color: var(--g3); }
.fl.place { right: -28px; top: 452px; width: 272px; padding: 16px 18px 12px; }
.fl.place .h { font-size: 13px; color: var(--g3); }
.fl.place .v { margin-top: 2px; font-weight: 800; font-size: 40px; line-height: 1.1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.fl.place .v em { font-style: normal; color: var(--red); }
.fl.place svg { display: block; width: 100%; height: 64px; margin-top: 6px; overflow: visible; }
/* телефон с роликом клиента или выбранной тематикой: соседи серыми полосами, карточки цифр меняются местами без сдвигов */
.fl { transition: opacity .3s var(--ease), transform .35s var(--ease); }
.fl.off { opacity: 0; transform: translateY(8px); pointer-events: none; }
.fl.gfl { right: -28px; top: 478px; padding: 16px 20px 16px; min-width: 214px; }
.gfl .h { font-size: 13px; color: var(--g3); }
.gfl .v { margin-top: 2px; font-weight: 800; font-size: 40px; line-height: 1.1; letter-spacing: -.045em; color: var(--red); }
.gfl .s { margin-top: 4px; font-size: 13px; line-height: 1.3; color: var(--g2); }
.list.ghost .row:not(.ours) .th { background-image: none !important; background-color: #ECECEF; }
.list.ghost .len { display: none; }
.list.ghost .row:not(.ours) .tt { height: 30px; color: transparent; border-radius: 6px; background: linear-gradient(#ECECEF 12px, transparent 12px, transparent 18px, #ECECEF 18px) no-repeat 0 0 / 100% 30px, linear-gradient(#fff, #fff) no-repeat 100% 18px / 28% 12px; }
.list.ghost .row:not(.ours) .mt { width: 58%; height: 9px; margin-top: 8px; color: transparent; border-radius: 5px; background: #F2F2F4; }
.row .th.ph { background-image: var(--ruby) !important; }
.row .th.ph::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -6px; border: 9px solid transparent; border-left: 15px solid #fff; border-right: 0; }

/* страница тематики: что продвигаем, примеры запросов и цена одной плашкой под первым экраном */
.nband { padding: 0 0 clamp(56px, 7vw, 96px); }
.nb { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; padding: 34px 38px; border-radius: 34px; background: var(--paper); box-shadow: var(--sh); }
.nb-t h2 { font-weight: 800; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.05; letter-spacing: -.045em; }
.nb-t p { max-width: 440px; margin-top: 12px; font-size: 17px; line-height: 1.5; color: var(--g2); }
.nb-q span { font-size: 14px; color: var(--g3); }
.nb-q ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; list-style: none; }
.nb-q li { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px 0 12px; border-radius: 999px; background: var(--bg); font-size: 15px; font-weight: 500; white-space: nowrap; }
.nb-q svg { width: 15px; height: 15px; color: var(--g3); stroke-width: 2.4; }
.nb-p { padding-left: 44px; border-left: 1px solid var(--line); }
.nb-p b { display: block; font-weight: 800; font-size: 64px; line-height: .95; letter-spacing: -.06em; }
.nb-p span { display: block; margin-top: 6px; font-size: 15px; color: var(--g2); }
.nb-p em { display: inline-block; margin-top: 10px; padding: 5px 11px; border-radius: 999px; background: var(--soft); color: var(--red-d); font-style: normal; font-weight: 800; font-size: 13px; white-space: nowrap; }

/* как идет заказ: белый лист со скругленными углами, три шага в ряд. Страница нигде не останавливается: полоса над
   шагом заполняется по ходу прокрутки, и карточка шага оживает, когда полоса до нее дошла. */
.how { padding: clamp(72px, 8vw, 116px) 0 clamp(80px, 9vw, 128px); border-radius: 48px; background: var(--paper); }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; gap: 0 22px; margin-top: clamp(36px, 4.4vw, 60px); }
.step { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
.bar { display: block; height: 4px; border-radius: 4px; background: var(--well); overflow: hidden; }
.bar b { display: block; height: 100%; border-radius: 4px; background: var(--red); transform-origin: left; transform: scaleX(0); }
.step .txt { padding: 22px 12px 26px 2px; }
.step h3 { font-weight: 800; font-size: clamp(23px, 2.1vw, 29px); line-height: 1.1; letter-spacing: -.04em; }
.step p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--g2); }
.step .card { display: flex; }
.step .sp { flex: 1; min-width: 0; box-shadow: none; background: var(--bg); border-radius: 30px; }
.step .sp-plans > div:not(.pv), .step .studio, .step .sp-ex { background: var(--paper); }
/* жизнь карточек: строки проверки встают по очереди, полоса и источники растут, замеры сменяются */
.js .step .sp-a .sp-dl > div, .js .step .sp-a .sp-g, .js .step .sp-a .sp-plans > div { opacity: 0; transform: translateY(10px); }
.js .step.on .sp-a .sp-dl > div, .js .step.on .sp-a .sp-g, .js .step.on .sp-a .sp-plans > div { opacity: 1; transform: none; transition: opacity .7s var(--calm) var(--d, 0s), transform .8s var(--drift) var(--d, 0s); }
.sp-a .sp-dl > div:nth-child(2) { --d: .08s; }
.sp-a .sp-dl > div:nth-child(3) { --d: .16s; }
.sp-a .sp-g { --d: .26s; }
.sp-a .sp-plans > div { --d: .36s; }
.sp-a .sp-plans > div.pv { --d: .44s; }
.sp { border-radius: 30px; background: var(--paper); box-shadow: var(--sh-l); padding: 24px; }
.sp-top { display: flex; align-items: center; gap: 10px; }
.sp-k { font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.sp-ex { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--bg); font-size: 12px; font-weight: 600; color: var(--g3); }
.sp-vid { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 16px; }
.sp-vid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.sp-vid b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.3; }
.sp-vid span { display: block; margin-top: 3px; font-size: 13px; color: var(--g3); }
.sp-dl { margin-top: 14px; }
.sp-dl div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.sp-dl dt { color: var(--g2); }
.sp-dl dd { font-weight: 700; }
.sp-g { display: flex; gap: 9px; align-items: center; padding: 12px 0 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.sp-g svg { width: 18px; height: 18px; color: var(--red); stroke-width: 2.6; flex: none; }
.sp-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.sp-plans > div { position: relative; padding: 14px 16px; border-radius: 18px; background: var(--bg); }
.sp-plans small { display: block; font-weight: 700; font-size: 12px; opacity: .7; }
.sp-plans b { display: block; margin-top: 2px; font-weight: 800; font-size: 30px; letter-spacing: -.05em; line-height: 1.05; }
.sp-plans .pv { color: #fff; background: var(--ruby); box-shadow: var(--ruby-sh); }
.sp-plans em { display: inline-block; margin-top: 8px; padding: 3px 8px; border-radius: 999px; background: #fff; color: var(--red); font-style: normal; font-weight: 800; font-size: 11px; line-height: 1.2; white-space: nowrap; }
.sp-bar { height: 8px; margin-top: 18px; border-radius: 99px; background: var(--well); overflow: hidden; }
.sp-bar i { display: block; height: 100%; border-radius: inherit; background: var(--ruby); transform-origin: left; transform: scaleX(.62); }
.studio { margin-top: 16px; padding: 16px 18px 18px; border-radius: 20px; background: var(--bg); }
.studio .sh { font-size: 13px; font-weight: 600; color: var(--g2); }
.src { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 12px; font-size: 14px; font-weight: 600; }
.src i { display: block; height: 10px; border-radius: 99px; background: var(--g3); opacity: .4; transform-origin: left; transform: scaleX(var(--w)); }
.studio .src:nth-child(2) i { background: var(--red); opacity: 1; }
.sp-res { display: flex; align-items: flex-end; gap: 12px; margin-top: 18px; }
.sp-res b { font-weight: 800; font-size: 76px; line-height: .86; letter-spacing: -.06em; color: var(--red); }
.sp-res span { font-size: 15px; line-height: 1.3; color: var(--g2); padding-bottom: 2px; }
.sp-rows { list-style: none; margin-top: 16px; }
.sp-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); }
.sp-rows span { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-rows em { font-style: normal; font-size: 13px; color: var(--g3); }
.sp-rows b { font-weight: 800; font-size: 18px; text-align: right; font-variant-numeric: tabular-nums; transition: color .3s; }
.sp-rows b.lo { color: var(--g3); }
/* три замера в сцене: полоска показывает, какой сейчас; цифры сменяются коротким проявлением */
.sp-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 14px; }
.sp-seg i { height: 4px; border-radius: 4px; background: var(--well); transition: background-color .3s; }
.sp-c[data-f="0"] .sp-seg i:nth-child(1), .sp-c[data-f="1"] .sp-seg i:nth-child(-n+2), .sp-c[data-f="2"] .sp-seg i { background: var(--red); }
.sp-rows em { transition: opacity .6s var(--calm); }
.sp-c[data-f="0"] .sp-rows em { opacity: 0; }
.sp-c.tick .sp-rows b, .sp-c.tick .sp-res b, .sp-c.tick .sp-k { animation: tick .6s var(--calm); }
@keyframes tick { from { opacity: 0; transform: translateY(6px); } }
.js .step .sp-b .sp-bar i, .js .step .sp-b .src i { transform: scaleX(.02); }
.js .step.on .sp-b .sp-bar i { transform: scaleX(.62); transition: transform 1.5s var(--ease) .1s; }
.js .step.on .sp-b .src i { transform: scaleX(var(--w)); transition: transform 1.3s var(--ease) .25s; }

/* SEO за ролик */
.prices { padding: clamp(96px, 11vw, 160px) 0 0; }
.pgrid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; margin-top: clamp(44px, 5vw, 68px); }
.pgrid > * { min-width: 0; }
.ptable { position: relative; padding: 14px 14px 14px 36px; border-radius: 34px; background: var(--paper); box-shadow: var(--sh); }
.pcol-pv { position: absolute; right: 14px; top: -12px; bottom: -12px; width: 204px; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: radial-gradient(130% 70% at 16% -8%, rgba(255,255,255,.36), rgba(255,255,255,0) 46%), var(--ruby); box-shadow: var(--ruby-sh), 0 22px 46px rgba(176,8,32,.26); }
.gloss { position: absolute; inset: -20% -60%; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: linear-gradient(104deg, transparent 40%, rgba(255,255,255,.1) 46%, rgba(255,255,255,.26) 50%, rgba(255,255,255,.1) 54%, transparent 60%);
  transform: translateX(-70%); animation: gloss 8s ease-in-out 1.2s infinite; }
@keyframes gloss { 0% { opacity: 0; transform: translateX(-70%); } 8% { opacity: 1; } 34% { opacity: 1; } 42% { opacity: 0; transform: translateX(70%); } 100% { opacity: 0; transform: translateX(70%); } }
.prow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 170px 204px; align-items: center; min-height: 118px; border-top: 1px solid var(--line); }
.prow > div { padding: 16px 0; }
.prow > div:first-child { padding-right: 16px; }
.prow b { display: block; font-weight: 800; font-size: 27px; line-height: 1.1; letter-spacing: -.035em; transition: color .3s; }
.prow.sel > div:first-child b { color: var(--red); }
.prow span { display: block; margin-top: 5px; font-size: 15px; line-height: 1.35; color: var(--g3); }
.prow .pn, .prow .pp { padding-left: 28px; font-weight: 800; font-size: 54px; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.prow .pp { color: #fff; }
.prow::after { content: ""; position: absolute; right: 14px; width: 204px; top: -1px; height: 1px; background: rgba(255,255,255,.18); }
.prow.phead { min-height: 92px; border-top: 0; }
.prow.phead::after { display: none; }
.phead small { display: block; font-weight: 700; font-size: 15px; color: var(--g2); }
.phead span { margin-top: 2px; font-size: 14px; }
.phead .pn, .phead .pp { font-size: 15px; letter-spacing: 0; }
.phead .pn small { color: var(--g2); }
.phead .pp small { color: #fff; opacity: .92; }
.x2 { display: inline-block; margin-top: 8px; padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--red); font-style: normal; font-weight: 800; font-size: 13px; line-height: 1.2; }
.pfoot { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; margin-top: 36px; }
.pfoot .acts { margin: 0; flex: none; }
.pnote { max-width: 520px; font-size: 17px; line-height: 1.45; color: var(--g2); }
.pnote b { color: var(--ink); }
.disc { display: flex; flex-direction: column; padding: 22px; border-radius: 34px; background: var(--paper); box-shadow: var(--sh); }
.disc-h { padding: 4px 6px 0; }
.disc-h b { display: block; font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.disc-h span { display: block; margin-top: 2px; font-size: 14px; color: var(--g3); }
.disc-g { flex: 1; display: grid; grid-auto-rows: 1fr; gap: 10px; margin-top: 18px; }
/* калькулятор пакета: сколько роликов, тематика и тариф, цена за ролик и экономия считаются сразу */
.js .disc-g { display: none; }
.pack { display: none; }
.js .pack { flex: 1; display: flex; flex-direction: column; margin-top: 16px; }
.pk-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 6px; }
.pk-h span { font-weight: 600; font-size: 15px; color: var(--g2); }
.pk-n { width: 84px; padding: 0; border: 0; border-bottom: 1.5px solid transparent; background: none; outline: none; text-align: right; color: var(--ink);
  font-family: inherit; font-weight: 800; font-size: 34px; line-height: 1.1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; transition: border-color .2s; }
.pk-n:focus { border-bottom-color: var(--red); }
.pack .range { margin: 8px 6px 0; }
.pack .marks { margin: 6px 0 0; }
.pack .range input::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--red) var(--p), var(--well) var(--p)); }
.pack .range input::-moz-range-track { background: linear-gradient(90deg, var(--red) var(--p), var(--well) var(--p)); }
.pack .range input::-webkit-slider-thumb { box-shadow: 0 2px 8px rgba(60,25,10,.28), 0 0 0 1px rgba(17,17,20,.06); }
.pack .range input::-moz-range-thumb { box-shadow: 0 2px 8px rgba(60,25,10,.28), 0 0 0 1px rgba(17,17,20,.06); }
.pack .marks { color: var(--g3); }
.pack .marks span:first-child, .pack .marks span:last-child { display: block; transform: translateX(-50%); }
.pack .marks span.on { color: var(--red-d); font-weight: 700; }
.pack .seg { margin-top: 10px; background: var(--bg); }
.pack .seg.two { grid-template-columns: repeat(2, 1fr); }
.pack .seg button { height: 40px; font-size: 14px; color: var(--g2); }
.pack .seg button:hover { color: var(--ink); }
.pack .seg button.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 4px 12px rgba(60,35,15,.1); }
.pk-out { margin-top: auto; padding: 16px 6px 0; }
.pk-out .l { display: block; font-size: 14px; color: var(--g3); }
.pk-out b { display: block; margin-top: 2px; font-weight: 800; font-size: 52px; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.pk-out .t { display: block; min-height: 21px; margin-top: 8px; font-size: 15px; line-height: 1.4; color: var(--g2); }
.pk-out .t em { font-style: normal; font-weight: 700; color: var(--red-d); }
.pk-go { width: 100%; height: 50px; margin-top: 14px; font-size: 16px; }
.dt { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; align-items: center; column-gap: 12px; padding: 14px 20px; border-radius: 20px; background: var(--bg); }
.dt span { font-weight: 700; font-size: 15px; }
.dt em { grid-column: 1; grid-row: 2; margin-top: 3px; font-style: normal; font-size: 14px; color: var(--g3); }
.dt b { grid-column: 2; grid-row: 1 / 3; font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -.055em; }
.dt.hot { color: #fff; background: var(--ruby); box-shadow: var(--ruby-sh); }
.dt.hot em { color: rgba(255,255,255,.86); }

/* панель зрителей: темный блок */
.panel { padding: clamp(96px, 11vw, 160px) 0 0; }
.pan { position: relative; overflow: hidden; padding: clamp(32px, 5.4vw, 76px); border-radius: 44px; color: #F2F2F4;
  background: radial-gradient(70% 60% at 92% -6%, rgba(238,29,54,.34), rgba(238,29,54,0) 70%), radial-gradient(50% 40% at 0% 100%, rgba(238,29,54,.08), rgba(238,29,54,0) 70%), #121214; }
.pan .lbl { font-weight: 600; font-size: 17px; color: rgba(255,255,255,.62); }
.pan .h2 { margin-top: 14px; text-align: left; font-size: clamp(42px, 5.6vw, 80px); }
.pan .sub { margin: 22px 0 0; text-align: left; color: rgba(255,255,255,.72); max-width: 660px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(36px, 4vw, 56px); border-top: 1px solid rgba(255,255,255,.12); }
.facts div { padding: 24px 24px 0 0; }
.facts dt { font-weight: 800; font-size: clamp(36px, 3.8vw, 54px); letter-spacing: -.055em; line-height: 1; white-space: nowrap; }
.facts dd { margin-top: 8px; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.6); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 16px; margin-top: clamp(36px, 4vw, 56px); }
.tiers { display: grid; gap: 12px; }
.tier { position: relative; display: block; padding: 22px 24px; border-radius: 26px; text-align: left; color: #fff; isolation: isolate;
  background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.09); transition: background-color .25s, box-shadow .25s; }
.tier::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ruby); box-shadow: var(--ruby-sh); opacity: 0; transition: opacity .3s var(--ease); }
.tier:hover { background: rgba(255,255,255,.08); }
.tier.on::before { opacity: 1; }
.tier small { display: block; font-weight: 800; font-size: 14px; opacity: .78; }
.tier b { display: inline-block; margin-top: 6px; font-weight: 800; font-size: 50px; line-height: 1; letter-spacing: -.055em; }
.tier em { margin-left: 8px; font-style: normal; font-size: 15px; opacity: .7; }
.tier span { display: block; margin-top: 12px; font-size: 15px; line-height: 1.45; opacity: .86; max-width: 420px; }
.knobs { padding: 24px 26px; border-radius: 26px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.09); }
.knob + .knob { margin-top: 22px; }
.kh { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.kh > span:first-child { font-weight: 600; font-size: 15px; color: rgba(255,255,255,.72); }
.kh .hint { font-size: 14px; color: rgba(255,255,255,.55); }
.num { width: 150px; padding: 2px 0; border: 0; border-bottom: 1.5px solid transparent; background: none; outline: none; text-align: right; color: #fff;
  font-family: inherit; font-weight: 800; font-size: 34px; line-height: 1.1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; transition: border-color .2s; }
.num:focus { border-bottom-color: var(--red); }
.range { position: relative; margin-top: 14px; }
.range input { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 26px; background: none; outline: none; cursor: pointer; --p: 26%; }
.range input::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--red) var(--p), rgba(255,255,255,.14) var(--p)); }
.range input::-moz-range-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--red) var(--p), rgba(255,255,255,.14) var(--p)); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.range input::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(238,29,54,.55); }
.marks { position: relative; height: 18px; margin: 6px 13px 0; font-size: 12px; color: rgba(255,255,255,.46); }
.marks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; transition: color .2s; }
.marks span:first-child { transform: none; }
.marks span:last-child { transform: translateX(-100%); }
.marks span.on { color: #fff; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 12px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.06); }
.seg button { height: 42px; border-radius: 10px; font-weight: 600; font-size: 15px; color: rgba(255,255,255,.72); transition: background-color .2s, color .2s; }
.seg button:hover { color: #fff; }
.seg button small { display: block; margin-top: 1px; font-size: 11.5px; font-weight: 700; line-height: 1; opacity: .62; }
.seg button { line-height: 1.1; }
.seg button.on { background: #fff; color: var(--ink); }
.total { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.total .tl, .total .td { display: block; font-size: 14px; color: rgba(255,255,255,.6); }
.total b { display: block; margin: 2px 0; font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.knobs > .small { margin-top: 14px; color: rgba(255,255,255,.5); }
.pno { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.62); }
.pno b { color: #fff; }

/* кейсы: обложка, крупное место, цифры одной строкой, места по тегам */
.cases { padding: clamp(96px, 11vw, 160px) 0; }
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: clamp(44px, 5vw, 68px); }
.case { overflow: hidden; border-radius: 34px; background: var(--paper); box-shadow: var(--sh); }
.case img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cbody { display: flex; flex-direction: column; padding: 30px 30px 20px; }
.crank { order: -1; display: flex; align-items: flex-end; gap: 16px; }
.crank b { font-weight: 800; font-size: clamp(76px, 7.6vw, 108px); line-height: .78; letter-spacing: -.07em; color: var(--red); }
.crank span { padding-bottom: 1px; font-size: 15px; line-height: 1.3; color: var(--g3); }
.crank em { font-style: normal; font-weight: 800; font-size: 21px; letter-spacing: -.03em; color: var(--ink); }
.case h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 26px; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.cmeta { margin-top: 6px; font-size: 14px; color: var(--g3); }
.cst { display: grid; grid-template-columns: 1fr 1fr; margin-top: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cst div { padding: 16px 0; }
.cst div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.cst dt { font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -.05em; white-space: nowrap; }
.cst dd { margin-top: 6px; font-size: 13px; line-height: 1.3; color: var(--g2); }
.ctags { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; }
.ctags th { padding-bottom: 8px; text-align: left; font-size: 13px; font-weight: 600; color: var(--g3); }
.ctags th:last-child, .ctags td:last-child { text-align: right; }
.ctags td { padding: 10px 0; border-top: 1px solid var(--line); }
.ctags tr:first-child td { border-top: 0; }
.ctags td:last-child { font-weight: 800; }
.cases .small { margin-top: 24px; }

/* пример экрана аналитики YouTube Studio под кейсами: нарисован разметкой, с пометкой «Пример»; перед запуском
   заменить на настоящий снимок заказа (docs/LAUNCH.md) */
.stx { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px 44px; align-items: center; margin-top: 22px; padding: 30px; border-radius: 34px; background: var(--paper); box-shadow: var(--sh); }
.stx-t h3 { margin-top: 14px; font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.08; letter-spacing: -.04em; }
.stx-t p { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--g2); }
.stx-t .sp-ex { display: inline-block; margin: 0; }
.sx { display: grid; grid-template-columns: 104px minmax(0, 1fr) 244px; gap: 16px; padding: 18px; border-radius: 22px; background: #0F0F0F; color: #fff; font: 400 12px/1.35 Roboto, system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-align: left; }
.sx small { display: block; font-size: 10.5px; color: #AAA; }
.sx-th { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; background: #222 center / cover; }
.sx-th span { position: absolute; right: 4px; bottom: 4px; padding: 0 3px; border-radius: 3px; background: rgba(0,0,0,.8); font-size: 9.5px; }
.sx-side small { margin-top: 10px; color: #fff; font-weight: 500; }
.sx-side em { display: block; margin-top: 2px; font-style: normal; font-size: 10px; line-height: 1.3; color: #AAA; }
.sx-h { display: flex; justify-content: space-between; align-items: center; }
.sx-h b { font-size: 19px; font-weight: 600; }
.sx-h span { padding: 5px 11px; border-radius: 99px; background: #272727; font-size: 10.5px; font-weight: 500; }
.sx-tabs { display: flex; gap: 20px; margin-top: 12px; border-bottom: 1px solid #303030; font-size: 11.5px; font-weight: 500; color: #AAA; }
.sx-tabs span { padding-bottom: 8px; }
.sx-tabs .on { color: #fff; box-shadow: 0 2px 0 #fff; }
.sx-tabs i { margin-left: auto; font-style: normal; color: #fff; white-space: nowrap; }
.sx-tabs span:nth-child(4) { display: none; }
.sx-msg { margin: 14px auto 12px; max-width: 420px; text-align: center; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.sx-card { border: 1px solid #303030; border-radius: 10px; overflow: hidden; }
.sx-kpi { display: grid; grid-template-columns: repeat(3, 1fr); background: #1B1B1B; text-align: center; }
.sx-kpi div { padding: 12px 6px 10px; border-left: 1px solid #303030; }
.sx-kpi div:first-child { border-left: 0; }
.sx-kpi .on { background: #0F0F0F; }
.sx-kpi b { display: block; margin-top: 4px; font-size: 19px; font-weight: 500; }
.sx-kpi u { display: inline-block; width: 12px; height: 12px; margin-left: 5px; border-radius: 50%; vertical-align: 1px; background: #2BA640 center / 8px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M4 6.6V1.6M1.8 3.7 4 1.5l2.2 2.2' fill='none' stroke='%230F0F0F' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.sx-kpi em { display: block; margin-top: 5px; font-size: 9.5px; color: #AAA; }
.sx-leg { display: flex; gap: 16px; padding: 12px 14px 4px; font-size: 10.5px; color: #AAA; }
.sx-leg span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #717171; vertical-align: 1px; }
.sx-leg .a::before { background: #3EA6FF; }
.sx-chw { position: relative; margin: 4px 14px 0; }
.sx-ch { display: block; width: 100%; height: 104px; }
.sx-tip { position: absolute; left: 64%; top: 26.15%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #3EA6FF; opacity: 0; }
.sx-tip::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid #3EA6FF; opacity: 0; }
.js .stx.play .sx-tip { opacity: 1; transition: opacity .4s ease 1.7s; }
.js .stx.play .sx-tip::after { animation: sx-ring 1.8s ease-out 1.9s infinite; }
@keyframes sx-ring { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(3.4); } }
.stx .bump { animation: sx-bump .7s ease-out; }
@keyframes sx-bump { 0% { color: #3EA6FF; } 100% { color: inherit; } }
.sx-kpi u.hop { animation: sx-hop .6s ease-out; }
@keyframes sx-hop { 30% { transform: translateY(-3px) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .sx-tip { opacity: 1; } .sx-tip::after { animation: none !important; } }
.sx-ch .g { stroke: #2A2A2A; fill: none; }
.sx-ch .ax { stroke: #AAA; fill: none; }
.sx-ch .band { fill: #3A3A3A; stroke: none; }
.sx-ch .ln { fill: none; stroke: #3EA6FF; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; }
.sx-x { display: flex; justify-content: space-between; padding: 4px 14px 12px; font-size: 9.5px; color: #AAA; }
.sx-rt { padding: 14px; border: 1px solid #303030; border-radius: 10px; align-self: start; }
.sx-rt > b { font-size: 14px; font-weight: 600; }
.sx-rt .live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #3EA6FF; vertical-align: 1px; }
.sx-rt strong { display: block; margin-top: 14px; font-size: 15px; font-weight: 600; }
.sx-bars { display: flex; align-items: flex-end; height: 30px; margin: 12px -2px 0 0; overflow: hidden; }
.sx-bars i { flex: 1 1 0; min-width: 0; margin-right: 2px; background: #3EA6FF; transform-origin: bottom; }
.sx [data-n], .sx-r b { font-variant-numeric: tabular-nums; }
.sx-rh { display: flex; justify-content: space-between; margin-top: 16px; font-size: 9.5px; color: #AAA; }
.sx-r { display: grid; grid-template-columns: minmax(0, 1fr) auto 38px; gap: 8px; align-items: center; margin-top: 9px; font-size: 11.5px; }
.sx-r span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-r b { font-weight: 400; }
.sx-r svg { width: 38px; height: 13px; fill: rgba(62,166,255,.45); stroke: #3EA6FF; stroke-width: 1; }
.sx-r:first-of-type b { font-weight: 600; }
/* появление: линия ролика дорисовывается, столбики вырастают */
.js .stx[data-play] .sx-ch .ln { stroke-dashoffset: 1; }
.js .stx[data-play] .sx-bars i { transform: scaleY(0); }
.js .stx.play .sx-ch .ln { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s var(--calm) .25s; }
.js .stx.play .sx-bars i { transform: none; transition: transform .9s var(--calm) .35s, height .7s var(--calm), flex-grow .8s var(--calm), margin-right .8s var(--calm); }
/* экран живет: метка «Updating live» мягко дышит, цифры и столбики ведет site.js */
@keyframes sx-live { 50% { opacity: .35; } }
.js .stx.play .sx-rt .live::before { animation: sx-live 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .js .stx.play .sx-rt .live::before { animation: none; } }

/* сравнение и гарантия: общая белая полоса, плитки цвета страницы */
.cmp { padding: clamp(96px, 11vw, 160px) 0 0; border-radius: 48px 48px 0 0; background: var(--paper); }
.ctable { position: relative; isolation: isolate; margin-top: clamp(40px, 5vw, 60px); overflow: hidden; border-radius: 34px; background: var(--bg); }
/* розовая колонка RANK.TUBE одним слоем: при появлении таблицы она опускается сверху */
.ctable::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: calc((100% - 240px) / 2); background: var(--soft); transform-origin: top; }
.crow { display: grid; grid-template-columns: 240px minmax(0, 1fr) minmax(0, 1fr); }
.crow > div { padding: 22px 30px; border-top: 1px solid var(--line); font-size: 18px; }
.crow > div:first-child { display: flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--g3); }
.crow > div:nth-child(2) { color: var(--g2); }
.crow .us { font-weight: 700; }
.crow:not(.chead) > div:nth-child(n+2) { display: flex; align-items: center; gap: 12px; }
.crow:not(.chead) > div:nth-child(n+2)::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: center / 12px no-repeat; }
.crow:not(.chead) > div:nth-child(2)::before { background-color: rgba(17,17,20,.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' fill='none' stroke='%2385858D' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.crow:not(.chead) > div.us::before { background-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.3 2.3 4.5-4.9' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.chead > div { border-top: 0; padding-top: 24px; padding-bottom: 20px; font-weight: 700; font-size: 15px; color: var(--g2); }
.chead .us { color: var(--red); font-weight: 800; font-size: 17px; letter-spacing: -.02em; }

/* появление сравнения и гарантии: один раз, когда блок на экране. Строки и плитки поднимаются волной, отметки
   проявляются следом за своей строкой, галочка гарантии рисуется. Только transform и opacity (галочка: штрих). */
.js .ctable[data-play]::before { transform: scaleY(0); }
.js .ctable[data-play] .crow { opacity: 0; transform: translateY(12px); }
.js .ctable[data-play] .crow:not(.chead) > div:nth-child(n+2)::before { opacity: 0; transform: scale(.4); }
.js .ctable.play::before { transform: none; transition: transform .9s var(--calm) .1s; }
.js .ctable.play .crow { opacity: 1; transform: none; transition: opacity .7s var(--calm) var(--d), transform .8s var(--drift) var(--d); }
.js .ctable.play .crow:not(.chead) > div:nth-child(n+2)::before { opacity: 1; transform: none; transition: opacity .45s var(--calm) calc(var(--d) + .3s), transform .5s var(--drift) calc(var(--d) + .3s); }
.js .ctable.play .crow:not(.chead) > div.us::before { transition-delay: calc(var(--d) + .45s); }
.crow { --d: 0s; }
.crow:nth-child(2) { --d: .07s; }
.crow:nth-child(3) { --d: .14s; }
.crow:nth-child(4) { --d: .21s; }
.crow:nth-child(5) { --d: .28s; }
.js .gcols[data-play] .gc { opacity: 0; transform: translateY(16px); }
.js .gcols.play .gc { opacity: 1; transform: none; transition: opacity .75s var(--calm) var(--d, 0s), transform .85s var(--drift) var(--d, 0s); }
.gc:nth-child(2) { --d: .09s; }
.gc:nth-child(3) { --d: .18s; }
.gc.main h3 svg path { stroke-dasharray: 22; }
.js .gcols[data-play] .gc.main h3 svg { transform: scale(.5); opacity: 0; }
.js .gcols[data-play] .gc.main h3 svg path { stroke-dashoffset: 22; }
.js .gcols.play .gc.main h3 svg { transform: none; opacity: 1; transition: opacity .45s var(--calm) .3s, transform .55s var(--drift) .3s; }
.js .gcols.play .gc.main h3 svg path { stroke-dashoffset: 0; transition: stroke-dashoffset .55s var(--calm) .6s; }

/* гарантия */
.guar { padding: clamp(96px, 11vw, 160px) 0; border-radius: 0 0 48px 48px; background: var(--paper); }
.gcols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-top: clamp(40px, 5vw, 60px); }
.gc { padding: 30px; border-radius: 34px; background: var(--bg); }
.gc h3 { font-weight: 800; font-size: 24px; letter-spacing: -.035em; }
.gc p { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--g2); }
.gc.main { grid-row: 1 / 3; padding: 38px; }
.gc.main h3 { display: flex; align-items: center; gap: 14px; font-size: clamp(30px, 3vw, 40px); letter-spacing: -.045em; }
.gc.main h3 svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--ruby); box-shadow: var(--ruby-sh); color: #fff; stroke-width: 3; flex: none; }
.gc.main p { margin-top: 18px; font-size: 19px; line-height: 1.5; color: var(--ink); }
.gc.main p + p { margin-top: 14px; font-size: 16px; color: var(--g2); }
.grule { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 20px; padding: 22px 30px; border-radius: 26px; box-shadow: inset 0 0 0 1.5px var(--line); }
.grule p { font-size: 16px; line-height: 1.45; color: var(--g2); }
.grule a { display: inline-flex; align-items: center; gap: 6px; flex: none; font-weight: 700; text-decoration: none; transition: color .2s; }
.grule a:hover { color: var(--red-d); }
.grule svg { width: 14px; height: 14px; stroke-width: 2.4; }
.free { margin-top: 20px; padding: 22px 30px; border-radius: 26px; background: var(--soft); font-size: 17px; line-height: 1.45; color: var(--g2); }
.free b { color: var(--red-d); font-weight: 800; }

/* вопросы */
.faq { padding: clamp(96px, 11vw, 160px) 0 0; }
.fgrid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 28px 60px; align-items: start; }
.fgrid .h2 { position: sticky; top: calc(var(--nav) + 24px); }
.qa { border-bottom: 1px solid var(--line); }
.qa details { border-top: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); letter-spacing: -.02em; line-height: 1.3; transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--red-d); }
.qa summary i { position: relative; width: 22px; height: 22px; flex: none; transition: transform .35s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; border-radius: 2px; background: currentColor; }
.qa summary i::after { transform: rotate(90deg); }
.qa details[open] summary i { transform: rotate(45deg); }
.ans { overflow: hidden; }
.ans p { max-width: 700px; padding: 0 0 26px; font-size: 17px; line-height: 1.6; color: var(--g2); }

/* начать */
.start { padding: clamp(96px, 11vw, 160px) 0 clamp(72px, 8vw, 110px); }
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 248px; gap: 48px; align-items: center;
  padding: clamp(32px, 5.4vw, 76px); border-radius: 44px; color: #fff;
  background: radial-gradient(90% 80% at 10% -10%, rgba(255,255,255,.26), rgba(255,255,255,0) 50%), var(--ruby); box-shadow: var(--ruby-sh), 0 40px 80px rgba(176,8,32,.22); }
.cta .h2 { text-align: left; font-size: clamp(42px, 5.6vw, 80px); }
.cta p { max-width: 540px; margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; opacity: .92; }
.cta .acts { justify-content: flex-start; margin-top: 34px; }
.qr { padding: 20px 20px 16px; border-radius: 30px; background: #fff; color: var(--g2); }
.qr img { width: 100%; height: auto; image-rendering: pixelated; }
.qr figcaption { margin-top: 12px; font-size: 13px; line-height: 1.35; text-align: center; }

/* телефон: кнопка проверки всегда под рукой после первого экрана, крестик убирает ее насовсем */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; gap: 8px; padding: 8px; border-radius: 22px;
    background: var(--paper); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 44px rgba(60,35,15,.22); opacity: 0; transform: translateY(calc(100% + 28px)); pointer-events: none;
    transition: opacity .24s var(--ease), transform .24s var(--ease); }
  .mbar.on { opacity: 1; transform: none; pointer-events: auto; }
  .mbar .btn { flex: 1; height: 50px; border-radius: 15px; font-size: 16px; }
  .mbar-x { width: 50px; height: 50px; flex: none; border-radius: 15px; background: var(--bg); color: var(--g2); display: grid; place-items: center; transition: color .2s; }
  .mbar-x:hover { color: var(--ink); }
  .mbar-x svg { width: 18px; height: 18px; stroke-width: 2.4; }
}

/* подвал */
.foot { padding: 36px 0 44px; border-top: 1px solid var(--line); }
.f-top { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.f-top .logo b { font-size: 18px; }
.f-top .logo img { width: 22px; height: 22px; }
.f-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.f-links a, .langs a { font-size: 15px; font-weight: 500; color: var(--g2); text-decoration: none; transition: color .2s; }
.f-links a:hover, .langs a:hover { color: var(--ink); }
.f-niches { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.f-niches a { font-size: 14px; font-weight: 500; color: var(--g3); text-decoration: none; transition: color .2s; }
.f-niches a:hover, .f-niches a[aria-current] { color: var(--ink); }
.f-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; font-size: 14px; color: var(--g3); }
.langs { display: flex; gap: 18px; }
.langs a { font-size: 14px; }
.langs a.on { color: var(--ink); font-weight: 700; }

/* условия */
.doc .terms { padding: calc(var(--nav) + clamp(40px, 6vw, 80px)) 0 clamp(80px, 9vw, 120px); }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--g2); text-decoration: none; transition: color .2s; }
.back:hover { color: var(--ink); }
.back svg { width: 15px; height: 15px; stroke-width: 2.2; }
.h1-doc { margin-top: 24px; font-weight: 800; font-size: clamp(48px, 7vw, 96px); line-height: .95; letter-spacing: -.055em; }
.terms .sub { max-width: none; margin: 18px 0 0; }
.tbody { margin: 48px 0 32px; padding: 8px 32px; border-radius: 30px; background: var(--paper); box-shadow: var(--sh); }
.tsec { padding: 24px 0; border-top: 1px solid var(--line); }
.tsec:first-child { border-top: 0; }
.tsec h2 { font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.tsec p { margin-top: 10px; font-size: 17px; line-height: 1.6; color: var(--g2); }

/* вход (вариант «Знак», выбран владельцем 12.11): крупный глянцевый знак бренда, заголовок и кнопка строго по центру
   окна. Блок ожидания и сообщение об ошибке встают под колонкой и ничего не сдвигают. */
.login { min-height: calc(100vh / var(--z, 1)); min-height: calc(100svh / var(--z, 1)); display: grid; place-items: center; padding: var(--nav) var(--gut);
  background: radial-gradient(60% 55% at 50% 0%, rgba(238,29,54,.1), rgba(238,29,54,0) 70%); }
/* под кнопкой у колонки есть запас 120 px (он не участвует в центровке): в нем встают блок ожидания и сообщение об ошибке */
.lg-card { position: relative; width: 100%; max-width: 760px; padding-bottom: 120px; margin-bottom: -120px; text-align: center; }
.lg-mark { position: relative; width: 132px; height: 132px; margin: 0 auto; border-radius: 36px; overflow: hidden; isolation: isolate; display: grid; place-items: center;
  background: radial-gradient(120% 80% at 18% -6%, rgba(255,255,255,.42), rgba(255,255,255,0) 52%), var(--ruby);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.4), inset 0 -22px 30px rgba(116,0,16,.4), 0 34px 70px rgba(176,8,32,.34); }
.lg-mark img { width: 70px; height: 70px; filter: brightness(0) invert(1); }
.lg-card h1 { margin-top: 44px; font-weight: 800; font-size: clamp(46px, 6.7vw, 96px); line-height: .94; letter-spacing: -.058em; }
.lg-card .sub { max-width: none; margin: 20px 0 0; font-size: clamp(18px, 1.55vw, 22px); }
.lg-go { min-width: 320px; height: 68px; margin-top: 40px; padding: 0 44px; font-size: 20px; border-radius: 20px; }
.lg-go .tg { fill: #fff; stroke: none; width: 22px; height: 22px; }
.lg-phone { display: none; }
@media (min-width: 761px) and (max-height: 860px) {
  .lg-mark { width: 104px; height: 104px; border-radius: 29px; }
  .lg-mark img { width: 56px; height: 56px; }
  .lg-card h1 { margin-top: 30px; font-size: clamp(46px, 5.6vw, 76px); }
  .lg-go { margin-top: 30px; height: 62px; }
}
.lg-wait { position: absolute; left: 50%; bottom: 0; text-align: left; display: flex; gap: 14px; align-items: flex-start; width: 100%; max-width: 470px; margin: 0 0 0 -235px; padding: 18px 20px; border-radius: 20px; background: var(--paper); box-shadow: var(--sh); text-align: left; animation: rise .35s var(--ease); }
.lg-wait .spin { margin-top: 3px; border-color: var(--line); border-top-color: var(--ink); }
.lg-wait b { display: block; font-weight: 700; }
.lg-wait span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--g2); }
.lg-wait .lg-acts { display: flex; gap: 18px; margin-top: 10px; }
.lg-acts a, .lg-acts button { font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; }
.lg-acts a:hover, .lg-acts button:hover { color: var(--red-d); }
.lg-wait:not([hidden]) ~ .lg-note, .lg-msg:not([hidden]) ~ .lg-note { visibility: hidden; }
.lg-msg { position: absolute; left: 0; right: 0; top: calc(100% - 141px); margin-top: 0; font-weight: 600; font-size: 15px; line-height: 1.45; color: var(--red-d); }
.lg-note { margin-top: 22px; }
.lg-note + .lg-note { margin-top: 8px; }
.lg-note a { color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: 0 1.5px 0 var(--line); }

/* ширины */
/* широкие мониторы: страница крупнее целиком, но только пока первый экран помещается в окно по высоте */
@media (min-width: 1900px) and (min-height: 965px) { body { zoom: 1.08; --z: 1.08; } }
@media (min-width: 1900px) and (min-height: 1075px) { body { zoom: 1.2; --z: 1.2; } }
@media (min-width: 2400px) and (min-height: 1300px) { body { zoom: 1.45; --z: 1.45; } }
@media (min-width: 1101px) and (max-height: 840px) {
  .hero h1 { margin-top: 20px; font-size: clamp(56px, 6.2vw, 88px); }
  .hero.np h1 { font-size: clamp(54px, 5.6vw, 80px); }
  .hero h1 small { margin-bottom: 10px; }
  .hero .lead { margin-top: 18px; }
  .check { margin-top: 22px; }
  .hfacts { margin-top: 22px; }
  .scene { transform: scale(.88); margin: -42px 0; }
  .plate { top: 42px; bottom: 30px; }
}
@media (max-width: 1100px) {
  .flow { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 44px; }
  .step { grid-row: auto; grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 0 44px; align-items: center; }
  .step .bar { grid-column: 1 / -1; margin-bottom: 26px; }
  .step .txt { padding: 0; }
  .step h3 { font-size: clamp(26px, 3.4vw, 34px); }
  .step p { font-size: 17px; max-width: 420px; }
  .pgrid { grid-template-columns: 1fr; }
  .disc-g { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; }
  .js .pack { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 36px; }
  .pk-in { min-width: 0; }
  .pk-out { margin-top: 0; padding-top: 0; }
  .dt { display: block; padding: 18px 20px; }
  .dt b { display: block; margin-top: 6px; }
  .dt em { display: block; margin-top: 8px; }
}
@media (min-width: 981px) and (max-width: 1199px) {
  .hero-g { grid-template-columns: minmax(0, 1fr) 440px; gap: 40px; }
  .hero h1 { margin-top: 20px; font-size: clamp(56px, 7.4vw, 88px); }
  .hero .lead { margin-top: 18px; }
  .check { margin-top: 22px; }
  .hfacts { margin-top: 22px; }
  .hfacts div { padding: 2px 15px; }
  .hfacts dt { font-size: 19px; }
  .hfacts dd { font-size: 13px; }
}
@media (min-width: 981px) and (max-width: 1100px) {
  .hero-g { grid-template-columns: minmax(0, 1fr) 400px; gap: 36px; }
  .niches { gap: 6px; }
  .nch { padding: 7px 11px; font-size: 14px; }
  .field { padding-left: 18px; }
  .field .ic { display: none; }
  .go { padding: 0 18px; }
  .fl.tags { left: -18px; }
  .fl.place, .fl.gfl { right: -8px; }
}
@media (max-width: 1279px) {
  .stx { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .sx { grid-template-columns: minmax(0, 1fr) 244px; }
  .sx-side { display: none; }
  .nb { grid-template-columns: minmax(0, 1fr) auto; }
  .nb-q { grid-column: 1 / -1; grid-row: 2; }
  .hero-g { grid-template-columns: 1fr; gap: 56px; }
  .hero-s { width: 100%; max-width: 520px; margin: 0 auto; }
  .head { grid-template-columns: 1fr; }
  .head .sp-ex { justify-self: start; margin: 0; }
  .head .sub { padding-bottom: 0; }
  .calc { grid-template-columns: 1fr; }
  .cgrid { grid-template-columns: 1fr; max-width: 640px; }
  .gcols { grid-template-columns: minmax(0, 1fr); }
  .gc.main { grid-row: auto; }
  .grule { flex-direction: column; align-items: flex-start; }
  .pfoot { flex-direction: column; align-items: flex-start; }
  .fgrid { grid-template-columns: 1fr; }
  .fgrid .h2 { position: static; }
  .cta { grid-template-columns: 1fr; }
  .qr { display: none; }
}
@media (max-width: 860px) {
  .links { display: none; }
  .links + .nav-btn { margin-left: auto; }
}
@media (max-width: 760px) {
  :root { --gut: 20px; --nav: 72px; }
  .how { border-radius: 34px; }
  .flow { gap: 40px; }
  .step { grid-template-columns: minmax(0, 1fr); }
  .step .bar { margin-bottom: 22px; }
  .step .card { margin-top: 20px; }
  .nav { top: 8px; }
  .nav-in { height: 52px; padding: 0 7px 0 16px; }
  .ptable { padding: 8px 8px 8px 18px; border-radius: 26px; }
  .prow { grid-template-columns: minmax(0, 1fr) 76px 92px; min-height: 92px; }
  .pcol-pv, .prow::after { width: 92px; right: 8px; border-radius: 22px; }
  .prow b { font-size: 17px; letter-spacing: -.02em; }
  .prow span { font-size: 12.5px; }
  .prow .pn, .prow .pp { padding-left: 12px; font-size: 28px; letter-spacing: -.05em; }
  .phead .pn, .phead .pp { font-size: 13px; letter-spacing: 0; }
  .phead small { font-size: 13px; }
  .phead .pn { padding-left: 4px; }
  .phead .pn small { font-size: 12px; }
  .phead > div:first-child span { display: none; }
  .x2 { padding: 3px 6px; font-size: 10px; white-space: nowrap; }
  .dt, .crow > div { min-width: 0; }
  .disc { padding: 16px; border-radius: 26px; }
  .disc-g { gap: 8px; }
  .dt { padding: 14px; border-radius: 16px; }
  .dt span { font-size: 12.5px; }
  .dt b { font-size: 32px; }
  .dt em { font-size: 13px; }
  .facts { grid-template-columns: 1fr; }
  .facts div { padding: 20px 0 0; }
  .facts dt { font-size: 38px; }
  .facts dd { margin-top: 6px; }
  .pan, .cta { border-radius: 32px; }
  .tier b { font-size: 42px; }
  .knobs { padding: 20px; }
  .num { font-size: 30px; width: 130px; }
  .total b { font-size: 46px; }
  .total { flex-wrap: wrap; }
  .total .btn { width: 100%; }
  .case, .gc, .ctable { border-radius: 26px; }
  .cbody { padding: 24px 20px 16px; }
  .gc, .gc.main { padding: 24px; }
  .gc.main p { font-size: 17px; }
  .grule, .free { padding: 20px 24px; }
  .crow { grid-template-columns: 1fr 1fr; }
  .ctable::before { width: 50%; }
  .crow > div { padding: 8px 14px 16px; border-top: 0; font-size: 15px; }
  .crow:not(.chead) > div:nth-child(n+2) { align-items: flex-start; gap: 8px; }
  .crow:not(.chead) > div:nth-child(n+2)::before { width: 18px; height: 18px; background-size: 10px; margin-top: 2px; }
  .crow > div:first-child { grid-column: 1 / -1; padding: 16px 18px 0; border-top: 1px solid var(--line); }
  .chead > div:first-child { display: none; }
  .chead > div { padding: 18px 18px 14px; }
  .chead .us { font-size: 15px; }
  .tbody { padding: 4px 20px; }
}
@media (max-width: 640px) {
  .stx { padding: 20px 16px 16px; border-radius: 26px; }
  .sx { grid-template-columns: minmax(0, 1fr); padding: 14px; border-radius: 18px; }
  .sx-tabs { gap: 14px; }
  .sx-tabs span:nth-child(n+3) { display: none; }
  .sx-kpi b { font-size: 17px; }
  .nb { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; border-radius: 26px; }
  .nb-q { grid-row: auto; }
  .nb-p { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .nb-p b { font-size: 52px; }
  .js .pack { grid-template-columns: minmax(0, 1fr); }
  .pk-out { padding-top: 16px; }
  .hero h1 { margin-top: 22px; }
  .nch { padding: 7px 12px; font-size: 14px; }
  .field { height: auto; flex-wrap: wrap; padding: 8px; }
  .field .ic { display: none; }
  .field input { flex: 1 1 100%; height: 52px; padding: 0 12px; }
  .go { width: 100%; }
  .err { margin: 10px 8px 0; }
  .hfacts { flex-direction: column; margin-top: 30px; }
  .hfacts div { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-left: 0; border-top: 1px solid rgba(17,17,20,.1); }
  .hfacts div:first-child { border-top: 0; padding-top: 0; }
  .hfacts dt { font-size: 20px; }
  .hfacts dd { margin: 0; }
  .r-vid { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
  .r-vid b { font-size: 15px; }
  .r-stats b { font-size: 32px; }
  .plan b { font-size: 28px; }
  .plan em { position: static; display: inline-block; margin-top: 8px; }
  .res { padding: 16px; border-radius: 24px; }
  .r-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-g { gap: 40px; }
  .scene { height: 640px; }
  .plate { top: 46px; bottom: 30px; border-radius: 36px; }
  .phone { width: 304px; height: 624px; margin-left: -152px; border-radius: 52px; }
  .scr { border-radius: 43px; }
  .row { height: 88px; grid-template-columns: 120px minmax(0, 1fr); }
  .row .tt { font-size: 12px; }
  .fl.tags { left: -6px; top: 208px; padding: 10px 14px 10px 10px; border-radius: 18px; gap: 10px; }
  .fl.tags .ic { width: 38px; height: 38px; border-radius: 12px; }
  .fl.tags b { font-size: 22px; }
  .fl.place { right: -6px; top: 430px; width: 214px; padding: 12px 14px 8px; border-radius: 18px; }
  .fl.place .v { font-size: 30px; }
  .fl.place svg { height: 48px; }
  .fl.gfl { right: -6px; top: 452px; min-width: 0; padding: 12px 16px; border-radius: 18px; }
  .gfl .v { font-size: 30px; }
  .sp { padding: 18px; border-radius: 24px; }
  .sp-vid { grid-template-columns: 100px minmax(0, 1fr); }
  .sp-res b { font-size: 62px; }
  .acts .btn { flex: 1 1 100%; }
  .login { place-items: start center; padding: calc(var(--nav) + 36px) var(--gut) 48px; }
  .lg-card { padding-bottom: 0; margin-bottom: 0; }
  .lg-wait:not([hidden]) ~ .lg-note, .lg-msg:not([hidden]) ~ .lg-note { visibility: visible; }
  .lg-mark { width: 104px; height: 104px; border-radius: 29px; }
  .lg-mark img { width: 56px; height: 56px; }
  .lg-card h1 { margin-top: 30px; }
  .lg-go { width: 100%; min-width: 0; margin-top: 30px; padding: 0 16px; font-size: 18px; }
  .lg-go span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .lg-card { min-width: 0; }
  .lg-wait { position: static; margin: 14px 0 0; text-align: left; max-width: none; }
  .lg-msg { position: static; margin-top: 14px; }
  .lg-phone { display: block; }
  .pfoot .acts { width: 100%; }
  .f-bot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .lg-go { padding: 0 10px; gap: 8px; font-size: 16px; }
  .note a { display: table; margin-top: 2px; }      /* ссылка с ценой всегда своей строкой: смена тематики не меняет высоту */
  .x2 { padding: 3px 5px; font-size: 9px; }
  .phead .pn { padding-left: 0; }
  .phead .pn small { font-size: 10.5px; }
  .sp-plans em { padding: 3px 6px; font-size: 10px; }
  .disc { padding: 12px; }
  .disc-g { gap: 6px; }
  .dt { padding: 12px 10px; }
  .dt span { font-size: 12px; }
  .dt b { font-size: 26px; }
  .dt em { font-size: 12px; }
  .crow > div { padding-left: 12px; padding-right: 10px; font-size: 14px; overflow-wrap: anywhere; }
  .crow > div:first-child { padding-left: 12px; }
  .plan { padding: 14px 12px; }
  .plan em { padding: 3px 6px; font-size: 10px; }
  .prow { grid-template-columns: minmax(0, 1fr) 68px 82px; }
  .pcol-pv, .prow::after { width: 82px; }
  .prow .pn, .prow .pp { font-size: 24px; padding-left: 10px; }
}
@media (max-width: 420px) {
  .pan { padding: 26px 18px; }
  .calc > * { min-width: 0; }
  .tier { padding: 18px; border-radius: 22px; }
  .tier b { font-size: 36px; }
  .knobs { padding: 16px; border-radius: 22px; }
  .kh > span:first-child { min-width: 0; }
  .num { flex: none; width: 112px; font-size: 26px; }
  .seg button { font-size: 13px; }
  .total b { font-size: 40px; }
  .facts dt { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; }
  .js [data-play]::before, .js [data-play] *, .js [data-play] *::before { opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; transition: none !important; }
  .gloss, .sk, .res, .sp-c.tick .sp-rows b, .sp-c.tick .sp-res b, .sp-c.tick .sp-k { animation: none; }
  .mbar, .fl { transition: none; }
  .js .step .sp *, .bar b { opacity: 1 !important; transition: none !important; }
  .js .step .sp-a .sp-dl > div, .js .step .sp-a .sp-g, .js .step .sp-a .sp-plans > div { transform: none; }
  .js .step .sp-b .sp-bar i { transform: scaleX(.62); }
  .js .step .sp-b .src i { transform: scaleX(var(--w)); }
  .bar b { transform: none !important; }
}

/* телефон без скрипта: итоговое положение строк (скрипт ставит свое) */
.row[data-k="0"] { transform: translateY(104px); }
.row[data-k="1"] { transform: translateY(208px); }
.row[data-k="2"] { transform: translateY(312px); }
.row[data-k="3"] { transform: translateY(416px); }
@media (max-width: 640px) {
  .row[data-k="0"] { transform: translateY(92px); }
  .row[data-k="1"] { transform: translateY(184px); }
  .row[data-k="2"] { transform: translateY(276px); }
  .row[data-k="3"] { transform: translateY(368px); }
}
