/* Айя — лендинг. Тёмная кибер-палитра, один origin с пультом.
   Внешних запросов нет: шрифты системные, графика — инлайновый SVG. */

:root {
	--bg: #070a12;
	--bg-2: #0b1020;
	--surface: rgba(255, 255, 255, .04);
	--surface-2: rgba(255, 255, 255, .06);
	--line: rgba(148, 178, 220, .16);
	--text: #e7eefb;
	--muted: #93a3bd;
	--cyan: #22d3ee;
	--teal: #5eead4;
	--violet: #a855f7;
	--warn: #fbbf24;
	--radius: 18px;
	--wrap: 1180px;
	--ease: cubic-bezier(.22, .8, .3, 1);
	--font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.62;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.14; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.wrap--narrow { max-width: 780px; }

.sr, .skip {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
	position: fixed; top: 12px; left: 12px; z-index: 100; width: auto; height: auto;
	clip: auto; padding: 10px 16px; background: var(--cyan); color: #04121a;
	border-radius: 10px; font-weight: 600;
}

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ───────────── кнопки ───────────── */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
	font-weight: 600; font-size: 1rem; cursor: pointer; text-decoration: none;
	transition: transform .18s var(--ease), box-shadow .18s var(--ease),
		background .18s var(--ease), border-color .18s var(--ease);
	white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: .93rem; }
/* Градиент из двух близких оттенков и строго по горизонтали. Прежний
   вариант уходил через полстраницы спектра в фиолетовый: на широкой
   «пилюле» переход ложился диагональю, правая треть выглядела грязным
   пятном, и тёмный текст на ней терял контраст. */
