/* ===================== landing_2.css ===================== */
/* ============================================================
   КЭДО Landing 2 — стили новых блоков.
   Базовые компоненты (шапка, hero, карточки, FAQ, форма, футер)
   берутся из общего style.css — его не трогаем, он общий с landing_1.
   ============================================================ */

/* ─── Черновик: плейсхолдеры и пометки ────────────────────── */
.l2-draft-bar {
    background: #fff3c4;
    color: #6b5200;
    font-size: 12px;
    text-align: center;
    padding: 6px 16px;
    border-bottom: 1px solid #f0d77a;
}
/* .ph-text — «нужно уточнить». Визуально не выделяется (решение 30.09.26),
   места находятся поиском по классу, что уточнить — в атрибуте title */

.ph {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 220px;
    padding: 24px;
    border: 2px dashed var(--color-brand);
    border-radius: var(--radius-lg);
    background:
        repeating-linear-gradient(135deg, rgba(247,153,0,.05) 0 12px, rgba(247,153,0,.1) 12px 24px),
        #fffaf2;
    color: var(--color-gray-dark);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}
.ph strong { color: var(--color-black); font-size: 15px; }
.ph__tag {
    align-self: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-brand-dark);
    background: #fff;
    border: 1px solid rgba(247,153,0,.4);
    border-radius: 999px;
    padding: 2px 10px;
}
.ph--video { min-height: 280px; }
.ph--phone { min-height: 320px; max-width: 280px; margin-inline: auto; width: 100%; }

/* ─── Общие мелочи ───────────────────────────────────────── */
/* Колонки гридов не должны распираться картинками со скриншотами */
.l2-what > *, .l2-tabs__panel > *, .l2-flow__step > *, .l2-docs > *, .l2-fn > *,
.l2-tpl > *, .l2-price > *, .l2-calc > *, .l2-sec > *, .l2-eco > *, .l2-sign > * { min-width: 0; }
.l2 img { max-width: 100%; }

/* Рамка скриншота из style.css на ≥768px получает grid-area: frame и max-height картинки 200px —
   в новых блоках это ломает сетку, поэтому сбрасываем */
.l2-flow__img.feature-showcase__frame,
.l2-tabs__img.feature-showcase__frame,
.l2-fn .feature-showcase__frame {
    grid-area: auto;
    display: block;
    padding: 0;
    margin-top: 0;
}
.l2-flow__img .feature-showcase__img,
.l2-fn .feature-showcase__img {
    width: 100%;
    max-height: none;
    height: auto;
}
.l2-fn .feature-showcase {
    display: flex;
    flex-direction: column;
    padding: 24px 22px 20px;
}
.l2-fn .feature-showcase__body { margin-bottom: 16px; }
.l2-fn .feature-showcase__frame { margin-top: auto; }
.l2-left { text-align: left; }
.l2-center { display: flex; justify-content: center; margin-top: 40px; }
.l2-lead {
    font-size: var(--typo-lead-size);
    color: var(--color-gray-dark);
    line-height: 1.7;
    margin: 0 0 16px;
}
.l2-link {
    display: inline-block;
    font-size: var(--typo-body-size);
    font-weight: 500;
    color: var(--color-brand);
    text-decoration: none;
}
.l2-link:hover { color: var(--color-brand-dark); }
.l2-link--light { color: #ffc15a; }
.l2-subtitle {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin: 64px 0 24px;
}
.l2-note {
    margin: 28px auto 0;
    text-align: center;
    font-size: var(--typo-body-size);
    color: var(--color-gray-dark);
}
.l2-small {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 24px;
    font-size: var(--typo-small-size);
    color: var(--color-gray-mid);
}

.l2-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 5px 9px;
    border-radius: 999px;
    white-space: nowrap;
    vertical-align: middle;
}
.l2-pill--ok { background: #e7f7ec; color: #1a7f3c; }
.l2-pill--soon { background: #eef0f3; color: #5b6472; }

.l2-checklist,
.l2-crosslist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    font-size: var(--typo-body-size);
    line-height: 1.55;
}
.l2-checklist li,
.l2-crosslist li {
    position: relative;
    padding-left: 26px;
}
.l2-checklist li::before,
.l2-crosslist li::before {
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
}
.l2-checklist li::before { content: '✓'; background: #fff1d9; color: var(--color-brand-dark); }
.l2-crosslist li::before { content: '×'; background: #f1f1f1; color: var(--color-gray-mid); font-size: 14px; }
.l2-checklist--sm { gap: 8px; font-size: 13px; }

/* ─── Шапка: логотип Подпислон того же размера, что на главной podpislon.ru (180×41) ── */
.l2 .header__logo img { height: 41px; width: auto; }
@media (max-width: 767px) { .l2 .header__logo img { height: 34px; } }

/* ─── Шапка: пунктов меню стало больше — бургер до 1200px ── */
@media (max-width: 1199px) {
    .l2 .header__nav, .l2 .header__actions { display: none; }
    .l2 .header__burger { display: flex; }
}

/* ─── 1. Hero ────────────────────────────────────────────── */
.l2-hero__h1-sub {
    display: block;
    margin-top: 8px;
    font-size: 0.55em;
    line-height: 1.2;
    font-weight: 600;
    opacity: .95;
}
.l2-hero__offer {
    margin: 18px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}
/* Hero: колонки текста и слона + полоса значков реестров снизу через всю ширину */
.l2 .hero { flex-direction: column; justify-content: center; align-items: stretch; }
.l2 .hero__cover { width: 100%; position: relative; z-index: 1; }
.l2 .hero__content { padding-left: 0; }          /* текст ровно по краю логотипа в шапке */
@media (min-width: 990px) {
    .l2 .hero__cover { gap: 56px; }
    .l2 .hero__content { flex: 0 1 560px; max-width: 560px; }
    .l2 .hero__subtitle { max-width: 520px; margin-bottom: 32px; }
    .l2 .hero__visual { justify-content: flex-end; }
}

/* листок, который раньше оказывался под значками реестров, — правее, в пустое место */
@media (min-width: 990px) { .l2 .hero__leaf--3 { margin-left: 300px; } }

/* Мобильный hero: слон между подзаголовком и кнопками */
@media (max-width: 989px) {
    .l2 .hero__content { display: contents; }
    .l2 .hero__cover    { gap: 20px; }
    .l2 .hero__head     { order: 1; margin-bottom: 0; }
    .l2 .hero__subtitle { order: 2; margin-bottom: 0; }
    .l2 .hero__visual   { order: 3; margin: 0; }
    .l2 .hero__cta-row  { order: 4; width: 100%; }
}

/* Мобильный футер: по центру, а не прижат к левому краю */
@media (max-width: 767px) {
    .l2 .footer__top { justify-items: center; text-align: center; }
    .l2 .footer__brand-col,
    .l2 .footer__brand-stack { align-items: center; }
    .l2 .footer__col { display: flex; flex-direction: column; align-items: center; }
    .l2 .footer__badges { flex-direction: column; align-items: center; }
    .l2 .footer__bottom { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
}
@media (max-width: 767px) {
    .hero__cta-row { flex-direction: column; align-items: stretch; }
    .hero__cta-row .btn { text-align: center; justify-content: center; }
}

/* ─── 2. Что такое КЭДО + вкладки ────────────────────────── */
.l2-what {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 64px;
}
@media (min-width: 990px) {
    .l2-what { grid-template-columns: 1fr 1fr; gap: 56px; }
}
.l2-tabs__title {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 20px;
}
.l2-tabs__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.l2-tabs__tab {
    font: 500 14px/1 var(--font);
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid var(--color-gray-line);
    background: #fff;
    color: var(--color-black);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.l2-tabs__tab:hover { border-color: var(--color-brand); }
.l2-tabs__tab.is-active {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: #fff;
}
.l2-tabs__panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
    background: var(--color-bg-gray);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.l2-tabs__panel[hidden] { display: none; }

/* Все вкладки в одной ячейке: блок всегда высотой с самую высокую вкладку.
   Неактивные скрыты через visibility, а не display — поэтому место под них сохраняется */
.l2-tabs__panels { display: grid; }
.l2-tabs__panels > .l2-tabs__panel { grid-area: 1 / 1; }
.l2-tabs__panels > .l2-tabs__panel[hidden] {
    display: grid;
    visibility: hidden;
    pointer-events: none;
}
/* Картинка вкладки — фиксированная рамка 12:7 (как скриншоты интерфейса 1440×840) */
.l2-tabs__panels .l2-tabs__img,
.l2-tabs__panels .ph {
    aspect-ratio: 12 / 7;
    min-height: 0;
    width: 100%;
}
.l2-tabs__panels .l2-tabs__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}
@media (min-width: 990px) {
    .l2-tabs__panel { grid-template-columns: 5fr 7fr; padding: 40px; gap: 48px; }
}
.l2-tabs__img img { display: block; width: 100%; height: auto; }

/* ─── 2. Кому полезно — три карточки без картинок ─────────── */
.l2-roles__title {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 28px;
}
.l2-roles__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) { .l2-roles__grid { grid-template-columns: repeat(3, 1fr); } }
.l2-role {
    background: var(--color-bg-gray);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}
.l2-role__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff1d9;
    color: var(--color-brand-dark);
    margin-bottom: 16px;
}
.l2-role__title { font-size: 20px; line-height: 30px; font-weight: 600; margin: 0 0 16px; }
.l2 .l2-role .l2-checklist { font-size: 15px; line-height: 22px; gap: 12px; }
@media (min-width: 768px) and (max-width: 989px) {
    .l2-role { padding: 24px 18px; }
    .l2 .l2-role .l2-checklist { font-size: 14px; line-height: 20px; }
}

/* ─── 3. Как работает ────────────────────────────────────── */
.l2-flow {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 40px;
}
.l2-flow__step {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}
@media (min-width: 990px) {
    .l2-flow__step { grid-template-columns: 5fr 7fr; gap: 56px; }
    .l2-flow__step:nth-child(even) { grid-template-columns: 7fr 5fr; }
    .l2-flow__step:nth-child(even) .l2-flow__text { order: 2; }
}
.l2-flow__num {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-brand);
    color: #fff;
    font-weight: 700;
    margin-bottom: 14px;
}
.l2-flow__title { font-size: 22px; font-weight: 600; margin: 0 0 10px; }
.l2-flow__text p { font-size: var(--typo-lead-size); color: var(--color-gray-dark); line-height: 1.7; margin: 0; }
.l2-flow__img img { display: block; width: 100%; height: auto; }

.l2-sign {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 880px;
    margin: 0 auto;
}
@media (min-width: 768px) { .l2-sign { grid-template-columns: 1fr 1fr; } }
.l2-card {
    background: #fff;
    border: 1px solid var(--color-gray-line);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.l2-card__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-bottom: 16px;
}
.l2-card__logo { height: 26px; width: auto; }
.l2-card__logo--sq { height: 28px; }
.l2-card__title { font-size: 17px; font-weight: 600; margin: 0; flex: 1 1 auto; }

/* ─── 4. Какие документы ─────────────────────────────────── */
.l2-docs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) { .l2-docs { grid-template-columns: 3fr 2fr; } }
.l2-docs__col {
    border-radius: var(--radius-lg);
    padding: 28px;
}
.l2-docs__col--yes { background: #fff8ec; border: 1px solid #ffe2b3; }
.l2-docs__col--no { background: var(--color-bg-gray); border: 1px solid var(--color-gray-line); }
.l2-docs__col .l2-link { margin-top: 18px; }
.l2-docs__title { font-size: 18px; font-weight: 600; margin: 0 0 18px; }

/* ─── 5. Функции ─────────────────────────────────────────── */
.l2-fn {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) { .l2-fn { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .l2-fn { grid-template-columns: repeat(3, 1fr); } }

/* ─── 6. Шаблоны ─────────────────────────────────────────── */
.l2-tpl {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) { .l2-tpl { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 990px) { .l2-tpl { grid-template-columns: repeat(4, 1fr); } }
.l2-tpl__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--color-gray-line);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}
.l2-tpl__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 56px;
    border-radius: 6px 14px 6px 6px;
    background: #2b579a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 6px;
}
.l2-tpl__title { font-size: 17px; font-weight: 600; margin: 0; line-height: 1.35; }
.l2-tpl__text { font-size: var(--typo-body-size); color: var(--color-gray-dark); margin: 0 0 8px; flex: 1 1 auto; }
.l2-tpl__btn { padding: 10px 18px; font-size: 14px; }

/* ─── 7. Как перейти ─────────────────────────────────────── */
/* Шаги перехода: на десктопе на всю ширину контейнера, иначе карточки узкие */
.l2 #start .steps__layout { max-width: none; }
.l2 #start .step-card__title { font-size: 18px; line-height: 26px; }
.l2 #start .step-card__text { font-size: 15px; line-height: 22px; }
@media (min-width: 990px) and (max-width: 1199px) {
    .l2 #start .step-card--minimal { padding: 22px 18px; }
    .l2 #start .step-card__arrow { padding: 0 2px; }
}

/* Документы и шаблоны — одна группа: меньше воздуха между ними */
.l2-docs-section { padding-bottom: 32px; }
.l2-tpl-section { padding-top: 32px; }

