/* собрано из index.html скриптом _seo/build.py — не править руками */

@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/unbounded-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/unbounded-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/unbounded-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/unbounded-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/unbounded-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/unbounded-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* *память: видео-шапка v2 (16.11.2026). v1 (видео фоном под затемнением) владелец забраковал: тёмно, чат закрывал
   видео, смысл непонятен. Теперь шапка светлая, видео — карточкой справа без затемнения; поверх — название сферы
   и всплывающее «Новая запись» в такт сцене (тайминги SCENES в скрипте внизу = склейка: 4 клипа по 5 с,
   переходы 0,8 с со сдвигом 4,24 с). Чат бота переехал в блок #bot под бегущей строкой. */
.hero .wrap { grid-template-columns: minmax(0, 1fr) 460px; }
.hv { justify-self: end; width: 100%; max-width: 460px; }
.hv-card { position: relative; aspect-ratio: 1 / 1; border-radius: 30px; overflow: hidden; background: #141416 url(/assets/hero-poster.jpg) 80% 50% / cover;
  box-shadow: 0 30px 80px rgba(18,18,18,.22), 0 0 0 1px var(--line); }
.hv-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; display: block; }
.hv-card::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 22%, transparent 62%, rgba(0,0,0,.45) 100%); }
.hv-tag { position: absolute; z-index: 2; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(18,18,20,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-weight: 700; font-size: 14px; transition: opacity .35s; }
.hv-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.hv-note { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #121212; box-shadow: 0 12px 30px rgba(0,0,0,.28);
  opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .45s, transform .45s cubic-bezier(.2,.8,.2,1); }
.hv-note.show { opacity: 1; transform: none; }
.hv-note .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; font-size: 19px; }
.hv-note b { display: block; font-size: 14.5px; }
.hv-note span { display: block; font-size: 13.5px; color: #555; margin-top: 1px; }
.hv-note small { margin-left: auto; align-self: flex-start; font-size: 12px; color: #888; white-space: nowrap; }
.hv-cap { margin: 14px 4px 0; font-size: 15px; font-weight: 600; color: var(--ink2); }
.hv-cap b { color: var(--ink); }
/* *память: на компьютере карточка вертикальная 9:16 (16.11.2026, владелец: квадрат оставлял пустое место справа).
   Кадр 16:9 в узкой карточке — для каждой сцены свой сдвиг (HV_POS в скрипте), между сценами плавный «проезд» камеры. */
@media (min-width: 1021px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) 390px; }
  .hv { max-width: 390px; }
  .hv-card { aspect-ratio: 9 / 16; max-height: calc(100vh - 150px); min-height: 560px; }
  .hv-card video { transition: object-position 1.1s ease-in-out; }
  .hv-note small { display: none; }
}
/* чат бота — отдельный блок */
.bot-sec { padding: clamp(50px, 6vw, 90px) 0 10px; }
.bot-sec .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: center; }
.bot-sec ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; font-size: 16.5px; }
.bot-sec h2 { font-size: clamp(26px, 3.2vw, 42px); }
.bot-sec li { display: flex; gap: 12px; } .bot-sec li span:first-child { flex: none; }
@media (max-width: 1020px) {
  .hero .wrap, .bot-sec .wrap { grid-template-columns: minmax(0, 1fr); }
  .hv { justify-self: start; max-width: 560px; }
}
@media (max-width: 760px) {
  .hv-card { aspect-ratio: 4 / 3.4; border-radius: 24px; }
  .hv-note { padding: 10px 12px; } .hv-note .ic { width: 34px; height: 34px; font-size: 16px; }
  .hv-note b { font-size: 13.5px; } .hv-note span { font-size: 12.5px; }
  /* на телефоне видео сразу под заголовком и описанием, до кнопок — иначе его видно только после цен */
  /* только главная: стили общие с SEO-страницами (site.css), там своя раскладка (19.11.2026) */
  .hero:not(.sp-hero) .wrap { display: flex; flex-direction: column; align-items: stretch; gap: 0 !important; }
  .hero:not(.sp-hero) .wrap > div:first-child { display: contents; }
  .hero:not(.sp-hero) .eyebrow, .hero:not(.sp-hero) h1, .hero:not(.sp-hero) .lead { order: 1; }
  /* *память (19.11.2026): кнопка «Создать демо» — до видео, иначе на телефоне в первом экране нет ни одной кнопки */
  .hero:not(.sp-hero) .actions { order: 2; }
  .hv { order: 3; margin-top: 26px; }
  .hero:not(.sp-hero) .offer, .hero:not(.sp-hero) .checks, .hero:not(.sp-hero) .trust { order: 4; }
  .hv-cap { font-size: 14px; }
}


