/* Главная Gargona: разделы страницы. Палитра, кнопки, шапка и подвал — в css/landing.css.
   Заголовки — узкий гротеск (--font-poster): длинные русские слова стоят крупно в две строки.
   Ирис — бренд и действия; мята — только «живые» состояния (найдено, ответил, диалог). */

.home {
  --iris: var(--purple); --iris-deep: var(--purple-2); --iris-soft: var(--purple-3);
  --mint: var(--green); --amber: var(--orange);
  --panel: var(--surface-solid); --panel-2: #161927;
  --line-2: var(--line-strong); --mute: #8e92a8;
  --display: var(--font-poster); --body: var(--font-body); --mono: var(--font-mono);
  --r: 14px;
  background: var(--bg); font-size: 17px; line-height: 1.6;
}
/* :where — нулевая специфичность: правила ниже уступают любому классу (кнопкам, шапке). */
:where(.home) a, :where(.home) a:hover { color: inherit; }
:where(.home) ul, :where(.home) ol { list-style: none; margin: 0; padding: 0; }
:where(.home) figure, :where(.home) dl, :where(.home) dd, :where(.home) h4 { margin: 0; }
:where(.home) button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
:where(.home) input { font: inherit; color: inherit; }
:where(.home) em { font-style: normal; }
:where(.home) img, :where(.home) video, :where(.home) canvas { display: block; max-width: 100%; }
:where(.home) video { height: auto; }
.home .shell { width: min(1240px, 100% - 48px); }
.home .btn-lg { padding: 19px 30px; font-size: 16.5px; }
.home .btn span { transition: transform .18s; }
.home .btn:hover span { transform: translateX(3px); }
.btn-paper { background: #fff; color: #0a0716; }
.btn-paper:hover { background: #0a0716; color: #fff; }

/* ── Типографика ── */
.hero-h, .h2, .final-h {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  line-height: .96; letter-spacing: -.005em;
}
.h2 { font-size: clamp(44px, 6.2vw, 92px); text-wrap: balance; }
.h3 { font: 600 clamp(24px, 2.4vw, 32px)/1.15 var(--body); letter-spacing: -.01em; }
.kick {
  display: flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--iris-soft); margin-bottom: 20px;
}
.kick::before { content: ''; width: 7px; height: 7px; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.copy { color: var(--mute); max-width: 58ch; }
.fine { font: 400 12.5px/1.5 var(--mono); color: var(--mute); }



/* ── Первый экран ── */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; }
.hero::before { /* точечная сетка, гаснущая к краям */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, #000 20%, transparent 75%);
}
.hero > .shell { position: relative; }
.hero-net { position: absolute; top: -40px; right: -120px; width: 78%; height: 600px; pointer-events: none; z-index: 0; }
.hero-net canvas { width: 100%; height: 100%; }
.pill, .hero-h, .hero-row { position: relative; z-index: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(16, 18, 28, .7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 600 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--iris); flex: none; }
.dot-live { background: var(--mint); box-shadow: 0 0 0 0 rgba(61, 224, 176, .5); animation: ping 2s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 8px rgba(61, 224, 176, 0); } }
.hero-h { font-size: clamp(56px, 8.6vw, 126px); margin: 26px 0 36px; letter-spacing: -.01em; }
.hero-h em { color: var(--iris); }
.ln { display: block; overflow: hidden; padding-top: .08em; margin-top: -.08em; }
.ln > span { display: block; transform: translateY(105%); animation: lnup .9s cubic-bezier(.16, .8, .2, 1) forwards; }
.ln:nth-child(2) > span { animation-delay: .12s; }
.ln:nth-child(3) > span { animation-delay: .24s; }
@keyframes lnup { to { transform: none; } }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 64px; align-items: end; }
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; max-width: 54ch; color: #C9CBDA; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; max-width: 620px; }
.hero-cta .fine { flex-basis: 100%; text-align: right; }
.stage { position: relative; margin-top: 64px; padding-bottom: 96px; perspective: 1800px; }
.stage::before { /* свечение под окном панели */
  content: ''; position: absolute; left: 4%; right: 18%; top: 8%; bottom: 12%; z-index: 0;
  background: radial-gradient(closest-side, rgba(124, 107, 255, .38), transparent), radial-gradient(closest-side at 80% 70%, rgba(61, 224, 176, .2), transparent);
  filter: blur(60px);
}
.win {
  position: relative; z-index: 1; border-radius: 18px; overflow: hidden; background: #0B0C13;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8);
  width: min(100%, 1000px);
  transform: translate3d(var(--px, 0), var(--py, 0), 0) rotateX(calc(var(--tilt, 0) * 1deg)) scale(calc(1 - var(--tilt, 0) * .006));
  transform-origin: 50% 0; will-change: transform;
}
.win-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; background: #12141E; border-bottom: 1px solid var(--line); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.win-bar span { margin-left: 14px; font: 400 12px/1 var(--mono); color: rgba(255, 255, 255, .45); }
.win img { width: 100%; }
.journal {
  position: absolute; z-index: 4; right: 0; bottom: 0; width: min(400px, 100%);
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  background: rgba(13, 15, 24, .82); border: 1px solid var(--line-2); border-radius: var(--r);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(124, 107, 255, .12), 0 0 60px -10px rgba(124, 107, 255, .35);
  font-family: var(--mono); overflow: hidden;
}
.journal-hd, .journal-ft { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; }
.journal-hd { border-bottom: 1px solid var(--line); }
.journal-t { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.journal-demo { font-size: 11px; color: var(--mute); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 8px; }
.journal-list { height: 252px; overflow: hidden; padding: 6px 18px; display: flex; flex-direction: column; justify-content: flex-end; }
.journal-list li { padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; line-height: 1.45; }
.journal-list li:last-child { border-bottom: 0; }
.journal-list li.is-new { animation: rowin .5s cubic-bezier(.2, .7, .2, 1); }
.journal-list li.is-new .j-text { animation: flash 1.4s ease; }
@keyframes rowin { from { opacity: 0; transform: translateY(14px); } }
@keyframes flash { from { color: var(--mint); text-shadow: 0 0 18px rgba(61, 224, 176, .7); } }
.j-meta { display: flex; gap: 10px; color: var(--mute); font-size: 11px; margin-bottom: 3px; }
.j-mod { color: var(--iris-soft); font-weight: 600; }
.j-mod.is-ok { color: var(--mint); }
.j-mod.is-warn { color: var(--amber); }
.j-text { font-family: var(--body); font-size: 14px; color: var(--text); }
.journal-ft { border-top: 1px solid var(--line); font-size: 11.5px; color: var(--mute); background: rgba(255, 255, 255, .03); }
.journal-ft b { font: 800 26px/1 var(--display); color: var(--mint); letter-spacing: .01em; font-variant-numeric: tabular-nums; }

/* парящие фрагменты настоящих экранов панели */
.float {
  position: absolute; z-index: 3; border-radius: 14px; overflow: hidden; background: #0B0C13;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(124, 107, 255, .14), 0 0 70px -14px rgba(124, 107, 255, .45);
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  animation: bob 7s ease-in-out infinite;
}
.float figcaption { display: flex; align-items: center; gap: 10px; padding: 11px 14px; font: 600 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.float img { width: 100%; height: auto; }
.float-src { right: 0; top: -34px; width: min(560px, 46%); }
.float-dlg { left: 30%; bottom: 0; width: min(470px, 38%); animation-delay: -3.5s; z-index: 5; }
@keyframes bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line-2); }
.facts div { padding: 22px 24px 0 0; }
.facts dt { font: 800 clamp(40px, 4.4vw, 64px)/1 var(--display); font-variant-numeric: tabular-nums; }
.facts dd { color: var(--mute); font-size: 14.5px; line-height: 1.4; margin-top: 6px; max-width: 24ch; }

