/*
 * Хронометраж — executive landing
 * Плакатный стиль в духе Студии Артемия Лебедева / советского конструктивизма
 *
 *  - только чёрный, бумажный, алый
 *  - никаких скруглений, теней и градиентов
 *  - толстые бордеры 2-6px
 *  - IBM Plex Sans / Mono
 *  - tabular-nums, uppercase для меток
 */

/* ============================================================
   TOKENS
   ============================================================ */
:root {
    --c-red: #D9000F;
    --c-red-dark: #A00009;
    --c-black: #141416;
    --c-ink: #1C1C1F;
    --c-white: #F4F4EF;
    --c-paper: #F7F7F3;
    --c-gray-900: #1A1A1D;
    --c-gray-800: #242428;
    --c-gray-700: #2F2F34;
    --c-gray-600: #454549;
    --c-gray-500: #72727A;
    --c-gray-400: #9A9AA1;
    --c-gray-300: #C2C2C8;
    --c-gray-200: #DEDEE2;

    --f-display: 'IBM Plex Sans', 'Inter', system-ui, -apple-system, sans-serif;
    --f-mono: 'IBM Plex Mono', 'SF Mono', Consolas, monospace;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--f-display);
    background: var(--c-black);
    color: var(--c-white);
    font-weight: 400;
    line-height: 1.55;
    font-size: 15px;
    font-feature-settings: "tnum", "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--c-red);
    color: var(--c-white);
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg, canvas {
    display: block;
    max-width: 100%;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.04;
}

strong { font-weight: 700; }
em { font-style: italic; }

:focus-visible {
    outline: 3px solid var(--c-red);
    outline-offset: 2px;
}

/* ============================================================
   КРАСНАЯ ПОЛОСА СВЕРХУ
   ============================================================ */
.l-stripe {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--c-red);
    z-index: 1000;
}

/* ============================================================
   СЕТКА
   ============================================================ */
.l-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 720px) {
    .l-container { padding: 0 20px; }
}

/* ============================================================
   СЕКЦИЯ
   ============================================================ */
.l-section {
    position: relative;
    padding: 104px 0;
    border-top: 3px solid var(--c-white);
}
@media (max-width: 720px) {
    .l-section { padding: 72px 0; }
}
.l-section--black { background: var(--c-black); color: var(--c-white); }
.l-section--paper { background: var(--c-white); color: var(--c-black); }
.l-section--red { background: var(--c-red); color: var(--c-white); }

.l-section--paper .l-section-number,
.l-section--paper .l-label { color: var(--c-gray-600); }

.l-section-number {
    position: absolute;
    top: 22px;
    right: 32px;
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--c-gray-500);
    text-transform: uppercase;
}

.l-section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 64px;
    max-width: 900px;
}

.l-label {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-gray-400);
    padding: 3px 9px;
    border: 1px solid currentColor;
    width: max-content;
}

.l-title {
    font-size: clamp(24px, 2.8vw, 36px);
    font-weight: 600;
    letter-spacing: -0.018em;
    line-height: 1.12;
    text-transform: none;
}
.l-title em {
    font-style: normal;
    color: var(--c-red);
}

.l-section-head p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--c-gray-400);
    max-width: 640px;
    font-weight: 400;
}
.l-section--paper .l-section-head p { color: var(--c-gray-700); }

/* ============================================================
   NAV
   ============================================================ */
.l-nav {
    position: sticky;
    top: 6px;
    z-index: 900;
    background: var(--c-black);
    border-bottom: 4px solid var(--c-white);
}
.l-nav-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 64px;
    gap: 16px;
}
.l-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--c-white);
    flex-shrink: 0;
}
.l-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--c-red);
    color: var(--c-white);
    font-family: var(--f-mono);
    font-weight: 700;
    font-size: 15px;
}
.l-nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 1;
    min-width: 0;
}
.l-nav-links a {
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-gray-300);
    height: 100%;
    border-left: 1px solid var(--c-gray-800);
    transition: background 0.12s, color 0.12s;
    white-space: nowrap;
}
.l-nav-links a:hover {
    background: var(--c-red);
    color: var(--c-white);
}
.l-nav-cta {
    display: flex;
    align-items: center;
}

/* nav на mobile переопределяется ниже в общем @media-блоке (см. .l-nav-inner) */

/* ============================================================
   КНОПКИ
   ============================================================ */
.l-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 28px;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 2px solid var(--c-white);
    background: transparent;
    color: var(--c-white);
    cursor: pointer;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
    text-decoration: none;
}
.l-btn:hover:not(:disabled) {
    background: var(--c-white);
    color: var(--c-black);
}

.l-btn--red {
    background: var(--c-red);
    border-color: var(--c-red);
    color: var(--c-white);
}
.l-btn--red:hover:not(:disabled) {
    background: var(--c-white);
    color: var(--c-red);
    border-color: var(--c-red);
}

.l-btn--sm {
    padding: 10px 18px;
    font-size: 11px;
}

.l-btn--lg {
    padding: 20px 36px;
    font-size: 15px;
}

.l-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================================
   01 — HERO
   ============================================================ */
.l-hero {
    position: relative;
    padding: 88px 0 120px;
    background: var(--c-black);
    color: var(--c-white);
    border-top: 4px solid var(--c-white);
    overflow: hidden;
}
.l-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: start;
}
.l-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-red);
    margin-bottom: 36px;
    padding: 8px 12px;
    border: 2px solid var(--c-red);
}
.l-hero-eyebrow::before {
    content: "●";
    color: var(--c-red);
}

.l-hero h1 {
    font-size: clamp(32px, 4.4vw, 60px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-transform: none;
    margin-bottom: 28px;
}
.l-hero h1 em {
    font-style: normal;
    color: var(--c-red);
    position: relative;
    display: inline-block;
}

.l-hero-lead {
    font-size: 17px;
    line-height: 1.55;
    color: var(--c-gray-300);
    max-width: 560px;
    margin-bottom: 32px;
    border-left: 3px solid var(--c-red);
    padding-left: 18px;
}

.l-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}

.l-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 2px solid var(--c-white);
}
.l-hero-stats > div {
    padding: 24px;
    border-right: 2px solid var(--c-white);
}
.l-hero-stats > div:last-child { border-right: 0; }

.l-hero-stat-value {
    font-size: 40px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--c-red);
    margin-bottom: 8px;
}
.l-hero-stat-label {
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-gray-400);
}

/* Mockup — плакатная квитанция */
.l-mockup {
    background: var(--c-white);
    color: var(--c-black);
    border: 4px solid var(--c-white);
    font-family: var(--f-mono);
    position: relative;
}
.l-mockup-head {
    padding: 14px 20px;
    background: var(--c-black);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-bottom: 4px solid var(--c-red);
}
.l-mockup-head span.tag {
    color: var(--c-red);
    background: var(--c-white);
    padding: 2px 6px;
}
.l-mockup-body {
    padding: 24px;
    display: grid;
    gap: 20px;
}
.l-mockup-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--c-gray-500);
    font-family: var(--f-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.l-mockup-row strong {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.l-mockup-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 16px 0 4px;
    border-top: 3px solid var(--c-black);
    border-bottom: 3px double var(--c-black);
    font-family: var(--f-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 12px;
}
.l-mockup-total b {
    font-size: 32px;
    font-weight: 700;
    color: var(--c-red);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}
.l-mockup-sessions {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 2px solid var(--c-black);
}
.l-mockup-session {
    display: grid;
    grid-template-columns: 16px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid var(--c-black);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.l-mockup-session:last-child { border-bottom: 0; }
.l-mockup-session .dot {
    width: 10px;
    height: 10px;
    background: var(--c-red);
    animation: l-pulse 1.5s ease-in-out infinite;
}
.l-mockup-session .t {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}
.l-mockup-chart {
    height: 100px;
    padding: 8px 0 0;
    border-top: 2px solid var(--c-black);
}

@keyframes l-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

@media (max-width: 960px) {
    .l-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .l-hero-stats { grid-template-columns: 1fr; }
    .l-hero-stats > div { border-right: 0; border-bottom: 2px solid var(--c-white); }
    .l-hero-stats > div:last-child { border-bottom: 0; }
}

/* ============================================================
   02 — STORY
   ============================================================ */
.l-story {
    max-width: 900px;
    margin: 0 auto;
}
.l-story-text {
    font-size: 22px;
    line-height: 1.55;
    color: var(--c-white);
    margin-bottom: 24px;
}
.l-story-text strong { color: var(--c-red); }
.l-story-punch {
    font-size: 28px;
    font-weight: 700;
    padding: 32px 0;
    border-top: 4px solid var(--c-red);
    border-bottom: 4px solid var(--c-red);
    margin: 32px 0;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.15;
}
.l-story-sign {
    font-family: var(--f-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-gray-400);
}

/* ============================================================
   03 — PROBLEM
   ============================================================ */
.l-problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 3px solid var(--c-white);
}
.l-problem-card {
    position: relative;
    padding: 40px 28px 32px;
    border-right: 2px solid var(--c-white);
    background: var(--c-black);
    transition: background 0.15s, color 0.15s;
}
.l-problem-card:last-child { border-right: 0; }
.l-problem-card:hover {
    background: var(--c-red);
    color: var(--c-white);
}
.l-problem-card .num {
    position: absolute;
    top: 12px;
    right: 16px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--c-gray-500);
}
.l-problem-card:hover .num { color: var(--c-white); }
.l-problem-card .figure {
    font-size: 72px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 0.92;
    letter-spacing: -0.04em;
    color: var(--c-red);
    margin-bottom: 20px;
}
.l-problem-card:hover .figure { color: var(--c-white); }
.l-problem-card .figure .unit {
    font-size: 36px;
    font-weight: 700;
    vertical-align: top;
    margin-left: 2px;
}
.l-problem-card .figure .txt {
    font-size: 28px;
    display: block;
    letter-spacing: -0.02em;
}
.l-problem-card .caption {
    font-size: 14px;
    line-height: 1.45;
    color: var(--c-gray-300);
    border-top: 2px solid var(--c-gray-700);
    padding-top: 16px;
}
.l-problem-card:hover .caption {
    color: var(--c-white);
    border-top-color: var(--c-white);
}

@media (max-width: 960px) {
    .l-problem-grid { grid-template-columns: repeat(2, 1fr); }
    .l-problem-card:nth-child(1), .l-problem-card:nth-child(2) { border-bottom: 2px solid var(--c-white); }
    .l-problem-card:nth-child(2) { border-right: 0; }
}
@media (max-width: 560px) {
    .l-problem-grid { grid-template-columns: 1fr; }
    .l-problem-card { border-right: 0 !important; border-bottom: 2px solid var(--c-white); }
    .l-problem-card:last-child { border-bottom: 0; }
}

/* ============================================================
   04 — HOW IT WORKS
   ============================================================ */
.l-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border: 3px solid var(--c-white);
}
.l-step {
    padding: 26px 24px 30px;
    border-right: 2px solid var(--c-white);
    background: var(--c-black);
    position: relative;
    transition: background 0.15s, color 0.15s;
}
.l-step:last-child { border-right: 0; }
.l-step:hover { background: var(--c-red); }
.l-step-num {
    font-family: var(--f-mono);
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--c-red);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--c-white);
}
.l-step:hover .l-step-num { color: var(--c-white); }
.l-step h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 12px;
    color: var(--c-white);
}
.l-step p {
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--c-gray-300);
}
.l-step:hover p { color: var(--c-white); }

