/* Разгон на apexline.win · v4 в дизайн-системе приложения Apexline. Дополнения к site.css главной.
   Светлый лист и белые панели, один королевский синий, синяя карточка с градиентом, зеленый только для денег,
   которые вернули, красный и коралл только для потерь. Шрифт Inter, как в приложении и на главной.
   Гарантия, вопросы и синий финал — блоки главной без изменений. CSP: без встроенных стилей. */

:root {
  --spring: cubic-bezier(.32, .72, 0, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --bad-soft: #FDECEA;
}

/* ── 1 · Орбита ───────────────────────────────────── */
.r-hero { position: relative; padding: 36px 0 88px; isolation: isolate; overflow: hidden; }
.r-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, #D5DBE6 1px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 30%, transparent 78%); }
.r-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; min-height: min(780px, calc(100dvh - var(--top-h) - 40px)); }
.r-hero h1 { font-size: clamp(38px, 3.75vw, 56px); line-height: 1.03; letter-spacing: -.035em; text-wrap: balance; }
.r-lead { margin-top: 22px; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 32em; }
.r-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.r-orbit { --w: clamp(320px, 37.5vw, 560px); position: relative; justify-self: end; width: var(--w); height: var(--w); }
.r-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.r-ring-line { fill: none; stroke: var(--royal-tint); stroke-width: 1.2; }
.r-core-disc { fill: var(--white); stroke: var(--royal-tint); stroke-width: 1.2; }
.r-ring-apex { fill: none; stroke: var(--royal); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 150 1760; transform-box: fill-box; transform-origin: center; animation: r-spin 26s linear infinite; }
.r-ring { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; animation: r-spin var(--t) linear infinite var(--dir, normal); }
.r3 { --t: 170s; --rad: calc(var(--w) * .48); --step: calc(360deg / 7); }
.r2 { --t: 130s; --dir: reverse; --rad: calc(var(--w) * .37); --step: 60deg; --off: 30deg; }
.r1 { --t: 90s; --rad: calc(var(--w) * .25); --step: 90deg; --off: 45deg; }
.r-node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(calc(var(--i) * var(--step) + var(--off, 0deg))) translateY(calc(var(--rad) * -1)) rotate(calc((var(--i) * var(--step) + var(--off, 0deg)) * -1)); }
.r-node:nth-child(1) { --i: 0; } .r-node:nth-child(2) { --i: 1; } .r-node:nth-child(3) { --i: 2; } .r-node:nth-child(4) { --i: 3; }
.r-node:nth-child(5) { --i: 4; } .r-node:nth-child(6) { --i: 5; } .r-node:nth-child(7) { --i: 6; }
.r-tile, .r-face { position: absolute; display: grid; place-items: center; animation: r-spin var(--t) linear infinite; animation-direction: var(--counter, reverse); outline-offset: 4px; }
.r2 .r-tile { --counter: normal; }
.r-tile { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 19px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(19, 26, 46, .06), 0 14px 28px -16px rgba(19, 26, 46, .32); transition: border-color .2s var(--ease), box-shadow .3s var(--ease); }
.r2 .r-tile { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 16px; }
.r-tile img { width: 30px; height: 30px; transition: transform .5s var(--spring); }
.r2 .r-tile img { width: 25px; height: 25px; }
.r-face { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; }
.r-face img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--royal-tint), 0 12px 24px -12px rgba(19, 26, 46, .4); transition: transform .5s var(--spring); }
.r-tile:hover, .r-tile:focus-visible { border-color: var(--royal-line); box-shadow: 0 1px 2px rgba(19, 26, 46, .06), 0 18px 34px -16px rgba(42, 80, 247, .45); }
.r-tile:hover img, .r-face:hover img, .r-tile:focus-visible img, .r-face:focus-visible img { transform: scale(1.1); }
.r-tile em, .r-face em { position: absolute; left: 50%; top: calc(100% + 10px); z-index: 3; transform: translate(-50%, 4px); padding: 6px 11px; border-radius: 10px; background: var(--ink); color: var(--white); font-family: var(--sans); font-size: 12.5px; font-style: normal; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease), transform .3s var(--out); }
.r-tile:hover em, .r-face:hover em, .r-tile:focus-visible em, .r-face:focus-visible em { opacity: 1; transform: translate(-50%, 0); }
.r-orbit:hover .r-ring, .r-orbit:hover .r-tile, .r-orbit:hover .r-face, .r-orbit:focus-within .r-ring, .r-orbit:focus-within .r-tile, .r-orbit:focus-within .r-face { animation-play-state: paused; }
.r-core { position: absolute; left: 50%; top: 50%; width: 28%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 4px; text-align: center; }
.r-core-tile { display: grid; place-items: center; width: clamp(56px, 5vw, 76px); aspect-ratio: 1; margin-bottom: 8px; border-radius: 28%; background: linear-gradient(115deg, #1B33C8, #2A50F7 54%, #2C6BF2); box-shadow: var(--royal-glow); }
.r-core-tile svg { width: 56%; height: 56%; fill: var(--white); }
.r-core b { font-family: var(--sans); font-size: clamp(13px, 1.05vw, 16px); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.r-core span { font-size: 12px; line-height: 1.3; color: var(--ink-3); }
@keyframes r-spin { to { transform: rotate(360deg); } }


/* ── Нижняя панель на телефоне ────────────────────── */
.rz-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; gap: 12px; padding: 10px var(--gut-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gut); background: var(--white); border-top: 1px solid var(--line); animation: rz-up .3s var(--ease); }
.rz-sticky p { flex: 1; min-width: 0; display: grid; font-size: 14px; line-height: 1.3; }
.rz-sticky b { font-weight: 600; }
.rz-sticky span { font-size: 12.5px; color: var(--ink-3); }
@keyframes rz-up { from { transform: translateY(100%); } to { transform: none; } }
@media (min-width: 761px) { .rz-sticky { display: none !important; } }

/* ── Cookie ───────────────────────────────────────── */
.rz-cookie { position: fixed; left: 16px; bottom: 16px; z-index: 40; width: min(440px, calc(100vw - 32px)); padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: 0 24px 64px -24px rgba(0, 0, 0, .35); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.rz-cookie a { color: var(--royal-deep); }
.rz-cookie-act { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.foot-btn { padding: 0; border: 0; background: none; color: var(--white); font: inherit; cursor: pointer; text-align: left; }
.foot-btn:hover { text-decoration: underline; }

/* ── Анкета v4.6: по шагам. Слева синяя панель «Ваш разбор», справа один вопрос; сверху только полоса прогресса ── */
.rz-quiz { width: min(980px, calc(100vw - 32px)); height: min(660px, calc(100dvh - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(14, 24, 80, .55); overflow: hidden; overscroll-behavior: contain; }
.rz-quiz::backdrop { background: rgba(14, 20, 36, .55); }
.rz-quiz[open] { display: grid; grid-template-columns: 312px minmax(0, 1fr); animation: qz-pop .42s var(--out); }
@keyframes qz-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* Синяя панель: заголовок, цена, ответы строками, роли загораются */
.qz-side { position: relative; display: flex; flex-direction: column; gap: 22px; min-height: 0; padding: 30px 26px 26px; background: var(--royal-field); color: var(--white); isolation: isolate; overflow: hidden; }
.qz-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(255, 255, 255, .2) 1px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 90% 60% at 100% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 90% 60% at 100% 0%, #000 20%, transparent 75%); pointer-events: none; }
.qz-title { font-family: var(--ui); font-size: 23px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--white); }
.qz-price { margin-top: 10px; font-family: var(--ui); font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .8); }
.qz-price s { margin-right: 6px; color: rgba(255, 255, 255, .7); }
.qz-price b { margin-right: 4px; font-weight: 700; color: var(--white); }
.qz-price span { display: block; }
.qz-prof { display: grid; flex: 0 1 auto; min-height: 0; margin: 0; padding: 0; list-style: none; font-family: var(--ui); overflow: hidden; }
.qz-prof li { display: grid; grid-template-columns: 102px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 13.5px; line-height: 1.35; }
.qz-prof span { white-space: nowrap; color: rgba(255, 255, 255, .68); }
.qz-prof b { overflow: hidden; font-weight: 600; color: var(--white); white-space: nowrap; text-overflow: ellipsis; }
.qz-prof li.is-new { animation: qz-row .55s var(--out) both; }
@keyframes qz-row { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.qz-prof li.is-new b { animation: qz-glow 1.2s var(--x-ease) both; }
@keyframes qz-glow { from { color: #B7C6FF; } to { color: var(--white); } }
.qz-prof-empty { font-family: var(--ui); font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.qz-crew { margin-top: auto; font-family: var(--ui); }
.qz-crew p { font-size: 13px; color: rgba(255, 255, 255, .75); }
.qz-crew-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.qz-crew-row img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; opacity: .34; filter: saturate(.3); box-shadow: 0 0 0 2px rgba(255, 255, 255, .22); transition: opacity .35s var(--x-ease), filter .35s var(--x-ease), transform .5s var(--spring), box-shadow .35s var(--x-ease); }
.qz-crew-row img.is-on { opacity: 1; filter: none; transform: translateY(-4px) scale(1.1); box-shadow: 0 0 0 2px var(--white), 0 12px 22px -8px rgba(0, 0, 0, .5); }

/* Правая часть: прогресс, сцена шага, низ с «Назад» и «Дальше» */
.qz-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; font-family: var(--ui); }
.qz-top { display: flex; align-items: center; gap: 14px; padding: 20px 18px 0 40px; }
.qz-bar { flex: 1; height: 8px; border-radius: 4px; background: var(--royal-soft); overflow: hidden; }
.qz-bar i { position: relative; display: block; width: 0; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #1B33C8, #2A50F7 60%, #4F7BFF); transition: width .6s var(--out); overflow: hidden; }
.qz-bar i.is-sheen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); transform: translateX(-100%); animation: qz-sheen .9s var(--x-ease) .15s; }
@keyframes qz-sheen { to { transform: translateX(100%); } }
.qz-stage { position: relative; display: grid; flex: 1; align-content: start; min-height: 0; padding: 30px 40px 12px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.qz-stage > * { grid-area: 1 / 1; min-width: 0; }
.qz-step.in-r { animation: qz-in-r .42s var(--out) both; }
.qz-step.in-l { animation: qz-in-l .42s var(--out) both; }
.qz-step.out-l { animation: qz-out-l .24s var(--x-ease) both; pointer-events: none; }
.qz-step.out-r { animation: qz-out-r .24s var(--x-ease) both; pointer-events: none; }
@keyframes qz-in-r { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes qz-in-l { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
@keyframes qz-out-l { to { opacity: 0; transform: translateX(-36px); } }
@keyframes qz-out-r { to { opacity: 0; transform: translateX(36px); } }
.qz-intro { margin-bottom: 10px; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }
.qz-q { font-family: var(--ui); font-size: clamp(23px, 2.3vw, 30px); font-weight: 700; line-height: 1.18; letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.qz-hint { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }

/* Варианты: крупные карточки, цифра-клавиша слева, галочка справа */
.qz-opts { display: grid; gap: 10px; margin-top: 24px; }
.qz-opts.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qz-opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 14px 12px 12px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--white); text-align: left; font: 500 16px/1.3 var(--ui); color: var(--ink); cursor: pointer; transition: border-color .16s var(--x-ease), background-color .16s var(--x-ease), color .16s var(--x-ease), box-shadow .25s var(--x-ease), transform .4s var(--spring); }
.qz-opt:hover { border-color: var(--royal-line); background: var(--royal-soft); transform: translateY(-2px); box-shadow: 0 14px 24px -18px rgba(23, 64, 220, .7); }
.qz-opt:active { transform: scale(.98); }
.qz-opt:focus-visible { outline: 2px solid var(--royal); outline-offset: 2px; }
.qz-key { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--white); font-size: 13px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; transition: background-color .16s var(--x-ease), border-color .16s var(--x-ease), color .16s var(--x-ease); }
.qz-opt:hover .qz-key { border-color: var(--royal-line); color: var(--royal-deep); }
.qz-opt-t { flex: 1; min-width: 0; }
.qz-tick { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--white); color: var(--royal); opacity: 0; transform: scale(.3); transition: opacity .2s var(--x-ease), transform .45s var(--spring); }
.qz-tick .ic { width: 15px; height: 15px; stroke-width: 3; }
.qz-opts.is-multi .qz-tick { opacity: 1; transform: none; border-radius: 7px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-3); color: transparent; }
.qz-opt[aria-pressed="true"] { border-color: var(--royal); background: var(--royal); color: var(--white); box-shadow: 0 16px 28px -16px rgba(23, 64, 220, .9); }
.qz-opt[aria-pressed="true"] .qz-key { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .14); color: var(--white); }
.qz-opt[aria-pressed="true"] .qz-tick, .qz-opts.is-multi .qz-opt[aria-pressed="true"] .qz-tick { opacity: 1; transform: none; background: var(--white); box-shadow: none; color: var(--royal); }
.qz-opt.is-pop { animation: qz-tap .42s var(--spring); }
@keyframes qz-tap { 0% { transform: scale(.97); } 45% { transform: scale(1.03); } 100% { transform: none; } }
.qz-other { max-width: 460px; margin-top: 14px; }
.qz-stage .field input::placeholder { color: #8A93A6; opacity: 1; }

/* Ответ на выбор: реплика от Apexline */
.qz-react { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; }
.qz-react.is-in { animation: x-up .4s var(--x-ease) both; }
.qz-react-av { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(115deg, #1B33C8, #2A50F7 54%, #2C6BF2); box-shadow: var(--x-hero-sh); }
.qz-react-av svg { width: 19px; height: 19px; fill: var(--white); }
.qz-react p { max-width: 60ch; padding: 12px 15px; border-radius: 4px 14px 14px 14px; background: var(--royal-soft); font-size: 14.5px; line-height: 1.5; color: var(--ink); }

/* Роли под ответы */
.qz-roles { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.qz-roles li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px 14px 14px; border-radius: 12px; background: var(--canvas); animation: qz-in-r .5s var(--out) both; animation-delay: var(--d, 0ms); }
.qz-roles img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--royal); }
.qz-roles p { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.qz-roles b { font-size: 16.5px; font-weight: 700; color: var(--ink); }
.qz-roles i { margin-left: 8px; font-style: normal; font-size: 13.5px; color: var(--royal-deep); }
.qz-roles span { display: block; margin-top: 3px; }

/* Контакты */
.qz-form { display: block; }
.qz-form[hidden] { display: none; }
.qz-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin: 22px 0 14px; }
.qz-form .f-form:empty { display: none; }
.qz-form .f-form { margin-bottom: 10px; }
.qz-form .btn-block { margin-top: 4px; }
.qz-form.is-shake .qz-fields { animation: qz-shake .4s var(--x-ease); }
@keyframes qz-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.qz-consent { margin-top: 12px; font-size: 13px; color: var(--ink-3); text-align: center; }
.qz-consent a { color: var(--royal-deep); }

.qz-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 40px 24px; }
.qz-back { display: inline-flex; align-items: center; gap: 6px; padding: 10px 6px; border: 0; border-radius: 8px; background: none; font: 500 15px var(--ui); color: var(--ink-3); cursor: pointer; transition: color .15s var(--x-ease); }
.qz-back .ic { width: 16px; height: 16px; }
.qz-back:hover { color: var(--ink); }
.qz-back.is-off { visibility: hidden; }
.qz-next { min-width: 150px; }
.qz-next[hidden] { display: none; }

@media (max-width: 760px) {
  .rz-quiz { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .rz-quiz[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .qz-side { flex-direction: row; align-items: center; gap: 12px; min-height: 112px; padding: 16px 20px; }
  .qz-side > div:first-child { flex: 1; min-width: 0; }
  .qz-title { font-size: 17px; }
  .qz-price { margin-top: 3px; font-size: 12.5px; }
  .qz-prof, .qz-prof-empty, .qz-crew p { display: none; }
  .qz-crew { margin: 0; }
  .qz-crew-row { flex-wrap: nowrap; gap: 0; margin: 0; padding-left: 8px; }
  .qz-crew-row img { width: 32px; height: 32px; margin-left: -8px; }
  .qz-crew-row img:not(.is-on) { display: none; }
  .qz-crew-row img.is-on { transform: none; }
  .qz-top { padding: 14px 10px 0 20px; }
  .qz-stage { padding: 22px 20px 12px; }
  .qz-q { font-size: 23px; }
  .qz-opts { margin-top: 20px; gap: 8px; }
  .qz-opts.is-grid { grid-template-columns: minmax(0, 1fr); }
  .qz-opt { min-height: 52px; font-size: 15.5px; }
  .qz-key { display: none; }
  .qz-opt { padding-left: 16px; }
  .qz-fields { grid-template-columns: minmax(0, 1fr); }
  .qz-foot { padding: 12px 20px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  .rz-quiz[open], .qz-step.in-r, .qz-step.in-l, .qz-step.out-l, .qz-step.out-r, .qz-prof li.is-new, .qz-prof li.is-new b, .qz-opt.is-pop, .qz-react.is-in, .qz-roles li, .qz-form.is-shake .qz-fields, .qz-bar i.is-sheen::after { animation: none; }
  .qz-bar i, .qz-opt, .qz-tick, .qz-crew-row img { transition: none; }
}


/* ── Спасибо ──────────────────────────────────────── */
.rz-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-3); overflow: hidden; }
.rz-strip { display: flex; align-items: center; gap: 10px; padding: 12px 20px; background: var(--tile); border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.rz-strip b { font-weight: 600; color: var(--ink-2); }
.rz-walk-rows { margin: 0; padding: 0; list-style: none; }
.rz-walk-rows li { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 15.5px; }
.rz-walk-rows li:first-child { border-top: 0; }
.rz-walk-rows .ic { color: var(--royal); }
.rz-ok { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 20px; border-radius: 50%; background: var(--go-soft); color: var(--go); }
.rz-ok .ic { width: 28px; height: 28px; stroke-width: 2.2; }
.rz-th-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: min(880px, 100%); margin-top: 44px; text-align: left; }
.rz-th-text { padding: 16px 22px 20px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.rz-thanks h1 { font-family: var(--sans); }



/* ── Адаптив общих частей ─────────────────────────── */
@media (max-width: 1000px) {
  .r-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
}
@media (max-width: 760px) {
  body.rz-has-sticky { padding-bottom: 72px; }
  body.rz-has-sticky .rz-cookie { bottom: 84px; }
  .rz-th-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .r-hero h1 { font-size: 34px; }
  .r-lead { font-size: 17px; }
  .r-cta { flex-direction: column; }
  .r2 { display: none; }
  .r-core > span:last-child { display: none; }
  .r-core-tile { width: 46px; margin-bottom: 6px; }
  .r-core b { font-size: 12.5px; }
  .r-tile { width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 13px; }
  .r-tile img { width: 22px; height: 22px; }
  .r-face, .r-face img { width: 42px; height: 42px; }
  .r-face { margin: -21px 0 0 -21px; }
  .r-core-card { padding: 22px; }
  .rz-cookie { left: 12px; right: 12px; bottom: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .r-ring, .r-tile, .r-face, .r-ring-apex { animation: none; }
}


/* ══ v4 · блоки страницы в дизайн-системе приложения Apexline ══ */
:root {
  --x-track: #E3E7ED;
  --x-leak: linear-gradient(180deg, #F87662, #DF302A);
  --x-neg: #D72923;
  --x-hero-sh: 0 16px 36px -18px rgba(23, 64, 220, .55);
  --x-ease: cubic-bezier(.2, .7, .2, 1);
}
@keyframes x-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.x-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rz4 { --canvas: #EFF1F5; }
.x-sec { position: relative; padding: var(--sec) 0; }
.x-canvas { background: var(--canvas); }
.x-head { max-width: 760px; margin-bottom: 48px; }
.x-head .lead { margin-top: 16px; }
.x-center { text-align: center; }
.x-note { margin-top: 14px; font-family: var(--ui); font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.x-panel { background: var(--white); border-radius: 8px; box-shadow: 0 1px 2px rgba(19, 26, 46, .05); }
.x-tile { background: var(--tile); border-radius: 8px; }
.x-ptitle { display: flex; align-items: center; gap: 10px; font-family: var(--ui); font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.x-ptitle::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--royal); }
.x-blue { position: relative; overflow: hidden; border-radius: 12px; background: var(--royal-field); color: var(--white); box-shadow: var(--x-hero-sh); isolation: isolate; }
.x-motif { position: absolute; top: 14px; right: 14px; z-index: -1; width: 120px; height: 96px; fill: var(--white); pointer-events: none; }
.x-pos { color: var(--go); }

/* ── 1 · Первый экран ── */
.r-hero h1 { font-weight: 700; }
.x-rise > * { animation: x-up .5s var(--x-ease) both; }
.x-rise > :nth-child(2) { animation-delay: .06s; } .x-rise > :nth-child(3) { animation-delay: .12s; }
.x-rise > :nth-child(4) { animation-delay: .18s; } .x-rise > :nth-child(5) { animation-delay: .24s; }
.x-lockup { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 26px; }
.x-lockup .brand-tile { width: 36px; height: 36px; border-radius: 10px; }
.x-lockup .brand-tile svg { width: 22px; height: 22px; }
.x-lockup b { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.x-lockup > span:last-child { padding-left: 12px; border-left: 1px solid var(--line-2); font-family: var(--ui); font-size: 17px; line-height: 1.2; color: var(--ink-2); }

/* ── 2 · Ниши: как в «Разгоне», в светлом мире ── */
.x-niches { padding: 64px 0 104px; overflow: hidden; background: var(--white); }
.x-niches h2 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 40px; }
.x-ni { display: grid; gap: clamp(4px, .8vw, 12px); margin: 0 -6vw; transform: rotate(-2.2deg); }
.x-ni-row { overflow: hidden; white-space: nowrap; }
.x-ni-track { display: inline-flex; animation: x-niL 64s linear infinite; }
.x-ni-row.r2 .x-ni-track { animation-name: x-niR; animation-duration: 78s; }
.x-ni-row.r3 .x-ni-track { animation-duration: 56s; }
.x-ni-row:hover .x-ni-track { animation-play-state: paused; }
.x-ni-set, .x-ni-i { display: inline-flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.x-ni-set { padding-right: clamp(16px, 2vw, 32px); }
.x-ni-i b { font-size: clamp(40px, 6.2vw, 96px); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; color: var(--ink); }
.x-ni-row.r2 .x-ni-i b { color: var(--white); -webkit-text-stroke: 3px rgba(19, 26, 46, .34); paint-order: stroke fill; }
.x-ni-row.r3 .x-ni-i b { color: var(--royal); }
.x-ni-sep { flex: none; width: clamp(22px, 2.6vw, 40px); height: clamp(22px, 2.6vw, 40px); fill: none; stroke: var(--royal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.x-ni-row.r2 .x-ni-sep { stroke: var(--line-3); }
@keyframes x-niL { to { transform: translateX(-50%); } }
@keyframes x-niR { from { transform: translateX(-50%); } to { transform: none; } }

/* ── 3 · Переписка с AI-командой: окно фиксированной высоты, старые сообщения уходят вверх ── */
.x-pains-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
.x-pains-side { position: sticky; top: calc(var(--top-h) + 48px); }
.x-pains-side .lead { margin-top: 18px; }
.x-chat { padding: 24px; font-family: var(--ui); }
.x-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.x-stack { display: flex; padding-left: 8px; }
.x-stack img { width: 28px; height: 28px; margin-left: -8px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--white); }
.rz-js .x-log-win { display: flex; flex-direction: column; justify-content: flex-end; height: 470px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 110px); mask-image: linear-gradient(180deg, transparent 0, #000 110px); }
.x-log { display: grid; gap: 26px; padding: 22px 0 8px; transition: opacity .35s var(--x-ease); }
.x-chat.is-fade .x-log { opacity: 0; }
.x-ex { display: grid; gap: 14px; }
.x-me { display: flex; justify-content: flex-end; }
.x-me p { max-width: 80%; padding: 12px 16px; border-radius: 8px 8px 4px 8px; background: var(--royal); color: rgba(255, 255, 255, .86); font-size: 15px; line-height: 1.5; }
.x-me b { display: block; margin-bottom: 2px; font-weight: 600; color: var(--white); }
.x-ai { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.x-ava { position: relative; display: block; width: 36px; height: 36px; }
.x-ava img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--royal-line); }
.x-ava i { position: absolute; right: -6px; bottom: -4px; padding: 1px 3px; border-radius: 3px; background: var(--ink); color: var(--white); font-size: 11px; font-style: normal; font-weight: 700; line-height: 1.1; }
.x-ava.is-brand .brand-tile { width: 36px; height: 36px; border-radius: 10px; }
.x-ava.is-brand .brand-tile svg { width: 22px; height: 22px; }
.x-ai-b { min-width: 0; }
.x-by { font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.x-by b { margin-right: 4px; font-weight: 600; color: var(--ink); }
.x-ai-t { margin-top: 4px; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.x-ev { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 10px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px; }
.x-ev b { min-width: 3.2em; font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.x-ev span { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.x-typing { display: none; gap: 4px; width: max-content; margin-top: 6px; padding: 10px 12px; border-radius: 8px; background: var(--tile); }
.x-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: x-ty 1s var(--x-ease) infinite; }
.x-typing i:nth-child(2) { animation-delay: .15s; } .x-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes x-ty { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.rz-js .x-ex:not(.is-me) { display: none; }
.rz-js .x-ex:not(.is-ai) .x-ai { display: none; }
.rz-js .x-ex:not(.is-ans) .x-ai-t, .rz-js .x-ex:not(.is-ans) .x-ev { display: none; }
.rz-js .x-ex.is-ai:not(.is-ans) .x-typing { display: flex; }
.x-ex.is-me .x-me, .x-ex.is-ai .x-ai, .x-ex.is-ans .x-ai-t { animation: x-up .32s var(--x-ease) both; }
.x-ex.is-ans .x-ev { animation: x-up .32s var(--x-ease) .18s both; }
.x-chat-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: 18px; padding: 14px 16px; border-radius: 6px; background: var(--tile); }
.x-chat-foot p { font-size: 14px; color: var(--ink-2); }

/* ── 4 · Калькулятор и график ── */
.x-calc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: stretch; }
.x-sliders { display: grid; gap: 24px; align-content: start; padding: 24px; }
.r-range { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 8px 12px; cursor: pointer; font-family: var(--ui); }
.r-range span { font-size: 15px; color: var(--ink-2); }
.r-range output { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.r-range input { grid-column: 1 / -1; width: 100%; height: 24px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --p: 50%; }
.r-range input::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--royal) var(--p), var(--line-2) var(--p)); }
.r-range input::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--royal) var(--p), var(--line-2) var(--p)); }
.r-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--white); border: 2px solid var(--royal); box-shadow: 0 1px 3px rgba(19, 26, 46, .2); transition: box-shadow .18s var(--x-ease); }
.r-range input:focus-visible::-webkit-slider-thumb, .r-range input:active::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(42, 80, 247, .2); }
.r-range input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 2px solid var(--royal); }
.x-cost { display: flex; flex-direction: column; padding: 28px 32px; font-family: var(--ui); }
.x-blue-l { font-size: 15px; color: rgba(255, 255, 255, .82); }
.x-blue-v { margin-top: 6px; font-size: clamp(56px, 6vw, 88px); font-weight: 700; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.x-blue-t { margin-top: 14px; max-width: 56ch; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.x-blue-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); }
.x-cost .x-blue-band { margin-top: 26px; }
.x-blue-band > p { display: grid; align-content: center; gap: 2px; padding-right: 20px; border-right: 1px solid rgba(255, 255, 255, .2); }
.x-blue-band span, .x-blue-band small { font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.x-blue-band b { font-size: 36px; font-weight: 700; line-height: 1.1; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.x-gauge { display: flex; align-items: center; gap: 16px; padding-left: 24px; }
.x-gauge svg { flex: none; width: 84px; height: 84px; transform: rotate(-90deg); }
.x-gauge-bg { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 10; }
.x-gauge-fg { fill: none; stroke: var(--white); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 60; transition: stroke-dashoffset .65s var(--x-ease); }
.rz-js .x-cost:not(.is-in) .x-gauge-fg { stroke-dashoffset: 100 !important; }
.x-gauge p { display: grid; gap: 2px; }
.x-gauge b { font-size: 28px; }


/* ── 6 · Схема процесса: экран отчета ── */
.x-report { padding: 24px; font-family: var(--ui); }
.x-report-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.x-report-q { font-size: 14px; color: var(--ink-3); }
.x-report-q b { font-weight: 600; color: var(--ink); }
.x-tabs { position: relative; display: flex; gap: 28px; margin-top: 14px; border-bottom: 1px solid var(--line); }
.x-tabs button { padding: 10px 0 12px; border: 0; background: none; font-size: 15px; font-weight: 600; color: var(--ink-3); cursor: pointer; transition: color .18s var(--x-ease); }
.x-tabs button:hover, .x-tabs button[aria-selected="true"] { color: var(--ink); }
.x-tabs-ind { position: absolute; left: 0; bottom: -1px; width: var(--w, 0); height: 2px; border-radius: 1px; background: var(--royal); transform: translateX(var(--x, 0)); transition: transform .3s var(--x-ease), width .3s var(--x-ease); }
.x-band3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; padding: 22px 28px; }
.x-band3 p { display: grid; gap: 4px; padding: 0 24px; border-left: 1px solid rgba(255, 255, 255, .2); }
.x-band3 p:first-of-type { padding-left: 0; border-left: 0; }
.x-band3 span { font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.x-band3 b { font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.x-rows-h, .x-row-in { display: grid; grid-template-columns: 200px minmax(0, 1fr) 170px 120px; gap: 16px; align-items: center; padding: 0 16px; }
.x-rows-h { margin-top: 20px; padding-top: 10px; padding-bottom: 10px; border-radius: 6px; background: var(--tile); font-size: 13px; font-weight: 600; color: var(--ink-3); }
.x-rows-h span:last-child { text-align: right; }
.x-row { max-height: 140px; overflow: hidden; border-bottom: 1px solid var(--line); transition: max-height .45s var(--x-ease) .55s, opacity .3s var(--x-ease) .55s, background-color .3s var(--x-ease); }
.x-row-in { padding-top: 14px; padding-bottom: 14px; }
.x-who { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.x-who-ai { display: none; align-items: center; gap: 8px; font-weight: 600; color: var(--royal-deep); }
.x-who-ai img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.x-who-ai > span { display: grid; line-height: 1.25; }
.x-who-ai small { font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--ink-3); }
[data-mode="ai"] .x-row[data-ai="keep"] .x-meta { font-weight: 600; color: var(--royal-deep); }
.x-what { font-size: 15px; line-height: 1.45; color: var(--ink); }
.x-loss { margin-left: 8px; font-size: 12.5px; font-weight: 600; color: var(--x-neg); white-space: nowrap; }
.x-meta { font-size: 13.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.x-price { display: grid; justify-items: end; gap: 6px; }
.x-price b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; transition: color .3s var(--x-ease); }
.x-cbar { display: block; width: calc(var(--w, 0) * 100%); height: 4px; border-radius: 2px; background: linear-gradient(90deg, #F87662, #DF302A); transition: width .5s var(--x-ease); }
[data-mode="ai"] .x-row[data-ai="agent"] { background: var(--royal-soft); }
[data-mode="ai"] .x-row[data-ai="agent"] .x-who-t, [data-mode="ai"] .x-loss { display: none; }
[data-mode="ai"] .x-row[data-ai="agent"] .x-who-ai { display: inline-flex; animation: x-up .3s var(--x-ease) both; }
[data-mode="ai"] .x-row[data-ai="agent"] .x-price b { color: var(--go); }
[data-mode="ai"] .x-row[data-ai="agent"] .x-cbar { width: 0; }
[data-mode="ai"] .x-row[data-ai="gone"] .x-what { color: var(--ink-3); text-decoration: line-through; }
[data-mode="ai"] .x-row[data-ai="gone"] { max-height: 0; opacity: 0; border-bottom-color: transparent; }

/* ── 7 · Как проходит разбор: живое превью этапа и лента ── */
.x-how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: start; }
.x-how-side { position: sticky; top: calc(var(--top-h) + 40px); }
.x-hp { margin-top: 32px; padding: 22px; font-family: var(--ui); }
.x-hp-top { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.x-clock { position: relative; flex: none; width: 108px; margin: 0; }
.x-clock svg { display: block; width: 100%; height: auto; transform: rotate(-90deg); }
.x-clock-bg { fill: none; stroke: var(--tile); stroke-width: 18; }
.x-arc { fill: none; stroke: var(--x-track); stroke-width: 18; transition: stroke .4s var(--x-ease); }
.x-arc.is-on { stroke: var(--royal-line); }
.x-arc.is-cur { stroke: var(--royal); }
.x-clock p { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.x-clock b { font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.x-clock span { margin-top: 2px; font-size: 11.5px; color: var(--ink-3); }
.x-hp-cap { display: grid; gap: 4px; }
.x-hp-cap span { font-size: 13px; font-weight: 600; color: var(--royal-deep); }
.x-hp-cap b { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.x-hp-stage { position: relative; height: 252px; margin-top: 18px; }
.x-hp-v { position: absolute; inset: 0; display: grid; align-content: start; gap: 12px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s var(--x-ease), transform .35s var(--x-ease), visibility 0s linear .35s; }
.x-hp-v.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--x-ease) .05s, transform .35s var(--x-ease) .05s, visibility 0s; }
.x-hp-v.is-on > * { animation: x-up .4s var(--x-ease) both; }
.x-hp-v.is-on > :nth-child(2) { animation-delay: .14s; }
.x-hp-goal { display: grid; gap: 6px; padding: 16px 18px; border-radius: 6px; background: var(--royal-soft); font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.x-hp-goal span { font-size: 12.5px; font-weight: 600; color: var(--royal-deep); }
.x-hp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.x-hp-tiles p { display: grid; gap: 4px; padding: 12px 14px; border-radius: 6px; background: var(--tile); }
.x-hp-tiles span { font-size: 12.5px; color: var(--ink-3); }
.x-hp-tiles b { font-size: 17px; font-weight: 600; }
.x-hp-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; gap: 12px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.x-hp-rows b { font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: line-through; text-decoration-color: transparent; }
.x-hp-rows em { font-style: normal; font-weight: 700; text-align: right; color: var(--go); opacity: 0; }
.x-hp-v.is-on .x-hp-rows b { animation: x-strike .4s var(--x-ease) 1.2s both; }
.x-hp-v.is-on .x-hp-rows em { animation: x-up .35s var(--x-ease) both; }
.x-hp-v.is-on .x-hp-rows li:nth-child(1) em { animation-delay: 1.4s; } .x-hp-v.is-on .x-hp-rows li:nth-child(2) em { animation-delay: 1.55s; } .x-hp-v.is-on .x-hp-rows li:nth-child(3) em { animation-delay: 1.7s; }
@keyframes x-strike { to { color: var(--ink-3); text-decoration-color: var(--ink-3); } }
.x-hp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 12px 14px; border-radius: 6px; background: var(--tile); font-size: 14px; color: var(--ink-2); }
.x-hp-foot b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.x-hp-foot b.x-pos { color: var(--go); }
.x-hp-imp { display: grid; gap: 12px; }
.x-hp-imp li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline; font-size: 14.5px; }
.x-hp-imp b { font-weight: 700; font-variant-numeric: tabular-nums; }
.x-hp-imp i { grid-column: 1 / -1; display: block; height: 8px; border-radius: 3px; background: var(--x-track); overflow: hidden; }
.x-hp-imp i::before { content: ""; display: block; width: var(--w, 100%); height: 100%; border-radius: 3px; background: var(--go); transform-origin: left center; }
.x-hp-imp li:nth-child(2) i { --w: 74%; } .x-hp-imp li:nth-child(3) i { --w: 42%; }
.x-hp-v.is-on .x-hp-imp i::before, .x-hp-v.is-on .x-pace-track i { animation: x-grow 1s var(--x-ease) .25s both; }
@keyframes x-grow { from { transform: scaleX(0); } }
.x-tl { display: grid; gap: 6px; padding: 12px; font-family: var(--ui); }
.x-tl-edge { display: grid; grid-template-columns: 92px minmax(0, 1fr); padding: 14px 16px 14px 0; }
.x-tl-t { padding: 4px 0 0 16px; font-size: 14px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.x-tl-edge > div { position: relative; padding-left: 46px; }
.x-tl-ic { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--royal-soft); color: var(--royal-deep); }
.x-tl-ic .ic { width: 17px; height: 17px; }
.x-tl-edge h3 { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.x-tl-edge p { margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.x-tl-zoom { padding: 14px 8px 8px; border-radius: 8px; background: var(--tile); }
.x-tl-zoom-h { display: flex; align-items: center; gap: 8px; padding: 0 8px 10px; font-size: 13px; font-weight: 600; color: var(--royal-deep); }
.x-tl-zoom-h .ic { width: 16px; height: 16px; }
.x-tl-zoom ol { position: relative; display: grid; gap: 4px; }
.x-tl-zoom ol::before { content: ""; position: absolute; left: 89px; top: 26px; bottom: 26px; width: 2px; background: var(--line-2); }
.x-tl button { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); width: 100%; padding: 14px 16px 16px 0; border: 0; border-radius: 6px; background: transparent; text-align: left; overflow: hidden; cursor: pointer; transition: background-color .24s var(--x-ease), box-shadow .24s var(--x-ease); }
.x-tl button:hover { background: rgba(255, 255, 255, .7); }
.x-tl button[aria-pressed="true"] { background: var(--white); box-shadow: 0 1px 2px rgba(19, 26, 46, .06), 0 10px 22px -16px rgba(19, 26, 46, .35); }
.x-tl button .x-tl-t { padding-left: 12px; }
.x-tl button[aria-pressed="true"] .x-tl-t { color: var(--royal-deep); }
.x-tl-b { position: relative; padding-left: 26px; }
.x-tl-b::before { content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--white); border: 2px solid var(--line-3); transition: background-color .24s var(--x-ease), border-color .24s var(--x-ease); }
.x-tl button[aria-pressed="true"] .x-tl-b::before { border-color: var(--royal); background: var(--royal); }
.x-tl-b b { display: block; font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.x-tl-b > span { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); transition: max-height .4s var(--x-ease), opacity .3s var(--x-ease), margin-top .4s var(--x-ease); }
.x-tl button[aria-pressed="true"] .x-tl-b > span { max-height: 140px; margin-top: 6px; opacity: 1; }
.x-tl-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--royal); transform: scaleX(0); transform-origin: left center; }
.is-timing .x-tl button[aria-pressed="true"] .x-tl-prog { animation: x-prog 5.2s linear both; }
@keyframes x-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ── 8 · Что останется: первая страница карты ── */
.x-doc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: center; }
.x-doc-copy .lead { margin-top: 16px; }
.x-inc { display: grid; gap: 16px; margin-top: 30px; font-family: var(--ui); }
.x-inc li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.x-inc li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 10px; border-radius: 2px; background: var(--royal); }
.x-inc b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.x-strong { margin-top: 26px; font-size: 16px; font-weight: 600; }
.x-docp { padding: 28px 32px; font-family: var(--ui); }
.x-docp-top { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.x-docp-top .brand-tile { width: 24px; height: 24px; border-radius: 7px; }
.x-docp-top .brand-tile svg { width: 15px; height: 15px; }
.x-docp-pg { margin-left: auto; font-weight: 500; }
.x-docp h3 { margin-top: 18px; font-size: 30px; font-weight: 700; letter-spacing: -.025em; }
.x-docp-sub { margin-top: 2px; font-size: 14px; color: var(--ink-3); }
.x-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.x-kpi { display: grid; align-content: space-between; gap: 10px; padding: 16px; border-radius: 6px; background: var(--tile); }
.x-kpi span { font-size: 13px; line-height: 1.35; color: var(--ink-3); }
.x-kpi b { font-size: 28px; font-weight: 700; letter-spacing: -.025em; line-height: 1; font-variant-numeric: tabular-nums; }
.x-dq { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 14px 16px; border-radius: 6px; background: var(--royal-soft); }
.x-dq span { display: block; font-size: 12.5px; color: var(--ink-3); }
.x-dq b { font-size: 16px; font-weight: 600; }
.x-pace { margin-top: 20px; }
.x-pace-h { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.x-pace-track { position: relative; height: 10px; margin-top: 10px; border-radius: 3px; background: var(--x-track); overflow: hidden; }
.x-pace-track i { display: block; height: 100%; background: var(--royal); transform-origin: left center; transition: transform 1.2s var(--x-ease) .5s; }
.x-pace-track::before, .x-pace-track::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 3px; background: var(--white); }
.x-pace-track::before { left: 25%; } .x-pace-track::after { left: 75%; }
.x-pace-l { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 12px; margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.x-pace-l b { display: block; font-weight: 600; color: var(--ink); }
.x-pace-l li:last-child { text-align: right; }
.x-docp-link { display: flex; align-items: center; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--royal-deep); }
.x-docp > * { transition: opacity .3s var(--x-ease), transform .3s var(--x-ease); }
.x-docp > :nth-child(2) { transition-delay: .05s; } .x-docp > :nth-child(3) { transition-delay: .1s; } .x-docp > :nth-child(4) { transition-delay: .15s; }
.x-docp > :nth-child(5) { transition-delay: .3s; } .x-docp > :nth-child(6) { transition-delay: .4s; } .x-docp > :nth-child(7) { transition-delay: .5s; }
.rz-js .x-docp:not(.is-in) > * { opacity: 0; transform: translateY(8px); }
.rz-js .x-docp:not(.is-in) .x-pace-track i { transform: scaleX(0); }

/* ── 9 · AI-команда: карточки ролей ── */
.x-cards { display: flex; gap: 12px; height: 580px; font-family: var(--ui); }
.x-card { display: flex; flex: 0 0 120px; min-width: 0; overflow: hidden; border-radius: 8px; background: var(--white); transition: flex-grow .5s var(--x-ease), flex-basis .5s var(--x-ease); }
.x-card.is-on { flex: 1 1 0%; }
.x-card-btn { position: relative; flex: none; width: 120px; height: 100%; padding: 0; border: 0; border-radius: 8px; background: var(--royal-soft); overflow: hidden; text-align: left; cursor: pointer; transition: width .5s var(--x-ease); }
.x-card.is-on .x-card-btn { width: 36%; cursor: default; }
.x-card-btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .6s var(--x-ease); }
.x-card:not(.is-on) .x-card-btn:hover img { transform: scale(1.04); }
.x-ai-tag { position: absolute; top: 12px; left: 12px; padding: 1px 6px; border-radius: 4px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 700; line-height: 1.5; }
.x-card-name { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 56px 14px 14px; background: linear-gradient(180deg, transparent, rgba(11, 14, 25, .74)); font-size: 12.5px; line-height: 1.3; color: rgba(255, 255, 255, .85); }
.x-card:not(.is-on) .x-card-name { padding: 48px 10px 12px; font-size: 11.5px; }
.x-card-name b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--white); transition: font-size .4s var(--x-ease); }
.x-card.is-on .x-card-name { padding: 80px 22px 20px; font-size: 14px; }
.x-card.is-on .x-card-name b { font-size: 28px; }
.x-card-more { flex: 1; min-width: 0; padding: 28px 30px; overflow: auto; }
.x-card:not(.is-on) .x-card-more { display: none; }
.x-card.is-on .x-card-more { animation: x-up .4s var(--x-ease) .18s both; }
.x-promise { font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; color: var(--ink); }
.x-card-h { margin-top: 22px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.x-does { display: grid; gap: 8px; margin-top: 10px; }
.x-does li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.x-does li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 2px; background: var(--royal); }
.x-facts2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; }
.x-facts2 div { padding: 14px; border-radius: 6px; background: var(--tile); }
.x-facts2 dt { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.x-facts2 dd { margin: 4px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.x-more { margin-top: 20px; max-width: 900px; font-family: var(--ui); font-size: 14.5px; line-height: 1.6; color: var(--ink-3); }

/* ── 10 · Сначала у себя: синяя полоса ── */
.x-band4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 34px 36px; font-family: var(--ui); }
.x-band4 p { display: grid; align-content: start; gap: 12px; padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, .2); }
.x-band4 p:first-of-type { padding-left: 0; border-left: 0; }
.x-band4 b { font-size: clamp(36px, 3.6vw, 52px); font-weight: 700; line-height: 1; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.x-band4 span { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .84); }

/* ── 11 · Кто проводит: фото стоит на нижней границе ── */
.x-author { padding-top: var(--sec); overflow: hidden; background: var(--white); }
.x-author-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 72px; align-items: end; }
.x-author-photo { margin: 0; }
.x-author-photo img { width: 100%; max-width: 500px; height: auto; margin: 0 auto; }
.x-author-copy { align-self: center; padding-bottom: var(--sec); }
.x-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 14px 0 16px; font-family: var(--ui); }
.x-name b { font-size: 20px; font-weight: 600; }
.x-name span { font-size: 15px; color: var(--ink-3); }
.x-text { max-width: 62ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.x-msgs { display: grid; gap: 18px; margin-top: 28px; padding: 20px; border-radius: 8px; background: var(--tile); font-family: var(--ui); }
.x-msg { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
.x-msg img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 10%; background: var(--royal-soft); }
.x-msg p:last-child { margin-top: 3px; font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.x-msg { transition: opacity .3s var(--x-ease), transform .3s var(--x-ease); }
.x-msg + .x-msg { transition-delay: .25s; }
.rz-js [data-seq]:not(.is-in) .x-msg { opacity: 0; transform: translateY(8px); }

/* ── 12 · Почему с нами: таблица сравнения ── */
.x-cmp { display: grid; gap: 24px; padding: 28px; font-family: var(--ui); }
.x-mit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; padding: 20px 24px; border-radius: 6px; background: var(--tile); }
.x-mit .x-ptitle, .x-mit .x-src { grid-column: 1 / -1; }
.x-mit-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l v" "bar bar"; gap: 6px 12px; margin-top: 18px; align-items: baseline; }
.x-mit-row span { grid-area: l; font-size: 14px; color: var(--ink-2); }
.x-mit-row strong { grid-area: v; font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.x-mit-row.is-us strong { color: var(--royal-deep); }
.x-mit-row i { grid-area: bar; display: block; height: 10px; border-radius: 3px; background: var(--x-track); overflow: hidden; }
.x-mit-row b { display: block; width: 33%; height: 100%; border-radius: 3px; background: var(--ink-3); transform-origin: left center; transition: transform .9s var(--x-ease) .2s; }
.x-mit-row.is-us b { width: 67%; background: var(--royal); }
.rz-js .x-cmp:not(.is-in) .x-mit-row b { transform: scaleX(0); }
.x-src { margin-top: 16px; font-size: 12.5px; color: var(--ink-3); }
.x-ctbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.x-ctbl th, .x-ctbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.45; }
.x-ctbl thead th { padding-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.x-ctbl thead td { border-bottom: 1px solid var(--line); }
.x-ctbl thead th.is-us { border-radius: 6px 6px 0 0; background: var(--royal-soft); color: var(--royal-deep); }
.x-ctbl tbody th { width: 190px; font-size: 15px; font-weight: 600; color: var(--ink); }
.x-ctbl td { position: relative; padding-left: 44px; color: var(--ink-2); }
.x-ctbl td.is-us { background: var(--royal-soft); font-weight: 500; color: var(--ink); }
.x-ctbl tbody tr:last-child th, .x-ctbl tbody tr:last-child td { border-bottom: 0; }
.x-ctbl tbody tr:last-child td.is-us { border-radius: 0 0 6px 6px; }
.x-mk { position: absolute; left: 16px; top: 15px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; }
.x-mk.is-no { background: var(--x-track); }
.x-mk.is-no::before { content: ""; width: 8px; height: 2px; border-radius: 1px; background: var(--ink-3); }
.x-mk.is-yes { background: var(--go); color: var(--white); transition: transform .35s var(--spring); }
.x-mk.is-yes .ic { width: 12px; height: 12px; stroke-width: 2.6; }
.x-ctbl tbody tr { transition: opacity .3s var(--x-ease), transform .3s var(--x-ease); }
.x-ctbl tbody tr:nth-child(2) { transition-delay: .08s; } .x-ctbl tbody tr:nth-child(3) { transition-delay: .16s; }
.x-ctbl tbody tr:nth-child(4) { transition-delay: .24s; } .x-ctbl tbody tr:nth-child(5) { transition-delay: .32s; }
.x-ctbl tbody tr:nth-child(1) .is-yes { transition-delay: .5s; } .x-ctbl tbody tr:nth-child(2) .is-yes { transition-delay: .62s; }
.x-ctbl tbody tr:nth-child(3) .is-yes { transition-delay: .74s; } .x-ctbl tbody tr:nth-child(4) .is-yes { transition-delay: .86s; }
.x-ctbl tbody tr:nth-child(5) .is-yes { transition-delay: .98s; }
.rz-js .x-cmp:not(.is-in) tbody tr { opacity: 0; transform: translateY(8px); }
.rz-js .x-cmp:not(.is-in) .x-mk.is-yes { transform: scale(0); }

/* ── 13–14 · Гарантия и вопросы как на главной ── */
.rz4 .rz-faq { overflow-x: clip; background: var(--canvas); }
.faq-note { margin-top: 14px; font-family: var(--ui); font-size: 15px; line-height: 1.55; color: var(--ink-3); max-width: 32ch; }

/* ── 14 · Кому подойдет: две панели с шапкой группы, как в приложении ── */
.x-fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; font-family: var(--ui); }
.x-fitp { display: flex; flex-direction: column; padding: 20px; }
.x-grp { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 6px; background: var(--tile); }
.x-grp-i { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--go); color: var(--white); }
.x-fitp.is-no .x-grp-i { background: var(--x-track); color: var(--ink-3); }
.x-grp-i .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.x-grp b { font-size: 17px; font-weight: 600; }
.x-fitp ul { display: grid; margin-top: 4px; }
.x-fitp li { position: relative; padding: 16px 4px 16px 30px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--ink); transition: opacity .3s var(--x-ease), transform .3s var(--x-ease); }
.x-fitp li:last-child { border-bottom: 0; }
.x-fitp li::before { content: ""; position: absolute; left: 6px; top: 24px; width: 10px; height: 10px; border-radius: 2px; background: var(--go); }
.x-fitp.is-no li { color: var(--ink-2); }
.x-fitp.is-no li::before { background: var(--line-3); }
.x-fitp-act { margin-top: auto; padding-top: 16px; }
.x-fitp li:nth-child(2) { transition-delay: .08s; } .x-fitp li:nth-child(3) { transition-delay: .16s; }
.x-fitp + .x-fitp li { transition-delay: .24s; }
.rz-js .x-fit-grid:not(.is-in) li { opacity: 0; transform: translateY(8px); }