.btn--primary {
	background: linear-gradient(90deg, #5eead4, #22d3ee);
	color: #04212b;
	box-shadow: 0 10px 30px -14px rgba(34, 211, 238, .8);
}
.btn--primary:hover { box-shadow: 0 16px 40px -14px rgba(34, 211, 238, .95); }
.btn--ghost {
	background: var(--surface); color: var(--text); border-color: var(--line);
	backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: rgba(34, 211, 238, .6); background: var(--surface-2); }

/* ───────────── шапка ───────────── */
.nav {
	position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid transparent;
	transition: background .25s var(--ease), border-color .25s var(--ease);
}
.nav.is-stuck {
	background: rgba(7, 10, 18, .82);
	backdrop-filter: blur(14px);
	border-bottom-color: var(--line);
}
.nav__in { display: flex; align-items: center; gap: 26px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand__mark { display: inline-flex; filter: drop-shadow(0 0 10px rgba(34, 211, 238, .45)); }
.brand__text { display: flex; flex-direction: column; font-weight: 700; font-size: 1.16rem; line-height: 1.1; }
.brand__sub { font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { color: var(--muted); font-size: .95rem; font-weight: 500; }
.nav__links a:hover { color: var(--text); text-decoration: none; }
.nav__cta { display: flex; gap: 10px; }

.burger { display: none; width: 42px; height: 42px; background: none; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .22s var(--ease), opacity .22s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile { display: none; flex-direction: column; padding: 10px 22px 22px; background: rgba(7, 10, 18, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.mobile a { padding: 13px 0; color: var(--text); border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile a:hover { text-decoration: none; color: var(--cyan); }
.mobile__cta { margin-top: 14px; border: 0 !important; text-align: center; border-radius: 999px; background: linear-gradient(90deg, #5eead4, #22d3ee); color: #04212b !important; font-weight: 700; }

/* ───────────── hero ───────────── */
.hero { position: relative; padding: clamp(36px, 5vw, 68px) 0 clamp(60px, 9vw, 110px); overflow: hidden; }
.hero__glow {
	position: absolute; inset: -30% -10% auto; height: 720px; pointer-events: none;
	background:
		radial-gradient(46% 52% at 22% 26%, rgba(34, 211, 238, .3), transparent 70%),
		radial-gradient(42% 50% at 76% 18%, rgba(168, 85, 247, .28), transparent 70%);
	filter: blur(18px);
}
.hero__grid-bg {
	position: absolute; inset: 0; pointer-events: none; opacity: .35;
	background-image:
		linear-gradient(rgba(148, 178, 220, .07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 178, 220, .07) 1px, transparent 1px);
	background-size: 62px 62px;
	mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 78%);
	-webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 78%);
}
.hero__in {
	position: relative; display: grid; gap: clamp(36px, 5vw, 56px);
	grid-template-columns: 1fr 1fr; align-items: center;
}
.hero__copy { max-width: 640px; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px;
	padding: 7px 15px 7px 11px; border: 1px solid var(--line); border-radius: 999px;
	background: var(--surface); color: var(--muted);
	font-size: .84rem; font-weight: 600; letter-spacing: .01em;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(94, 234, 212, .16); }

.lead { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--muted); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 30px 0 0; }

/* ───────────── маскот ───────────── */
/* Фото и карточка чата не столбиком, а внахлёст: в столбик правая колонка
   выходила ~885px против ~465px у текста, из-за чего align-items:center
   оставлял дыру сверху слева, а кнопки и чат уезжали под сгиб. */
.hero__art { position: relative; width: min(100%, 520px); justify-self: end; }
.mascot { position: relative; margin: 0 0 0 auto; width: 420px; }

/* Свечение за фигурой: смещено вверх, к голове, иначе на вытянутом
   портрете ореол уходит в торс и читается как пятно. */
.mascot__halo {
	position: absolute; inset: -6% -14% 34%; border-radius: 50%;
	background: radial-gradient(circle, rgba(34, 211, 238, .34), rgba(168, 85, 247, .2) 55%, transparent 72%);
	filter: blur(34px);
	animation: pulse 6s var(--ease) infinite;
}

/* Низ кадра растворяем в фоне — иначе торс обрывается ровной линией среза. */
.mascot__img {
	position: relative; display: block; width: 100%; height: auto;
	filter: drop-shadow(0 26px 54px rgba(4, 10, 22, .85));
	mask-image: linear-gradient(180deg, #000 74%, transparent 99%);
	-webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 99%);
}

@keyframes pulse { 0%, 100% { opacity: .78; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }

@media (prefers-reduced-motion: reduce) {
	.mascot__halo { animation: none; }
}

/* ───────────── чат-превью ───────────── */
.chat {
	position: absolute; left: -50px; bottom: -30px; z-index: 2; width: 300px;
	border: 1px solid var(--line); border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(17, 26, 46, .9), rgba(10, 15, 28, .9));
	backdrop-filter: blur(10px); overflow: hidden;
	box-shadow: 0 26px 60px -30px rgba(0, 0, 0, .9);
}
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat__ava { display: inline-flex; padding: 5px; border-radius: 50%; background: var(--surface-2); }
.chat__head b { display: block; font-size: .98rem; }
.chat__status { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--muted); }
.chat__status i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .18); }
.chat__body { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.msg { margin: 0; max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: .93rem; line-height: 1.5; }
.msg--in { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 5px; }
.msg--out {
	align-self: flex-end; border-bottom-right-radius: 5px; color: #041018;
	background: linear-gradient(120deg, var(--teal), var(--cyan));
}
.chat__note { margin: 0; padding: 12px 18px 16px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); }

/* ───────────── для кого ─────────────
   Узкая полоса сразу под первым экраном: посетитель должен узнать себя
   раньше, чем начнёт читать про боли. Намеренно без карточек и заголовка H2 —
   это уточнение к офферу, а не самостоятельная секция. */
.audience { padding: 0 0 clamp(28px, 4vw, 44px); }
.audience__in {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px;
	padding: 20px 26px; border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--surface);
}
.audience__label {
	margin: 0; flex: none; color: var(--muted);
	font-size: .78rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
}
.audience__list { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 0; }
.audience__list li {
	padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
	background: rgba(255, 255, 255, .04); font-size: .92rem; font-weight: 500;
}

/* ───────────── секции ───────────── */
.sec { padding: clamp(60px, 8vw, 106px) 0; }
.sec--alt { background: linear-gradient(180deg, transparent, var(--bg-2) 12%, var(--bg-2) 88%, transparent); }
.sec__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec__lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

/* ───────────── карточки ───────────── */
.cards { display: grid; gap: 18px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

.card {
	padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--surface);
	transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, .45); background: var(--surface-2); }
.card__ico {
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; margin-bottom: 15px; border-radius: 13px;
	background: rgba(34, 211, 238, .12); color: var(--teal);
}
.card__ico svg {
	width: 23px; height: 23px;
	fill: none; stroke: currentColor; stroke-width: 1.6;
	stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card--feat { padding: 30px 26px; }

/* ───────────── ценность ─────────────
   Намеренно не сетка карточек: подряд идут пять секций с карточками,
   и страница читается монотонно. Крупные строки сбивают ритм. */
.gains { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: g; }
.gain {
	display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
	padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--surface);
	transition: border-color .22s var(--ease), background .22s var(--ease);
}
.gain:hover { border-color: rgba(34, 211, 238, .35); background: var(--surface-2); }
.gain__n {
	/* Фиксированная ширина: у «01» и «02» разная ширина глифов,
	   и без неё заголовки строк разъезжаются по горизонтали. */
	width: 2.1ch; flex: none;
	font-size: 1.5rem; font-weight: 700; line-height: 1;
	background: linear-gradient(120deg, var(--teal), var(--violet));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.gain h3 { font-size: 1.24rem; margin-bottom: .35em; }
.gain p { margin: 0; color: var(--muted); max-width: 76ch; }

/* ───────────── границы ───────────── */
.sec--tight { padding: clamp(40px, 5vw, 64px) 0; }
.limits {
	display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(26px, 4vw, 52px);
	padding: clamp(28px, 3.4vw, 44px); border-radius: var(--radius);
	border: 1px solid rgba(94, 234, 212, .22);
	background: linear-gradient(120deg, rgba(34, 211, 238, .07), rgba(168, 85, 247, .05));
}
.limits__copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.limits__copy p { margin: 0; color: var(--muted); font-size: .98rem; }
.limits__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: center; }
.limits__list li { position: relative; padding-left: 34px; color: var(--text); font-size: 1rem; }
.limits__list li::before {
	content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px;
	border-radius: 50%; background: rgba(148, 178, 220, .1);
	box-shadow: inset 0 0 0 1px rgba(148, 178, 220, .3);
}
/* Косой крест: блок именно про «не делает», галочка тут читалась бы наоборот. */
.limits__list li::after {
	content: ""; position: absolute; left: 6px; top: .62em; width: 8px; height: 8px;
	background:
		linear-gradient(45deg, transparent 43%, var(--muted) 43%, var(--muted) 57%, transparent 57%),
		linear-gradient(-45deg, transparent 43%, var(--muted) 43%, var(--muted) 57%, transparent 57%);
}

/* ───────────── шаги ───────────── */
/* Линия-таймлайн между шагами: показывает, что это последовательность,
   а не ещё одна россыпь независимых карточек. */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps::before {
	content: ""; position: absolute; left: 12%; right: 12%; top: -20px; height: 2px;
	background: linear-gradient(90deg, transparent, rgba(94, 234, 212, .45) 15%,
		rgba(168, 85, 247, .45) 85%, transparent);
}
.step { position: relative; padding: 32px 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step__n {
	position: absolute; top: -20px; left: 26px;
	display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
	border-radius: 13px; font-weight: 700; font-size: 1.05rem; color: #050b14;
	background: linear-gradient(130deg, var(--teal), var(--violet));
	box-shadow: 0 10px 26px -12px rgba(34, 211, 238, .9);
}
.step h3 { margin-top: 8px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ───────────── пульт ───────────── */
.panel { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.checks { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 32px; color: var(--muted); }
.checks li::before {
	content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px;
	border-radius: 50%; background: rgba(94, 234, 212, .14);
	box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .55);
}
.checks li::after {
	content: ""; position: absolute; left: 6px; top: .72em; width: 6px; height: 3px;
	border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
	transform: rotate(-45deg);
}

/* Мокап пульта. Палитра взята из aiadmin/control/static/styles.css:
   светлая тема (paper/surface), тёмно-зелёный сайдбар, лаймовый акцент. */
.shot {
	--s-paper: #f4f6f3; --s-surface: #fff; --s-ink: #15201d; --s-muted: #68736f;
	--s-line: #e3e8e5; --s-forest: #173d32; --s-lime: #c9f36a; --s-danger: #b04444;
	border-radius: var(--radius); overflow: hidden; background: var(--s-paper);
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .95);
	font-size: 13px; line-height: 1.35; color: var(--s-ink);
}
.shot__bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; background: #e8ebe7; }
.shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: #c6ccc6; }
.shot__bar span { margin-left: 12px; font-size: 11px; color: var(--s-muted); }

.shot__app { display: grid; grid-template-columns: 152px 1fr; min-height: 330px; }

/* — сайдбар — */
.shot__side { display: flex; flex-direction: column; gap: 16px; padding: 16px 12px; background: var(--s-forest); color: #fff; }
.shot__brand { display: flex; align-items: center; gap: 9px; }
.shot__brandmark { width: 24px; height: 24px; border-radius: 8px; background: var(--s-lime); flex: none; }
.shot__brand b { display: block; font-size: 13px; }
.shot__brand small { display: block; font-size: 10px; color: rgba(255, 255, 255, .55); }
.shot__nav { display: grid; gap: 3px; }
.shot__nav span { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 9px; font-size: 12px; color: rgba(255, 255, 255, .72); }
.shot__nav i { font-style: normal; width: 13px; text-align: center; }
.shot__nav .is-on { background: var(--s-lime); color: var(--s-forest); font-weight: 700; }
.shot__owner { display: flex; align-items: center; gap: 9px; margin-top: auto; }
.shot__owner b { display: block; font-size: 12px; }
.shot__owner small { display: block; font-size: 10px; color: rgba(255, 255, 255, .55); }

/* — основная часть — */
.shot__main { padding: 16px; display: grid; gap: 13px; align-content: start; }
.shot__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.shot__top em { display: block; font-style: normal; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--s-muted); }
.shot__top b { display: block; font-size: 17px; }
.shot__pick { padding: 6px 11px; border: 1px solid var(--s-line); border-radius: 999px; background: var(--s-surface); font-size: 11px; color: var(--s-muted); }

.shot__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.shot__card { padding: 11px 12px; border: 1px solid var(--s-line); border-radius: 13px; background: var(--s-surface); }
.shot__card em { display: block; font-style: normal; font-size: 10px; color: var(--s-muted); }
.shot__card b { display: block; font-size: 21px; line-height: 1.2; }
.shot__card small { display: block; font-size: 9.5px; color: var(--s-muted); }
.shot__card--accent { background: var(--s-forest); border-color: var(--s-forest); color: #fff; }
.shot__card--accent em, .shot__card--accent small { color: rgba(255, 255, 255, .58); }

.shot__h { margin: 3px 0 0; font-size: 13px; font-weight: 700; }
.shot__h em { display: block; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--s-muted); }

.shot__convs { display: grid; gap: 7px; }
.shot__conv { display: flex; gap: 9px; padding: 9px 11px; border: 1px solid var(--s-line); border-radius: 13px; background: var(--s-surface); }
.shot__ava {
	display: flex; align-items: center; justify-content: center; flex: none;
	width: 27px; height: 27px; border-radius: 50%;
	background: var(--s-lime); color: var(--s-forest); font-size: 11px; font-weight: 700;
}
.shot__ava--light { background: var(--s-lime); }
.shot__conv-copy { display: block; min-width: 0; }
.shot__conv-copy b { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.shot__conv-copy time { font-size: 10px; font-weight: 500; color: var(--s-muted); }
.shot__conv-copy em { display: block; font-style: normal; font-size: 10px; color: var(--s-muted); }
.shot__conv-copy small { display: block; font-size: 11px; color: #45514c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot__conv-copy u {
	text-decoration: none; margin-left: 4px; padding: 1px 6px; border-radius: 999px;
	background: rgba(176, 68, 68, .1); color: var(--s-danger); font-weight: 700;
}
.shot__conv--hot { border-color: rgba(176, 68, 68, .35); }

/* ───────────── интеграции ───────────── */
.integr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 34px; }
.integr__col { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.integr__col h3 { color: var(--muted); font-size: .82rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .04); font-size: .92rem; font-weight: 500; }

.note { padding: 28px 30px; border: 1px solid rgba(94, 234, 212, .28); border-radius: var(--radius); background: linear-gradient(120deg, rgba(34, 211, 238, .08), rgba(168, 85, 247, .06)); }
.note h3 { margin-bottom: .5em; }
.note p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ───────────── FAQ ───────────── */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 15px; background: var(--surface); overflow: hidden; }
.faq summary { padding: 19px 54px 19px 22px; cursor: pointer; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px;
	border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
	transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details[open] summary { color: var(--cyan); }
.faq p { margin: 0; padding: 0 22px 21px; color: var(--muted); font-size: .96rem; }

/* ───────────── CTA ───────────── */
.cta { position: relative; padding: clamp(64px, 9vw, 112px) 0; overflow: hidden; text-align: center; }
.cta__glow {
	position: absolute; inset: auto -10% -40%; height: 560px; pointer-events: none;
	background: radial-gradient(50% 60% at 50% 40%, rgba(34, 211, 238, .26), transparent 70%),
		radial-gradient(40% 50% at 74% 30%, rgba(168, 85, 247, .24), transparent 70%);
	filter: blur(16px);
}
.cta__in { position: relative; }
.cta__in p { color: var(--muted); }

.leadform {
	display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px;
	margin: 30px auto 14px; max-width: 660px; text-align: left;
}
.leadform input {
	padding: 14px 18px; border: 1px solid var(--line); border-radius: 999px;
	background: rgba(255, 255, 255, .05); color: var(--text); font: inherit; font-size: .98rem;
	transition: border-color .18s var(--ease);
}
.leadform input::placeholder { color: #6f7f99; }
.leadform input:focus { border-color: rgba(34, 211, 238, .7); outline: none; }
.leadform input.is-bad { border-color: #f87171; }
.leadform__hint { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: var(--muted); text-align: center; }
.leadform__hint.is-ok { color: var(--teal); }
.leadform__hint.is-bad { color: #f87171; }
.cta__alt { font-size: .93rem; }

/* ───────────── подвал ───────────── */
.foot { border-top: 1px solid var(--line); padding: 44px 0 38px; background: var(--bg-2); }
@media (max-width: 720px) { .foot { padding-bottom: 96px; } /* место под липкую кнопку */ }
.foot__in { display: grid; gap: 22px; }
.foot__brand { display: flex; align-items: center; gap: 12px; }
.foot__brand b { display: block; }
.foot__brand span { font-size: .88rem; color: var(--muted); }
.foot__links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.foot__links a { color: var(--muted); font-size: .93rem; }
.foot__links a:hover { color: var(--text); text-decoration: none; }
.foot__legal { margin: 0; font-size: .82rem; color: #6f7f99; }
.foot__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.foot__cta p { margin: 0; font-size: 1.05rem; font-weight: 600; }

/* ───────────── липкая кнопка на мобильном ─────────────
   Страница длинная: без неё целевое действие видно только в двух местах
   из десяти экранов прокрутки. */
.sticky-cta {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
	display: none; gap: 10px; align-items: center;
	padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
	background: rgba(7, 10, 18, .93); backdrop-filter: blur(14px);
	border-top: 1px solid var(--line);
	transform: translateY(110%); transition: transform .28s var(--ease);
}
.sticky-cta.is-on { transform: none; }
.sticky-cta .btn { flex: 1; }
@media (max-width: 720px) { .sticky-cta { display: flex; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ───────────── появление при скролле ───────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ───────────── адаптив ───────────── */
@media (max-width: 1040px) {
	.cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 940px) {
	.nav__links, .nav__cta { display: none; }
	.burger { display: flex; margin-left: auto; }
	.mobile { display: flex; }
	.mobile[hidden] { display: none; }
	.hero__in, .panel { grid-template-columns: 1fr; }
	.hero__copy { max-width: none; }
	/* На узком экране сначала оффер и кнопка, маскот — следом:
	   иначе первый экран занимает одна картинка. Нахлёст здесь не нужен —
	   возвращаем обычный поток, иначе чат ляжет поверх фото на узкой колонке. */
	.hero__art {
		position: static; width: 100%; justify-self: stretch;
		display: grid; justify-items: center; gap: 20px;
	}
	.mascot { width: min(64%, 260px); margin: 0; }
	.chat { position: static; width: min(100%, 420px); margin-inline: auto; }
	.cards--3, .steps, .integr { grid-template-columns: 1fr; }
	.step { padding-top: 34px; }
	.steps::before { display: none; }
	.limits { grid-template-columns: 1fr; }
	.gain { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 620px) {
	body { font-size: 16px; }
	.cards--4 { grid-template-columns: 1fr; }
	.leadform { grid-template-columns: 1fr; }
	.leadform .btn { width: 100%; }
	/* .mascot сюда не добавлять: ширину ему задаёт правило в блоке 940px,
	   иначе портрет растягивается на весь экран и съедает первый экран. */
	.chat { width: 100%; }
}
