/*
 * Главная страница QWISH Chat для тех, кто ещё не вошёл (chat.qwish.uz/). Отдельная статическая страница со своими стилями.
 * Одна семья с QWISH HR (бумажный фон, крупные заголовки, круглые кнопки), но цвет — синий QWISH #2563eb.
 * Шрифты системные: внешних файлов нет. Картинки — снимки настоящих экранов (shots/, делает scripts/promo-app-shots.mjs).
 */
:root {
  color-scheme: light;
  --paper: #f5f7fc;
  --paper-2: #eaeffa;
  --card: #ffffff;
  --ink: #0f1a2e;
  --ink-2: #44506a;
  --ink-3: #6b7690;
  --line: #d5dcec;
  --line-soft: #e6ebf5;
  --brand: #2563eb;
  --brand-strong: #1d4ed8;
  --brand-ink: #1d4ed8;
  --brand-deep: #0b1b45;
  --brand-soft: #e3ecfe;
  --brand-tint: #c9dafd;
  --on-brand: #ffffff;
  --deep-text: #b8c7ea;
  --ok: #15803d;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --shadow: 0 1px 2px rgb(15 26 46 / 0.05), 0 18px 44px -18px rgb(15 26 46 / 0.22);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* Страница всегда светлая, как главная QWISH HR: снимки экранов и цветные слайды сделаны под светлый фон. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sprite symbol, .ic { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ——— кнопки ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-light { background: #fff; color: #0b1b45; }
.btn-light:hover { background: #e3ecfe; }
.btn-s { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-l { min-height: 58px; padding: 0 30px; font-size: 18px; }

/* ——— шапка ——— */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.top.is-stuck { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: 0.04em; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; flex: none; color: var(--brand); }
.nav { display: flex; gap: 26px; margin-left: 14px; font-size: 15px; color: var(--ink-2); }
.nav a { text-decoration: none; padding: 8px 0; }
.nav a:hover { color: var(--ink); }
.top-login { margin-left: auto; }

/* ——— общий вид разделов ——— */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-ink); }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.h2 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 720; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.lead a { color: var(--brand-ink); }
.section { padding-block: clamp(56px, 8vw, 108px); }
.section.tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.head { display: grid; gap: 16px; margin-bottom: clamp(30px, 4.4vw, 54px); justify-items: start; }

/* ——— первый экран ——— */
.hero { position: relative; padding-block: clamp(32px, 5vw, 72px) clamp(48px, 7vw, 92px); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--brand) 22%, transparent) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 60%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 60%, transparent); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-top: 18px; font-size: clamp(36px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 750; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--brand-ink); }
.hero .lead { margin-top: 22px; max-width: 34ch; color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { display: grid; gap: 8px; margin-top: 26px; font-size: 16px; color: var(--ink-2); }
.facts li { display: flex; align-items: center; gap: 10px; }
.facts .ic { color: var(--brand-ink); stroke-width: 2.25; }
.facts b { color: var(--ink); font-weight: 650; }

/* ——— рисунок окна чата ——— */
.mock { position: relative; justify-self: center; width: 100%; max-width: 460px; padding: 0 0 78px 0; }
.mock-site { position: absolute; inset: 34px -28px 44px 44px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); overflow: hidden; opacity: 0.75; }
.mock-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line-soft); font-size: 12px; color: var(--ink-3); }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.mock-bar span { margin-left: auto; }
.mock-page { padding: 22px; display: grid; gap: 12px; justify-items: end; }
.mock-page b, .mock-page s, .mock-page u { display: block; border-radius: 6px; background: var(--line-soft); }
.mock-page b { width: 46%; height: 20px; background: var(--line); }
.mock-page s { width: 62%; height: 10px; }
.mock-page s.short { width: 40%; }
.mock-page div { display: flex; gap: 10px; margin-top: 10px; width: 62%; }
.mock-page u { flex: 1; height: 74px; border-radius: 10px; }
.mock-win { position: relative; width: min(340px, 92%); border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.mock-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--brand); color: #fff; }
.mock-ava { width: 38px; height: 38px; border-radius: 12px; background: rgb(255 255 255 / 0.18); display: grid; place-items: center; flex: none; }
.mock-ava svg { width: 20px; height: 20px; }
.mock-title { display: grid; line-height: 1.25; }
.mock-title b { font-size: 15px; font-weight: 650; }
.mock-title small { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; opacity: 0.92; }
.mock-title small i { width: 7px; height: 7px; border-radius: 50%; background: #86efac; }
.mock-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 14px; font-size: 14px; line-height: 1.4; }
.msg { max-width: 84%; padding: 9px 13px; border-radius: 14px; background: var(--paper-2); color: var(--ink); }
.msg.me { align-self: flex-end; background: var(--brand); color: #fff; }
.msg .who { display: block; font-size: 11.5px; font-weight: 650; color: var(--brand-ink); margin-bottom: 2px; }
.note { align-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); padding: 4px 0; }
.mock-input { display: flex; align-items: center; gap: 10px; margin: 0 12px 12px; padding: 8px 8px 8px 12px; border: 1px solid var(--line); border-radius: 14px; font-size: 13.5px; color: var(--ink-3); }
.mock-input > span:first-of-type { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-send { width: 32px; height: 32px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.mock-send .ic { width: 16px; height: 16px; }
.mock-launch { position: absolute; right: 0; bottom: 0; width: 60px; height: 60px; border-radius: 18px; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--brand) 80%, transparent); }
.mock-launch .ic { width: 28px; height: 28px; }