@media (max-width: 960px) {
    .l-steps { grid-template-columns: repeat(2, 1fr); }
    .l-step { border-right: 2px solid var(--c-white); border-bottom: 2px solid var(--c-white); }
    .l-step:nth-child(2n) { border-right: 0; }
}
@media (max-width: 560px) {
    .l-steps { grid-template-columns: 1fr; }
    .l-step { border-right: 0 !important; }
}

/* ============================================================
   05 — ROI CALCULATOR
   ============================================================ */
.l-roi {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border: 3px solid var(--c-white);
}
.l-roi-inputs {
    padding: 40px;
    border-right: 2px solid var(--c-white);
    background: var(--c-black);
}
.l-roi-row { margin-bottom: 32px; }
.l-roi-row:last-child { margin-bottom: 0; }
.l-roi-row-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
}
.l-roi-row label {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-gray-400);
}
.l-roi-row .val {
    font-family: var(--f-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--c-red);
    font-variant-numeric: tabular-nums;
}
.l-roi-row input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: var(--c-gray-700);
    outline: none;
    cursor: pointer;
}
.l-roi-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--c-red);
    border: 2px solid var(--c-white);
    cursor: pointer;
}
.l-roi-row input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--c-red);
    border: 2px solid var(--c-white);
    cursor: pointer;
    border-radius: 0;
}
.l-roi-note {
    font-family: var(--f-mono);
    font-size: 11px;
    line-height: 1.6;
    color: var(--c-gray-500);
    padding-top: 20px;
    border-top: 2px solid var(--c-gray-700);
    margin-top: 20px;
}

.l-roi-output {
    background: var(--c-red);
    color: var(--c-white);
    padding: 32px 40px 40px;
}

/* compare — 2 цифры сверху: ваш счёт vs рынок */
.l-roi-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 2px solid var(--c-white);
    margin-bottom: 24px;
}
.l-roi-compare-item {
    padding: 18px 18px 16px;
    border-right: 2px solid var(--c-white);
    background: rgba(0,0,0,0.12);
}
.l-roi-compare-item:last-child { border-right: 0; }
.l-roi-compare-item--strike {
    background: rgba(0,0,0,0.28);
}
.l-roi-compare-item--strike .l-roi-compare-val {
    text-decoration: line-through;
    text-decoration-color: rgba(255,255,255,0.6);
    text-decoration-thickness: 2px;
    opacity: 0.78;
}
.l-roi-compare-lbl {
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 12px;
    line-height: 1.45;
}
.l-roi-compare-val {
    font-family: var(--f-sans);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.l-roi-compare-hint {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.04em;
    line-height: 1.4;
    opacity: 0.7;
}

.l-roi-output-label {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 12px;
}
.l-roi-output-value {
    font-size: clamp(44px, 5.2vw, 68px);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -0.035em;
    margin-bottom: 6px;
}
.l-roi-output-sub {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
    padding-bottom: 28px;
    border-bottom: 2px solid var(--c-white);
    margin-bottom: 24px;
}
.l-roi-breakdown-head {
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 10px;
}
.l-roi-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 2px solid var(--c-white);
}
.l-roi-breakdown-item {
    padding: 16px;
    border-right: 2px solid var(--c-white);
    border-bottom: 2px solid var(--c-white);
}
.l-roi-breakdown-item:nth-child(2n) { border-right: 0; }
.l-roi-breakdown-item:nth-child(n+3) { border-bottom: 0; }
.l-roi-breakdown-item .label {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 6px;
}
.l-roi-breakdown-item .val {
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

@media (max-width: 960px) {
    .l-roi { grid-template-columns: 1fr; }
    .l-roi-inputs { border-right: 0; border-bottom: 2px solid var(--c-white); }
}
@media (max-width: 560px) {
    .l-roi-compare { grid-template-columns: 1fr; }
    .l-roi-compare-item { border-right: 0; border-bottom: 2px solid var(--c-white); }
    .l-roi-compare-item:last-child { border-bottom: 0; }
    .l-roi-output { padding: 24px 20px 28px; }
}

/* ============================================================
   06 — COMPARISON TABLE
   ============================================================ */
.l-cmp-wrap {
    border: 3px solid var(--c-white);
    overflow-x: auto;
}
.l-cmp {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}
.l-cmp thead th {
    background: var(--c-black);
    color: var(--c-white);
    padding: 20px 16px;
    text-align: left;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-right: 2px solid var(--c-white);
    border-bottom: 3px solid var(--c-white);
}
.l-cmp thead th:last-child { border-right: 0; }
.l-cmp thead th.l-cmp-hl {
    background: var(--c-red);
    color: var(--c-white);
}
.l-cmp tbody td {
    padding: 18px 16px;
    border-right: 2px solid var(--c-gray-700);
    border-bottom: 2px solid var(--c-gray-700);
    font-size: 14px;
}
.l-cmp tbody td:first-child {
    font-family: var(--f-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-gray-300);
    font-weight: 500;
    background: var(--c-gray-900);
}
.l-cmp tbody td:last-child { border-right: 0; }
.l-cmp tbody tr:last-child td { border-bottom: 0; }
.l-cmp td.l-cmp-cell-hl {
    background: var(--c-red);
    color: var(--c-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.l-cmp td.l-cmp-no {
    color: var(--c-gray-500);
    text-transform: uppercase;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
}
.l-cmp td.l-cmp-no::before { content: "— "; color: var(--c-gray-500); }
.l-cmp td.l-cmp-partial {
    color: var(--c-gray-400);
    text-transform: uppercase;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.l-cmp-chart {
    margin-top: 48px;
    border: 3px solid var(--c-white);
    background: var(--c-black);
    padding: 32px;
}
.l-cmp-chart h3 {
    font-size: 14px;
    font-family: var(--f-mono);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-gray-300);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--c-white);
}
.l-cmp-chart-box { height: 260px; }

/* ============================================================
   07 — DASHBOARD PREVIEW
   ============================================================ */
.l-dash {
    border: 3px solid var(--c-white);
}
.l-dash-head {
    background: var(--c-black);
    border-bottom: 3px solid var(--c-white);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-gray-300);
}
.l-dash-head .live {
    color: var(--c-red);
}
.l-dash-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 3px solid var(--c-white);
}
.l-kpi {
    padding: 32px 24px;
    border-right: 2px solid var(--c-white);
    background: var(--c-black);
    transition: background 0.15s;
}
.l-kpi:last-child { border-right: 0; }
.l-kpi:hover { background: var(--c-red); }
.l-kpi .label {
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-gray-400);
    margin-bottom: 12px;
}
.l-kpi:hover .label { color: var(--c-white); }
.l-kpi .val {
    font-size: 44px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--c-white);
    margin-bottom: 10px;
}
.l-kpi .delta {
    font-family: var(--f-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-red);
}
.l-kpi:hover .delta { color: var(--c-white); }

.l-dash-charts {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    background: var(--c-black);
}
.l-dash-chart {
    padding: 28px;
    border-right: 2px solid var(--c-white);
}
.l-dash-chart:last-child { border-right: 0; }
.l-dash-chart h4 {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-gray-300);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--c-white);
}
.l-dash-chart-box { height: 200px; }

@media (max-width: 960px) {
    .l-dash-kpis { grid-template-columns: repeat(2, 1fr); }
    .l-kpi:nth-child(1), .l-kpi:nth-child(2) { border-bottom: 2px solid var(--c-white); }
    .l-kpi:nth-child(2) { border-right: 0; }
    .l-dash-charts { grid-template-columns: 1fr; }
    .l-dash-chart { border-right: 0; border-bottom: 2px solid var(--c-white); }
    .l-dash-chart:last-child { border-bottom: 0; }
}

/* ============================================================
   08 — GUARANTEES
   ============================================================ */
.l-guarantees {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 3px solid var(--c-black);
}
.l-guarantees--two {
    grid-template-columns: repeat(2, 1fr);
}
.l-guarantee {
    padding: 36px 28px;
    border-right: 2px solid var(--c-black);
    background: var(--c-white);
    color: var(--c-black);
    transition: background 0.15s, color 0.15s;
}
.l-guarantee:last-child { border-right: 0; }
.l-guarantee:hover {
    background: var(--c-black);
    color: var(--c-white);
}
.l-guarantee .mark {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 4px 10px;
    background: var(--c-red);
    color: var(--c-white);
    margin-bottom: 24px;
}
.l-guarantee h4 {
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 14px;
}
.l-guarantee p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--c-gray-700);
}
.l-guarantee:hover p { color: var(--c-gray-300); }

@media (max-width: 960px) {
    .l-guarantees { grid-template-columns: repeat(2, 1fr); }
    .l-guarantee:nth-child(1), .l-guarantee:nth-child(2) { border-bottom: 2px solid var(--c-black); }
    .l-guarantee:nth-child(2) { border-right: 0; }
}
@media (max-width: 560px) {
    .l-guarantees { grid-template-columns: 1fr; }
    .l-guarantee { border-right: 0 !important; border-bottom: 2px solid var(--c-black); }
    .l-guarantee:last-child { border-bottom: 0; }
}

/* ============================================================
   09 — VOICES
   ============================================================ */
.l-voices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 3px solid var(--c-black);
    background: var(--c-white);
}
.l-voice {
    padding: 36px 28px;
    border-right: 2px solid var(--c-black);
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: var(--c-black);
}
.l-voice:last-child { border-right: 0; }
.l-voice blockquote {
    font-size: 17px;
    line-height: 1.55;
    color: var(--c-black);
    font-style: normal;
    flex: 1;
    padding-left: 20px;
    border-left: 4px solid var(--c-red);
}
.l-voice figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 2px solid var(--c-black);
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.l-voice-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--c-red);
    color: var(--c-white);
    font-family: var(--f-mono);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.l-voice figcaption strong {
    display: block;
    font-size: 12px;
    color: var(--c-black);
    margin-bottom: 2px;
}
.l-voice figcaption span {
    display: block;
    color: var(--c-gray-600);
    font-size: 10px;
}