/* ── Бегущая строка модулей ── */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-in { display: flex; width: max-content; animation: slide 48s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 28px; padding: 18px 0 18px 28px; font: 600 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.ticker span::after { content: ''; width: 6px; height: 6px; background: var(--iris); transform: rotate(45deg); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── Секции ── */
.sec { position: relative; padding: clamp(80px, 9vw, 136px) 0; }
.sec-paper, .sec-ink { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .h2 { max-width: 16ch; margin-bottom: 24px; }
.sec-head-duo { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px 72px; align-items: end; }

/* воронка-пример рядом с заголовком */
.flow { border: 1px solid var(--line-2); border-radius: 18px; background: rgba(16, 18, 28, .7); overflow: hidden; box-shadow: 0 40px 100px -50px rgba(124, 107, 255, .6); }
.flow-hd { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.flow-hd span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.flow-list { padding: 6px 20px; }
.flow-list li { position: relative; display: grid; grid-template-columns: 28px 1fr auto; align-items: baseline; gap: 4px 10px; padding: 14px 0 18px; border-bottom: 1px dashed var(--line); }
.flow-list li:last-child { border-bottom: 0; }
.flow-n { font: 400 11px/1 var(--mono); color: var(--mute); }
.flow-t { font-size: 15px; color: #C9CBDA; }
.flow-list b { font: 800 30px/1 var(--display); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.flow-bar { position: absolute; left: 38px; right: 0; bottom: 8px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.flow-bar::after { content: ''; position: absolute; inset: 0; width: var(--w); border-radius: 2px; background: linear-gradient(90deg, var(--iris), var(--iris-soft)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.flow.is-in .flow-bar::after { transform: scaleX(1); }
.flow-list li:nth-child(2) .flow-bar::after { transition-delay: .12s; }
.flow-list li:nth-child(3) .flow-bar::after { transition-delay: .24s; }
.flow-list li:nth-child(4) .flow-bar::after { transition-delay: .36s; }
.flow-list li:nth-child(5) .flow-bar::after { transition-delay: .48s; }
.flow-list li:nth-child(6) .flow-bar::after { transition-delay: .6s; }
.flow-list .is-goal b { color: var(--mint); }
.flow-list .is-goal .flow-bar::after { background: linear-gradient(90deg, var(--mint), #9BF3D6); }
.flow-ft { padding: 12px 20px 16px; border-top: 1px solid var(--line); font: 400 11.5px/1.5 var(--mono); color: var(--mute); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px 80px; align-items: start; }
.split-head { position: sticky; top: 110px; }
.split-head .h2 { font-size: clamp(44px, 5.2vw, 78px); margin-bottom: 24px; }
.verbs li { position: relative; display: grid; gap: 6px; padding: 26px 0; border-top: 1px solid var(--line); }
.verbs li:last-child { border-bottom: 1px solid var(--line); }
.verbs li::before { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: linear-gradient(90deg, var(--mint), var(--iris)); transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.verbs li:hover::before { width: 100%; }
.verbs h3 { font: 800 clamp(30px, 3vw, 44px)/1 var(--display); text-transform: uppercase; transition: color .2s, transform .3s; }
.verbs li:hover h3 { color: var(--iris-soft); transform: translateX(8px); }
.verbs p { color: var(--mute); max-width: 52ch; }
.tags { font: 400 12px/1.5 var(--mono); color: var(--mint); opacity: .8; margin-top: 4px; }

/* ── Как это работает ── */
.how { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.step { border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-btn { position: relative; display: flex; align-items: baseline; gap: 18px; width: 100%; padding: 20px 0; text-align: left; color: rgba(255, 255, 255, .5); transition: color .2s; }
.step-btn:hover { color: #fff; }
.step-bar { position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--iris), var(--mint)); transform: scaleX(0); transform-origin: 0 50%; }
.step.is-on .step-bar { transform: scaleX(1); }
.is-auto .step.is-on .step-bar { animation: bar 7s linear forwards; }
.is-auto.is-paused .step.is-on .step-bar { animation-play-state: paused; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.step-n { font: 400 12px/1 var(--mono); letter-spacing: .08em; width: 24px; flex: none; }
.step-t { font: 600 19px/1.25 var(--body); }
.step.is-on .step-btn { color: #fff; }
.step.is-on .step-n { color: var(--mint); }
.step-body { display: none; padding: 0 0 24px 42px; color: rgba(255, 255, 255, .62); font-size: 15.5px; }
.step.is-on .step-body { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.step-body ul { margin-top: 14px; display: grid; gap: 8px; }
.step-body li { position: relative; padding-left: 18px; color: var(--text); font-size: 14.5px; }
.step-body li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--mint); }
.shots { position: sticky; top: 96px; }
.shots-frame { position: relative; border-radius: var(--r); overflow: hidden; background: #0B0C13; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -40px rgba(124, 107, 255, .5); }
.shot { display: none; }
.shot.is-on { display: block; animation: shotin .55s cubic-bezier(.2, .7, .2, 1); }
@keyframes shotin { from { opacity: 0; transform: scale(1.025); filter: blur(6px); } }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.shot figcaption { padding: 14px 18px; font: 400 12.5px/1.4 var(--mono); color: rgba(255, 255, 255, .6); border-top: 1px solid var(--line); }
.shot figcaption::before { content: '› '; color: var(--mint); }
.shots-tabs { display: inline-flex; gap: 4px; margin-top: 14px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; }
.shots-tabs[hidden] { display: none; }
.shots-tabs button { padding: 8px 16px; border-radius: 999px; font: 600 13px/1 var(--body); color: rgba(255, 255, 255, .6); }
.shots-tabs button.is-on { background: #fff; color: #0A0716; }
.how-cta { margin-top: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

/* ── Видео ── */
.reel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.reel-text .h2 { font-size: clamp(44px, 5.2vw, 78px); margin-bottom: 24px; }
.reel-player { position: relative; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line-2); box-shadow: 0 40px 120px -40px rgba(61, 224, 176, .35), 0 40px 120px -30px rgba(124, 107, 255, .45); }
.reel-player video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.reel-play {
  position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 22px 0 8px; border-radius: 999px; background: #fff; color: #0A0716;
  font: 600 15px/1 var(--body); transition: transform .2s;
}
.reel-play:hover { transform: scale(1.04); }
.reel-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--iris); position: relative; animation: ringout 2.2s infinite; }
@keyframes ringout { from { box-shadow: 0 0 0 0 rgba(124, 107, 255, .6); } to { box-shadow: 0 0 0 16px rgba(124, 107, 255, 0); } }
.reel-ic::after { content: ''; position: absolute; left: 14px; top: 11px; border: 7px solid transparent; border-left: 11px solid #fff; border-right: 0; }
.reel-player.is-playing .reel-play { display: none; }

/* ── Свечение за курсором ── */
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 107, 255, .2), transparent 62%);
  opacity: 0; transition: opacity .35s;
}
.glow:hover::before { opacity: 1; }

/* ── Обучение ── */
.learn { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.learn-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: border-color .3s; }
.learn-card:hover, .plan-list:hover, .ask:hover { border-color: var(--line-2); }
.learn-card h3 { font: 600 24px/1.2 var(--body); letter-spacing: -.01em; margin-top: 10px; }
.learn-card p { color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.chips span { font: 400 12px/1 var(--mono); color: var(--text); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 12px; }
.demo { position: relative; height: 230px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; padding: 20px; }
.demo-block { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: grid; gap: 8px; margin-bottom: 12px; width: 62%; }
.demo-block i { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.demo-block i:first-child { width: 40%; background: rgba(255, 255, 255, .26); }
.demo-spot { border-color: var(--iris-soft); animation: spot 2.6s ease-in-out infinite; }
@keyframes spot { 0%, 100% { box-shadow: 0 0 0 3px rgba(169, 156, 255, .14); } 50% { box-shadow: 0 0 0 7px rgba(169, 156, 255, .26), 0 0 40px rgba(124, 107, 255, .5); } }
.demo-tip { position: absolute; right: 20px; bottom: 20px; width: 56%; background: #fff; color: #5A5D6B; border-radius: 12px; padding: 14px 16px; font-size: 13px; line-height: 1.45; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .8); }
.demo-tip b { display: block; color: #0A0716; font-size: 14px; margin-bottom: 4px; }
.demo-tip span { display: block; margin-top: 8px; font: 400 11px/1 var(--mono); color: var(--iris-deep); }
.demo-chat { display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; font-size: 13.5px; line-height: 1.4; }
.demo-chat p { max-width: 78%; padding: 9px 13px; border-radius: 14px; }
.demo-chat .q { align-self: flex-end; background: var(--iris); color: #0A0716; font-weight: 500; border-bottom-right-radius: 4px; }
.demo-chat .a { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); border-bottom-left-radius: 4px; }
.guide-link { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 24px; padding: 22px 28px; border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s; }
.guide-link:hover { border-color: var(--iris); }
.guide-link span { color: var(--mute); }
.guide-link b { font-weight: 600; color: var(--iris-soft); }

/* ── Тарифы ── */
.plan { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.plan-buy {
  position: sticky; top: 96px; border-radius: 22px; padding: 36px; border: 1px solid rgba(124, 107, 255, .45);
  background: radial-gradient(120% 80% at 0% 0%, rgba(124, 107, 255, .28), transparent 60%), var(--panel);
  box-shadow: 0 40px 120px -50px rgba(124, 107, 255, .7);
}
.plan-tag { font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; }
.plan-buy h3 { font: 600 22px/1.25 var(--body); }
.plan-price { font: 800 clamp(96px, 11vw, 160px)/.9 var(--display); margin: 22px 0 18px; display: flex; align-items: baseline; gap: 12px; }
.plan-price small { font: 400 15px/1 var(--mono); color: var(--mute); }
.plan-note { color: rgba(255, 255, 255, .66); font-size: 15px; }
.calc { margin: 28px 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.calc label { display: block; font-size: 14.5px; color: rgba(255, 255, 255, .66); margin-bottom: 14px; }
.calc label b { color: #fff; font-weight: 600; }
.calc input[type=range] { width: 100%; accent-color: var(--iris-soft); height: 24px; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 10px; font-size: 14.5px; color: rgba(255, 255, 255, .66); }
.calc-total b { font: 800 40px/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.calc-total s { margin-right: 10px; color: rgba(255, 255, 255, .4); }
.calc-total em { margin-left: 10px; font: 600 12px/1 var(--mono); color: #06241B; background: var(--mint); border-radius: 999px; padding: 4px 8px; vertical-align: middle; }
.calc-total [hidden] { display: none; }
.plan-list { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 36px; transition: border-color .3s; }
.plan-list h3 { font: 600 22px/1.25 var(--body); margin-bottom: 6px; }
.mods { margin-top: 20px; columns: 2; column-gap: 40px; }
.mods li { break-inside: avoid; padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 3px; }
.mods b { font-weight: 600; font-size: 15.5px; transition: color .2s; }
.mods li:hover b { color: var(--mint); }
.mods span { font-size: 13.5px; line-height: 1.45; color: var(--mute); }
.mods-more { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font: 600 12.5px/1 var(--mono); color: var(--mint); }

/* ── Кому подходит ── */
.ticks { margin-top: 28px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-weight: 500; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .38em; width: 12px; height: 6px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
.who li { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 8px 32px; transition: padding .3s; }
.who li:last-child { border-bottom: 1px solid var(--line); }
.who li:hover { padding-left: 10px; }
.who h3 { font: 600 20px/1.25 var(--body); letter-spacing: -.01em; }
.who p { color: var(--mute); font-size: 15.5px; }

/* ── FAQ + чат ── */
.faq { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px 72px; align-items: start; }
.faq .h2 { margin-bottom: 36px; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font: 600 18px/1.35 var(--body); transition: color .2s; }
.qa summary:hover { color: var(--iris-soft); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; font: 400 26px/1 var(--mono); color: var(--mint); transition: transform .2s; flex: none; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 48px 24px 0; color: var(--mute); }
.ask { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 32px; position: sticky; top: 96px; transition: border-color .3s; }
.ask .h3 { margin-bottom: 10px; }
.ask .copy { font-size: 15.5px; }
.chat { margin: 22px 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); display: flex; flex-direction: column; height: 380px; }
.chat-thread { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.chat-empty { margin: auto; color: var(--mute); font-size: 14px; text-align: center; max-width: 26ch; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; white-space: pre-wrap; animation: fade .3s ease; }
.msg-user { align-self: flex-end; background: var(--iris); color: #0A0716; font-weight: 500; border-bottom-right-radius: 4px; }
.msg-bot { background: var(--panel-2); border-bottom-left-radius: 4px; }
.msg-bot a { color: var(--iris-soft); text-decoration: underline; }
.msg-typing { display: inline-flex; gap: 4px; }
.msg-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: blink 1.2s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .2s; }
.msg-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 12px; }
.chat-suggest.is-hidden { display: none; }
.chat-suggest button { text-align: left; font-size: 13px; line-height: 1.3; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--mute); transition: border-color .15s, color .15s; }
.chat-suggest button:hover { border-color: var(--iris); color: var(--text); }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 1px solid transparent; border-radius: 999px; background: var(--panel-2); font-size: 15px; }
.chat-form input::placeholder { color: var(--mute); }
.chat-form input:focus { outline: none; border-color: var(--iris); }

/* ── Финал ── */
.final { position: relative; overflow: hidden; background: var(--iris-deep); color: #fff; padding: clamp(80px, 9vw, 136px) 0; }
.final::before { /* дрейфующая точечная сетка */
  content: ''; position: absolute; inset: -40px; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.4px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 85% 20%, #000, transparent 70%); mask-image: radial-gradient(ellipse 70% 90% at 85% 20%, #000, transparent 70%);
  animation: drift 14s linear infinite;
}
@keyframes drift { to { transform: translate(28px, 28px); } }
.final > .shell { position: relative; }
.final-h { font-size: clamp(56px, 8.6vw, 126px); }
.final-h em { color: #0A0716; }
.final-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; margin-top: 40px; }
.final-row p { max-width: 58ch; font-size: 18px; color: rgba(255, 255, 255, .88); }
.final-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid rgba(255, 255, 255, .35); }
.final-facts div { padding-top: 20px; }
.final-facts dt { font: 800 clamp(40px, 4.4vw, 64px)/1 var(--display); }
.final-facts dd { color: rgba(255, 255, 255, .8); font-size: 14.5px; margin-top: 6px; }


/* ── Просмотр кадра на весь экран ── */
[data-zoom] { cursor: zoom-in; }
.zoom { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(4, 5, 10, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: zoom-out; }
.zoom[hidden] { display: none; }
.zoom img { max-width: 100%; max-height: calc(100vh - 48px); width: auto; border-radius: 12px; border: 1px solid var(--line-2); box-shadow: 0 40px 120px rgba(0, 0, 0, .8); }
.zoom-close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2) !important; color: #fff; font: 400 26px/1 var(--mono); }
.zoom-close:hover { background: rgba(255, 255, 255, .08); }

/* ── Появление при прокрутке ── */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }

/* ── Адаптив ── */
@media (max-width: 1080px) {
  .stage { padding-bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .win { grid-column: 1 / -1; width: 100%; }
  .float, .journal { position: relative; inset: auto; width: 100%; animation: none; }
  .float-dlg { order: 3; }
  .journal { grid-column: 1 / -1; order: 4; }
  .sec-head-duo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .hero-row, .split, .how, .reel, .plan, .faq, .final-row { grid-template-columns: minmax(0, 1fr); }
  .split-head, .shots, .plan-buy, .ask { position: static; }
  .hero-cta { justify-content: flex-start; }
  .hero-cta .fine { text-align: left; }
  .hero-net { top: -40px; right: -30%; width: 130%; height: 520px; opacity: .55; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .learn { grid-template-columns: 1fr; }
  .step .shots { margin: 0 0 24px; }
}
@media (max-width: 640px) {
  .home { font-size: 16px; }
  .home .shell { width: calc(100% - 32px); }
  .hero { padding: 32px 0 64px; }
  .hero-h { margin: 22px 0 28px; }
  .home .btn-lg { min-height: 54px; height: auto; width: 100%; padding: 12px 18px; font-size: 15.5px; white-space: normal; text-align: center; }
  .stage { margin-top: 40px; }
  .stage { grid-template-columns: 1fr; }
  .journal-list { height: 270px; }
  .mods { columns: 1; }
  .plan-buy, .plan-list, .ask { padding: 24px; border-radius: 18px; }
  .who li { grid-template-columns: 1fr; }
  .step-body { padding-left: 0; }
  .demo-tip { width: 72%; }
  .final-facts { grid-template-columns: 1fr; }
  .qa details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .ln > span { transform: none; }
  .win, .float, .journal { transform: none; }
}