:root {
  --paper: #f3f0e8; --paper2: #ebe6da; --card: #ffffff; --ink: #121212; --ink2: #4b4a46; --muted: #8b887f;
  --line: rgba(18,18,18,.12); --accent: #2f5bff; --lime: #d4ff3f; --lime-ink: #121212; --dark: #121212; --dark2: #1c1c1e;
  --radius: 22px; --display: "Unbounded", "Manrope", system-ui, sans-serif; --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #0f0f10; --paper2: #17171a; --card: #1b1b1f; --ink: #f3f0e8; --ink2: #c4c0b6; --muted: #8d8a82; --line: rgba(243,240,232,.12); color-scheme: dark; }
}
:root[data-theme="dark"] { --paper: #0f0f10; --paper2: #17171a; --card: #1b1b1f; --ink: #f3f0e8; --ink2: #c4c0b6; --muted: #8d8a82; --line: rgba(243,240,232,.12); color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body { overflow-x: hidden; overflow-x: clip; margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg, iframe { display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.05; margin: 0; font-weight: 700; }
h2 { font-size: clamp(30px, 4.4vw, 54px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink2); }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink2); max-width: 640px; }
section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.mark { background: var(--lime); color: var(--lime-ink); padding: 0 .18em; border-radius: .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 800; font-size: 16px; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { box-shadow: 0 10px 30px rgba(0,0,0,.18); transform: translateY(-1px); }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { box-shadow: 0 10px 30px rgba(170,210,0,.35); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* шапка */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 85%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.03em; text-decoration: none; display: flex; align-items: center; gap: 2px; }
.logo i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--ink); margin-left: 3px; align-self: flex-end; margin-bottom: 6px; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink2); }
.nav nav a:hover { color: var(--ink); }
.nav .btn { height: 44px; padding: 0 20px; font-size: 14.5px; }
/* вход в админку для тех, кто уже подключён */
.nav-login { font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink); padding: 8px 4px; white-space: nowrap; }
.nav .sm { display: none; }
.nav-login:hover { text-decoration: underline; text-underline-offset: 4px; }

/* первый экран */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 7vw, 100px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.1vw, 68px); font-weight: 800; margin: 18px 0 24px; }
.hero h1 .u { position: relative; white-space: nowrap; }
.hero h1 .u svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .32em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.offer { display: inline-grid; grid-template-columns: repeat(3, auto); margin-top: 30px; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 2px var(--ink); }
.offer div { padding: 14px 22px 13px; background: var(--card); }
.offer div + div { box-shadow: inset 2px 0 0 var(--ink); }
.offer div:first-child { background: var(--lime); color: var(--lime-ink); }
.offer b { display: block; font-family: var(--display); font-size: 26px; line-height: 1.05; letter-spacing: -.02em; }
.offer span { display: block; font-size: 13.5px; font-weight: 700; color: inherit; opacity: .75; margin-top: 3px; }
.trust { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ink2); }
.trust a { color: inherit; }
.checks { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 28px; font-weight: 600; font-size: 15px; color: var(--ink2); }
.checks span::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 11px; margin-right: 8px; vertical-align: 1px; }

/* чат в первом экране */
.chat { background: var(--card); border-radius: 30px; box-shadow: 0 30px 80px rgba(18,18,18,.14), 0 0 0 1px var(--line); overflow: hidden; position: relative; max-width: 400px; justify-self: end; width: 100%; overflow: visible; }
.chat-h { border-radius: 30px 30px 0 0; background: var(--card); }
.chat-b { border-radius: 0 0 30px 30px; }
.chat-h { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat-ava { width: 42px; height: 42px; border-radius: 50%; background: #c8743a; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.chat-h b { display: block; font-size: 15.5px; }
.chat-h small { color: var(--muted); font-size: 13px; }
.chat-b { padding: 18px 16px 22px; height: 540px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; background:
  radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 40%), var(--paper2); }
.msg { flex: none; max-width: 88%; padding: 11px 14px 9px; border-radius: 18px 18px 18px 6px; background: var(--card); font-size: 14.5px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.05);
  opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .35s, transform .35s; white-space: pre-line; }