@media (max-width: 960px) {
    .l-voices { grid-template-columns: 1fr; }
    .l-voice { border-right: 0; border-bottom: 2px solid var(--c-black); }
    .l-voice:last-child { border-bottom: 0; }
}

/* ============================================================
   10 — FAQ
   ============================================================ */
.l-faq {
    max-width: 880px;
    margin: 0 auto;
    border-top: 1px solid var(--c-gray-700);
    border-bottom: 1px solid var(--c-gray-700);
}
.l-faq-item {
    border-bottom: 1px solid var(--c-gray-800);
}
.l-faq-item:last-child { border-bottom: 0; }
.l-faq-item summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 4px 18px;
    cursor: pointer;
    list-style: none;
    font-family: var(--f-display);
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--c-white);
    letter-spacing: -0.005em;
    transition: color 0.15s;
}
.l-faq-item summary::-webkit-details-marker { display: none; }
.l-faq-item summary::after {
    content: "+";
    font-family: var(--f-mono);
    font-size: 22px;
    font-weight: 400;
    color: var(--c-gray-500);
    line-height: 1;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    transition: color 0.15s, transform 0.2s ease;
    transform-origin: center;
}
.l-faq-item[open] summary::after {
    content: "+";
    color: var(--c-red);
    transform: rotate(45deg);
}
.l-faq-item[open] summary { color: var(--c-red); }
.l-faq-item summary:hover { color: var(--c-red); }
.l-faq-item summary:hover::after { color: var(--c-red); }
.l-faq-item p {
    padding: 0 36px 22px 4px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--c-gray-300);
    max-width: 720px;
}

@media (max-width: 720px) {
    .l-faq-item summary { font-size: 14.5px; padding: 16px 2px 14px; gap: 16px; }
    .l-faq-item summary::after { font-size: 20px; }
    .l-faq-item p { font-size: 13.5px; padding: 0 28px 18px 2px; }
}
.l-faq-item p strong { color: var(--c-white); }

/* override for light sections (paper) — чёрный текст вместо белого */
.l-section--paper .l-faq { border-top-color: var(--c-gray-300); border-bottom-color: var(--c-gray-300); }
.l-section--paper .l-faq-item { border-bottom-color: var(--c-gray-300); }
.l-section--paper .l-faq-item summary { color: var(--c-black); }
.l-section--paper .l-faq-item summary::after { color: var(--c-gray-600); }
.l-section--paper .l-faq-item p { color: var(--c-gray-700); }
.l-section--paper .l-faq-item p strong { color: var(--c-black); }

/* ============================================================
   11 — FOUNDER LETTER
   ============================================================ */
.l-letter {
    max-width: 820px;
    margin: 0 auto;
    background: var(--c-white);
    color: var(--c-black);
    padding: 56px 56px 48px;
    border: 4px solid var(--c-black);
    position: relative;
}
.l-letter-head {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: var(--c-red);
    color: var(--c-white);
    padding: 6px 12px;
    margin-bottom: 32px;
}
.l-letter p {
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 18px;
    color: var(--c-ink);
}
.l-letter p em {
    color: var(--c-red);
    font-style: normal;
    font-weight: 600;
}
.l-letter-sign {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 3px solid var(--c-black);
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.l-letter-sign strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--c-black);
}
.l-letter-sign span {
    color: var(--c-gray-600);
}

@media (max-width: 720px) {
    .l-letter { padding: 40px 28px 32px; }
}

/* ============================================================
   12 — CTA
   ============================================================ */
.l-cta {
    text-align: center;
    padding: 80px 40px;
    background: var(--c-red);
    color: var(--c-white);
    border: 4px solid var(--c-white);
}
.l-cta h2 {
    font-size: clamp(32px, 4.6vw, 60px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 24px;
}
.l-cta p {
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.5;
}
.l-cta-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    max-width: 720px;
    margin: 0 auto;
    border: 3px solid var(--c-white);
}
.l-cta-form input {
    flex: 1 1 200px;
    padding: 20px;
    background: var(--c-white);
    color: var(--c-black);
    border: 0;
    border-right: 2px solid var(--c-red);
    font-family: var(--f-display);
    font-size: 14px;
    font-weight: 500;
    outline: none;
}
.l-cta-form input::placeholder {
    color: var(--c-gray-500);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.12em;
}
.l-cta-form input:focus {
    outline: none;
}
.l-cta-form button {
    padding: 20px 32px;
    background: var(--c-black);
    color: var(--c-white);
    border: 0;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}
.l-cta-form button:hover:not(:disabled) {
    background: var(--c-white);
    color: var(--c-red);
}
.l-cta-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.l-cta-note {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 28px;
    opacity: 0.85;
}

@media (max-width: 720px) {
    .l-cta-form { flex-direction: column; }
    .l-cta-form input { border-right: 0; border-bottom: 2px solid var(--c-red); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.l-footer {
    background: var(--c-black);
    color: var(--c-gray-400);
    border-top: 6px solid var(--c-red);
    padding: 40px 0;
}
.l-footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    font-family: var(--f-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.l-footer-links {
    display: flex;
    gap: 24px;
}
.l-footer-links a:hover { color: var(--c-red); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   SUBSCRIPTION PLANS
   ============================================================ */
.l-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--c-gray-700);
    margin-bottom: 36px;
}
.l-plans--4 {
    grid-template-columns: repeat(4, 1fr);
}
.l-plan {
    padding: 28px 24px 28px;
    border-right: 1px solid var(--c-gray-700);
    background: var(--c-black);
    display: flex;
    flex-direction: column;
    position: relative;
}
.l-plan:last-child { border-right: 0; }
.l-plan--featured {
    background: var(--c-gray-900);
    outline: 1px solid var(--c-red);
    outline-offset: -1px;
}
.l-plan-head { margin-bottom: 14px; }
.l-plan-tag {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-red);
    padding: 2px 7px;
    border: 1px solid var(--c-red);
    margin-bottom: 12px;
}
.l-plan-hours {
    font-size: 44px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--c-white);
    font-variant-numeric: tabular-nums;
}
.l-plan-hours span {
    font-size: 18px;
    color: var(--c-gray-500);
    margin-left: 3px;
}
.l-plan-sub {
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-gray-500);
    margin-top: 5px;
}
.l-plan-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--c-white);
    line-height: 1.1;
    padding: 12px 0;
    border-top: 1px solid var(--c-gray-700);
    border-bottom: 1px solid var(--c-gray-800);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.018em;
}
.l-plan-price .rub {
    font-size: 10px;
    font-weight: 500;
    color: var(--c-gray-500);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.l-plan-note {
    font-size: 11.5px;
    color: var(--c-gray-400);
    padding: 14px 0 18px;
    line-height: 1.6;
}
.l-plan-list {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.l-plan-list li {
    font-size: 12.5px;
    color: var(--c-gray-300);
    padding-left: 16px;
    position: relative;
    line-height: 1.65;
}
.l-plan-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--c-red);
    font-weight: 600;
}
.l-plan-badge {
    margin-top: 16px;
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-white);
    background: var(--c-red);
    padding: 5px 9px;
    align-self: flex-start;
}
.l-plan-discount {
    margin-top: 14px;
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--c-gray-400);
    padding-top: 12px;
    border-top: 1px dashed var(--c-gray-800);
    text-align: center;
}
.l-plan-discount--hl {
    color: var(--c-red);
}

/* ============================================================
   BULK DISCOUNT v2 — plakat poster (stamp + ladder + savings)
   ============================================================ */
.l-bulk {
    position: relative;
    margin-top: 48px;
    padding: 32px 32px 26px;
    background: var(--c-black);
    border: 2px solid var(--c-white);
    color: var(--c-white);
    overflow: hidden;
    isolation: isolate;
}
.l-bulk::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(135deg,
            transparent 0 22px,
            rgba(217, 0, 15, 0.04) 22px 23px);
    pointer-events: none;
    z-index: 0;
}
.l-bulk > * { position: relative; z-index: 1; }

.l-bulk-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 14px 28px;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--c-gray-700);
}
.l-bulk-eyebrow {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-red);
}
.l-bulk-eyebrow--mute {
    color: var(--c-gray-400);
    font-weight: 500;
    letter-spacing: 0.14em;
}

.l-bulk-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: stretch;
}

/* === STAMP (left side) === */
.l-bulk-stamp {
    position: relative;
    background: var(--c-red);
    color: var(--c-white);
    padding: 26px 22px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    border: 2px solid var(--c-white);
    transform: rotate(-1.5deg);
    box-sizing: border-box;
}
.l-bulk-stamp::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px dashed rgba(255,255,255,0.35);
    pointer-events: none;
}
.l-bulk-stamp-num {
    font-family: var(--f-sans);
    font-size: clamp(64px, 8vw, 100px);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 0.85;
    color: var(--c-white);
    display: block;
    font-variant-numeric: tabular-nums;
}
.l-bulk-stamp-num .sign {
    font-weight: 500;
    margin-right: 2px;
}
.l-bulk-stamp-num .pct {
    font-size: 0.55em;
    font-weight: 500;
    margin-left: 4px;
    vertical-align: 0.32em;
}
.l-bulk-stamp-cap {
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.95);
    line-height: 1.45;
    margin-top: 14px;
}
.l-bulk-stamp-strip {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.4);
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-white);
    line-height: 1.5;
}

/* === LADDER (right side) === */
.l-bulk-ladder {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--c-gray-700);
}
.l-bulk-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: stretch;
    border-bottom: 1px solid var(--c-gray-700);
    background: var(--c-gray-900);
    transition: background 0.18s ease;
}
.l-bulk-step:last-child { border-bottom: 0; }
.l-bulk-step:hover { background: #181818; }

.l-bulk-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--c-gray-500);
    background: var(--c-black);
    border-right: 1px solid var(--c-gray-700);
}
.l-bulk-step-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 22px 20px;
}
.l-bulk-step-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}
.l-bulk-hours {
    font-family: var(--f-sans);
    font-size: 28px;
    font-weight: 700;
    color: var(--c-white);
    letter-spacing: -0.025em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.l-bulk-hours .u {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--c-gray-500);
    letter-spacing: 0.14em;
    margin-left: 4px;
    text-transform: uppercase;
}
.l-bulk-disc {
    font-family: var(--f-mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--c-gray-400);
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}
.l-bulk-disc--hit {
    color: var(--c-red);
    font-size: 22px;
}