/* ── 16 · Финал как на главной ── */
.x-close .lead { max-width: 640px; }
.x-was { margin-bottom: 16px; font-family: var(--ui); font-size: 17px; color: rgba(255, 255, 255, .78); }
.x-was s { position: relative; margin-left: 4px; font-weight: 600; color: var(--white); text-decoration: none; }
.x-was s::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 2px; border-radius: 1px; background: var(--white); transform-origin: left center; transition: transform .6s var(--x-ease) .9s; }
.rz-js .x-was:not(.is-in) s::after { transform: scaleX(0); }

/* ── v4 адаптив ── */
@media (max-width: 1100px) {
  .x-cmp { grid-template-columns: minmax(0, 1fr); }
  .x-mit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .x-mit .x-ptitle, .x-mit .x-src { grid-column: 1 / -1; }
  .x-rows-h, .x-row-in { grid-template-columns: 172px minmax(0, 1fr) 150px 110px; }
}
@media (max-width: 1000px) {
  .x-pains-grid, .x-calc-grid, .x-delay, .x-how-grid, .x-doc-grid, .x-author-grid { grid-template-columns: minmax(0, 1fr); }
  .x-pains-side, .x-how-side { position: static; }
  .x-clock { width: min(220px, 60%); margin-top: 28px; }
  .x-band4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .x-band4 p:nth-of-type(3) { padding-left: 0; border-left: 0; }
  .x-cards { height: auto; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut-r) 4px var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .x-cards::-webkit-scrollbar { display: none; }
  .x-card, .x-card.is-on { flex: 0 0 min(84%, 420px); flex-direction: column; scroll-snap-align: start; }
  .x-card-btn, .x-card.is-on .x-card-btn { width: 100%; height: 280px; cursor: default; }
  .x-card .x-card-name, .x-card.is-on .x-card-name { padding: 60px 18px 16px; font-size: 13.5px; }
  .x-card .x-card-name b, .x-card.is-on .x-card-name b { font-size: 24px; }
  .x-card:not(.is-on) .x-card-more { display: block; }
  .x-card .x-card-more, .x-card.is-on .x-card-more { animation: none; overflow: visible; padding: 22px 20px; }
  .x-author-photo { order: 2; }
  .x-author-photo img { max-width: 360px; }
  .x-author-copy { padding-bottom: 40px; }
}
@media (max-width: 760px) {
  .x-rows-h { display: none; }
  .x-row-in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who cost" "what what" "meta meta"; gap: 4px 12px; padding: 12px 4px; }
  .x-who { grid-area: who; } .x-what { grid-area: what; } .x-meta { grid-area: meta; } .x-price { grid-area: cost; }
  .x-band3 { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; }
  .x-band3 p { padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
  .x-band3 p:first-of-type { padding-top: 0; border-top: 0; }
  .x-ctbl, .x-ctbl thead, .x-ctbl tbody, .x-ctbl tr, .x-ctbl th, .x-ctbl td { display: block; }
  .x-ctbl thead { display: none; }
  .x-ctbl tbody tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .x-ctbl tbody tr:last-child { border-bottom: 0; }
  .x-ctbl tbody th { width: auto; padding: 0 0 8px; border: 0; font-size: 16px; color: var(--ink); }
  .x-ctbl td { margin-top: 6px; padding: 8px 12px 8px 40px; border: 0; border-radius: 6px; }
  .x-ctbl td::before { content: attr(data-l); display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
  .x-ctbl td.is-us::before { color: var(--royal-deep); }
  .x-ctbl tbody tr:last-child td.is-us { border-radius: 6px; }
  .x-mk { left: 12px; top: 11px; }
  .x-fit-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .x-niches { padding: 40px 0 72px; }
  .x-chat { padding: 16px; }
  .x-me p { max-width: 90%; }
  .x-ev { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .x-chat-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .x-sliders, .x-chart, .x-report, .x-docp { padding: 20px; }
  .x-cost { padding: 24px 20px; }
  .x-blue-band { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .x-blue-band > p { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .x-gauge { padding-left: 0; }
  .x-tl::before { left: 76px; }
  .x-tl button, .x-tl-edge { grid-template-columns: 72px minmax(0, 1fr); padding-right: 12px; }
  .x-tl-t { padding-left: 10px; font-size: 13px; }
  .x-kpis { grid-template-columns: minmax(0, 1fr); }
  .x-band4 { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .x-band4 p, .x-band4 p:nth-of-type(3) { padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
  .x-band4 p:first-of-type { padding-top: 0; border-top: 0; }
  .x-cmp { padding: 20px; }
  .x-mit { grid-template-columns: minmax(0, 1fr); }
  .x-facts2 { grid-template-columns: minmax(0, 1fr); }
  .x-lockup > span:last-child { flex-basis: 100%; padding-left: 0; border-left: 0; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .x-rise > * { animation: none; }
  .x-ni-track { animation: none; }
  .x-typing i, .x-card.is-on .x-card-more, [data-mode="ai"] .x-row[data-ai="agent"] .x-who-ai { animation: none; }
}
@media (max-width: 1000px) { .r-orbit { --w: min(560px, 88vw); justify-self: center; margin-top: 12px; } }
@media (max-width: 640px) { .r-orbit { --w: min(330px, 84vw); } .r-cta .btn { width: 100%; } }
.x-band4 .x-motif { display: none; }
@media (max-width: 760px) { .x-band3 .x-motif { display: none; } }

/* v4 · правки после проверки */
@media (min-width: 1001px) and (max-width: 1240px) {
  .x-card, .x-card-btn { flex-basis: 96px; width: 96px; }
  .x-card.is-on { flex: 1 1 0%; width: auto; }
  .x-card.is-on .x-card-btn { width: 30%; }
}
@media (max-width: 640px) {
  body.rz-has-sticky .top .btn { display: none; }
  .x-mit { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .x-msg, .x-docp > *, .x-ctbl tbody tr, .x-fit-grid li, .x-mk.is-yes, .x-was s::after, .x-me, .x-ai, .x-ai-t, .x-ev, .x-typing { transition: none; }
}
@keyframes r-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ══ v4.1 · правки по замечаниям Максима ══ */
/* Первый экран: три факта с иконками, без точек-разделителей */
.x-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-family: var(--ui); font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.x-facts li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.x-facts .ic { width: 18px; height: 18px; color: var(--royal); }
.x-facts b { font-weight: 600; color: var(--ink); }
.x-facts s { color: var(--ink-3); text-decoration-thickness: 1.5px; }

/* Промедление: болид едет по месяцам, сумма растет */
.x-drain { margin-top: 96px; font-family: var(--ui); }
.x-drain-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: end; }
.x-drain-copy h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; line-height: 1.1; letter-spacing: -.025em; }
.x-drain-copy p { margin-top: 14px; max-width: 46ch; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.x-drain-sum { text-align: right; }
.x-drain-l, .x-drain-h { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.x-drain-l b, .x-drain-h b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.x-drain-v { margin: 6px 0 4px; font-size: clamp(56px, 7vw, 104px); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: #C42620; font-variant-numeric: tabular-nums; }
.x-drain-road { position: relative; height: 64px; margin-top: 40px; border-radius: 32px; background: var(--x-track); --p: 1; }
.x-drain-road::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * (100% - 64px) + 64px); border-radius: 32px; background: linear-gradient(90deg, rgba(248, 118, 98, .18), rgba(223, 48, 42, .42)); transition: width .26s linear; }
.x-drain-road::after { content: ""; position: absolute; left: 28px; right: 28px; top: 50%; border-top: 2px dashed rgba(255, 255, 255, .95); }
.x-drain-car { position: absolute; z-index: 1; top: 50%; left: calc(var(--p) * (100% - 176px) + 8px); width: 168px; height: auto; transform: translateY(-58%); filter: drop-shadow(0 10px 8px rgba(19, 26, 46, .22)); pointer-events: none; transition: left .26s linear; }
.x-drain-road input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: grab; }
.x-drain-road input:active { cursor: grabbing; }
.x-drain-road:focus-within { outline: 2px solid var(--royal); outline-offset: 4px; }
.x-drain-ticks { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: 10px; padding: 0 8px; font-size: 12.5px; color: var(--ink-3); text-align: center; font-variant-numeric: tabular-nums; }
.x-drain-ticks li:nth-child(1), .x-drain-ticks li:nth-child(3), .x-drain-ticks li:nth-child(6), .x-drain-ticks li:nth-child(12) { font-weight: 600; color: var(--ink); }
.x-drain-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 30px; }
.x-drain-act .x-note { margin: 0; }

/* Схема продажи: полоска под вкладкой показывает, когда схема переключится сама */
.x-tabs-ind { height: 3px; }
.x-report.is-timing .x-tabs-ind { background: var(--royal-tint); }
.x-tabs-ind::after { content: ""; position: absolute; inset: 0; border-radius: 1px; background: var(--royal); transform-origin: left center; }
.x-report.is-timing .x-tabs-ind::after { animation: x-prog var(--hold, 5s) linear both; }

/* AI-команда: миниатюры остальных ролей */
.x-team { margin-top: 28px; font-family: var(--ui); }
.x-team-h { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.x-minis { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.x-minis li { display: grid; justify-items: center; align-content: start; gap: 10px; padding: 16px 10px 14px; text-align: center; border-radius: 8px; background: var(--white); box-shadow: 0 1px 2px rgba(19, 26, 46, .05); }
.x-minis img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--royal-line); }
.x-minis b { display: block; font-size: 15px; font-weight: 600; }
.x-minis span { display: block; font-size: 12.5px; line-height: 1.35; color: var(--ink-3); }
.x-team-n { margin-top: 12px; font-size: 14px; color: var(--ink-3); }

/* Кто проводит: фото крупнее, цитата без подписи */
.x-author-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 0 56px; }
.x-author-photo img { max-width: 620px; }
.x-quote { margin: 32px 0 0; padding: 0; font-family: var(--ui); }
.x-quote p { font-size: 24px; font-weight: 500; line-height: 1.45; letter-spacing: -.015em; color: var(--ink-2); text-wrap: pretty; }
.x-quote strong { color: var(--ink); }
.x-quote strong { font-weight: 700; }

/* Финал: роли на линии апекса появляются после линии */
.ca-av circle { fill: var(--white); }
.ca-av { opacity: 0; transition: opacity .6s var(--x-ease); }
.x-close.is-in .ca-av { opacity: 1; }
.x-close.is-in .ca-av:nth-of-type(1) { transition-delay: 1.1s; } .x-close.is-in .ca-av:nth-of-type(2) { transition-delay: 1.3s; }
.x-close.is-in .ca-av:nth-of-type(3) { transition-delay: 1.5s; } .x-close.is-in .ca-av:nth-of-type(4) { transition-delay: 1.7s; }

@media (max-width: 1000px) {
  .x-drain-top { grid-template-columns: minmax(0, 1fr); }
  .x-drain-sum { text-align: left; }
  .x-how-side { position: static; }
  .x-author-grid { grid-template-columns: minmax(0, 1fr); }
  .x-author-photo img { max-width: 420px; }
}
@media (max-width: 760px) {
  .x-fit-grid { grid-template-columns: minmax(0, 1fr); }
  .ca-av { display: none; }
}
@media (max-width: 640px) {
  .x-facts { display: grid; gap: 8px; font-size: 14.5px; }
  .rz-js .x-log-win { height: 500px; }
  .x-drain { margin-top: 72px; }
  .x-drain-road { height: 52px; margin-top: 28px; }
  .x-drain-car { width: 118px; left: calc(var(--p) * (100% - 126px) + 4px); }
  .x-drain-ticks { font-size: 11px; padding: 0 2px; }
  .x-drain-ticks li:not(:nth-child(1)):not(:nth-child(3)):not(:nth-child(6)):not(:nth-child(12)) { visibility: hidden; }
  .x-hp { padding: 16px; }
  .x-hp-stage { height: 290px; }
  .x-hp-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .x-hp-tiles p:last-child { grid-column: 1 / -1; }
  .x-tl-edge, .x-tl button { grid-template-columns: 70px minmax(0, 1fr); }
  .x-tl-zoom ol::before { left: 75px; }
  .x-tl-t { padding-left: 8px; font-size: 13px; }
  .x-tl button .x-tl-t { padding-left: 8px; }
  .x-quote p { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .rz-js .x-log-win { height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .x-ex .x-me, .x-ex .x-ai, .x-ex .x-ai-t, .x-ex .x-ev, .x-hp-v.is-on > *, .x-hp-v.is-on .x-hp-rows b, .x-hp-v.is-on .x-hp-rows em, .x-hp-v.is-on .x-hp-imp i::before, .x-hp-v.is-on .x-pace-track i { animation: none !important; }
  .x-hp-v.is-on .x-hp-rows em { opacity: 1; }
  .x-drain-road::before, .x-drain-car, .x-hp-v, .ca-av, .x-tl-b > span { transition: none; }
}
.x-hp-v .x-pace { margin-top: 4px; }
.x-hp-v .x-dq { margin-top: 0; }
@media (max-width: 1000px) { .x-clock { width: 96px; margin-top: 0; } }
@media (max-width: 1000px) { .x-minis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .x-minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ══ v4.2 · ритм фонов: белый, лист, светло-синий и синий чередуются, соседние блоки не совпадают ══ */
.x-white { background: var(--white); }
.x-soft { --x-soft: #E6ECFF; background: var(--x-soft); }
.x-royal { position: relative; background: var(--royal-field); color: var(--white); isolation: isolate; }
.x-royal h2 { color: var(--white); }
.x-royal .lead { color: rgba(255, 255, 255, .86); }
.x-royal::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(255, 255, 255, .22) 1px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 85% 0%, #000 20%, transparent 75%); pointer-events: none; }
.x-head .lead { text-wrap: balance; }
/* На белых секциях панели получают тонкую рамку, на синих — тень */
.x-white .x-panel { box-shadow: 0 0 0 1px var(--line), 0 18px 40px -30px rgba(19, 26, 46, .3); }
.x-royal .x-panel { box-shadow: 0 30px 60px -30px rgba(10, 20, 80, .55); }
.x-soft .x-panel { box-shadow: 0 1px 2px rgba(19, 26, 46, .06), 0 18px 40px -30px rgba(23, 64, 220, .35); }

/* Первый экран: название без значка — значок уже в шапке */
.x-lockup { gap: 6px 14px; }
.x-lockup b { font-size: 28px; }

/* Чат на синем: счетчик вопросов в шапке */
.x-chat-head { gap: 12px; }
.x-chat-n { margin-left: auto; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.x-chat-n b { font-weight: 700; color: var(--royal-deep); }

/* Промедление: болид вид сверху, нарисован кодом в цветах Apexline */
.x-drain-car { position: absolute; z-index: 1; top: 50%; left: calc(var(--p) * (100% - 176px) + 8px); width: 168px; height: auto; overflow: visible; transform: translateY(-50%); filter: drop-shadow(0 6px 6px rgba(19, 26, 46, .22)); pointer-events: none; transition: left .26s linear; }

/* Схема: процессы во вкладках, переключатель «С AI-командой», роли процесса */
.x-report-top { flex-wrap: nowrap; }
.x-switch { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; user-select: none; }
.x-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.x-switch-t { position: relative; width: 38px; height: 22px; border-radius: 11px; background: var(--x-track); transition: background-color .24s var(--x-ease); }
.x-switch-t::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px rgba(19, 26, 46, .25); transition: transform .24s var(--x-ease); }
.x-switch input:checked + .x-switch-t { background: var(--royal); }
.x-switch input:checked + .x-switch-t::after { transform: translateX(16px); }
.x-switch input:focus-visible + .x-switch-t { outline: 2px solid var(--royal); outline-offset: 3px; }
[data-mode="ai"] .x-switch { color: var(--royal-deep); }
.x-tabs { flex-wrap: wrap; gap: 4px 26px; }
.x-report-q { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.x-report-q b { font-weight: 600; color: var(--ink); }
.x-report-crew { display: flex; align-items: center; gap: 10px; }
.x-report-crew .x-stack img { box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--royal-line); }
.x-rows:not([hidden]) .x-row { animation: x-up .32s var(--x-ease) both; }
.x-rows:not([hidden]) .x-row:nth-child(2) { animation-delay: .04s; } .x-rows:not([hidden]) .x-row:nth-child(3) { animation-delay: .08s; }
.x-rows:not([hidden]) .x-row:nth-child(4) { animation-delay: .12s; } .x-rows:not([hidden]) .x-row:nth-child(5) { animation-delay: .16s; }
.x-rows:not([hidden]) .x-row:nth-child(6) { animation-delay: .2s; } .x-rows:not([hidden]) .x-row:nth-child(7) { animation-delay: .24s; }

/* Как проходит: светло-синий фон, медленное кольцо на фоне, ровная лента без квадратиков */
.x-how { overflow: hidden; isolation: isolate; }
.x-how::before, .x-how::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.x-how::before { width: 760px; height: 760px; right: -240px; top: -200px; border: 2px dashed rgba(42, 80, 247, .2); animation: r-spin 140s linear infinite; }
.x-how::after { width: 460px; height: 460px; right: -90px; top: -50px; border: 1px solid rgba(42, 80, 247, .16); }
.x-hp-cap b { font-size: 17px; font-weight: 600; color: var(--ink); }
.x-tl-zoom-h { padding: 0 8px 10px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.x-tl-edge > div { padding-left: 26px; }
.x-tl-edge > div::before { content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--white); border: 2px dashed var(--line-3); }
.x-tl-edge h3, .x-tl-b b { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }

/* Что останется: листы документа за страницей и точки на фоне; подсветка части при наведении на пункт */
.x-doc { overflow: hidden; }
.x-doc-art { position: relative; isolation: isolate; }
.x-doc-art::before { content: ""; position: absolute; inset: -60px -80px; z-index: -2; background-image: radial-gradient(circle, #C9D1E0 1px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 75%); }
.x-sheet { position: absolute; inset: 0; z-index: -1; border-radius: 8px; background: var(--white); box-shadow: 0 1px 2px rgba(19, 26, 46, .06), 0 20px 40px -30px rgba(19, 26, 46, .35); }
.x-sheet.s1 { transform: rotate(2.4deg) translate(14px, 10px); opacity: .9; }
.x-sheet.s2 { transform: rotate(5deg) translate(30px, 22px); opacity: .7; }
.x-doc-art .x-docp { position: relative; box-shadow: 0 1px 2px rgba(19, 26, 46, .06), 0 26px 50px -30px rgba(19, 26, 46, .4); }
.x-docp-map { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 18px; padding: 12px 14px; border-radius: 6px; border: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.x-docp-map b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.x-docp-map em { margin-left: auto; font-style: normal; font-weight: 600; color: var(--royal-deep); }
.x-inc li { cursor: default; border-radius: 6px; transition: color .2s var(--x-ease); }
.x-inc li:hover b { color: var(--royal-deep); }
.x-docp [data-part] { transition: box-shadow .25s var(--x-ease), opacity .25s var(--x-ease); border-radius: 6px; }
.x-docp[data-hl="map"] [data-part="map"], .x-docp[data-hl="cost"] [data-part="cost"], .x-docp[data-hl="plan"] [data-part="plan"], .x-docp[data-hl="demo"] [data-part="demo"] { box-shadow: 0 0 0 2px var(--royal), 0 0 0 6px var(--royal-soft); }
.x-docp[data-hl] [data-part] { opacity: .45; }
.x-docp[data-hl="map"] [data-part="map"], .x-docp[data-hl="cost"] [data-part="cost"], .x-docp[data-hl="plan"] [data-part="plan"], .x-docp[data-hl="demo"] [data-part="demo"] { opacity: 1; }

/* AI-команда на белом: карточки на листе; миниатюры — круги с подписью, без табличек */
.x-crew .x-card { background: var(--canvas); }
.x-crew .x-facts2 div { background: var(--white); }
.x-minis li { padding: 6px 4px; background: none; box-shadow: none; }
.x-minis img { width: 64px; height: 64px; }

/* Сначала у себя: на синем полоса без своей карточки */
.x-proof .x-band4 { padding: 8px 0 0; background: none; box-shadow: none; border-radius: 0; }
.x-proof .x-band4 p { border-left-color: rgba(255, 255, 255, .24); }
.x-proof .x-band4 b { font-size: clamp(44px, 4.6vw, 68px); }

/* Ниши на синем, как в «Разгоне» на темном: белые, контурные и голубые строки */
.x-niches.x-royal { padding: 112px 0; }
.x-niches h2 { margin-bottom: 44px; font-size: clamp(30px, 3.4vw, 48px); }
.x-niches.x-royal .x-ni-i b { color: var(--white); }
.x-niches.x-royal .x-ni-row.r2 .x-ni-i b { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55); paint-order: normal; }
.x-niches.x-royal .x-ni-row.r3 .x-ni-i b { color: #B7C6FF; }
.x-niches.x-royal .x-ni-sep { stroke: #B7C6FF; }
.x-niches.x-royal .x-ni-row.r2 .x-ni-sep { stroke: rgba(255, 255, 255, .4); }

/* Кто проводит: фото стоит на границе листа, ниже начинается синий блок ниш */
.x-author.x-canvas { background: var(--canvas); }

/* Кому подойдет: шапка группы без плашки */
.x-grp { padding: 4px 4px 14px; border-radius: 0; background: none; border-bottom: 1px solid var(--line); }

/* Вопросы: светло-синий фон, вопросы на белой панели */
.rz4 .rz-faq { background: #E6ECFF; }
.rz4 .rz-faq .qa { padding: 4px 26px; border-top: 0; border-radius: 8px; background: var(--white); box-shadow: 0 1px 2px rgba(19, 26, 46, .06), 0 18px 40px -30px rgba(23, 64, 220, .35); }
.rz4 .rz-faq .qa details:last-child { border-bottom: 0; }
.rz4 .rz-faq .qa summary .ic { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--royal-soft); color: var(--royal-deep); }

@media (max-width: 1000px) {
  .x-how::before { width: 520px; height: 520px; right: -260px; top: -120px; }
  .x-how::after { display: none; }
  .x-sheet.s2 { display: none; }
}
@media (max-width: 760px) {
  .x-report-top { flex-wrap: wrap; }
  .x-tabs { gap: 0 18px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .x-tabs::-webkit-scrollbar { display: none; }
  .x-tabs button { flex: none; }
  .x-docp-map em { margin-left: 0; }
}
@media (max-width: 640px) {
  .x-drain-car { width: 118px; left: calc(var(--p) * (100% - 126px) + 4px); }
  .x-minis img { width: 56px; height: 56px; }
  .rz4 .rz-faq .qa { padding: 2px 16px; }
  .x-niches.x-royal { padding: 64px 0 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .x-how::before { animation: none; }
  .x-rows:not([hidden]) .x-row { animation: none; }
}
.x-tl-edge > div::before { border: 2px solid var(--line-2); background: var(--tile); }
.x-niches.x-royal .x-ni-row.r2 .x-ni-i b { color: rgba(255, 255, 255, .3); -webkit-text-stroke: 0; }


/* ══ v4.4 · новые блоки: демо после разбора, «Решаете вы», первый месяц, отзывы (шаблон) ══ */


/* Решаете вы: список безопасности слева, уровень свободы, карточка действия и журнал справа */
.x-ctrl-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: center; }
.x-ctrl-copy .lead { margin-top: 16px; }
.x-safe { display: grid; margin-top: 30px; border-top: 1px solid var(--line-2); font-family: var(--ui); }
.x-safe li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); transition: opacity .4s var(--x-ease), transform .4s var(--x-ease); }
.x-safe li:nth-child(2) { transition-delay: .08s; } .x-safe li:nth-child(3) { transition-delay: .16s; } .x-safe li:nth-child(4) { transition-delay: .24s; }
.rz-js .x-safe:not(.is-in) li { opacity: 0; transform: translateY(8px); }
.x-safe .ic { width: 20px; height: 20px; margin-top: 2px; color: var(--royal); }
.x-safe p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.x-safe b { display: block; margin-bottom: 2px; font-size: 16.5px; font-weight: 600; line-height: 1.35; color: var(--ink); }

.x-dec { padding: 24px; font-family: var(--ui); }
.x-lvl { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
.x-lvl-track { position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: 9px; height: 4px; border-radius: 2px; background: var(--x-track); }
.x-lvl-track i { display: block; height: 100%; border-radius: 2px; background: var(--royal); transform: scaleX(var(--k, .5)); transform-origin: left center; transition: transform .5s var(--x-ease); }
.x-lvl button { position: relative; display: grid; justify-items: center; align-content: start; gap: 3px; padding: 32px 6px 2px; border: 0; border-radius: 6px; background: none; font: inherit; text-align: center; color: var(--ink-3); cursor: pointer; }
.x-lvl button::before { content: ""; position: absolute; left: 50%; top: 2px; box-sizing: border-box; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--white); border: 2px solid var(--line-3); transition: transform .35s var(--spring), background-color .25s var(--x-ease), border-color .25s var(--x-ease), box-shadow .25s var(--x-ease); }
.x-lvl button.is-past::before { border-color: var(--royal); background: var(--royal); }
.x-lvl button[aria-checked="true"]::before { border-color: var(--royal); background: var(--royal); box-shadow: 0 0 0 5px var(--royal-tint); transform: scale(1.2); }
.x-lvl b { font-size: 15.5px; font-weight: 600; color: var(--ink-2); transition: color .2s var(--x-ease); }
.x-lvl span { font-size: 13px; line-height: 1.35; }
.x-lvl button:hover b { color: var(--ink); }
.x-lvl button[aria-checked="true"] b { color: var(--royal-deep); }
.x-lvl button:focus-visible { outline: 2px solid var(--royal); outline-offset: 2px; }

.x-act { margin-top: 22px; padding: 18px; border-radius: 8px; background: var(--tile); }
.x-act-top { display: flex; align-items: center; gap: 12px; }
.x-act-top img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.x-act-top p { display: grid; font-size: 13px; line-height: 1.3; color: var(--ink-3); }
.x-act-top b { font-size: 15px; font-weight: 600; color: var(--ink); }
.x-act-top time { margin-left: auto; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.x-act-in { display: grid; gap: 3px; margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.x-act-in span, .x-act-h { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.x-act-draft { margin-top: 12px; padding: 14px 16px; border-radius: 6px; background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s var(--x-ease); }
.x-act-draft > p:last-child { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.x-act-h span { display: none; }
.x-dec[data-lvl="0"] .x-act-h [data-h="0"], .x-dec[data-lvl="1"] .x-act-h [data-h="1"], .x-dec[data-lvl="2"] .x-act-h [data-h="2"] { display: inline; }
.x-dec[data-lvl="1"] .x-act-h, .x-dec[data-lvl="2"] .x-act-h { color: var(--royal-deep); }
.x-dec.is-done .x-act-draft { box-shadow: 0 0 0 1px var(--royal-line), 0 10px 24px -18px rgba(23, 64, 220, .5); }
.x-act-foot { min-height: 48px; margin-top: 12px; }
.x-act-st { display: none; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.x-dec[data-lvl="0"] .s0, .x-dec[data-lvl="1"] .s1, .x-dec[data-lvl="2"] .s2 { display: flex; animation: x-up .35s var(--x-ease) both; }
.x-act-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 8px; background: var(--royal); color: var(--white); font-size: 14px; font-weight: 600; transition: transform .2s var(--spring), background-color .2s var(--x-ease); }
.x-act-btn.is-line { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2); }
.x-dec.is-press .x-act-btn:first-child { transform: scale(.93); background: var(--royal-deep); }
.x-act-st em { display: none; align-items: center; gap: 6px; min-height: 36px; font-style: normal; font-weight: 600; color: var(--royal-deep); }
.x-act-st em .ic { width: 16px; height: 16px; }
.x-dec.is-done .x-act-st em { display: inline-flex; animation: x-up .35s var(--x-ease) both; }
.x-dec.is-done .s1 .x-act-btn { display: none; }
.x-act-rule { flex-basis: 100%; font-size: 13.5px; color: var(--ink-3); }
.x-act-rule b { font-weight: 600; color: var(--ink-2); }

.x-jr { margin-top: 18px; }
.x-jr-h { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.x-jr ol { display: grid; margin-top: 4px; }
.x-jr li { display: grid; grid-template-columns: 46px 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; color: var(--ink); }
.x-jr li:last-child { border-bottom: 0; }
.x-jr time { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.x-jr img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.x-jr em { font-size: 13px; font-style: normal; color: var(--ink-3); white-space: nowrap; }
.x-jr li.is-new { animation: x-jr .5s var(--x-ease) both; }
.x-jr li.is-new em { color: var(--royal-deep); font-weight: 600; }
@keyframes x-jr { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Первый месяц: этапы слева; календарь 30 дней и сводка Mara справа */
.x-start-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px 56px; align-items: start; }
.x-steps { display: grid; gap: 6px; font-family: var(--ui); }
.x-steps button { position: relative; display: grid; grid-template-columns: 124px minmax(0, 1fr); width: 100%; padding: 18px 22px 20px 0; border: 0; border-radius: 8px; background: transparent; font: inherit; text-align: left; overflow: hidden; cursor: pointer; transition: background-color .24s var(--x-ease), box-shadow .24s var(--x-ease); }
.x-steps button:hover { background: rgba(255, 255, 255, .55); }
.x-steps button[aria-pressed="true"] { background: var(--white); box-shadow: 0 1px 2px rgba(19, 26, 46, .06), 0 18px 40px -30px rgba(23, 64, 220, .35); }
.x-steps button:focus-visible { outline: 2px solid var(--royal); outline-offset: 2px; }
.x-steps-t { padding: 2px 0 0 22px; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.x-steps button.is-past .x-steps-t, .x-steps button[aria-pressed="true"] .x-steps-t { color: var(--royal-deep); }
.x-steps-b { display: grid; gap: 6px; }
.x-steps-b b { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.x-steps-b span { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.x-steps-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--royal); transform: scaleX(0); transform-origin: left center; }
[data-start].is-timing .x-steps button[aria-pressed="true"] .x-steps-prog { animation: x-prog var(--hold, 5.2s) linear both; }

.x-month { padding: 24px; font-family: var(--ui); }
.x-month-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.x-month-d { font-size: 14px; color: var(--ink-3); }
.x-month-d b { font-size: 15px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.x-cal { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 44px; }
.x-cal-free { position: absolute; left: 0; right: 0; top: -28px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; color: var(--royal-deep); white-space: nowrap; }
.x-cal-free::before, .x-cal-free::after { content: ""; flex: 1; height: 8px; border-top: 1px solid var(--royal-line); }
.x-cal-free::before { border-left: 1px solid var(--royal-line); border-top-left-radius: 3px; margin-top: 8px; }
.x-cal-free::after { border-right: 1px solid var(--royal-line); border-top-right-radius: 3px; margin-top: 8px; }
.x-cal i { display: grid; place-items: center; height: 44px; border-radius: 6px; background: var(--tile); font-size: 13px; font-style: normal; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; transition: background-color .3s var(--x-ease) var(--d, 0ms), color .3s var(--x-ease) var(--d, 0ms), box-shadow .3s var(--x-ease); }
.x-cal i.is-free { background: var(--royal-soft); color: var(--royal-deep); }
.x-cal i.is-on { background: var(--royal); color: var(--white); }
.x-cal i.is-mark { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--royal); }
.x-brief { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; margin-top: 22px; padding: 16px; border-radius: 8px; background: var(--tile); }
.x-brief img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.x-brief-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; font-size: 13px; color: var(--ink-3); }
.x-brief-h b { font-size: 14px; font-weight: 600; color: var(--ink); }
.x-brief-ts { display: grid; margin-top: 6px; }
.x-brief-t { grid-area: 1 / 1; font-size: 15px; line-height: 1.5; color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .35s var(--x-ease), transform .35s var(--x-ease), visibility 0s linear .35s; }
.x-brief-t.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--x-ease) .12s, transform .35s var(--x-ease) .12s, visibility 0s; }
.x-brief-t b { font-weight: 700; }

/* Отзывы — ШАБЛОН до реальных: три текстовые карточки */
.x-vc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; font-family: var(--ui); }
.x-vc { display: flex; flex-direction: column; gap: 18px; padding: 26px; transition: box-shadow .3s var(--x-ease); }
.x-white .x-vc:hover { box-shadow: 0 0 0 1px var(--royal-line), 0 24px 48px -30px rgba(23, 64, 220, .45); }
.x-vc-num { display: grid; gap: 6px; }
.x-vc-num b { font-size: clamp(34px, 3vw, 46px); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.x-vc-num b.x-pos { color: var(--go); }
.x-vc-num span { font-size: 14px; color: var(--ink-3); }
.x-vc blockquote { margin: 0; }
.x-vc blockquote p { font-size: 17px; line-height: 1.5; color: var(--ink); }
.x-vc-who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.35; color: var(--ink-3); }
.x-vc-av { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--royal-soft); color: var(--royal-deep); font-size: 14px; font-weight: 700; }
.x-vc-who > span:last-child { display: grid; }
.x-vc-who b { font-size: 15px; font-weight: 600; color: var(--ink); }
.rz-js .x-voices:not(.is-in) .x-vc { opacity: 0; }
.x-voices.is-in .x-vc { animation: x-rise16 .6s var(--x-ease) both; }
.x-voices.is-in .x-vc:nth-child(2) { animation-delay: .12s; } .x-voices.is-in .x-vc:nth-child(3) { animation-delay: .24s; }
@keyframes x-rise16 { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .x-ctrl-grid, .x-start-grid, .x-vc-grid { grid-template-columns: minmax(0, 1fr); }
  .x-vc-grid { gap: 12px; }
  .x-month { order: -1; }
}
@media (max-width: 640px) {
  .x-dec, .x-month { padding: 18px; }
  .x-act { padding: 14px; }
  .x-lvl b { font-size: 14.5px; }
  .x-lvl span { font-size: 12px; }
  .x-jr li { grid-template-columns: 40px 22px minmax(0, 1fr); row-gap: 2px; }
  .x-jr em { grid-column: 3; }
  .x-steps button { grid-template-columns: 98px minmax(0, 1fr); padding: 16px 16px 18px 0; }
  .x-steps-t { padding-left: 14px; }
  .x-steps-b b { font-size: 17px; }
  .x-cal { gap: 4px; }
  .x-cal i { height: 36px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .x-lvl-track i, .x-lvl button::before, .x-cal i, .x-brief-t, .x-safe li, .x-act-btn { transition: none; }
  .x-jr li.is-new, .x-voices.is-in .x-vc, .x-dec .x-act-st, .x-dec.is-done .x-act-st em { animation: none; }
  .x-voices .x-vc { opacity: 1; }
}


/* ══ v4.5 · болид с главной, отзывы текстом, телефон: разбор, команда, чат, цифры ══ */

/* Болид: настоящий синий Apexline вместо рисунка; колесами по дорожке */
/* Болид сгенерирован в Fal по образцу синего болида Apexline, вид сверху (assets/car-top) */
.x-drain-road { height: 76px; border-radius: 38px; }
.x-drain-road::before { border-radius: 38px; width: calc(var(--p) * (100% - 76px) + 76px); }
.x-drain-car { width: 196px; left: calc(var(--p) * (100% - 204px) + 4px); transform: translateY(-50%); filter: drop-shadow(0 8px 8px rgba(19, 26, 46, .28)); }

/* Отзывы текстом: цифра, слова клиента, кто сказал */
.x-vc { gap: 16px; }
.x-vc blockquote p { font-size: 16.5px; }

/* Команда: строка с именем и ролью видна только на телефоне */
.x-card-role { display: none; }

@media (max-width: 1000px) {
  /* Как проходит: превью этапа под выбранным этапом ленты */
  .x-tl-zoom li > .x-hp { position: relative; z-index: 1; margin: 6px 0 4px; padding: 14px; box-shadow: 0 0 0 1px var(--line); }
  .x-tl-zoom .x-hp-top { display: none; }
  .x-tl-zoom .x-hp-stage { height: auto; margin-top: 0; }
  .x-tl-zoom .x-hp-v { position: relative; inset: auto; }
  .x-tl-zoom .x-hp-v:not(.is-on) { display: none; }

  /* Команда: пять кружков выбора сверху, одна раскрытая карточка снизу */
  .x-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 4px; height: auto; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
  .x-card, .x-card.is-on { display: contents; }
  .x-card-btn, .x-card.is-on .x-card-btn { grid-row: 1; position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; width: 100%; height: auto; padding: 2px 0 16px; border-radius: 0; background: none; overflow: visible; cursor: pointer; }
  .x-card-btn img, .x-card:not(.is-on) .x-card-btn:hover img { position: static; width: 58px; height: 58px; border-radius: 50%; object-position: 50% 18%; box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--line-2); transform: none; transition: box-shadow .25s var(--x-ease), transform .4s var(--spring); }
  .x-card.is-on .x-card-btn img { box-shadow: 0 0 0 2px var(--white), 0 0 0 4.5px var(--royal); transform: scale(1.06); }
  .x-card-btn .x-ai-tag { display: none; }
  .x-card .x-card-name, .x-card.is-on .x-card-name, .x-card:not(.is-on) .x-card-name { position: static; padding: 0; background: none; font-size: 0; }
  .x-card .x-card-name b, .x-card.is-on .x-card-name b { font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
  .x-card.is-on .x-card-name b { color: var(--royal-deep); }
  .x-card.is-on .x-card-btn::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 22px; height: 3px; margin-left: -11px; border-radius: 2px; background: var(--royal); }
  .x-crew .x-card-more, .x-crew .x-card.is-on .x-card-more { grid-row: 2; grid-column: 1 / -1; padding: 20px; border-radius: 8px; background: var(--canvas); }
  .x-crew .x-card:not(.is-on) .x-card-more { display: none; }
  .x-crew .x-card.is-on .x-card-more { display: block; animation: x-up .35s var(--x-ease) both; }
  .x-card-role { display: grid; gap: 2px; margin-bottom: 12px; font-size: 13.5px; color: var(--ink-3); }
  .x-card-role b { font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }

  /* Еще в команде: ровные ряды по центру, без одинокой последней ячейки */
  .x-minis { display: flex; flex-wrap: wrap; justify-content: center; }
  .x-minis li { flex: 0 0 25%; }
}
@media (max-width: 640px) {
  /* Еще в команде: список строками */
  .x-minis { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .x-minis li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; justify-items: start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
  .x-minis li:last-child { border-bottom: 0; }
  .x-minis img { width: 44px; height: 44px; }
  .x-minis p { display: grid; gap: 1px; }
  .x-minis b { font-size: 15px; }
  .x-minis span { font-size: 13px; }

  /* Чат: в шапке только название и счетчик */
  .x-chat-head .x-stack { display: none; }
  .x-chat-head .x-ptitle { font-size: 16px; }
  .rz-js .x-log-win { height: 420px; }

  /* Сначала у себя: четыре цифры сеткой 2 × 2 */
  .x-proof .x-band4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; padding: 4px 0 0; }
  .x-proof .x-band4 p, .x-proof .x-band4 p:nth-of-type(3), .x-proof .x-band4 p:first-of-type { gap: 8px; padding: 0; border: 0; }
  .x-proof .x-band4 b { font-size: 34px; }
  .x-proof .x-band4 span { font-size: 13px; }

  .x-drain-road { height: 58px; }
  .x-drain-road::before { width: calc(var(--p) * (100% - 58px) + 58px); }
  .x-drain-car { width: 140px; left: calc(var(--p) * (100% - 146px) + 3px); }
  .x-tl-zoom li > .x-hp { padding: 12px; }
  .x-crew .x-card-more, .x-crew .x-card.is-on .x-card-more { padding: 18px 16px; }
}

/* Первый экран: вторая строка обещания «… без …» */
.r-lead2 { margin-top: 6px; font-size: 17px; line-height: 1.5; color: var(--ink-3); max-width: 34em; }
.x-fit .x-head { margin-bottom: 36px; }

/* ══ v4.7 · переносы без одиноких слов, финальная строка короче, экран ролей в анкете без прокрутки ══ */
.rz p, .rz li, .rz dd, .rz dt, .rz td, .rz th, .rz blockquote, .rz figcaption, .rz summary, .rz .x-steps-b span, .rz .x-tl-b > span, .rz-quiz p, .rz-quiz li { text-wrap: pretty; }
.x-team-n { max-width: 62ch; }
.rz h1, .rz h2, .rz h3, .rz-quiz h2, .rz-quiz h3 { text-wrap: balance; }
.x-close .close-alt { max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.6; text-wrap: balance; }
@media (max-width: 760px) {
  .qz-sys .qz-hint { margin-top: 6px; }
  .qz-roles { gap: 8px; margin-top: 16px; }
  .qz-roles li { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px; }
  .qz-roles img { width: 44px; height: 44px; box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--royal); }
  .qz-roles p { font-size: 14px; line-height: 1.4; }
  .qz-roles b { font-size: 15.5px; }
  .qz-roles i { margin-left: 6px; font-size: 12.5px; }
}

/* ══ v4.7 · поле телефона с флагами (intl-tel-input), страница «Спасибо» ══ */
.qz-form .iti { display: block; width: 100%; --iti-border-color: var(--line-2); --iti-hover-color: var(--royal-soft); --iti-icon-color: var(--ink-3); --iti-arrow-color: var(--ink-3); --iti-dialcode-color: var(--ink-3); --iti-path-flags-1x: url("/site/razbor/iti/img/flags.webp"); --iti-path-flags-2x: url("/site/razbor/iti/img/flags@2x.webp"); }
.qz-form .iti input[type="tel"] { width: 100%; }
.qz-form .iti__country-container { padding: 1px; }
.qz-form .iti__selected-country { border-radius: 9px 0 0 9px; transition: background-color .15s var(--x-ease); }
.qz-form .iti__selected-country:hover, .qz-form .iti__selected-country:focus-visible { background: var(--royal-soft); }
.qz-form .iti__country-selector { z-index: 5; margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 24px 48px -20px rgba(19, 26, 46, .35); font-family: var(--ui); overflow: hidden; }
.qz-form .field .iti__search-input { height: 46px; padding: 0 14px 0 38px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.qz-form .iti__country-list { background: var(--white); }
.qz-form .iti__search-input { font: 15px var(--ui); }
.qz-form .iti__country { padding: 9px 14px; font-size: 14.5px; }
.qz-form .iti__country.iti__highlight { background: var(--royal-soft); }
.qz-form .iti__dial-code { color: var(--ink-3); }

/* Спасибо: синий экран с трассой — болид доезжает до «Заявка принята», дальше разбор и карта */
.th-hero { position: relative; padding: 64px 0 76px; background: var(--royal-field); color: var(--white); overflow: hidden; isolation: isolate; }
.th-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(255, 255, 255, .2) 1px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 80% at 80% 30%, #000 20%, transparent 75%); pointer-events: none; }
.th-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 56px; align-items: center; min-height: min(560px, calc(100dvh - var(--top-h) - 140px)); }
.th-copy h1 { font-family: var(--ui); font-size: clamp(36px, 4vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; color: var(--white); }
.th-copy .lead { margin-top: 20px; max-width: 30em; font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .88); }
.th-fast { margin-top: 28px; max-width: 30em; font-family: var(--ui); font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.th-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 18px; }
.th-cta .btn .ic { width: 20px; height: 20px; margin-right: 8px; }
.th-back { font-family: var(--ui); font-size: 15.5px; font-weight: 500; color: rgba(255, 255, 255, .86); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 5px; }
.th-back:hover { color: var(--white); text-decoration-color: var(--white); }
.th-track { margin: 0; }
.th-track svg { display: block; width: 100%; height: auto; overflow: visible; }
.th-band { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 36; stroke-linecap: round; }
.th-line { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 2; stroke-dasharray: .008 .012; }
.th-done { fill: none; stroke: var(--white); stroke-width: 4; stroke-linecap: round; stroke-dasharray: .2 1; animation: th-draw 2.4s cubic-bezier(.2, .7, .2, 1) .3s both; }
@keyframes th-draw { from { stroke-dasharray: 0 1; } }
.th-node circle { fill: #1A36D6; stroke: rgba(255, 255, 255, .75); stroke-width: 2; }
.th-node.is-done circle { fill: var(--white); stroke: var(--white); animation: th-pop .5s var(--spring) 2.5s both; }
.th-node.is-done { transform-box: fill-box; }
.th-tick { fill: none; stroke: var(--royal); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; animation: th-tick .4s var(--x-ease) 2.8s forwards; }
@keyframes th-tick { to { stroke-dashoffset: 0; } }
@keyframes th-pop { from { r: 4; } }
.th-node.is-next circle:not(.th-ring) { fill: var(--white); stroke: var(--white); }
.th-ring { fill: none !important; stroke: var(--white) !important; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: th-ring 2.2s ease-out 3s 4; }
@keyframes th-ring { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
.th-t { fill: var(--white); font: 600 18px var(--ui); }
.th-s { fill: rgba(255, 255, 255, .72); font: 500 14.5px var(--ui); }
.th-car { filter: drop-shadow(0 6px 6px rgba(5, 12, 60, .45)); }

.th-next-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px 64px; align-items: start; }
.th-steps { display: grid; margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); font-family: var(--ui); }
.th-steps li { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.th-when { padding-top: 2px; font-size: 14px; font-weight: 600; color: var(--royal-deep); }
.th-steps b { display: block; font-size: 17.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.th-steps p { margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.th-roles-p { padding: 24px; font-family: var(--ui); }
.th-roles { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.th-roles li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border-radius: 12px; background: var(--canvas); }
.th-roles img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--royal); }
.th-roles p { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.th-roles b { font-size: 16px; font-weight: 700; color: var(--ink); }
.th-roles i { margin-left: 8px; font-style: normal; font-size: 13.5px; color: var(--royal-deep); }
.th-roles span { display: block; margin-top: 3px; }
.th-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 1000px) {
  .th-grid, .th-next-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .th-track { max-width: 640px; }
}
@media (max-width: 640px) {
  .th-hero { padding: 40px 0 48px; }
  .th-copy h1 { font-size: 34px; }
  .th-copy .lead { font-size: 17px; }
  .th-cta .btn { width: 100%; justify-content: center; }
  .th-t { font-size: 30px; }
  .th-s { font-size: 24px; }
  .th-steps li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .th-roles-p { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .th-done, .th-node.is-done circle, .th-tick, .th-ring { animation: none; }
  .th-tick { stroke-dashoffset: 0; }
}

/* Анкета: ответ с пояснением тоже переходит сам — по кнопке «Дальше» бежит отсчет */
.qz-next { position: relative; overflow: hidden; }
.qz-next.is-auto::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .75); transform-origin: left center; animation: qz-auto var(--auto, 3s) linear both; }
@keyframes qz-auto { from { transform: scaleX(0); } to { transform: scaleX(1); } }