.l2-need {
    max-width: 640px;
    margin: 40px auto 0;
    background: #fff;
    border: 1px solid var(--color-gray-line);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
}
.l2-need__title { font-size: 17px; font-weight: 600; margin: 0 0 14px; }
.step-card__text a { color: var(--color-brand); text-decoration: underline; text-underline-offset: 3px; }

/* ─── 8. Тарифы ──────────────────────────────────────────── */
.l2-price {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) { .l2-price { grid-template-columns: repeat(3, 1fr); } }
.l2-price__card {
    background: #fff;
    border: 1px solid var(--color-gray-line);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}
.l2-price__card--accent { border: 2px solid var(--color-brand); box-shadow: 0 10px 30px rgba(247,153,0,.12); }
.l2-price__name { font-size: 15px; font-weight: 600; color: var(--color-gray-dark); margin: 0 0 12px; }
.l2-price__value { font-size: 40px; font-weight: 700; line-height: 1; margin: 0 0 6px; }
.l2-price__period { font-size: 13px; color: var(--color-gray-mid); margin: 0 0 20px; }

/* Условия оплаты — список строками над карточками тарифов */
.l2-terms {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px 40px;
}
/* на десктопе — две колонки по левому краю карточек тарифов */
@media (min-width: 990px) { .l2-terms { grid-template-columns: repeat(2, 1fr); } }
.l2-terms__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-gray-dark);
}
.l2-terms__item strong { font-weight: 600; color: var(--color-black); }
.l2-terms__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fff1d9;
    color: var(--color-brand-dark);
}

/* Призыв перед кнопкой в тарифах */
.l2-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    text-align: center;
}
.l2-cta__text { margin: 0; font-size: 18px; line-height: 28px; font-weight: 600; color: var(--color-black); }

/* Калькулятор — компактный, с засечками */
.l2-calc {
    margin-top: 20px;
    background: var(--color-bg-gray);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
}
.l2-calc__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 16px;
}
.l2-calc__label { font-size: 16px; line-height: 24px; font-weight: 600; margin: 0; }
.l2-calc__num { width: 96px; flex: 0 0 auto; text-align: center; }
.l2-calc__slider { position: relative; padding-bottom: 26px; }
.l2-calc__slider input[type="range"] {
    --fill: 0%;
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    height: 20px;
    margin: 0;
    background: transparent;
    cursor: pointer;
}
.l2-calc__slider input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, var(--color-brand) var(--fill), var(--color-gray-line) var(--fill));
}
.l2-calc__slider input[type="range"]::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, var(--color-brand) var(--fill), var(--color-gray-line) var(--fill));
}
.l2-calc__slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin-top: -7px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--color-brand);
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.l2-calc__slider input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--color-brand);
}
.l2-calc__ticks { position: absolute; left: 0; right: 0; top: 24px; height: 20px; }
.l2-calc__ticks span {
    position: absolute;
    transform: translateX(-50%);
    font-size: 12px;
    line-height: 18px;
    color: var(--color-gray-mid);
    padding-top: 6px;
}
.l2-calc__ticks span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 5px;
    background: var(--color-gray-light);
}
@media (max-width: 599px) {
    /* на узком экране засечки 25 и 250 налезают на соседние — прячем */
    .l2-calc__ticks [data-n="25"], .l2-calc__ticks [data-n="250"] { display: none; }
    .l2-calc { padding: 20px; }
}
.l2-calc__result { margin-top: 12px; }
.l2-calc__line { font-size: 16px; line-height: 24px; margin: 0; color: var(--color-gray-dark); }
.l2-calc__line strong { color: var(--color-black); font-weight: 700; }
.l2-calc__hint { font-size: 14px; line-height: 20px; color: var(--color-gray-mid); margin: 4px 0 0; }
.l2-calc__hint[hidden] { display: none; }

.l2-sign-note { margin-top: 20px; font-size: 14px; }

/* ─── 9. Безопасность (тёмная секция) ────────────────────── */
.section--dark { background: #333333; color: #fff; }
.section--dark .section__title { color: #fff; }
.section--dark .section__subtitle { color: rgba(255,255,255,.7); }
.l2-sec {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) { .l2-sec { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) {
    .l2-sec { grid-template-columns: repeat(4, 1fr); }
    .l2-sec__item--wide { grid-column: 1 / -1; }
}
.l2-sec__item {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.l2-sec__item p { font-size: var(--typo-body-size); color: rgba(255,255,255,.75); margin: 0; line-height: 1.6; }
.l2-sec__item--wide { border-color: rgba(247,153,0,.5); }
.l2-sec__item--wide p { margin-bottom: 12px; }
.l2-sec__title { font-size: 17px; font-weight: 600; color: #fff; margin: 0 0 10px; }
.l2-sec__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

/* ─── 10. Экосистема ─────────────────────────────────────── */
.l2-eco {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}
@media (min-width: 990px) { .l2-eco { grid-template-columns: 3fr 2fr; gap: 56px; } }
.l2-eco__soon {
    background: var(--color-bg-gray);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
}
.l2-eco__soon-title { font-size: 17px; font-weight: 600; margin: 0 0 14px; }

/* ─── 11. Вход для сотрудников ───────────────────────────── */
.l2-emp { background: #fff8ec; border-block: 1px solid #ffe2b3; padding: 40px 0; }
.l2-emp__cover {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
}
.l2-emp__title { font-size: 22px; font-weight: 600; margin: 0 0 6px; }
.l2-emp__text { font-size: var(--typo-body-size); color: var(--color-gray-dark); margin: 0; }
.l2-emp__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }

/* ─── 2. Видео ───────────────────────────────────────────── */
.l2-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
}
.l2-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.l2-video__play {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #000;
    cursor: pointer;
}
.l2-video__play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.l2-video__icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72px;
    height: 72px;
    margin: -36px 0 0 -36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--color-brand);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    transition: transform var(--transition), background var(--transition);
}
.l2-video__icon svg { margin-left: 3px; }
.l2-video__play:hover .l2-video__icon { transform: scale(1.08); background: var(--color-brand-dark); }

/* ─── 12а. Полезное о КЭДО ───────────────────────────────── */
.l2-blog { padding: 64px 0; }
.l2-blog__cover {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 48px;
}
.l2-blog__text { max-width: 640px; }
.l2-blog__text .l2-lead { margin: 0; }

/* ─── 13. Форма ──────────────────────────────────────────── */
.l2-select {
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237D7D7D' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

/* ===================== landing_2-uikit.css ===================== */
/* ============================================================
   КЭДО Landing 2 — слой UI-кита сайта Подпислон (от дизайнера).
   Подключается последним и действует только на body.l2.
   Hero намеренно остаётся оранжевым (решение 26.09.26).

   Источник: «Text styles for Podpislon Website — Onest», «Первичные палитры»,
   «Button: website + LK», «B or W» (белый текст на оранжевом, 08.09.26), colors.svg, bg.svg.
   ============================================================ */

body.l2 {
    /* Шрифт */
    --font: 'Onest', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    /* Палитра: Orange */
    --uk-orange-50:  #FEF9F4;
    --uk-orange-100: #FFEFDB;
    --uk-orange-150: #FFE3C2;
    --uk-orange-200: #FCD7A6;
    --uk-orange-300: #FBAE28;
    --uk-orange-400: #FF9C1F;   /* Primary */
    --uk-orange-500: #F68909;   /* Button light theme */
    --uk-orange-600: #E06C00;   /* hover / pressed */
    --uk-orange-700: #BD5B00;

    /* Палитра: Neutral (Neutral900 в ките указан с опечаткой, не используем) */
    --uk-n-0:    #FFFFFF;
    --uk-n-100:  #F8F8F8;
    --uk-n-200:  #F0F1F2;
    --uk-n-300:  #DDDEE1;
    --uk-n-400:  #B7B9BE;
    --uk-n-500:  #8C8F97;
    --uk-n-600:  #7D818A;
    --uk-n-700:  #6B6E76;
    --uk-n-800:  #505258;
    --uk-n-1000: #292A2E;
    --uk-n-1100: #1A1A1A;   /* по правилам дизайнера: заголовки блоков и карточек #1A1A1A */

    --uk-card-bg: #F5F5F5;      /* bg.svg */
    --uk-red:     #FF2507;
    --uk-radius-btn: 12px;      /* сайт: 12, ЛК: 8 */
    --uk-radius-card: 12px;     /* правило сайта: 12 px везде (было 24) */
    --uk-radius-panel: 12px;    /* правило сайта: 12 px везде (было 32) */

    /* Переопределяем токены общего style.css */
    --color-brand:      var(--uk-orange-400);
    --color-brand-dark: var(--uk-orange-600);
    --color-brand-grad: linear-gradient(135deg, var(--uk-orange-400) 0%, var(--uk-orange-500) 100%);
    --color-black:      var(--uk-n-1100);
    --color-gray-dark:  var(--uk-n-700);
    --color-gray-mid:   var(--uk-n-600);
    --color-gray-light: var(--uk-n-400);
    --color-gray-line:  var(--uk-n-300);
    --color-bg-gray:    var(--uk-card-bg);
    --color-accent-red: var(--uk-red);
    --radius:    var(--uk-radius-btn);
    --radius-lg: var(--uk-radius-card);

    /* Типографика: Text md для тела */
    --typo-body-size: 16px;
    --typo-lead-size: 18px;
    --typo-small-size: 12px;
    --typo-cardtitle: 20px;
    --typo-h2-size: 36px;
    --typo-h2-size-sm: 30px;

    font: 400 16px/24px var(--font);
    color: var(--uk-n-1100);
    -webkit-font-smoothing: antialiased;
}

/* ─── Типографика по шкале ────────────────────────────────── */
.l2 h1, .l2 h2, .l2 h3, .l2 h4 { font-family: var(--font); }

/* Display md — 36/44, −2% */
.l2 .section__title {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin-bottom: 16px;
}
/* Text lg — 18/28 */
.l2 .section__subtitle,
.l2 .l2-lead,
.l2 .l2-flow__text p {
    font-size: 18px;
    line-height: 28px;
    color: var(--uk-n-700);
}
.l2 .section__subtitle { max-width: 720px; }
/* Text xs uppercase — 12/18 */
.l2 .sec-label {
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--uk-orange-500);
    margin-bottom: 12px;
}
/* Display xs — 24/32 */
.l2 .l2-subtitle,
.l2 .l2-tabs__title,
.l2 .l2-flow__title,
.l2 .l2-emp__title {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0;
    font-weight: 600;
}
/* Text xl — 20/30 */
.l2 .feature-showcase__title,
.l2 .step-card__title,
.l2 .l2-card__title,
.l2 .l2-docs__title,
.l2 .l2-tpl__title,
.l2 .l2-sec__title,
.l2 .l2-need__title,
.l2 .l2-eco__soon-title,
.l2 .l2-sign-price__title {
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
}
/* Text md — 16/24 */
.l2 .feature-showcase__text,
.l2 .step-card__text,
.l2 .l2-tpl__text,
.l2 .l2-sec__item p,
.l2 .l2-emp__text,
.l2 .l2-checklist,
.l2 .l2-crosslist,
.l2 .l2-note,
.l2 .faq-item__answer {
    font-size: 16px;
    line-height: 24px;
}
/* Text sm — 14/20 */
.l2 .l2-checklist--sm,
.l2 .l2-small,
.l2 .l2-price__period,
.l2 .l2-calc__hint,
.l2 .form-label,
.l2 .demo-form__privacy {
    font-size: 14px;
    line-height: 20px;
}
.l2 .l2-small { font-size: 12px; line-height: 18px; }

@media (max-width: 767px) {
    /* Display sm — 30/38 */
    .l2 .section__title { font-size: 30px; line-height: 38px; }
    .l2 .section__subtitle, .l2 .l2-lead, .l2 .l2-flow__text p { font-size: 16px; line-height: 24px; }
    .l2 .l2-subtitle, .l2 .l2-tabs__title, .l2 .l2-flow__title, .l2 .l2-emp__title { font-size: 20px; line-height: 30px; }
}

/* ─── Кнопки: веб 40px (L — 48px), скругление 12, белый текст на оранжевом ── */
.l2 .btn {
    min-height: 40px;
    padding: 10px 16px;
    border-radius: var(--uk-radius-btn);
    border: 0;
    font: 500 14px/20px var(--font);
    letter-spacing: 0;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.l2 .btn:hover { transform: none; }
.l2 .btn--lg {
    min-height: 48px;
    padding: 14px 24px;
    font-size: 16px;
    line-height: 20px;
}
/* Primary — Orange500 */
.l2 .btn--primary {
    background: var(--uk-orange-500);
    color: #fff;
    font-weight: 500;
}
.l2 .btn--primary:hover { background: var(--uk-orange-600); color: #fff; box-shadow: none; }
.l2 .btn--primary:active { background: var(--uk-orange-700); }
/* Secondary — серая кнопка (Neutral200) вместо обводки */
.l2 .btn--outline {
    background: var(--uk-n-200);
    color: var(--uk-n-1100);
    border: 0;
}
.l2 .btn--outline:hover { background: var(--uk-n-300); color: var(--uk-n-1100); }
/* Мобайл — 48px */
@media (max-width: 767px) {
    .l2 .btn { min-height: 48px; }
}

/* Hero оранжевый → кнопки в нём белые (главная) и прозрачные с белой обводкой (вторая) */
.l2 .hero__cta-row { gap: 8px; }
@media (max-width: 767px) { .l2 .hero__cta-row { gap: 16px; } }
.l2 .hero__cta-btn.btn--primary {
    background: #fff;
    color: var(--uk-orange-600);
}
.l2 .hero__cta-btn.btn--primary:hover { background: var(--uk-orange-50); color: var(--uk-orange-600); }
.l2 .hero .btn--outline {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.85);
}
.l2 .hero .btn--outline:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ─── Hero (остаётся оранжевым, только шрифт и шкала) ─────── */
.l2 .hero {
    --hero-bg-grad: radial-gradient(ellipse 110% 130% at 55% 50%, #FFC061 0%, var(--uk-orange-400) 45%, var(--uk-orange-500) 100%);
}
.l2 .l2-hero__h1-sub {
    font-size: 30px;           /* Display sm */
    line-height: 38px;
    letter-spacing: -0.01em;
    font-weight: 500;
    margin-top: 8px;
}
.l2 .hero__subtitle { font-size: 18px; line-height: 28px; }
.l2 .l2-hero__offer { font-size: 14px; line-height: 20px; font-weight: 600; }
@media (max-width: 1199px) {
    .l2 .hero__title { font-size: 48px; line-height: 56px; }   /* Display lg */
    .l2 .l2-hero__h1-sub { font-size: 24px; line-height: 32px; }
}
@media (max-width: 767px) {
    .l2 .hero__title { font-size: 36px; line-height: 44px; }   /* Display md */
    .l2 .l2-hero__h1-sub { font-size: 20px; line-height: 30px; }
    .l2 .hero__subtitle { font-size: 16px; line-height: 24px; }
}

/* ─── Секции и карточки ───────────────────────────────────── */
.l2 .section--gray { background: var(--uk-n-100); }

/* Карточки на белом фоне — серые без рамки, на сером фоне — белые без рамки */
.l2 .l2-card,
.l2 .l2-tpl__card,
.l2 .l2-price__card,
.l2 .l2-need,
.l2 .feature-showcase,
.l2 .step-card,
.l2 .step-card--minimal {
    border: 0;
    border-radius: var(--uk-radius-card);
}
.l2 .section:not(.section--gray):not(.section--dark) :is(.l2-tpl__card, .l2-price__card, .feature-showcase, .step-card, .l2-card) {
    background: var(--uk-card-bg);
}
.l2 .section--gray :is(.l2-card, .l2-need, .feature-showcase, .step-card, .l2-tpl__card, .l2-price__card, .l2-calc) {
    background: #fff;
}
.l2 .section:not(.section--gray) .feature-showcase__frame { background: #fff; }
.l2 .step-card--minimal { border-left: 0; padding: 28px 24px; }
.l2 .step-card__num,
.l2 .l2-flow__num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--uk-orange-100);
    color: var(--uk-orange-600);
    font-size: 16px;
    font-weight: 600;
}

/* Скриншоты — светлая подложка, мягкое скругление */
.l2 .feature-showcase__frame {
    border: 0;
    border-radius: 16px;
    background: var(--uk-n-200);
}
.l2 .section--gray .feature-showcase__frame { background: var(--uk-n-100); }

/* Крупные панели — радиус 32 */
.l2 .l2-tabs__panel,
.l2 .l2-calc,
.l2 .l2-eco__soon,
.l2 .l2-docs__col {
    border-radius: var(--uk-radius-panel);
}
.l2 .l2-tabs__panel { background: var(--uk-card-bg); }
.l2 .l2-docs__col--yes { background: var(--uk-orange-50); border: 0; }
.l2 .l2-docs__col--no { background: var(--uk-card-bg); border: 0; }

/* Табы — как серые/оранжевые кнопки */
.l2 .l2-tabs__tab {
    min-height: 40px;
    padding: 10px 16px;
    border: 0;
    border-radius: var(--uk-radius-btn);
    background: var(--uk-n-200);
    font: 500 14px/20px var(--font);
}
.l2 .l2-tabs__tab:hover { background: var(--uk-n-300); }
.l2 .l2-tabs__tab.is-active { background: var(--uk-orange-500); color: #fff; }

/* Кому полезно — карточки ролей на палитре кита */
.l2 .l2-role { background: var(--uk-card-bg); border-radius: var(--uk-radius-card); }
.l2 .l2-role__icon { background: var(--uk-orange-100); color: var(--uk-orange-600); }
.l2 .l2-role__title, .l2 .l2-roles__title { color: var(--uk-n-1100); }

/* Галочки в списках */
/* Маркеры списков — просто оранжевая галочка / серый крестик, без круглой подложки */
.l2 .l2-checklist li::before { background: none; color: var(--uk-orange-500); top: 3px; font-size: 15px; }
.l2 .l2-crosslist li::before { background: none; color: var(--uk-n-500); top: 3px; font-size: 18px; }

/* Плашки */
.l2 .l2-pill { border-radius: 8px; font-weight: 500; padding: 6px 10px; }
.l2 .l2-pill--soon { background: var(--uk-n-200); color: var(--uk-n-700); }

/* Тарифы */
.l2 .l2-price__card--accent {
    background: #fff !important;
    box-shadow: inset 0 0 0 2px var(--uk-orange-400);
}
/* Карточка тарифа: роль → название → цена → текст → мелкая строка внизу */
.l2 .l2-price__card { display: flex; flex-direction: column; }
.l2 .l2-price__role {
    margin: 0 0 8px;
    font-size: 12px; line-height: 18px; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--uk-orange-500);
}
.l2 .l2-price__name { margin: 0 0 16px; font-size: 24px; line-height: 32px; font-weight: 600; color: var(--uk-n-1100); }
.l2 .l2-price__value { margin: 0; font-size: 48px; line-height: 56px; letter-spacing: -0.02em; font-weight: 700; color: var(--uk-n-1100); }
.l2 .l2-price__unit { font-size: 16px; line-height: 24px; letter-spacing: 0; font-weight: 500; color: var(--uk-n-700); }
.l2 .l2-price__per { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--uk-n-700); }
.l2 .l2-price__text { margin: 16px 0 20px; font-size: 16px; line-height: 24px; color: var(--uk-n-800); }
/* .l2-price__note убран: три сноски внизу карточек давали рваный край (правка 13.11.2026) */
.l2 .l2-terms__icon { background: var(--uk-orange-100); color: var(--uk-orange-600); }
.l2 .l2-terms__item strong { color: var(--uk-n-1100); }
.l2 .l2-cta__text { color: var(--uk-n-1100); }
/* Карточка «Лицензия» на сером фоне тарифов — с оранжевой обводкой */
.l2 .section--gray .l2-price__card--accent { box-shadow: inset 0 0 0 2px var(--uk-orange-400); }
/* Иконка шаблона — в стиле кита: оранжевый квадрат 12px */
.l2 .l2-tpl__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--uk-orange-100);
    color: var(--uk-orange-600);
}