.l-bulk-bar {
    height: 6px;
    background: rgba(255,255,255,0.06);
    overflow: hidden;
}
.l-bulk-bar > span {
    display: block;
    height: 100%;
    width: var(--w);
    background: linear-gradient(90deg, var(--c-gray-600) 0%, var(--c-white) 100%);
    transform-origin: left;
    animation: bulk-bar-grow 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.l-bulk-bar--hit > span {
    background: var(--c-red);
    box-shadow: inset -2px 0 0 #fff;
}
@keyframes bulk-bar-grow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.l-bulk-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.l-bulk-total {
    font-family: var(--f-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--c-white);
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}
.l-bulk-save {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--c-gray-500);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.l-bulk-save--hit {
    color: var(--c-red);
    font-weight: 700;
    letter-spacing: 0.14em;
}

.l-bulk-step--hit {
    background: #1a1010;
    border-left: 3px solid var(--c-red);
    margin-left: -1px;
}
.l-bulk-step--hit .l-bulk-step-num {
    color: var(--c-red);
    background: var(--c-black);
}

.l-bulk-foot {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px dashed var(--c-gray-700);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 12.5px;
    color: var(--c-gray-400);
    line-height: 1.65;
    max-width: 920px;
}
.l-bulk-foot-tick {
    color: var(--c-red);
    font-size: 16px;
    line-height: 1.2;
    flex-shrink: 0;
}
.l-bulk-foot em {
    font-style: normal;
    color: var(--c-white);
    font-weight: 500;
}

@media (max-width: 1240px) {
    .l-plans--4 { grid-template-columns: repeat(2, 1fr); }
    .l-plans--4 .l-plan { border-bottom: 1px solid var(--c-gray-700); }
    .l-plans--4 .l-plan:nth-child(2n) { border-right: 0; }
    .l-plans--4 .l-plan:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 960px) {
    .l-bulk-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .l-bulk-stamp {
        min-height: 0;
        padding: 22px 20px 20px;
        transform: rotate(-1deg);
    }
    .l-bulk-stamp-num { font-size: 96px; }
}
@media (max-width: 720px) {
    .l-plans, .l-plans--4 { grid-template-columns: 1fr; }
    .l-plan { border-right: 0; border-bottom: 1px solid var(--c-gray-700); }
    .l-plan:last-child { border-bottom: 0; }
    .l-bulk { padding: 22px 18px 18px; }
    .l-bulk-head { gap: 8px 18px; }
    .l-bulk-step { grid-template-columns: 44px 1fr; }
    .l-bulk-step-body { padding: 12px 14px 14px; }
    .l-bulk-hours { font-size: 24px; }
}

/* ============================================================
   ARCHITECTURE (industrial focus)
   ============================================================ */
.l-arch {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 2px solid var(--c-black);
    margin-bottom: 40px;
}
.l-arch-item {
    padding: 26px 24px 28px;
    border-right: 2px solid var(--c-black);
    border-bottom: 2px solid var(--c-black);
    background: var(--c-white);
    color: var(--c-black);
}
.l-arch-item:nth-child(3n) { border-right: 0; }
.l-arch-item:nth-last-child(-n+3) { border-bottom: 0; }
.l-arch-item--accent {
    background: var(--c-black);
    color: var(--c-white);
}
.l-arch-item--accent .l-arch-num { color: var(--c-red); }
.l-arch-item--accent h4 { color: var(--c-white); }
.l-arch-item--accent p { color: var(--c-gray-300); }
.l-arch-item--accent strong { color: var(--c-white); font-weight: 700; }
.l-arch-num {
    font-family: var(--f-mono);
    font-size: 34px;
    font-weight: 700;
    color: var(--c-red);
    line-height: 1;
    margin-bottom: 14px;
}
.l-arch-item h4 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    color: var(--c-black);
    margin-bottom: 10px;
}
.l-arch-item p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--c-gray-700);
}

.l-arch-industries {
    border: 2px solid var(--c-black);
    padding: 22px 24px;
    background: var(--c-paper);
}
.l-arch-industries .l-label {
    margin-bottom: 14px;
    color: var(--c-gray-600);
}
.l-arch-industries-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}
.l-arch-industries-list span {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: var(--c-black);
    color: var(--c-white);
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 960px) {
    .l-arch { grid-template-columns: repeat(2, 1fr); }
    .l-arch-item:nth-child(3n) { border-right: 2px solid var(--c-black); }
    .l-arch-item:nth-child(2n) { border-right: 0; }
    .l-arch-item:nth-last-child(-n+3) { border-bottom: 2px solid var(--c-black); }
    .l-arch-item:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 560px) {
    .l-arch { grid-template-columns: 1fr; }
    .l-arch-item { border-right: 0 !important; border-bottom: 2px solid var(--c-black); }
    .l-arch-item:last-child { border-bottom: 0; }
}

/* ============================================================
   STACK / СПЕЦИАЛИЗАЦИИ
   ============================================================ */
