/* Лендинг kök — минимализм, тёмная и светлая тема, акцент «туман» */
:root, [data-theme="dark"] {
  --bg: #0b0c0e;
  --bg2: #0f1217;
  --glow: #172231;
  --card: #15171b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f1f2f4;
  --soft: #c9ccd2;
  --muted: #a4a9b2;
  --faint: #8d929b;
  --chip: rgba(255, 255, 255, 0.06);
  --head: rgba(11, 12, 14, 0.8);
  --fog: #cfe0ec;
  --fog-ink: #22384d;
  --ink: #111318;
  --rec: #ff5a4f;
  --rose-bg: rgba(232, 163, 154, 0.14);
  --rose-fg: #eab0a8;
  --sand-bg: rgba(226, 196, 130, 0.14);
  --sand-fg: #e2c482;
  color-scheme: dark;
}
[data-theme="light"] {
  --rose-bg: #f8e3e0;
  --rose-fg: #9b4338;
  --sand-bg: #f5ebd5;
  --sand-fg: #7c6326;
  --bg: #f6f7f9;
  --bg2: #eef1f5;
  --glow: #dfe9f2;
  --card: #ffffff;
  --line: rgba(17, 19, 24, 0.09);
  --text: #111318;
  --soft: #2b3038;
  --muted: #555b66;
  --faint: #6b717c;
  --chip: rgba(17, 19, 24, 0.05);
  --head: rgba(246, 247, 249, 0.84);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg); color: var(--text);
  text-rendering: optimizeLegibility;
  font: 400 17px/1.5 Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(44px, 8.4vw, 88px); line-height: 1; letter-spacing: -0.04em; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: 19px; line-height: 1.3; }
.muted { color: var(--faint); }
.small { font-size: 14px; }

