/*
 * Лендинг Navex — «Туман» (этап 116 прогона 106–116, docs/23_TUMAN.md).
 * Оформление: холст с сеткой точек (tokens.css), слои «холст → панель → карточка» без рамок, всё на таблетках и сквирклах,
 * кислотный акцент только на главной кнопке, один гель-герой на экран (как промо-панель входа, auth.html), цифры-табло Doto
 * у одного показателя. Шапка — стеклянная капсула. Скриншотов в коде нет — только CSS-анимации (решение владельца, этап 24).
 * Файл самостоятельный: подключается после tokens.css и mist.css (гель, 3D, иконки), app.css лендинг не грузит.
 * prefers-reduced-motion уважается глобально в tokens.css. Золотое правило: цвета и радиусы — из токенов.
 */

body { color: var(--ink); overflow-x: clip; }
.container { max-width: 1232px; margin: 0 auto; padding: 0 32px; }
section { padding: 72px 0; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
a { color: inherit; }

/* ===== Заголовки секций ===== */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--ink-soft); font: 600 12px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 1px rgb(22 22 22 / .18); }
.section-title { margin: 0 0 14px; font: 300 clamp(30px, 3.6vw, 44px)/1.1 var(--font-display); letter-spacing: -.03em; text-wrap: balance; }
.section-lead { max-width: 620px; margin: 0 auto; color: var(--ink-soft); font-size: 17px; line-height: 1.55; }
.section-head--center { display: flex; flex-direction: column; align-items: center; margin: 0 auto 48px; text-align: center; }

/* ===== Кнопки: пилюли, нажатие scale .97, одна лаймовая на экран ===== */
.btn-lg {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--control-h-lg); padding: 0 26px;
    border: 1px solid transparent; border-radius: var(--rounded-pill); font: 600 15px/1.2 var(--font-text); white-space: nowrap; cursor: pointer;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
    transition: scale 160ms var(--ease), background-color var(--fast) var(--ease-hover), border-color var(--fast) var(--ease-hover), box-shadow var(--fast) var(--ease-hover);
}
.btn-lg:active { scale: var(--press-scale); transition-duration: var(--instant); }
.btn-lg svg { width: 20px; height: 20px; }
.btn-primary-lg { color: var(--on-primary); background: var(--primary); border-color: rgb(22 22 22 / .1); box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), 0 6px 16px -8px rgb(120 140 0 / .55); }
.btn-primary-lg:hover { background: var(--primary-hover); }
.btn-outline-lg { color: var(--ink); background: var(--surface-raised); border-color: var(--line); box-shadow: var(--shadow-1); }
.btn-outline-lg:hover { border-color: var(--line-strong); }
.btn-dark-lg { color: var(--ink-inverse); background: var(--ink); }
.btn-dark-lg:hover { background: color-mix(in srgb, var(--ink) 86%, var(--ink-inverse)); }
.btn-whatsapp { color: var(--ink-inverse); background: var(--ink); }
.btn-whatsapp:hover { background: color-mix(in srgb, var(--ink) 86%, var(--ink-inverse)); }
a.btn-lg:focus-visible, button.btn-lg:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

/* ===== Логотип Navex (10.10.2026): векторные файлы public/images — знак и слово Gilroy в кривых; высоту задаёт --logo-h ===== */
.brand-logo { display: block; flex: none; height: var(--logo-h, 28px); width: auto; max-width: none; }
.brand-mark, .brand-word { display: block; flex: none; line-height: 0; }
.brand-mark img, .brand-word img { display: block; height: var(--logo-h, 28px); width: auto; max-width: none; }
.l-header__brand .brand-logo { --logo-h: 30px; }

/* ===== Шапка — стеклянная капсула, прилипает к верху ===== */
.l-header { position: sticky; top: 0; z-index: 50; padding: 12px 16px 0; pointer-events: none; }
.l-header__bar {
    pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    max-width: 1200px; margin: 0 auto; min-height: var(--topbar-h); padding: 8px 10px 8px 22px;
    border-radius: var(--rounded-pill); background: var(--glass-fill-strong);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4); backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
    box-shadow: var(--glass-edge), var(--shadow-1);
}
.l-header__brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.l-header__nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.l-header__links { display: flex; align-items: center; gap: 4px; }
.l-header__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--rounded-pill); color: var(--ink-soft); font: 500 14px/1 var(--font-text); transition: background-color var(--fast) var(--ease-hover), color var(--fast) var(--ease-hover); }
.l-header__links a:hover { color: var(--ink); background: var(--surface-subtle); }
.l-header__actions { display: flex; align-items: center; gap: 8px; }
.l-header__actions .btn-lg { min-height: 44px; padding: 0 20px; font-size: 14px; }
/* Доработка 138: «Войти» гостя рядом с бургером на телефоне (как в макете, .ln-act) — на ПК вход в навигации */
.l-header__login { display: none; }
.l-header__burger { display: none; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--surface); align-items: center; justify-content: center; }
.l-header__burger span, .l-header__burger span::before, .l-header__burger span::after { content: ''; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.l-header__burger span::before { position: absolute; top: -6px; }
.l-header__burger span::after { position: absolute; top: 6px; }
.l-mobile-nav {
    display: none; position: fixed; z-index: 49; top: calc(var(--topbar-h) + 24px); left: 16px; right: 16px; max-height: calc(100dvh - var(--topbar-h) - 40px); overflow: auto;
    flex-direction: column; gap: 4px; padding: 12px; border-radius: var(--rounded-lg); background: var(--surface-raised);
    box-shadow: var(--hl-top), var(--shadow-float), 0 0 0 1px var(--line);
}
.l-mobile-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: var(--rounded-pill); color: var(--ink); font: 500 15px/1.2 var(--font-text); }
.l-mobile-nav a:hover { background: var(--surface); }
.l-mobile-nav .btn-lg { margin-top: 8px; justify-content: center; }
.l-mobile-nav a.btn-primary-lg { color: var(--on-primary); }
body.l-menu-open .l-mobile-nav { display: flex; animation: l-pop-in var(--normal) var(--ease) both; }
body.l-menu-open .l-header__burger span { transform: rotate(45deg); }
body.l-menu-open .l-header__burger span::before { transform: rotate(90deg); top: 0; }
body.l-menu-open .l-header__burger span::after { opacity: 0; }
@keyframes l-pop-in { from { opacity: 0; translate: 0 -8px; } }