/* ——— полоса «работает с» ——— */
.strip { border-block: 1px solid var(--line); background: var(--paper-2); }
.strip-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; padding-block: 16px; font-size: 15px; }
.strip-in > span { font-weight: 600; color: var(--ink-3); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.strip-in ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.strip-in li { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.strip-in li i { width: 8px; height: 8px; border-radius: 3px; background: var(--brand); }

/* ——— возможности ——— */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; }
.card-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); flex: none; }
.card-ic .ic { width: 24px; height: 24px; }
.card h3 { margin-top: 18px; font-size: 19px; line-height: 1.2; letter-spacing: -0.015em; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }

/* ——— три шага ——— */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px; min-width: 0; }
.step-n { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 21px; font-weight: 720; }
.step h3 { margin-top: 18px; font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.step > p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.step-art { margin-top: auto; padding-top: 22px; }
.signin { display: flex; flex-wrap: wrap; gap: 10px; }
.signin span { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 600; }
.signin b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: #fff; }
.signin .g { background: #2563eb; }
.signin .y { background: #dc2626; }
.code code { display: block; padding: 12px 14px; border-radius: var(--r-s); background: var(--brand-deep); color: #dbe6ff; font: 12.5px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.files { display: flex; flex-wrap: wrap; gap: 8px; }
.files li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); font-size: 14px; font-weight: 600; }

/* ——— кто отвечает ——— */
.deep { background: var(--brand-deep); color: #fff; position: relative; overflow: hidden; }
.deep::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / 0.08) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 80% 30%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 80% 30%, #000, transparent 70%); }
.deep .wrap { position: relative; }
.deep .eyebrow { color: #9dbcff; }
.deep .lead { color: var(--deep-text); }
.who { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: center; }
.who-card { height: 100%; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-l); background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.14); }
.who-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #2563eb; color: #fff; }
.who-ic .ic { width: 26px; height: 26px; }
.who-card h3 { margin-top: 18px; font-size: 24px; letter-spacing: -0.02em; }
.who-card > p { margin-top: 6px; color: var(--deep-text); }
.who-link { display: grid; justify-items: center; gap: 8px; color: #9dbcff; font-size: 13px; text-align: center; max-width: 90px; }
.who-link span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px dashed rgb(157 188 255 / 0.6); }
.ticks { display: grid; gap: 10px; margin-top: 18px; font-size: 15.5px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks .ic { margin-top: 0.15em; color: var(--brand-ink); stroke-width: 2.25; }
.deep .ticks .ic { color: #86efac; }

/* ——— подключения ——— */
.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.link { display: flex; gap: 18px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; }
.link h3 { font-size: 20px; letter-spacing: -0.015em; line-height: 1.25; }
.link h3 small { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-size: 12px; font-weight: 600; letter-spacing: 0; vertical-align: middle; }
.link p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }
.link code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 1px 6px; border-radius: 6px; background: var(--paper-2); white-space: nowrap; }
.link.dev { border-style: dashed; }

/* ——— цены ——— */
.price { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.plan-free { padding: clamp(22px, 2.6vw, 30px); background: var(--brand); color: #fff; }
.plan-main { padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; flex: 1; }
.tag { font-size: 13px; font-weight: 650; letter-spacing: 0.07em; text-transform: uppercase; color: var(--brand-ink); }
.plan-free .tag { color: #dbe6ff; }
.sum { margin-top: 8px; font-size: clamp(38px, 4vw, 52px); font-weight: 720; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.sum small { display: inline-block; font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.plan-free .sum small { color: #dbe6ff; }
.plan-line { margin-top: 4px; font-size: 18px; font-weight: 600; }
.plan-gift { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 0.25); font-size: 15.5px; }
.plan-gift .ic { margin-top: 0.1em; }
.plan-main .ticks { margin-bottom: 24px; }
.plan-main .btn { margin-top: auto; align-self: flex-start; }
.ai { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 2.6vw, 30px); min-width: 0; }
.ai h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.ai-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.ai-opt { display: grid; gap: 14px; align-content: start; padding: 18px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line-soft); }
.ai-opt b { font-size: 17px; line-height: 1.25; display: block; }
.ai-opt p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.models { margin-top: 22px; }
.models table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.models caption { text-align: left; color: var(--ink-2); font-size: 14px; padding-bottom: 10px; }
.models th, .models td { padding: 11px 10px 11px 0; border-top: 1px solid var(--line-soft); text-align: left; white-space: nowrap; }
.models thead th { font-size: 12.5px; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); border-top: 0; }
.models tbody th { font-weight: 650; white-space: normal; }
.models td:last-child { font-weight: 650; color: var(--brand-ink); padding-right: 0; }
.models-hint { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.models-note { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-m); background: var(--brand-soft); color: var(--ink); font-size: 15px; }
.pay { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; margin-top: 20px; padding: 16px 20px; border-radius: var(--r-m); border: 1px dashed var(--line); background: var(--card); font-size: 15px; color: var(--ink-2); }
.pay b { color: var(--ink); }
.pay .ic { color: var(--brand-ink); width: 24px; height: 24px; grid-row: span 2; }

/* ——— вопросы ——— */
.faq { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq > div:first-child { display: grid; gap: 16px; justify-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; font-size: 18px; font-weight: 620; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { color: var(--ink-3); transition: transform 0.2s; }
.faq-list details[open] summary .ic { transform: rotate(180deg); }
.faq-list p { padding: 0 0 22px; color: var(--ink-2); max-width: 68ch; }

/* ——— финал и подвал ——— */
.final { background: var(--brand); color: #fff; text-align: center; }
.final .h2 { max-width: 20ch; margin-inline: auto; }
.final p { color: #e3ecfe; margin: 16px auto 0; max-width: 52ch; font-size: 18px; }
.final .cta { justify-content: center; }
.foot { background: var(--brand-deep); color: #9fb0d6; font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; padding-block: 24px; }
.foot a { text-decoration: none; color: #dbe6ff; padding: 4px 0; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .sp { margin-left: auto; }


/* ——— слайды: крупный номер, заголовок, пояснение и снимок настоящего экрана (как на главной QWISH HR) ——— */
.hero h1 em { display: block; }
.slide { padding-block: clamp(60px, 8.5vw, 124px); position: relative; overflow: hidden; }
.slide-in { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.slide-in.flip .slide-text { order: 2; }
.slide-in.flip { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
.hero-in:has(.shot) { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.slide-n { --n: var(--brand); width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--n); color: #fff; font-size: 42px; line-height: 1; font-weight: 750; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 10px color-mix(in srgb, var(--n) 16%, transparent); }
.slide h2 { margin-top: 36px; font-size: clamp(34px, 4.8vw, 66px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 750; text-wrap: balance; }
.say { margin-top: 24px; font-size: clamp(19px, 1.9vw, 25px); line-height: 1.38; color: var(--ink-2); max-width: 30ch; text-wrap: pretty; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tags li { padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 16px; font-weight: 600; }
.tags code { font: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }
/* цветные слайды светлые в любой теме: свои цвета текста и карточек */
.slide.sky, .slide.mint, .slide.sun, .slide.peach { --ink: #0f1a2e; --ink-2: #33405c; --ink-3: #5d6883; --card: #ffffff; --line: #d5dcec; --line-soft: #e6ebf5; --brand: #2563eb; --brand-ink: #1d4ed8; color: var(--ink); }
.slide.sky { background: #d6e4ff; }
.slide.mint { background: #c4eed8; }
.slide.mint .slide-n { --n: #0c6b52; }
.slide.sun { background: #ffe08a; }
.slide.sun .slide-n { --n: #0f1a2e; }
.slide.sun .say { color: #5c3d00; }
.slide.peach { background: #ffd9c7; }
.slide.peach .slide-n { --n: #b4472a; }
.slide.sky .tags li, .slide.mint .tags li, .slide.sun .tags li, .slide.peach .tags li { border-color: transparent; }
.slide.deep { background: #0b1b45; color: #fff; }
.slide.deep::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / 0.08) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 20% 40%, #000, transparent 70%); pointer-events: none; }
.slide.deep .wrap { position: relative; }
.slide.deep .slide-n { --n: #8fb4ff; color: #0b1b45; }
.slide.deep .say { color: #c2d0ef; }
.slide.deep .tags li { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.16); color: #fff; }

/* снимки настоящих экранов */
.shot { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid #d5dcec; background: #fff; color: #0f1a2e; box-shadow: 0 2px 4px rgb(15 26 46 / 0.05), 0 28px 60px -22px rgb(15 26 46 / 0.34); }
.shot img { display: block; width: 100%; height: auto; }
.shot.bleed { width: 138%; }
.hero .shot.bleed { width: 100%; }
.slide.deep .shot { border-color: transparent; box-shadow: 0 30px 70px -20px rgb(0 0 0 / 0.6); }
/* окно браузера: три точки и строка адреса */
.win figcaption { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #eaeffa; border-bottom: 1px solid #d5dcec; }
.win figcaption i { width: 12px; height: 12px; border-radius: 50%; background: #ee6a5f; }
.win figcaption i:nth-child(2) { background: #f5bd4f; }
.win figcaption i:nth-child(3) { background: #61c454; }
.win figcaption span { margin-left: 14px; padding: 6px 18px; min-width: min(280px, 46%); border-radius: 999px; background: #fff; border: 1px solid #e6ebf5; font-size: 13px; font-weight: 550; color: #44506a; }
/* снимок с подписью — что это за экран */
.view figcaption { display: flex; align-items: center; gap: 9px; padding: 11px 18px; border-bottom: 1px solid #e6ebf5; font-size: 14px; font-weight: 650; color: #44506a; background: #fff; }
.view figcaption .ic { width: 17px; height: 17px; color: #2563eb; }
.views { display: grid; width: 118%; }
.views .shot + .shot { position: relative; width: 78%; margin: -11% 0 0 16%; }
.views .view-over { width: 92% !important; margin: -30px 0 0 6% !important; }
.slide-in.flip .views, .slide-in.flip .flow { width: 100%; }
.slide-in.flip .views .shot + .shot { margin-left: 8%; }
/* диалоги внутри чужой админки */
.crm-in { display: grid; grid-template-columns: 26% 1fr; background: #f3f5f9; }
.crm-in aside { display: grid; align-content: start; gap: 4px; padding: 16px 12px; background: #1b2436; color: #aeb9cf; font-size: clamp(11px, 1vw, 14px); }
.crm-in aside b { color: #fff; font-size: 1.1em; margin-bottom: 10px; }
.crm-in aside span { padding: 7px 10px; border-radius: 8px; }
.crm-in aside .on { background: rgb(255 255 255 / 0.12); color: #fff; font-weight: 600; }
/* телефоны */
.phones { display: flex; justify-content: center; gap: clamp(14px, 2.4vw, 34px); align-items: flex-start; }
.phone { margin: 0; width: min(46%, 270px); border-radius: 38px; border: 9px solid #10182b; background: #10182b; overflow: hidden; box-shadow: 0 30px 60px -24px rgb(15 26 46 / 0.5); }
.phone img { display: block; width: 100%; height: auto; border-radius: 28px; }
.phone.up { margin-top: 54px; }
/* круглые значки сходятся пунктиром к снимку */
.flow { width: 122%; }
.src { display: flex; gap: 36px; padding-left: 40px; }
.src li { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--brand); box-shadow: 0 0 0 5px #fff, 0 10px 22px -8px rgb(15 26 46 / 0.45); }
.src li .ic { width: 28px; height: 28px; }
.src li > svg:not(.ic) { display: block; width: 100%; height: 100%; }
.src text { font-size: 21px; font-weight: 800; fill: currentColor; letter-spacing: -0.04em; }
.src-a { background: #2563eb !important; }
.src-b { background: #0c8a6a !important; }
.src-c { background: #b4472a !important; }
.src-d { background: #0f1a2e !important; }
.src-amo { background: #339dc7 !important; }
.src-tg { background: #229ed9 !important; }
.flow-lines { display: block; height: 52px; margin-left: 40px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow-lines path:first-child { stroke-dasharray: 2 7; }
.flow-lines.four { width: 364px; }
.flow-lines.two { width: 164px; }
.slide.deep .flow-lines { stroke: #8fb4ff; }
.flow .shot { margin-top: 6px; }
.shot.talk { max-width: 520px; }
/* строки кода в окнах */
.codes { display: grid; }
.code-win { margin: 0; border-radius: 20px; overflow: hidden; background: #0f1a2e; color: #dbe6ff; box-shadow: 0 28px 60px -22px rgb(15 26 46 / 0.55); }
.code-win figcaption { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #17233c; font-size: 13px; color: #9fb0d6; }
.code-win figcaption i { width: 11px; height: 11px; border-radius: 50%; background: #ee6a5f; }
.code-win figcaption i:nth-child(2) { background: #f5bd4f; }
.code-win figcaption i:nth-child(3) { background: #61c454; }
.code-win figcaption span { margin-left: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-win pre { margin: 0; padding: 20px 22px 24px; overflow-x: auto; font: 15px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-win .c { color: #7f8fb3; }
.code-win .t { color: #8fb4ff; }
.code-win .a { color: #f5bd4f; }
.code-win .s { color: #86efac; }
.code-win.over { position: relative; width: 78%; margin: -18px 0 0 22%; background: #17233c; }
.code-win.over figcaption { background: #1f2d4b; }

/* появление при прокрутке — только когда работает скрипт и человек не просил убрать движение */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .rise.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ——— планшет ——— */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .hero-in, .faq, .steps, .slide-in { grid-template-columns: minmax(0, 1fr); }
  .slide-in.flip .slide-text { order: 0; }
  .slide-in.flip, .hero-in:has(.shot) { grid-template-columns: minmax(0, 1fr); }
  .shot.bleed, .views, .flow { width: 100%; }
  .say { max-width: 40ch; }
  .hero .lead { max-width: 40ch; }
  .mock { margin-top: 8px; }
  .mock-site { inset: 34px 0 44px 44px; }
  .who { grid-template-columns: minmax(0, 1fr); }
  .who-link { grid-auto-flow: column; max-width: none; justify-content: center; align-items: center; }
  .who-link span { transform: rotate(90deg); }
  .links { grid-template-columns: minmax(0, 1fr); }
}

/* ——— телефон ——— */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top-in { height: 58px; }
  .cta .btn { flex: 1 1 100%; }
  .tags li { font-size: 15px; padding: 8px 14px; }
  .slide-n { width: 64px; height: 64px; font-size: 32px; box-shadow: 0 0 0 8px color-mix(in srgb, var(--n) 16%, transparent); margin-left: 8px; }
  .views .shot + .shot, .views .view-over, .slide-in.flip .views .shot + .shot { width: 100% !important; margin: 14px 0 0 !important; }
  .src { gap: 20px; padding-left: 8px; }
  .src li { width: 54px; height: 54px; }
  .flow-lines { display: none; }
  .flow .shot { margin-top: 18px; }
  .code-win pre { font-size: 13px; padding: 16px; }
  .code-win.over { width: 100%; margin: 14px 0 0; }
  .phone { border-width: 7px; border-radius: 30px; }
  .phone img { border-radius: 22px; }
  .cards, .ai-opts { grid-template-columns: minmax(0, 1fr); }
  .card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 20px; }
  .card .card-ic { grid-row: span 2; }
  .card h3 { margin-top: 0; }
  .card p { grid-column: 2; }
  .link { padding: 20px; gap: 16px; }
  .link h3 small { margin-left: 0; display: table; margin-top: 4px; }
  .step { padding: 22px; }
  .faq-list summary { font-size: 17px; }
  .foot .sp { margin-left: 0; }
  .pay { grid-template-columns: 1fr; }
  .pay .ic { grid-row: auto; }
  .plan-main .btn { align-self: stretch; }
  /* таблица моделей — карточками */
  .models thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .models table, .models caption, .models tbody, .models tr, .models th, .models td { display: block; }
  .models tr { padding: 12px 0; border-top: 1px solid var(--line-soft); }
  .models th, .models td { border: 0; padding: 3px 0; white-space: normal; }
  .models td { display: flex; justify-content: space-between; gap: 12px; }
  .models td::before { content: attr(data-label); color: var(--ink-2); font-weight: 400; }
}