/* Безопасность — тёмная секция на нейтральной шкале */
.l2 .section--dark { background: var(--uk-n-1000); }
.l2 .l2-sec__item {
    background: rgba(255,255,255,.05);
    border: 0;
    border-radius: var(--uk-radius-card);
}
.l2 .l2-sec__item--wide { box-shadow: inset 0 0 0 1px rgba(255,156,31,.45); }
.l2 .section--dark .sec-label { color: var(--uk-orange-300); }

/* Вход для сотрудников */
.l2 .l2-emp { background: var(--uk-orange-50); border-color: var(--uk-orange-150); }

/* Ссылки */
.l2 .l2-link, .l2 .steps__cta-login a { color: var(--uk-orange-500); }
.l2 .l2-link:hover, .l2 .steps__cta-login a:hover { color: var(--uk-orange-600); }

/* FAQ */
.l2 .faq-item__question { font: 600 18px/28px var(--font); }
.l2 .faq-item__answer { color: var(--uk-n-700); }

/* Форма */
.l2 .demo-form { background: radial-gradient(ellipse 110% 130% at 55% 50%, #FFC061 0%, var(--uk-orange-400) 45%, var(--uk-orange-500) 100%); }
/* Белый текст на оранжевом — решение из «B or W» */
.l2 .demo-form__title { font-size: 36px; line-height: 44px; letter-spacing: -0.02em; font-weight: 600; color: #fff; }
.l2 .demo-form__subtitle, .l2 .demo-form__benefit { color: #fff; }
.l2 .demo-form__subtitle { font-size: 18px; line-height: 28px; }
.l2 .demo-form__form { border-radius: var(--uk-radius-panel); }
.l2 .form-input {
    min-height: 48px;
    border-radius: var(--uk-radius-btn);
    border-color: var(--uk-n-300);
    font: 400 16px/24px var(--font);
}
.l2 .form-input:focus { border-color: var(--uk-orange-400); box-shadow: 0 0 0 3px rgba(255,156,31,.2); }
.l2 textarea.form-input { min-height: 96px; }
@media (max-width: 767px) {
    .l2 .demo-form__title { font-size: 30px; line-height: 38px; }
}

/* ═══════════════════════════════════════════════════════════
   «Чем подписывает сотрудник»: пояснение под подзаголовком
   ═══════════════════════════════════════════════════════════ */
.l2-subtitle__lead {
    max-width: 640px;
    margin: -12px auto 28px;
    text-align: center;
    font-size: 16px;
    line-height: 24px;
    color: var(--uk-n-700);
}

/* Ссылка на видео текстом (видна только на мобилке, вместо превью) */
.l2-video-link { margin: 16px 0 12px; }
.l2-video-link a {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 600;
    color: var(--uk-orange-500);
    text-decoration: none;
}
.l2-video-link svg { flex: 0 0 auto; margin-top: 3px; }
@media (min-width: 768px) { .l2-video-link { display: none; } }

/* ═══════════════════════════════════════════════════════════
   МОБИЛЬНАЯ ВЕРСИЯ (до 767px): без превью видео, компактнее карточки,
   закреплённая кнопка внизу экрана
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
    /* Что такое КЭДО: вместо превью видео — ссылка в тексте */
    .l2-video { display: none; }
    .l2-what { gap: 0; margin-bottom: 40px; }

    /* Кому полезно: плотнее */
    .l2-roles__grid { gap: 12px; }
    .l2-role { padding: 20px 16px; }

    /* Чем подписывает сотрудник */
    .l2-subtitle { margin-top: 48px; }
    .l2-subtitle__lead { margin: -8px auto 20px; font-size: 14px; line-height: 20px; }

    /* Безопасность: плотнее */
    .l2-sec { gap: 10px; }
    .l2-sec__item { padding: 18px 16px; }

    /* (было) Функции: скриншоты на телефоне скрывались — вернули 18.11, см. правило ниже */
    /* #features .feature-showcase__frame { display: none; } */

    /* Закреплённая кнопка внизу */
    .m-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,.96); box-shadow: 0 -4px 16px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .25s ease; }
    .m-sticky-cta.is-visible { transform: none; }
    .m-sticky-cta .btn { width: 100%; justify-content: center; }
    body.has-sticky-cta { padding-bottom: 72px; }
}
@media (min-width: 768px) { .m-sticky-cta { display: none; } }

/* ═══════════════════════════════════════════════════════════
   Функции: на телефоне — список «иконка + заголовок + описание», как «Возможности» в ЭДО.
   На компьютере иконки скрыты, остаются скриншоты
   ═══════════════════════════════════════════════════════════ */
.l2-fn__icon { display: none; }
@media (max-width: 767px) {
    .l2-fn { gap: 0; background: var(--uk-n-100); border-radius: var(--uk-radius-card); overflow: hidden; }
    .l2 .l2-fn .feature-showcase { padding: 16px; border-radius: 0; background: transparent; }
    .l2-fn .feature-showcase + .feature-showcase { border-top: 1px solid rgba(0,0,0,.06); }
    .l2-fn .feature-showcase__body { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; margin: 0; }
    .l2-fn__icon {
        display: grid;
        place-items: center;
        grid-row: span 2;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: var(--uk-orange-100);
        color: var(--uk-orange-600);
    }
    .l2 .l2-fn .feature-showcase__title { padding-left: 0; margin-bottom: 4px; font-size: 17px; line-height: 24px; }
    .l2-fn .feature-showcase__title::before { display: none; }
    .l2 .l2-fn .feature-showcase__text { font-size: 15px; line-height: 22px; }
}

/* ═══════════════════════════════════════════════════════════
   «Один аккаунт для всех сервисов»: слон из hero вместо плейсхолдера
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 990px) { .l2-eco { align-items: center; } }
.l2-eco__img { display: flex; justify-content: center; }
.l2-eco__img img { width: 100%; max-width: 480px; height: auto; }
@media (max-width: 767px) { .l2-eco__img img { max-width: 300px; } }

/* ═══════════════════════════════════════════════════════════
   Безопасность: как «Участники эфира получат» на лендинге вебинара —
   слева заголовок, справа сетка карточек без обводок, аттестация выделена оранжевым,
   внизу строка плашек. Цвета прежние: тёмный фон, белый текст, оранжевый акцент
   ═══════════════════════════════════════════════════════════ */
.l2-secx__layout { display: grid; grid-template-columns: 1fr; gap: 28px 56px; align-items: start; }
@media (min-width: 990px) { .l2-secx__layout { grid-template-columns: 4fr 8fr; } }
.l2-secx__head .sec-label { text-align: left; }
.l2-secx__head .section__title { margin-bottom: 16px; }
.l2-secx__head .section__subtitle { margin: 0; text-align: left; max-width: none; }

#security .l2-sec { grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px) {
    #security .l2-sec { grid-template-columns: 1fr 1fr; }
    #security .l2-sec__item--wide { grid-column: 1 / -1; }
}
#security .l2-sec__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 148px;
    padding: 28px;
    border: 0;
    border-radius: var(--uk-radius-card);
    background: rgba(255,255,255,.06);
}
#security .l2-sec__title { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; color: #fff; }
#security .l2-sec__item p { margin: 0; font-size: 16px; line-height: 24px; color: rgba(255,255,255,.65); }
#security .l2-sec__item--accent { min-height: 0; background: var(--uk-orange-500); }
#security .l2-sec__item--accent p { color: rgba(255,255,255,.9); }

