/* ==========================================================================
   AI Метрика — стили лендинга.
   Палитра построена на цветах логотипа: синий градиент #3891EE → #51BCF2.
   ========================================================================== */

:root {
    /* Бренд */
    --brand:        #2E8FEA;
    --brand-deep:   #1B6FD0;
    --brand-bright: #51BCF2;
    --brand-ink:    #0E3A66;
    --brand-soft:   #EAF4FE;
    --brand-line:   #CFE6FB;

    /* Нейтральные */
    --ink:        #0B1725;
    --ink-soft:   #4C5F76;
    --ink-muted:  #8494A8;
    --line:       #E5ECF4;
    --line-soft:  #EFF4FA;
    --bg:         #FFFFFF;
    --bg-soft:    #F7FAFD;
    --bg-code:    #F2F6FB;

    /* Статусы */
    --ok:      #12A150;
    --ok-bg:   #EAF8F0;
    --warn:    #C77A0A;
    --warn-bg: #FEF6E7;
    --err:     #D64545;
    --err-bg:  #FDF0F0;

    --grad: linear-gradient(135deg, #3891EE 0%, #51BCF2 100%);
    --grad-soft: linear-gradient(135deg, #EAF4FE 0%, #F2FAFF 100%);

    --r-sm: 8px;
    --r:    12px;
    --r-lg: 18px;
    --r-xl: 24px;

    --shadow-sm: 0 1px 2px rgba(11, 23, 37, .05);
    --shadow:    0 2px 4px rgba(11, 23, 37, .04), 0 10px 24px rgba(11, 23, 37, .06);
    --shadow-lg: 0 4px 8px rgba(11, 23, 37, .04), 0 20px 48px rgba(11, 23, 37, .10);

    --maxw: 1140px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16.5px;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* --- Типографика ---------------------------------------------------------- */

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; line-height: 1.18; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.15rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -.028em; }
h3 { font-size: 1.16rem; letter-spacing: -.015em; }
p  { margin: 0 0 1.05em; }
a  { color: var(--brand-deep); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand); }

strong, b { font-weight: 650; }

.muted { color: var(--ink-muted); font-size: .895rem; }
.lead { font-size: 1.13rem; line-height: 1.6; color: var(--ink-soft); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
    color: var(--brand-deep); margin-bottom: 14px;
}
.eyebrow::before {
    content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad);
}

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

code, kbd, pre { font-family: var(--mono); font-size: .875em; }
code {
    background: var(--bg-code); border: 1px solid var(--line);
    border-radius: 5px; padding: .1em .38em; color: var(--brand-ink);
    word-break: break-word;
}
pre {
    background: #0E1B2B; color: #D6E4F5;
    border: 0; border-radius: var(--r);
    padding: 18px 20px; overflow-x: auto; line-height: 1.6; margin: 0 0 1.3em;
    font-size: .875rem;
}
pre code { background: none; border: 0; padding: 0; color: inherit; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--brand); color: #fff; padding: 12px 18px; z-index: 200;
    border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; }

/* --- Шапка ---------------------------------------------------------------- */

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(11, 23, 37, .05); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }

.logo { display: flex; align-items: center; gap: 11px; color: var(--ink); flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo img { display: block; width: 38px; height: 38px; border-radius: 10px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 1.06rem; font-weight: 700; letter-spacing: -.02em; }
.logo-text small { color: var(--ink-muted); font-size: .735rem; letter-spacing: -.005em; }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
    color: var(--ink-soft); padding: 9px 13px; border-radius: 9px;
    font-size: .925rem; font-weight: 500; white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.site-nav a.active { color: var(--brand-deep); background: var(--brand-soft); font-weight: 650; }
.site-nav .btn { margin-left: 10px; }

.nav-toggle, .nav-burger { display: none; }

/* --- Кнопки --------------------------------------------------------------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 11px;
    background: var(--grad); color: #fff;
    font-size: .955rem; font-weight: 650; letter-spacing: -.01em;
    border: 0; cursor: pointer; text-align: center;
    box-shadow: 0 1px 2px rgba(27, 111, 208, .2), 0 6px 16px rgba(56, 145, 238, .22);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover {
    color: #fff; transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(27, 111, 208, .22), 0 10px 24px rgba(56, 145, 238, .3);
    filter: saturate(1.05);
}
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; border-radius: 12px; }
.btn-sm { padding: 9px 16px; font-size: .885rem; border-radius: 9px; }

.btn-ghost {
    background: #fff; color: var(--brand-deep);
    border: 1px solid var(--brand-line); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-deep); box-shadow: var(--shadow); }

.btn-plain { background: transparent; color: var(--ink-soft); box-shadow: none; border: 0; }
.btn-plain:hover { color: var(--brand-deep); box-shadow: none; transform: none; }

.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* --- Секции --------------------------------------------------------------- */

.section { padding: 76px 0; }
.section-sm { padding: 44px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-ink { background: #0B1624; color: #E8F1FB; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .lead, .section-ink p { color: #A8BDD4; }

.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { margin-bottom: .4em; }
.section-lead { font-size: 1.075rem; color: var(--ink-soft); margin-bottom: 0; }

/* --- Первый экран --------------------------------------------------------- */

.hero {
    position: relative; overflow: hidden;
    padding: 78px 0 88px;
    background:
        radial-gradient(900px 460px at 82% -8%, rgba(81, 188, 242, .16), transparent 62%),
        radial-gradient(700px 400px at 8% 8%, rgba(56, 145, 238, .10), transparent 60%),
        #fff;
}
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }
/* min-width:0 не даёт длинному слову распереть колонку сетки,
   z-index поднимает текст над градиентной подложкой. */
.hero-content { position: relative; z-index: 1; min-width: 0; }
.hero h1 { margin-bottom: .42em; }
.hero-lead { font-size: 1.16rem; color: var(--ink-soft); margin-bottom: 1.9em; max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.hero-note { font-size: .87rem; color: var(--ink-muted); }

.hero-trust { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .815rem; font-weight: 550; color: var(--ink-soft);
    background: #fff; border: 1px solid var(--line);
    border-radius: 999px; padding: 5px 13px; box-shadow: var(--shadow-sm);
}
.badge-ok::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex-shrink: 0;
}

/* Макет отчёта в первом экране — рисуется средствами CSS, без картинок. */
.mock {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.mock-bar {
    display: flex; align-items: center; gap: 7px;
    padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: var(--bg-soft);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: #D9E2EC; }
.mock-dot:first-child { background: #F5B5B5; }
.mock-dot:nth-child(2) { background: #F7D9A0; }
.mock-dot:nth-child(3) { background: #AFE0BF; }
.mock-title { margin-left: 8px; font-size: .78rem; color: var(--ink-muted); font-weight: 550; }

.mock-body { padding: 20px; }

.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.mock-kpi { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 12px 13px; }
.mock-kpi-label { font-size: .7rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.mock-kpi-value { font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.3; }
.mock-kpi-delta { font-size: .72rem; font-weight: 650; color: var(--ok); }
.mock-kpi-delta.down { color: var(--err); }

.mock-chart { display: flex; align-items: flex-end; gap: 5px; height: 96px; margin-bottom: 8px; }
.mock-chart span {
    flex: 1; border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, var(--brand-bright), var(--brand));
    opacity: .28; min-height: 6px;
}
.mock-chart span.hi { opacity: 1; }
.mock-axis { display: flex; justify-content: space-between; font-size: .68rem; color: var(--ink-muted); margin-bottom: 18px; }

.mock-rows { display: flex; flex-direction: column; gap: 7px; }
.mock-row { display: flex; align-items: center; gap: 10px; font-size: .8rem; }
.mock-row-name { flex: 1; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row-bar { width: 74px; height: 6px; border-radius: 3px; background: var(--line-soft); overflow: hidden; flex-shrink: 0; }
.mock-row-bar i { display: block; height: 100%; border-radius: 3px; background: var(--grad); }
.mock-row-val { width: 42px; text-align: right; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }

/* --- Строка показателей --------------------------------------------------- */

.stats-band { background: var(--grad); color: #fff; padding: 52px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-value { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 750; letter-spacing: -.04em; line-height: 1.1; }
.stat-label { font-size: .93rem; color: rgba(255, 255, 255, .86); margin-top: 4px; }

/* --- Сетки и карточки ----------------------------------------------------- */

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 26px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--brand-line); }
.card h3 { margin-bottom: .45em; }
.card p:last-child, .card ul:last-child, .card ol:last-child { margin-bottom: 0; }
.card-flat { box-shadow: none; }
.card-flat:hover { transform: none; box-shadow: var(--shadow-sm); }

.card-icon {
    width: 42px; height: 42px; margin-bottom: 15px;
    display: grid; place-items: center;
    background: var(--grad-soft); color: var(--brand-deep);
    border: 1px solid var(--brand-line);
    border-radius: 12px; font-weight: 700; font-size: 1rem;
}
.card-icon svg { width: 21px; height: 21px; display: block; }

.card-num {
    display: inline-grid; place-items: center;
    width: 26px; height: 26px; border-radius: 8px;
    background: var(--brand-soft); color: var(--brand-deep);
    font-size: .82rem; font-weight: 700; margin-bottom: 12px;
}

.card-link { font-size: .9rem; font-weight: 600; }

/* --- Список с галочками --------------------------------------------------- */

.checks { list-style: none; padding: 0; margin: 0 0 1.1em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: .42em;
    width: 17px; height: 17px; border-radius: 50%;
    background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2312A150' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* --- Таблицы -------------------------------------------------------------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .925rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th {
    background: var(--bg-soft); font-weight: 650; font-size: .8rem;
    text-transform: uppercase; letter-spacing: .045em; color: var(--ink-muted);
    white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #FCFDFF; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

.compare-yes { color: var(--ok); font-weight: 700; }
.compare-no  { color: var(--err); font-weight: 700; }

/* --- Шаги ----------------------------------------------------------------- */

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps > li {
    counter-increment: step; position: relative;
    padding: 0 0 34px 62px; margin: 0 0 0 19px;
    border-left: 2px solid var(--line);
}
.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps > li::before {
    content: counter(step);
    position: absolute; left: -20px; top: -4px;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--grad); color: #fff;
    display: grid; place-items: center;
    font-size: .95rem; font-weight: 700;
    box-shadow: 0 4px 12px rgba(56, 145, 238, .3);
}
.steps h3 { margin-bottom: .38em; }
.steps p:last-child { margin-bottom: 0; }

/* --- Заметки -------------------------------------------------------------- */

.note {
    border-left: 3px solid var(--brand);
    background: var(--brand-soft);
    border-radius: 0 var(--r) var(--r) 0;
    padding: 16px 20px; margin: 0 0 1.3em; font-size: .945rem;
}
.note.warn { border-left-color: var(--warn); background: var(--warn-bg); }
.note.ok   { border-left-color: var(--ok);   background: var(--ok-bg); }
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--ink); }

/* --- Форма ---------------------------------------------------------------- */

.form-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-xl); padding: 32px;
    box-shadow: var(--shadow);
    max-width: 560px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .91rem; font-weight: 650; margin-bottom: 7px; }
.field input[type="email"], .field input[type="text"] {
    width: 100%; padding: 13px 15px; font-size: 1rem;
    border: 1px solid var(--line); border-radius: 11px;
    font-family: inherit; color: var(--ink); background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: #A9B6C7; }
.field input:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(56, 145, 238, .14);
}
.field .hint { font-size: .835rem; color: var(--ink-muted); margin-top: 7px; }

.form-row { display: flex; gap: 12px; align-items: flex-start; }
.form-row .field { flex: 1; margin-bottom: 0; }
.form-card .btn { width: 100%; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert { border-radius: var(--r); padding: 16px 20px; margin-bottom: 22px; font-size: .945rem; }
.alert-ok  { background: var(--ok-bg);  border: 1px solid #B9E6CB; color: #0B5227; }
.alert-err { background: var(--err-bg); border: 1px solid #F0C6C6; color: #8A2626; }
.alert p:last-child { margin-bottom: 0; }

.promo-result {
    margin-top: 24px; padding: 26px 22px; text-align: center;
    background: var(--grad-soft); border: 1px dashed var(--brand-line);
    border-radius: var(--r-lg);
}
.promo-code {
    display: block; font-family: var(--mono); font-size: 1.7rem;
    font-weight: 700; letter-spacing: 2.5px; margin: 8px 0 16px; color: var(--brand-ink);
    word-break: break-all;
}

/* --- Заглушки скриншотов -------------------------------------------------- */

.shot {
    border: 1px solid var(--line); border-radius: var(--r-lg);
    overflow: hidden; background: #fff; box-shadow: var(--shadow-sm);
    transition: box-shadow .2s ease;
}
.shot:hover { box-shadow: var(--shadow); }
.shot-frame {
    aspect-ratio: 16 / 10;
    background:
        repeating-linear-gradient(45deg, #FAFCFE 0 14px, #F3F8FD 14px 28px);
    display: grid; place-items: center;
    border-bottom: 1px solid var(--line);
    color: var(--ink-muted); font-size: .85rem; text-align: center; padding: 18px;
}
.shot-frame code { font-size: .78rem; }
.shot-frame img {
    display: block; width: 100%; height: 100%;
    /* contain, а не cover: скриншот админки обрезать нельзя. */
    object-fit: contain; background: #fff;
}
.shot-body { padding: 16px 18px; }
.shot-body h3 { font-size: 1.02rem; margin-bottom: .3em; }
.shot-body p { font-size: .9rem; color: var(--ink-soft); margin-bottom: 0; }

/* --- Полоса призыва и подвал ---------------------------------------------- */

.cta-band {
    background: #0B1624; color: #fff;
    padding: 68px 0; position: relative; overflow: hidden;
}
.cta-band::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(700px 320px at 78% 110%, rgba(81, 188, 242, .22), transparent 65%);
    pointer-events: none;
}
.cta-inner {
    position: relative; display: grid; grid-template-columns: 1.25fr .75fr;
    gap: 44px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: #A8BDD4; margin-bottom: 0; max-width: 46em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo img { width: 32px; height: 32px; border-radius: 9px; }
.footer-logo strong { font-size: 1.02rem; letter-spacing: -.02em; }
.footer-col h3 {
    font-size: .78rem; text-transform: uppercase; letter-spacing: .07em;
    color: var(--ink-muted); margin-bottom: 1em; font-weight: 650;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .55em; font-size: .915rem; }
.footer-col a { color: var(--ink-soft); }
.footer-col a:hover { color: var(--brand-deep); }
.footer-bottom {
    margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    font-size: .835rem; color: var(--ink-muted);
}

/* --- Крошки, оглавление, страницы ----------------------------------------- */

.breadcrumbs { font-size: .865rem; color: var(--ink-muted); padding: 26px 0 0; }
.breadcrumbs a { color: var(--ink-muted); }
.breadcrumbs a:hover { color: var(--brand-deep); }
.breadcrumbs span { margin: 0 7px; opacity: .55; }

.page-head { padding: 34px 0 18px; }
.page-head h1 { margin-bottom: .38em; }
.page-head .lead { max-width: 800px; margin-bottom: 0; }

.toc {
    background: var(--bg-soft); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 20px 24px; margin-bottom: 8px;
}
.toc h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-muted); margin-bottom: .9em; }
.toc ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.toc li { font-size: .93rem; margin-bottom: .42em; break-inside: avoid; }

/* --- Вопросы и ответы ----------------------------------------------------- */

.faq details {
    border: 1px solid var(--line); border-radius: var(--r);
    padding: 18px 22px; margin-bottom: 11px; background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--brand-line); box-shadow: var(--shadow-sm); }
.faq summary {
    cursor: pointer; font-weight: 650; font-size: 1.015rem;
    list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; flex-shrink: 0; width: 11px; height: 11px;
    border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
    transform: rotate(45deg); transition: transform .2s ease; margin-top: -4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details[open] summary { margin-bottom: .7em; }
.faq p:last-child { margin-bottom: 0; color: var(--ink-soft); }

/* --- Мелочи --------------------------------------------------------------- */

.hr { height: 1px; background: var(--line); border: 0; margin: 44px 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }

.quote {
    border-left: 3px solid var(--brand-line);
    padding-left: 20px; margin: 0 0 1.2em;
    font-size: 1.05rem; color: var(--ink-soft);
}

.price-note {
    display: inline-flex; align-items: baseline; gap: 10px;
    font-weight: 700; letter-spacing: -.02em;
}
.price-old { color: var(--ink-muted); text-decoration: line-through; font-weight: 500; }
.price-new { font-size: 1.9rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* --- Адаптив -------------------------------------------------------------- */

@media (max-width: 1040px) {
    .hero-grid { grid-template-columns: 1fr; gap: 46px; }
    .hero-visual { max-width: 560px; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .cta-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 900px) {
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .toc ul { columns: 1; }
    .split { grid-template-columns: 1fr; }
    .section { padding: 58px 0; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .wrap { padding: 0 18px; }

    .nav-burger { display: flex; flex-direction: column; gap: 5px; padding: 11px; cursor: pointer; }
    .nav-burger span { display: block; width: 21px; height: 2px; background: var(--ink); border-radius: 2px; }

    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 10px 18px 16px; box-shadow: 0 12px 28px rgba(11, 23, 37, .10);
    }
    .nav-toggle:checked ~ .site-nav { display: flex; }
    .site-nav a { padding: 13px 14px; border-radius: 9px; font-size: 1rem; }
    .site-nav .btn { margin: 10px 0 0; }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .stats-grid { grid-template-columns: 1fr; gap: 22px; }
    .mock-kpis { grid-template-columns: 1fr; }

    .hero { padding: 46px 0 56px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .section { padding: 48px 0; }
    .form-card { padding: 24px; }
    .card { padding: 22px; }
    .cta-band { padding: 50px 0; }
    .cta-actions { flex-direction: column; align-items: stretch; }
    .cta-actions .btn { width: 100%; }
    .steps > li { padding-left: 52px; margin-left: 16px; }
}

@media print {
    .site-header, .cta-band, .site-footer, .hero-actions { display: none; }
}