.msg.show { opacity: 1; transform: none; }
.msg.me { align-self: flex-end; background: var(--accent); color: #fff; border-radius: 18px 18px 6px 18px; }
.msg time { display: block; text-align: right; font-size: 11px; color: var(--muted); margin-top: 3px; }
.msg.me time { color: rgba(255,255,255,.7); }
.msg .kb { margin-top: 9px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); text-align: center; font-weight: 700; padding: 8px; font-size: 14px; }
.msg.sys { align-self: center; background: var(--ink); color: var(--paper); font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.typing { align-self: flex-start; background: var(--card); border-radius: 18px; padding: 12px 14px; display: none; gap: 4px; }
.typing.show { display: flex; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bl 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bl { 50% { opacity: .25; transform: translateY(-2px); } }
.sticker { position: absolute; font-family: var(--display); font-weight: 700; font-size: 13px; background: var(--lime); color: var(--lime-ink); padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.12); white-space: nowrap; }

/* бегущая строка */
.ticker-clip { overflow: hidden; padding: 14px 0; }
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: 0 -20px; }
.ticker-in { display: flex; gap: 40px; width: max-content; animation: tick 40s linear infinite; font-family: var(--display); font-weight: 700; font-size: 22px; }
.ticker-in span { display: inline-flex; align-items: center; gap: 40px; white-space: nowrap; }
.ticker-in span::after { content: "✦"; color: var(--lime); }
@keyframes tick { to { transform: translateX(-50%); } }