.l-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 40px;
    margin-bottom: 28px;
}
.l-stack-group {
    border-top: 1px solid var(--c-gray-300);
    padding-top: 18px;
}
.l-stack-group-title {
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-gray-600);
    margin-bottom: 16px;
}
.l-stack-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
}
.l-stack-list li {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    gap: 1px 12px;
    align-items: start;
}
.l-stack-icon {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--c-white);
    background: var(--c-black);
    user-select: none;
}
.l-stack-icon--1c   { background: #FFD600; color: var(--c-black); }
.l-stack-icon--int  { background: #2A6DF4; color: var(--c-white); }
.l-stack-icon--ai   { background: var(--c-red); color: var(--c-white); }
.l-stack-icon--ind  { background: #1E1E1E; color: var(--c-white); }
.l-stack-icon--qms  { background: #8B5CF6; color: var(--c-white); }
.l-stack-icon--log  { background: #EA580C; color: var(--c-white); }
.l-stack-icon--web  { background: #00A86B; color: var(--c-white); }
.l-stack-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--c-black);
    line-height: 1.2;
}
.l-stack-desc {
    font-size: 11.5px;
    color: var(--c-gray-600);
    line-height: 1.4;
}
.l-stack-note {
    font-size: 13px;
    color: var(--c-gray-700);
    line-height: 1.55;
    border-top: 1px solid var(--c-gray-300);
    padding-top: 18px;
    max-width: 760px;
}

@media (max-width: 1080px) {
    .l-stack { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
    .l-stack-list { grid-template-columns: 1fr; }
}

/* ============================================================
   HERO ANIMATION — production → BI → AI → tasks
   ============================================================ */
.l-hero-anim-wrap {
    background: var(--c-black);
    border: 1px solid var(--c-gray-700);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.l-hero-anim-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--c-gray-700);
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-gray-400);
}
.l-hero-anim-head .live {
    color: var(--c-red);
    font-size: 9px;
    animation: hl-blink 1.6s infinite;
}
.l-hero-anim {
    width: 100%;
    height: auto;
    display: block;
    padding: 12px;
}

/* Caption */
.l-hero-anim .hl-caption {
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    fill: var(--c-gray-500);
}

/* ЦЕХ — машины */
.l-hero-anim .hl-machine rect {
    fill: var(--c-gray-900);
    stroke: var(--c-gray-700);
    stroke-width: 1;
}
.l-hero-anim .hl-machine text {
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 500;
    fill: var(--c-gray-300);
    letter-spacing: 0.04em;
}
.l-hero-anim .hl-dot {
    animation: hl-pulse 1.8s infinite ease-in-out;
}
.l-hero-anim .hl-dot--ok    { fill: #22C55E; }
.l-hero-anim .hl-dot--warn  { fill: #FBBF24; animation-duration: 1.2s; }
.l-hero-anim .hl-dot--alert { fill: var(--c-red); animation-duration: 0.8s; }

@keyframes hl-pulse {
    0%, 100% { opacity: 1; transform: scale(1); transform-origin: center; }
    50%      { opacity: 0.4; transform: scale(1.6); }
}
@keyframes hl-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.3; }
}

/* Flow lines */
.l-hero-anim .hl-flow {
    fill: none;
    stroke: var(--c-red);
    stroke-width: 1.2;
    stroke-dasharray: 4 6;
    stroke-linecap: round;
    opacity: 0.7;
    animation: hl-flow 1.4s linear infinite;
}
@keyframes hl-flow {
    0%   { stroke-dashoffset: 30; }
    100% { stroke-dashoffset: 0; }
}

/* BI block */
.l-hero-anim .hl-bi-frame {
    fill: var(--c-gray-900);
    stroke: var(--c-gray-700);
    stroke-width: 1;
}
.l-hero-anim .hl-bi-label {
    font-family: var(--f-mono);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    fill: var(--c-gray-500);
}
.l-hero-anim .hl-bi-value {
    font-family: var(--f-display);
    font-size: 16px;
    font-weight: 700;
    fill: var(--c-white);
    font-variant-numeric: tabular-nums;
}
.l-hero-anim .hl-bi-alert { fill: var(--c-red); }

.l-hero-anim .hl-bar {
    fill: var(--c-red);
    transform-origin: bottom;
    transform-box: fill-box;
    animation: hl-bar 2s ease-in-out infinite;
}
@keyframes hl-bar {
    0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
    50%      { transform: scaleY(1);   opacity: 1; }
}
.l-hero-anim .hl-donut-bg {
    fill: none;
    stroke: var(--c-gray-700);
    stroke-width: 6;
}
.l-hero-anim .hl-donut-fg {
    fill: none;
    stroke: var(--c-red);
    stroke-width: 6;
    stroke-dasharray: 153 176;
    transform: rotate(-90deg);
    transform-origin: 60px 30px;
    animation: hl-donut 4s ease-in-out infinite;
}
@keyframes hl-donut {
    0%, 100% { stroke-dasharray: 130 176; }
    50%      { stroke-dasharray: 165 176; }
}
.l-hero-anim .hl-donut-text {
    font-family: var(--f-display);
    font-size: 13px;
    font-weight: 700;
    fill: var(--c-white);
    font-variant-numeric: tabular-nums;
}
.l-hero-anim .hl-trend {
    fill: none;
    stroke: var(--c-red);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: hl-trend 3s ease-out infinite;
}
@keyframes hl-trend {
    0%   { stroke-dashoffset: 200; }
    50%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; }
}

/* AI core */
.l-hero-anim .hl-ai-core {
    fill: var(--c-red);
}
.l-hero-anim .hl-ai-text {
    font-family: var(--f-mono);
    font-size: 14px;
    font-weight: 700;
    fill: var(--c-white);
    letter-spacing: 0.05em;
}
.l-hero-anim .hl-ai-pulse {
    fill: none;
    stroke: var(--c-red);
    stroke-width: 1;
    opacity: 0;
    animation: hl-ai-pulse 2.4s ease-out infinite;
}
.l-hero-anim .hl-ai-pulse--1 { animation-delay: 0s; }
.l-hero-anim .hl-ai-pulse--2 { animation-delay: 0.6s; }
.l-hero-anim .hl-ai-pulse--3 { animation-delay: 1.2s; }
@keyframes hl-ai-pulse {
    0%   { opacity: 0.6; transform: scale(0.7); transform-origin: center; transform-box: fill-box; }
    100% { opacity: 0;   transform: scale(1.6); }
}

.l-hero-anim .hl-ai-insight rect {
    fill: var(--c-gray-900);
    stroke: var(--c-gray-700);
    stroke-width: 1;
}
.l-hero-anim .hl-ai-insight text {
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 500;
    fill: var(--c-white);
    letter-spacing: 0.02em;
}
.l-hero-anim .hl-ai-insight {
    opacity: 0;
    animation: hl-fade-in 4s ease-out infinite;
}
.l-hero-anim .hl-ai-insight--2 { animation-delay: 0.4s; }
.l-hero-anim .hl-ai-insight--3 { animation-delay: 0.8s; }
.l-hero-anim .hl-ai-insight--4 { animation-delay: 1.2s; }
@keyframes hl-fade-in {
    0%   { opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { opacity: 0.4; }
}

/* Tasks */
.l-hero-anim .hl-task rect {
    fill: var(--c-gray-900);
    stroke: var(--c-red);
    stroke-width: 1;
}
.l-hero-anim .hl-task text {
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 500;
    fill: var(--c-white);
    letter-spacing: 0.02em;
}
.l-hero-anim .hl-task .hl-task-tag {
    fill: var(--c-red);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
}
.l-hero-anim .hl-task {
    opacity: 0;
    transform: translateX(-8px);
    animation: hl-task-slide 3.6s ease-out infinite;
}
.l-hero-anim .hl-task--2 { animation-delay: 0.5s; }
.l-hero-anim .hl-task--3 { animation-delay: 1.0s; }
@keyframes hl-task-slide {
    0%   { opacity: 0; transform: translateX(-12px); }
    20%  { opacity: 1; transform: translateX(0); }
    80%  { opacity: 1; transform: translateX(0); }
    100% { opacity: 0.6; transform: translateX(0); }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .l-hero-anim *,
    .l-hero-anim *::before,
    .l-hero-anim *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ============================================================
   NAV — расширения: ghost-кнопка, плашка beta, версия
   ============================================================ */
.l-logo {
    flex-wrap: wrap;
    align-items: center;
}
.l-logo-text {
    display: inline-flex;
    align-items: center;
}
.l-logo-meta {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid var(--c-gray-700);
}
.l-logo-beta {
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-red);
    line-height: 1;
}
.l-logo-version {
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-gray-500);
    line-height: 1;
}

.l-nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.l-btn--ghost {
    background: transparent;
    border-color: var(--c-gray-600);
    color: var(--c-white);
}
.l-btn--ghost:hover:not(:disabled) {
    background: var(--c-white);
    color: var(--c-black);
    border-color: var(--c-white);
}

@media (max-width: 1200px) {
    .l-logo-meta { display: none; }
    .l-nav-links a { padding: 0 11px; letter-spacing: 0.08em; }
}
@media (max-width: 1080px) {
    /* На mobile разворачиваем nav в 2 ряда: логотип + CTA сверху,
       ссылки горизонтальным скроллом снизу */
    .l-nav-inner {
        flex-wrap: wrap;
        min-height: auto;
        padding: 12px 16px;
        gap: 10px;
    }
    .l-nav-links {
        display: flex;
        order: 3;
        flex-basis: 100%;
        margin: 0 -16px -12px;
        padding: 0 16px 0;
        overflow-x: auto;
        border-top: 1px solid var(--c-gray-800);
        scrollbar-width: none;
    }
    .l-nav-links::-webkit-scrollbar { display: none; }
    .l-nav-links a {
        padding: 12px 12px;
        border-left: 0;
        font-size: 10px;
        flex-shrink: 0;
        height: auto;
    }
    .l-nav-cta { gap: 6px; }
    .l-nav-cta .l-btn { padding: 8px 12px; font-size: 11px; }
}
@media (max-width: 720px) {
    .l-logo-meta { display: none; }
    .l-logo-text { font-size: 16px; }
}

/* ============================================================
   HERO — выбор роли (двухколонник под лидом)
   ============================================================ */
.l-hero-roles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 2px solid var(--c-white);
    margin-bottom: 36px;
}
.l-hero-role {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 22px 20px 30px;
    border-right: 2px solid var(--c-white);
    color: var(--c-white);
    background: var(--c-black);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.l-hero-role:last-child { border-right: 0; }
.l-hero-role::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: background 0.15s;
}
.l-hero-role--active::before { background: var(--c-red); }
.l-hero-role:hover {
    background: var(--c-red);
    color: var(--c-white);
}
.l-hero-role:hover::before { background: var(--c-white); }
.l-hero-role-num {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--c-red);
    line-height: 1;
}
.l-hero-role:hover .l-hero-role-num { color: var(--c-white); }
.l-hero-role--active .l-hero-role-num { color: var(--c-red); }
.l-hero-role-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.l-hero-role-sub {
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-gray-400);
    line-height: 1.3;
}
.l-hero-role:hover .l-hero-role-sub { color: var(--c-white); }

@media (max-width: 560px) {
    .l-hero-roles { grid-template-columns: 1fr; }
    .l-hero-role { border-right: 0; border-bottom: 2px solid var(--c-white); }
    .l-hero-role:last-child { border-bottom: 0; }
}

/* ============================================================
   START / ONBOARDING — два пути (заказчик / команда)
   ============================================================ */
.l-paths {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 3px solid var(--c-black);
    margin-bottom: 28px;
}
.l-path {
    padding: 32px 28px 32px;
    background: var(--c-white);
    color: var(--c-black);
    border-right: 2px solid var(--c-black);
    display: flex;
    flex-direction: column;
    transition: background 0.2s;
}
.l-path:last-child { border-right: 0; }
.l-path[data-role-target="customer"].l-path--active {
    background: var(--c-paper);
    box-shadow: inset 4px 0 0 var(--c-red);
}
.l-path[data-role-target="team"].l-path--active {
    background: var(--c-paper);
    box-shadow: inset 4px 0 0 var(--c-red);
}
.l-path-tag {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-white);
    background: var(--c-red);
    padding: 5px 10px;
    margin-bottom: 18px;
    align-self: flex-start;
}
.l-path h3 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--c-black);
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 3px solid var(--c-black);
}
.l-path-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}
.l-path-steps li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    align-items: start;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--c-gray-300);
}
.l-path-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.l-path-steps .num {
    font-family: var(--f-mono);
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    color: var(--c-red);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.l-path-steps li > div {
    font-size: 14px;
    line-height: 1.5;
    color: var(--c-gray-700);
}
.l-path-steps li b {
    color: var(--c-black);
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}
.l-path .l-btn {
    align-self: flex-start;
    border-color: var(--c-black);
    color: var(--c-black);
}
.l-path .l-btn:hover:not(:disabled) {
    background: var(--c-black);
    color: var(--c-white);
}
.l-path .l-btn--red {
    background: var(--c-red);
    color: var(--c-white);
    border-color: var(--c-red);
}
.l-path .l-btn--red:hover:not(:disabled) {
    background: var(--c-black);
    color: var(--c-white);
    border-color: var(--c-black);
}

.l-paths-note {
    font-family: var(--f-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-gray-700);
    text-align: center;
    padding: 16px 20px;
    border: 2px solid var(--c-black);
    background: var(--c-paper);
}

@media (max-width: 960px) {
    .l-paths { grid-template-columns: 1fr; }
    .l-path { border-right: 0; border-bottom: 2px solid var(--c-black); }
    .l-path:last-child { border-bottom: 0; }
}

/* ============================================================
   FOOTER 4-COL
   ============================================================ */
.l-footer--4col {
    background: var(--c-black);
    color: var(--c-gray-400);
    border-top: 6px solid var(--c-red);
    padding: 56px 0 28px;
}
.l-footer--4col .l-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 2px solid var(--c-gray-800);
}
.l-footer--4col .l-footer-title {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-white);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--c-red);
    display: inline-block;
}
.l-footer--4col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.l-footer--4col li a {
    font-size: 13px;
    color: var(--c-gray-300);
    transition: color 0.12s;
    text-decoration: none;
}
.l-footer--4col li a:hover { color: var(--c-red); }
.l-footer--4col li a[data-stub] {
    color: var(--c-gray-500);
    font-style: italic;
}
.l-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    font-family: var(--f-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-gray-500);
}

