/* РемCRM — главная страница v2 (ноябрь 2026).
   Самодостаточный файл: assets/style.css по-прежнему используется подстраницами
   (блог, ниши), а главная подключает только этот. */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f5f2;
  --bg-dark: #0f0f12;
  --text: #111114;
  --text-2: #4b4b53;
  --text-3: #8a8a93;
  --line: #e8e6e1;
  --line-dark: rgba(255, 255, 255, 0.1);
  --accent: #ff6a1f;
  --accent-d: #e4560f;
  --accent-soft: #fff1e8;
  --green: #15a36a;
  --green-soft: #e7f8f0;
  --red: #d93b3b;
  --r: 14px;
  --r-lg: 20px;
  --ff: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }
ul { list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 18px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  white-space: nowrap; transition: background .15s, border-color .15s, color .15s;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-d); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--text); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #2a2a30; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }

/* ——— Nav ——— */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 14px;
}
/* Логотип в шапке и подвале («Рулетка»: название стоит на ленте, выходящей из квадрата с «Р») описан в logo.css —
   он один на все страницы сайта и подключается следом за этим файлом. Здесь остались только .brand и .brand-mark
   как основа: простой квадрат с «Р» нужен макету экрана в первом блоке (.af-logo). */
.nav-links { display: flex; gap: 24px; margin-left: 8px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-cta .login { font-size: 14px; font-weight: 500; color: var(--text-2); padding: 8px 12px; white-space: nowrap; }
.nav-cta .login:hover { color: var(--text); }
/* «Войти» и «Регистрация» стоят парой: между ними свой, меньший промежуток, чтобы не расползались по шапке. */
.nav-cta .login-reg { margin-left: -8px; }
/* На узком ноутбуке и планшете «Регистрация» из шапки уходит раньше остального: иначе пункты меню переносятся в две строки
   (длиннее всего шапка у страниц историй). Регистрация остаётся на первом экране, в полосах и в мобильном меню. */
@media (max-width: 1000px) { .nav-cta .login-reg { display: none; } }
.burger { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; pointer-events: none; }
.mob-menu { display: none; padding: 6px 24px 16px; border-top: 1px solid var(--line); background: #fff; }
.mob-menu.open { display: flex; flex-direction: column; gap: 2px; }
.mob-menu a { padding: 11px 0; font-size: 15px; color: var(--text-2); }
.mob-menu a.btn-accent { color: #fff; text-align: center; margin-top: 8px; }
@media (max-width: 900px) {
  .nav-links, .nav-cta .login { display: none; }
  .burger { display: flex; }
}

/* ——— Section rhythm ——— */
.sec { padding: 88px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-dark { background: var(--bg-dark); color: #fff; }
.sec-head { max-width: 680px; margin-bottom: 44px; }
.sec-head.c { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.sec-dark .kicker { color: #ffb48a; }
h2.h2 {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12;
  margin-bottom: 14px;
}
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--text-2); }
.sec-dark .lead { color: rgba(255, 255, 255, 0.72); }
@media (max-width: 640px) { .sec { padding: 64px 0; } .sec-head { margin-bottom: 32px; } }

/* ——— Hero (центр, как у Notion) ——— */
.hero { padding: 52px 0 44px; overflow: hidden; }
.hero .container { text-align: center; }
.hero .container.wide { max-width: 1180px; }
.hero-eyebrow { max-width: 700px; margin: 0 auto 16px; font-size: 13px; line-height: 1.5; color: var(--text-2); opacity: .85; text-align: center; text-wrap: balance; }
.hero-h1 {
  font-size: clamp(34px, 5.4vw, 62px); line-height: 1.04; font-weight: 800; letter-spacing: -0.04em;
  margin: 0 auto 16px; max-width: 15em; text-wrap: balance;
}
.only-wide { display: none; }
@media (min-width: 900px) { .only-wide { display: inline; } }
.swap {
  display: inline-flex; align-items: center; justify-content: center; vertical-align: baseline;
  background: var(--accent-soft); color: var(--accent-d);
  border-radius: 999px; padding: 0 .32em; line-height: 1.08; min-width: 4.9em;
}
.swap i { display: none; }
.swap-word { display: inline-block; transition: opacity .25s, transform .25s; }
.swap-word.out { opacity: 0; transform: translateY(.25em); }
.hero-sub { font-size: clamp(16px, 1.4vw, 18px); color: var(--text-2); max-width: 720px; margin: 0 auto 22px; text-wrap: balance; }
.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
/* На телефоне две кнопки первого экрана встают столбиком и одной ширины: иначе короткая оранжевая висит над более широкой контурной. */
@media (max-width: 520px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 300px; }
  .hero-cta .btn-accent { border: 1px solid transparent; }  /* та же высота, что у контурной с её рамкой */
}
.btn-soft { background: var(--bg-soft); color: var(--text); }
.btn-soft:hover { background: #ebe9e4; }
.hero-note { font-size: 13px; color: var(--text-3); margin-top: 14px; }
.hero-note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.hero-note a:hover { color: var(--text); }
/* В строке под кнопками названы оба входа: слова «Демо» и «Регистрация» чуть темнее, чтобы строка читалась как подпись к двум кнопкам. */
.hero-note b { color: var(--text-2); font-weight: 600; }
.hero-how { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--text-2); border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.hero-how span { transition: transform .2s; }
.hero-how:hover { color: var(--text); border-color: var(--text); }
.hero-how:hover span { transform: translateY(2px); }

/* Цифры о продукте под хиро */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 200px)); justify-content: center; gap: 24px 36px; margin: 36px auto 0; }
.stats div { text-align: center; display: grid; grid-template-rows: auto auto auto; grid-row: span 3; row-gap: 0; }
@supports (grid-template-rows: subgrid) { .stats div { grid-template-rows: subgrid; } }
.stats b { display: block; font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--text); margin-bottom: 10px; white-space: nowrap; }
.stats span { display: block; font-size: 14px; line-height: 1.35; color: var(--text); font-weight: 600; min-height: 2.7em; margin-bottom: 4px; }
.stats small { display: block; font-size: 12px; line-height: 1.4; color: var(--text-3); text-wrap: balance; align-self: start; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; margin-top: 40px; } }
.stats-note { margin: 22px auto 0; max-width: 640px; font-size: 12px; color: var(--text-3); }