#security .l2-sec__badges { margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); justify-content: space-between; }
@media (max-width: 767px) {
    #security .l2-sec__item { min-height: 0; padding: 20px; }
    #security .l2-sec__title { font-size: 18px; line-height: 26px; }
    #security .l2-sec__item p { font-size: 15px; line-height: 22px; }
    #security .l2-sec__badges { margin-top: 32px; padding-top: 24px; justify-content: center; }
}

/* «Как перейти на КЭДО за 4 шага»: ссылки на статьи внутри подзаголовка */
#start .section__subtitle a { color: var(--uk-orange-500); text-decoration: underline; text-underline-offset: 3px; }

/* ═══════════════════════════════════════════════════════════
   «Функции» на компьютере: список слева, большой скриншот справа (собирает kedo_v2_script.js).
   Без JS остаётся прежняя сетка карточек; на телефоне — список с иконками
   ═══════════════════════════════════════════════════════════ */
.fx { display: none; }
@media (min-width: 768px) {
    #features .l2-fn.is-enhanced { display: none; }
    .fx {
        display: grid;
        grid-template-columns: minmax(300px, 380px) 1fr;
        gap: 40px;
        align-items: center;
    }
    .fx__list { display: flex; flex-direction: column; gap: 4px; }
    .fx__tab {
        display: grid;
        grid-template-columns: 40px 1fr;
        column-gap: 14px;
        align-items: start;
        width: 100%;
        padding: 14px 16px;
        border: 0;
        border-radius: 16px;
        background: transparent;
        font: inherit;
        text-align: left;
        cursor: pointer;
        transition: background .2s ease;
    }
    .fx__tab:hover, .fx__tab.is-active { background: var(--uk-n-100); }
    .fx__tab:focus-visible { outline: 2px solid var(--uk-orange-500); outline-offset: 2px; }
    .fx__icon {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: var(--uk-n-100);
        color: var(--uk-n-600);
        transition: background .2s ease, color .2s ease;
    }
    .fx__tab.is-active .fx__icon { background: var(--uk-orange-500); color: #fff; }
    .fx__body { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; }
    .fx__title { font-size: 18px; line-height: 24px; font-weight: 600; color: var(--uk-n-1100); }
    .fx__text { display: none; font-size: 15px; line-height: 22px; color: var(--uk-n-700); }
    .fx__tab.is-active .fx__text { display: block; }

    .fx__stage { display: grid; padding: 28px; border-radius: 24px; background: var(--uk-n-100); }
    .fx__stage .fx__shot {
        grid-area: 1 / 1;
        display: block;
        width: 100%;
        padding: 0;
        border: 0;
        border-radius: 12px;
        background: none;
        box-shadow: 0 12px 32px rgba(0,0,0,.12);
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s;
    }
    .fx__stage .fx__shot.is-active { opacity: 1; visibility: visible; }
    .fx__stage .feature-showcase__img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
}
/* ═══════════════════════════════════════════════════════════
   Экраны кабинета из Figma (13.11.2026): подложка и скругления
   уже нарисованы внутри картинки, поэтому рамку делаем прозрачной
   ═══════════════════════════════════════════════════════════ */
.l2 #how .feature-showcase__frame,
.l2 #features .feature-showcase__frame {
    background: transparent;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
}
.l2 #how .feature-showcase__img,
.l2 #features .feature-showcase__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    border-radius: 0;
}
.l2 #how .feature-showcase__zoom,
.l2 #features .feature-showcase__zoom {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

/* ═══════════════════════════════════════════════════════════
   Таблица «какие документы можно перевести в КЭДО»
   ═══════════════════════════════════════════════════════════ */
.l2 .doctable__wrap { overflow-x: auto; border-radius: 12px; }
.l2 .doctable {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
}
.l2 .doctable th,
.l2 .doctable td {
    padding: 16px 24px;
    border-bottom: 1px solid #EEEEEE;
    vertical-align: middle;
}
.l2 .doctable thead th {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: #6B6E76;
    background: #F8F8F8;
    vertical-align: bottom;
}
.l2 .doctable tbody td:first-child {
    font-size: 16px;
    line-height: 24px;
    color: #3B3D42;
}
.l2 .doctable th:not(:first-child),
.l2 .doctable td:not(:first-child) { width: 150px; text-align: center; }
.l2 .doctable tbody tr:last-child td { border-bottom: 0; }
.l2 .doctable__mark {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
}
/* green/200 и green/700, red/100 и red/700 из UI-кита */
.l2 .doctable__mark--yes { background: #BAF3DB; color: #1F845A; }
.l2 .doctable__mark--no { background: #FFECEB; color: #C9372C; }
.l2 .doctable__note {
    margin: 16px 0 0;
    font-size: 14px;
    line-height: 20px;
    color: #6B6E76;
}
@media (max-width: 767px) {
    .l2 .doctable th, .l2 .doctable td { padding: 12px 14px; }
    .l2 .doctable tbody td:first-child { font-size: 14px; line-height: 20px; }
    .l2 .doctable thead th { font-size: 11px; line-height: 15px; padding: 10px 8px; }
    .l2 .doctable th:not(:first-child),
    .l2 .doctable td:not(:first-child) { width: 60px; }
}

/* ═══════════════════════════════════════════════════════════
   «Как перейти на КЭДО»: карточки как на лендинге Подпислон AI-агенты
   ═══════════════════════════════════════════════════════════ */
.l2 #start .section__header { text-align: left; max-width: 780px; margin-inline: 0; }
/* Базовые .section__title и .section__subtitle центрируются через margin: auto — у этого блока прибиваем влево */
.l2 #start .section__title,
.l2 #start .section__subtitle { margin-left: 0; margin-right: 0; }
.l2 .steps-ai {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.l2 .steps-ai__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px 26px;
    border: 0;
    border-radius: 20px;
    background: #F8F8F8;        /* neutral/100 */
    overflow: hidden;
}
.l2 .steps-ai__num {                /* Display md 36/44 из UI-кита */
    margin: 0 0 4px;
    font-size: 36px;
    line-height: 44px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-brand);
}
.l2 .steps-ai__title {              /* Text xl 20/30 из UI-кита */
    margin: 0;
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    color: #1A1A1A;
}
.l2 .steps-ai__text {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: #6B6E76;
}
.l2 .steps-ai__text a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.l2 .steps-ai__card--accent { background: var(--color-brand); }
.l2 .steps-ai__card--accent .steps-ai__num,
.l2 .steps-ai__card--accent .steps-ai__title,
.l2 .steps-ai__card--accent .steps-ai__text { color: #fff; }
/* Базовый .steps__cta — колонка с align-items: center, поэтому кнопку прибиваем влево через align-items */
.l2 #start .steps__cta { display: flex; flex-direction: column; align-items: flex-start; margin-top: 40px; }
.l2 #start .steps__cta .btn { margin-left: 0; margin-right: 0; }
@media (max-width: 989px) {
    .l2 .steps-ai { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
    .l2 .steps-ai { grid-template-columns: 1fr; }
    .l2 .steps-ai__card { padding: 22px 20px; }
}

/* ═══════════════════════════════════════════════════════════
   Hero в подаче лендинга Подпислон AI-агенты, но на оранжевом:
   надстрочник, крупный заголовок, абзац, кнопка и ссылка, справа карточка
   ═══════════════════════════════════════════════════════════ */
.l2 .hero__eyebrow {                /* Text xl 20/30 из UI-кита */
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 30px;
    font-weight: 500;
    color: rgba(255, 255, 255, .72);
}
.l2 .hero__eyebrow span { color: #fff; font-weight: 600; }
/* ширину строки задаёт колонка текста, отдельное ограничение не нужно */
.l2 .hero__subtitle { color: rgba(255, 255, 255, .88); }
/* Две кнопки по UI-киту: на оранжевом белая заливка для главного действия
   и белая контурная для второго. Ghost Brand тут не годится — он для светлого фона */
.l2 .hero__cta-row { align-items: stretch; gap: 16px; }

@media (max-width: 1199px) {
    .l2 .hero__eyebrow { font-size: 18px; line-height: 28px; margin-bottom: 16px; }
    .l2 .hero__title { max-width: 16ch; }
}
@media (max-width: 989px) {
    .l2 .hero__title { max-width: none; }
    .l2 .hero-card { max-width: none; }
}
@media (max-width: 767px) {
    .l2 .hero__eyebrow { font-size: 16px; line-height: 24px; }
    .l2 .hero__cta-row { align-items: stretch; gap: 18px; }
    .l2 .hero__link { align-self: center; }
    .l2 .hero-card { padding: 18px; border-radius: 16px; }
}

/* Иллюстрация со слоном в hero (на месте прежнего маскота) */
.l2 .hero__art {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    margin-left: auto;
    position: relative;
    z-index: 1;
}
@media (max-width: 989px) {
    .l2 .hero__art { max-width: 460px; margin-inline: auto; }
}

/* Hero: надстрочник «Подпислон КЭДО», крупный H1, короткий подзаголовок */
/* колонка текста чуть уже, промежуток меньше — освободившееся место отдаём картинке */
.l2 .hero__content { max-width: 540px; flex-basis: 540px; }
@media (min-width: 990px) { .l2 .hero__cover { gap: 48px; } }
.l2 .hero__title {
    font-size: 48px;
    line-height: 56px;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin-bottom: 20px;
}
/* ступени по шкале кита: Display lg 48/56 → Display md 36/44 → Display sm 30/38 */
@media (max-width: 1199px) {
    .l2 .hero__title { font-size: 36px; line-height: 44px; }
}
@media (max-width: 767px) {
    .l2 .hero__title { font-size: 30px; line-height: 38px; }
}

/* ═══════════════════════════════════════════════════════════
   Сверка с UI-китом Подпислон (Figma 0M6WI8LTThtUXFjyLCmWBb, 13.11.2026)
   ═══════════════════════════════════════════════════════════ */
/* Надзаголовок блока — Website/Text sm uppercase/Semibold 14/20, без разрядки */
.l2 .sec-label {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
}
/* Заголовок блока — Website/Display md/Medium 36/44, −2%.
   Medium, а не Semibold: так решила дизайнер (замечания 12.10.2026) */
.l2 .section__title { font-weight: 500; }

/* Экраны кабинета выгружены без фона: на сером фоне секции у окна пропадает край.
   drop-shadow идёт по прозрачности картинки, поэтому обводит само окно, а не прямоугольник */
.l2 #how .feature-showcase__img {
    filter: drop-shadow(0 12px 32px rgba(26, 26, 26, .16));
}

/* ═══════════════════════════════════════════════════════════
   «Как работает»: четыре шага в сетку два на два.
   Экраны остаются все, блок перестаёт занимать три экрана прокрутки
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 990px) {
    .l2 #how .l2-flow {
        grid-template-columns: 1fr 1fr;
        gap: 56px 40px;
    }
    .l2 #how .l2-flow__step {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    /* в одну колонку шаги чередовались текст-картинка, в сетке это не нужно */
    .l2 #how .l2-flow__step:nth-child(even) .l2-flow__text { order: 0; }
    .l2 #how .l2-flow__text { max-width: none; }
    .l2 #how .l2-flow__img { margin-top: auto; }
}

/* Три карточки «Кто чем подписывает» вместо двух */
.l2 .l2-sign--3 { max-width: none; }
@media (min-width: 990px) {
    .l2 .l2-sign--3 { grid-template-columns: repeat(3, 1fr); }
}
.l2 .l2-pill--type { background: var(--uk-orange-100); color: var(--uk-orange-700); }
.l2 .l2-card__head .l2-role__icon { margin-bottom: 0; flex: none; }

/* Блок документов сжат: осталась одна колонка с исключениями */
.l2 .l2-docs--short { grid-template-columns: 1fr; max-width: 760px; }
.l2 .l2-docs--short .l2-docs__title { margin-top: 0; }
/* подзаголовок и лид в «Кто чем подписывает» — влево, как весь блок */
.l2 .l2-subtitle.l2-left,
.l2 .l2-subtitle__lead.l2-left { margin-left: 0; margin-right: 0; max-width: 760px; }
.l2 .l2-subtitle.l2-left,
.l2 .l2-subtitle__lead.l2-left { text-align: left; }

/* ═══════════════════════════════════════════════════════════
   «Кому полезно»: в карточки ролей встроен вид подписи.
   Отдельного блока «Чем подписывает сотрудник» больше нет
   ═══════════════════════════════════════════════════════════ */
.l2 .l2-roles__lead {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 28px;
    color: var(--uk-n-700);
    max-width: 760px;
}
.l2 .l2-role { display: flex; flex-direction: column; }
.l2 .l2-role__sign {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--uk-n-200);
    font-size: 14px;
    line-height: 20px;
    color: var(--uk-n-700);
}
.l2 .l2-role__sign + .l2-role__sign { margin-top: 0; border-top: 0; padding-top: 12px; }
.l2 .l2-role__sign > span:last-child { flex: 1 1 100%; }
.l2 .l2-role__logo { display: block; height: 22px; width: auto; }
.l2 .l2-role__logo--sq { height: 22px; }


/* Карточки статей в блоке «Полезное о КЭДО» */
.l2 .l2-posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
}
@media (min-width: 768px) { .l2 .l2-posts { grid-template-columns: repeat(3, 1fr); } }
.l2 .l2-post {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 26px;
    border-radius: 12px;
    background: var(--uk-orange-50);
    text-decoration: none;
    color: inherit;
    transition: background .2s ease;
}
.l2 .l2-post:hover { background: var(--uk-orange-100); }
.l2 .l2-post__title { margin: 0; font-size: 20px; line-height: 30px; font-weight: 600; color: var(--uk-n-1100); }
.l2 .l2-post__text { margin: 0; font-size: 16px; line-height: 24px; color: var(--uk-n-800); }
.l2 .l2-post__more { margin-top: auto; padding-top: 8px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--color-brand); }
.l2 .l2-blog__cta { display: flex; justify-content: flex-start; margin-top: 32px; }
.l2 .l2-blog__cta .btn { margin-left: 0; margin-right: 0; }