@media (max-width: 960px) {
    .l-footer--4col .l-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .l-footer--4col .l-footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   HERO ROLE → подсветка соответствующей колонки в START
   ============================================================ */
[data-role-active="customer"] .l-path[data-role-target="customer"],
[data-role-active="team"] .l-path[data-role-target="team"] {
    background: var(--c-paper);
    box-shadow: inset 4px 0 0 var(--c-red);
}

/* ============================================================
   FOOTER v2 — plakatnyi constructivism
   ============================================================ */
.l-footer.l-footer--v2 {
    background: var(--c-black);
    color: var(--c-white);
    border-top: 0;
    padding: 0;
    position: relative;
}
.l-footer.l-footer--v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--c-red);
    opacity: 0.6;
}
.l-footer-v2-hero {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--c-gray-800);
    overflow: hidden;
}
.l-footer-v2-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 1fr);
    gap: 72px;
    align-items: start;
}
.l-footer-v2-wordmark {
    display: block;
    font-family: var(--f-display);
    font-weight: 700;
    line-height: 0.82;
    letter-spacing: -0.045em;
    color: var(--c-white);
    user-select: none;
    pointer-events: none;
    transform: translateX(-6px);
}
.l-footer-v2-wordmark-line {
    display: block;
    font-size: clamp(48px, 10vw, 140px);
}
.l-footer-v2-wordmark-line--1 { color: var(--c-white); }
.l-footer-v2-wordmark-line--2 {
    color: var(--c-red);
    padding-left: 1.2em;
    position: relative;
}
.l-footer-v2-wordmark-line--2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 1em;
    height: 0.12em;
    background: var(--c-red);
}
.l-footer-v2-manifest {
    padding-top: 8px;
    border-left: 3px solid var(--c-red);
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.l-footer-v2-manifest-tag {
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-red);
}
.l-footer-v2-manifest p {
    font-family: var(--f-display);
    font-size: clamp(15px, 1.3vw, 18px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--c-white);
    max-width: 320px;
}
.l-footer-v2-manifest p em {
    font-style: normal;
    color: var(--c-red);
}
.l-footer-v2-cta {
    align-self: flex-start;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-white);
    text-decoration: none;
    padding: 10px 16px 10px 0;
    border-bottom: 1px solid var(--c-white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s, border-color 0.2s, gap 0.2s;
}
.l-footer-v2-cta span { color: var(--c-red); transition: transform 0.2s; }
.l-footer-v2-cta:hover {
    color: var(--c-red);
    border-color: var(--c-red);
    gap: 16px;
}
.l-footer-v2-cta:hover span { transform: translateX(3px); }
.l-footer-v2-rail {
    padding: 56px 0;
    border-bottom: 1px solid var(--c-gray-800);
    position: relative;
}
.l-footer-v2-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(260px, 1.4fr);
    gap: 40px;
    position: relative;
}
.l-footer-v2-grid::before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: 32px;
    height: 1px;
    background: var(--c-gray-800);
    pointer-events: none;
}
.l-footer-v2-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}
.l-footer-v2-title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-white);
    padding-bottom: 14px;
    margin-bottom: 4px;
    min-height: 32px;
}
.l-footer-v2-title .num {
    color: var(--c-red);
    font-variant-numeric: tabular-nums;
}
.l-footer-v2-col ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.l-footer-v2-col li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-display);
    font-size: 13.5px;
    font-weight: 400;
    color: var(--c-gray-300);
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.15s, padding 0.15s;
}
.l-footer-v2-col li a::before {
    content: '—';
    font-family: var(--f-mono);
    color: var(--c-gray-700);
    font-weight: 500;
    flex-shrink: 0;
    transition: color 0.15s;
}
.l-footer-v2-col li a:hover { color: var(--c-white); padding-left: 4px; }
.l-footer-v2-col li a:hover::before { color: var(--c-red); }
.l-footer-v2-col li a[data-stub] {
    color: var(--c-gray-500);
    cursor: not-allowed;
    pointer-events: none;
}
.l-footer-v2-col li a[data-stub]::after {
    content: 'скоро';
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-gray-600);
    padding: 2px 6px;
    border: 1px solid var(--c-gray-700);
    margin-left: 4px;
}
.l-footer-v2-col--news { gap: 18px; }
.l-footer-v2-contacts { display: flex; flex-direction: column; gap: 8px; }
.l-footer-v2-link-mono {
    display: inline-flex;
    align-items: center;
    font-family: var(--f-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--c-white);
    text-decoration: none;
    border-bottom: 1px dashed var(--c-gray-700);
    padding-bottom: 4px;
    width: max-content;
    transition: color 0.15s, border-color 0.15s;
}
.l-footer-v2-link-mono:hover {
    color: var(--c-red);
    border-bottom-color: var(--c-red);
    border-bottom-style: solid;
}
.l-footer-v2-news {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
    padding: 18px;
    background: var(--c-gray-900);
    border: 1px solid var(--c-gray-800);
    position: relative;
}
.l-footer-v2-news::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 3px;
    background: var(--c-red);
}
.l-footer-v2-news-label {
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-gray-400);
}
.l-footer-v2-news-row {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--c-gray-700);
}
.l-footer-v2-news-row:focus-within { border-color: var(--c-red); }
.l-footer-v2-news-row input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--c-white);
    background: transparent;
    border: 0;
    outline: 0;
}
.l-footer-v2-news-row input::placeholder { color: var(--c-gray-600); }
.l-footer-v2-news-row button {
    padding: 10px 14px;
    font-family: var(--f-mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--c-white);
    background: var(--c-red);
    border: 0;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    min-width: 52px;
}
.l-footer-v2-news-row button:hover:not(:disabled) {
    background: var(--c-white);
    color: var(--c-red);
}
.l-footer-v2-news-row button:disabled {
    background: var(--c-gray-700);
    color: var(--c-gray-400);
    cursor: wait;
}
.l-footer-v2-news-hint {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    color: var(--c-gray-500);
    line-height: 1.4;
}
.l-footer-v2-band { background: var(--c-black); padding: 20px 0 24px; }
.l-footer-v2-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.l-footer-v2-band-left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--c-gray-500);
}
.l-footer-v2-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--c-red);
    color: var(--c-white);
    font-family: var(--f-mono);
    font-weight: 700;
    font-size: 14px;
    position: relative;
    flex-shrink: 0;
}
.l-footer-v2-mark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--c-white);
}
.l-footer-v2-band-copy { color: var(--c-gray-400); }
.l-footer-v2-band-meta {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    flex-wrap: wrap;
}
.l-footer-v2-band-meta li {
    display: inline-flex;
    gap: 6px;
    padding: 0 14px;
    border-right: 1px solid var(--c-gray-800);
    color: var(--c-gray-500);
    line-height: 1;
    white-space: nowrap;
}
.l-footer-v2-band-meta li:last-child { border-right: 0; padding-right: 0; }
.l-footer-v2-band-meta li:first-child { padding-left: 0; }
.l-footer-v2-band-meta .lbl { color: var(--c-gray-700); }
.l-footer-v2-band-meta .val { color: var(--c-gray-300); font-weight: 600; }
@media (max-width: 1200px) {
    .l-footer-v2-grid { grid-template-columns: repeat(3, 1fr); }
    .l-footer-v2-col--news {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 24px;
        padding-top: 24px;
        margin-top: 16px;
        border-top: 1px solid var(--c-gray-800);
    }
    .l-footer-v2-col--news .l-footer-v2-title,
    .l-footer-v2-col--news .l-footer-v2-contacts { flex-basis: 240px; }
    .l-footer-v2-col--news .l-footer-v2-news { flex: 1; min-width: 280px; margin-top: 0; }
}
@media (max-width: 900px) {
    .l-footer-v2-hero { padding: 48px 0 40px; }
    .l-footer-v2-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .l-footer-v2-wordmark { transform: none; }
    .l-footer-v2-manifest { padding-left: 18px; }
    .l-footer-v2-rail { padding: 40px 0; }
    .l-footer-v2-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
    .l-footer-v2-grid::before { display: none; }
}
@media (max-width: 560px) {
    .l-footer-v2-grid { grid-template-columns: 1fr; gap: 28px; }
    .l-footer-v2-col--news { flex-direction: column; }
    .l-footer-v2-col--news .l-footer-v2-news { min-width: 0; width: 100%; }
    .l-footer-v2-band-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
    .l-footer-v2-band-meta { font-size: 9px; }
    .l-footer-v2-band-meta li { padding: 0 8px; }
}

/* ============================================================
   AI-АГЕНТЫ — pipeline + 10 use cases + promises
   ============================================================ */
.l-agents {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.l-agents-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(217,0,15,0.07) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(217,0,15,0.05) 0%, transparent 35%),
        repeating-linear-gradient(0deg,
            transparent 0 36px,
            rgba(255,255,255,0.018) 36px 37px),
        repeating-linear-gradient(90deg,
            transparent 0 36px,
            rgba(255,255,255,0.018) 36px 37px);
}
.l-agents > .l-container { position: relative; z-index: 1; }

/* === PIPELINE === */
.l-agents-pipe {
    margin: 32px 0 56px;
    padding: 24px 26px 22px;
    border: 2px solid var(--c-white);
    background: linear-gradient(180deg, #0c0c0c 0%, var(--c-black) 100%);
    position: relative;
    overflow: hidden;
}
.l-agents-pipe::before {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-red), transparent);
    animation: agents-scan 4.5s linear infinite;
    z-index: 3;
}
@keyframes agents-scan {
    0%   { left: -40%; }
    100% { left: 100%; }
}
.l-agents-pipe-head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    align-items: baseline;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--c-gray-700);
}
.l-agents-pipe-eyebrow {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-red);
}
.l-agents-pipe-eyebrow--mute {
    color: var(--c-gray-400);
    font-weight: 500;
    letter-spacing: 0.14em;
}

.l-agents-pipe-track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    /* 5 шагов: 4 обычных + 1 финальный (span 2) = 6fr total */
    grid-template-columns: 1fr 1fr 1fr 1fr 2fr;
    gap: 0;
    border: 1px solid var(--c-gray-700);
}
.l-agents-pipe-step {
    padding: 20px 18px 22px;
    border-right: 1px solid var(--c-gray-700);
    background: var(--c-gray-900);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 180px;
    transition: background 0.22s ease;
    overflow: hidden;
    isolation: isolate;
}
.l-agents-pipe-step:last-child { border-right: 0; }

/* === Фоновая визуализация в каждом шаге === */
.l-agents-pipe-viz {
    position: absolute;
    right: -12px;
    top: -8px;
    width: 110px;
    height: 110px;
    color: var(--c-white);
    opacity: 0.14;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.l-agents-pipe-viz svg {
    width: 100%;
    height: 100%;
    display: block;
}
.l-agents-pipe-step:hover .l-agents-pipe-viz {
    opacity: 0.32;
    transform: scale(1.05) rotate(-2deg);
}
.l-agents-pipe-step > :not(.l-agents-pipe-viz):not(.l-agents-pipe-step-ribbon) {
    position: relative;
    z-index: 1;
}

/* === Обычные шаги — hover === */
.l-agents-pipe-step:hover {
    background: #161616;
}

/* === Финальный шаг «Действие агента» — красный акцент === */
.l-agents-pipe-step--final {
    background: linear-gradient(135deg, #1a0505 0%, #280808 55%, #1a0505 100%);
    border-left: 3px solid var(--c-red);
    margin-left: -1px;
    padding: 24px 22px 26px;
    color: var(--c-white);
}
.l-agents-pipe-step--final .l-agents-pipe-viz {
    color: var(--c-red);
    opacity: 0.35;
    right: -6px;
    top: -4px;
    width: 140px;
    height: 140px;
}
.l-agents-pipe-step--final:hover .l-agents-pipe-viz {
    opacity: 0.55;
}
.l-agents-pipe-step--final:hover {
    background: linear-gradient(135deg, #1f0707 0%, #2e0a0a 55%, #1f0707 100%);
}
.l-agents-pipe-step--final .l-agents-pipe-name {
    color: var(--c-red);
    font-size: 20px;
    letter-spacing: -0.02em;
}
.l-agents-pipe-step--final .l-agents-pipe-num { color: var(--c-red); }
.l-agents-pipe-step--final .l-agents-pipe-tech { color: var(--c-gray-300); }

/* Ribbon «FINAL» в углу */
.l-agents-pipe-step-ribbon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 4px 9px;
    background: var(--c-red);
    color: var(--c-white);
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.22em;
}
.l-agents-pipe-step-cta {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px dashed rgba(217, 0, 15, 0.5);
    font-family: var(--f-mono);
    font-size: 10.5px;
    color: var(--c-red);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}
/* arrow between steps */
.l-agents-pipe-step:not(:last-child)::after {
    content: "▶";
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-red);
    font-size: 11px;
    z-index: 2;
    background: var(--c-black);
    padding: 0 2px;
    line-height: 1;
    animation: agents-arrow 2.2s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}
@keyframes agents-arrow {
    0%, 100% { opacity: 0.25; transform: translateY(-50%) translateX(0); }
    50%      { opacity: 1;    transform: translateY(-50%) translateX(3px); }
}

.l-agents-pipe-num {
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--c-gray-500);
}
.l-agents-pipe-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-white);
    line-height: 1.2;
}
/* legacy: оставлено для совместимости, если где-то используется --out */
.l-agents-pipe-step--out .l-agents-pipe-name { color: var(--c-red); }
.l-agents-pipe-tech {
    font-family: var(--f-mono);
    font-size: 10.5px;
    color: var(--c-gray-400);
    line-height: 1.4;
    margin-top: auto;
}