/* сцена: телефон + админка */
.stage-sec { background: var(--dark); color: #f3f0e8; }
.stage-sec .eyebrow { color: #b9b5aa; }
.stage-sec .lead { color: #b9b5aa; }
.stage-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.stage-h h2 { max-width: 760px; margin-top: 14px; font-size: clamp(28px, 3.6vw, 46px); }
.niche-tabs { display: inline-flex; background: #232326; padding: 5px; border-radius: 999px; gap: 4px; flex-wrap: wrap; }
.niche-tabs button { border: 0; background: none; color: #b9b5aa; padding: 10px 18px; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: 15px; }
.niche-tabs button.on { background: var(--lime); color: var(--lime-ink); }
.stage { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
.phone { width: 360px; height: 740px; border-radius: 52px; background: #050505; padding: 12px; box-shadow: 0 0 0 2px #2a2a2d, 0 40px 90px rgba(0,0,0,.5); position: relative; }
.phone::before { display: none; content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 20px; background: #050505; z-index: 3; }
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 41px; background: #f4f4f7; }
.laptop { position: relative; }
.laptop-screen { border-radius: 18px 18px 6px 6px; background: #050505; padding: 12px 12px 14px; box-shadow: 0 0 0 2px #2a2a2d, 0 40px 90px rgba(0,0,0,.5); }
.laptop-view { position: relative; width: 100%; aspect-ratio: 16 / 10.4; overflow: hidden; border-radius: 6px; background: #f3f3f6; }
.laptop-view iframe { position: absolute; top: 0; left: 0; width: 1360px; height: 884px; border: 0; transform-origin: 0 0; }
.laptop-base { height: 16px; margin: 0 -40px; background: linear-gradient(#3a3a3e, #1d1d20); border-radius: 0 0 22px 22px; }
.stage-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.stage-steps div { background: #1c1c1e; border-radius: 18px; padding: 18px 18px 16px; }
.stage-steps b { font-family: var(--display); color: var(--lime); font-size: 26px; display: block; margin-bottom: 6px; }
.stage-steps p { margin: 0; color: #cfcbc1; font-size: 15px; line-height: 1.45; }
.stage-mobile-note { display: none; }

/* генератор демо */
.gen { background: var(--lime); color: var(--lime-ink); border-radius: 40px; padding: clamp(36px, 5vw, 70px); position: relative; overflow: hidden; }
.gen::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(18,18,18,.06); }
.gen h2 { font-size: clamp(30px, 4.6vw, 60px); max-width: 820px; position: relative; z-index: 1; }
.gen .lead { color: rgba(18,18,18,.72); margin-top: 18px; position: relative; z-index: 1; }
.gen-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 34px; position: relative; z-index: 1; align-items: stretch; }
.gen-niche { grid-column: 1 / -1; justify-self: start; display: inline-flex; flex-wrap: wrap; background: rgba(18,18,18,.08); border-radius: 26px; padding: 5px; gap: 4px; }
.gen-niche button { height: 44px; }
.gen-niche button { border: 0; background: none; padding: 0 16px; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: 15px; color: #121212; white-space: nowrap; }
.gen-niche button.on { background: #121212; color: var(--lime); }
.gen input { height: 56px; border-radius: 999px; border: 2px solid #121212; background: #fff; color: #121212; padding: 0 24px; font-size: 17px; font-weight: 600; outline: 0; min-width: 0; }
.gen input::placeholder { color: #8b887f; font-weight: 500; }
.gen .btn-ink { background: #121212; color: var(--lime); }
.gen-direct { margin-top: 16px; position: relative; z-index: 1; }
.gen-direct > a { font-weight: 700; color: #121212; text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }
.gen-direct-form { display: none; grid-template-columns: 1fr auto; gap: 10px; align-items: center; margin-top: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.55); }
.gen-direct.open .gen-direct-form { display: grid; }
.gen-direct-form span { color: #4b4a46; font-size: 13.5px; }
.gen-direct-form input { height: 50px; border-radius: 999px; border: 2px solid #121212; padding: 0 18px; font-size: 15px; font-weight: 600; outline: 0; min-width: 0; background: #fff; color: #121212; }
.gen-direct-form .btn { height: 50px; font-size: 15px; }
@media (max-width: 760px) { .gen-direct-form { grid-template-columns: 1fr; } }
/* *память (17.11.2026): «Другое» — сферы нет в шаблонах: вместо демо собираем заявку (сфера + контакт).
   Повод: человек из рекламы в Попутке 4 раза собирал демо «Такси» в чужих шаблонах и ушёл без контакта. */
#genContact { display: none; }
.gen-form.other { grid-template-columns: 1fr 1fr auto; }
.gen-form.other #genContact { display: block; }
.gen-niche button[data-n="other"] { border: 1.5px dashed rgba(18,18,18,.35); }
.gen-note { font-size: 14px; color: rgba(18,18,18,.6); margin-top: 14px; position: relative; z-index: 1; }
.gen-result { display: none; margin-top: 30px; background: #fff; color: #121212; border-radius: 28px; padding: 26px; gap: 26px; grid-template-columns: 1fr auto; align-items: center; position: relative; z-index: 1; }
.gen-result.show { display: grid; animation: pop .5s cubic-bezier(.2,1.3,.4,1); }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(10px); } }
.gen-result h3 { font-size: 24px; margin-bottom: 8px; }
.gen-result p { margin: 0 0 18px; color: #4b4a46; }
.gen-result .row { display: flex; gap: 10px; flex-wrap: wrap; }
.gen-result .btn { height: 50px; font-size: 15px; }
.gen-lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; border-top: 1px solid rgba(18,18,18,.1); padding-top: 22px; }
.gen-lead b { display: block; font-size: 16px; }
.gen-quick .gq-row { display: flex; gap: 10px; flex-wrap: wrap; }
.gen-quick .gq-row input { flex: 1 1 200px; }
.gen-quick.done { display: block; font-weight: 700; }
.gen-lead span { color: #4b4a46; font-size: 14px; }
.gen-lead input { height: 50px; border-radius: 999px; border: 2px solid #121212; padding: 0 18px; font-size: 15px; font-weight: 600; outline: 0; min-width: 0; background: #fff; color: #121212; }
.gen-lead .btn { height: 50px; font-size: 15px; background: #121212; color: var(--lime); }
.gen-confirm { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; background: var(--paper); border-radius: 18px; padding: 20px 22px; }
.gen-confirm h4 { margin: 0 0 6px; font-family: var(--display); font-size: 18px; }
.gen-confirm p { margin: 0 0 14px; color: #4b4a46; font-size: 14.5px; }
.gen-confirm .row { display: flex; gap: 10px; flex-wrap: wrap; }
.gen-confirm .wait { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: #4b4a46; }
.gen-confirm .wait .spin { border-color: rgba(18,18,18,.2); border-top-color: #121212; }
.gen-confirm small { display: block; margin-top: 10px; color: #8b887f; font-size: 13px; }
.gen-confirm .cqr { text-align: center; font-size: 12px; color: #8b887f; }
.gen-confirm .cqr > div { background: #fff; padding: 8px; border-radius: 12px; margin-bottom: 6px; }
@media (max-width: 760px) { .gen-confirm { grid-template-columns: 1fr; } .gen-confirm .cqr { display: none; } }
.gen-lead-ok { grid-column: 1 / -1; display: none; background: var(--lime); border-radius: 18px; padding: 18px 20px; }
.gen-lead-ok h4 { margin: 0 0 10px; font-family: var(--display); font-size: 18px; }
.gen-lead-ok dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 14px; font-size: 15px; }
.gen-lead-ok dt { color: rgba(18,18,18,.6); font-weight: 600; }
.gen-lead-ok dd { margin: 0; font-weight: 800; word-break: break-all; }
.gen-lead-ok .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.gen-lead-ok small { display: block; margin-top: 10px; color: rgba(18,18,18,.7); font-size: 13.5px; }
.gen-lead-ok.show { display: block; }
.qr { width: 150px; text-align: center; font-size: 12.5px; color: #8b887f; font-weight: 600; }
.qr #qrBox { width: 150px; height: 150px; margin-bottom: 8px; display: grid; place-items: center; }
.qr #qrBox img, .qr #qrBox canvas { width: 150px !important; height: 150px !important; }
.spin { width: 20px; height: 20px; border: 3px solid rgba(212,255,63,.35); border-top-color: var(--lime); border-radius: 50%; animation: sp .7s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }

/* сравнение */
.cmp { margin-top: 44px; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.cmp table { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15.5px; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp th { font-family: var(--display); font-size: 15px; font-weight: 700; }
.cmp td:first-child { color: var(--ink2); font-weight: 600; width: 24%; }
.cmp .us { background: color-mix(in srgb, var(--lime) 28%, transparent); font-weight: 700; }
.cmp th.us { background: var(--lime); color: var(--lime-ink); }

/* калькулятор */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.calc-in, .calc-out { background: var(--card); border-radius: var(--radius); padding: 30px; box-shadow: 0 0 0 1px var(--line); }
.calc-out { background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.rng { margin-bottom: 24px; }
.rng:last-child { margin-bottom: 0; }
.rng label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.rng label b { font-family: var(--display); font-size: 17px; white-space: nowrap; }
.rng small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 6px; background: var(--paper2); outline: 0; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); border: 4px solid var(--card); box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgba(0,0,0,.2); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 4px solid var(--card); cursor: pointer; }
.calc-out .big { font-family: var(--display); font-size: clamp(40px, 5vw, 62px); font-weight: 800; color: var(--lime); line-height: 1; margin: 8px 0 10px; }
.calc-out p { margin: 0; color: #c4c0b6; }
.calc-out .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-out .sub div { background: #222225; border-radius: 16px; padding: 16px; }
.calc-out .sub b { font-family: var(--display); font-size: 24px; display: block; color: #fff; }
.calc-out .sub span { font-size: 13.5px; color: #a9a59b; }
.disclaimer { font-size: 13px; color: #8d8a82 !important; }

/* что внутри */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.feat-col { background: var(--card); border-radius: var(--radius); padding: 32px; box-shadow: 0 0 0 1px var(--line); }
.feat-col h3 { font-size: 22px; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.feat-col h3 span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--paper2); font-size: 22px; }
.feat-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.feat-col li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.feat-col li::before { content: ""; width: 22px; height: 22px; border-radius: 7px; background: var(--lime); box-shadow: inset 0 0 0 2px var(--ink); margin-top: 2px; }
.feat-col li b { display: block; }
.feat-col li span { color: var(--ink2); font-size: 15px; }

/* направления */
.dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.dir { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; transition: transform .2s; }
.dir:hover { transform: translateY(-3px); }
.dir .ic { font-size: 30px; }
.dir h3 { font-size: 19px; }
.dir p { margin: 0; color: var(--ink2); font-size: 15px; flex: 1; }
.tag { align-self: flex-start; font-size: 12.5px; font-weight: 800; padding: 5px 11px; border-radius: 999px; background: var(--paper2); color: var(--ink2); }
.tag.live { background: var(--ink); color: var(--lime); }
.dir.case { background: var(--accent); color: #fff; grid-column: span 2; }
.dir.case p { color: rgba(255,255,255,.82); }
.dir.case .tag { background: rgba(255,255,255,.16); color: #fff; }

/* цены */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; align-items: stretch; }
.plans > *, .dirs > *, .feat > *, .calc > *, .kpis > * { min-width: 0; }
.plan { overflow-wrap: anywhere; background: var(--card); border-radius: 28px; padding: 32px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; position: relative; }
.plan.hot { background: var(--ink); color: var(--paper); box-shadow: none; transform: translateY(-10px); }
.plan.hot .muted { color: #a9a59b; }
.plan .badge { position: absolute; top: -14px; left: 32px; background: var(--lime); color: var(--lime-ink); font-weight: 800; font-size: 13px; padding: 6px 13px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan .for { color: var(--ink2); font-size: 15px; margin: 8px 0 22px; min-height: 46px; }
.plan.hot .for { color: #c4c0b6; }
.price { font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price small { font-size: 16px; font-weight: 600; letter-spacing: 0; }
.monthly { margin: 10px 0 24px; font-weight: 700; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; flex: 1; align-content: start; font-size: 15.5px; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: var(--paper2); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.plan.hot li::before { background: var(--lime); color: var(--lime-ink); }
.plan .btn { width: 100%; }
.plan.hot .btn-ghost { box-shadow: inset 0 0 0 2px var(--paper); color: var(--paper); }
.price-stack { display: grid; gap: 6px; margin-bottom: 18px; }
.price-stack div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 6px; border-bottom: 1px dashed rgba(243,240,232,.2); }
.price-stack span { font-size: 14.5px; color: #c4c0b6; }
.price-stack b { font-family: var(--display); font-size: 20px; color: var(--lime); }
.plans-note { margin-top: 26px; color: var(--ink2); font-size: 15px; text-align: center; }

/* процесс */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 50px; counter-reset: st; }
.step { padding: 0 18px 0 0; position: relative; }
.step::before { counter-increment: st; content: counter(st); font-family: var(--display); font-weight: 800; font-size: 20px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); box-shadow: 0 0 0 2px var(--ink); position: relative; z-index: 1; margin-bottom: 18px; }
.step:first-child::before { background: var(--lime); }
.step::after { content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px); }
.step:last-child::after { display: none; }
.step b { display: block; font-size: 17px; margin-bottom: 6px; }
.step span { display: block; color: var(--ink2); font-size: 15px; }
.step em { display: inline-block; font-style: normal; font-weight: 800; font-size: 12.5px; margin-top: 10px; background: var(--paper2); padding: 4px 10px; border-radius: 999px; }

/* вопросы-переписка */
.faq { max-width: 820px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 14px; }
.q { align-self: flex-end; background: var(--accent); color: #fff; padding: 14px 20px; border-radius: 24px 24px 6px 24px; font-weight: 700; max-width: 80%; cursor: pointer; border: 0; text-align: left; font-size: 17px; }
.q::after { content: " +"; opacity: .7; }
.q.open::after { content: ""; }
.a { align-self: flex-start; background: var(--card); padding: 16px 22px; border-radius: 24px 24px 24px 6px; max-width: 86%; box-shadow: 0 0 0 1px var(--line); display: none; color: var(--ink2); }
.a.open { display: block; animation: pop .35s ease; }
.a b { color: var(--ink); }

/* финальная форма */
.final { background: var(--ink); color: var(--paper); border-radius: 40px; padding: clamp(36px, 5vw, 70px); display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.final h2 { color: var(--paper); }
.final .lead { color: #c4c0b6; margin-top: 18px; }
.final form { display: grid; gap: 12px; }
.final input, .final textarea, .final select { width: 100%; background: #1f1f22; border: 1.5px solid #333337; border-radius: 16px; padding: 16px 18px; color: #f3f0e8; font-size: 16px; outline: 0; }
.final textarea { resize: vertical; min-height: 100px; }
.final input:focus, .final textarea:focus, .final select:focus { border-color: var(--lime); }
.final .btn { width: 100%; margin-top: 4px; }
.final .small { font-size: 13px; color: #8d8a82; }
.final .ok { display: none; background: var(--lime); color: var(--lime-ink); border-radius: 20px; padding: 24px; font-weight: 700; }
.final .ok.show { display: block; animation: pop .4s; }
.contacts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.contacts a { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 999px; background: #1f1f22; text-decoration: none; font-weight: 700; font-size: 15px; }
.contacts a:hover { background: #2a2a2e; }

footer { padding: 40px 0 50px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--muted); }
footer .legal-links { margin-top: 12px; gap: 8px 22px; justify-content: flex-start; font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 13px 20px; border-radius: 14px; font-weight: 700; opacity: 0; transition: .25s; z-index: 100; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .ticker-in { animation: none; } html { scroll-behavior: auto; } }

/* адаптив */
@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap > * { min-width: 0; }
  .chat { max-width: 440px; }
  .chat { justify-self: start; }
  .stage { grid-template-columns: 1fr; justify-items: center; }
  .laptop { display: none; }
  .stage-mobile-note { display: block; text-align: center; margin-top: 18px; }
  .stage-steps { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .plan.hot { transform: none; }
  .plan { padding: 26px 22px; }
  .price { font-size: 34px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; padding: 0; }
  .step::before { grid-row: span 3; margin: 0; }
  .step::after { top: 52px; left: 25px; width: 2px; height: calc(100% - 26px); right: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 12px); }
  .dirs { grid-template-columns: 1fr 1fr; }
  .final { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav nav { display: none; }
  .nav .wrap { gap: 12px; height: 62px; }
  .logo { font-size: 18px; }
  .nav-login { margin-left: auto; font-size: 14px; }
  .nav .hm { display: none; }
  .nav .sm { display: inline; }
  .nav .btn { height: 40px; padding: 0 15px; font-size: 13.5px; }
  .hero h1 { font-size: clamp(26px, 8.2vw, 40px); }
  .niche-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .niche-tabs button { padding: 10px 6px; font-size: 13.5px; }
  .gen { padding: 30px 20px; border-radius: 30px; }
  .gen-niche { display: grid; grid-template-columns: repeat(3, 1fr); justify-self: stretch; }
  .gen-niche button { padding: 0 4px; font-size: 14px; }
  .gen-form, .gen-form.other { grid-template-columns: 1fr; }
  .gen-niche { overflow-x: auto; scrollbar-width: none; }
  .gen-niche button { height: 44px; }
  .gen-result { grid-template-columns: 1fr; }
  .qr { display: none; }
  .gen-lead { grid-template-columns: 1fr; }
  .calc, .feat { grid-template-columns: 1fr; }
  .dirs { grid-template-columns: 1fr; }
  .dir.case { grid-column: auto; }
  .cmp { overflow-x: auto; }
  .cmp table { min-width: 640px; }
  .cmp td:first-child, .cmp th:first-child { position: sticky; left: 0; background: var(--card); z-index: 1; }
  .phone { width: 320px; height: 660px; }
  .hero .actions .btn { width: 100%; }
  .offer { display: grid; width: 100%; }
  .offer div { padding: 12px 10px; }
  .offer b { font-size: 21px; }
  .offer span { font-size: 12px; }
  .chat-b { height: 470px; }
  .sticker { display: none; }
}
@media (max-width: 380px) {
  .phone { width: calc(100vw - 32px); height: 620px; border-radius: 40px; padding: 9px; }
  .phone iframe { border-radius: 32px; }
  .btn { white-space: normal; text-align: center; padding: 0 18px; }
}
