/* Ascendent — дизайн-система «Млечный путь».
   Тёмный космос, шампань-золото, стекло. Mobile-first.
   Классы, на которые опирается JS воронки (teaser/checkout/order/common), сохранены. */
:root {
  --bg: #04050b;
  --bg-2: #070915;
  --bg-3: #0b0e20;
  --glass: rgba(16, 19, 40, .58);
  --glass-2: rgba(22, 26, 54, .72);
  --solid: #0d1024;
  --line: rgba(232, 194, 122, .18);
  --line-2: rgba(255, 255, 255, .09);
  --text: #eeeaf7;
  --text-2: #bdb9d2;
  --muted: #8b88a6;
  --gold: #e8c27a;
  --gold-2: #f8e2ae;
  --gold-3: #b88a3e;
  --violet: #8d72f2;
  --violet-2: #5b46c9;
  --teal: #5ad0c6;
  --ok: #7fe0b2;
  --err: #ff9483;
  --focus: #f8e2ae;
  --radius: 18px;
  --radius-sm: 12px;
  --display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --glow: 0 0 0 1px rgba(232,194,122,.22), 0 20px 60px -20px rgba(141,114,242,.45), 0 0 80px -30px rgba(232,194,122,.35);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.no-tg [data-tg] { display: none !important; } /* config.js: TELEGRAM_ENABLED = false */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--sans); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* глубина космоса: туманность за всеми секциями */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(91,70,201,.22), transparent 70%),
    radial-gradient(50% 45% at 5% 40%, rgba(90,208,198,.08), transparent 70%),
    radial-gradient(70% 60% at 50% 110%, rgba(141,114,242,.18), transparent 70%),
    linear-gradient(180deg, #04050b 0%, #060816 50%, #04050b 100%);
}
#cosmos { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
img, svg, video { max-width: 100%; height: auto; }
::selection { background: rgba(232,194,122,.35); color: #fff; }
a { color: var(--gold-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
h1, h2, h3 { margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 7.4vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h3 { font: 600 1.12rem/1.35 var(--sans); letter-spacing: -.005em; }
h1 em, h2 em { font-style: italic; font-weight: 500; }
.gold-text, h1 em, h2 em {
  background: linear-gradient(100deg, #b88a3e 0%, #f8e2ae 30%, #e8c27a 55%, #fff4d6 70%, #c99a4c 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldflow 9s ease-in-out infinite;
}
@keyframes goldflow { 50% { background-position: 100% 0; } }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- eyebrow / заголовки секций */
.badge { display: inline-block; border: 1px solid var(--line); background: rgba(232,194,122,.08); color: var(--gold-2); border-radius: 999px; padding: 6px 14px; font-size: .82rem; margin: 0 0 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .74rem/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); box-shadow: 0 0 12px var(--gold); }
.sec-head { max-width: 820px; margin: 0 0 40px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head p { color: var(--text-2); font-size: 1.08rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-2); line-height: 1.6; }
.caption { color: var(--muted); font-size: .95rem; margin-top: 1.2em; }

/* ---------- header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.site-header.is-solid, body:not([data-page=matrix]):not([data-page=compatibility]):not([data-page=forecast-2027]):not([data-page=gift]) .site-header { background: rgba(5,6,14,.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line-2); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 600 1.45rem/1 var(--display); letter-spacing: .04em; }
.logo:hover { color: #fff; }
.logo svg { width: 30px; height: 30px; filter: drop-shadow(0 0 8px rgba(232,194,122,.55)); }
.logo svg .spin { transform-origin: 32px 32px; animation: spin 40s linear infinite; }
.nav { display: none; align-items: center; gap: 26px; font-size: .92rem; }
.nav a { color: var(--text-2); text-decoration: none; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr-right { display: flex; align-items: center; gap: 10px; }
.btn.hdr-cta { display: none; }
.nav-mobile summary { list-style: none; cursor: pointer; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--text); background: rgba(255,255,255,.03); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] .nav-mobile__list { display: flex; }
.nav-mobile__list { display: none; flex-direction: column; position: absolute; right: 16px; top: 64px; background: rgba(10,12,28,.96); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; z-index: 20; min-width: 240px; box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.nav-mobile__list a { padding: 12px 14px; text-decoration: none; color: var(--text); border-radius: 10px; }
.nav-mobile__list a:hover { background: rgba(232,194,122,.08); }
.age-badge { display: inline-block; border: 1px solid currentColor; border-radius: 6px; padding: 0 5px; font-size: .72rem; font-weight: 700; line-height: 1.6; color: var(--muted); }
@media (min-width: 900px) { .nav { display: flex; } .nav-mobile { display: none; } .btn.hdr-cta { display: inline-flex; } }
main { display: block; }
body:not([data-page=matrix]):not([data-page=compatibility]):not([data-page=forecast-2027]):not([data-page=gift]) main { padding-top: 68px; }

/* ---------- footer */
.honest { border-top: 1px solid var(--line-2); padding: 30px 0; background: rgba(4,5,11,.7); }
.honest p { margin: 0; max-width: 900px; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.site-footer { background: #03040a; color: var(--text-2); padding: 48px 0 56px; font-size: .9rem; border-top: 1px solid var(--line-2); }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer .cols { display: grid; gap: 28px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer .req { color: var(--muted); }
.site-footer .logo { margin-bottom: 14px; }
@media (min-width: 820px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- секции */
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 80px) 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(13,16,38,.55) 18%, rgba(13,16,38,.55) 82%, transparent); }
.wrap.section { padding-left: 16px; padding-right: 16px; }
.section > .wrap > h2, .section h2 { margin-bottom: .55em; }

/* ---------- кнопки */
.btn { --b: 0; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 1rem/1.2 var(--sans); letter-spacing: .01em; padding: 16px 28px; min-height: 56px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; }
.btn--primary { color: #1b1305; background: linear-gradient(120deg, #c99a4c, #f8e2ae 45%, #e8c27a 70%, #c08f42); background-size: 180% 100%; box-shadow: 0 10px 40px -10px rgba(232,194,122,.65), inset 0 1px 0 rgba(255,255,255,.6); }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.75) 48%, transparent 62%); transform: translateX(-120%); animation: glint 5.5s ease-in-out infinite 1.5s; }
.btn--primary:hover { color: #1b1305; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 50px -10px rgba(232,194,122,.85), inset 0 1px 0 rgba(255,255,255,.6); }
@keyframes glint { 0%, 70% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn--ghost { background: rgba(255,255,255,.03); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); }
.btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--gold); background: rgba(232,194,122,.06); }
.btn--tg { background: rgba(42,159,216,.08); color: var(--text); box-shadow: inset 0 0 0 1px rgba(42,159,216,.6); }
.btn--tg:hover { color: #fff; background: rgba(42,159,216,.16); }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: .88rem; }
.btn--lg { min-height: 64px; padding: 18px 36px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.is-loading { color: transparent !important; }
.btn.is-loading::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2.5px solid #1b1305; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.btn--ghost.is-loading::after, .btn--tg.is-loading::after { border-color: var(--text); border-right-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-arrow { color: var(--gold-2); text-decoration: none; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow:hover .arr { transform: translateX(4px); }
.link-arrow .arr { transition: transform .3s var(--ease); }

/* ---------- стекло */
.glass { background: var(--glass); border: 1px solid var(--line-2); border-radius: var(--radius); backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%); }
.card { background: linear-gradient(180deg, rgba(22,26,54,.62), rgba(12,14,32,.62)); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.cards { display: grid; gap: 16px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.cards .card h3 { color: var(--gold-2); }
.cards .card p { color: var(--text-2); margin: 0; }

/* золотая «живая» рамка */
.halo { position: relative; isolation: isolate; }
.halo::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--ang, 0deg), rgba(232,194,122,.05), rgba(232,194,122,.9), rgba(141,114,242,.6), rgba(232,194,122,.05) 40%, rgba(232,194,122,.05) 60%, rgba(90,208,198,.5), rgba(232,194,122,.05)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: halo 8s linear infinite; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes halo { to { --ang: 360deg; } }

/* ---------- reveal-анимации (включаются cosmos.js) */
.js .rv { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); filter: blur(6px); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
.js .rv-zoom { opacity: 0; transform: scale(.92); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); transition-delay: var(--d, 0s); }
.js .rv-zoom.in { opacity: 1; transform: none; }
.split-line { display: block; overflow: hidden; padding-bottom: .08em; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .in .split-line > span, .no-js .split-line > span { transform: none; }
html:not(.js) .split-line > span { transform: none; }

/* ================================================================ HERO */
.hero-x { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 70px; overflow: hidden; }
.hero-x__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-x__media img, .hero-x__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.08); animation: drift 40s ease-in-out infinite alternate; will-change: transform; }
.hero-x__media video { opacity: 0; transition: opacity 1.6s ease; }
.hero-x__media video.is-on { opacity: 1; }
.hero-x__media::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(80% 70% at 20% 55%, rgba(4,5,11,.86), rgba(4,5,11,.35) 60%, transparent),
  linear-gradient(180deg, rgba(4,5,11,.5) 0%, transparent 25%, transparent 65%, var(--bg) 100%); }
@keyframes drift { to { transform: scale(1.18) translate3d(-2%, 1.5%, 0); } }
/* телефон: в hero-x помещается ещё и форма, секция выходит в 2–3 экрана, и cover растягивал видео на всю её высоту
   (кадр ×2–3). Держим медиа ровно в первый экран — нижний градиент ::after уводит его в фон — и дрейф делаем мягче. */
@media (max-width: 760px) {
  .hero-x__media { bottom: auto; height: 100svh; }
  .hero-x__media img, .hero-x__media video { transform: scale(1.03); animation-name: drift-sm; }
  @keyframes drift-sm { to { transform: scale(1.08) translate3d(-1.5%, 1%, 0); } }
}
.hero-x__grid { display: grid; gap: 36px; align-items: center; width: 100%; }
.hero-x h1 { margin-bottom: 22px; text-shadow: 0 2px 40px rgba(0,0,0,.6); }
.hero-x h1 .kicker { display: block; font: 600 clamp(.95rem, 1.5vw, 1.1rem)/1.3 var(--sans); letter-spacing: .02em; color: var(--text-2); margin-bottom: 14px; }
.hero-x .lead { max-width: 560px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; list-style: none; font-size: .85rem; color: var(--text-2); }
.trust li { padding: 7px 14px; border-radius: 999px; background: rgba(8,10,24,.55); border: 1px solid var(--line-2); }
.trust li::before { content: "✦"; color: var(--gold); margin-right: 7px; font-size: .8em; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 1px solid var(--line); border-radius: 14px; display: none; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--gold); border-radius: 2px; animation: wheel 2s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 699px) {
  .hero-x { padding-top: 92px; align-items: flex-start; }
  .hero-x .eyebrow { display: none; }
  .hero-x .steps-mini, .hero-x .trust { display: none; }
  .hero-x h1 .kicker { font-size: .85rem; margin-bottom: 10px; }
  .hero-x .lead { font-size: 1rem; margin-bottom: 0; }
  .hero-x__grid { gap: 24px; }
  .lm { width: min(100%, 290px); }
}
@media (min-width: 980px) {
  .hero-x__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .scroll-hint { display: block; }
}
.hero-x--sub { min-height: 88svh; }

/* шаги воронки (мини) */
.steps-mini { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; counter-reset: s; font-size: .9rem; color: var(--text-2); }
.steps-mini li { counter-increment: s; display: flex; align-items: center; gap: 10px; }
.steps-mini li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 .8rem var(--sans); color: var(--gold); border: 1px solid var(--line); background: rgba(232,194,122,.06); }
.steps-mini li:not(:last-child)::after { content: ""; width: 22px; height: 1px; background: var(--line); margin-left: 4px; }
.steps-mini b { color: var(--text); font-weight: 600; }

/* карточка формы */
.form-card { position: relative; border-radius: 26px; padding: 22px; background: linear-gradient(180deg, rgba(18,21,46,.9), rgba(7,9,22,.93)); box-shadow: var(--glow); }
@media (min-width: 480px) { .form-card { padding: 28px; } }
.form-card__title { font: 600 1.7rem/1.1 var(--display); margin: 0 0 4px; }
.form-card__sub { color: var(--text-2); font-size: .92rem; margin: 0 0 18px; }
.form-card .hint.center { margin-top: 12px; }

/* живая матрица */
.lm { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin: -6px auto 14px; }
.lm svg { width: 100%; height: 100%; overflow: visible; }
.lm .ring { fill: none; stroke: rgba(232,194,122,.25); stroke-width: 1.2; stroke-dasharray: 2 7; transform-origin: 500px 500px; animation: spin 120s linear infinite; }
.lm .ring2 { fill: none; stroke: rgba(141,114,242,.22); stroke-width: 1; transform-origin: 500px 500px; animation: spin 80s linear infinite reverse; stroke-dasharray: 40 18 4 18; }
.lm .ln { stroke: rgba(232,194,122,.55); stroke-width: 2.2; fill: none; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.4s var(--ease); }
.lm.drawn .ln { stroke-dashoffset: 0; }
.lm .nd circle { fill: #0b0e22; stroke: rgba(232,194,122,.55); stroke-width: 2; transition: fill .6s, stroke .6s, r .6s; }
.lm .nd text { fill: rgba(238,234,247,.35); font: 600 30px var(--sans); text-anchor: middle; dominant-baseline: central; transition: fill .6s; }
.lm .nd.big text { font-size: 40px; }
.lm .nd.on circle { fill: #1a1630; stroke: var(--gold); filter: url(#lmglow); }
.lm .nd.on text { fill: var(--gold-2); }
.lm .nd.core circle { fill: url(#lmcore); stroke: #fff4d6; }
.lm .nd.core text { fill: #1b1305; font-size: 52px; }
.lm .nd.pop { animation: pop .7s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }
.lm .nd { transform-box: fill-box; transform-origin: center; }
.lm-cap { text-align: center; min-height: 2.9em; margin: 0 0 16px; font-size: .92rem; color: var(--text-2); line-height: 1.45; }
.lm-cap b { color: var(--gold-2); font-weight: 600; }

/* ---------- формы */
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field > legend, .field > label, .label { display: block; font-weight: 600; margin-bottom: 8px; padding: 0; font-size: .86rem; letter-spacing: .04em; color: var(--text-2); }
.hint { color: var(--muted); font-size: .84rem; margin: 6px 0 0; }
.date-row { display: grid; grid-template-columns: 1fr 1.5fr 1.2fr; gap: 8px; }
select, input[type=text], input[type=email], textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 12px 14px; min-height: 52px; transition: border-color .25s, box-shadow .25s, background .25s;
}
select option { background: #0d1024; color: var(--text); }
input::placeholder { color: #6f6c8a; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: right 16px top 23px, right 11px top 23px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; cursor: pointer; }
select:hover, input:hover { border-color: rgba(232,194,122,.4); }
select:focus, input:focus, textarea:focus { border-color: var(--gold); outline: 2px solid transparent; box-shadow: 0 0 0 4px rgba(232,194,122,.16); background: rgba(232,194,122,.04); }
select.filled { border-color: rgba(232,194,122,.45); color: #fff; }
[aria-invalid="true"] { border-color: var(--err) !important; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label { flex: 1 1 0; min-width: 120px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); border-radius: 14px; padding: 12px; min-height: 52px; cursor: pointer; font-weight: 600; transition: all .25s; }
.seg label:hover { border-color: rgba(232,194,122,.4); }
.seg label:has(input:checked) { border-color: var(--gold); background: rgba(232,194,122,.1); color: #fff; box-shadow: 0 0 24px -8px rgba(232,194,122,.6); }
.seg input { accent-color: var(--gold); width: 18px; height: 18px; margin: 0; }
.radio-list { display: grid; gap: 8px; }
.radio-list label { display: flex; gap: 12px; align-items: center; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); border-radius: 14px; padding: 12px 14px; cursor: pointer; transition: all .25s; }
.radio-list label:has(input:checked) { border-color: var(--gold); background: rgba(232,194,122,.1); }
.radio-list input { accent-color: var(--gold); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; font-size: .9rem; line-height: 1.5; cursor: pointer; color: var(--text-2); }
.check input { width: 22px; height: 22px; flex: 0 0 22px; margin: 1px 0 0; accent-color: var(--gold); }
.field-error, .form-error { color: var(--err); font-size: .88rem; margin: 6px 0 0; }
.field-error:empty, .form-error:empty { display: none; }
.form-error { background: rgba(255,148,131,.08); border: 1px solid rgba(255,148,131,.35); border-radius: 12px; padding: 10px 14px; margin: 0 0 14px; }
.note { background: rgba(232,194,122,.07); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: .9rem; color: var(--text-2); margin: 0 0 14px; }
.note:empty { display: none; }
.person { border-top: 1px dashed var(--line); padding-top: 16px; margin-top: 4px; }
.person:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.person h3 { font-size: .95rem; color: var(--gold-2); margin-bottom: 12px; }

/* ================================================================ лента фактов */
.ribbon { border-block: 1px solid var(--line-2); background: rgba(4,5,11,.55); backdrop-filter: blur(6px); overflow: hidden; padding: 20px 0; }
.ribbon__track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__item { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; color: var(--text-2); font-size: .95rem; }
.ribbon__item b { font: 600 2rem/1 var(--display); color: var(--gold-2); }
.ribbon__item::after { content: "✦"; color: var(--gold-3); margin-left: 44px; font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================================================================ главы разбора (бенто) */
.chapters { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: ch; }
@media (min-width: 640px) { .chapters { grid-template-columns: repeat(2, 1fr); } .chapter--full { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .chapters { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 340px; } .chapter--wide { grid-column: span 2; } .chapter--full { grid-column: 1 / -1; } }
.chapter { counter-increment: ch; position: relative; overflow: hidden; border-radius: 22px; padding: 22px; min-height: 270px; display: flex; flex-direction: column; justify-content: flex-end; background: radial-gradient(120% 80% at 50% 0%, rgba(30,26,70,.55), rgba(8,9,22,.9) 70%); border: 1px solid var(--line-2); transition: border-color .5s, transform .6s var(--ease); transform-style: preserve-3d; }
.chapter:hover { border-color: rgba(232,194,122,.4); }
.chapter__img { position: absolute; inset: -6% -6% auto; height: 78%; width: 112%; object-fit: contain; opacity: .95; transition: transform 1.2s var(--ease), opacity .6s; pointer-events: none; }
.chapter--tall .chapter__img { height: 70%; }
.chapter:hover .chapter__img { transform: scale(1.07) translateY(-2%); opacity: 1; }
.chapter::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5,6,14,.92) 78%); pointer-events: none; }
.chapter > * { position: relative; z-index: 1; }
.chapter__n { font: 500 .78rem var(--sans); letter-spacing: .2em; color: var(--gold); margin-bottom: 8px; }
.chapter__n::before { content: "Глава " counter(ch, decimal-leading-zero); }
.chapter h3 { font: 600 1.6rem/1.1 var(--display); margin-bottom: 8px; color: #fff; }
.chapter p { color: var(--text-2); font-size: .92rem; margin: 0; line-height: 1.5; }
.chapter--wide h3 { font-size: 2rem; }
.chapter--full { justify-content: center; padding: 34px clamp(22px, 4vw, 48px); min-height: 300px; }
.chapter--full .chapter__img { inset: -12% -2% -12% 38%; width: auto; height: 124%; object-position: 70% 50%; }
.chapter--full:hover .chapter__img { transform: scale(1.05); }
.chapter--full::after { background: linear-gradient(90deg, rgba(5,6,14,.96) 28%, rgba(5,6,14,.4) 60%, transparent 80%); }
.chapter--full h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.chapter--full p { max-width: 440px; font-size: 1rem; }
/* телефон: главы — горизонтальная карусель со снапом, как лента кадров */
@media (max-width: 639px) {
  /* grid-template-columns: none — иначе базовая явная колонка 1fr достаётся первой карточке и сжимается в остаток */
  .chapters { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 6px; scroll-padding: 0 16px; }
  .chapters::-webkit-scrollbar { display: none; }
  /* появление .rv (сдвиг + blur) срабатывало у каждой карточки, когда она въезжала сбоку при свайпе, — отсюда дрожь.
     В ленте карточки видны сразу, без анимации появления. */
  .js .chapters > .rv { opacity: 1; transform: none; filter: none; transition: border-color .5s; }
  .chapter__img { transition: none; }
  .chapter { scroll-snap-align: start; min-height: 380px; }
  .chapter--full { justify-content: flex-end; }
  .chapter--full .chapter__img { inset: -6% -6% auto; width: 112%; height: 78%; }
  .chapter--full::after { background: linear-gradient(180deg, transparent 35%, rgba(5,6,14,.92) 78%); }
  .chapters-hint { display: block !important; }
}

/* ================================================================ как это работает (липкая история) */
.story { display: grid; gap: 40px; }
.story__visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; border-radius: 50%; }
.story__visual .sv { position: absolute; inset: 0; mix-blend-mode: screen; opacity: 0; transform: scale(.94) rotate(-4deg); transition: opacity 1s var(--ease), transform 1.4s var(--ease); display: grid; place-items: center; }
.story__visual .sv.on { opacity: 1; transform: none; }
.story__visual img { width: 100%; height: 100%; object-fit: contain; }
.story__visual video { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 71%); mask-image: radial-gradient(circle, #000 52%, transparent 71%); opacity: 0; transition: opacity 1.2s; }
.story__visual video.is-on { opacity: 1; }
.story__visual .sv:has(video.is-on) img { opacity: 0; transition: opacity 1.2s; }
.story__visual .sv--book { mix-blend-mode: normal; }
.story__visual .sv--book img { object-fit: cover; border-radius: 26px; mix-blend-mode: normal; box-shadow: var(--glow); aspect-ratio: 3/2; height: auto; }
.story__visual::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(141,114,242,.28), transparent 65%); filter: blur(20px); }
.date-orbit { position: relative; width: 82%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--line); display: grid; place-items: center; animation: spin 60s linear infinite; }
.date-orbit .chip { position: absolute; padding: 10px 16px; border-radius: 14px; background: var(--glass-2); border: 1px solid var(--line); font: 600 1.4rem var(--display); color: var(--gold-2); animation: spin 60s linear infinite reverse; }
.date-orbit .chip:nth-child(1) { top: 6%; left: 18%; } .date-orbit .chip:nth-child(2) { top: 42%; right: -6%; } .date-orbit .chip:nth-child(3) { bottom: 4%; left: 26%; }
.date-orbit .sun { position: relative; width: 18%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff 0%, #fff4d6 22%, rgba(232,194,122,.85) 40%, rgba(232,194,122,0) 70%); box-shadow: 0 0 120px 40px rgba(232,194,122,.28); animation: pulse 4s ease-in-out infinite; }
.date-orbit .sun::before, .date-orbit .sun::after { content: ""; position: absolute; left: 50%; top: 50%; width: 520%; height: 2px; margin: -1px 0 0 -260%; background: linear-gradient(90deg, transparent, rgba(255,244,214,.9), transparent); }
.date-orbit .sun::after { transform: rotate(90deg); }
@keyframes pulse { 50% { transform: scale(1.15); filter: brightness(1.2); } }
.story__steps { display: grid; gap: 18px; }
.sstep { padding: 26px; border-radius: 22px; border: 1px solid var(--line-2); background: rgba(10,12,28,.5); transition: border-color .6s, background .6s, opacity .6s; }
.sstep.on { border-color: rgba(232,194,122,.45); background: rgba(22,22,52,.6); }
.sstep__n { font: 600 3.2rem/1 var(--display); color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: 10px; display: block; }
.sstep h3 { font: 600 1.7rem/1.15 var(--display); }
.sstep p { color: var(--text-2); margin: 0; }
.sstep .tag { display: inline-block; margin-top: 12px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ok); }
@media (min-width: 980px) {
  .story { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .story__visual { position: sticky; top: 18vh; }
  .story__steps { gap: 22vh; padding: 10vh 0 20vh; }
  .sstep { opacity: .35; }
  .sstep.on { opacity: 1; }
}

/* ================================================================ бесплатный превью-экран */
.free-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .free-grid { grid-template-columns: .95fr 1.05fr; gap: 64px; } }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.list-check li { padding-left: 34px; position: relative; color: var(--text-2); }
.list-check li strong { color: var(--text); }
.list-check li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 16px; height: 16px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 6px var(--gold)); }
.mock { position: relative; border-radius: 26px; padding: 18px; background: linear-gradient(180deg, rgba(20,24,52,.8), rgba(8,10,24,.85)); box-shadow: var(--glow); transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); transition: transform 1s var(--ease); }
.mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.mock__bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); }
.mock__grid { display: grid; grid-template-columns: 42% 1fr; gap: 16px; }
.mock__chart { aspect-ratio: 1; border-radius: 16px; background: rgba(0,0,0,.35); border: 1px solid var(--line-2); display: grid; place-items: center; overflow: hidden; }
.mock__chart img { width: 108%; }
.mock__text p { height: 9px; border-radius: 5px; background: rgba(238,234,247,.16); margin: 0 0 9px; }
.mock__text p.s { width: 62%; }
.mock__text p.blur { background: rgba(238,234,247,.08); filter: blur(2px); }
.mock__text h4 { margin: 0 0 12px; font: 600 1.05rem var(--display); color: var(--gold-2); }
.mock__toc { margin-top: 14px; display: grid; gap: 7px; }
.mock__toc span { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; color: var(--text-2); padding: 7px 10px; border-radius: 9px; background: rgba(255,255,255,.035); border: 1px solid var(--line-2); }
.mock__toc span::after { content: "🔒"; font-size: .7rem; opacity: .7; }
.mock__toc span.open::after { content: "открыто"; color: var(--ok); font-size: .66rem; opacity: 1; }
.mock__badge { position: absolute; top: -16px; right: 20px; padding: 8px 14px; border-radius: 999px; background: var(--ok); color: #05170e; font: 700 .78rem var(--sans); letter-spacing: .06em; box-shadow: 0 10px 30px -8px rgba(127,224,178,.7); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ================================================================ пример PDF */
.sample { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .sample { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.sample__stage { position: relative; }
.sample__stage > img { width: 100%; border-radius: 26px; box-shadow: var(--glow); display: block; }
.pages { display: flex; gap: 10px; justify-content: center; padding: 8px 0; }
.sample__stage .pages { position: absolute; left: 4%; right: 4%; bottom: -34px; }
.page { background: linear-gradient(180deg, #fbf6ea, #f1e7d1); border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,.55); aspect-ratio: 1 / 1.414; width: 30%; max-width: 160px; padding: 10px 9px; font-size: 7px; line-height: 1.35; color: #4a5470; overflow: hidden; transition: transform .8s var(--ease); }
.page:nth-child(1) { transform: rotate(-6deg) translateY(10px); }
.page:nth-child(2) { transform: translateY(-6px); }
.page:nth-child(3) { transform: rotate(6deg) translateY(10px); }
.sample__stage:hover .page:nth-child(1) { transform: rotate(-10deg) translate(-12px, 0); }
.sample__stage:hover .page:nth-child(3) { transform: rotate(10deg) translate(12px, 0); }
.sample__stage:hover .page:nth-child(2) { transform: translateY(-18px); }
.page b { display: block; font: 700 9px/1.2 Georgia, serif; color: #1f2a44; margin-bottom: 4px; }
.page .pg-cover { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; gap: 6px; background: radial-gradient(circle at 50% 40%, #1b1f44, #080a1c); margin: -10px -9px; padding: 10px; color: #e8c27a; }
.page .pg-cover b { color: #f8e2ae; }
.page .pg-cover svg { width: 70%; }
.page .pg-cover svg g { stroke: #e8c27a; }
.page .ln { height: 4px; background: #e2d6bd; border-radius: 2px; margin: 4px 0; }
.page .ln.s { width: 70%; }
@media (min-width: 820px) { .page { font-size: 8px; } }

/* ================================================================ лента-цитата с фото */
.vista { position: relative; overflow: hidden; min-height: 92svh; display: flex; align-items: flex-end; padding: 18vh 0 10vh; }
.vista__bg { position: absolute; inset: -12% 0; z-index: -1; }
.vista__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.vista::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, transparent 22%, transparent 45%, rgba(4,5,11,.85) 80%, var(--bg) 100%); }
.vista blockquote { margin: 0; max-width: 900px; font: 500 clamp(2rem, 5vw, 3.8rem)/1.1 var(--display); }
.vista blockquote em { font-style: italic; }
.vista cite { display: block; margin-top: 20px; font: 400 .95rem var(--sans); color: var(--text-2); font-style: normal; max-width: 620px; }

/* ================================================================ таблица */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(10,12,28,.6); backdrop-filter: blur(10px); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line-2); vertical-align: top; color: var(--text-2); }
thead th { font: 600 .78rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
tbody td:first-child { color: var(--text); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
td.us, th.us { background: linear-gradient(180deg, rgba(232,194,122,.1), rgba(232,194,122,.05)); color: var(--gold-2); }
th.us { color: var(--gold); }
@media (max-width: 640px) {
  .table-stack thead { display: none; }
  .table-stack tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
  .table-stack td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 4px 0; }
  .table-stack td::before { content: attr(data-th); color: var(--muted); flex: 0 0 45%; }
  .table-stack td:first-child { font-weight: 600; display: block; margin-bottom: 4px; }
  .table-stack td:first-child::before { content: none; }
  .table-stack td.us { background: none; }
}

/* ================================================================ цена */
.price-wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .price-wrap { grid-template-columns: 1.1fr .9fr; gap: 60px; } }
.price-box { position: relative; border-radius: 30px; padding: clamp(24px, 4vw, 40px); background: radial-gradient(120% 90% at 50% 0%, rgba(40,32,90,.7), rgba(8,9,22,.92) 70%); box-shadow: var(--glow); }
.price-box h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.price-box .price, .price-big { font: 600 clamp(3.6rem, 9vw, 5.4rem)/1 var(--display); display: block; margin: 6px 0 4px; }
.price-box ul { margin: 22px 0 24px; }
.price-box .terms { color: var(--text-2); font-size: .95rem; }
.seal { position: relative; width: 190px; height: 190px; margin: 0 auto; }
.seal svg { width: 100%; height: 100%; animation: spin 30s linear infinite; }
.seal text { fill: var(--gold); font: 600 13px var(--sans); letter-spacing: 3.5px; text-transform: uppercase; }
.seal__core { position: absolute; inset: 30%; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 35% 30%, #fff4d6, #e8c27a 45%, #9c7232); color: #1b1305; font: 700 1.6rem/1 var(--display); box-shadow: 0 0 60px rgba(232,194,122,.45); }
.seal__core small { display: block; font: 700 .58rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.guarantees { display: grid; gap: 14px; margin-top: 30px; }
.guarantees div { display: flex; gap: 14px; align-items: flex-start; color: var(--text-2); font-size: .95rem; }
.guarantees b { display: block; color: var(--text); }
.guarantees i { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-style: normal; color: var(--gold); background: rgba(232,194,122,.08); border: 1px solid var(--line); }

/* ================================================================ другие разборы */
.products { display: grid; gap: 16px; }
@media (min-width: 860px) { .products { grid-template-columns: repeat(3, 1fr); } }
.product { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; text-decoration: none; color: var(--text); border: 1px solid var(--line-2); transition: border-color .5s, transform .6s var(--ease); }
.product img { position: absolute; inset: 0 0 30% 0; width: 100%; height: 70%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease); }
.product::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,5,11,0) 22%, rgba(4,5,11,.78) 55%, rgba(4,5,11,.97) 82%); }
.product:hover { border-color: rgba(232,194,122,.5); color: var(--text); transform: translateY(-6px); }
.product:hover img { transform: scale(1.08); }
.product h3 { font: 600 2rem/1.05 var(--display); margin-bottom: 8px; }
.product p { color: var(--text-2); font-size: .95rem; margin: 0 0 14px; }
.product .from { color: var(--gold-2); font-weight: 600; }

/* ================================================================ оглавление (списком) */
.toc-list { counter-reset: toc; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.toc-list li { counter-increment: toc; padding: 18px 18px 18px 66px; position: relative; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(10,12,28,.5); color: var(--text-2); }
.toc-list li strong { color: var(--text); }
.toc-list li::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 18px; top: 16px; font: 600 1.6rem/1 var(--display); color: var(--gold); }
@media (min-width: 820px) { .toc-list.two { grid-template-columns: 1fr 1fr; } }

/* ================================================================ FAQ */
.faq details { border-bottom: 1px solid var(--line-2); padding: 22px 0; }
.faq summary { cursor: pointer; font: 600 1.08rem/1.4 var(--sans); list-style: none; padding-right: 44px; position: relative; color: var(--text); transition: color .3s; }
.faq summary:hover { color: var(--gold-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -4px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 400; font-size: 1.3rem; color: var(--gold); transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: rgba(232,194,122,.1); }
.faq details p { margin: 14px 0 0; color: var(--text-2); max-width: 760px; }

/* ================================================================ финальный CTA */
.final { position: relative; overflow: hidden; text-align: center; padding: clamp(120px, 18vw, 220px) 0; }
.final__bg { position: absolute; inset: 0; z-index: -1; }
.final__bg img, .final__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final__bg video { opacity: 0; transition: opacity 1.6s; }
.final__bg video.is-on { opacity: 1; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 50% 50%, rgba(4,5,11,.35), rgba(4,5,11,.85) 85%), linear-gradient(180deg, var(--bg), transparent 25%, transparent 75%, var(--bg)); }
.final h2 { font-size: clamp(2.6rem, 7vw, 5rem); max-width: 900px; margin: 0 auto .4em; }
.final p { color: var(--text-2); max-width: 620px; margin: 0 auto 32px; font-size: 1.1rem; }

/* ================================================================ видео-слот */
.vslot { position: relative; overflow: hidden; border-radius: 26px; aspect-ratio: 16/9; background: #05060d; box-shadow: var(--glow); }
.vslot img, .vslot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vslot video { opacity: 0; transition: opacity 1.2s; }
.vslot video.is-on { opacity: 1; }

/* ================================================================ шаги воронки (тизер/касса/заказ) */
.funnel { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 26px; counter-reset: f; font-size: .8rem; }
.funnel li { counter-increment: f; flex: 1; position: relative; padding-top: 14px; color: var(--muted); }
.funnel li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); }
.funnel li.done::before { background: var(--gold-3); }
.funnel li.cur::before { background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); box-shadow: 0 0 16px rgba(232,194,122,.6); }
.funnel li.cur { color: var(--text); font-weight: 600; }
.funnel li.done { color: var(--text-2); }
.funnel li span::before { content: counter(f) ". "; color: var(--gold); }

/* ================================================================ тизер */
.teaser-head { padding: 34px 0 10px; }
.teaser-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.teaser-head .who { color: var(--text-2); }
.chart { position: relative; border-radius: 26px; padding: 14px; background: radial-gradient(circle at 50% 45%, rgba(40,34,90,.55), rgba(6,7,18,.9) 70%); border: 1px solid var(--line-2); box-shadow: var(--glow); }
.chart svg { display: block; width: 100%; height: auto; }
/* SVG от core (и мока) рисуется светлым «бумажным» — перекрашиваем под космос. Палитры core и мока чуть разные. */
:is(.chart, .gift-cover) svg rect[fill="#fbf7f0" i] { fill: transparent; }
:is(.chart, .gift-cover) svg [stroke="#2b3a55" i], :is(.chart, .gift-cover) svg [stroke="#1f2a44" i] { stroke: rgba(232,194,122,.7); }
:is(.chart, .gift-cover) svg circle[fill="#fbf7f0" i], :is(.chart, .gift-cover) svg circle[fill="#efe6d6" i] { fill: #0d1026; }
:is(.chart, .gift-cover) svg text[fill="#2b3a55" i], :is(.chart, .gift-cover) svg text[fill="#1f2a44" i] { fill: #f3e8cf; }
:is(.chart, .gift-cover) svg circle[fill="#b5603f" i], :is(.chart, .gift-cover) svg circle[fill="#b5532f" i] { fill: #e8c27a; filter: drop-shadow(0 0 10px rgba(232,194,122,.8)); }
:is(.chart, .gift-cover) svg text[fill="#fbf7f0" i], :is(.chart, .gift-cover) svg text[fill="#fff" i], :is(.chart, .gift-cover) svg text[fill="#ffffff" i] { fill: #1b1305; }
.chart--multi { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
.chart--multi > svg { flex: 0 0 86%; scroll-snap-align: center; }
.chart-labels { display: flex; justify-content: center; gap: 14px; font-size: .85rem; color: var(--muted); margin-top: 8px; }
.teaser-grid { display: grid; gap: 30px; padding-bottom: 60px; }
@media (min-width: 960px) { .teaser-grid { grid-template-columns: 440px 1fr; gap: 48px; align-items: start; } .teaser-grid .sticky { position: sticky; top: 90px; } }
.prose { font-size: 1.08rem; line-height: 1.75; color: #dcd8ea; }
.prose p { margin-bottom: 1.1em; }
.prose h2, .prose h3 { font-family: var(--display); color: var(--gold-2); }
.prose > p:first-child::first-letter { float: left; font: 600 4.2em/.82 var(--display); color: var(--gold); margin: .06em .1em 0 0; }
.cut { position: relative; margin-top: -6px; }
.cut__blur { filter: blur(6px); user-select: none; pointer-events: none; color: var(--text-2); }
.cut__label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.cut__label span { background: rgba(10,12,28,.9); border: 1px solid var(--gold); border-radius: 999px; padding: 10px 18px; font-weight: 600; color: var(--gold-2); box-shadow: 0 0 40px -6px rgba(232,194,122,.5); text-align: center; }
.skeleton p { height: 1em; background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(232,194,122,.14), rgba(255,255,255,.05)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 6px; }
.skeleton p.s { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.toc-locked { list-style: none; padding: 0; margin: 0; counter-reset: t; display: grid; gap: 8px; }
.toc-locked li { counter-increment: t; display: grid; grid-template-columns: 34px 1fr auto; gap: 4px 10px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(10,12,28,.55); }
.toc-locked li::before { content: counter(t, decimal-leading-zero); font: 600 1.2rem var(--display); color: var(--gold); }
.toc-locked .t { font-weight: 600; color: var(--text); }
.toc-locked .h { grid-column: 2 / 4; color: var(--text-2); font-size: .9rem; font-style: italic; }
.toc-locked .st { font-size: .76rem; color: var(--muted); white-space: nowrap; }
.toc-locked .st::before { content: "🔒 "; }
.toc-locked .st.open { color: var(--ok); }
.toc-locked .st.open::before { content: "✓ "; }
.toc-locked li[role=button] { cursor: pointer; transition: border-color .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.toc-locked li[role=button]:hover, .toc-locked li[role=button]:focus-visible { border-color: var(--gold); background: rgba(24,20,52,.7); outline: none; }
.toc-locked li[role=button]:active { background: rgba(40,32,90,.7); }
.offer--pulse { animation: offer-pulse 1.4s var(--ease); }
@keyframes offer-pulse { 0%, 100% { box-shadow: var(--glow); } 35% { box-shadow: var(--glow), 0 0 0 3px var(--gold); } }
@media (prefers-reduced-motion: reduce) { .offer--pulse { animation: none; } }
.offer { position: relative; border-radius: 26px; padding: 26px; margin-top: 26px; background: radial-gradient(120% 90% at 50% 0%, rgba(40,32,90,.75), rgba(8,9,22,.95) 70%); box-shadow: var(--glow); }
.offer h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem) !important; }
.offer .price { font: 600 2.6rem/1 var(--display); color: var(--gold-2); }
.offer .old { text-decoration: line-through; color: var(--muted); font-size: 1.1rem; margin-left: 6px; }
.offer-perks { display: grid; gap: 8px; margin: 16px 0 20px; padding: 0; list-style: none; font-size: .92rem; color: var(--text-2); }
.offer-perks li::before { content: "✦ "; color: var(--gold); }
.year-card { display: flex; gap: 16px; align-items: center; border-radius: 20px; padding: 18px; margin-bottom: 18px; background: rgba(10,12,28,.6); border: 1px solid var(--line); }
.year-card .num { flex: 0 0 68px; height: 68px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff4d6, #e8c27a 45%, #9c7232); color: #1b1305; font: 700 2rem/68px var(--display); text-align: center; box-shadow: 0 0 40px rgba(232,194,122,.4); }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin: 10px 0 4px; }
.months span { display: flex; flex-direction: column; align-items: center; font-size: .62rem; color: var(--muted); gap: 4px; }
.months i { width: 14px; height: 14px; border-radius: 50%; display: block; }
.mood-start { background: var(--ok); box-shadow: 0 0 10px rgba(127,224,178,.6); } .mood-calm { background: var(--gold); box-shadow: 0 0 10px rgba(232,194,122,.5); } .mood-slow { background: #6f7391; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.gift-cover { background: radial-gradient(circle at 50% 35%, #1b1f44, #070818); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--glow); aspect-ratio: 1/1.414; max-width: 280px; margin: 0 auto 14px; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; }
.gift-cover .nm { font: 600 1.9rem var(--display); color: var(--gold-2); }
.gift-cover svg { width: 80%; }

/* ---------- шаг контакта */
.step { position: relative; border-radius: 26px; padding: 26px; margin-top: 20px; background: linear-gradient(180deg, rgba(20,24,52,.8), rgba(8,10,24,.9)); box-shadow: var(--glow); }
.step[hidden] { display: none; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .86rem; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line-2); }

/* ---------- касса / заказ */
.checkout-grid { display: grid; gap: 26px; }
@media (min-width: 900px) { .checkout-grid { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.summary { list-style: none; padding: 0; margin: 0 0 16px; }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); color: var(--text-2); }
.summary li strong { color: var(--text); }
.summary li.total { font-weight: 700; font-size: 1.3rem; border-bottom: 0; color: var(--text); }
.summary li.total span:last-child { font: 600 2rem/1 var(--display); color: var(--gold-2); }
.bump { display: flex; gap: 14px; align-items: flex-start; border: 1px dashed var(--gold); border-radius: 16px; padding: 16px; background: rgba(232,194,122,.06); cursor: pointer; margin-bottom: 18px; color: var(--text-2); transition: background .3s; }
.bump:hover { background: rgba(232,194,122,.1); }
.bump strong { color: var(--gold-2); }
.bump input { width: 22px; height: 22px; flex: 0 0 22px; margin: 2px 0 0; accent-color: var(--gold); }
.after-pay { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: ap; }
.after-pay li { counter-increment: ap; display: grid; grid-template-columns: 36px 1fr; gap: 12px; color: var(--text-2); font-size: .92rem; }
.after-pay li::before { content: counter(ap); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); font-weight: 700; font-size: .85rem; }
.after-pay b { color: var(--text); display: block; }
.paybadges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.paybadges span { font-size: .74rem; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text-2); }
.progress { height: 8px; background: rgba(255,255,255,.07); border-radius: 999px; overflow: hidden; margin: 18px 0; }
.progress > div { height: 100%; width: 5%; background: linear-gradient(90deg, var(--violet), var(--gold), var(--gold-2)); box-shadow: 0 0 20px rgba(232,194,122,.7); transition: width .8s ease; }
.status-icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; color: #1b1305; background: radial-gradient(circle at 35% 30%, #fff4d6, #e8c27a 45%, #9c7232); box-shadow: 0 0 60px rgba(232,194,122,.5); margin-bottom: 22px; animation: float 5s ease-in-out infinite; }
[data-state=generating] .status-icon { animation: spin 12s linear infinite; }
.downloads { display: grid; gap: 10px; margin: 18px 0; }
.order-card { border-radius: 26px; padding: clamp(22px, 4vw, 36px); background: linear-gradient(180deg, rgba(20,24,52,.7), rgba(8,10,24,.85)); border: 1px solid var(--line-2); }
.order-card h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }

/* ---------- юр. тексты */
.legal { color: var(--text-2); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--text); }
.legal h2 { font: 600 1.7rem/1.2 var(--display); margin-top: 1.6em; color: var(--gold-2); }
.legal h3 { font-size: 1.1rem; margin-top: 1.3em; color: var(--text); }
.legal strong { color: var(--text); }
.legal blockquote { margin: 0 0 1em; padding: 12px 16px; border-left: 2px solid var(--gold); background: rgba(10,12,28,.6); border-radius: 0 12px 12px 0; }
.legal mark { background: rgba(232,194,122,.2); color: var(--gold-2); padding: 0 3px; border-radius: 3px; }
.legal td, .legal th { color: var(--text-2); }
.draft { background: rgba(232,194,122,.1); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: .9rem; color: var(--gold-2); }

/* ---------- cookie */
.cookie { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; background: rgba(10,12,28,.94); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.6); font-size: .88rem; max-width: 640px; margin: 0 auto; color: var(--text-2); }
.cookie p { margin: 0 0 12px; }
.cookie .row { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn { min-height: 44px; padding: 10px 16px; font-size: .9rem; flex: 1 1 auto; }

/* ---------- липкая кнопка */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, rgba(4,5,11,.92) 35%); z-index: 30; transform: translateY(120%); transition: transform .4s var(--ease); }
.sticky-cta.show { transform: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- полоса прогресса чтения */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--violet), var(--gold), var(--gold-2)); z-index: 50; box-shadow: 0 0 12px rgba(232,194,122,.6); }

/* ---------- курсорное свечение (десктоп) */
.cursor-glow { position: fixed; width: 520px; height: 520px; left: 0; top: 0; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: -1; background: radial-gradient(circle, rgba(232,194,122,.07), rgba(141,114,242,.05) 40%, transparent 70%); transition: opacity .6s; }
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- анимации вне экрана стоят (cosmos.js ставит data-off) */
[data-off], [data-off]::before, [data-off] *, [data-off] *::before { animation-play-state: paused !important; }

/* ---------- уважение к настройкам */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv, .js .rv-zoom { opacity: 1; transform: none; filter: none; }
  .split-line > span { transform: none; }
}

.chapters-hint { display: none; margin: 14px 0 0; color: var(--muted); font-size: .85rem; text-align: center; }