/* Большой экран продукта */
.app-frame {
  position: relative; margin: 40px auto 0; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 60px -30px rgba(17, 17, 20, .25);
  font-size: 12px; overflow: visible;
}
.af-bar { display: flex; align-items: center; gap: 6px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); border-radius: 16px 16px 0 0; }
.af-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.af-url { margin-left: auto; margin-right: auto; font-size: 11px; color: var(--text-3); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 3px 14px; }
.af-body { display: grid; grid-template-columns: 220px 1fr; min-height: 440px; }
.af-side { border-right: 1px solid var(--line); padding: 16px 14px; background: #fbfaf8; }
.af-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; margin-bottom: 18px; }
.af-logo .brand-mark { width: 22px; height: 22px; border-radius: 6px; font-size: 11px; }
.af-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.af-nav span { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: 8px; color: var(--text-2); font-weight: 500; }
.af-nav span.on { background: #fff; color: var(--text); border: 1px solid var(--line); font-weight: 600; }
.af-nav em { font-style: normal; font-size: 10px; font-weight: 700; background: var(--line); border-radius: 999px; padding: 1px 7px; color: var(--text-2); }
.af-nav em.r { background: #fdecec; color: var(--red); }
.af-sub { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin: 0 10px 8px; }
.af-obj { padding: 9px 10px; border-radius: 8px; margin-bottom: 2px; }
.af-obj b { display: block; font-size: 12px; font-weight: 600; }
.af-obj span { display: block; font-size: 11px; color: var(--text-3); margin-top: 1px; }
.af-obj.on { background: var(--accent-soft); }
.af-obj.on span { color: var(--accent-d); }
.af-main { padding: 18px 22px 22px; min-width: 0; overflow: hidden; }
.af-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.af-ttl { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.af-meta { color: var(--text-3); font-size: 12px; margin-top: 2px; }
.af-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.af-chips span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; color: var(--text-3); font-size: 11px; }
.af-chips span b { color: var(--text); font-weight: 700; margin-left: 4px; font-variant-numeric: tabular-nums; }
.af-chips span.g { background: var(--green-soft); border-color: transparent; color: #0e6b45; }
.af-chips span.g b { color: var(--green); }
.af-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow: hidden; }
.af-tabs span { padding: 8px 12px; color: var(--text-3); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.af-tabs span.on { color: var(--text); font-weight: 600; border-color: var(--accent); }
.af-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.af-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.af-row { display: grid; grid-template-columns: 1fr 70px 90px; gap: 8px; padding: 9px 14px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.af-row span:nth-child(2), .af-row span:nth-child(3) { text-align: right; font-variant-numeric: tabular-nums; }
.af-row span:nth-child(3) { color: var(--text); font-weight: 600; }
.af-row.h { background: var(--bg-soft); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.af-row.h span:nth-child(3) { color: var(--text-3); font-weight: 700; }
.af-row.rm { background: #fbfaf8; font-weight: 600; color: var(--text); }
.af-row.t { border-bottom: none; background: var(--bg-soft); font-weight: 700; color: var(--text); }
.af-right { display: flex; flex-direction: column; gap: 10px; }
.af-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.af-card.ok { background: var(--green-soft); border-color: transparent; }
.af-card.ok .af-ct { color: #0e6b45; }
.af-ct { font-weight: 600; font-size: 12px; margin-bottom: 8px; }
.af-cs { font-size: 11px; color: var(--text-3); }
.af-card.ok .af-cs { color: #0e6b45; opacity: .8; }
.af-bar2 { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-bottom: 6px; }
.af-bar2 i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.af-exp { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 11px; }
.af-exp:first-of-type { border-top: none; }
.af-exp b { color: var(--red); font-weight: 600; font-variant-numeric: tabular-nums; }
.app-frame .mock-phone { position: absolute; left: 18px; bottom: -28px; transform: rotate(-5deg); box-shadow: 0 20px 50px -20px rgba(17,17,20,.35); background: #fff; }
.af-body { min-height: 560px; }

/* ——— Живой макет: сценарий в landing.js добавляет классы .show / .press ——— */
.af-card.warn { background: #fff7e6; border-color: transparent; }
.af-card.warn .af-ct, .af-card.warn .af-cs { color: #8a5a00; }
.af-card.warn .af-cs { opacity: .8; }
.af-card.pop { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.af-card.pop.show { opacity: 1; transform: none; }
.af-exp.new { max-height: 0; padding-top: 0; padding-bottom: 0; border-top-width: 0; opacity: 0; overflow: hidden; transition: max-height .45s ease, padding .45s ease, opacity .35s ease .1s; }
.af-exp.new.show { max-height: 32px; padding-top: 6px; padding-bottom: 6px; opacity: 1; }
.af-exp.new:not(.show) + .af-exp { border-top: none; }
.af-exp.new.show + .af-exp { border-top: 1px solid var(--line); }
.af-bar2 i { transition: width .9s cubic-bezier(.2, .7, .2, 1); }
.af-chips span b, .af-nav em { transition: color .3s; }
.af-chips span b.tick { color: var(--accent-d); }
.mock-phone .big-btn { transition: transform .15s ease, background .15s ease; }
.mock-phone .big-btn.press { transform: scale(.96); background: var(--accent-soft); }
.mock-phone .photos span { background: linear-gradient(135deg, #e9e3da, #cdc4b5); opacity: 0; transform: scale(.7); transition: opacity .35s ease, transform .35s cubic-bezier(.2, .8, .3, 1.2); }
.mock-phone .photos span:nth-child(2) { transition-delay: .12s; }
.mock-phone .photos span:nth-child(3) { transition-delay: .24s; }
.mock-phone .photos.show span { opacity: 1; transform: none; }
.mock-phone .cap { opacity: 0; transition: opacity .35s ease .3s; }
.mock-phone .cap.show { opacity: 1; }
.app-frame.no-anim * { transition: none !important; animation: none !important; }

/* вкладки объекта */
.af-pane { display: none; }
.af-pane.on { display: block; animation: afFade .4s ease; }
.af-row em { font-style: normal; font-size: 10px; font-weight: 700; color: var(--accent-d); background: var(--accent-soft); border-radius: 999px; padding: 1px 7px; margin-left: 4px; }
.af-row.hi { background: #fff8f3; }
.af-pane.on.af-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.af-ph { position: relative; border-radius: 10px; overflow: hidden; }
.af-ph i { display: block; height: 86px; background: linear-gradient(135deg, #e9e3da, #cdc4b5); }
.af-ph:nth-child(2) i { background: linear-gradient(135deg, #e3ddd3, #bfb5a5); }
.af-ph:nth-child(3) i { background: linear-gradient(160deg, #ece6de, #d3cabb); }
.af-ph:nth-child(5) i { background: linear-gradient(135deg, #dcd6cc, #b8ae9e); }
.af-ph span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 6px; font-size: 10px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.af-ph.new::after { content: "новое"; position: absolute; top: 6px; left: 6px; font-size: 9px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 999px; padding: 2px 7px; }
.af-phfoot { grid-column: 1 / -1; font-size: 11px; color: var(--text-3); padding-top: 2px; }

/* сцены */
.af-scene { display: none; }
.af-scene.on { display: block; animation: afFade .45s ease; }
@keyframes afFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.af-side .client { display: none; }
.app-frame.scene-client .af-side .staff { display: none; }
.app-frame.scene-client .af-side .client { display: block; animation: afFade .45s ease; }
.af-rules { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; font-size: 11px; color: var(--text-3); }
.af-rules b { color: var(--text-2); font-weight: 600; margin-right: 4px; }
.af-rules span { border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.af-nav em.r.quiet { background: var(--line); color: var(--text-2); }
.af-chips span.w { background: #fff7e6; border-color: transparent; color: #8a5a00; }
.af-chips span.w b { color: #8a5a00; }

/* риски */
.af-risks { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.af-rk { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); transition: background .5s ease; }
.af-rk:last-child { border-bottom: none; }
.af-rk i { width: 10px; height: 10px; border-radius: 50%; background: #f0a82a; box-shadow: 0 0 0 3px #fff3d6; transition: background .5s, box-shadow .5s; }
.af-rk.ok i { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.af-rk b { display: block; font-size: 12px; font-weight: 600; color: var(--text); }
.af-rk span { display: block; font-size: 11px; color: var(--text-3); margin-top: 2px; }
.af-rk em { font-style: normal; font-size: 11px; font-weight: 600; color: #8a5a00; background: #fff7e6; border-radius: 999px; padding: 3px 9px; white-space: nowrap; transition: background .5s, color .5s; }
.af-rk.ok em { color: var(--green); background: var(--green-soft); }
.af-rk.warn { background: #fffdf8; }
.af-rk.ok { background: #fff; }

/* заказчик по ссылке */
.af-bar2.big { height: 8px; margin: 2px 0 16px; }
.af-grid.cl { grid-template-columns: 1fr 1.1fr; }
.af-stages { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.af-st { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.af-st:last-child { border-bottom: none; }
.af-st i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); transition: background .4s, border-color .4s; }
.af-st.done i { background: var(--green); border-color: var(--green); }
.af-st.cur i { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.af-st.done.cur i { box-shadow: none; }
.af-st b { display: block; font-size: 12px; font-weight: 600; }
.af-st span { display: block; font-size: 11px; color: var(--text-3); margin-top: 1px; }
.af-st.cur span { color: var(--accent-d); }
.af-st.done span { color: var(--text-3); }
.af-sign { border: 1px solid var(--line); border-radius: 12px; padding: 14px; position: relative; overflow: hidden; }
.af-sphotos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.af-sphotos span { height: 42px; border-radius: 8px; background: linear-gradient(135deg, #e9e3da, #cdc4b5); }
.af-code { display: flex; align-items: center; gap: 6px; margin: 12px 0 10px; }
.af-code span { width: 34px; height: 38px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; transition: border-color .2s, background .2s; }
.af-code span.f { border-color: var(--text); background: var(--bg-soft); }
.af-code em { font-style: normal; font-size: 11px; color: var(--text-3); margin-left: 6px; }
.af-btn { background: var(--accent); color: #fff; font-weight: 700; font-size: 12px; text-align: center; padding: 11px; border-radius: 10px; transition: transform .15s, filter .15s; }
.af-btn.press { transform: scale(.97); filter: brightness(.92); }
.af-signed { position: absolute; inset: 0; background: var(--green-soft); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 16px; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.af-signed b { font-size: 14px; color: #0e6b45; margin-bottom: 4px; }
.af-signed span { font-size: 11px; color: #0e6b45; opacity: .85; }
.af-sign.done .af-signed { opacity: 1; transform: none; }

/* курсор */
.af-cursor { position: absolute; left: 0; top: 0; width: 18px; height: 18px; opacity: 0; pointer-events: none; z-index: 5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6.5 1.5L10 19z' fill='%23111114' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .7s cubic-bezier(.3, .8, .3, 1), opacity .3s ease; }
.af-cursor.show { opacity: 1; }
.af-cursor.click { animation: afClick .3s ease; }
@keyframes afClick { 50% { scale: .8; } }
@media (max-width: 1000px) { .af-cursor { display: none; } .af-grid.cl { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .af-body { grid-template-columns: 1fr; } .af-side { display: none; } .af-grid { grid-template-columns: 1fr; } .app-frame .mock-phone { display: none; } }
@media (max-width: 640px) { .app-frame { margin-top: 36px; } .af-main { padding: 14px; } .af-row { grid-template-columns: 1fr 56px 78px; padding: 8px 10px; } }

/* Бегущая строка */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; padding: 16px 0; position: relative; z-index: 1; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--text-3); white-space: nowrap; }
.marquee-track span:first-child, .marquee-track span:nth-child(10) { color: var(--text); font-weight: 600; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ——— Три карточки (как у Контура) ——— */
.sec-tight { padding: 56px 0 24px; }
.kcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kcard { background: var(--bg-soft); border-radius: var(--r-lg); padding: 22px 26px 28px; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.kcard:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(17, 17, 20, .3); }
.kcard h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.kcard p { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.kc-num { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--accent); margin-bottom: 8px; }
/* мини-виджеты в карточках */
.kc-viz { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 20px; height: 124px; display: flex; flex-direction: column; justify-content: center; gap: 10px; font-size: 12px; }
.kc-tpls { display: flex; flex-wrap: wrap; gap: 6px; }
.kc-tpls span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--text-2); font-weight: 500; white-space: nowrap; }
.kc-tpls span.on { background: var(--accent-soft); border-color: transparent; color: var(--accent-d); font-weight: 600; }
.kc-calc { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--text-3); }
.kc-calc b { color: var(--text); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.kc-calc i { font-style: normal; color: var(--text-3); }
.kc-calc b:last-child { color: var(--accent-d); }
.kc-scale { position: relative; display: flex; gap: 3px; height: 8px; margin: 8px 0 14px; }
.kc-scale i { flex: 1; border-radius: 4px; }
.kc-scale i.r { background: #f3b4b4; } .kc-scale i.o { background: #f6d28c; } .kc-scale i.g { background: #b7e3cc; }
.kc-scale b { position: absolute; top: -5px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--green); box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.kc-mrow { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.kc-mrow em { font-style: normal; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.kc-mrow em.g { color: var(--green); }
.kc-th { margin-left: auto; font-size: 11px; color: var(--text-3); }
.kc-sms { display: flex; align-items: center; gap: 6px; }
.kc-sms span { width: 32px; height: 36px; border: 1px solid var(--text); border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: 15px; background: #fff; }
.kc-sms em { font-style: normal; margin-left: 6px; color: var(--text-3); font-size: 11px; }
.kc-ok { background: var(--green-soft); color: #0e6b45; font-weight: 600; border-radius: 8px; padding: 7px 10px; font-size: 11px; }
/* ——— Под ваш тип работ ——— */
.segs { padding-top: 48px; }
.segs-grid { display: grid; grid-template-columns: minmax(260px, 320px) 1fr; gap: 40px 48px; align-items: start; }
.segs-intro { position: sticky; top: 90px; }
.segs-intro .h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -0.025em; margin: 10px 0 14px; }
.segs-intro .hl { color: var(--accent); }
.segs-intro .lead { font-size: 15px; margin-bottom: 26px; }
.segs-all { display: inline-block; margin-top: 22px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line); }
.segs-all:hover { border-color: var(--text); }
.segs-stack { position: relative; height: 168px; }
.ss { position: absolute; left: 0; width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; box-shadow: 0 10px 30px -18px rgba(17,17,20,.35); transition: transform .3s ease; }
.ss b { display: block; font-size: 12px; font-weight: 700; }
.ss span { display: block; font-size: 11px; color: var(--text-3); margin-top: 2px; }
.ss1 { top: 0; transform: rotate(-3deg); }
.ss2 { top: 56px; left: 30px; transform: rotate(2deg); }
.ss3 { top: 112px; left: 10px; transform: rotate(-1deg); background: var(--green-soft); border-color: transparent; }
.ss3 b, .ss3 span { color: #0e6b45; }
.segs-intro:hover .ss1 { transform: rotate(-5deg) translateX(-4px); }
.segs-intro:hover .ss2 { transform: rotate(3deg) translateX(6px); }
.segs-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.seg { display: block; background: var(--bg-soft); border-radius: var(--r-lg); padding: 22px 22px 24px; color: inherit; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.seg:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(17,17,20,.3); background: #fff; outline: 1px solid var(--line); }
.seg-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-d); display: grid; place-items: center; margin-bottom: 14px; }
.seg-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.seg h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.seg p { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.seg h3 { position: relative; padding-right: 24px; }
.seg h3::after { content: "→"; position: absolute; right: 0; top: 0; color: var(--accent); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.seg:hover h3::after { transform: none; }
.seg:hover h3::after { opacity: 1; }
@media (max-width: 1000px) { .segs-grid { grid-template-columns: 1fr; } .segs-intro { position: static; } .segs-stack { display: none; } .segs-intro .lead { margin-bottom: 0; } .segs-all { margin-top: 12px; } }
@media (max-width: 640px) { .segs-cards { grid-template-columns: 1fr; } }

@media (max-width: 860px) { .kcards { grid-template-columns: 1fr; } .sec-tight { padding: 40px 0 8px; } }

/* ——— Широкие блоки (как у Контура) ——— */
h2.h2.left { text-align: left; max-width: 760px; margin-bottom: 28px; }
.kblocks { display: flex; flex-direction: column; gap: 16px; }
.kblock { border-radius: 24px; padding: 40px 40px 0; overflow: hidden; }
.kblock.soft { background: var(--bg-soft); }
.kblock.dark { background: var(--bg-dark); color: #fff; }
.kb-text { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; margin-bottom: 32px; }
.kb-text h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.kb-text p { font-size: 16px; line-height: 1.55; color: var(--text-2); }
.kblock.dark .kb-text p { color: rgba(255,255,255,.78); }
.kb-text .no { grid-column: 2; font-size: 13px; color: var(--text-3); margin-top: -16px; padding-top: 10px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .kb-text .no { grid-column: 1; margin-top: 0; } }
.kb-text .no b { color: var(--text-2); font-weight: 600; }
.kblock.dark .kb-text .no { border-color: var(--line-dark); color: rgba(255,255,255,.55); }
.kblock.dark .kb-text .no b { color: rgba(255,255,255,.8); }
.kb-shot { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-bottom: none; border-radius: 16px 16px 0 0; box-shadow: 0 -8px 40px -20px rgba(17,17,20,.2); }
.kblock.dark .kb-shot { border-color: var(--line-dark); }
.kb-shot .ms { padding: 20px 22px 26px; font-size: 13px; gap: 10px; }
.kb-shot .ms .grid span { height: 72px; }
@media (max-width: 860px) { .kblock { padding: 28px 22px 0; border-radius: 18px; } .kb-text { grid-template-columns: 1fr; gap: 14px; margin-bottom: 24px; } }

/* Телефон исполнителя (CSS-макет) */
.mock-phone {
  width: 190px; flex-shrink: 0; background: #fff; border: 2px solid var(--text); border-radius: 26px;
  padding: 12px 10px; font-size: 11px;
}
.mock-phone .notch { width: 48px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 12px; }
.mock-phone .ttl { font-weight: 700; font-size: 12px; margin-bottom: 2px; }
.mock-phone .sub { color: var(--text-3); margin-bottom: 10px; }
.mock-phone .big-btn {
  display: flex; align-items: center; gap: 8px; padding: 12px 10px; border-radius: 12px; margin-bottom: 6px;
  font-weight: 600; font-size: 12px; background: var(--bg-soft);
}
.mock-phone .big-btn i { width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0; background: var(--accent-soft); }
.mock-phone .big-btn.a { background: var(--accent); color: #fff; }
.mock-phone .big-btn.a i { background: rgba(255,255,255,.3); }
.mock-phone .photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 10px; }
.mock-phone .photos span { height: 36px; border-radius: 6px; background: var(--line); }
.mock-phone .cap { margin-top: 6px; color: var(--text-3); font-size: 10px; text-align: center; }

/* ——— Телефон бригады: блок про приложение ——— */
.app-head { max-width: 720px; margin-bottom: 40px; }
.app-head .lead { margin-bottom: 22px; }
.app-stores { display: flex; flex-wrap: wrap; gap: 10px; }
.app-stores[hidden] { display: none; }
.store svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }
.store.soon { cursor: default; user-select: none; }
.store.soon small { color: #ffb48a; font-weight: 600; }
.app-now { margin-top: 16px; max-width: 620px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.app-now b { color: var(--text); }
.app-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .app-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .app-cards { grid-template-columns: 1fr; } }
.acard { position: relative; isolation: isolate; height: 450px; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-dark); color: #fff; padding: 28px 18px 0; display: flex; flex-direction: column; }
.acard::before { content: ""; position: absolute; z-index: -1; left: -25%; right: -25%; bottom: -34%; height: 78%; background: radial-gradient(closest-side, rgba(255,106,31,.6), rgba(255,106,31,0)); }
.acard.g::before { background: radial-gradient(closest-side, rgba(21,163,106,.6), rgba(21,163,106,0)); }
.acard h3 { text-align: center; font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 20px; text-wrap: balance; }
.acard.flip { padding: 0 18px 28px; flex-direction: column-reverse; }
.acard.flip h3 { margin: 20px 0 0; }
.acard.brand { justify-content: center; align-items: center; text-align: center; padding: 28px 18px; }
/* знак приложения: корпус рулетки с концом ленты и зацепом — тот же, что в значке вкладки (favicon.svg) */
.ab-mark { width: 76px; height: 64px; margin-bottom: 16px; font-size: 0; color: transparent; user-select: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='3 8 59.2 50'%3E%3Cpath fill='%23ffc93c' d='M49 46.5h11.5V56H49Z'/%3E%3Cpath fill='%23111114' d='M53.7 46.5h1.1v4.2h-1.1ZM56.8 46.5h1.1v2.6h-1.1Z'/%3E%3Crect x='60' y='44.2' width='2.2' height='13.8' rx='.6' fill='%23fff'/%3E%3Cpath fill='%23ff6a1f' d='M15 8H39a12 12 0 0 1 12 12V53a3 3 0 0 1-3 3H15A12 12 0 0 1 3 44V20A12 12 0 0 1 15 8Z'/%3E%3Cpath fill='%23fff' fill-rule='evenodd' transform='translate(17 19.1) scale(.86)' d='M0 0H12.9a10.3 10.3 0 0 1 0 20.6H7.1V30H0ZM7.1 5.75H11.4a4.55 4.55 0 0 1 0 9.1H7.1Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ab-name { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; }
.ab-sub { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 26px; }
.ab-btns { display: grid; gap: 6px; width: 100%; max-width: 200px; }
.ab-btns span { padding: 10px 12px; border-radius: 11px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: 12px; font-weight: 600; }
.ab-btns span:first-child { background: #fff; border-color: #fff; color: var(--text); }
.aph { position: relative; flex: 1; min-height: 0; width: 100%; max-width: 236px; margin: 0 auto; overflow: hidden; background: #fff; color: var(--text); border: 5px solid #2b2b33; border-bottom: none; border-radius: 30px 30px 0 0; padding: 26px 12px 0; font-size: 11px; line-height: 1.35; text-align: left; box-shadow: 0 -10px 40px rgba(0,0,0,.35); }
.aph::before { content: ""; position: absolute; top: 9px; left: 50%; width: 54px; height: 6px; margin-left: -27px; border-radius: 3px; background: #2b2b33; }
.acard.flip .aph { border-top: none; border-bottom: 5px solid #2b2b33; border-radius: 0 0 30px 30px; padding: 16px 12px 22px; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.acard.flip .aph::before { top: auto; bottom: 8px; width: 70px; height: 4px; margin-left: -35px; background: var(--line); }
.aph-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.aph-top b { font-size: 14px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.aph-top span { color: var(--text-3); font-size: 10px; white-space: nowrap; }
.aph-task { border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; margin-bottom: 8px; }
.aph-task.on { border-color: transparent; background: var(--accent-soft); }
.aph-task em { display: block; font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-d); margin-bottom: 3px; }
.aph-task em.n { color: var(--text-3); }
.aph-task b { display: block; font-size: 12px; font-weight: 700; }
.aph-task span { display: block; font-size: 10px; color: var(--text-2); }
.aph-task small { font-size: 10px; color: var(--text-2); }
.aph-prog { height: 4px; border-radius: 2px; background: rgba(17,17,20,.1); margin: 8px 0 4px; overflow: hidden; }
.aph-prog i { display: block; height: 100%; border-radius: 2px; background: var(--accent); }
.aph-btn { background: var(--accent); color: #fff; font-weight: 700; font-size: 12px; text-align: center; padding: 11px; border-radius: 11px; margin-bottom: 8px; }
.aph-sum { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; text-align: center; margin: 2px 0 10px; font-variant-numeric: tabular-nums; }
.aph-sum i { font-style: normal; font-size: 22px; font-weight: 600; color: var(--text-3); }
.aph-chips { display: flex; gap: 4px; justify-content: center; margin-bottom: 10px; }
.aph-chips span { padding: 4px 7px; border-radius: 999px; border: 1px solid var(--line); font-size: 10px; color: var(--text-2); white-space: nowrap; }
.aph-chips span.on { background: var(--text); border-color: var(--text); color: #fff; font-weight: 600; }
.aph-chk { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 11px; background: var(--green-soft); margin-bottom: 10px; }
.aph-chk i { width: 28px; height: 34px; border-radius: 4px; flex-shrink: 0; background: #fff repeating-linear-gradient(180deg, transparent 0 5px, rgba(17,17,20,.14) 5px 6px); box-shadow: 0 1px 3px rgba(17,17,20,.15); }
.aph-chk b { display: block; font-size: 11px; }
.aph-chk span { font-size: 10px; color: #0e6b45; }
.aph-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 10px; }
.aph-keys span { padding: 6px 0; border-radius: 8px; background: var(--bg-soft); text-align: center; font-size: 12px; font-weight: 600; }
.aph-field { border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; margin-bottom: 6px; }
.aph-field span { display: block; font-size: 9px; color: var(--text-3); }
.aph-field b { font-size: 12px; font-weight: 600; }
.aph-hint { background: var(--green-soft); color: #0e6b45; border-radius: 10px; padding: 8px 10px; font-size: 10px; font-weight: 600; margin: 8px 0; }
.aph-off { text-align: center; font-size: 10px; color: var(--text-3); }

/* ——— Возражение про табличку: крупный диалог + «сломанный лист» + три случая ——— */
.xl-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-bottom: 56px; }
@media (max-width: 900px) { .xl-top { grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; } }
.xl-q, .xl-a { font-size: clamp(26px, 3.5vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.035em; text-wrap: pretty; }
.xl-q { margin-bottom: .6em; }
.xl-a { color: var(--accent); }
.xl-sheet { width: 100%; max-width: 380px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 12px; transform: rotate(3deg); box-shadow: 0 30px 60px -30px rgba(17,17,20,.4); }
.xs-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #1d6f42; color: #fff; font-size: 11px; font-weight: 600; }
.xs-bar i { width: 14px; height: 14px; border-radius: 3px; background: rgba(255,255,255,.9); flex-shrink: 0; }
.xs-grid { display: grid; grid-template-columns: 26px minmax(0, 1.5fr) minmax(0, 1fr); }
.xs-grid span { padding: 8px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xs-grid span:nth-child(3n) { border-right: none; }
.xs-grid .h { padding: 8px 0; background: var(--bg-soft); color: var(--text-3); font-size: 10px; text-align: center; }
.xs-grid .r { text-align: right; font-variant-numeric: tabular-nums; }
.xs-grid .e { text-align: right; font-weight: 700; color: var(--red); background: #fdecec; }
.xs-note { padding: 9px 12px; font-size: 11px; color: var(--text-3); }
.xl-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .xl-cases { grid-template-columns: 1fr; } }
.xl-case { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 24px 22px; display: flex; flex-direction: column; }
.xl-err { align-self: flex-start; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; font-weight: 700; color: var(--red); background: #fdecec; border-radius: 6px; padding: 3px 8px; margin-bottom: 14px; }
.xl-case h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.xl-case p { flex: 1; font-size: 14px; line-height: 1.55; color: var(--text-2); margin-bottom: 16px; }
.xl-fix { position: relative; padding: 14px 0 0 28px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.4; font-weight: 600; }
.xl-fix::before { content: ""; position: absolute; left: 0; top: 15px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft); }
.xl-fix::after { content: ""; position: absolute; left: 6px; top: 19px; width: 5px; height: 8px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(40deg); }
.xl-move { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; margin-top: 16px; padding: 24px 28px; border-radius: var(--r-lg); background: var(--text); color: #fff; }
.xl-move > div { flex: 1 1 420px; max-width: 680px; }
.xl-move b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.xl-move span { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.72); }

/* ——— Черновые блоки: показываются только при локальном просмотре (landing.js) ——— */
[data-draft][hidden] { display: none !important; }

/* ——— Отзывы слайдером ——— */
.rv { margin-top: 56px; }
.rv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.rv-head h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.rv-nav { display: flex; gap: 8px; flex-shrink: 0; }
.rv-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 18px; line-height: 1; cursor: pointer; transition: border-color .15s, opacity .15s; }
.rv-nav button:hover:not(:disabled) { border-color: var(--text); }
.rv-nav button:disabled { opacity: .35; cursor: default; }
.rv-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-card { flex: 0 0 calc((100% - 16px) / 2); scroll-snap-align: start; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 760px) { .rv-card { flex-basis: 86%; padding: 22px; } }
.rv-card blockquote { flex: 1; margin: 0; font-size: 16px; line-height: 1.55; }
.rv-card figcaption { display: flex; align-items: center; gap: 12px; }
.rv-av { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-d); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.rv-head h2.h2 { margin-bottom: 0; }
.rv-card figcaption b { display: block; font-size: 14px; }
.rv-card figcaption span { font-size: 13px; color: var(--text-3); }

/* ——— Истории клиентов ——— */
.stories { display: flex; gap: 32px; margin-top: 36px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: 0 0 calc((100% - 64px) / 3); scroll-snap-align: start; display: flex; flex-direction: column; color: inherit; }
@media (max-width: 860px) { .story { flex-basis: calc((100% - 32px) / 2); } }
@media (max-width: 560px) { .story { flex-basis: 82%; } }
.st-av { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--accent-d); font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 20px; transition: border-color .2s; }
.story h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 14px; }
.story .who { font-size: 14px; line-height: 1.5; color: var(--text-3); }
.story .who b { display: block; font-weight: 600; color: var(--accent-d); }
.story .more { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 600; transition: color .2s; }
.story:hover .st-av { border-color: var(--accent); }
.story:hover .more { color: var(--accent-d); }

/* ——— Страница истории клиента: cases/<адрес>/index.html ——— */
.case { padding: 36px 0 80px; }
.case .container { max-width: 808px; }
.case-back { display: inline-block; margin-bottom: 32px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.case-back:hover { color: var(--text); }
.case h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; margin-bottom: 24px; text-wrap: balance; }
.case-who { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.case-who b { display: block; font-size: 15px; }
.case-who div span { font-size: 14px; color: var(--text-3); }
.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .case-facts { grid-template-columns: 1fr; } }
.case-facts div { background: var(--bg-soft); border-radius: var(--r-lg); padding: 20px 22px; }
.case-facts b { display: block; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 6px; }
.case-facts span { display: block; font-size: 13px; line-height: 1.4; color: var(--text-2); }
.case-body { font-size: 17px; line-height: 1.65; }
.case-body h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; margin: 40px 0 12px; }
.case-body p { margin-bottom: 14px; color: var(--text-2); }
.case-body ul { display: grid; gap: 12px; }
.case-body li { position: relative; padding-left: 24px; color: var(--text-2); }
.case-body li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.case-body li b { color: var(--text); font-weight: 700; }
.case-body blockquote { margin-top: 32px; padding: 26px 28px; border-radius: var(--r-lg); background: var(--accent-soft); font-size: clamp(18px, 2.1vw, 22px); line-height: 1.4; font-weight: 600; letter-spacing: -0.015em; }
.case-body cite { display: block; margin-top: 12px; font-size: 14px; font-style: normal; font-weight: 500; letter-spacing: 0; color: var(--text-2); }
.case .xl-move { margin-top: 40px; }
.case-more { margin-top: 48px; }
.case-more h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.case-more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .case-more-grid { grid-template-columns: 1fr; } }
.case-more a { display: block; background: var(--bg-soft); border-radius: var(--r-lg); padding: 20px 22px; transition: background .2s; }
.case-more a:hover { background: #efede8; }
.case-more a b { display: block; font-size: 16px; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 8px; }
.case-more a span { font-size: 13px; color: var(--text-3); }
.foot.slim { padding: 6px 0 28px; }
.foot.slim .foot-bot { border-top: none; }

/* Диалог про Excel (старая версия, разметка больше не используется) */
.dialog { max-width: 920px; margin: 0 auto; }
.dlg-head { text-align: center; margin-bottom: 32px; }
.dlg-head .h2 { margin-bottom: 0; }
.dlg-body { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.dlg-body p { max-width: 78%; padding: 14px 18px; border-radius: 18px; font-size: 16px; line-height: 1.5; }
.dlg-body .q { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; color: var(--text-2); }
.dlg-body .a { align-self: flex-end; background: var(--text); color: #fff; border-bottom-right-radius: 6px; }
.dlg-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dlg-col { border-radius: var(--r-lg); padding: 24px 26px; border: 1px solid var(--line); background: #fff; }
.dlg-col h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.01em; }
.dlg-col li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: var(--text-2); margin-bottom: 10px; }
.dlg-col li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 10px; }
.dlg-col.bad li::before { background-color: #fdecec; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 2l6 6M8 2l-6 6' stroke='%23d93b3b' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.dlg-col.good { border-color: var(--green); background: var(--green-soft); }
.dlg-col.good li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2l2.2 2.2L8 3' fill='none' stroke='%2315a36a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.dlg-col.good li { color: var(--text); }
@media (max-width: 760px) { .dlg-cols { grid-template-columns: 1fr; } .dlg-body p { max-width: 92%; font-size: 15px; } }

/* mini-screens внутри шагов */
.ms { padding: 14px; font-size: 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ms .hd { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--text-2); font-size: 11px; }
.ms .pill { padding: 3px 8px; border-radius: 6px; font-size: 10px; font-weight: 700; background: var(--accent-soft); color: var(--accent-d); }
.ms .pill.g { background: var(--green-soft); color: var(--green); }
.ms .card { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; gap: 10px; align-items: flex-start; }
.ms .card i { width: 28px; height: 28px; border-radius: 8px; background: var(--bg-soft); flex-shrink: 0; }
.ms .card b { display: block; font-weight: 600; font-size: 12px; }
.ms .card span { color: var(--text-3); font-size: 11px; }
.ms .line { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.ms .line b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.ms .line.total { border: none; font-weight: 600; color: var(--text); }
.ms .line.total b { color: var(--green); }
.ms .bar-wrap { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ms .bar-wrap i { display: block; height: 100%; width: 66%; background: var(--green); }
.ms .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ms .grid span { height: 46px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); position: relative; }
.ms .grid span::after {
  content: attr(data-t); position: absolute; left: 5px; bottom: 4px; font-size: 9px; color: var(--text-3);
}
.ms .sign { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; background: var(--green-soft); color: #0e6b45; font-weight: 600; font-size: 11px; }

/* ——— Calculator ——— */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc-in { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.calc-in .f { margin-bottom: 24px; }
.calc-in label { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.calc-in label output { min-width: 42px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-d); font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
/* Ползунок: своя дорожка вместо системной (та на светлом фоне выходила чёрной полосой).
   Пройденная часть закрашена до центра бегунка: долю пути --p (от 0 до 1) выставляет landing.js.
   В Firefox закраску даёт ::-moz-range-progress, переменная там не нужна. */
.calc-in input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 26px; background: transparent; cursor: pointer; --p: 0; }
.calc-in input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) calc(11px + (100% - 22px) * var(--p)), var(--line) calc(11px + (100% - 22px) * var(--p))); }
.calc-in input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; box-sizing: border-box; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(17, 17, 20, .2); }
.calc-in input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
.calc-in input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
.calc-in input[type="range"]::-moz-range-thumb { box-sizing: border-box; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(17, 17, 20, .2); }
.calc-in input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.calc-scale { display: flex; justify-content: space-between; padding: 0 7px; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.calc-in .hint { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.calc-rows { margin-top: 4px; }
.calc-rows div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
/* под строкой — из чего она сложилась: «3 объекта × 5 000 ₽» */
.calc-rows small { display: block; margin-top: 2px; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.calc-rows div b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; flex-shrink: 0; }
.calc-out {
  background: var(--bg-dark); color: #fff; border-radius: var(--r-lg); padding: 32px;
  display: flex; flex-direction: column;
}
.calc-out .t { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); font-weight: 600; }
.calc-out .n { font-size: clamp(36px, 4.6vw, 52px); font-weight: 700; letter-spacing: -0.03em; margin: 10px 0 4px; font-variant-numeric: tabular-nums; }
.calc-out .n small { font-size: 18px; color: rgba(255,255,255,.6); font-weight: 500; letter-spacing: 0; }
.calc-out .y { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 22px; }
/* Сравнение потерь с тарифом: две полосы в одном масштабе, под ними — вывод одной строкой */
.calc-out .vs { padding: 18px 18px 16px; border-radius: 14px; background: rgba(255,255,255,.06); margin-bottom: 22px; }
.vs-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; align-items: baseline; margin-bottom: 14px; font-size: 13px; color: rgba(255,255,255,.7); }
.vs-row b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vs-row i { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); }
.vs-row em { display: block; height: 100%; min-width: 6px; border-radius: 4px; background: var(--accent); transition: width .25s ease; }
.vs-row.tf em { background: #2bc48a; }
.calc-out .vs p { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.8); }
.calc-out .vs p b { color: #fff; }
.calc-out .vs p a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); white-space: nowrap; }
.calc-out .vs p a:hover { border-color: #fff; }
.calc-out .btn { align-self: flex-start; margin-top: auto; }
.calc-free { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.5); }
.calc-src { font-size: 12px; color: var(--text-3); margin-top: 16px; text-align: center; }
@media (max-width: 640px) { .calc-in, .calc-out { padding: 22px; } }

/* подзаголовки этих двух блоков делятся на строки поровну — без слова-сироты в конце */
#losses .lead, #outcome .lead { text-wrap: balance; }

/* ——— Итог перед тарифами: три шага цепочкой («сначала → затем → в итоге») ———
   Классы начинаются с chain, а не с out: класс .out уже занят — его на долю секунды получает
   меняющееся слово в заголовке первого экрана (.swap-word.out). */
.chain { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg-soft); border-radius: 24px; padding: 40px 40px 44px; }
.chain-step { display: flex; flex-direction: column; padding-right: 40px; }
.chain-step:last-child { padding-right: 0; }
/* Рельса: номер, слово-связка и пунктир со стрелкой — тянется через отступ почти до номера следующего шага */
.chain-rail { display: flex; align-items: center; gap: 12px; margin: 0 -28px 24px 0; }
.chain-step:last-child .chain-rail { margin-right: 0; }
.chain-n { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 16px; font-weight: 800; }
.chain-when { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-d); white-space: nowrap; }
.chain-rail i { position: relative; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #d3cfc5 0 6px, transparent 6px 12px); }
.chain-rail i::after { content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px; border-top: 2px solid #c2bdb1; border-right: 2px solid #c2bdb1; transform: translateY(-50%) rotate(45deg); }
.chain-step.fin .chain-n { background: var(--green); }
.chain-step.fin .chain-when { color: #0e6b45; }
/* заголовки шагов разбиты на две строки в разметке (<br>), чтобы тексты в колонках начинались на одном уровне;
   на телефоне перенос убран — там шаги идут друг под другом */
.chain-step h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 12px; }
.chain-step p { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.chain-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 20px; }
.chain-tags span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; font-size: 12.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
@media (max-width: 900px) {
  .chain { grid-template-columns: 1fr; padding: 28px 22px; border-radius: 18px; }
  .chain-step { padding-right: 0; }
  .chain-step + .chain-step { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
  .chain-rail { margin: 0 0 16px; }
  .chain-rail i { display: none; }
  .chain-step h3 br { display: none; }
}

/* ——— Тарифы: блок на главной и страница /ceny/ ———
   Четыре тарифа по числу мест в офисе. Цена и подпись под ней меняются от периода оплаты, подсветка карточки —
   от выбранного размера офиса (см. landing.js, «Тарифы»). Цены стоят в data-month карточек и в PLANS в landing.js. */
/* три факта об оплате над тарифами */
.pay-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 36px; }
.pay-strip li { border: 1px solid var(--line-dark); border-radius: var(--r); padding: 18px 20px; }
.pay-strip b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 4px; }
.pay-strip span { display: block; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.68); }
.pay-strip a { color: #fff; font-weight: 600; }
@media (max-width: 860px) { .pay-strip { grid-template-columns: 1fr; margin-bottom: 28px; } }
/* два переключателя: размер офиса и период оплаты */
.pc-ctl { display: flex; flex-wrap: wrap; gap: 18px 44px; margin-bottom: 28px; }
.pc-group { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.pc-lbl { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
/* переключатель из нескольких кнопок: по умолчанию для тёмного фона, .light — для светлого
   (класс .seg занят карточками «Для кого» на главной, поэтому здесь .pseg) */
.pseg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border: 1px solid var(--line-dark); border-radius: 14px; }
.pseg button { padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.75); white-space: nowrap; transition: background .15s, color .15s; }
.pseg button:hover { color: #fff; }
.pseg button.on { background: #fff; color: var(--text); }
.pseg button small { margin-left: 6px; font-size: 12px; font-weight: 600; color: #ffb48a; }
.pseg button.on small { color: #c2410c; }
.pseg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pseg.light { border-color: var(--line); background: #fff; }
.pseg.light button { color: var(--text-2); }
.pseg.light button:hover { color: var(--text); }
.pseg.light button.on { background: var(--text); color: #fff; }
@media (max-width: 560px) { .pseg button { padding: 9px 12px; } .pseg button small { display: none; } }
@media (max-width: 420px) { .pseg button { padding: 9px 9px; font-size: 13px; } }
/* карточки тарифов; minmax(0, …) — чтобы длинная кнопка не распирала колонку шире контейнера */
.tplans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1140px) { .tplans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; } }
@media (max-width: 620px) { .tplans { grid-template-columns: minmax(0, 1fr); } }
.tplan { position: relative; display: flex; flex-direction: column; background: #17171c; border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 26px 22px 22px; transition: border-color .2s, box-shadow .2s; }
.tplan.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.tp-tag { position: absolute; top: -11px; left: 20px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #111114; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.tp-tag[hidden] { display: none; }
.tplan h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.tp-for { margin: 2px 0 18px; font-size: 13px; color: rgba(255,255,255,.62); }
.tp-price { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tp-price b { font-size: 36px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.tp-price small { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.6); }
.tp-note { min-height: 2.9em; margin-top: 8px; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.62); font-variant-numeric: tabular-nums; }
.tp-seats { align-self: flex-start; margin: 10px 0 18px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.09); font-size: 13px; font-weight: 600; }
.tplan ul { display: flex; flex-direction: column; gap: 9px; flex: 1; margin-bottom: 22px; }
.tplan li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.86); }
.tplan li::before {
  content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 5px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.tplan .btn { width: 100%; padding-left: 12px; padding-right: 12px; }
.tplan .btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.tplan .btn-ghost:hover { border-color: #fff; }
/* полоса под тарифами: что бесплатно и без ограничения на любом тарифе */
.tfree { margin-top: 16px; padding: 22px 26px 24px; border: 1px dashed rgba(255,255,255,.26); border-radius: var(--r-lg); }
.tfree-h { margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffb48a; }
.tfree-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 32px; }
.tfree-grid b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.tfree-grid span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.68); }
@media (max-width: 760px) { .tfree { padding: 20px; } .tfree-grid { grid-template-columns: 1fr; } }
.price-foot { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.68); display: flex; align-items: center; gap: 10px 24px; flex-wrap: wrap; }
.price-foot b { color: #fff; font-weight: 600; }
.price-foot a { margin-left: auto; color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.4); }
.price-foot a:hover { border-color: #fff; }
@media (max-width: 760px) { .price-foot a { margin-left: 0; } }

/* ——— Страница /ceny/ ——— */
.nav-links a[aria-current="page"] { color: var(--text); font-weight: 600; }
.crumbs { margin-bottom: 30px; font-size: 13px; color: var(--text-2); }
.crumbs a:hover { color: var(--text); }
.crumbs i { margin: 0 6px; font-style: normal; color: var(--text-3); }
.phero { padding: 26px 0 72px; }
.phero h1 { max-width: 15em; margin-bottom: 18px; font-size: clamp(32px, 5vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -0.04em; text-wrap: balance; }
.phero h1 .hl { color: var(--accent); }
.phero .lead { max-width: 740px; margin-bottom: 26px; }
.phero .lead b { color: var(--text); font-weight: 600; }
.phero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
/* отзывы с результатом в деньгах над ценами — пока черновик, см. комментарий в ceny/index.html */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }
.proof-card { display: flex; flex-direction: column; background: var(--bg-soft); border-radius: var(--r-lg); padding: 22px 24px; transition: background .2s; }
.proof-card:hover { background: #efede8; }
.proof-card b { margin-bottom: 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.proof-card p { margin-bottom: 14px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.proof-card span { margin-top: auto; font-size: 13px; color: var(--text-2); }
.draft-note { grid-column: 1 / -1; font-size: 13px; color: #c2410c; }
/* что входит в любой тариф: восемь карточек по пути объекта */
.incl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .incl { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .incl { grid-template-columns: 1fr; } }
.incl-card { background: var(--bg-soft); border-radius: var(--r-lg); padding: 22px 22px 24px; }
.incl-n { margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #c2410c; }
.incl-card h3 { margin-bottom: 14px; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.incl-card ul { display: grid; gap: 9px; }
.incl-card li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.4; color: var(--text-2); }
.incl-card li::before { content: ""; position: absolute; left: 1px; top: 5px; width: 9px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
/* калькулятор тарифа: слева вводные, справа итог */
.tb { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .tb { grid-template-columns: 1fr; } }
.tb-in { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.tb-f { margin: 0 0 26px; padding: 0; border: none; min-width: 0; }
.tb-f:last-child { margin-bottom: 0; }
.tb-lbl { display: block; margin-bottom: 10px; padding: 0; font-size: 15px; font-weight: 600; }
.tb-hint { display: block; margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.stepper button { width: 46px; height: 46px; font-size: 20px; font-weight: 500; color: var(--text); }
.stepper button:hover { background: var(--bg-soft); }
.stepper input { width: 68px; height: 46px; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--text); font-size: 18px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible, .stepper button:focus-visible, .num-in:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.tb-opts { display: grid; gap: 8px; }
.tb-opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.tb-opt:hover { border-color: #cfccc4; }
.tb-opt:has(input:checked) { border-color: var(--text); background: var(--bg-soft); }
.tb-opt input { grid-row: span 2; width: 18px; height: 18px; margin-top: 2px; accent-color: #c2410c; }
.tb-opt b { font-size: 15px; font-weight: 600; }
.tb-opt i { font-style: normal; font-size: 14px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tb-opt span { grid-column: 2 / -1; font-size: 13px; line-height: 1.4; color: var(--text-2); }
.tb-out { position: sticky; top: 84px; background: var(--bg-dark); color: #fff; border-radius: var(--r-lg); padding: 30px; }
@media (max-width: 900px) { .tb-out { position: static; } }
.tb-k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.tb-plan { margin: 6px 0 16px; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.tb-sum { font-size: clamp(34px, 4.4vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tb-sum small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: rgba(255,255,255,.65); }
.tb-sub { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.68); font-variant-numeric: tabular-nums; }
.tb-lines { margin-top: 20px; border-top: 1px solid var(--line-dark); }
.tb-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-size: 14px; color: rgba(255,255,255,.8); }
.tb-lines li span:last-child { flex-shrink: 0; color: #fff; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tb-tip { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.07); font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.86); }
.tb-tip[hidden] { display: none; }
.tb-cmp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 18px 0 22px; }
.tb-cmp div { padding: 9px 6px; border: 1px solid var(--line-dark); border-radius: 10px; font-size: 12px; text-align: center; color: rgba(255,255,255,.68); }
.tb-cmp b { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tb-cmp div.on { border-color: var(--accent); color: #fff; }
.tb-cmp div.na b { font-weight: 500; color: rgba(255,255,255,.6); white-space: normal; }
@media (max-width: 560px) { .tb-in, .tb-out { padding: 22px; } .tb-cmp { grid-template-columns: 1fr 1fr; } }
.tb-out .btn { width: 100%; }
/* таблица сравнения: на узком экране прокручивается внутри своей рамки, страница вбок не едет */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 14px; line-height: 1.4; }
.cmp th, .cmp td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { background: var(--bg-soft); font-size: 16px; font-weight: 700; letter-spacing: -0.015em; }
.cmp thead th small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--text-2); }
.cmp tbody th { width: 28%; font-weight: 500; color: var(--text-2); }
.cmp td { font-variant-numeric: tabular-nums; }
.cmp .ok { color: #0e6b45; font-weight: 600; }
.cmp tr.grp th { padding-top: 18px; background: #fbfaf8; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: none; }
.cmp-after { margin-top: 18px; max-width: 760px; font-size: 15px; color: var(--text-2); }
.cmp-hint { display: none; }
/* на телефоне названия строк стоят на месте, а тарифы листаются вбок */
@media (max-width: 760px) {
  .cmp-hint { display: block; margin: -6px 0 12px; font-size: 13px; color: var(--text-2); }
  .cmp { min-width: 720px; font-size: 13px; }
  .cmp th, .cmp td { padding: 11px 12px; }
  .cmp thead th { font-size: 15px; }
  .cmp thead th:first-child, .cmp tbody tr:not(.grp) th { position: sticky; left: 0; z-index: 1; width: 132px; min-width: 132px; max-width: 132px; background: #fff; box-shadow: 1px 0 0 var(--line); }
  .cmp thead th:first-child { background: var(--bg-soft); }
  .cmp tr.grp th span { position: sticky; left: 12px; display: inline-block; }
}
/* дополнения с ценами */
.addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 760px) { .addons { grid-template-columns: 1fr; } }
.addon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; }
.addon.wide { grid-column: 1 / -1; }
.addon b { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.addon i { font-style: normal; font-size: 16px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.addon span { grid-column: 1 / -1; font-size: 14px; line-height: 1.5; color: var(--text-2); }
/* окупаемость на своих цифрах */
.pb-in { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 20px; }
.pb-in label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.num-in { width: 220px; max-width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pb-say { margin-top: 20px; max-width: 760px; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.pb-say b { color: var(--text); font-weight: 600; }
/* призыв под вопросами об оплате */
.pcta { margin-top: 64px; }

/* ——— Audience ——— */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr; } }
.role { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.role .tag { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.role h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.role p { font-size: 15px; color: var(--text-2); margin-bottom: 14px; }
.role .fit { font-size: 13px; color: var(--text-3); padding-top: 12px; border-top: 1px solid var(--line); }
.role .fit b { color: var(--text-2); font-weight: 600; }

/* Крупные заголовки секций в стиле первого экрана */
.h2-xl { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; }
.h2-xl .hl { color: var(--accent); }

/* Одна система для всей команды — роли */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; margin-top: 48px; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }
.member { position: relative; }
.member .ico { position: relative; width: 72px; height: 72px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-d); display: grid; place-items: center; margin-bottom: 18px; transition: transform .3s ease; }
.member .ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.member .ico::before, .member .ico::after { content: ""; position: absolute; border-radius: 50%; background: var(--accent); opacity: .9; }
.member .ico::before { width: 8px; height: 8px; right: -2px; top: 8px; }
.member .ico::after { width: 5px; height: 5px; left: 2px; bottom: 4px; opacity: .6; }
.member:hover .ico { transform: translateY(-3px) rotate(-4deg); }
.member h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.member p { font-size: 14px; line-height: 1.55; color: var(--text-2); }

/* Все процессы в одной системе — модули */
.mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
@media (max-width: 1000px) { .mods { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mods { grid-template-columns: 1fr; } }
.mod { background: var(--bg-soft); border-radius: var(--r-lg); padding: 24px 22px 26px; min-height: 196px; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.mod:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 18px 40px -24px rgba(17,17,20,.3); outline: 1px solid var(--line); }
.mod-ico { width: 40px; height: 40px; border-radius: 11px; background: #fff; border: 1px solid var(--line); color: var(--accent-d); display: grid; place-items: center; margin-bottom: 18px; }
.mod:hover .mod-ico { background: var(--accent-soft); border-color: transparent; }
.mod-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mod h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 8px; }
.mod p { font-size: 13px; line-height: 1.5; color: var(--text-2); }

/* Когда бригад станет три — офисная часть */
.office { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .office { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .office { grid-template-columns: 1fr; } }
.otile { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: #fff; }
.otile h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.otile p { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.office-foot { margin-top: 24px; text-align: center; font-size: 15px; color: var(--text-2); }
.office-foot a { color: var(--accent-d); font-weight: 600; }

/* Данные и безопасность */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: 1fr; } }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.tcard h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.tcard p { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.tcard a { color: var(--accent-d); font-weight: 600; }
.trust-note { margin-top: 24px; text-align: center; font-size: 14px; color: var(--text-3); max-width: 680px; margin-left: auto; margin-right: auto; }

/* ——— Reviews ——— */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }
.rev { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.rev .res-ttl { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.rev .q { font-size: 15px; line-height: 1.55; flex: 1; color: var(--text-2); }
.rev .who { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.rev .av { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: var(--text-2); flex-shrink: 0; }
.rev .n { font-weight: 600; font-size: 14px; }
.rev .r { font-size: 13px; color: var(--text-3); }
.rev .res { margin-left: auto; text-align: right; font-size: 12px; color: var(--text-3); }
.rev .res b { display: block; color: var(--green); font-size: 15px; font-weight: 700; white-space: nowrap; }
.rev .who > div:nth-child(2) { min-width: 0; flex: 1; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: var(--text); color: #fff; font-size: 13px; }
.store b { display: block; font-size: 14px; }
.store small { display: block; font-size: 11px; color: rgba(255,255,255,.6); }

/* ——— FAQ ——— */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 17px; font-weight: 600; text-align: left; letter-spacing: -0.01em;
}
.faq-q .pm { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 400; transition: transform .2s; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--text); color: #fff; border-color: var(--text); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 20px; }
.faq-a strong { color: var(--text); font-weight: 600; }
.faq-a a { color: var(--accent-d); font-weight: 500; }
.faq-q:hover .pm { border-color: var(--text); }
/* Две колонки: слева заголовок и контакты (на широком экране едут вместе с прокруткой), справа вопросы */
.faq-grid { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 40px 72px; align-items: start; }
.faq-grid .faq { max-width: none; margin: 0; border-top: 1px solid var(--line); }
.faq-intro { position: sticky; top: 90px; }
.faq-intro .lead { margin-bottom: 28px; }
.faq-ask { background: var(--bg-soft); border-radius: var(--r-lg); padding: 22px 24px 14px; }
.faq-ask b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.faq-ask p { margin: 4px 0 14px; font-size: 14px; color: var(--text-2); }
.faq-ask a { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.faq-ask a:hover { color: var(--accent-d); }
.faq-ask .ask-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.faq-ask svg { flex-shrink: 0; width: 20px; height: 20px; fill: none; stroke: var(--accent-d); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* На узком экране порядок другой: заголовок, вопросы, и только потом — «не нашли свой вопрос» */
@media (max-width: 1000px) {
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .faq-intro { display: contents; }
  .faq-grid .faq { order: 2; }
  .faq-ask { order: 3; margin-top: 28px; }
}

/* ——— Niches + SEO (compact) ——— */
.niches { padding: 56px 0; border-top: 1px solid var(--line); }
.niches h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.niche-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 900px) { .niche-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .niche-tiles { grid-template-columns: 1fr; } }
.niche-tiles a { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.niche-tiles a:hover { border-color: var(--text); color: var(--text); }
.seo-more { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r); }
.seo-more summary { cursor: pointer; padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--text-2); list-style: none; display: flex; justify-content: space-between; }
.seo-more summary::-webkit-details-marker { display: none; }
.seo-more summary::after { content: "+"; font-size: 18px; line-height: 1; }
.seo-more[open] summary::after { content: "–"; }
.seo-more .body { padding: 4px 18px 18px; font-size: 14px; color: var(--text-2); line-height: 1.65; }
.seo-more h3 { font-size: 15px; font-weight: 700; color: var(--text); margin: 14px 0 6px; }
.seo-more a { color: var(--accent-d); }
.seo-more strong { color: var(--text); font-weight: 600; }

/* ——— Footer ——— */
.foot { background: var(--bg-dark); color: #fff; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-about { margin-top: 12px; color: rgba(255,255,255,.6); font-size: 14px; max-width: 280px; }
.foot h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.45); margin-bottom: 12px; }
.foot a { display: block; font-size: 14px; color: rgba(255,255,255,.8); padding: 4px 0; }
.foot a:hover { color: #fff; }
.foot .foot-line { display: block; font-size: 14px; color: rgba(255,255,255,.8); padding: 4px 0; }
/* Реквизиты компании: строка между ссылками и нижней полосой. Пока это черновик — см. комментарий в index.html */
.foot-req { border-top: 1px solid var(--line-dark); padding: 22px 0; }
.foot-req dl { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.foot-req dt { margin-bottom: 3px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); }
.foot-req dd { font-size: 13px; color: rgba(255,255,255,.78); }
.req-draft { display: inline-block; margin-bottom: 14px; padding: 3px 8px; border: 1px dashed rgba(255,180,138,.55); border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ffb48a; }
.foot-bot { border-top: 1px solid var(--line-dark); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: rgba(255,255,255,.5); font-size: 13px; }
.foot-bot a { display: inline; color: rgba(255,255,255,.7); margin: 0 6px; }

/* ——— Sticky CTA (mobile only) ——— */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s ease; display: none;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }
@media (max-width: 760px) { .sticky-cta { display: block; } body { padding-bottom: 0; } }


/* ——— Полосы-призывы в содержании: главная кнопка страницы — демо, регистрация — тихой ссылкой ——— */
.cband { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; margin-top: 44px; padding: 20px 26px; border-radius: var(--r-lg); background: var(--text); color: #fff; }
.cband-t { flex: 1 1 360px; min-width: 0; }
.cband-t b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.cband-t span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.72); }
.cband-a { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.cband-a a:not(.btn) { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.82); text-decoration: underline; text-underline-offset: 3px; }
.cband-a a:not(.btn):hover { color: #fff; }
.cband--final { margin-top: 56px; padding: 30px 32px; }
.cband--final .cband-t b { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.03em; }
.cband--final .cband-t span { font-size: 15px; }
.cband--light { background: #fff; color: var(--text); }
.cband--light .cband-t span { color: var(--text-2); }
.cband--light .cband-a a:not(.btn) { color: var(--text-2); }
.cband--light .cband-a a:not(.btn):hover { color: var(--text); }
.mods > .cband { grid-column: 1 / -1; margin-top: 0; }
@media (min-width: 821px) { .cband--m { display: none; } }
@media (max-width: 820px) {
  .cband { margin-top: 32px; padding: 18px; }
  .cband--final { padding: 24px 20px; }
  .cband-a { width: 100%; }
  .cband-a .btn { flex: 1 1 100%; }
}


/* ——— Страницы-тексты: статьи, юридические документы, «О компании» ——— */
.doc { padding: 28px 0 72px; }
.doc .container { max-width: 808px; }
.doc .crumbs { margin-bottom: 26px; }
.doc h1 { margin-bottom: 18px; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.doc .lead { margin-bottom: 18px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; }
.doc-meta { margin-bottom: 30px; font-size: 14px; color: var(--text-3); }
.prose { font-size: 17px; line-height: 1.7; color: var(--text-2); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 46px 0 12px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.18; color: var(--text); }
.prose h3 { margin: 30px 0 8px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; color: var(--text); }
.prose p { margin-bottom: 14px; }
.prose strong, .prose b { font-weight: 700; color: var(--text); }
.prose em { font-style: italic; }
.prose a { color: var(--accent-d); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose ul, .prose ol { display: grid; gap: 9px; margin: 0 0 18px; }
.prose li { position: relative; padding-left: 26px; }
.prose ul > li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.prose ol { counter-reset: n; }
.prose ol > li { counter-increment: n; padding-left: 36px; }
.prose ol > li::before { content: counter(n); position: absolute; left: 0; top: .15em; width: 25px; height: 25px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-d); font-size: 13px; font-weight: 700; line-height: 25px; text-align: center; }
.prose blockquote { margin: 26px 0; padding: 22px 26px; border-radius: var(--r-lg); background: var(--accent-soft); color: var(--text); font-size: 18px; line-height: 1.5; font-weight: 500; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose .callout { margin: 22px 0; padding: 16px 20px; border-radius: var(--r); background: var(--bg-soft); border-left: 4px solid var(--accent); font-size: 16px; line-height: 1.6; color: var(--text); }
.prose .tbl-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: var(--r-lg); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--bg-soft); font-weight: 700; color: var(--text); }
.prose tbody tr:last-child td, .prose tbody tr:last-child th { border-bottom: none; }
.prose hr { margin: 32px 0; border: none; border-top: 1px solid var(--line); }
.doc .cband { margin-top: 40px; }
.cband--inline { margin: 34px 0; }
.doc-more { margin-top: 48px; }
.doc-more h2 { margin-bottom: 14px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.doc-more .niche-tiles { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .doc-more .niche-tiles { grid-template-columns: 1fr; } .prose { font-size: 16px; } }

/* ——— Страницы ниш и сравнений в новом оформлении ——— */
.sec-head h2 .hl { color: var(--accent); }
.tcard .incl-n { margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #c2410c; }
a.tcard { display: block; transition: border-color .2s; }
a.tcard:hover { border-color: var(--text); }
.tcard .tmore { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--accent-d); }
.cmp--s { min-width: 0; }
.cmp--s thead th:first-child { width: 30%; }
.sec-prose .prose { max-width: 808px; margin: 0 auto; }
.sec-cband .cband { margin-top: 0; }

/* ——— Блог: список статей ——— */
.bgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .bgrid { grid-template-columns: 1fr; } }
.bcard { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .2s; }
.bcard:hover { border-color: var(--text); }
.bcard .tag { align-self: flex-start; margin-bottom: 12px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-d); font-size: 12px; font-weight: 700; }
.bcard h2 { margin-bottom: 8px; font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
.bcard h2 a::after { content: ""; position: absolute; inset: 0; }
.bcard p { margin-bottom: 14px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.bcard .meta { margin-top: auto; font-size: 13px; color: var(--text-3); }
.bcard .read { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--accent-d); }

/* ——— Реквизиты на странице «О компании» ——— */
.reqs { display: grid; grid-template-columns: 200px 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.reqs dt, .reqs dd { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.reqs dt { color: var(--text-3); font-weight: 500; }
.reqs dd { color: var(--text); font-weight: 600; }
.reqs dt:last-of-type, .reqs dd:last-of-type { border-bottom: none; }
.reqs a { color: var(--accent-d); }
@media (max-width: 560px) { .reqs { grid-template-columns: 1fr; } .reqs dt { padding-bottom: 2px; border-bottom: none; } .reqs dd { padding-top: 0; } }

.sec-cband { padding: 40px 0; }
.prose .cband { font-size: 16px; line-height: 1.45; }
.prose .cband-t b { color: #fff; }
.prose .cband-t span { color: rgba(255,255,255,.72); }
.prose .cband-a a { text-decoration: none; }
.prose .cband-a a:not(.btn) { color: rgba(255,255,255,.82); text-decoration: underline; }
.prose .cband-a .btn-accent { color: #fff; }

.trust-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .trust-grid--2 { grid-template-columns: 1fr; } }


/* ——— Окно «Открыть демо»: всплывает через минуту на сайте (скрипт — в конце landing.js, имена с префиксом dm-) ——— */
.dm-ov { position: fixed; inset: 0; z-index: 300; display: flex; overflow-y: auto; padding: 20px 16px; background: rgba(17,17,20,.5); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); animation: dmFade .18s ease; }
.dm-ov[hidden] { display: none; }
.dm-card { position: relative; width: 100%; max-width: 456px; margin: auto; padding: 36px 36px 28px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 60px 120px -50px rgba(17,17,20,.5), 0 12px 30px -18px rgba(17,17,20,.2); animation: dmUp .22s ease; outline: none; }
@keyframes dmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dmUp { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dm-ov, .dm-card { animation: none; } }
.dm-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-soft); color: var(--text-2); font-size: 20px; line-height: 1; }
.dm-x:hover { background: #ebe9e4; color: var(--text); }
.dm-h { margin: 0 44px 10px 0; font-size: clamp(28px, 4vw, 36px); line-height: 1.04; font-weight: 800; letter-spacing: -0.04em; text-wrap: balance; }
.dm-sub { margin: 0 0 22px; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.dm-form { display: grid; gap: 10px; }
.dm-form input[type="text"], .dm-form input[type="tel"], .dm-form input[type="email"] { width: 100%; height: 54px; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px; font: inherit; font-size: 16px; color: var(--text); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.dm-form input::placeholder { color: var(--text-3); }
.dm-form input[type="text"]:focus, .dm-form input[type="tel"]:focus, .dm-form input[type="email"]:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.dm-ph { position: relative; display: block; }
.dm-ph-pre { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 16px; color: var(--text); pointer-events: none; }
.dm-form .dm-ph input[type="tel"] { padding-left: 46px; }
.dm-ph.intl .dm-ph-pre { display: none; }
.dm-form .dm-ph.intl input[type="tel"] { padding-left: 18px; }
.dm-via { display: flex; align-items: center; gap: 14px; }
.dm-via-l { flex: none; font-size: 14px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.dm-pick { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); }
.dm-pick label { position: relative; cursor: pointer; }
.dm-pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.dm-pick span { display: grid; place-items: center; height: 44px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--text-2); }
.dm-pick input:checked + span { background: #fff; color: var(--text); box-shadow: 0 1px 0 var(--line), 0 6px 16px -10px rgba(17,17,20,.35); }
.dm-pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.dm-go { width: 100%; height: 56px; border-radius: 14px; font-size: 16px; }
.dm-err { margin: 2px 0 0; font-size: 13px; font-weight: 600; color: var(--red); }
.dm-note { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.dm-note b { color: var(--text); font-weight: 700; }
.dm-legal { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-3); }
.dm-legal a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.dm-hp { position: absolute !important; left: -9999px; top: auto; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; opacity: 0; pointer-events: none; }
@media (max-width: 560px) { .dm-ov { padding: 12px; } .dm-card { padding: 28px 20px 22px; border-radius: 22px; } .dm-via { gap: 10px; } }

/* ——— Плавающие кнопки связи (assets/fab.js): «Наверх», Telegram, MAX, почта ——— */
.fab { position: fixed; right: 20px; bottom: 24px; z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fab-i { position: relative; display: block; }
.fab-b {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
  color: #fff; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 6px 18px rgba(17,17,20,.2), 0 1px 3px rgba(17,17,20,.12);
  transition: transform .15s ease, box-shadow .15s ease, opacity .2s ease, visibility 0s;
}
.fab-b:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,17,20,.26), 0 2px 4px rgba(17,17,20,.14); }
.fab-b:active { transform: scale(.96); }
.fab-b:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.fab-b svg { display: block; width: 24px; height: 24px; }
.fab-up { background: var(--text); }
.fab-tg { background: #2aabee; }
.fab-max { background: linear-gradient(135deg, #2ea6ff 0%, #5a45f5 58%, #8a3ffc 100%); }
.fab-mail { background: var(--accent); }
/* «Наверх» появляется, когда страница прокручена: на первом экране он ни к чему. visibility убирает его
   из порядка табуляции и от программ чтения, пока он скрыт. */
.fab-up { opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none; transition: transform .15s ease, box-shadow .15s ease, opacity .2s ease, visibility 0s .2s; }
.fab-up.on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.fab-up.on:hover { transform: translateY(-2px); }
/* Подсказка слева от кнопки — только там, где есть наведение */
@media (hover: hover) {
  .fab-b[data-tip]::after {
    content: attr(data-tip); position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px);
    padding: 6px 11px; border-radius: 8px; background: var(--text); color: #fff; font: 600 13px/1.2 var(--ff);
    white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease;
  }
  .fab-b[data-tip]:hover::after, .fab-b[data-tip]:focus-visible::after { opacity: 1; transform: translateY(-50%); }
  .fab-b.told::after { display: none; }
}
/* Ответ на нажатие «MAX», пока у сайта нет ссылки на наш профиль: номер скопирован, дальше — в приложение MAX */
.fab-toast {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); width: max-content; max-width: 250px;
  padding: 10px 14px; border-radius: 12px; background: var(--text); color: #fff; font: 500 13px/1.4 var(--ff);
  box-shadow: 0 8px 24px rgba(17,17,20,.28);
}
.fab-toast[hidden] { display: none; }
.fab-toast b { font-weight: 700; white-space: nowrap; }
@media (max-width: 760px) {
  .fab { right: 12px; bottom: 16px; gap: 8px; }
  .fab-b { width: 46px; height: 46px; }
  .fab-b svg { width: 22px; height: 22px; }
  .fab.has-sticky { bottom: 84px; }  /* выше нижней полосы «Открыть демо» главной */
  .fab-toast { max-width: min(250px, calc(100vw - 96px)); }
}
body:has(.dm-ov) .fab { display: none; }  /* пока открыто окно «Открыть демо» */
@media print { .fab { display: none; } }
@media (prefers-reduced-motion: reduce) { .fab-b, .fab-up { transition: none; } }