/* ===== Этап 117: шапка вошедшего — «пилюля» с аватаром и именем + «Открыть Navex» (SPEC §6.1, landing-ux.css .ln-me) ===== */
.l-header__me { display: flex; align-items: center; gap: 8px; margin-left: 16px; }
.l-header__me .btn-lg { min-height: 44px; padding: 0 20px; font-size: 14px; }
.l-me { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px 0 6px; border-radius: var(--rounded-pill); background: rgb(255 255 255 / .7); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 500 14px/1 var(--font-text); text-decoration: none; transition: background-color var(--fast) var(--ease-hover); }
.l-me:hover { background: var(--surface-raised); }
.l-me:focus-visible, .l-link:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.l-me__avatar { flex: none; }
.l-welcome { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 10px 14px 10px 10px; border-radius: var(--rounded-md); background: rgb(255 255 255 / .75); box-shadow: inset 0 0 0 1px var(--line); font: 400 14px/1.4 var(--font-text); }
.l-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
/* Этап 131 (28_RUN4 §1 п.8): «открыть» в строке «Вы вошли как…» — цель не меньше 44 × 44 px на любом экране.
   Доработка 138: цель расширена прозрачным псевдоэлементом, а не высотой строки — текст идёт обычными строками, без зазора на 390. */
.l-welcome .l-link { position: relative; display: inline; padding: 0; }
.l-welcome .l-link::after { content: ''; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: 44px; transform: translate(-50%, -50%); }

/* ===== Hero: текст слева, гель-герой справа (как промо-панель входа) ===== */
.l-hero { position: relative; padding: 40px 0 72px; }
.l-hero__grid { display: grid; align-items: center; }
.l-hero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.l-hero__pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 10px; border-radius: var(--rounded-pill); background: var(--primary-soft); color: var(--primary-ink); font: 600 13px/1 var(--font-text); }
.l-hero__pill svg { width: 16px; height: 16px; }
.l-hero__pill--gift { background: var(--surface-raised); box-shadow: inset 0 0 0 1px rgb(144 210 61 / .6); color: var(--ink); }
.l-hero__title { font: 300 clamp(32px, 3.2vw, 46px)/1.08 var(--font-display); letter-spacing: -.035em; text-wrap: balance; }
.l-hero__title .accent { background: linear-gradient(180deg, transparent 64%, var(--primary) 64%, var(--primary) 94%, transparent 94%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .08em; }
.l-hero__subtitle { max-width: 520px; margin-top: 22px; color: var(--ink-soft); font-size: 18px; line-height: 1.55; }
.l-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.l-hero__note { margin-top: 14px; color: var(--ink-soft); font-size: 13px; }
.l-hero__channels { display: flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--ink-soft); font-size: 13px; }
.l-hero__channels svg { width: 20px; height: 20px; }

/* --- Первый экран «Телефон в руке» (13.10.2026, макет landing-r12.css): чат WhatsApp в форме телефона + 4 карточки CRM --- */
.l-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 576px); gap: 48px; }
.l-stage { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 216px); gap: 20px; align-items: stretch; width: 100%; max-width: 576px; min-width: 0; justify-self: end; }
.l-stage::before { content: ""; position: absolute; z-index: -1; inset: -7% -5%; pointer-events: none;
    background: radial-gradient(40% 42% at 34% 38%, rgb(227 244 80 / .55), transparent 72%), radial-gradient(32% 34% at 62% 72%, rgb(225 105 145 / .26), transparent 72%), radial-gradient(26% 28% at 78% 20%, rgb(227 244 80 / .3), transparent 72%); }
.l-chat { display: flex; min-width: 0; min-height: 620px; }
.l-cards { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-width: 0; }
.l-cards__cap { margin: 0; color: var(--ink-soft); font: 600 12px/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; }