/* Подпись в карточке роли: значок, плашка и короткая пометка — одинаково во всех трёх */
.l2 .l2-role__sign > span:last-child { flex: 0 1 auto; }
.l2 .l2-role__mark {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: var(--uk-orange-600);
}

.l2 .l2-role__logo, .l2 .l2-role__mark { flex: none; }
.l2 .l2-role__logo { width: auto; height: 22px; }

/* ═══════════════════════════════════════════════════════════
   «Кому полезно»: строки по ролям вместо трёх высоких карточек.
   Слева роль и чем подписывает, справа пункты в две колонки.
   Подача намеренно отличается от табов блока «Функции» ниже.
   ═══════════════════════════════════════════════════════════ */
.l2 .l2-rolerow {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
    padding: 28px 0;
    border-top: 1px solid #EEEEEE;
}
.l2 .l2-rolerow:first-of-type { border-top: 0; padding-top: 4px; }
.l2 .l2-rolerow:last-of-type { padding-bottom: 4px; }
.l2 .l2-rolerow__who { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.l2 .l2-rolerow__who .l2-role__icon { margin-bottom: 14px; }
.l2 .l2-rolerow__title {    /* Text xl 20/30 Semibold из UI-кита */
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    color: var(--uk-n-1100);
}
.l2 .l2-rolerow__sign {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-gray-dark);
}
.l2 .l2-rolerow__sign + .l2-rolerow__sign { margin-top: 8px; }
.l2 .l2-rolerow__sign--soon { color: #8C8C8C; }
.l2 .l2-rolerow__sign .l2-role__mark { flex: none; color: var(--uk-orange-500); display: inline-flex; }
.l2 .l2-rolerow__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    row-gap: 14px;
    margin: 0;
}
.l2 .l2-rolerow__list li { font-size: 16px; line-height: 24px; color: var(--uk-n-900); }
@media (max-width: 989px) {
    .l2 .l2-rolerow { grid-template-columns: 1fr; gap: 20px; }
    .l2 .l2-rolerow__list { grid-template-columns: 1fr; row-gap: 12px; }
}
@media (max-width: 599px) {
    .l2 .l2-rolerow { padding: 22px 0; }
    .l2 .l2-rolerow__list li { font-size: 16px; line-height: 24px; }
}
/* заголовок «Кому полезно» по той же силовой линии, что и строки ролей */
.l2 .l2-roles__title { text-align: left; margin-bottom: 20px; }

/* ═══════════════════════════════════════════════════════════
   Шрифты по шкале UI-кита (Website/…), сверка 17.11.2026.
   В ките только 12/18, 14/20, 16/24, 18/28, 20/30, 24/32, 30/38,
   36/44, 48/56, 60/68, 72/76 и начертания 400/500/600/700.
   ═══════════════════════════════════════════════════════════ */
/* Кнопки — Text md/Semibold 16/24; маленькие — Text sm/Semibold 14/20.
   Высоту L 48 px сохраняем: 12 + 24 + 12 */
.l2 .btn { font-weight: 600; }
.l2 .btn--lg { line-height: 24px; padding-top: 12px; padding-bottom: 12px; }

/* Вкладки «Функций»: название Text lg 18/28, описание Text md 16/24 */
.fx__title { line-height: 28px; }
.fx__text { font-size: 16px; line-height: 24px; }

/* «Безопасность»: заголовок карточки Text xl 20/30, на мобилке Text lg 18/28,
   текст на мобилке Text sm 14/20 вместо 15/22 */
#security .l2-sec__title { line-height: 30px; }
@media (max-width: 767px) {
    #security .l2-sec__title { font-size: 18px; line-height: 28px; }
    #security .l2-sec__item p { font-size: 14px; line-height: 20px; }
}

/* Плашка DOCX: минимальный стиль кита Text xs uppercase/Bold 12/18 */
.l2 .l2-tpl__icon { font-size: 12px; line-height: 18px; letter-spacing: 0; }
/* Мобильные «Функции»: заголовок Text lg 18/28, текст Text md 16/24 */
@media (max-width: 989px) {
    .l2 .feature-showcase__title,
    .l2 .l2-fn .feature-showcase__title { font-size: 18px; line-height: 28px; }
    .l2 .feature-showcase__text,
    .l2 .l2-fn .feature-showcase__text { font-size: 16px; line-height: 24px; }
}

/* «Безопасность»: значки реестров в левой колонке под описанием, столбиком,
   чтобы не было пустоты слева и отдельной полосы внизу блока */
#security .l2-secx__head .l2-sec__badges {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.1);
}
#security .l2-secx__head .l2-sec__badges .footer__badge { margin: 0; }
@media (max-width: 989px) {
    #security .l2-secx__head .l2-sec__badges { margin-top: 28px; padding-top: 24px; gap: 16px; }
}

/* ═══════════════════════════════════════════════════════════
   «Кому полезно» v2: таблица из трёх колонок с подписями сверху.
   Роль (иконка + название в одну строку) | Что можно делать | Чем подписывает
   ═══════════════════════════════════════════════════════════ */
.l2 .l2-roles__head,
.l2 .l2-rolerow {
    display: grid;
    grid-template-columns: 260px 1fr 300px;
    column-gap: 48px;
}
.l2 .l2-roles__head {
    align-items: end;
    padding-bottom: 16px;
    border-bottom: 1px solid #EEEEEE;
}
.l2 .l2-roles__head .l2-roles__title { margin: 0; text-align: left; }
.l2 .l2-roles__col {            /* Text sm uppercase/Semibold 14/20 */
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--uk-n-700);
}
.l2 .l2-rolerow,
.l2 .l2-rolerow:first-of-type { padding: 28px 0; border-top: 0; border-bottom: 1px solid #EEEEEE; }
.l2 .l2-rolerow:last-of-type { border-bottom: 0; padding-bottom: 4px; }
.l2 .l2-rolerow__who { flex-direction: row; align-items: center; gap: 14px; }
.l2 .l2-rolerow__who .l2-role__icon { margin: 0; flex: none; }
.l2 .l2-rolerow__title { margin: 0; }
.l2 .l2-rolerow__list { grid-template-columns: 1fr; row-gap: 12px; }
.l2 .l2-rolerow__signs { display: flex; flex-direction: column; gap: 10px; padding-top: 2px; }
.l2 .l2-rolerow__signs .l2-rolerow__sign + .l2-rolerow__sign { margin-top: 0; }
.l2 .l2-rolerow__sign { align-items: flex-start; color: var(--uk-n-900); }
.l2 .l2-rolerow__sign--soon { color: var(--uk-n-700); }
.l2 .l2-rolerow__sign .l2-role__mark,
.l2 .l2-rolerow__sign .l2-role__logo { margin-top: 1px; }
.l2 .l2-rolerow__cap { display: none; }

/* планшет: подпись уезжает под список, подпись колонки показываем прямо в строке */
@media (max-width: 989px) {
    .l2 .l2-roles__head { grid-template-columns: 1fr; border-bottom: 0; padding-bottom: 4px; }
    .l2 .l2-roles__col { display: none; }
    .l2 .l2-rolerow,
    .l2 .l2-rolerow:first-of-type { grid-template-columns: 1fr; row-gap: 16px; padding: 24px 0; }
    .l2 .l2-rolerow:first-of-type { border-top: 1px solid #EEEEEE; }
    .l2 .l2-rolerow__cap {
        display: block;
        margin: 4px 0 0;
        font-size: 12px;
        line-height: 18px;
        font-weight: 600;
        text-transform: uppercase;
        color: var(--uk-n-700);
    }
}

/* «Безопасность» v3 (17.11): четыре довода ровной сеткой 2×2, ФСТЭК первым и оранжевым,
   значки реестров крупнее и без линии над ними */
@media (min-width: 768px) {
    #security .l2-sec { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
}
#security .l2-sec__item--accent { min-height: 148px; }
#security .l2-secx__head .l2-sec__badges { border-top: 0; padding-top: 0; margin-top: 40px; gap: 24px; }
#security .l2-secx__head .l2-sec__badges .footer__badge img { width: 264px; height: auto; max-width: 100%; }
@media (max-width: 989px) {
    #security .l2-secx__head .l2-sec__badges { margin-top: 28px; gap: 18px; }
}

/* FAQ по правилам аккордеона (как podpislon.ru/agents/templates):
   белый список, скругление 12, линия 1 px #EEEEEE, вопрос 22×32, шеврон 16 px #8C8C8C,
   ответ 0 32 22 текстом 16/24 #6B6E76, на мобилке поля 18×20 */
.l2 .faq__list { border-radius: 12px; background: #fff; }
.l2 .faq-item { border-bottom: 1px solid #EEEEEE; }
.l2 .faq-item:last-child { border-bottom: 0; }
.l2 .faq-item__question { padding: 22px 32px; }
.l2 .faq-item__icon { width: 16px; height: 16px; flex: none; color: #8C8C8C; }
.l2 .faq-item.is-open .faq-item__question,
.l2 .faq-item__question[aria-expanded="true"] { color: var(--uk-orange-500); }
.l2 .faq-item__question[aria-expanded="true"] span { color: var(--uk-orange-500); }
.l2 .faq-item__question[aria-expanded="true"] .faq-item__icon { color: #8C8C8C; }
.l2 .faq-item__answer { padding: 0 32px 22px; }
@media (max-width: 767px) {
    .l2 .faq-item__question { padding: 18px 20px; }
    .l2 .faq-item__answer { padding: 0 20px 18px; }
}

/* ═══════════════════════════════════════════════════════════
   «Полезное о КЭДО» v2: шапка влево с Ghost Brand «Читать блог» справа,
   карточки статей — плашка иконки сверху, заголовок и «Читать статью →» внизу
   ═══════════════════════════════════════════════════════════ */
.l2 .l2-blog__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}
.l2 .l2-blog__head .section__header { margin: 0; text-align: left; max-width: 760px; }
.l2 .l2-blog__head .sec-label { text-align: left; }
.l2 .l2-blog__head .l2-lead { margin-bottom: 0; }

/* Ghost Brand из UI-кита: текст и иконка #F68909, ховер #E06C00, без подложки */
.l2 .l2-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: var(--uk-orange-500);
    text-decoration: none;
    transition: color var(--transition);
}
.l2 .l2-ghost:hover { color: var(--uk-orange-600); }
.l2 .l2-ghost svg { transition: transform var(--transition); }
.l2 .l2-ghost:hover svg { transform: translateX(3px); }

.l2 .l2-post {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 232px;
    padding: 28px;
    border-radius: 12px;
    background: var(--uk-orange-50);
    text-decoration: none;
    transition: background var(--transition);
}
.l2 .l2-post:hover { background: var(--uk-orange-100); }
.l2 .l2-post__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    border-radius: 12px;
    background: var(--uk-orange-100);
    color: #FF7A1F;
    transition: background var(--transition);
}
.l2 .l2-post:hover .l2-post__icon { background: #fff; }
.l2 .l2-post__title { margin: 0 0 24px; }
.l2 .l2-post__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: var(--uk-orange-500);
}
.l2 .l2-post__more svg { transition: transform var(--transition); }
.l2 .l2-post:hover .l2-post__more { color: var(--uk-orange-600); }
.l2 .l2-post:hover .l2-post__more svg { transform: translateX(3px); }

@media (max-width: 767px) {
    .l2 .l2-blog__head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
    .l2 .l2-post { min-height: 0; padding: 22px 20px; }
    .l2 .l2-post__icon { margin-bottom: 18px; }
    .l2 .l2-post__title { margin-bottom: 18px; }
}

/* Блог с одной статьёй: широкая карточка в строку — иконка, текст, ссылка справа */
.l2 .l2-posts--single { grid-template-columns: 1fr; }
.l2 .l2-posts--single .l2-post {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    min-height: 0;
    padding: 32px;
}
.l2 .l2-posts--single .l2-post__icon { margin: 0; flex: none; }
.l2 .l2-post__body { flex: 1 1 auto; min-width: 0; }
.l2 .l2-posts--single .l2-post__title { margin: 0 0 4px; font-size: 24px; line-height: 32px; } /* Display xs */
.l2 .l2-posts--single .l2-post__text { margin: 0; font-size: 16px; line-height: 24px; color: var(--uk-n-700); }
.l2 .l2-posts--single .l2-post__more { margin: 0; flex: none; }
@media (max-width: 767px) {
    .l2 .l2-posts--single .l2-post { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 20px; }
    .l2 .l2-posts--single .l2-post__title { font-size: 20px; line-height: 30px; }
}

/* Оффер в hero: одна строка условий под подзаголовком (Text md/Medium 16/24, белый) */
.l2 .hero__offer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: -8px 0 28px;
    padding: 0;
    list-style: none;
}
.l2 .hero__offer li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #fff;
}
.l2 .hero__offer svg { flex: none; }
@media (max-width: 767px) {
    .l2 .hero__offer { flex-direction: column; gap: 6px; margin: 0 0 24px; }
}

/* ═══════════════════════════════════════════════════════════
   Сверка с правилами сайта (17.11.2026): одна силовая линия и скругление 12 px
   ═══════════════════════════════════════════════════════════ */
/* Все шапки блоков прижаты к левому краю контейнера */
.l2 .section__header { text-align: left; margin-left: 0; margin-right: 0; }
.l2 .section__header .sec-label,
.l2 .section__header .section__title,
.l2 .section__header .section__subtitle { text-align: left; margin-left: 0; margin-right: 0; }
.l2 .section__subtitle { max-width: 780px; }
/* Кнопки под блоками — по той же линии */
.l2 .l2-cta { align-items: flex-start; text-align: left; }
.l2 .l2-cta .btn { margin-left: 0; margin-right: 0; }

/* Скругления, заданные числом, а не токеном */
.l2 .feature-showcase__frame { border-radius: 12px; }
.fx__stage { border-radius: 12px; }
.fx__tab { border-radius: 12px; }
.l2 .steps-ai__card { border-radius: 12px; }
.l2 .l2-video, .l2 .l2-video__frame, .l2 .l2-what__video { border-radius: 12px; }

/* «Функции» теперь на сером фоне: подложки вкладок и экрана — белые, кнопка по левой линии */
.l2 #features .fx__stage { background: #fff; }
.l2 #features .fx__tab:hover,
.l2 #features .fx__tab.is-active { background: #fff; }
.l2 #features .l2-center { display: flex; justify-content: flex-start; text-align: left; }
.l2 #features .l2-center .btn { margin-left: 0; margin-right: 0; }

/* ═══════════════════════════════════════════════════════════
   Финальный CTA по композиции лендинга Подпислон AI-агенты:
   выше остальных блоков (поля 96), заголовок Display lg/Semibold 48/56,
   текст 18/28 слева, форма заявки справа
   ═══════════════════════════════════════════════════════════ */
.l2 .demo-form.section { padding-top: 96px; padding-bottom: 96px; }
.l2 .demo-form__inner {
    grid-template-columns: minmax(0, 620px) minmax(0, 520px);
    justify-content: space-between;
    gap: 48px;
    align-items: center;
}
.l2 .demo-form__title { margin: 0; font-size: 48px; line-height: 56px; letter-spacing: -0.02em; font-weight: 600; }
.l2 .demo-form__subtitle { margin: 20px 0 0; max-width: 560px; }
@media (max-width: 989px) {
    .l2 .demo-form.section { padding-top: 56px; padding-bottom: 56px; }
    .l2 .demo-form__inner { grid-template-columns: 1fr; gap: 32px; }
    .l2 .demo-form__title { font-size: 36px; line-height: 44px; }
}
@media (max-width: 767px) {
    .l2 .demo-form__title { font-size: 30px; line-height: 38px; }
    .l2 .demo-form__subtitle { font-size: 16px; line-height: 24px; }
}

/* ═══════════════════════════════════════════════════════════
   «Кому полезно» v3 (17.11): таблица по схеме — шапка блока (заголовок слева,
   описание справа), колонки «Кто | Доступные функции | Вид подписи в КЭДО»,
   линии 1 px #EEEEEE между строками и колонками
   ═══════════════════════════════════════════════════════════ */
.l2 .l2-roles__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 32px;
}
.l2 .l2-roles__intro .l2-roles__title { margin: 0; text-align: left; }
.l2 .l2-roles__lead { margin: 0; font-size: 18px; line-height: 28px; color: var(--uk-n-700); }