/* === 10 USE-CASE GRID === */
.l-agents-cases {
    margin-bottom: 48px;
}
.l-agents-cases-head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    align-items: baseline;
    margin-bottom: 18px;
}
.l-agents-cases-eyebrow {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-red);
}
.l-agents-cases-eyebrow--mute {
    color: var(--c-gray-400);
    font-weight: 500;
    letter-spacing: 0.14em;
}

.l-agents-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border: 1px solid var(--c-gray-700);
}
.l-agent-card {
    padding: 26px 22px 22px;
    border-right: 1px solid var(--c-gray-700);
    border-bottom: 1px solid var(--c-gray-700);
    background: var(--c-gray-900);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: background 0.22s ease;
    opacity: 0;
    transform: translateY(14px);
    animation: agents-card-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: calc(var(--i, 1) * 60ms);
}
@keyframes agents-card-in {
    to { opacity: 1; transform: translateY(0); }
}
.l-agent-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 2px;
    background: var(--c-red);
    transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.l-agent-card::after {
    content: "";
    position: absolute;
    bottom: 0; right: 0;
    width: 16px;
    height: 16px;
    background: var(--c-gray-800);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    transition: background 0.22s ease;
}
.l-agent-card:hover {
    background: #181818;
}
.l-agent-card:hover::before { width: 100%; }
.l-agent-card:hover::after { background: var(--c-red); }
.l-agent-card:nth-child(5n) { border-right: 0; }
.l-agent-card:nth-child(n+6) { border-bottom: 0; }

.l-agent-card-num {
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--c-red);
}
.l-agent-card-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-white);
    margin: 0;
    letter-spacing: -0.015em;
    line-height: 1.2;
}
.l-agent-card-desc {
    font-size: 12.5px;
    color: var(--c-gray-400);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}
