/* Сайт shefcrm.ru — макет. Шрифт Onest, фирменный цвет задаётся одной переменной --accent. */
@font-face { font-family: "Onest"; font-weight: 400 700; font-display: swap; src: url(../fonts/onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 400 700; font-display: swap; src: url(../fonts/onest-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --accent: #0b9b6f;
  --accent-hover: color-mix(in srgb, var(--accent) 85%, #000);
  --accent-soft: color-mix(in srgb, var(--accent) 9%, #fff);
  --accent-ink: color-mix(in srgb, var(--accent) 78%, #000);
  --ink: #0a0f2c;
  --muted: #5b6178;
  --line: #e5e7f0;
  --canvas: #f4f5f9;
  --chrome: #0b0f26;
  --chrome-2: #121736;
  --chrome-3: #1d2350;
  --chrome-text: #c9cde3;
  --radius: 12px;
  --wrap: 1180px;
  --sans: "Onest", system-ui, "Segoe UI", sans-serif;
  --display: "Onest", system-ui, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0; text-wrap: balance; }
.lead, .section-head p { text-wrap: pretty; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; border: 1px solid transparent; font: 500 16px/1.2 var(--sans); cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px color-mix(in srgb, var(--accent) 25%, transparent); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cfd3e3; color: var(--ink); }
.btn-lg { padding: 15px 24px; font-size: 17px; }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { background: var(--accent-soft); color: var(--accent-hover); }

/* Шапка */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { background: var(--accent); color: #fff; font: 600 19px/1 var(--display); letter-spacing: -0.02em; padding: 7px 10px; border-radius: 9px; }
.logo-text { font: 500 19px/1 var(--display); color: rgba(10, 15, 44, .55); }
.nav { display: flex; gap: 28px; margin-right: auto; }
.nav a { color: var(--muted); font-weight: 500; font-size: 16px; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.header-actions { display: flex; gap: 10px; }
.header-actions .btn { padding: 10px 16px; font-size: 15px; }
.menu-toggle { display: none; }

/* Первый экран */
.hero { background: var(--canvas); padding: 72px 0 0; overflow: hidden; }
.hero-text { max-width: 820px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 62px); }
.hero .lead { font-size: 20px; color: var(--muted); margin: 22px auto 0; max-width: 640px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 15px; color: var(--muted); }
.hero-note span + span::before { content: "·"; margin: 0 10px; color: #b7bbcc; }
.hero-shot { margin: 56px auto -1px; max-width: 1080px; }
.shot { border-radius: 14px; border: 1px solid var(--line); background: #fff; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(10, 15, 44, .35), 0 2px 6px rgba(10, 15, 44, .05); }
.hero-shot .shot { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }

/* Секции */
.section { padding: 96px 0; }
.section-canvas { background: var(--canvas); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-size: clamp(30px, 3.6vw, 42px); }
.section-head p { margin-top: 16px; font-size: 19px; color: var(--muted); }
.kicker { display: block; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

/* Три шага */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { border-top: 2px solid var(--ink); padding-top: 22px; }
.step-num { font: 600 15px/1 var(--display); color: var(--accent); }
.step h3 { font-size: 22px; margin: 14px 0 10px; }
.step p { color: var(--muted); }

/* Строки «текст + скриншот» */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 104px; }
.feature.reverse { grid-template-columns: 7fr 5fr; }
.feature.reverse .feature-text { order: 2; }
.feature h3 { font-size: clamp(26px, 2.8vw, 34px); }
.feature-text > p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 9px; width: 4px; height: 8px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Заявка из Telegram → сделка (рисунок из блоков, не скриншот) */
.flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.bubble { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: 0 12px 30px -20px rgba(10, 15, 44, .3); }
.bubble-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.bubble-meta b { color: var(--ink); font-weight: 600; }
.tg-dot { width: 22px; height: 22px; border-radius: 50%; background: #2aabee; display: inline-grid; place-items: center; }
.tg-dot svg { width: 12px; height: 12px; }
.bubble-text { font-size: 16px; }
.arrow { color: #b7bbcc; font-size: 28px; }
.deal-card .stage { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border-radius: 6px; padding: 3px 8px; }
.deal-card h4 { font: 600 17px/1.3 var(--sans); margin: 10px 0 4px; }
.deal-card .client { color: var(--accent); font-size: 14px; font-weight: 500; }
.deal-card .src { color: var(--muted); font-size: 14px; }

/* Список возможностей ядра */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.item { border-top: 1px solid var(--line); padding-top: 22px; }
.item h3 { font: 600 19px/1.3 var(--sans); letter-spacing: 0; }
.item p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* Модули — тёмная секция, как рамка кабинета */
.section-dark { background: var(--chrome); color: #fff; }
.section-dark .section-head p, .section-dark .feature-text > p { color: var(--chrome-text); }
.section-dark .kicker { color: #9aa3ff; }
.section-dark .ticks li::before { background: var(--chrome-3); }
.section-dark .ticks li::after { border-color: #9aa3ff; }
.section-dark .shot { border-color: var(--chrome-3); }
.modules-note { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--chrome-3); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; color: var(--chrome-text); }
.modules-note strong { color: #fff; font-weight: 600; }
.modules-note a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.module-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.module-tag { font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--chrome-3); color: var(--chrome-text); }
.module-tag.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Данные */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.trust h3 { font: 600 18px/1.3 var(--sans); letter-spacing: 0; }
.trust p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* Вопросы */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 19px/1.35 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 30px; width: 10px; height: 10px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); }

/* Призыв в конце */
.cta { background: var(--accent); color: #fff; border-radius: 20px; padding: 64px 48px; text-align: center; }
.cta h2 { font-size: clamp(28px, 3.4vw, 40px); }
.cta p { margin: 14px auto 0; max-width: 560px; color: rgba(255, 255, 255, .85); font-size: 18px; }
.cta .btn { margin-top: 28px; }

/* Подвал */
.site-footer { background: var(--chrome); color: var(--chrome-text); padding: 64px 0 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .logo-text { color: rgba(255, 255, 255, .55); }
.site-footer p { margin-top: 14px; max-width: 300px; }
.site-footer h4 { font: 600 14px/1 var(--sans); color: #fff; margin: 4px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--chrome-text); }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--chrome-3); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: #8b91ad; }

/* Шапка внутренних страниц */
.page-hero { background: var(--canvas); padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 50px); }
.page-hero p { margin-top: 14px; font-size: 19px; color: var(--muted); max-width: 640px; }

/* Цены */
.pricing { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: start; }
.plan { border: 2px solid var(--accent); border-radius: 20px; padding: 36px; background: #fff; }
.plan-name { font: 600 15px/1 var(--sans); color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.plan-price { font: 600 64px/1 var(--display); letter-spacing: -0.03em; margin-top: 18px; }
.plan-price small { font: 500 18px var(--sans); color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.plan > p { margin-top: 10px; color: var(--muted); }
.plan .ticks { margin-top: 28px; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.plan .btn { margin-top: 32px; }
.aside-card { border: 1px solid var(--line); border-radius: 20px; padding: 32px; background: var(--canvas); }
.aside-card h3 { font-size: 22px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plans .plan { display: flex; flex-direction: column; padding: 32px; }
.plans .plan .ticks { grid-template-columns: 1fr; margin-bottom: 8px; }
.plans .plan .btn { margin-top: auto; text-align: center; }
.plans .plan-price { font-size: 48px; }
.plan-plain { border: 1px solid var(--line); }
.plan-plain .plan-name { color: var(--ink); }
.plans-note { margin-top: 24px; color: var(--muted); text-align: center; }
.ticks-3 { grid-template-columns: repeat(3, 1fr); gap: 16px 32px; margin-top: 0; }
.aside-card p { margin-top: 12px; color: var(--muted); }

/* Блог */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.post-card:hover { color: var(--ink); border-color: #cfd3e3; box-shadow: 0 16px 40px -28px rgba(10, 15, 44, .35); }
.post-meta { font-size: 14px; color: var(--muted); }
.post-card h2 { font-size: 22px; line-height: 1.25; margin-top: 14px; }
.post-card p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.post-card .more { margin-top: auto; padding-top: 20px; color: var(--accent); font-weight: 500; font-size: 15px; }

/* Статья */
.article { max-width: 720px; margin: 0 auto; }
.article-head { padding: 64px 0 32px; }
.article-head h1 { font-size: clamp(32px, 4vw, 46px); }
.article-head .post-meta { margin-top: 18px; }
.back { font-size: 15px; color: var(--muted); display: inline-block; margin-bottom: 22px; }
.prose { font-size: 18px; line-height: 1.7; padding-bottom: 32px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; margin-top: 1.8em; }
.prose h3 { font-size: 22px; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); }
.prose a { border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.article-cta { border-top: 1px solid var(--line); margin: 24px 0 96px; padding-top: 32px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.article-cta p { color: var(--muted); max-width: 440px; }

/* Планшет и телефон */
@media (max-width: 960px) {
  .nav, .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-left: auto; cursor: pointer; }
  .site-header .wrap { gap: 12px; }
  .header-actions { order: 3; }
  .nav.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav.open a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav.open a.mobile-only { display: block; color: var(--accent); border-bottom: 0; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 32px; }
  .feature.reverse .feature-text { order: 0; }
  .steps, .grid-3, .posts { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-actions .btn { padding: 9px 12px; font-size: 14px; }
  .hero { padding-top: 48px; }
  .hero .lead { font-size: 18px; }
  .hero-actions .btn { width: 100%; }
  .hero-shot { margin-top: 40px; }
  .section { padding: 64px 0; }
  .steps, .grid-3, .posts, .trust, .plan .ticks, .plans, .ticks-3 { grid-template-columns: 1fr; }
  .feature + .feature { margin-top: 64px; }
  .cta { padding: 44px 24px; border-radius: 16px; }
  .plan { padding: 28px 22px; }
  .plan-price { font-size: 52px; }
  .footer-grid { grid-template-columns: 1fr; }
  .prose { font-size: 17px; }
}
.mobile-only { display: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Временный логотип: колпак с тремя складками-«Ш» и надпись */
.logo { gap: 9px; }
.logo-icon { width: 38px; height: 34px; flex: none; }
.logo-word { font: 700 24px/1 var(--display); letter-spacing: -0.04em; color: #12201b; }
.logo-text { font-size: 15px; font-weight: 500; color: #9aa0b4; align-self: flex-end; margin-bottom: 2px; }
.site-footer .logo-word { color: #fff; }
.plan-name { text-transform: none; letter-spacing: 0; font-size: 16px; }

/* Главная v2: живые мини-экраны, появление при прокрутке, первый экран-композиция. */

/* Появление при прокрутке: без скрипта всё видно сразу. */
.m-js [data-m] { opacity: 0; transform: translateY(18px); }
.m-js [data-m].is-in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--m-k, 0) * 90ms); }

/* Шапка: тень после прокрутки */
.site-header { transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px -18px rgba(10, 15, 44, .45); }
.btn-primary.glow { box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--accent) 90%, transparent); }
.btn .arr { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ── Первый экран ── */
.hero2 { position: relative; overflow: hidden; background: linear-gradient(#f4f6fb, #fff 82%); padding: 64px 0 72px; }
.hero2::before { content: ""; position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background-image: linear-gradient(#e3e6ef 1px, transparent 1px), linear-gradient(90deg, #e3e6ef 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 70% at 72% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 70% at 72% 30%, #000, transparent 75%); }
.hero2-waves { position: absolute; left: -5%; right: -5%; bottom: -40px; height: 360px; pointer-events: none; opacity: .7; }
.hero2-waves path { fill: none; stroke: #d9ddf0; stroke-width: 1; }
.hero2 .wrap { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero2 h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.035em; }
.hero2 h1 .accent { color: var(--accent); display: block; }
.hero2 .lead { font-size: 19px; color: var(--muted); margin-top: 24px; max-width: 540px; }
.hero2 .hero-actions { justify-content: flex-start; margin-top: 32px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-size: 15px; color: var(--ink); margin-bottom: 26px; box-shadow: 0 2px 8px -4px rgba(10, 15, 44, .12); }
.pill:hover { color: var(--ink); border-color: #cfd3e3; }
.pill b { background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.pill .arr { width: 14px; height: 14px; color: var(--muted); }
.proof { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--muted); }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof svg { width: 16px; height: 16px; color: #16a34a; }
.rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--d, 0) * 110ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* Композиция справа */
.stage { position: relative; height: 520px; }
.browser { position: absolute; left: 0; right: 40px; top: 40px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(10, 15, 44, .45), 0 2px 8px rgba(10, 15, 44, .06); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #fafbfd; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #dfe2ec; }
.url { font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 3px 10px; display: inline-flex; align-items: center; gap: 6px; }
.url svg { width: 11px; height: 11px; color: #16a34a; }
.browser img { width: 100%; }
.float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: 0 24px 48px -24px rgba(10, 15, 44, .4); display: flex; gap: 12px; align-items: center; font-size: 14px; }
.float b { display: block; font-weight: 600; font-size: 14px; }
.float small { color: var(--muted); font-size: 12px; }
.float-pay { right: 0; top: 0; animation: rise .9s cubic-bezier(.2, .7, .2, 1) .55s both, bob 6s ease-in-out 1.5s infinite; }
.float-lead { left: -28px; bottom: 36px; width: 310px; animation: rise .9s cubic-bezier(.2, .7, .2, 1) .7s both, bob 7s ease-in-out 1.6s infinite; }
.float-won { right: 6px; bottom: 0; animation: rise .9s cubic-bezier(.2, .7, .2, 1) .85s both, bob 6.5s ease-in-out 1.8s infinite; }
.ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.ring { width: 40px; height: 40px; flex: none; }
.ring circle { fill: none; stroke-width: 4; }
.ring .bg { stroke: #e7f6ec; }
.ring .fg { stroke: #16a34a; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: ring 1.8s .6s cubic-bezier(.2, .7, .2, 1) forwards; transform: rotate(-90deg); transform-origin: center; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.ring-wrap { position: relative; display: grid; place-items: center; }
.ring-wrap svg.check { position: absolute; width: 16px; height: 16px; color: #16a34a; }
.av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 600; font-size: 13px; color: var(--accent); background: var(--accent-soft); }
.av.tg { background: #2aabee; color: #fff; }
.av.tg svg { width: 16px; height: 16px; }
.lead-rotator { position: relative; flex: 1; min-height: 38px; }
.lead-rotator > div { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.lead-rotator > div.on { opacity: 1; transform: none; }
.float-lead .time { margin-left: auto; align-self: flex-start; color: var(--muted); font-size: 12px; }
.badge-won { font-size: 12px; font-weight: 600; color: #15803d; background: #dcfce7; border-radius: 6px; padding: 2px 8px; }

/* Полоса фактов под первым экраном */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.facts .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.fact { display: flex; gap: 12px; padding: 26px 20px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.fact b { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; }
.fact span { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 4px; }

/* Заголовок секции: слева крупно, справа пояснение */
.head2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.head2 h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.06; letter-spacing: -0.03em; }
.head2 p { color: var(--muted); font-size: 18px; }
.kick { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.kick::before { content: ""; width: 20px; height: 1.5px; background: currentColor; }
.section-dark .kick { color: #9aa3ff; }

/* Карточки с мини-экранами */
.card2 { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 0; display: flex; flex-direction: column; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card2:hover { border-color: #d4d8ea; box-shadow: 0 24px 50px -36px rgba(10, 15, 44, .45); transform: translateY(-2px); }
.card2 h3 { font: 600 21px/1.25 var(--display); letter-spacing: -0.01em; display: flex; gap: 10px; align-items: center; }
.card2 h3 svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.card2 > p { color: var(--muted); font-size: 16px; margin-top: 10px; }
.mini { margin: 22px -12px 12px; background: var(--canvas); border-radius: 14px; padding: 22px; flex: 1; min-height: 190px; position: relative; overflow: hidden; }
.mini-label { font-size: 13px; color: var(--muted); margin-bottom: 10px; }

/* Шаги */
.steps2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step2 { padding-bottom: 14px; }
.step2::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); }
.step2.active { border-color: var(--accent); box-shadow: 0 24px 50px -30px color-mix(in srgb, var(--accent) 55%, transparent); }
.step2.active::before { animation: fillbar 3.2s linear forwards; }
@keyframes fillbar { to { width: 100%; } }
.step-no { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; }
.field { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 14px; display: flex; gap: 8px; align-items: center; color: var(--ink); }
.field svg { width: 15px; height: 15px; color: var(--muted); }
.digits { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.digits i { width: 34px; height: 42px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; display: grid; place-items: center; font: 500 18px var(--display); font-style: normal; color: transparent; }
.playing .digits i { animation: digit 4.8s infinite; animation-delay: calc(var(--i) * 220ms); }
@keyframes digit { 0%, 8% { color: transparent; border-color: var(--line); } 14%, 80% { color: var(--ink); border-color: var(--accent); } 92%, 100% { color: transparent; border-color: var(--line); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.check-row { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-size: 14px; }
.box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #c9cde0; background: #fff; display: grid; place-items: center; }
.box svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
.playing .box { animation: boxon 4.8s infinite; }
.playing .box svg { animation: tick 4.8s infinite; }
@keyframes boxon { 0%, 30% { background: #fff; border-color: #c9cde0; } 36%, 90% { background: var(--accent); border-color: var(--accent); } 100% { background: #fff; border-color: #c9cde0; } }
@keyframes tick { 0%, 30% { opacity: 0; } 36%, 90% { opacity: 1; } 100% { opacity: 0; } }
.bar { height: 6px; border-radius: 3px; background: #e3e6f2; margin-top: 18px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; }
.playing .bar i { animation: barfill 4.8s infinite; }
@keyframes barfill { 0%, 40% { width: 0; } 80%, 100% { width: 100%; } }
.tour { background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 16px 34px -18px rgba(10, 15, 44, .4); border: 1px solid var(--line); position: relative; z-index: 1; }
.tour-top { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.tour-top .track { flex: 1; height: 4px; border-radius: 2px; background: #eceef5; overflow: hidden; }
.tour-top .track i { display: block; width: 5%; height: 100%; background: var(--accent); }
.playing .tour-top .track i { animation: tourbar 4.8s infinite; }
@keyframes tourbar { 0% { width: 5%; } 70%, 100% { width: 100%; } }
.tour h4 { font: 600 15px/1.3 var(--sans); margin: 10px 0 6px; }
.tour p { font-size: 13px; color: var(--muted); line-height: 1.45; }
.tour .go { display: inline-flex; margin-top: 10px; font-size: 13px; font-weight: 500; background: var(--accent); color: #fff; padding: 6px 12px; border-radius: 8px; }
.confetti i { position: absolute; width: 7px; height: 11px; border-radius: 2px; top: -12px; opacity: 0; }
.playing .confetti i { animation: fall 4.8s infinite; animation-delay: calc(var(--i) * 90ms + 2.6s); }
@keyframes fall { 0% { opacity: 0; transform: translateY(0) rotate(0); } 4% { opacity: 1; } 30% { opacity: 1; transform: translateY(220px) rotate(260deg); } 31%, 100% { opacity: 0; transform: translateY(220px); } }

/* Бенто-сетка возможностей */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; }

/* Мини-доска сделок */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; height: 210px; }
.col { background: #eceef5; border-radius: 12px; padding: 10px; position: relative; }
.col-h { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.col-h span { color: var(--muted); font-weight: 500; }
.col-sum { font-size: 12px; color: var(--muted); margin: 2px 0 8px; }
.dcard { background: #fff; border-radius: 9px; padding: 9px 10px; box-shadow: 0 1px 2px rgba(10, 15, 44, .06); font-size: 13px; margin-bottom: 8px; }
.dcard b { display: block; font-weight: 600; }
.dcard em { font-style: normal; color: var(--accent); font-size: 12px; }
.dcard .sum { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.mover { position: absolute; left: 10px; top: 58px; width: calc((100% - 24px) / 3 - 20px); z-index: 2; box-shadow: 0 14px 28px -14px rgba(10, 15, 44, .45); }
.playing .mover { animation: move 7s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes move {
  0%, 14% { transform: translate(0, 0) rotate(0); }
  20% { transform: translate(0, -6px) rotate(-2deg); }
  34%, 48% { transform: translate(calc(100% + 32px), 74px) rotate(0); }
  54% { transform: translate(calc(100% + 32px), 68px) rotate(-2deg); }
  68%, 92% { transform: translate(calc(200% + 64px), 0) rotate(0); }
  100% { transform: translate(0, 0); }
}

/* Заявки падают в список */
.inbox { display: grid; gap: 8px; }
.inbox .row { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 11px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(10, 15, 44, .05); }
.inbox .row b { display: block; font-size: 14px; font-weight: 600; }
.inbox .row small { display: block; color: var(--muted); font-size: 12px; }
.inbox .row .src { margin-left: auto; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: #e8f6fd; color: #1683c4; }
.inbox .row .src.site { background: var(--accent-soft); color: var(--accent); }
.playing .inbox .row { animation: drop 6s infinite; animation-delay: calc(var(--i) * 450ms); }
@keyframes drop { 0% { opacity: 0; transform: translateY(-14px); } 8%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }

/* Задачи отмечаются */
.todo { display: grid; gap: 4px; }
.todo .t { display: flex; gap: 10px; align-items: center; font-size: 14px; padding: 8px 4px; border-bottom: 1px solid #e3e6f0; }
.todo .t:last-child { border-bottom: 0; }
.todo .t .when { margin-left: auto; font-size: 12px; color: var(--muted); }
.todo .t .box { width: 18px; height: 18px; border-radius: 50%; }
.playing .todo .t .box { animation: boxon 6s infinite; animation-delay: calc(var(--i) * 700ms); }
.playing .todo .t .box svg { animation: tick 6s infinite; animation-delay: calc(var(--i) * 700ms); }
.playing .todo .t span.txt { animation: strike 6s infinite; animation-delay: calc(var(--i) * 700ms); }
@keyframes strike { 0%, 30% { color: var(--ink); text-decoration-color: transparent; } 36%, 90% { color: var(--muted); text-decoration: line-through; } }

/* Столбики отчёта растут */
.money { font: 600 30px/1 var(--display); letter-spacing: -0.02em; }
.money-sub { font-size: 13px; color: var(--muted); margin-top: 6px; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 110px; margin-top: 16px; }
.bars i { flex: 1; background: var(--accent); border-radius: 4px 4px 2px 2px; height: var(--h); transform-origin: bottom; }
.bars i:nth-child(odd) { opacity: .85; }
.m-js .bars i { transform: scaleY(0); }
.m-js .is-in .bars i, .m-js .bars.is-in i { transform: scaleY(1); transition: transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 60ms + .2s); }

/* Поиск печатает */
.search { display: flex; gap: 8px; align-items: center; border: 1.5px solid var(--accent); background: #fff; border-radius: 11px; padding: 10px 12px; font-size: 15px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.search svg { width: 16px; height: 16px; color: var(--muted); }
.typed { display: inline-block; overflow: hidden; white-space: nowrap; border-right: 2px solid var(--ink); width: 0; }
.playing .typed { animation: type 6s steps(16) infinite, caret .8s step-end infinite; }
@keyframes type { 0%, 6% { width: 0; } 34%, 88% { width: 16ch; } 96%, 100% { width: 0; } }
@keyframes caret { 50% { border-color: transparent; } }
.result { margin-top: 10px; background: #fff; border-radius: 11px; padding: 10px 12px; font-size: 13px; box-shadow: 0 1px 2px rgba(10, 15, 44, .05); display: flex; gap: 10px; align-items: center; opacity: 0; }
.result small { color: var(--muted); display: block; }
.result .tag { margin-left: auto; font-size: 11px; font-weight: 600; color: #b45309; background: #fef3c7; padding: 2px 7px; border-radius: 6px; }
.playing .result { animation: show 6s infinite; animation-delay: calc(var(--i, 0) * 150ms); }
@keyframes show { 0%, 34% { opacity: 0; transform: translateY(6px); } 40%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }

/* Команда */
.team { display: grid; gap: 8px; }
.member { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 11px; padding: 9px 12px; font-size: 14px; }
.member .role { margin-left: auto; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.member .lock { font-size: 12px; color: var(--muted); display: inline-flex; gap: 4px; align-items: center; }
.member .lock svg { width: 12px; height: 12px; }

/* Переключатель экранов кабинета */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 22px; }
.tabs button { border: 0; background: transparent; font: 500 15px var(--sans); color: var(--muted); padding: 8px 16px; border-radius: 9px; cursor: pointer; position: relative; overflow: hidden; }
.tabs button.on { background: var(--ink); color: #fff; }
.tabs button.on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: #9aa3ff; animation: fillbar 5s linear forwards; }
.screens { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--canvas); box-shadow: 0 40px 80px -50px rgba(10, 15, 44, .5); }
.screens img { width: 100%; transition: opacity .6s; }
.screens img + img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: top; }
.screens img:not(.on) { opacity: 0; }
.screens-caption { margin-top: 16px; color: var(--muted); font-size: 15px; text-align: center; min-height: 24px; }

/* Модули: ядро и подключаемые блоки */
.modmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.core { grid-column: 1 / -1; background: var(--chrome-2); border: 1px solid var(--chrome-3); border-radius: 16px; padding: 20px; }
.core-title { font: 600 15px var(--sans); color: #fff; display: flex; justify-content: space-between; }
.core-title span { color: #8b91ad; font-weight: 500; font-size: 13px; }
.core-items { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.core-items span { font-size: 13px; color: var(--chrome-text); background: var(--chrome-3); border-radius: 8px; padding: 5px 10px; }
.mod { border-radius: 16px; padding: 18px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; font-size: 14px; }
.mod b { font: 600 17px/1.2 var(--display); }
.mod.ready { background: var(--accent); color: #fff; box-shadow: 0 20px 40px -24px color-mix(in srgb, var(--accent) 90%, transparent); }
.mod.ready small { color: rgba(255, 255, 255, .8); }
.mod.soon { border: 1.5px dashed #3a4170; color: #8b91ad; }
.mod.soon b { color: #c9cde3; }
.plug { animation: plug 3.6s ease-in-out infinite; }
@keyframes plug { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Цены на главной */
.price-band { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--canvas); border: 1px solid var(--line); border-radius: 24px; padding: 48px; }
.price-big { font: 600 clamp(56px, 7vw, 88px)/1 var(--display); letter-spacing: -0.04em; }
.price-big small { font: 500 18px var(--sans); letter-spacing: 0; color: var(--muted); margin-left: 10px; }

/* Финальный призыв — тёмный */
.cta2 { position: relative; overflow: hidden; background: var(--chrome); color: #fff; border-radius: 24px; padding: 72px 48px; text-align: center; }
.cta2::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(var(--chrome-3) 1px, transparent 1px), linear-gradient(90deg, var(--chrome-3) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent 70%); mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent 70%); }
.cta2 > * { position: relative; }
.cta2 h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; }
.cta2 p { color: var(--chrome-text); margin: 14px auto 0; max-width: 560px; font-size: 18px; }
.cta2 .hero-actions { margin-top: 30px; }
.cta2 .btn-ghost { background: transparent; color: #fff; border-color: var(--chrome-3); }
.cta2 .btn-ghost:hover { border-color: #3a4170; color: #fff; }

/* Плавное раскрытие вопросов */
.faq details p { animation: faqin .3s ease; }
@keyframes faqin { from { opacity: 0; transform: translateY(-4px); } }

@media (max-width: 1080px) {
  .hero2 .wrap { grid-template-columns: 1fr; }
  .stage { height: 460px; max-width: 640px; }
  .facts .wrap { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(4) { border-left: 0; padding-left: 0; }
  .fact { border-top: 1px solid var(--line); }
  .fact:nth-child(-n+3) { border-top: 0; }
}
@media (max-width: 960px) {
  .head2 { grid-template-columns: 1fr; gap: 16px; }
  .steps2 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .span-4, .span-3 { grid-column: 1 / -1; }
  .span-2 { grid-column: span 1; }
  .price-band { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 640px) {
  .hero2 { padding-top: 40px; }
  .stage { height: 360px; }
  .browser { right: 0; top: 30px; }
  .float-pay { right: -6px; top: -6px; transform: scale(.88); }
  .float-lead { left: -6px; bottom: 10px; width: 260px; }
  .float-won { display: none; }
  .facts .wrap { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(-n+3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .fact:first-child { border-top: 0; }
  .bento { grid-template-columns: 1fr; }
  .span-2 { grid-column: 1 / -1; }

  .tabs { display: flex; overflow-x: auto; }
  .cta2 { padding: 48px 22px; }
  .modmap { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .m-js [data-m] { opacity: 1; transform: none; }
  .rise, .float, .plug, .ring .fg { animation: none !important; stroke-dashoffset: 0; }
  .playing * { animation: none !important; }
  .m-js .bars i { transform: none; }
  .typed { width: 16ch; border: 0; }
  .result { opacity: 1; }
}
.slot { height: 66px; border: 1.5px dashed transparent; border-radius: 9px; margin-bottom: 8px; }
.playing .slot { animation: slot 7s infinite; }
@keyframes slot { 0%, 18% { border-color: transparent; } 26%, 92% { border-color: #cfd3e6; } 100% { border-color: transparent; } }
@media (min-width: 961px) { #modules .feature { grid-template-columns: 1fr 1fr; } }
#modules h2 { font-size: clamp(30px, 3.4vw, 42px); }
@media (max-width: 960px) {
  .header-actions { order: 2; margin-left: auto; }
  .menu-toggle { order: 3; margin-left: 0; }
}
@media (max-width: 400px) {
  .site-header .logo-text { display: none; }
}
@media (max-width: 640px) {
  .board { width: 560px; transform: scale(.56); transform-origin: top left; margin-bottom: -92px; font-size: 13px; gap: 12px; }
}

/* v3: свой облик поверх прежних блоков. Первый экран — посыл слева, живой кабинет справа. */

/* Убираем приметы WoPix: сетка и волны на фоне, капс-метки с тире, синяя строка заголовка. */
.hero2::before, .hero2-waves { display: none !important; }
.kick { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; gap: 8px; }
.kick::before { width: 8px; height: 8px; border-radius: 50%; }
h1, h2, h3 { letter-spacing: -0.03em; }
.head2 h2 { letter-spacing: -0.04em; font-weight: 700; }
.card2 { border-radius: 22px; }
.mini { border-radius: 16px; }

/* ── Первый экран ── */
.hero3 { background: #fff; padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
.hero3 .wrap > * { min-width: 0; }
.hero3 .wrap { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: center; }
.hero3 h1 { font-size: clamp(38px, 4.3vw, 58px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 700; color: var(--ink); }
.hero3 .lead { font-size: 18px; color: var(--muted); margin-top: 22px; max-width: 520px; text-wrap: pretty; }
.hero3 .hero-actions { justify-content: flex-start; margin-top: 30px; }
.hero3 .proof { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.hero3 .proof li { display: flex; align-items: center; gap: 10px; }
.hero3 .proof svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.hero3 .beta { margin-top: 16px; font-size: 14px; color: #8a8fa3; }

/* Выбор вида деятельности */
.h3-pick { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.h3-pick-label { font-size: 14px; color: var(--muted); margin-right: 4px; white-space: nowrap; flex: none; }
.h3-pick button { font: 500 15px/1 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; display: inline-flex; align-items: center; gap: 8px; }
.h3-pick button:hover { border-color: #c9cddc; }
.h3-pick button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.h3-pick button small { font-size: 11px; color: #9aa0b4; font-weight: 500; }
.h3-pick button[aria-pressed="true"] small { color: #aab0c8; }
.h3-pick button .bar { width: 28px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; display: none; }
.h3-pick button[aria-pressed="true"] .bar { display: inline-block; }
.h3-pick button .bar i { display: block; height: 100%; width: 0; background: #fff; }
.h3-pick button.run .bar i { animation: h3bar var(--dur, 5s) linear forwards; }
.h3-pick.paused button .bar i { animation-play-state: paused; }
@keyframes h3bar { to { width: 100%; } }
.h3-note { margin-top: 14px; font-size: 14px; color: #8a8fa3; }

/* Кабинет */
.app-holder { position: relative; }
.app { position: absolute; top: 0; left: 0; width: 780px; transform-origin: top left; border-radius: 16px; overflow: hidden; background: #f4f5f9; box-shadow: 0 50px 100px -50px rgba(10, 15, 44, .5), 0 20px 40px -28px rgba(10, 15, 44, .3), 0 0 0 1px rgba(10, 15, 44, .08); font-size: 12px; line-height: 1.4; color: var(--ink); text-align: left; }
.a-top { height: 42px; background: var(--chrome); display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.a-logo { background: var(--accent); color: #fff; font-weight: 600; font-size: 12px; padding: 4px 7px; border-radius: 6px; }
.a-logo + span { color: var(--chrome-text); opacity: .55; font-size: 11px; }
.a-search { flex: 0 1 230px; margin: 0 auto; height: 26px; border-radius: 7px; background: var(--chrome-2); border: 1px solid var(--chrome-3); color: #7f86a6; font-size: 11px; display: flex; align-items: center; gap: 7px; padding: 0 9px; }
.a-search svg { width: 12px; height: 12px; }
.a-user { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 11px; text-align: right; white-space: nowrap; }
.a-user small { display: block; color: #8b91ad; font-size: 9.5px; }
.a-av { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: 9.5px; font-weight: 600; flex: none; }
.a-body { display: grid; grid-template-columns: 168px 1fr; height: 470px; }
.a-side { background: var(--chrome-2); padding: 10px 8px; color: var(--chrome-text); overflow: hidden; }
.a-company { background: rgba(255, 255, 255, .05); border-radius: 9px; padding: 8px 10px; margin-bottom: 10px; min-height: 44px; }
.a-company b { display: block; color: #fff; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-company small { font-size: 9.5px; color: #8b91ad; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-nav { display: grid; gap: 1px; }
.a-nav i { display: flex; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 7px; font-style: normal; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-nav i svg { width: 14px; height: 14px; opacity: .8; flex: none; }
.a-nav i.on { background: var(--accent); color: #fff; }
.a-group { margin: 12px 9px 5px; font-size: 9px; font-weight: 600; letter-spacing: .08em; color: #6f769a; text-transform: uppercase; white-space: nowrap; }
.a-main { padding: 14px 16px; overflow: hidden; position: relative; }
.a-head { display: flex; align-items: flex-start; gap: 12px; }
.a-head h4 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.a-head .pipe { font-size: 11px; color: var(--muted); margin-top: 1px; }
.a-head .total { margin-left: auto; align-self: center; font-size: 11px; color: var(--muted); white-space: nowrap; }
.a-head .total b { color: var(--ink); font-weight: 600; }
.a-head .new { background: var(--accent); color: #fff; font-size: 11px; font-weight: 500; padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.a-docs { display: flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 10.5px; color: var(--muted); min-height: 22px; flex-wrap: wrap; }
.a-docs .doc { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; color: var(--ink); display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.a-docs .doc svg { width: 10px; height: 10px; color: var(--accent); }
.a-docs .more { margin-left: auto; font-size: 10.5px; color: var(--muted); background: #e9ebf2; border-radius: 6px; padding: 2px 7px; }
.a-board { display: grid; gap: 8px; margin-top: 12px; height: 352px; }
.a-col { background: #eceef5; border-radius: 10px; padding: 8px; min-width: 0; }
.a-col h5 { margin: 0; display: flex; justify-content: space-between; gap: 6px; font-size: 11px; font-weight: 600; }
.a-col h5 span { color: var(--muted); font-weight: 500; }
.a-col .sum { font-size: 10px; color: var(--muted); margin: 1px 0 7px; }
.a-card { background: #fff; border-radius: 8px; padding: 8px 9px; box-shadow: 0 1px 2px rgba(10, 15, 44, .06); margin-bottom: 7px; }
.a-card b { display: block; font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.a-card em { display: block; font-style: normal; color: var(--accent); font-size: 10.5px; margin-top: 2px; }
.a-card span { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.a-toast { position: absolute; right: 14px; bottom: 14px; width: 250px; background: #fff; border-radius: 11px; padding: 10px 12px; display: flex; gap: 10px; align-items: flex-start; box-shadow: 0 16px 36px -16px rgba(10, 15, 44, .45), 0 0 0 1px rgba(10, 15, 44, .06); opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .45s cubic-bezier(.3, .8, .2, 1); pointer-events: none; }
.a-toast.show { opacity: 1; transform: none; }
.a-toast .ok { width: 24px; height: 24px; border-radius: 50%; background: #e7f6ec; color: #16a34a; display: grid; place-items: center; flex: none; }
.a-toast .ok svg { width: 13px; height: 13px; }
.a-toast b { display: block; font-size: 11.5px; }
.a-toast small { color: var(--muted); font-size: 10.5px; }
.app.compact { width: 440px; }
.app.compact .a-body { grid-template-columns: 1fr; height: 450px; }
.app.compact .a-side, .app.compact .a-search, .app.compact .a-head .total, .app.compact .a-user > span:first-child { display: none; }
.app.compact .a-head .new { margin-left: auto; }
.app.compact .a-board { height: 320px; }
.swap-out { animation: h3out .2s ease forwards; }
@keyframes h3out { to { opacity: 0; transform: translateY(-5px); } }
.swap-in { animation: h3in .45s cubic-bezier(.25, .8, .25, 1) both; animation-delay: calc(var(--k, 0) * 40ms); }
@keyframes h3in { from { opacity: 0; transform: translateY(8px); } }

/* Сборка кабинета под модуль: меню въезжает слева, колонки встают, карточки ложатся, документы выскакивают. */
.a-nav i.swap-in { animation-name: h3side; animation-duration: .5s; animation-delay: calc(var(--k, 0) * 60ms + 80ms); }
@keyframes h3side { from { opacity: 0; transform: translateX(-16px); } }
.a-col.swap-in { animation-name: h3col; animation-duration: .5s; animation-delay: calc(var(--k, 0) * 70ms); transform-origin: 50% 0; }
@keyframes h3col { from { opacity: 0; transform: translateY(16px) scaleY(.94); } }
.a-card.swap-in { animation-name: h3drop; animation-duration: .6s; animation-delay: calc(var(--k, 0) * 60ms + 160ms); }
@keyframes h3drop { 0% { opacity: 0; transform: translateY(-16px); } 60% { opacity: 1; transform: translateY(2px); } 100% { transform: none; } }
.a-docs .doc.swap-in { animation-name: h3pop; animation-duration: .4s; animation-delay: calc(var(--k, 0) * 70ms + 120ms); }
@keyframes h3pop { 0% { opacity: 0; transform: scale(.8); } 70% { opacity: 1; transform: scale(1.05); } 100% { transform: none; } }
.a-col { overflow: hidden; }

/* Сцена: курсор переносит сделку, приходит новая заявка. */
.a-cursor { position: absolute; left: -2px; top: -1.5px; z-index: 6; width: 20px; height: 22px; pointer-events: none; opacity: 0; transform-origin: 2px 1.5px; filter: drop-shadow(0 2px 3px rgba(10, 15, 44, .3)); }
.a-cursor svg { display: block; }
.a-cursor .ring { position: absolute; left: -8px; top: -8.5px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.a-card.a-ghost { position: absolute; z-index: 5; margin: 0; pointer-events: none; transition: transform .15s ease-out; box-shadow: 0 18px 30px -12px rgba(10, 15, 44, .4), 0 0 0 1px rgba(10, 15, 44, .06); }
.a-card.a-hole { background: transparent; box-shadow: none; outline: 1.5px dashed #c3c8d8; outline-offset: -1.5px; overflow: hidden; }
.a-card.a-hole > * { visibility: hidden; }
.a-card.a-flash { animation: h3flash 1.6s ease-out; }
@keyframes h3flash { from { box-shadow: 0 0 0 2px var(--accent), 0 1px 2px rgba(10, 15, 44, .06); } to { box-shadow: 0 0 0 2px transparent, 0 1px 2px rgba(10, 15, 44, .06); } }
.a-card .tag { display: inline-block; font-style: normal; font-size: 9.5px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border-radius: 5px; padding: 1px 6px; margin-bottom: 4px; }
.a-badge { margin-left: auto; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #fff; color: var(--accent); font-size: 9.5px; font-weight: 700; display: grid; place-items: center; animation: h3pop .35s cubic-bezier(.3, .8, .3, 1.4) both; }

/* Галочки под кнопками появляются по очереди после заголовка. */
.hero3 .proof li { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero3 .proof li svg { animation: h3pop .4s cubic-bezier(.3, .8, .3, 1.4) both; }
.hero3 .proof li:nth-child(1) { animation-delay: .55s; }
.hero3 .proof li:nth-child(2) { animation-delay: .7s; }
.hero3 .proof li:nth-child(3) { animation-delay: .85s; }
.hero3 .proof li:nth-child(1) svg { animation-delay: .75s; }
.hero3 .proof li:nth-child(2) svg { animation-delay: .9s; }
.hero3 .proof li:nth-child(3) svg { animation-delay: 1.05s; }

/* Выбор фирменного цвета — только в макете */
.tint { position: fixed; right: 16px; bottom: 16px; z-index: 50; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: 0 20px 40px -20px rgba(10, 15, 44, .35); font-size: 13px; }
.tint b { display: block; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.tint .sw { display: flex; gap: 8px; }
.tint button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.tint button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.tint small { display: block; margin-top: 8px; color: var(--muted); }

@media (max-width: 1080px) {
  .hero3 .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero3 .lead { max-width: 640px; }
}
@media (max-width: 640px) {
  .hero3 { padding-top: 36px; }
  .hero3 .hero-actions .btn { width: 100%; }
  .h3-pick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .h3-pick::-webkit-scrollbar { display: none; }
  .h3-pick button { flex: none; }
  .tint { right: 8px; bottom: 8px; padding: 8px 10px; }
  .tint small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .swap-out, .swap-in, .a-badge, .a-card.a-flash, .hero3 .proof li, .hero3 .proof li svg { animation: none !important; }
  .a-toast { transition: none; }
}
.step-no { text-transform: none; letter-spacing: 0; font-size: 14px; }

/* WordPress: пагинация блога и выравнивание картинок в статьях */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.prose img { border-radius: 12px; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