/* Темы: какие картинки показывать */
[data-theme="dark"] .on-l, [data-theme="dark"] .logo-l { display: none; }
[data-theme="light"] .on-d, [data-theme="light"] .logo-d { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--fog); color: var(--ink); font: 600 15px Inter, Arial, sans-serif;
  transition: transform .2s ease, background-color .2s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.ghost { background: var(--chip); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn.dark { background: var(--ink); color: #f1f2f4; }
[data-theme="light"] .btn:not(.ghost):not(.dark) { background: var(--ink); color: #f1f2f4; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 10; padding-top: env(safe-area-inset-top, 0px); background: var(--head); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); }
.top-in { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand img { width: 88px; height: auto; }
.nav { display: none; gap: 26px; margin-left: 28px; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.cta-top { display: none; }
.theme { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--chip); color: var(--text); display: grid; place-items: center; cursor: pointer; }
[data-theme="dark"] .i-moon, [data-theme="light"] .i-sun { display: none; }
.langs { display: flex; background: var(--chip); border-radius: 999px; padding: 3px; }
.langs button, .bill button { border: 0; background: none; color: var(--faint); font: 600 12px Inter, Arial, sans-serif; padding: 7px 10px; border-radius: 999px; cursor: pointer; }
.langs button[aria-pressed="true"], .bill button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

/* Первый экран */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto 30%; height: 90%; background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }
.hero-in { position: relative; display: grid; gap: 56px; align-items: center; }
.eyebrow { color: var(--muted); font-weight: 500; font-size: 14px; margin-bottom: 20px; }
.lead { font-size: clamp(18px, 2vw, 20px); color: var(--muted); margin: 22px 0 30px; max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }

.hero-shots { position: relative; padding-right: 12%; }
.shot-web { width: 100%; border-radius: 12px; }
.shot-phone { position: absolute; right: 0; bottom: -6%; width: 28%; }
[data-theme="light"] .shot-web, [data-theme="light"] .feat-media img { filter: drop-shadow(0 18px 40px rgba(17, 19, 24, 0.12)); }

/* Загрузка первого экрана */
.hero-copy > *, .hero-shots { opacity: 0; transform: translate3d(0, 18px, 0); animation: up 1s cubic-bezier(.16, 1, .3, 1) forwards; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .3s; }
.hero-shots { animation-delay: .2s; animation-duration: 1.3s; }
@keyframes up { to { opacity: 1; transform: none; } }

/* Появление при прокрутке */
.rv { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 1s cubic-bezier(.22, .61, .36, 1), transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.rv.in { opacity: 1; transform: none; }
.rv.cut { transform: translate3d(0, 40px, 0) scale(.98); }

/* Секции */
section { padding: 88px 0; }
.sub { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 460px; }
.grid3, .grid4 { display: grid; gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.card p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* Боль: рабочий чат */
.pain-in { display: grid; gap: 40px; align-items: center; }
.chat { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 10px; max-width: 520px; width: 100%; justify-self: end; }
.chat-h { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--faint); padding: 0 4px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.badge { background: var(--rec); color: #fff; font-weight: 600; font-size: 11px; padding: 2px 7px; border-radius: 999px; }
.msg { align-self: flex-start; max-width: 88%; background: var(--chip); border-radius: 16px 16px 16px 4px; padding: 10px 14px; font-size: 15px; line-height: 1.4; display: grid; gap: 2px; }
.msg b { font-size: 12px; font-weight: 600; color: var(--faint); }
.msg.me { align-self: flex-end; background: var(--fog); color: var(--ink); border-radius: 16px 16px 4px 16px; }
.msg.me b { color: var(--fog-ink); }
.typing { font-size: 13px; color: var(--faint); padding-left: 4px; }
.chat .msg, .chat .typing { opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity .6s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
.chat.in .msg, .chat.in .typing { opacity: 1; transform: none; }
.chat.in .msg:nth-of-type(2) { transition-delay: .5s; }
.chat.in .msg:nth-of-type(3) { transition-delay: 1.1s; }
.chat.in .msg:nth-of-type(4) { transition-delay: 1.7s; }
.chat.in .msg:nth-of-type(5) { transition-delay: 2.3s; }
.chat.in .typing { transition-delay: 2.9s; }

.losses { list-style: none; display: grid; margin-top: 56px; border-top: 1px solid var(--line); }
.losses li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.losses p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* Главная мысль */
.statement { padding-top: 24px; }
.plate { background: linear-gradient(160deg, #dbe8f2 0%, var(--fog) 55%, #bfd4e6 100%); color: var(--ink); border-radius: 32px; padding: 36px 22px; }
.statement h2 { font-size: clamp(32px, 5.4vw, 60px); line-height: 1.02; letter-spacing: -0.04em; max-width: 860px; margin-bottom: 36px; }
.pc { background: rgba(255, 255, 255, 0.6); border-radius: 20px; padding: 22px; }
.pc p { color: var(--fog-ink); margin-top: 6px; font-size: 15px; }
.pc.dark { background: var(--ink); color: #f1f2f4; }
.pc.dark p { color: #c9ccd2; }

/* Возможности */
.feat { display: grid; gap: 32px; align-items: center; padding: 44px 0; border-top: 1px solid var(--line); }
.num { display: block; color: var(--faint); font-weight: 500; font-size: 14px; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.feat-copy p { color: var(--muted); font-size: 18px; margin-top: 16px; max-width: 480px; }
.feat-media { display: flex; justify-content: center; }
.feat-media img { width: 100%; }
.feat-media .phone { max-width: 290px; }
.feat-media.pair { gap: 14px; align-items: flex-end; }
.feat-media.pair img:first-child { width: 58%; }
.feat-media.pair .phone { width: 40%; }

/* Макет «Клиент по ссылке»: вёрстка вместо скриншотов, цвета темы */
.feat-media.cl { align-items: flex-end; gap: 14px; }
.cl-card { flex: 1 1 0; min-width: 0; max-width: 360px; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; line-height: 1.35; }
.cl-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cl-t { font-weight: 600; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-pill { flex: none; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--chip); color: var(--soft); }
.cl-video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; background: radial-gradient(120% 90% at 30% 20%, #2a3a4a 0%, #161b22 55%, #0e1116 100%); overflow: hidden; }
.cl-play { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cl-play::after { content: ""; position: absolute; left: 16px; top: 12px; border-left: 12px solid #f1f2f4; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.cl-tc { position: absolute; right: 8px; bottom: 7px; font-size: 11px; font-weight: 600; color: #f1f2f4; background: rgba(0, 0, 0, 0.45); padding: 2px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.cl-bar { position: relative; height: 4px; border-radius: 2px; background: var(--chip); margin: 2px 0 4px; }
.cl-bar b { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--muted); opacity: .5; }
.cl-bar i { position: absolute; top: -3px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 2px var(--muted); z-index: 1; }
.cl-bar i.on { background: var(--fog); box-shadow: none; }
.cl-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.cl-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--chip); color: var(--soft); }
.cl-list li.on { box-shadow: inset 0 0 0 1px var(--fog); color: var(--text); }
.cl-time { flex: none; font-weight: 600; font-size: 12px; color: var(--text); font-variant-numeric: tabular-nums; min-width: 30px; }
.cl-btn { display: flex; align-items: center; justify-content: center; height: 38px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 13px; }
.cl-btn.fog { background: var(--fog); color: var(--ink); }
.cl-phone { position: relative; flex: none; width: 200px; aspect-ratio: 9 / 19; border-radius: 34px; padding: 8px; background: #050607; box-shadow: inset 0 0 0 1.5px #2c3036, 0 24px 50px -24px rgba(0, 0, 0, 0.6); }
.cl-island { position: absolute; left: 50%; top: 15px; width: 58px; height: 17px; margin-left: -29px; border-radius: 10px; background: #000; z-index: 1; }
.cl-screen { height: 100%; border-radius: 27px; background: var(--bg); padding: 44px 12px 14px; display: flex; flex-direction: column; gap: 9px; font-size: 11px; line-height: 1.3; overflow: hidden; }
.cl-k { color: var(--faint); font-size: 10px; }
.cl-h { font-weight: 600; font-size: 15px; color: var(--text); letter-spacing: -0.02em; }
.cl-doc { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.cl-doc i { display: block; height: 5px; width: 100%; border-radius: 3px; background: var(--chip); }
.cl-field { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font-size: 12px; }
.cl-check { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.cl-check i { flex: none; position: relative; width: 14px; height: 14px; border-radius: 4px; background: var(--fog); }
.cl-check i::after { content: ""; position: absolute; left: 4px; top: 2px; width: 4px; height: 7px; border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(45deg); }
.cl-lbl { color: var(--muted); margin-top: auto; }
.cl-code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.cl-code span { display: grid; place-items: center; height: 30px; border-radius: 8px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14px; color: var(--text); font-variant-numeric: tabular-nums; }
.cl-phone .cl-btn { height: 34px; font-size: 12px; }
[data-theme="light"] .cl-phone { background: #111318; box-shadow: inset 0 0 0 1.5px #2c3036, 0 24px 50px -24px rgba(17, 19, 24, 0.35); }
[data-theme="light"] .cl-card { box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -20px rgba(17, 19, 24, 0.18); }
/* Макеты блоков 01, 02, 04, 05 — та же система, что у «Клиента по ссылке» */
.feat > * { min-width: 0; }
.feat-media.mk { align-items: center; }
.feat-media.mk .cl-card { flex: 0 1 420px; max-width: 420px; }
.tg { flex: none; font-style: normal; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--chip); color: var(--soft); white-space: nowrap; }
.tg.fog { background: var(--fog); color: var(--ink); }
.tg.rose { background: var(--rose-bg); color: var(--rose-fg); }
.tg.sand { background: var(--sand-bg); color: var(--sand-fg); }
.mk-tm { flex: none; width: 40px; font-weight: 600; font-size: 13px; color: var(--text); font-variant-numeric: tabular-nums; }
.mk-now { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.mk-now i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--fog); box-shadow: 0 0 0 4px rgba(207, 224, 236, 0.18); }
.mk-tl { list-style: none; position: relative; display: flex; flex-direction: column; gap: 4px; }
.mk-tl::before { content: ""; position: absolute; left: 54px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.mk-tl li { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.mk-tl li > i { flex: none; position: relative; z-index: 1; width: 9px; height: 9px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 3px var(--card); }
.mk-tl li > i.o { background: var(--card); box-shadow: 0 0 0 3px var(--card), inset 0 0 0 1.5px var(--muted); }
.mk-tl li.hot .mk-tm { color: var(--sand-fg); }
.mk-tl li.hot > i { background: var(--sand-fg); }
.mk-tl li div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mk-tl b, .mk-team b { font-weight: 600; font-size: 13px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-tl div span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mk-ph { width: 236px; }
.mk-ph .cl-screen { gap: 10px; padding-top: 42px; }
.mk-nav { display: flex; align-items: center; gap: 8px; }
.mk-nav b { font-size: 13px; font-weight: 600; color: var(--text); }
.mk-back { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--chip); position: relative; }
.mk-back::after { content: ""; position: absolute; left: 9px; top: 7px; width: 6px; height: 6px; border-left: 1.6px solid var(--text); border-bottom: 1.6px solid var(--text); transform: rotate(45deg); }
.mk-stage { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.mk-stage b { font-size: 16px; font-weight: 600; color: var(--text); letter-spacing: -0.02em; }
.mk-steps { display: flex; gap: 4px; }
.mk-steps i { flex: 1; height: 3px; border-radius: 2px; background: var(--chip); }
.mk-steps i.on { background: var(--text); }
.mk-rows { display: flex; flex-direction: column; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.mk-rows div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; font-size: 11px; color: var(--muted); }
.mk-rows div + div { border-top: 1px solid var(--line); }
.mk-rows b { color: var(--text); font-weight: 500; text-align: right; }
.mk-team { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: -4px; }
.mk-team li { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--soft); }
.mk-team li > span:nth-child(2) { flex: 1; }
.mk-av { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); color: var(--text); font-weight: 600; font-size: 10px; }
.mk-team em { font-style: normal; font-size: 10px; font-weight: 600; }
.mk-team em.ok { position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--fog); }
.mk-team em.ok::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(45deg); }
.mk-team em.wait { padding: 2px 7px; border-radius: 999px; background: var(--rose-bg); color: var(--rose-fg); }
.mk-ph .cl-btn { margin-top: auto; height: 34px; font-size: 12px; }

.mk-split { display: flex; gap: 3px; height: 8px; }
.mk-split i { border-radius: 3px; background: var(--chip); }
.mk-split i:first-child { background: var(--fog); }
.mk-sum { display: flex; flex-direction: column; }
.mk-sum div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.mk-sum dt { color: var(--soft); }
.mk-sum dd { margin: 0; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk-sum div:first-child dd::before { content: "+"; }
.mk-sum .tot { margin: 4px -8px; padding: 11px 8px; border: 0; border-radius: 12px; background: var(--fog); }
.mk-sum .tot dt, .mk-sum .tot dd { color: var(--ink); font-weight: 600; font-size: 14px; }
.mk-sum .tot + div { border-top: 0; }
.mk-sum .dim dt, .mk-sum .dim dd { color: var(--faint); font-weight: 500; }

.mk-ai { gap: 10px; }
.mk-q { align-self: flex-end; max-width: 85%; padding: 9px 12px; border-radius: 16px 16px 4px 16px; background: var(--fog); color: var(--ink); font-size: 13px; font-weight: 500; }
.mk-a { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px 16px 16px 4px; background: var(--chip); font-size: 13px; line-height: 1.45; color: var(--soft); }
.mk-a b { color: var(--text); font-weight: 600; }
.mk-a ol { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.mk-who { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--muted); }
.mk-who i { width: 14px; height: 14px; border-radius: 4px; background: var(--fog); }
.mk-time { align-self: flex-end; font-size: 11px; color: var(--faint); }
[data-theme="light"] .feat-media.mk .cl-card { box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -20px rgba(17, 19, 24, 0.18); }

@media (max-width: 759px) {
  .feat-media.cl { flex-direction: column; align-items: stretch; }
  .cl-card { max-width: none; }
  .cl-phone { align-self: center; width: 200px; margin-top: 4px; }
  .feat-media.mk .cl-card { flex-basis: auto; max-width: none; width: 100%; }
  .mk-ph { width: 236px; }
  .mk-tl div span { white-space: normal; }
}

.who h2 { margin-bottom: 32px; max-width: 720px; }

/* Тарифы */
.pr-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.bill { display: flex; background: var(--chip); border-radius: 999px; padding: 4px; }
.bill button { font-size: 14px; padding: 9px 16px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tag { background: var(--chip); color: var(--text); font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 22px; }
.price span { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price small { color: var(--faint); font-size: 14px; }
.for { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 6px 0 10px; flex: 1; }
.plan li { position: relative; padding-left: 24px; color: var(--soft); font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 6px; height: 10px; border: solid var(--faint); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.plan.pro { background: linear-gradient(160deg, #dbe8f2 0%, var(--fog) 55%, #bfd4e6 100%); color: var(--ink); border: 0; }
.plan.pro .price small, .plan.pro .for { color: var(--fog-ink); }
.plan.pro li { color: var(--ink); }
.plan.pro li::before { border-color: var(--ink); }
.note { color: var(--faint); font-size: 14px; margin-top: 22px; max-width: 720px; }

/* Демо */
.demo { padding-top: 24px; }
.demo-in { display: grid; gap: 32px; }
.demo-copy p { color: var(--fog-ink); font-size: 18px; margin: 16px 0 22px; max-width: 440px; }
.wa { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--fog-ink); }
.form input, .form select { height: 50px; border: 1px solid rgba(17, 19, 24, 0.12); border-radius: 14px; background: rgba(255, 255, 255, 0.75); padding: 0 16px; font: 400 16px Inter, Arial, sans-serif; color: var(--ink); width: 100%; appearance: none; }
.form input:focus, .form select:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.form .btn { width: 100%; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: 15px; font-weight: 600; }
.form-msg.good { color: #1f5f3a; }
.form-msg.bad { color: #8a2f22; }
.consent { font-size: 12px; color: var(--fog-ink); }
.consent a { text-decoration: underline; }

/* Подвал */
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; color: var(--faint); font-size: 14px; }
.foot-in img { width: 76px; }
.foot-in a:hover { color: var(--text); }
.foot .langs { margin-left: auto; }
.copy { width: 100%; }

@media (min-width: 760px) {
  .wrap { padding: 0 32px; }
  .grid3 { grid-template-columns: repeat(3, 1fr); }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .losses { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
  .plate { padding: 56px; }
  .demo-in { grid-template-columns: 1fr 1fr; align-items: start; }
  .cta-top { display: inline-flex; margin-left: auto; }
  .theme { margin-left: 0; }
  .copy { width: auto; }
}
@media (min-width: 1000px) {
  section { padding: 120px 0; }
  .hero { padding: 96px 0 104px; }
  .hero-in { grid-template-columns: .9fr 1.3fr; }
  .nav { display: flex; }
  .cta-top { margin-left: 18px; }
  .pain-in { grid-template-columns: 1fr 1fr; }
  .grid4 { grid-template-columns: repeat(4, 1fr); }
  .feat { grid-template-columns: 1fr 1fr; gap: 80px; padding: 64px 0; }
  .feat.rev .feat-copy { order: 2; }
}
/* ── kök Edit (/edit) ── */
/* Название «kök Edit»: надпись kök + «Edit» тем же цветом, по нижнему краю; высота E = высоте «ö» */
.ed-brand { display: inline-flex; align-items: flex-end; gap: 7px; color: var(--text); }
[data-theme="light"] .ed-brand { color: #163659; }
.ed-brand img, .foot-in .ed-brand img { width: auto; height: 24px; }
.ed-brand .brand-suf { font-weight: 600; font-size: 23px; line-height: .73; letter-spacing: -0.02em; color: currentColor; }
.ed-brand.sm { gap: 5px; }
.ed-brand.sm img, .foot-in .ed-brand.sm img { height: 18px; }
.ed-brand.sm .brand-suf { font-size: 17px; }
.ed .hero-shots { padding-right: 0; }
.ed h1 { font-size: clamp(40px, 6.4vw, 76px); max-width: 980px; }
.ed .hero-in { grid-template-columns: 1fr; gap: 48px; }
.ed .lead { max-width: 680px; }
.shot-app { width: 100%; border-radius: 14px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7); }
[data-theme="light"] .shot-app { box-shadow: 0 30px 70px -30px rgba(17, 19, 24, 0.35); }
.ed .pains .losses { grid-template-columns: 1fr; }
.faq-list { margin-top: 32px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--faint); font-weight: 400; font-size: 22px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { color: var(--muted); margin-top: 10px; max-width: 640px; }

.mods-sec h2 { max-width: 720px; }
.mod-tag { color: var(--faint); font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.mod.kok .num { color: var(--ink); background: var(--fog); border-radius: 999px; padding: 3px 10px; justify-self: start; font-weight: 600; }
.shots-row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 32px; padding-bottom: 8px; }
.shots-row figure { flex: 0 0 74%; scroll-snap-align: start; }
.shots-row img { width: 100%; border-radius: 16px; border: 1px solid var(--line); }
.shots-row figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }
.mods { list-style: none; margin-top: 48px; border-top: 1px solid var(--line); }
.mod { display: grid; gap: 14px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.mod .num { margin: 0; }
.mod h3 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; }
.mod-copy p { color: var(--muted); font-size: 17px; margin-top: 10px; max-width: 520px; }
.mod.ai .num { color: var(--ink); background: var(--fog); border-radius: 999px; padding: 3px 10px; justify-self: start; font-weight: 600; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ticks li { position: relative; padding-left: 24px; color: var(--soft); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 6px; height: 10px; border: solid var(--faint); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.grid2 { display: grid; gap: 14px; }
.btn.dl { gap: 8px; }
.demo-copy .btn.dl { margin: 4px 0 10px; }
.dl-note { color: var(--fog-ink); font-size: 13px !important; margin: 0 0 22px !important; opacity: .85; }
.help-h { margin: 0 0 6px !important; font-size: 15px !important; }

@media (min-width: 760px) {
  .shots-row figure { flex-basis: 40%; }
  .ed .pains .losses { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .grid2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .shots-row { display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; overflow: visible; }
  .ed .pains .losses { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
  .mod { grid-template-columns: 80px 1.2fr 1fr; gap: 40px; align-items: start; padding: 44px 0; }
  .ticks { padding-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-copy > *, .hero-shots, .rv, .chat .msg, .chat .typing { opacity: 1 !important; transform: none !important; }
}

/* Телефон: кнопки первого экрана одной ширины, подвал ровными колонками */
@media (max-width: 759px) {
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .btn { width: 100%; }
  .foot-in { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-items: start; }
  .foot-in > img, .foot-in > a[href^="mailto:"], .foot-in .langs, .foot-in .copy { grid-column: 1 / -1; }
  .foot-in > img { margin-bottom: 6px; }
  .foot .langs { margin-left: 0; justify-self: start; margin-top: 6px; }
}