.l2 .l2-rtable__row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 340px;
    border-bottom: 1px solid #EEEEEE;
}
.l2 .l2-rtable__row:last-child { border-bottom: 0; }
.l2 .l2-rtable__row > * { margin: 0; padding: 24px 32px; }
.l2 .l2-rtable__row > *:first-child { padding-left: 0; }
.l2 .l2-rtable__row > * + * { border-left: 1px solid #EEEEEE; }
.l2 .l2-rtable__row--head > * { padding-top: 0; padding-bottom: 14px; }
.l2 .l2-rtable__th {            /* Text sm uppercase/Semibold */
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--uk-n-700);
}
.l2 .l2-rtable__who { font-size: 20px; line-height: 30px; font-weight: 600; color: var(--uk-n-1100); }
.l2 .l2-rtable__list { display: flex; flex-direction: column; gap: 12px; }
.l2 .l2-rtable__list li { font-size: 16px; line-height: 24px; color: var(--uk-n-900); }
.l2 .l2-rtable__sign { display: flex; flex-direction: column; gap: 10px; }
.l2 .l2-rtable__cap { display: none; }

@media (max-width: 989px) {
    .l2 .l2-roles__intro { grid-template-columns: 1fr; gap: 12px; }
    .l2 .l2-rtable__row--head { display: none; }
    .l2 .l2-rtable__row { grid-template-columns: 1fr; padding: 24px 0; }
    .l2 .l2-rtable__row:first-of-type + .l2-rtable__row { border-top: 1px solid #EEEEEE; }
    .l2 .l2-rtable__row > * { padding: 0; border-left: 0 !important; }
    .l2 .l2-rtable__row > * + * { margin-top: 16px; }
    .l2 .l2-rtable__cap {
        display: block;
        font-size: 12px;
        line-height: 18px;
        font-weight: 600;
        text-transform: uppercase;
        color: var(--uk-n-700);
    }
}

/* «Что такое КЭДО» без видео: шапка блока по правилам сайта —
   надзаголовок сверху, ниже заголовок слева и описание справа (как у «Кому полезно») */
.l2 .l2-what { display: block; }
.l2 .l2-what__text { max-width: none; }
.l2 .l2-what__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 24px;
    align-items: start;
    margin-top: 16px;
}
.l2 .l2-what__row .section__title { margin: 0; }
.l2 .l2-what__row .l2-lead { margin: 0; }
.l2 .l2-what + .l2-roles { margin-top: 96px; }
@media (max-width: 989px) {
    .l2 .l2-what__row { grid-template-columns: 1fr; gap: 12px; }
    .l2 .l2-what + .l2-roles { margin-top: 72px; }
}

/* ═══════════════════════════════════════════════════════════
   Сверка с UI-китом (Figma 0M6WI8LTThtUXFjyLCmWBb, Button-website), 17.11.2026
   L: высота 48, поля 8/20 (+ интерлиньяж 24), текст 16/24 Semibold
   M: высота 40, поля 8/16, текст 16/24 Semibold
   Secondary: фон #F0F1F2, текст #1E1F21, ховер #DDDEE1
   ═══════════════════════════════════════════════════════════ */