/* --- Чат в стиле WhatsApp (.wa): glass — первый экран, phone — в рамке iPhone (ниши), bare — «Как работает» --- */
.wa {
    --wa-out: #D9FDD3; --wa-in: #fff; --wa-text: #111B21; --wa-meta: #667781; --wa-tick: #53BDEB; --wa-head: #F0F2F5; --wa-bg: #EFE7DE; --wa-accent: #00A884;
    --wa-wall: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23111B21' stroke-opacity='.075' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='28' cy='30' r='9'/%3E%3Cpath d='M92 20l6 12 13 2-9.500 9 2.300 13-11.800-6.200-11.800 6.200 2.300-13-9.500-9 13-2z'/%3E%3Cpath d='M150 26c0-8 12-8 12 0 0 7-12 14-12 14s-12-7-12-14c0-8 12-8 12 0z'/%3E%3Cpath d='M30 96h26a6 6 0 0 1 6 6v12a6 6 0 0 1-6 6H44l-8 8v-8h-6a6 6 0 0 1-6-6v-12a6 6 0 0 1 6-6z'/%3E%3Cpath d='M100 100l12 12M112 100l-12 12'/%3E%3Ccircle cx='152' cy='108' r='4'/%3E%3Cpath d='M70 152q10-14 20 0t20 0'/%3E%3Cpath d='M20 162h20M30 152v20'/%3E%3C/g%3E%3C/svg%3E");
    display: flex; flex-direction: column; width: 100%; height: 100%; min-width: 0; background: var(--wa-bg); color: var(--wa-text);
    font: 400 14px/1.4 var(--font-text); overflow: hidden; text-align: left;
}
.wa .nx-icon { width: 20px; height: 20px; flex: none; }
.wa__status { display: none; flex: none; align-items: center; justify-content: space-between; height: 46px; padding: 14px 26px 0 28px; background: var(--wa-head); color: #111B21; font: 600 14px/1 var(--font-text); }
.wa--phone .wa__status { display: flex; }
.wa--phone .wa__tools > :first-child { display: none; }
.wa__sys { display: inline-flex; align-items: center; gap: 6px; }
.wa__status svg { display: block; }
.wa__head { display: flex; align-items: center; gap: 10px; flex: none; padding: 10px 12px; background: var(--wa-head); box-shadow: 0 1px 0 rgb(17 27 33 / .08); }
.wa__back { display: inline-flex; flex: none; margin-right: -4px; color: #54656F; }
.wa__ava { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px rgb(17 27 33 / .1); }
.wa__ava img { display: block; width: 24px; height: 24px; }
.wa__who { min-width: 0; }
.wa__who strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 15px/1.25 var(--font-text); }
.wa__who span { display: block; color: var(--wa-meta); font: 400 12px/1.25 var(--font-text); }
.wa__who span.is-typing { color: var(--success); font-weight: 500; }
.wa__tools { display: flex; align-items: center; gap: 14px; margin-left: auto; color: #54656F; }
.wa__body { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 12px 12px 10px; overflow: hidden; background: var(--wa-bg) var(--wa-wall); }
.wa__body.is-leaving > * { opacity: 0; transition: opacity .5s var(--ease); }
.wa__day { align-self: center; flex: none; margin-bottom: 4px; padding: 5px 12px; border-radius: 8px; background: rgb(255 255 255 / .92); color: #54656F; font: 500 12px/1.2 var(--font-text); box-shadow: 0 1px .5px rgb(11 20 26 / .1); }
.wa-m { position: relative; flex: none; max-width: 84%; padding: 6px 9px 6px 10px; border-radius: 10px; font-size: 14px; line-height: 1.4; box-shadow: 0 1px .5px rgb(11 20 26 / .13); }
.wa-m.is-new { animation: wa-in .3s var(--ease) both; }
.wa-m::before { content: ""; position: absolute; top: 0; width: 9px; height: 13px; background: inherit; }
.wa-m--out { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 2px; }
.wa-m--out::before { right: -8px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.wa-m--in { align-self: flex-start; background: var(--wa-in); border-top-left-radius: 2px; }
.wa-m--in::before { left: -8px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.wa-m__t { display: inline; overflow-wrap: anywhere; }
.wa-m__meta { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 8px 0 -3px 10px; color: var(--wa-meta); font: 400 12px/1 var(--font-text); }
.wa-m__meta time { font-variant-numeric: tabular-nums; }
.wa-tick { display: block; width: 16px; height: 11px; color: var(--wa-meta); }
.wa-m.is-read .wa-tick { color: var(--wa-tick); }
.wa-typing { align-self: flex-start; flex: none; display: flex; align-items: center; gap: 4px; padding: 12px 14px; border-radius: 10px; border-top-left-radius: 2px; background: var(--wa-in); box-shadow: 0 1px .5px rgb(11 20 26 / .13); animation: wa-in .25s var(--ease) both; }
.wa-typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696A0; animation: wa-dot 1s ease-in-out infinite; }
.wa-typing i:nth-child(2) { animation-delay: .15s; }
.wa-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes wa-in { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes wa-dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.wa__foot { display: flex; align-items: center; gap: 8px; flex: none; padding: 8px 10px; background: var(--wa-head); }
.wa__input { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 20px; background: #fff; color: var(--wa-meta); font-size: 14px; }
.wa__input .nx-icon { color: #54656F; }
.wa__input span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa__mic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--wa-accent); color: #fff; }
.wa--bare .wa__body { border-radius: var(--rounded-md); }

/* крупный «стеклянный» чат первого экрана — силуэт телефона (~340–370 px, высота ≈ 2× ширины), без рамки iPhone */
.wa--glass {
    --wa-bg: rgb(236 229 220 / .5); --wa-head: rgb(255 255 255 / .78);
    border-radius: 40px; background: rgb(255 255 255 / .5); font-size: 16px;
    -webkit-backdrop-filter: blur(28px) saturate(1.5); backdrop-filter: blur(28px) saturate(1.5);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .95), inset 0 0 0 1px rgb(255 255 255 / .8), 0 2px 6px rgb(22 22 22 / .05), 0 28px 56px -24px rgb(22 22 22 / .3), 0 70px 100px -50px rgb(70 110 20 / .4);
}
.wa--glass .wa__head { gap: 8px; padding: 16px 22px; box-shadow: 0 1px 0 rgb(17 27 33 / .07); }
.wa--glass .wa__ava { width: 48px; height: 48px; box-shadow: inset 0 0 0 1px rgb(120 140 0 / .45); }
.wa--glass .wa__ava img { width: 28px; height: 28px; }
.wa--glass .wa__who strong { font-size: 14px; letter-spacing: -.01em; }
.wa--glass .wa__who span { font-size: 13px; }
.wa--glass .wa__body { gap: 10px; padding: 22px 20px 20px; }
.wa--glass .wa__day { padding: 6px 14px; font-size: 13px; }
.wa--glass .wa-m { max-width: 82%; padding: 9px 12px 8px 14px; border-radius: 16px; font-size: 15px; line-height: 1.42; }
.wa--glass .wa-m--out { border-top-right-radius: 4px; }
.wa--glass .wa-m--in { border-top-left-radius: 4px; }
.wa--glass .wa-typing { padding: 14px 16px; border-radius: 16px; border-top-left-radius: 4px; }
.wa--glass .wa__foot { gap: 10px; padding: 12px 16px 14px; }
.wa--glass .wa__input { height: 48px; border-radius: 24px; padding: 0 16px; font-size: 15px; }
.wa--glass .wa__mic { width: 48px; height: 48px; }
.wa--glass .wa__tools .nx-icon, .wa--glass .wa__back .nx-icon { width: 22px; height: 22px; }

/* --- Карточки CRM: место занято (пунктир), карточка появляется на своём шаге диалога (transform + opacity) --- */
.fc { position: relative; flex: none; min-width: 0; }
.l-anim .fc::before { content: ""; position: absolute; inset: 0; border-radius: 22px; border: 1.5px dashed rgb(22 22 22 / .16); transition: opacity .35s var(--ease); }
.l-anim .fc.is-in::before { opacity: 0; }
.fc::after { content: ""; position: absolute; right: 100%; top: 30px; width: 20px; height: 2px; border-radius: 1px; background: linear-gradient(90deg, rgb(227 244 80 / 0), var(--primary-pressed)); }
.l-anim .fc::after { opacity: 0; transition: opacity .4s var(--ease) .2s; }
.l-anim .fc.is-in::after { opacity: 1; }
.fc__in { position: relative; padding: 14px 16px; border-radius: 22px; background: rgb(255 255 255 / .94); color: var(--ink);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 0 0 1px rgb(255 255 255 / .7), 0 18px 34px -18px rgb(22 22 22 / .4); transform-origin: 0 30%; }
.l-anim .fc__in { opacity: 0; translate: -36px 0; scale: .92;
    transition: opacity .35s var(--ease), translate .65s cubic-bezier(.2, 1.15, .3, 1), scale .65s cubic-bezier(.2, 1.2, .3, 1); }
.l-anim .fc.is-in .fc__in { opacity: 1; translate: 0 0; scale: 1; }
.fc__tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; margin-bottom: 10px; padding: 0 10px; border-radius: var(--rounded-pill); background: var(--primary-soft); color: var(--primary-ink); font: 600 12px/1 var(--font-text); }
.fc__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-pressed); box-shadow: 0 0 0 1px rgb(22 22 22 / .15); }
.fc__tag--booked { background: color-mix(in srgb, var(--stage-booked) 14%, #fff); color: var(--ink); }
.fc__tag--booked::before { background: var(--stage-booked); box-shadow: none; }
.fc__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.fc__row strong { font: 600 14px/1.3 var(--font-text); }
.fc__amount { color: var(--ink-soft); font: 500 12px/1 var(--font-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fc__sub { margin-top: 4px; color: var(--ink-soft); font-size: 13px; line-height: 1.4; }
.fc__hot { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font: 500 12px/1 var(--font-text); color: var(--ink-soft); }
.fc__hot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--stage-lost); }
.fc__cap { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; color: var(--ink-soft); font: 600 12px/1.2 var(--font-text); }
.fc__cap .nx-icon { width: 16px; height: 16px; flex: none; }
.fc__appt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--surface); }
.fc__appt + .fc__appt { margin-top: 6px; }
.fc__appt time { grid-row: 1 / 3; padding: 5px 7px; border-radius: 8px; background: color-mix(in srgb, var(--appt-booked) 16%, #fff); font: 600 13px/1 var(--font-text); font-variant-numeric: tabular-nums; }
.fc__appt b, .fc__appt span { min-width: 0; overflow-wrap: anywhere; }
.fc__appt b { font: 600 13px/1.25 var(--font-text); }
.fc__appt span { color: var(--ink-soft); font: 400 12px/1.25 var(--font-text); }
.fc__slot { position: relative; padding: 2px 0 2px 16px; }
.fc__slot + .fc__slot { margin-top: 10px; }
.fc__slot::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 2px; background: var(--ink-faint); opacity: .45; }
.fc__slot--new::before { background: var(--appt-confirmed); opacity: 1; }
.fc__slot time { display: block; font: 600 14px/1.3 var(--font-text); font-variant-numeric: tabular-nums; }
.fc__slot span { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 13px; line-height: 1.35; }
.fc__slot time span { margin-top: 0; color: inherit; font: inherit; }
.fc__slot time .fc__free { color: var(--success); font-weight: 600; }
.fc [data-bk] { display: none; }
.fc.is-booked [data-bk] { display: block; }
.fc.is-booked [data-fr] { display: none; }
.fc--ai .fc__in { border-radius: 22px 22px 22px 8px; background: var(--ai-soft); }
.fc__who { display: block; margin-bottom: 4px; color: var(--ai); font: 600 12px/1.3 var(--font-text); }
.fc--ai p { font-size: 13px; line-height: 1.5; }

/* ===== Появление блоков при прокрутке (landing.js добавляет .is-visible) ===== */
.l-reveal { opacity: 0; translate: 0 18px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.l-reveal.is-visible { opacity: 1; translate: 0 0; }

/* ===== Панели-слои: холст → панель (--surface) → карточка (--surface-raised) ===== */
.l-panel { padding: 64px 48px; border-radius: var(--rounded-xl); background: var(--surface); box-shadow: var(--hl-top), var(--shadow-1); }
.l-panel .section-head--center { margin-bottom: 40px; }

/* ===== «Знакомо?» — четыре боли ===== */
.l-pains { padding: 24px 0 72px; }
.l-pain-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.l-pain-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--rounded-lg); background: var(--surface-raised); box-shadow: var(--hl-top), var(--shadow-1); }
.l-pain-card__icon { --g1: #E16991; --g2: #F0C3D7; position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 15px; color: var(--ink); background: radial-gradient(90% 90% at 50% 75%, var(--g1), var(--g2)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .45), inset 0 0 10px 2px rgb(255 255 255 / .35); }
.l-pain-card__icon svg { width: 22px; height: 22px; }
.l-pain-card h3 { font: 500 18px/1.25 var(--font-display); letter-spacing: -.01em; }
.l-pain-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

/* ===== Один и тот же ИИ: переключатель ниш + телефон (рамка iPhone) ===== */
.l-niche-switch { display: inline-flex; gap: 2px; max-width: 100%; padding: 4px; margin: 0 auto 40px; border-radius: var(--rounded-pill); background: var(--surface-sunken); }
.l-niche-switch__btn { flex: 0 0 auto; min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--rounded-pill); background: transparent; color: var(--ink-soft); font: 500 14px/1 var(--font-text); cursor: pointer; transition: background-color var(--fast) var(--ease-hover), color var(--fast) var(--ease-hover), box-shadow var(--fast) var(--ease-hover); }
.l-niche-switch__btn.is-active { background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-1); }
.l-niche-switch__btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.l-phone-wrap { display: flex; justify-content: center; }
.l-iphone { position: relative; flex: none; width: 280px; height: 572px; padding: 10px; border-radius: 54px; background: #131415; box-shadow: inset 0 0 0 2px #46484A, var(--shadow-float); }
.l-iphone[hidden] { display: none; }
.l-iphone::before, .l-iphone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2A2C2D; }
.l-iphone::before { left: -3px; top: 120px; height: 56px; }
.l-iphone::after { right: -3px; top: 160px; height: 78px; }
.l-iphone__screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: #fff; }
.l-iphone__island { position: absolute; z-index: 3; top: 10px; left: 50%; translate: -50% 0; width: 84px; height: 24px; border-radius: 99px; background: #000; }
.l-iphone__home { position: absolute; z-index: 3; left: 50%; bottom: 7px; translate: -50% 0; width: 104px; height: 4px; border-radius: 2px; background: #111B21; opacity: .85; }
.wa--phone .wa__foot { padding-bottom: 22px; }

/* ===== Три сцены «как это работает» ===== */
.l-scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.l-scene-card { display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 24px; border-radius: var(--rounded-lg); background: var(--surface-raised); box-shadow: var(--hl-top), var(--shadow-1); }
.l-scene-card h3 { padding: 8px 12px 0; font: 500 19px/1.25 var(--font-display); letter-spacing: -.01em; }
.l-scene-card p { padding: 0 12px; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.scene-frame { height: 290px; padding: 18px; margin-bottom: 8px; border-radius: var(--rounded-md); background: var(--surface); overflow: hidden; }
.scene-frame--chat { padding: 0; }
/* бесконечные CSS-анимации сцен идут, только пока карточка на экране (.is-visible ставит landing.js) */
.l-scene-card:not(.is-visible) :is(.kanban-scene__card, .cal-scene__slot--target, .cal-scene__appt, .cal-scene__badge, .cal-scene__slot--target::after) { animation-play-state: paused; }

/* --- Сцена: доска (transform + opacity) --- */
.kanban-scene { position: relative; }
.kanban-scene__cols { display: flex; gap: 10px; }
.kanban-scene__col { flex: 1; min-width: 0; }
.kanban-scene__col-title { margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-soft); font: 600 12px/1.3 var(--font-text); letter-spacing: 0; text-transform: uppercase; }
.kanban-scene__track { height: 190px; border-radius: var(--rounded-sm); background: var(--surface-subtle); }
.kanban-scene__card { position: absolute; top: 49px; left: 18px; width: calc((100% - 56px) / 3); padding: 10px; border-radius: var(--rounded-xs); background: var(--surface-raised); box-shadow: var(--shadow-2); opacity: 0; animation: kanban-appear 12s ease-in-out infinite; }
.kanban-scene__card b { display: block; font: 600 12px/1.3 var(--font-text); }
.kanban-scene__card span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 12px; }
.kanban-scene__card em { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; color: var(--ink-soft); font: 500 12px/1 var(--font-text); font-style: normal; }
.kanban-scene__card em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--stage-lost); }
@keyframes kanban-appear {
    0%, 3% { opacity: 0; transform: translateX(0) scale(.92); }
    4%, 37% { opacity: 1; transform: none; }
    46%, 66% { opacity: 1; transform: translateX(calc(100% + 10px)); }
    75%, 96% { opacity: 1; transform: translateX(calc(200% + 20px)); }
    100% { opacity: 0; transform: translateX(calc(200% + 20px)) scale(.92); }
}