.l-agent-card-kpi {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px dashed var(--c-gray-700);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.l-agent-card-kpi .lbl {
    font-family: var(--f-mono);
    font-size: 9.5px;
    color: var(--c-gray-500);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.l-agent-card-kpi .val {
    font-family: var(--f-mono);
    font-size: 13.5px;
    color: var(--c-red);
    font-weight: 700;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

/* === PROMISES === */
.l-agents-promise {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 2px solid var(--c-white);
    background: var(--c-black);
    margin-bottom: 32px;
}
.l-agents-promise-cell {
    padding: 24px 20px 22px;
    border-right: 1px solid var(--c-gray-700);
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
}
.l-agents-promise-cell::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 1px;
    background: var(--c-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.l-agents-promise-cell:hover::before { transform: scaleX(1); }
.l-agents-promise-cell:last-child { border-right: 0; }
.l-agents-promise-num {
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 700;
    color: var(--c-white);
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: baseline;
}
.l-agents-promise-num .u {
    font-family: var(--f-mono);
    font-size: clamp(11px, 1.3vw, 14px);
    color: var(--c-red);
    letter-spacing: 0.06em;
    margin-left: 5px;
    font-weight: 700;
    text-transform: uppercase;
}
.l-agents-promise-cap {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--c-gray-400);
    letter-spacing: 0.06em;
    line-height: 1.5;
}

/* === CTA === */
.l-agents-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 28px;
    background: var(--c-red);
    color: var(--c-white);
    font-family: var(--f-sans);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    text-decoration: none;
    border: 2px solid var(--c-red);
    transition: background 0.22s, border-color 0.22s, transform 0.22s;
}
.l-agents-cta:hover {
    background: var(--c-black);
    border-color: var(--c-white);
    transform: translateX(4px);
}
.l-agents-cta span {
    display: inline-block;
    transition: transform 0.22s;
    font-family: var(--f-mono);
}
.l-agents-cta:hover span { transform: translateX(6px); }

/* === RESPONSIVE === */
@media (max-width: 1240px) {
    .l-agents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .l-agent-card:nth-child(5n) { border-right: 1px solid var(--c-gray-700); }
    .l-agent-card:nth-child(n+6) { border-bottom: 1px solid var(--c-gray-700); }
    .l-agent-card:nth-child(2n) { border-right: 0; }
    .l-agent-card:nth-last-child(-n+1) { border-bottom: 0; }

    .l-agents-pipe-track { grid-template-columns: repeat(2, 1fr); }
    .l-agents-pipe-step { border-right: 1px solid var(--c-gray-700); border-bottom: 1px solid var(--c-gray-700); }
    .l-agents-pipe-step:nth-child(2n) { border-right: 0; }
    .l-agents-pipe-step:nth-child(-n+3) { border-bottom: 1px solid var(--c-gray-700); }
    .l-agents-pipe-step:nth-child(3n)::after { display: none; }
    .l-agents-pipe-step--final { grid-column: span 2; border-right: 0; }
}
@media (max-width: 720px) {
    .l-agents-grid { grid-template-columns: 1fr; }
    .l-agent-card { border-right: 0; border-bottom: 1px solid var(--c-gray-700); }
    .l-agent-card:last-child { border-bottom: 0; }

    .l-agents-pipe-track { grid-template-columns: 1fr; }
    .l-agents-pipe-step {
        border-right: 0;
        border-bottom: 1px solid var(--c-gray-700);
        min-height: 0;
    }
    .l-agents-pipe-step:last-child { border-bottom: 0; }
    .l-agents-pipe-step:not(:last-child)::after {
        content: "▼";
        right: 50%;
        top: auto;
        bottom: -7px;
        transform: translateX(50%);
        animation-name: agents-arrow-v;
    }
    @keyframes agents-arrow-v {
        0%, 100% { opacity: 0.25; transform: translateX(50%) translateY(0); }
        50%      { opacity: 1;    transform: translateX(50%) translateY(3px); }
    }

    .l-agents-promise { grid-template-columns: repeat(2, 1fr); }
    .l-agents-promise-cell:nth-child(2n) { border-right: 0; }
    .l-agents-promise-cell:nth-child(-n+2) { border-bottom: 1px solid var(--c-gray-700); }

    .l-agents-pipe { padding: 18px 16px 16px; }
    .l-agents-cta { padding: 16px 22px; font-size: 13px; }
}

/* ============================================================
   PAPER-SECTION OVERRIDES — полный пакет для чередования фонов
   (CH-2026-04-20-012 стартовый + CH-2026-04-20-013 полный пакет)
   Принцип: не трогаем базовые (тёмные) стили компонентов — перекрываем
   их ТОЛЬКО когда родитель .l-section--paper. На чёрных секциях
   компоненты остаются как были.
   ============================================================ */

/* fallback для --c-gray-100 если не определён в основной палитре */
:root { --c-gray-100: #F0F0F2; }

/* --- PLAN CTA-кнопки (CH-016): кнопка в каждом тарифе --- */
.l-plan-cta {
    display: block;
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    padding: 12px 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
}
/* На чёрной секции plans (не после CH-013, но оставим на будущее) — дефолт */
.l-plan-cta:not(.l-btn--red) {
    background: transparent;
    border: 2px solid var(--c-white);
    color: var(--c-white);
}
.l-plan-cta:not(.l-btn--red):hover { background: var(--c-white); color: var(--c-black); }
/* На paper-секции plans (текущий фон после CH-013): инверсия */
.l-section--paper .l-plan-cta:not(.l-btn--red) {
    border-color: var(--c-black);
    color: var(--c-black);
}
.l-section--paper .l-plan-cta:not(.l-btn--red):hover {
    background: var(--c-black);
    color: var(--c-white);
}

/* letter: лёгкая тень-приземление, чтобы белая карточка с чёрной рамкой
   не сливалась с paper-фоном секции */
.l-section--paper .l-letter {
    box-shadow: 0 2px 0 var(--c-ink);
}

/* --- problem-card: инверсия цветов на paper --- */
.l-section--paper .l-problem-card {
    background: var(--c-white);
    border-right-color: var(--c-gray-300);
}
.l-section--paper .l-problem-card:last-child { border-right: 0; }
.l-section--paper .l-problem-card .num { color: var(--c-gray-500); }
.l-section--paper .l-problem-card .figure { color: var(--c-black); }
.l-section--paper .l-problem-card .caption { color: var(--c-gray-700); }
.l-section--paper .l-problem-card:hover { background: var(--c-red); color: var(--c-white); }
.l-section--paper .l-problem-card:hover .num,
.l-section--paper .l-problem-card:hover .figure,
.l-section--paper .l-problem-card:hover .caption { color: var(--c-white); }

/* --- l-steps: без чёрных фонов, grayscale-набор --- */
.l-section--paper .l-steps { border-color: var(--c-gray-300); }
.l-section--paper .l-step { border-right-color: var(--c-gray-300); }
.l-section--paper .l-step:last-child { border-right: 0; }
.l-section--paper .l-step h3 { color: var(--c-black); }
.l-section--paper .l-step p { color: var(--c-gray-700); }
.l-section--paper .l-step-num { color: var(--c-gray-400); }
/* hover — красный фон + белый текст уже корректный, не трогаем */

/* --- l-plans: подписочные карточки на белом --- */
.l-section--paper .l-plans { border-color: var(--c-gray-300); }
.l-section--paper .l-plan {
    background: var(--c-white);
    border-right-color: var(--c-gray-300);
}
/* .l-plan--featured на paper — правило задано выше (чёрный остров) */
.l-section--paper .l-plan-hours,
.l-section--paper .l-plan-price { color: var(--c-black); }
.l-section--paper .l-plan-price {
    border-top-color: var(--c-gray-300);
    border-bottom-color: var(--c-gray-200);
}
.l-section--paper .l-plan-sub,
.l-section--paper .l-plan-hours span,
.l-section--paper .l-plan-price .rub { color: var(--c-gray-600); }
.l-section--paper .l-plan-note,
.l-section--paper .l-plan-list li { color: var(--c-gray-700); }

/* --- l-roi: калькулятор на белом --- */
.l-section--paper .l-roi { border-color: var(--c-gray-300); }
.l-section--paper .l-roi-inputs {
    background: var(--c-white);
    border-right-color: var(--c-gray-300);
}
.l-section--paper .l-roi-row input[type="range"] { background: var(--c-gray-300); }
.l-section--paper .l-roi-row input[type="range"]::-webkit-slider-thumb { border-color: var(--c-black); }
.l-section--paper .l-roi-row input[type="range"]::-moz-range-thumb { border-color: var(--c-black); }
.l-section--paper .l-roi-note { border-top-color: var(--c-gray-300); }
.l-section--paper .l-roi-row label,
.l-section--paper .l-roi-row .val,
.l-section--paper .l-roi-output-value { color: var(--c-black); }
.l-section--paper .l-roi-note,
.l-section--paper .l-roi-output-label,
.l-section--paper .l-roi-output-sub { color: var(--c-gray-600); }
.l-section--paper .l-roi-compare-item { border-right-color: var(--c-gray-300); }
.l-section--paper .l-roi-compare-item--strike .l-roi-compare-val { color: var(--c-gray-500); }
.l-section--paper .l-roi-compare-lbl { color: var(--c-gray-600); }
.l-section--paper .l-roi-compare-val,
.l-section--paper .l-roi-breakdown-head { color: var(--c-black); }
.l-section--paper .l-roi-compare-hint { color: var(--c-gray-600); }
.l-section--paper .l-roi-breakdown { border-color: var(--c-gray-300); }
.l-section--paper .l-roi-breakdown-item {
    border-right-color: var(--c-gray-300);
    border-bottom-color: var(--c-gray-300);
    color: var(--c-black);
}
.l-section--paper .l-roi-breakdown-item .label { color: var(--c-gray-600); }

/* --- l-cmp: thead остаётся чёрной, tbody — светлый с серыми разделителями --- */
.l-section--paper .l-cmp-wrap { border-color: var(--c-black); }
.l-section--paper .l-cmp thead th {
    border-right-color: var(--c-gray-200);
    border-bottom-color: var(--c-black);
}
.l-section--paper .l-cmp tbody td {
    border-right-color: var(--c-gray-200);
    border-bottom-color: var(--c-gray-200);
    color: var(--c-black);
}
.l-section--paper .l-cmp tbody td:first-child {
    background: var(--c-gray-100);
    color: var(--c-gray-700);
}
.l-section--paper .l-cmp td.l-cmp-no,
.l-section--paper .l-cmp td.l-cmp-partial { color: var(--c-gray-500); }
.l-section--paper .l-cmp-chart h3 { color: var(--c-black); }

/* --- l-dash: дашборд-превью на белом --- */
.l-section--paper .l-dash { border-color: var(--c-black); }
.l-section--paper .l-dash-head {
    background: var(--c-gray-100);
    color: var(--c-black);
    border-bottom-color: var(--c-black);
}
.l-section--paper .l-dash-kpis { border-bottom-color: var(--c-gray-300); }
.l-section--paper .l-dash-charts { background: var(--c-white); }
.l-section--paper .l-kpi {
    border-right-color: var(--c-gray-200);
    border-bottom-color: var(--c-gray-200);
}
.l-section--paper .l-kpi .label { color: var(--c-gray-600); }
.l-section--paper .l-kpi .value { color: var(--c-black); }
.l-section--paper .l-dash-chart { border-right-color: var(--c-gray-200); border-bottom-color: var(--c-gray-200); }
.l-section--paper .l-dash-chart h4 { color: var(--c-gray-700); border-bottom-color: var(--c-gray-300); }

/* ============================================================
   ПОСЛЕДНИЙ СЛОЙ: FEATURED-ПЛАН = «чёрный остров» на paper (CH-016)
   Должен идти В САМОМ КОНЦЕ файла — после всех .l-plan override'ов,
   чтобы гарантированно перекрыть .l-section--paper .l-plan { bg: white }
   (одинаковая специфичность, последнее правило побеждает).
   ============================================================ */
.l-section--paper .l-plan--featured {
    background: var(--c-black);
    color: var(--c-white);
}
.l-section--paper .l-plan--featured .l-plan-hours,
.l-section--paper .l-plan--featured .l-plan-price { color: var(--c-white); }
.l-section--paper .l-plan--featured .l-plan-price {
    border-top-color: var(--c-gray-700);
    border-bottom-color: var(--c-gray-800);
}
.l-section--paper .l-plan--featured .l-plan-sub,
.l-section--paper .l-plan--featured .l-plan-hours span,
.l-section--paper .l-plan--featured .l-plan-price .rub { color: var(--c-gray-400); }
.l-section--paper .l-plan--featured .l-plan-note,
.l-section--paper .l-plan--featured .l-plan-list li { color: var(--c-gray-300); }
.l-section--paper .l-plan--featured .l-plan-tag {
    background: var(--c-red);
    color: var(--c-white);
    border-color: var(--c-red);
}
.l-section--paper .l-plan--featured .l-plan-cta {
    background: var(--c-red);
    color: var(--c-white);
    border-color: var(--c-red);
}
.l-section--paper .l-plan--featured .l-plan-cta:hover {
    background: var(--c-white);
    color: var(--c-red);
}

/* ============================================================
   ROLE MULTIPLIERS · наценочный коэффициент к пакету часов
   ============================================================ */
.l-roles {
    margin-top: 40px;
    padding: 32px 32px 26px;
    background: var(--c-paper);
    border: 2px solid var(--c-black);
    color: var(--c-black);
    position: relative;
}
.l-roles-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 14px 28px;
    padding-bottom: 20px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--c-gray-300);
}
.l-roles-eyebrow {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-red);
}
.l-roles-eyebrow--mute {
    color: var(--c-gray-600);
    font-weight: 500;
    letter-spacing: 0.14em;
}
.l-roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--c-black);
}
.l-roles-card {
    padding: 28px 26px 24px;
    border-right: 1px solid var(--c-black);
    background: var(--c-white);
    position: relative;
    display: flex;
    flex-direction: column;
}
.l-roles-card:last-child { border-right: 0; }
.l-roles-card--lead { background: #efece5; }
.l-roles-card--arch {
    background: var(--c-black);
    color: var(--c-white);
    position: relative;
    overflow: hidden;
}
.l-roles-card--arch::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(135deg,
            transparent 0 22px,
            rgba(217, 0, 15, 0.08) 22px 23px);
    pointer-events: none;
    z-index: 0;
}
.l-roles-card--arch > * { position: relative; z-index: 1; }
.l-roles-mult {
    font-family: var(--f-sans);
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.92;
    color: var(--c-black);
    font-variant-numeric: tabular-nums;
}
.l-roles-card--arch .l-roles-mult { color: var(--c-white); }
.l-roles-tag {
    display: inline-block;
    margin: 14px 0 10px;
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-red);
    border: 1px solid var(--c-red);
    padding: 3px 8px;
    align-self: flex-start;
}
.l-roles-card--arch .l-roles-tag {
    color: var(--c-white);
    border-color: var(--c-red);
    background: var(--c-red);
}
.l-roles-card h4 {
    font-size: 16px;
    margin: 4px 0 8px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.l-roles-card p {
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--c-gray-700);
    margin: 0 0 18px;
    flex-grow: 1;
}
.l-roles-card--arch p { color: var(--c-gray-300); }
.l-roles-rate {
    font-family: var(--f-mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--c-black);
    padding-top: 14px;
    border-top: 1px dashed var(--c-gray-400);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.005em;
}
.l-roles-card--arch .l-roles-rate {
    color: var(--c-white);
    border-top-color: rgba(255,255,255,0.2);
}
.l-roles-rate span {
    font-size: 10px;
    font-weight: 500;
    color: var(--c-gray-600);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.l-roles-card--arch .l-roles-rate span { color: var(--c-gray-400); }
.l-roles-foot {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed var(--c-gray-400);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 12.5px;
    color: var(--c-gray-700);
    line-height: 1.65;
}
.l-roles-foot-tick {
    color: var(--c-red);
    font-size: 16px;
    line-height: 1.2;
    flex-shrink: 0;
}
.l-roles-foot em {
    font-style: normal;
    font-weight: 600;
    color: var(--c-black);
}
@media (max-width: 720px) {
    .l-roles { padding: 22px 18px 18px; }
    .l-roles-grid { grid-template-columns: 1fr; }
    .l-roles-card {
        border-right: 0;
        border-bottom: 1px solid var(--c-black);
    }
    .l-roles-card:last-child { border-bottom: 0; }
    .l-roles-mult { font-size: 36px; }
}

/* ============================================================
   ТЕМАТИЧЕСКИЕ ИЛЛЮСТРАЦИИ ПО РАЗДЕЛАМ
   ============================================================ */
.l-illus {
    position: relative;
    margin: 0 0 48px;
    border: 2px solid var(--c-black);
    overflow: hidden;
    aspect-ratio: 16 / 7;
    background: var(--c-paper);
}
.l-section--black .l-illus { border-color: var(--c-white); background: var(--c-black); }
.l-illus img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.l-illus:hover img {
    transform: scale(1.015);
}
.l-illus-cap {
    position: absolute;
    left: 14px;
    bottom: 12px;
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-white);
    background: var(--c-red);
    padding: 5px 10px;
    z-index: 2;
    pointer-events: none;
}
.l-illus-tag {
    position: absolute;
    right: 14px;
    top: 12px;
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-white);
    background: rgba(20,20,22,0.78);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 4px 8px;
    z-index: 2;
    pointer-events: none;
}
@media (max-width: 720px) {
    .l-illus { aspect-ratio: 4 / 3; margin-bottom: 32px; }
    .l-illus-cap { font-size: 9px; padding: 4px 8px; }
    .l-illus-tag { font-size: 8px; }
}