.l2 .btn--lg { padding: 12px 20px; }
.l2 .btn:not(.btn--lg) { min-height: 40px; padding: 8px 16px; font-size: 16px; line-height: 24px; font-weight: 600; }
.l2 .l2-tpl__btn { background: #F0F1F2; color: #1E1F21; box-shadow: none; }
.l2 .l2-tpl__btn:hover { background: #DDDEE1; color: #1E1F21; }

/* Тёмный блок: надзаголовок #FF9C1F (правило для тёмного фона), описание светлое,
   чтобы читалось — как текст на тёмном CTA лендинга AI-агентов (#DDDEE1) */
#security .sec-label { color: #FF9C1F; }
#security .l2-secx__head .section__subtitle { color: #DDDEE1; }

/* Реестры: герб из той же картинки + подпись живым текстом Text sm 14/20 */
#security .l2-regs { display: flex; flex-direction: column; gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
#security .l2-regs__item { display: flex; align-items: center; gap: 14px; }
#security .l2-regs__icon { flex: none; width: 30px; height: 39px; overflow: hidden; }
#security .l2-regs__icon img { width: 231px; height: 39px; max-width: none; display: block; }
#security .l2-regs__text { display: flex; flex-direction: column; }
#security .l2-regs__name { font-size: 14px; line-height: 20px; font-weight: 600; color: #fff; }
#security .l2-regs__num { font-size: 14px; line-height: 20px; color: #DDDEE1; }
@media (max-width: 989px) { #security .l2-regs { margin-top: 28px; gap: 16px; } }

/* Плашки иконок по правилам сайта: 48×48, скругление 12, иконка 24 с обводкой #FF7A1F;
   на сером фоне/карточке плашка белая, на белой или кремовой — персиковая #FFEFDB,
   оранжевая — только на оранжевой карточке */
.fx__icon { width: 48px; height: 48px; border-radius: 12px; background: #fff; color: #FF7A1F; }
.fx__icon svg { width: 24px; height: 24px; }
.l2 #features .fx__tab.is-active .fx__icon { background: #FFEFDB; color: #FF7A1F; }
.l2 .l2-terms__icon { width: 48px; height: 48px; border-radius: 12px; background: #fff; color: #FF7A1F; }
.l2 .l2-terms__icon svg { width: 24px; height: 24px; }
.l2 .l2-flow__num { width: 48px; height: 48px; border-radius: 12px; }

/* Шаги «Как перейти»: серая карточка #F7F7F7, оранжевый на светлом — #F68909,
   акцентная карточка — брендовый #F68909, как карточка ФСТЭК */
.l2 .steps-ai__card { background: #F7F7F7; }
.l2 .steps-ai__num { color: #F68909; }
.l2 .steps-ai__card--accent { background: #F68909; }
.l2 .steps-ai__card--accent .steps-ai__num { color: #fff; }

/* ═══════════════════════════════════════════════════════════
   «Кому полезно» v4 (17.11): четыре карточки ролей в ряд.
   Основная карточка по макету сайта: кремовая #FEF9F4, скругление 12,
   плашка 48×48 персиковая, иконка 24 #FF7A1F, заголовок Text xl 20/30,
   текст Text md 16/24 #3B3D42. Подпись — внизу карточки под линией
   ═══════════════════════════════════════════════════════════ */
.l2 .l2-rcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.l2 .l2-rcard {
    display: flex;
    flex-direction: column;
    padding: 28px 24px 24px;
    border-radius: 12px;
    background: #FEF9F4;
}
.l2 .l2-rcard__icon {
    display: grid; place-items: center;
    width: 48px; height: 48px; margin-bottom: 20px;
    border-radius: 12px; background: #FFEFDB; color: #FF7A1F;
}
.l2 .l2-rcard__title { margin: 0 0 14px; font-size: 20px; line-height: 30px; font-weight: 600; color: #1A1A1A; }
.l2 .l2-rcard__list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 20px; }
.l2 .l2-rcard__list li { font-size: 16px; line-height: 24px; color: #3B3D42; }
.l2 .l2-rcard__sign {
    display: flex; flex-direction: column; gap: 8px;
    margin-top: auto; padding-top: 16px;
    border-top: 1px solid #F0E6DA;
}
.l2 .l2-rcard__cap { margin: 0; font-size: 12px; line-height: 18px; font-weight: 600; text-transform: uppercase; color: #6B6E76; }
.l2 .l2-rcard__sign .l2-rolerow__sign { font-size: 14px; line-height: 20px; color: #3B3D42; align-items: flex-start; }
.l2 .l2-rcard__sign .l2-rolerow__sign--soon { color: #6B6E76; }
.l2 .l2-rcard__sign .l2-role__mark { margin-top: 1px; }
.l2 .l2-rcard__sign .l2-role__logo { height: 20px; }

@media (max-width: 1199px) { .l2 .l2-rcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px)  { .l2 .l2-rcards { grid-template-columns: 1fr; gap: 12px; } .l2 .l2-rcard { padding: 22px 20px 20px; } }

/* «Кому полезно» v5: все уровни в карточках совпадают —
   плашка → роль → подпись (одна зона фиксированной высоты, без иконок) → линия → три действия.
   Списки без галочек: в этом блоке действия, а не преимущества */
.l2 .l2-rcard { padding: 24px; }
.l2 .l2-rcard__icon { margin-bottom: 16px; }
.l2 .l2-rcard__title { margin: 0 0 8px; }
.l2 .l2-rcard__sign {
    display: block;
    min-height: 94px;           /* подпись 12/18 + значение до трёх строк 14/20 + отступ 16 */
    margin: 0;
    padding: 0 0 16px;
    border-top: 0;
    border-bottom: 1px solid #F0E6DA;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #1A1A1A;
}
.l2 .l2-rcard__sign .l2-rcard__cap {
    display: block;
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #6B6E76;
}
.l2 .l2-rcard__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 16px 0 0;
    list-style: none;
}
.l2 .l2-rcard__list li { padding: 0; font-size: 16px; line-height: 24px; color: #3B3D42; }
.l2 .l2-rcard__list li::before { content: none; }
@media (max-width: 599px) { .l2 .l2-rcard__sign { min-height: 0; } }

/* ═══════════════════════════════════════════════════════════
   «Как работает»: горизонтальные шаги-вкладки + один скриншот (≥990 px).
   Отличается от вертикальных вкладок «Функций», в 2 раза ниже сетки 2×2
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 990px) {
    .l2 #how .l2-flow.is-stepper {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 32px;
    }
    .l2 #how .l2-flow.is-stepper .l2-flow__step { display: contents; }
    .l2 #how .l2-flow.is-stepper .l2-flow__text {
        grid-row: 1;
        max-width: none;
        padding: 20px 0 0;
        border-top: 2px solid #EEEEEE;
        cursor: pointer;
        outline: none;
        transition: border-color var(--transition);
    }
    .l2 #how .l2-flow.is-stepper .l2-flow__text:hover { border-top-color: #DDDEE1; }
    .l2 #how .l2-flow.is-stepper .l2-flow__text:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #F68909; border-radius: 4px; }
    .l2 #how .l2-flow.is-stepper .l2-flow__num {
        width: 48px; height: 48px; margin-bottom: 16px;
        border-radius: 12px; background: #F7F7F7; color: #6B6E76;
    }
    .l2 #how .l2-flow.is-stepper .l2-flow__title { margin: 0 0 8px; font-size: 20px; line-height: 30px; color: #6B6E76; }
    .l2 #how .l2-flow.is-stepper .l2-flow__text p { font-size: 16px; line-height: 24px; color: #6B6E76; }
    /* выбранный шаг */
    .l2 #how .l2-flow.is-stepper .is-active .l2-flow__text { border-top-color: #F68909; }
    .l2 #how .l2-flow.is-stepper .is-active .l2-flow__num { background: #FFEFDB; color: #E06C00; }
    .l2 #how .l2-flow.is-stepper .is-active .l2-flow__title { color: #1A1A1A; }
    .l2 #how .l2-flow.is-stepper .is-active .l2-flow__text p { color: #3B3D42; }
    /* один скриншот под шагами */
    .l2 #how .l2-flow.is-stepper .l2-flow__img {
        grid-row: 2;
        grid-column: 1 / -1;
        display: none;
        margin: 0;
    }
    .l2 #how .l2-flow.is-stepper .is-active .l2-flow__img { display: block; }
    .l2 #how .l2-flow.is-stepper .l2-flow__img .feature-showcase__img {
        width: 100%; max-height: 620px; object-fit: contain;
    }
}
/* скриншот шага: серая подложка во всю ширину, сама картинка по центру и не выше 480 px */
@media (min-width: 990px) {
    .l2 #how .l2-flow.is-stepper .l2-flow__img { padding: 24px; border-radius: 12px; background: #F7F7F7; }
    .l2 #how .l2-flow.is-stepper .l2-flow__img .feature-showcase__zoom { display: block; margin: 0 auto; }
    .l2 #how .l2-flow.is-stepper .l2-flow__img .feature-showcase__img { width: auto; max-width: 100%; max-height: 480px; margin: 0 auto; border-radius: 8px; }
}

/* «Как работает» v2: строка шагов (номер + название) и под ней одна панель —
   описание выбранного шага слева, его скриншот справа. Блок помещается в один экран */
@media (min-width: 990px) {
    .l2 #how .l2-flow.is-stepper { row-gap: 24px; }
    .l2 #how .l2-flow.is-stepper .l2-flow__text {
        display: flex; align-items: center; gap: 14px;
        padding: 16px 0 0;
    }
    .l2 #how .l2-flow.is-stepper .l2-flow__num { flex: none; margin: 0; }
    .l2 #how .l2-flow.is-stepper .l2-flow__title { margin: 0; font-size: 18px; line-height: 28px; }
    .l2 #how .l2-flow.is-stepper .l2-flow__img { display: block; grid-row: auto; grid-column: auto; padding: 0; background: none; }
    .l2 #how .l2-flow.is-stepper .l2-flow__panel {
        grid-row: 2; grid-column: 1 / -1;
        display: none;
        grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
        gap: 40px; align-items: center;
        padding: 32px; border-radius: 12px; background: #F7F7F7;
    }
    .l2 #how .l2-flow.is-stepper .is-active .l2-flow__panel { display: grid; }
    .l2 #how .l2-flow.is-stepper .l2-flow__desc p { margin: 0; font-size: 18px; line-height: 28px; color: #3B3D42; }
    .l2 #how .l2-flow.is-stepper .l2-flow__img .feature-showcase__img { max-height: 420px; }
}
@media (max-width: 989px) {
    .l2 #how .l2-flow__panel { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
    .l2 #how .l2-flow__desc p { margin: 0; }
}
@media (max-width: 989px) {
    .l2 #how .l2-flow__step { gap: 0; }
    .l2 #how .l2-flow__title { margin-bottom: 0; }
    .l2 #how .l2-flow__panel { margin-top: 12px; }
}

/* «Функции»: описание открытой вкладки всегда одной высоты (4 строки по 24 px),
   чтобы список вкладок не прыгал при переключении */
.l2 #features .fx__tab.is-active .fx__text { min-height: 96px; }

/* ═══════════════════════════════════════════════════════════
   «Как работает» v3 (по схеме 17.11): одна серая панель.
   Слева вертикальные шаги 1–4 с линией прогресса, описание раскрывается
   под выбранным шагом; справа скриншот выбранного шага.
   Отменяет горизонтальную строку шагов из v1/v2
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 990px) {
    .l2 #how .l2-flow.is-stepper {
        grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
        grid-template-rows: repeat(4, auto) 1fr;
        column-gap: 40px;
        row-gap: 0;
        padding: 32px;
        border-radius: 12px;
        background: #F7F7F7;
    }
    .l2 #how .l2-flow.is-stepper .l2-flow__text {
        grid-column: 1;
        grid-row: auto;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 14px;
        align-items: center;
        padding: 14px 0 14px 20px;
        border-top: 0;
        border-left: 2px solid #DDDEE1;
    }
    .l2 #how .l2-flow.is-stepper .l2-flow__step:nth-child(1) .l2-flow__text { grid-row: 1; }
    .l2 #how .l2-flow.is-stepper .l2-flow__step:nth-child(2) .l2-flow__text { grid-row: 2; }
    .l2 #how .l2-flow.is-stepper .l2-flow__step:nth-child(3) .l2-flow__text { grid-row: 3; }
    .l2 #how .l2-flow.is-stepper .l2-flow__step:nth-child(4) .l2-flow__text { grid-row: 4; }
    .l2 #how .l2-flow.is-stepper .l2-flow__text:hover { border-top-color: transparent; border-left-color: #C9CBD0; }
    .l2 #how .l2-flow.is-stepper .is-active .l2-flow__text { border-left-color: #F68909; }
    .l2 #how .l2-flow.is-stepper .l2-flow__num { grid-column: 1; margin: 0; background: #fff; }
    .l2 #how .l2-flow.is-stepper .l2-flow__title { grid-column: 2; margin: 0; }
    /* описание только у выбранного шага; высота закреплена на 5 строк, чтобы ничего не прыгало */
    .l2 #how .l2-flow.is-stepper .l2-flow__text p {
        display: none;
        grid-column: 2;
        margin: 6px 0 0;
        min-height: 120px;
        font-size: 16px;
        line-height: 24px;
    }
    .l2 #how .l2-flow.is-stepper .is-active .l2-flow__text p { display: block; }
    /* скриншот справа на всю высоту колонки шагов */
    .l2 #how .l2-flow.is-stepper .l2-flow__img {
        grid-column: 2;
        grid-row: 1 / 6;
        align-self: center;
        display: none;
        padding: 0;
        background: none;
    }
    .l2 #how .l2-flow.is-stepper .is-active .l2-flow__img { display: block; }
    .l2 #how .l2-flow.is-stepper .l2-flow__img .feature-showcase__img { max-height: 440px; }
}
@media (max-width: 989px) {
    .l2 #how .l2-flow__img { margin-top: 16px; }
}

/* ═══════════════════════════════════════════════════════════
   Сетка сайта (правило из CLAUDE.md, как на лендинге AI-агентов):
   контент 1220 px; поля 110 px на 1440, 40 px на планшете, 16 px на телефоне.
   Заменяет ступенчатую ширину .cover из kedo_styles.css (было 1170 и поля 135)
   ═══════════════════════════════════════════════════════════ */
.l2 .cover {
    width: 100%;
    max-width: calc(1220px + 80px);
    padding-left: 40px;
    padding-right: 40px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 767px) {
    .l2 .cover { padding-left: 16px; padding-right: 16px; }
}

/* ═══════════════════════════════════════════════════════════
   «Безопасность» бенто (17.11), подача как «Почему клиентам легко сказать
   AI-агентам „да“» в макетах сайта: главный довод крупно (УЗ-1) на большой
   оранжевой карточке, остальные — карточки разного размера вокруг
   ═══════════════════════════════════════════════════════════ */
#security .l2-sec.l2-sec--bento {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    grid-template-areas: "fstek roles" "fstek check" "ru check";
    grid-auto-rows: auto;
    gap: 16px;
}
#security .l2-sec--bento .l2-sec__item { min-height: 0; padding: 28px; position: relative; overflow: hidden; }
#security .l2-sec__item--fstek { grid-area: fstek; min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
#security .l2-sec__item--roles { grid-area: roles; }
#security .l2-sec__item--check { grid-area: check; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
#security .l2-sec__item--ru { grid-area: ru; display: flex; flex-direction: row; align-items: center; gap: 20px; }
#security .l2-sec__item--ru p { margin-top: 4px; }

#security .l2-sec--bento .l2-sec__big {     /* Display 2xl/Bold 72/76 */
    margin: 0 0 8px; font-size: 72px; line-height: 76px; letter-spacing: -0.02em; font-weight: 700; color: #fff;
}
#security .l2-sec--bento .l2-sec__mid {     /* Display lg/Bold 48/56, оранжевый на тёмном */
    margin: 0; flex: none; font-size: 48px; line-height: 56px; letter-spacing: -0.02em; font-weight: 700; color: #FF9C1F;
}
#security .l2-sec__item--fstek p { max-width: 380px; }
#security .l2-sec__shield {
    position: absolute; right: -30px; top: -20px; width: 260px; height: 260px;
    color: rgba(255,255,255,.18); pointer-events: none;
}
#security .l2-sec__ico {
    display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px;
    border-radius: 12px; background: rgba(255,156,31,.14); color: #FF9C1F;
}
#security .l2-sec__item--fstek > div,
#security .l2-sec__item--fstek > p { position: relative; }

@media (max-width: 767px) {
    #security .l2-sec.l2-sec--bento { grid-template-columns: 1fr; grid-template-areas: "fstek" "roles" "check" "ru"; gap: 12px; }
    #security .l2-sec__item--fstek { min-height: 0; }
    #security .l2-sec--bento .l2-sec__big { font-size: 48px; line-height: 56px; }
    #security .l2-sec--bento .l2-sec__mid { font-size: 36px; line-height: 44px; }
    #security .l2-sec__shield { width: 180px; height: 180px; }
}

/* ═══════════════════════════════════════════════════════════
   Оранжевый CTA-блок с оффером (как в макетах сайта, node 865:3479):
   #F79900, поля 80 сверху и снизу, заголовок Bold 32/40 белый,
   справа белая кнопка с оранжевым текстом и белая контурная
   ═══════════════════════════════════════════════════════════ */