/* --- Сцена: календарь (подсветка слота — через opacity накладки, не через фон) --- */
.cal-scene__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cal-scene__day { margin-bottom: 6px; color: var(--ink-soft); font: 500 12px/1 var(--font-text); text-align: center; }
.cal-scene__slot { position: relative; height: 34px; margin-bottom: 6px; border-radius: 10px; background: var(--surface-subtle); }
.cal-scene__slot--target::after { content: ""; position: absolute; inset: 0; border-radius: 10px; background: var(--primary-soft); opacity: 0; animation: cal-highlight 12s ease-in-out infinite; }
@keyframes cal-highlight { 0%, 16% { opacity: 0; } 20%, 96% { opacity: 1; } 100% { opacity: 0; } }
.cal-scene__appt { position: absolute; z-index: 1; inset: -1px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--appt-confirmed); color: var(--ink-inverse); font: 600 12px/1 var(--font-text); font-variant-numeric: tabular-nums; opacity: 0; animation: cal-appt 12s ease-in-out infinite; }
@keyframes cal-appt { 0%, 33% { opacity: 0; transform: scale(.85); } 38%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.cal-scene__badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--success); font: 600 13px/1 var(--font-text); opacity: 0; animation: cal-badge 12s ease-in-out infinite; }
.cal-scene__badge svg { width: 18px; height: 18px; }
@keyframes cal-badge { 0%, 46% { opacity: 0; } 50%, 96% { opacity: 1; } 100% { opacity: 0; } }

/* ===== Цифры: один гель-герой с табло Doto + три плитки ===== */
.l-metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.l-metric-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 180px; padding: 24px; border-radius: var(--rounded-lg); }
.l-metric-card:not(.mz-gel) { background: var(--surface-raised); box-shadow: var(--hl-top), var(--shadow-1); }
.l-metric-card__value { font: 250 52px/1 var(--font-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--ink); }
.l-metric-card__label { color: var(--ink-soft); font-size: 14px; line-height: 1.4; }
.l-metric-card--hero.mz-gel { min-height: 180px; padding: 24px; border-radius: var(--rounded-lg); }
.l-metric-card--hero .l-metric-card__value { font: 700 76px/.95 var(--font-dot); letter-spacing: .02em; color: var(--ink); }
.l-metric-card--hero .l-metric-card__label { color: var(--ink); opacity: .82; }

/* ===== Для кого ===== */
.l-chip-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.l-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: var(--rounded-pill); background: var(--surface-raised); color: var(--ink); font: 500 15px/1 var(--font-text); box-shadow: var(--hl-top), var(--shadow-1); }

/* ===== Каналы ===== */
.l-channel-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 880px; margin: 0 auto; }
.l-channel { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 20px; border-radius: var(--rounded-lg); background: var(--surface-raised); box-shadow: var(--hl-top), var(--shadow-1); font: 500 16px/1.3 var(--font-text); }
.l-channel__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: var(--rounded-sm); background: var(--surface); }
.l-channel__icon svg { width: 28px; height: 28px; }
.l-channel > span:last-child { min-width: 0; }
.l-channel .text-xs { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 13px; font-weight: 400; }

/* ===== Как начать ===== */
.l-steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.l-step { position: relative; padding: 24px; border-radius: var(--rounded-lg); background: var(--surface-raised); box-shadow: var(--hl-top), var(--shadow-1); }
.l-step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font: 500 16px/1 var(--font-display); font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px rgb(22 22 22 / .1); }
.l-step h3 { margin-bottom: 8px; font: 500 17px/1.3 var(--font-display); letter-spacing: -.01em; }
.l-step p { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }

/* ===== Цены и услуги: «каждую услугу можно купить отдельно» + мини-калькулятор (макет landing-r12.css) ===== */
.l-svc__h { margin: 0 0 14px; color: var(--ink-soft); font: 600 12px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; }
.l-svcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.l-svc { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 22px; border-radius: var(--rounded-lg); background: var(--surface-raised); box-shadow: var(--hl-top), var(--shadow-1); }
.l-svc__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.l-svc__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--surface-subtle); }
.l-svc__ico .nx-icon, .l-perk__ico .nx-icon { width: 22px; height: 22px; }
.l-svc__tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: var(--rounded-pill); background: var(--surface-subtle); color: var(--ink-soft); font: 600 12px/1 var(--font-text); white-space: nowrap; }
.l-svc h3 { font: 500 19px/1.25 var(--font-display); letter-spacing: -.01em; }
.l-svc__p { margin: 2px 0 4px; font: 300 clamp(30px, 2.6vw, 38px)/1.1 var(--font-display); letter-spacing: -.03em; white-space: nowrap; }
.l-svc__p small { margin-left: 4px; color: var(--ink-soft); font: 400 14px/1 var(--font-text); letter-spacing: 0; }
.l-svc > p { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.l-svc .l-ask { margin-top: auto; }
.l-svc__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.l-svc__chips span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: var(--rounded-pill); background: var(--surface-subtle); font: 500 13px/1 var(--font-text); }
.l-svc--main { background: linear-gradient(180deg, var(--primary-faint), var(--surface-raised) 60%); box-shadow: inset 0 0 0 1.5px var(--ink), var(--shadow-2); }
.l-svc--main .l-svc__ico, .l-svc--main .l-svc__tag { background: var(--primary); color: var(--on-primary); }
.l-svc__solo { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; min-height: 36px; margin-top: auto; padding: 0 14px 0 10px; border-radius: var(--rounded-pill); background: var(--primary-soft); color: var(--primary-ink); font: 600 13px/1.2 var(--font-text); }
.l-svc__solo .nx-icon { width: 16px; height: 16px; }
.l-svc--ask, .l-svc--disc { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.l-svc--ask .l-svc__p { padding-top: 6px; font-size: 26px; }
.l-svc--disc .l-disc { margin: 2px 0 4px; }
.l-ask { display: flex; align-items: center; min-height: 44px; color: var(--ink-soft); font: 400 13px/1.4 var(--font-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(22 22 22 / .3); }
.l-ask:hover { color: var(--ink); }
.l-ask--row { flex: 1; }
.l-checks { display: grid; gap: 10px; margin: 10px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line); }
.l-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; }
.l-checks .nx-icon { width: 18px; height: 18px; flex: none; margin-top: 1px; padding: 2px; box-sizing: content-box; border-radius: 50%; background: #fff; color: var(--primary-ink); }
.l-disc { display: flex; flex-wrap: wrap; gap: 8px; }
.l-disc span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--rounded-pill); background: var(--surface-raised); font: 500 14px/1 var(--font-text); }
.l-disc b { color: var(--success); font-weight: 600; }
.l-perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.l-perk { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; border-radius: var(--rounded-lg); background: var(--surface-raised); box-shadow: var(--hl-top), var(--shadow-1); }
.l-perk__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--surface-subtle); }
.l-perk h3 { margin: 0 0 6px; font: 600 15px/1.35 var(--font-text); }
.l-perk p { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.l-perk--trial { background: var(--primary-faint); box-shadow: var(--hl-top), inset 0 0 0 1px var(--line); }
.l-perk--trial .l-perk__ico { background: var(--primary); color: var(--on-primary); }
.l-pricing__fine { margin-top: 16px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; text-align: center; }
.l-pricing__cta { display: flex; justify-content: center; margin-top: 20px; }
.l-pricing__cta .nx-icon { transition: rotate var(--fast) var(--ease); }
.l-pricing__cta [aria-expanded="true"] .nx-icon { rotate: 180deg; }
.l-pricing__main { display: flex; justify-content: center; margin-top: 12px; }
.l-js-only { display: none; }
.l-js .l-js-only { display: inline-flex; }

.l-calc { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 16px; align-items: start; animation: l-calc-in .35s var(--ease) both; }
.l-calc[hidden] { display: none; }
@keyframes l-calc-in { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }
.l-calc__ctl { display: grid; padding: 8px 24px; border-radius: var(--rounded-xl); background: var(--surface-raised); box-shadow: var(--hl-top), var(--shadow-1); }
.l-calc__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.l-calc__row + .l-calc__row { border-top: 1px solid var(--line); }
.l-calc__row--col { flex-direction: column; align-items: stretch; gap: 12px; }
.l-calc__row--tap { min-height: 44px; cursor: pointer; }
.l-calc__lbl { flex: 1 1 0; min-width: 0; }
.l-calc__lbl h3 { font: 600 15px/1.3 var(--font-text); }
.l-calc__lbl p { margin-top: 2px; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.l-periods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.l-period { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 56px; padding: 6px 4px; border: 0; border-radius: var(--rounded-sm); background: var(--surface-subtle); color: var(--ink); cursor: pointer; font: 600 14px/1.1 var(--font-text); }
.l-period small { color: var(--ink-soft); font: 500 12px/1 var(--font-text); }
.l-period small.is-save { color: var(--success); }
.l-period[aria-pressed="true"] { background: var(--primary-faint); box-shadow: inset 0 0 0 2px var(--ink); }
.l-stepper { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.l-stepper output { min-width: 32px; text-align: center; font: 600 17px/1 var(--font-text); font-variant-numeric: tabular-nums; }
.l-stepper__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface-subtle); color: var(--ink); cursor: pointer; transition: scale 160ms var(--ease); }
.l-stepper__btn:active { scale: var(--press-scale); }
.l-stepper__btn:disabled { opacity: .4; cursor: default; }
.l-stepper__btn .nx-icon { width: 18px; height: 18px; }
.l-ints { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.l-int { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: var(--rounded-sm); background: var(--surface-subtle); cursor: pointer; font: 500 14px/1.2 var(--font-text); }
.l-int:has(input:checked) { background: var(--primary-faint); box-shadow: inset 0 0 0 2px var(--ink); }
.l-int input { width: 20px; height: 20px; flex: none; accent-color: var(--ink); }
.l-int small { display: block; margin-top: 1px; color: var(--ink-soft); font: 400 12px/1.2 var(--font-text); }
.l-check { width: 24px; height: 24px; flex: none; accent-color: var(--ink); cursor: pointer; }
.l-calc__sum { position: sticky; top: 88px; padding: 24px; border-radius: var(--rounded-xl); background: var(--ink); color: #fff; box-shadow: var(--shadow-float); }
.l-calc__sum h3 { margin: 0 0 4px; font: 500 19px/1.2 var(--font-display); letter-spacing: -.01em; }
.l-calc__muted { color: #A9ADAF; font-size: 13px; }
.l-sumlines { display: grid; gap: 10px; margin: 18px 0; padding: 16px 0; border-block: 1px solid rgb(255 255 255 / .14); }
.l-sumline { display: flex; justify-content: space-between; gap: 12px; color: #D5D8DA; font-size: 13px; line-height: 1.35; }
.l-sumline b { flex: none; color: #fff; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.l-sumline--sale, .l-sumline--sale b { color: var(--primary); }
.l-total { margin: 6px 0 2px; font: 300 38px/1.05 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.l-total small { display: block; margin-top: 6px; color: var(--primary); font: 500 14px/1.3 var(--font-text); letter-spacing: 0; white-space: normal; }
.l-calc__go { width: 100%; margin-top: 18px; }
.l-calc__go.is-disabled { opacity: .4; pointer-events: none; }
.l-calc__fine { margin-top: 14px; color: #A9ADAF; font-size: 12px; line-height: 1.5; }

/* ===== FAQ — строки-таблетки ===== */
.l-faq { display: flex; flex-direction: column; gap: 8px; max-width: 800px; margin: 0 auto; }
.l-faq-item { border-radius: var(--rounded-md); background: var(--surface-raised); box-shadow: var(--hl-top), var(--shadow-1); transition: box-shadow var(--normal) var(--ease); }
.l-faq-item[open] { box-shadow: var(--hl-top), var(--shadow-2); }
.l-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 16px 12px 24px; border-radius: var(--rounded-md); cursor: pointer; list-style: none; font: 500 16px/1.35 var(--font-text); -webkit-tap-highlight-color: transparent; }
.l-faq-item summary::-webkit-details-marker { display: none; }
.l-faq-item summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.l-faq-item summary::after { content: '+'; display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--surface); color: var(--ink); font: 300 22px/1 var(--font-display); transition: rotate var(--normal) var(--ease), background-color var(--fast) var(--ease-hover); }
.l-faq-item[open] summary::after { rotate: 45deg; background: var(--primary); }
.l-faq-item__body { padding: 0 24px 22px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* ===== Контакты: гель на всю ширину, тёмная кнопка (одна лаймовая кнопка — у тарифов и в шапке) ===== */
.l-contact { padding: 24px 0 72px; }
.l-contact__panel.mz-gel { align-items: center; gap: 0; padding: 64px 32px; border-radius: var(--rounded-xl); text-align: center; }
.l-contact .eyebrow { color: var(--ink); opacity: .8; }
.l-contact .eyebrow::before { background: var(--ink); box-shadow: none; }
.l-contact .section-title { color: var(--ink); }
.l-contact .section-lead { margin: 0 auto; color: var(--ink); opacity: .82; }
.l-contact .btn-lg { margin-top: 28px; }

/* ===== Подвал ===== */
.l-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; max-width: 1200px; margin: 0 auto; padding: 24px 32px 40px; color: var(--ink-soft); font-size: 13px; }
.l-footer__brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 13px; }
.l-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
.l-footer__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: var(--rounded-pill); color: var(--ink-soft); transition: color var(--fast) var(--ease-hover), background-color var(--fast) var(--ease-hover); }
.l-footer__links a:hover { color: var(--ink); background: var(--surface-subtle); }
.l-footer > span { display: inline-flex; align-items: center; gap: 8px; }

/* ===== Юридические страницы: RU/EN, читаемая колонка, 390 px ===== */
.l-lang { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; padding: 4px; border-radius: var(--rounded-pill); background: var(--surface-sunken); font: 500 13px/1 var(--font-text); color: var(--ink-soft); }
.l-lang > span { display: none; }
.l-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: var(--rounded-pill); color: var(--ink-soft); transition: background-color var(--fast) var(--ease-hover), color var(--fast) var(--ease-hover); }
.l-lang a.is-active { background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-1); }
.l-legal-page { padding: 32px 0 72px; }
.l-legal { max-width: 800px; padding: 0 16px; }
.l-legal__head { margin: 0 0 24px; padding: 0 16px; }
.l-legal__head .section-title { margin-bottom: 8px; }
.l-legal__head .section-lead { margin: 0; max-width: none; font-size: 15px; }
.l-legal__body { display: flex; flex-direction: column; gap: 28px; margin: 0; padding: 40px 48px; border-radius: var(--rounded-xl); background: var(--surface-raised); box-shadow: var(--hl-top), var(--shadow-1); color: var(--ink-soft); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.l-legal__body h2 { margin: 0 0 8px; color: var(--ink); font: 500 20px/1.3 var(--font-display); letter-spacing: -.01em; }
.l-legal__body ul { margin: 8px 0 0; padding-left: 20px; }
.l-legal__body li { margin-bottom: 6px; }
.l-legal__body li::marker { color: var(--ink-faint); }
.l-legal__body strong { color: var(--ink); font-weight: 600; }
.l-legal__body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: text-decoration-color var(--fast) var(--ease-hover); }
.l-legal__body a:hover { text-decoration-color: var(--ink); }
.l-legal__ok { padding: 16px 20px; border-radius: var(--rounded-md); background: var(--primary-faint); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.l-legal__sec p + p { margin-top: 8px; }

/* ===== /data-deletion — две вкладки (клиентам бизнеса / владельцам), без скриптов: переключатели-радио ===== */
.l-dd__radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.l-dd__tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; margin-bottom: 16px; padding: 4px; border-radius: var(--rounded-pill); background: var(--surface-sunken); }
.l-dd__tab { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: var(--rounded-pill); color: var(--ink-soft); font: 500 14px/1.2 var(--font-text); text-align: center; cursor: pointer; transition: background-color var(--fast) var(--ease-hover), color var(--fast) var(--ease-hover), box-shadow var(--fast) var(--ease-hover); }
#dd-tab-client:checked ~ .l-dd__tabs label[for="dd-tab-client"],
#dd-tab-owner:checked ~ .l-dd__tabs label[for="dd-tab-owner"] { background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-1); }
#dd-tab-client:focus-visible ~ .l-dd__tabs label[for="dd-tab-client"],
#dd-tab-owner:focus-visible ~ .l-dd__tabs label[for="dd-tab-owner"] { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.l-dd__panel { display: none; padding: 20px 24px; border-radius: var(--rounded-md); background: var(--surface); color: var(--ink); }
#dd-tab-client:checked ~ .l-dd__panel--client,
#dd-tab-owner:checked ~ .l-dd__panel--owner { display: block; }
.l-dd__panel p { margin: 0 0 12px; }
.l-dd__panel p:last-child { margin-bottom: 0; }
.l-dd__hint { color: var(--ink-soft); font-size: 14px; }
.l-legal__body a.l-dd__mail { color: var(--on-primary); text-decoration: none; }
.l-legal__body a.l-dd__login { color: var(--ink); text-decoration: none; }

/* ===== Планшет и телефон ===== */
@media (max-width: 1199.98px) {
    .l-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .l-stage { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; justify-self: stretch; }
    .l-chat { width: 100%; max-width: 350px; min-height: 0; height: 620px; margin-inline: auto; }
    .l-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 12px; }
    .l-cards__cap { grid-column: 1 / -1; }
    .fc::after { display: none; }
    .fc__in { height: 100%; }
    .l-anim .fc__in { translate: 0 -24px; transform-origin: 50% 0; }
    .l-anim .fc.is-in .fc__in { translate: 0 0; }
}
@media (max-width: 1100px) {
    .l-pain-grid, .l-steps, .l-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023.98px) {
    .l-svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .l-calc { grid-template-columns: minmax(0, 1fr); }
    .l-calc__sum { position: static; }
}
@media (max-width: 899.98px) {
    .l-header { padding: 8px 12px 0; }
    .l-header__bar { min-height: 60px; padding: 8px 8px 8px 16px; }
    .l-header__nav { display: none; }
    .l-header__burger { display: flex; }
    .l-header__me { margin-left: auto; }
    .l-header__open { display: none !important; }
    .l-header__login { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-left: auto; padding: 0 16px; border-radius: var(--rounded-pill); color: var(--ink); font: 500 15px/1 var(--font-text); transition: background-color var(--fast) var(--ease-hover); }
    .l-header__login:hover { background: var(--surface-subtle); }
    .l-header__login:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
    .l-header__login + .l-header__burger { margin-left: -8px; }
    .container { padding: 0 20px; }
    section { padding: 48px 0; }
    .l-hero { padding: 24px 0 48px; }
    .l-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .l-pains { padding: 8px 0 48px; }
    .l-panel { padding: 40px 20px; border-radius: var(--rounded-lg); }
    .l-scenes { grid-template-columns: minmax(0, 1fr); }
    .l-channel-row { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
    .l-contact { padding: 8px 0 48px; }
    .l-contact__panel.mz-gel { padding: 40px 20px; border-radius: var(--rounded-lg); }
    .l-footer { justify-content: center; text-align: center; padding: 16px 20px 32px; }
    .l-legal__body { padding: 28px 20px; border-radius: var(--rounded-lg); }
}
@media (max-width: 767.98px) {
    .l-me { padding: 0 6px; }
    .l-me__name { display: none; }
    .l-svcs, .l-perks { grid-template-columns: minmax(0, 1fr); }
    .l-svc, .l-perk { padding: 18px; }
    .l-calc__ctl { padding: 4px 16px; }
    .l-ints { grid-template-columns: minmax(0, 1fr); }
    .l-periods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* чат первого экрана на телефоне: во всю ширину, без размытия подложки (не тормозит прокрутку); карточки CRM — 2×2 под ним */
    .l-chat { max-width: none; min-height: 0; height: 510px; }
    .wa--glass { border-radius: 28px; -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(255 255 255 / .86); --wa-head: #fff; --wa-bg: #EFE7DE; }
    .wa--glass .wa__head { padding: 12px 14px; }
    .wa--glass .wa__ava { width: 42px; height: 42px; }
    .wa--glass .wa__body { padding: 16px 12px 14px; gap: 8px; }
    .wa--glass .wa-m { max-width: 86%; }
    .wa--glass .wa__foot { padding: 10px 12px 12px; }
    .wa--glass .wa__input, .wa--glass .wa__mic { height: 44px; }
    .wa--glass .wa__mic { width: 44px; }
    .l-cards { gap: 10px; }
    .fc__in { padding: 12px; border-radius: 18px; }
    .l-anim .fc::before { border-radius: 18px; }
    .fc__row { flex-wrap: wrap; gap: 2px 8px; }
    .fc__slot { padding-left: 14px; }
    .fc__slot time { font-size: 13px; }
    .fc__tag { margin-bottom: 8px; }
    .fc__appt { padding: 6px 8px; gap: 2px 8px; }
}
@media (max-width: 560px) {
    .l-pain-grid, .l-steps { grid-template-columns: minmax(0, 1fr); }
    .l-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .l-metric-card { min-height: 150px; padding: 18px; }
    .l-metric-card__value { font-size: 40px; }
    .l-metric-card--hero .l-metric-card__value { font-size: 56px; }
    .l-hero__cta .btn-lg { flex: 1 1 100%; }
    .l-niche-switch { display: flex; width: 100%; }
    .l-niche-switch__btn { flex: 1 1 auto; padding: 0 8px; font-size: 13px; white-space: nowrap; }
    .l-faq-item summary { padding-left: 18px; font-size: 15px; }
    .l-faq-item__body { padding: 0 18px 20px; }
    .l-dd__tabs { display: flex; flex-direction: column; border-radius: var(--rounded-md); }
    .l-dd__tab { width: 100%; }
    .l-dd__mail, .l-dd__login { width: 100%; white-space: normal; text-align: center; }
    .l-lang a { min-width: 44px; }
    .l-total { font-size: 32px; }
}

/* Движение: без движения (prefers-reduced-motion) — переписка и карточки видны сразу, сцены стоят в конечном состоянии */
@media (prefers-reduced-motion: reduce) {
    .wa-m.is-new, .wa-typing, .l-calc { animation: none; }
    .kanban-scene__card, .cal-scene__appt, .cal-scene__badge, .cal-scene__slot--target::after { animation: none; opacity: 1; transform: none; }
    .kanban-scene__card { left: calc(18px + (100% - 56px) / 3 * 2 + 20px); }
}

/* мелкие помощники разметки (вместо inline-стилей) */
.l-phone-stage { display: flex; flex-direction: column; align-items: center; }

/* 17.10.2026: строка реквизитов в подвале (landing/_requisites) — отдельной строкой во всю ширину, мелко и серо. */
.l-footer .l-footer__legal { display: block; flex-basis: 100%; margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