.l2 .l2-offer { background: #F79900; color: #fff; }
.l2 .l2-offer__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 80px; padding-bottom: 80px; }
.l2 .l2-offer__title { margin: 0; font-size: 32px; line-height: 40px; font-weight: 700; color: #fff; }
.l2 .l2-offer__sub { margin: 12px 0 0; max-width: 620px; font-size: 18px; line-height: 28px; color: #fff; }
.l2 .l2-offer__actions { display: flex; flex: none; gap: 12px; }
.l2 .l2-offer__btn { background: #fff; color: #E06C00; box-shadow: none; }
.l2 .l2-offer__btn:hover { background: #FEF9F4; color: #E06C00; }
.l2 .l2-offer__btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.l2 .l2-offer__btn--ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
@media (max-width: 989px) {
    .l2 .l2-offer__inner { flex-direction: column; align-items: flex-start; padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 767px) {
    .l2 .l2-offer__title { font-size: 24px; line-height: 32px; }
    .l2 .l2-offer__sub { font-size: 16px; line-height: 24px; }
    .l2 .l2-offer__actions { flex-direction: column; width: 100%; }
    .l2 .l2-offer__btn { width: 100%; justify-content: center; }
}

/* «Что такое КЭДО»: под определением — облако документов (подача как у Контура).
   Плашки: электронно — персиковые #FFEFDB с текстом #BD5B00, на бумаге — серые #F0F1F2 */
.l2 .l2-what__right { min-width: 0; }
.l2 .l2-docs-cloud { margin-top: 28px; }
.l2 .l2-docs-cloud__cap { margin: 0 0 10px; font-size: 14px; line-height: 20px; font-weight: 600; text-transform: uppercase; color: #6B6E76; }
.l2 .l2-docs-cloud__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.l2 .l2-docs-cloud__list:last-child { margin-bottom: 0; }
.l2 .l2-chip { padding: 6px 12px; border-radius: 12px; font-size: 14px; line-height: 20px; font-weight: 500; }
.l2 .l2-chip--yes { background: #FFEFDB; color: #BD5B00; }
.l2 .l2-chip--no { background: #F0F1F2; color: #3B3D42; }

/* ═══════════════════════════════════════════════════════════
   «Как перейти на КЭДО» + шаблоны в одном блоке.
   Шаги — как в макете партнёрской программы: колонки с линиями 1 px #EEEEEE,
   плашка с номером 48×48 персиковая, заголовок Text xl 20/30, текст 16/24.
   Шаблоны — кремовая полоса #FEF9F4 под шагами
   ═══════════════════════════════════════════════════════════ */
.l2 .l2-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.l2 .l2-steps__item { padding: 4px 28px 4px 28px; border-left: 1px solid #EEEEEE; }
.l2 .l2-steps__item:first-child { padding-left: 0; border-left: 0; }
.l2 .l2-steps__num {
    display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px;
    border-radius: 12px; background: #FFEFDB; color: #E06C00;
    font-size: 18px; line-height: 28px; font-weight: 600;
}
.l2 .l2-steps__title { margin: 0 0 8px; font-size: 20px; line-height: 30px; font-weight: 600; color: #1A1A1A; }
.l2 .l2-steps__text { margin: 0; font-size: 16px; line-height: 24px; color: #3B3D42; }
.l2 .l2-steps__text a { color: #F68909; text-decoration: underline; text-underline-offset: 3px; }

.l2 .l2-tplbar { margin-top: 48px; padding: 32px; border-radius: 12px; background: #FEF9F4; scroll-margin-top: 96px; }
.l2 .l2-tplbar__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 24px; }
.l2 .l2-tplbar__title { margin: 0; font-size: 24px; line-height: 32px; font-weight: 600; color: #1A1A1A; }   /* Display xs */
.l2 .l2-tplbar__sub { margin: 0; font-size: 16px; line-height: 24px; color: #6B6E76; }
.l2 .l2-tplbar__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.l2 .l2-tplbar__item {
    display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; align-items: center;
    height: 100%; padding: 16px; border-radius: 12px; background: #fff; text-decoration: none;
    transition: box-shadow var(--transition);
}
.l2 .l2-tplbar__item:hover { box-shadow: inset 0 0 0 1px #F68909; }
.l2 .l2-tplbar__ico { grid-row: 1 / 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #FFEFDB; color: #FF7A1F; }
.l2 .l2-tplbar__name { font-size: 16px; line-height: 24px; font-weight: 600; color: #1A1A1A; }
.l2 .l2-tplbar__meta { font-size: 14px; line-height: 20px; font-weight: 600; color: #F68909; }
.l2 .l2-tplbar__item:hover .l2-tplbar__meta { color: #E06C00; }

@media (max-width: 1199px) {
    .l2 .l2-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
    .l2 .l2-steps__item:nth-child(3) { padding-left: 0; border-left: 0; }
    .l2 .l2-tplbar__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .l2 .l2-steps { grid-template-columns: 1fr; row-gap: 0; }
    .l2 .l2-steps__item { padding: 20px 0; border-left: 0; border-top: 1px solid #EEEEEE; }
    .l2 .l2-steps__item:first-child { border-top: 0; padding-top: 0; }
    .l2 .l2-tplbar { padding: 20px; margin-top: 32px; }
    .l2 .l2-tplbar__head { grid-template-columns: 1fr; gap: 8px; }
    .l2 .l2-tplbar__title { font-size: 20px; line-height: 30px; }
    .l2 .l2-tplbar__list { grid-template-columns: 1fr; gap: 8px; }
}

/* «Экосистема» по макету «Один личный кабинет для всех решений» (главная, Figma 217:8563):
   текст и три шага с пунктиром слева, картинка кабинета на кремовой подложке в клетку справа */
@media (min-width: 990px) { .l2 .l2-eco { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; } }
.l2 .l2-eco__main .l2-lead { margin: 16px 0 0; }
.l2 .l2-eco__steps { margin: 32px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 24px; }
.l2 .l2-eco__steps li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.l2 .l2-eco__steps li + li::before {
    content: ''; position: absolute; left: 23px; top: -24px; height: 24px;
    border-left: 1px dashed #F0C9A0;
}
.l2 .l2-eco__num {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
    background: #FFEFDB; color: #E06C00; font-size: 18px; line-height: 28px; font-weight: 600;
}
.l2 .l2-eco__title { margin: 0; font-size: 18px; line-height: 28px; font-weight: 600; color: #1A1A1A; }
.l2 .l2-eco__text { margin: 2px 0 0; font-size: 16px; line-height: 24px; color: #6B6E76; }
.l2 .l2-eco__img {
    padding: 48px 32px; border-radius: 12px;
    background-color: #FEF9F4;
    background-image: linear-gradient(#F6E9DA 1px, transparent 1px), linear-gradient(90deg, #F6E9DA 1px, transparent 1px);
    background-size: 32px 32px;
}
.l2 .l2-eco__img img { max-width: 520px; }
@media (max-width: 767px) { .l2 .l2-eco__img { padding: 24px 16px; } }

/* Шаблоны: при наведении без обводки — как у карточки статьи в блоге:
   фон становится персиковым #FFEFDB, плашка иконки — белой */
.l2 .l2-tplbar__item { transition: background var(--transition); }
.l2 .l2-tplbar__item:hover { box-shadow: none; background: #FFEFDB; }
.l2 .l2-tplbar__ico { transition: background var(--transition); }
.l2 .l2-tplbar__item:hover .l2-tplbar__ico { background: #fff; }

/* «Функции»: скриншот без белой подложки вокруг — только в этом блоке */
.l2 #features .fx__stage { padding: 0; background: none; }

/* Роли: «Подпись» — подпись-заголовок и строки с маленькой иконкой и текстом */
.l2 .l2-rcard__sign { display: flex; flex-direction: column; gap: 8px; min-height: 114px; padding: 0 0 16px; }
.l2 .l2-rcard__sign .l2-rcard__cap { margin: 0; }
.l2 .l2-rcard__row { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: #1A1A1A; }
.l2 .l2-rcard__ico { flex: 0 0 16px; margin-top: 2px; color: #FF7A1F; }
@media (max-width: 599px) { .l2 .l2-rcard__sign { min-height: 0; } }
.l2 .l2-rcard__img { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; object-fit: contain; }

/* Роли: заголовок блока отделён от карточек шагом 40, как шапки блоков сайта */
.l2 .l2-roles__intro { margin-bottom: 40px; }

/* Преимущества тарифов: отдельный блок, карточки как в макете сайта */
.l2 .l2-adv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.l2 .l2-adv__card { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 12px; background: #FEF9F4; }
.l2 .l2-adv__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #FFEFDB; color: #FF7A1F; }
.l2 .l2-adv__title { margin: 0; font-size: 20px; line-height: 30px; font-weight: 600; color: #1A1A1A; }
.l2 .l2-adv__text { margin: 0; font-size: 16px; line-height: 24px; color: #3B3D42; }
.l2 .l2-adv__title + .l2-adv__text { margin-top: -8px; }
@media (max-width: 1199px) { .l2 .l2-adv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .l2 .l2-adv { grid-template-columns: 1fr; gap: 12px; } .l2 .l2-adv__card { padding: 20px; } }

/* Подписи в ролях: Госключ и знак Подпислон — залитые фигуры, а остальные иконки линейные.
   Чтобы на глаз они были одного размера, залитые уменьшаем внутри той же клетки 16×16:
   линейная иконка 16 px даёт рисунок ≈13 px, поэтому Госключ 13 px, знак Подпислон 12 px в высоту */
.l2 .l2-rcard__img { box-sizing: border-box; object-fit: contain; object-position: center; }
.l2 .l2-rcard__img--gk { padding: 1.5px; }
.l2 .l2-rcard__img--pd { padding: 2px 3px; }

/* Шаблоны не прилипают к шагам: отступ как между блоками внутри секции */
.l2 .l2-tplbar { margin-top: 80px; }
@media (max-width: 767px) { .l2 .l2-tplbar { margin-top: 40px; } }

/* ═══════════════════════════════════════════════════════════
   Шаблоны полосками — как список в аккордеоне FAQ по правилам сайта:
   белый список, скругление 12, линии 1 px #EEEEEE между строками.
   Строка: иконка 48 | название + пояснение | DOCX | «Скачать» (Ghost Brand)
   ═══════════════════════════════════════════════════════════ */
.l2 .l2-tplbar { padding: 0; background: none; border-radius: 0; }
.l2 .l2-tplbar__head { margin-bottom: 24px; }
.l2 .l2-tplbar__list--rows {
    display: block; margin: 0; padding: 0; list-style: none;
    border-radius: 12px; background: #fff; overflow: hidden;
}
.l2 .l2-tplbar__list--rows li + li { border-top: 1px solid #EEEEEE; }
.l2 .l2-tplrow {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto auto;
    align-items: center; column-gap: 20px;
    padding: 20px 32px; text-decoration: none;
    transition: background var(--transition);
}
.l2 .l2-tplrow:hover { background: #FEF9F4; }
.l2 .l2-tplrow__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #FFEFDB; color: #FF7A1F; }
.l2 .l2-tplrow__body { display: flex; flex-direction: column; min-width: 0; }
.l2 .l2-tplrow__name { font-size: 18px; line-height: 28px; font-weight: 600; color: #1A1A1A; }
.l2 .l2-tplrow__desc { font-size: 16px; line-height: 24px; color: #6B6E76; }
.l2 .l2-tplrow__meta { font-size: 14px; line-height: 20px; font-weight: 600; color: #6B6E76; }
.l2 .l2-tplrow__dl { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; line-height: 24px; font-weight: 600; color: #F68909; transition: color var(--transition); }
.l2 .l2-tplrow:hover .l2-tplrow__dl { color: #E06C00; }
@media (max-width: 767px) {
    .l2 .l2-tplrow { grid-template-columns: 40px minmax(0, 1fr); row-gap: 8px; padding: 18px 20px; }
    .l2 .l2-tplrow__ico { width: 40px; height: 40px; }
    .l2 .l2-tplrow__meta { display: none; }
    .l2 .l2-tplrow__dl { grid-column: 2; }
    .l2 .l2-tplrow__name { font-size: 16px; line-height: 24px; }
    .l2 .l2-tplrow__desc { font-size: 14px; line-height: 20px; }
}

/* «ФСТЭК» в заголовке карточки на 20 % крупнее заголовка: 20 → 24 px (ступень кита Display xs 24/32) */
#security .l2-sec__acc { display: inline-block; font-size: 24px; line-height: 32px; }

/* ═══════════════════════════════════════════════════════════
   Финальная сетка отступов (18.11.2026), одна система на всю страницу:
   десктоп — поля блока 80, шапка → содержимое 52, части внутри блока 80, содержимое → кнопка 40;
   мобилка — поля блока 52, шапка → содержимое 32, части внутри блока 40, содержимое → кнопка 32.
   Оранжевые CTA-блоки (оффер и финальная форма) сознательно выше — по UI-киту
   ═══════════════════════════════════════════════════════════ */
.l2 .l2-blog.section { padding-top: 80px; padding-bottom: 80px; }
.l2 .l2-blog__head { margin-bottom: 52px; }
.l2 .l2-what + .l2-roles { margin-top: 80px; }
.l2 .l2-tplbar { margin-top: 80px; }

@media (max-width: 767px) {
    .l2 .l2-blog.section { padding-top: 52px; padding-bottom: 52px; }
    .l2 .section__header,
    .l2 .l2-blog__head,
    .l2 .l2-roles__intro { margin-bottom: 32px; }
    .l2 .l2-what + .l2-roles,
    .l2 .l2-tplbar { margin-top: 40px; }
    .l2 .l2-cta,
    .l2 #features .l2-center,
    .l2 #start .steps__cta { margin-top: 32px; }
}

/* «Функции» на мобилке: скриншот под описанием каждой функции (по просьбе 18.11) */
@media (max-width: 767px) {
    .l2 #features .feature-showcase__frame { display: block; margin-top: 16px; border-radius: 12px; overflow: hidden; background: none; }
    .l2 #features .feature-showcase__frame img { display: block; width: 100%; height: auto; }
}

/* Шаблоны отделены от шагов заметнее: это вторая часть блока со своим заголовком */
.l2 .l2-tplbar { margin-top: 120px; }
@media (max-width: 767px) { .l2 .l2-tplbar { margin-top: 56px; } }
