/* =====================================================================
   landing.module.css — оболочка заглавной страницы "/" (шапка, hero,
   лента событий, блок возможностей, CTA, подвал) + общие дизайн-токены.

   Все классы имеют префикс lp- (landing page), токены — --lp-.
   Конфликтов с theme.css / admin-ui.css / ui-controls.css нет.

   Демо-виджет (.hd-*) живёт в HeroDemo.module.css и подхватывает эти же
   токены через var(--lp-…, fallback) — то есть остаётся автономным.
   ===================================================================== */

/* ------------------------------------------------------------- токены */

:root {
    /* Палитра: тёплый графит + терракота + мох. OKLCH — равные шаги
       светлоты выглядят равными, поэтому оттенки не «прыгают». */
    --lp-ink:          oklch(21% 0.014 55);
    --lp-ink-soft:     oklch(35% 0.013 55);
    --lp-muted:        oklch(53% 0.012 58);
    --lp-faint:        oklch(66% 0.010 62);

    --lp-line:         oklch(90% 0.008 68);
    --lp-line-strong:  oklch(82% 0.011 64);
    --lp-divider:      oklch(93.5% 0.007 70);

    --lp-paper:        oklch(99% 0.004 80);
    --lp-bg:           oklch(96.4% 0.010 82);
    --lp-bg-deep:      oklch(93.6% 0.014 80);

    --lp-accent:       oklch(57% 0.145 46);
    --lp-accent-hi:    oklch(64% 0.150 52);
    --lp-accent-deep:  oklch(43% 0.112 44);
    --lp-accent-wash:  oklch(94.6% 0.030 58);
    --lp-accent-line:  oklch(86% 0.055 55);

    --lp-moss:         oklch(51% 0.105 148);
    --lp-moss-wash:    oklch(94.5% 0.032 148);
    --lp-moss-line:    oklch(86% 0.060 148);

    --lp-slate:        oklch(47% 0.060 250);

    /* Тёмная поверхность (лента событий, CTA-плита) */
    --lp-dark:         oklch(20% 0.016 52);
    --lp-dark-line:    oklch(32% 0.018 50);
    --lp-dark-text:    oklch(92% 0.010 70);
    --lp-dark-muted:   oklch(70% 0.014 62);

    /* Ритм 4pt */
    --lp-s1: 4px;  --lp-s2: 8px;  --lp-s3: 12px; --lp-s4: 16px;
    --lp-s5: 24px; --lp-s6: 32px; --lp-s7: 48px; --lp-s8: 64px; --lp-s9: 96px;

    --lp-radius:    14px;
    --lp-radius-sm: 8px;
    --lp-radius-xs: 6px;
    --lp-shell:     1200px;

    --lp-font-ui: 'Golos Text', 'Segoe UI', system-ui, -apple-system,
                  BlinkMacSystemFont, Roboto, Arial, sans-serif;
    --lp-font-display: 'Literata', Georgia, 'PT Serif', 'Times New Roman', serif;

    /* Кривые: экспоненциальный ease-out, без отскоков */
    --lp-ease:    cubic-bezier(0.16, 1, 0.3, 1);
    --lp-ease-q:  cubic-bezier(0.25, 1, 0.5, 1);
    --lp-ease-io: cubic-bezier(0.65, 0, 0.35, 1);

    --lp-elev-1: 0 1px 2px oklch(21% 0.014 55 / 0.05);
    --lp-elev-2: 0 2px 6px oklch(21% 0.014 55 / 0.06), 0 12px 28px oklch(21% 0.014 55 / 0.05);
    --lp-elev-3: 0 4px 12px oklch(21% 0.014 55 / 0.08), 0 24px 56px oklch(21% 0.014 55 / 0.08);
}

/* ------------------------------------------------------------- база */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.lp {
    font-family: var(--lp-font-ui);
    font-size: 16px;
    line-height: 1.55;
    color: var(--lp-ink-soft);
    background: var(--lp-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-optical-sizing: auto;
    overflow-x: hidden;
}

/* Едва заметная чертёжная сетка сверху: страница не «плывёт» пустотой */
body.lp::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(var(--lp-divider) 1px, transparent 1px),
        linear-gradient(90deg, var(--lp-divider) 1px, transparent 1px);
    background-size: 96px 96px;
    opacity: 0.55;
    -webkit-mask-image: radial-gradient(120% 68% at 50% 0%, oklch(0% 0 0 / 0.9), transparent 72%);
    mask-image: radial-gradient(120% 68% at 50% 0%, oklch(0% 0 0 / 0.9), transparent 72%);
}

body.lp > * { position: relative; z-index: 1; }

h1, h2, h3, h4 {
    font-family: var(--lp-font-display);
    font-weight: 600;
    color: var(--lp-ink);
    letter-spacing: -0.015em;
    text-wrap: balance;
}

p { text-wrap: pretty; }
a { color: inherit; }

::selection { background: var(--lp-accent-wash); color: var(--lp-accent-deep); }

.lp-skip { position: absolute; left: -9999px; top: 0; z-index: 90; }
.lp-skip:focus {
    left: var(--lp-s4); top: var(--lp-s4);
    padding: 10px 16px;
    background: var(--lp-paper);
    border: 1px solid var(--lp-accent);
    border-radius: var(--lp-radius-xs);
    font-weight: 600;
}

/* ------------------------------------------- индикатор прокрутки */

.lp-scrollline {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    z-index: 60;
    pointer-events: none;
}

.lp-scrollline span {
    display: block;
    height: 100%;
    background: var(--lp-accent);
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

/* ------------------------------------------------------------- шапка */

.lp-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--lp-bg);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s var(--lp-ease-q),
                box-shadow 0.25s var(--lp-ease-q),
                background 0.25s var(--lp-ease-q);
}

.lp-topbar.is-stuck {
    background: var(--lp-paper);
    border-bottom-color: var(--lp-line);
    box-shadow: var(--lp-elev-1);
}

.lp-topbar__inner {
    max-width: var(--lp-shell);
    margin: 0 auto;
    padding: var(--lp-s3) var(--lp-s5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--lp-s4);
    transition: padding 0.25s var(--lp-ease-q);
}

.lp-topbar.is-stuck .lp-topbar__inner { padding-top: var(--lp-s2); padding-bottom: var(--lp-s2); }

.lp-brand { display: flex; align-items: center; gap: var(--lp-s3); min-width: 0; text-decoration: none; }

.lp-brand img { height: 38px; width: auto; max-width: 132px; object-fit: contain; flex: none; }

.lp-brand__text { min-width: 0; }

.lp-brand__kicker {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--lp-faint);
}

.lp-brand__title {
    display: block;
    font-family: var(--lp-font-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--lp-ink);
    letter-spacing: -0.01em;
    max-width: 46ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-nav { display: flex; align-items: center; gap: var(--lp-s2); flex: none; }

.lp-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--lp-s2);
    min-height: 44px;
    padding: 0 var(--lp-s4);
    border: 1px solid var(--lp-line-strong);
    border-radius: var(--lp-radius-sm);
    background: var(--lp-paper);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--lp-ink-soft);
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.18s var(--lp-ease-q),
                border-color 0.18s var(--lp-ease-q),
                background 0.18s var(--lp-ease-q),
                transform 0.18s var(--lp-ease-q),
                box-shadow 0.25s var(--lp-ease-q);
}

.lp-btn:hover {
    border-color: var(--lp-accent-line);
    color: var(--lp-accent-deep);
    background: var(--lp-accent-wash);
}

.lp-btn:active { transform: translateY(1px); }
.lp-btn:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 2px; }

.lp-btn--primary {
    border-color: var(--lp-accent-deep);
    background: var(--lp-accent-deep);
    color: oklch(98% 0.008 60);
    font-weight: 600;
    box-shadow: var(--lp-elev-1);
}

.lp-btn--primary:hover {
    background: var(--lp-accent);
    border-color: var(--lp-accent);
    color: oklch(99% 0.005 60);
    box-shadow: var(--lp-elev-2);
}

/* Микро-взаимодействие: светлый след проходит по кнопке при наведении */
.lp-btn--primary::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, oklch(100% 0 0 / 0.22), transparent);
    transform: translateX(-170%) skewX(-14deg);
    transition: transform 0.75s var(--lp-ease);
}

.lp-btn--primary:hover::after { transform: translateX(370%) skewX(-14deg); }

.lp-btn--ghost { background: transparent; }

/* ------------------------------------------------------------- hero */

.lp-hero { padding: var(--lp-s8) 0 var(--lp-s7); }

.lp-hero__inner {
    max-width: var(--lp-shell);
    margin: 0 auto;
    padding: 0 var(--lp-s5);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: var(--lp-s7);
    align-items: center;
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--lp-s2);
    height: 30px;
    padding: 0 var(--lp-s3) 0 10px;
    border: 1px solid var(--lp-accent-line);
    border-radius: 999px;
    background: var(--lp-accent-wash);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--lp-accent-deep);
    white-space: nowrap;
}

.lp-pulse {
    position: relative;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--lp-accent);
    flex: none;
}

.lp-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--lp-accent);
    animation: lp-pulse 2.4s var(--lp-ease) infinite;
}

@keyframes lp-pulse {
    0%   { opacity: 0.7; transform: scale(0.55); }
    70%  { opacity: 0;   transform: scale(1.4); }
    100% { opacity: 0;   transform: scale(1.4); }
}

.lp-hero h1 {
    margin: var(--lp-s5) 0 0;
    font-size: clamp(2.15rem, 4.4vw, 3.4rem);
    line-height: 1.06;
    letter-spacing: -0.028em;
}

.lp-hero h1 em { font-style: italic; font-weight: 500; color: var(--lp-accent-deep); }

.lp-lead {
    margin: var(--lp-s4) 0 0;
    max-width: 56ch;
    font-size: 1.0625rem;
    color: var(--lp-muted);
}

.lp-cta { display: flex; flex-wrap: wrap; gap: var(--lp-s3); margin-top: var(--lp-s5); }
.lp-cta .lp-btn { min-height: 50px; padding: 0 var(--lp-s5); }

/* Факты: строка цифр, без карточек */
.lp-facts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--lp-s6);
    margin-top: var(--lp-s7);
    padding-top: var(--lp-s5);
    border-top: 1px solid var(--lp-line);
}

.lp-fact { min-width: 92px; }

.lp-fact dt {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lp-faint);
    margin-bottom: 2px;
}

.lp-fact dd {
    font-family: var(--lp-font-display);
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--lp-ink);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* ------------------------------------------- лента событий (тёмная плита) */

.lp-feed {
    border-radius: var(--lp-radius);
    background: var(--lp-dark);
    color: var(--lp-dark-text);
    padding: var(--lp-s5);
    box-shadow: var(--lp-elev-3);
    min-width: 0;
}

.lp-feed__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--lp-s3);
    padding-bottom: var(--lp-s3);
    border-bottom: 1px solid var(--lp-dark-line);
}

.lp-feed__title {
    font-family: var(--lp-font-ui);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lp-dark-muted);
}

.lp-feed__live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: oklch(78% 0.09 148);
}

.lp-feed__live i {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: oklch(72% 0.15 148);
    animation: lp-blink 1.9s var(--lp-ease-io) infinite;
}

@keyframes lp-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.22; }
}

.lp-feed__list { list-style: none; margin: 0; padding: var(--lp-s2) 0 0; min-height: 236px; }

.lp-feed__item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0 var(--lp-s3);
    padding: 11px 0;
    border-bottom: 1px solid oklch(27% 0.016 50);
    animation: lp-feed-in 0.55s var(--lp-ease) both;
}

.lp-feed__item:last-child { border-bottom: none; }

@keyframes lp-feed-in {
    from { opacity: 0; transform: translate3d(0, -12px, 0); }
    to   { opacity: 1; transform: none; }
}

.lp-feed__time {
    font-size: 0.75rem;
    color: var(--lp-dark-muted);
    font-variant-numeric: tabular-nums;
    padding-top: 2px;
}

.lp-feed__text { font-size: 0.875rem; line-height: 1.45; color: var(--lp-dark-text); min-width: 0; }
.lp-feed__text b { font-weight: 600; color: oklch(96% 0.008 70); }

.lp-feed__kind {
    display: inline-block;
    margin-top: 5px;
    padding: 1px 8px;
    border-radius: 999px;
    border: 1px solid var(--lp-dark-line);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--lp-dark-muted);
}

.lp-feed__kind--pass { border-color: oklch(40% 0.07 148); color: oklch(78% 0.09 148); }
.lp-feed__kind--warn { border-color: oklch(44% 0.09 55);  color: oklch(80% 0.10 60); }
.lp-feed__kind--info { border-color: oklch(40% 0.05 250); color: oklch(78% 0.07 250); }

.lp-feed__foot { margin-top: var(--lp-s3); padding-top: var(--lp-s3); border-top: 1px solid var(--lp-dark-line); }

.lp-feed__sparkhead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--lp-s3);
    margin-bottom: var(--lp-s2);
}

.lp-feed__sparklabel {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--lp-dark-muted);
}

.lp-feed__sparkvalue {
    font-family: var(--lp-font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: oklch(96% 0.008 70);
    font-variant-numeric: tabular-nums;
}

.lp-spark { display: block; width: 100%; height: 46px; overflow: visible; }
.lp-spark__line { fill: none; stroke: oklch(72% 0.13 52); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.lp-spark__area { fill: oklch(60% 0.12 52 / 0.16); stroke: none; }
.lp-spark__dot  { fill: oklch(90% 0.09 60); }
.lp-spark__halo { fill: oklch(72% 0.13 52 / 0.26); }

/* --------------------------------------------------- заголовки секций */

.lp-section { padding: var(--lp-s9) 0; }

.lp-sechead {
    max-width: var(--lp-shell);
    margin: 0 auto var(--lp-s6);
    padding: 0 var(--lp-s5);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 42ch);
    gap: var(--lp-s6);
    align-items: end;
}

.lp-sechead__num {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lp-accent);
    margin-bottom: var(--lp-s2);
}

.lp-sechead h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.12; }
.lp-sechead p { font-size: 0.9375rem; color: var(--lp-muted); max-width: 42ch; }

/* --------------------------------------------- возможности: интерактив */

.lp-caps {
    max-width: var(--lp-shell);
    margin: 0 auto;
    padding: 0 var(--lp-s5);
    display: grid;
    grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
    gap: var(--lp-s6);
    align-items: start;
}

.lp-caps__rail {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-left: 1px solid var(--lp-line);
    padding-left: var(--lp-s1);
}

/* Бегунок активного пункта: двигается через transform */
.lp-caps__marker {
    position: absolute;
    left: -1px;
    top: 0;
    width: 2px;
    height: 0;
    background: var(--lp-accent);
    border-radius: 2px;
    transition: transform 0.5s var(--lp-ease), height 0.5s var(--lp-ease);
    will-change: transform;
}

.lp-cap {
    position: relative;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: var(--lp-s3);
    align-items: start;
    width: 100%;
    padding: var(--lp-s3);
    border: 0;
    border-radius: var(--lp-radius-sm);
    background: transparent;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    color: var(--lp-muted);
    transition: background 0.32s var(--lp-ease-q), color 0.32s var(--lp-ease-q);
}

.lp-cap__idx {
    font-size: 0.75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--lp-faint);
    padding-top: 3px;
    transition: color 0.32s var(--lp-ease-q);
}

.lp-cap__name {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--lp-ink-soft);
    transition: color 0.32s var(--lp-ease-q);
}

.lp-cap__hint {
    display: block;
    margin-top: 2px;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--lp-faint);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--lp-ease), opacity 0.3s var(--lp-ease-q);
}

.lp-cap:hover { background: oklch(94.5% 0.010 78); }
.lp-cap:hover .lp-cap__name { color: var(--lp-ink); }

.lp-cap.is-active { background: var(--lp-accent-wash); }
.lp-cap.is-active .lp-cap__name { color: var(--lp-accent-deep); }
.lp-cap.is-active .lp-cap__idx { color: var(--lp-accent); }
.lp-cap.is-active .lp-cap__hint { max-height: 5em; opacity: 1; }

.lp-cap:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 1px; }

.lp-caps__stage {
    position: relative;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    background: var(--lp-paper);
    box-shadow: var(--lp-elev-2);
    overflow: hidden;
    min-height: 440px;
}

.lp-caps__bar {
    display: flex;
    align-items: center;
    gap: var(--lp-s3);
    padding: 11px var(--lp-s4);
    border-bottom: 1px solid var(--lp-divider);
    background: var(--lp-bg);
}

.lp-caps__dots { display: flex; gap: 5px; }
.lp-caps__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-line-strong); }
.lp-caps__dots i:first-child { background: oklch(76% 0.11 42); }

.lp-caps__path { font-size: 0.75rem; color: var(--lp-faint); letter-spacing: 0.02em; }

.lp-pane {
    position: absolute;
    left: 0; right: 0;
    top: 41px; bottom: 0;
    padding: var(--lp-s5);
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    pointer-events: none;
    transition: opacity 0.4s var(--lp-ease-q), transform 0.5s var(--lp-ease);
    overflow: hidden;
}

.lp-pane.is-active { opacity: 1; transform: none; pointer-events: auto; }

.lp-pane__title {
    font-family: var(--lp-font-ui);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--lp-ink);
    margin-bottom: var(--lp-s1);
}

.lp-pane__sub {
    font-size: 0.8125rem;
    color: var(--lp-muted);
    margin-bottom: var(--lp-s5);
    max-width: 68ch;
}

/* мини-макеты внутри превью */

.lp-mock { display: grid; gap: var(--lp-s3); }

.lp-mock__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--lp-s3);
    align-items: center;
    padding: 11px var(--lp-s3);
    border: 1px solid var(--lp-divider);
    border-radius: var(--lp-radius-sm);
    background: var(--lp-paper);
    font-size: 0.875rem;
    color: var(--lp-ink-soft);
    opacity: 0;
}

.lp-pane.is-active .lp-mock__row {
    animation: lp-rise 0.55s var(--lp-ease) both;
    animation-delay: calc(var(--i, 0) * 70ms + 90ms);
}

@keyframes lp-rise {
    from { opacity: 0; transform: translate3d(0, 10px, 0); }
    to   { opacity: 1; transform: none; }
}

.lp-mock__row--quiz { grid-template-columns: 22px minmax(0, 1fr) auto; }

.lp-mock__pick {
    width: 18px; height: 18px;
    border: 1px solid var(--lp-line-strong);
    border-radius: 50%;
    position: relative;
    flex: none;
    transition: border-color 0.3s var(--lp-ease-q), background 0.3s var(--lp-ease-q);
}

.lp-mock__row.is-right { border-color: var(--lp-moss-line); background: var(--lp-moss-wash); }
.lp-mock__row.is-right .lp-mock__pick { border-color: var(--lp-moss); background: var(--lp-moss); }
.lp-mock__row.is-right .lp-mock__pick::after {
    content: '';
    position: absolute;
    left: 5px; top: 3px;
    width: 5px; height: 9px;
    border: 2px solid oklch(99% 0.005 148);
    border-top: 0; border-left: 0;
    transform: rotate(42deg);
}

.lp-mock__row.is-wrong { border-color: var(--lp-accent-line); background: var(--lp-accent-wash); }

.lp-mock__val {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lp-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.lp-mock__meter {
    height: 6px;
    border-radius: 999px;
    background: var(--lp-bg-deep);
    overflow: hidden;
    width: 132px;
    min-width: 92px;
}

.lp-mock__meter span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: var(--lp-accent);
    transition: width 1.15s var(--lp-ease);
}

.lp-pane.is-active .lp-mock__meter span { width: calc(var(--p, 0) * 1%); }
.lp-mock__meter span.is-moss { background: var(--lp-moss); }

.lp-mock__note { margin-top: var(--lp-s4); font-size: 0.75rem; color: var(--lp-faint); }

.lp-mock__doc {
    border: 1px solid var(--lp-divider);
    border-radius: var(--lp-radius-sm);
    padding: var(--lp-s4);
    background: var(--lp-paper);
}

.lp-mock__lines { display: grid; gap: 9px; margin-top: var(--lp-s3); }
.lp-mock__lines i {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: var(--lp-bg-deep);
    transform: scaleX(0);
    transform-origin: left center;
}

.lp-pane.is-active .lp-mock__lines i {
    animation: lp-linegrow 0.6s var(--lp-ease) both;
    animation-delay: calc(var(--i, 0) * 80ms + 120ms);
}

@keyframes lp-linegrow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.lp-mock__lines i:nth-child(3) { width: 84%; }
.lp-mock__lines i:nth-child(4) { width: 62%; }

.lp-mock__tick {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lp-moss);
}

.lp-mock__grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
    gap: var(--lp-s3);
}

.lp-mock__chip {
    padding: 10px var(--lp-s3);
    border: 1px solid var(--lp-divider);
    border-radius: var(--lp-radius-sm);
    background: var(--lp-bg);
    font-size: 0.8125rem;
    color: var(--lp-muted);
    opacity: 0;
}

.lp-pane.is-active .lp-mock__chip {
    animation: lp-rise 0.5s var(--lp-ease) both;
    animation-delay: calc(var(--i, 0) * 60ms + 80ms);
}

.lp-mock__chip b {
    display: block;
    font-size: 1.375rem;
    font-family: var(--lp-font-display);
    font-weight: 600;
    color: var(--lp-ink);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

/* ------------------------------------------------------------- CTA-плита */

.lp-band { max-width: var(--lp-shell); margin: 0 auto; padding: 0 var(--lp-s5); }

.lp-band__inner {
    border-radius: var(--lp-radius);
    background: var(--lp-dark);
    color: var(--lp-dark-text);
    padding: clamp(var(--lp-s6), 5vw, var(--lp-s8));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--lp-s6);
    align-items: center;
    box-shadow: var(--lp-elev-3);
}

.lp-band h2 { color: oklch(97% 0.008 70); font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.14; }
.lp-band p { margin-top: var(--lp-s3); max-width: 58ch; font-size: 0.9375rem; color: var(--lp-dark-muted); }

.lp-band .lp-btn {
    min-height: 52px;
    padding: 0 var(--lp-s6);
    border-color: oklch(72% 0.14 52);
    background: oklch(66% 0.15 52);
    color: oklch(18% 0.02 50);
    font-weight: 600;
}

.lp-band .lp-btn:hover {
    background: oklch(74% 0.14 55);
    border-color: oklch(80% 0.12 55);
    color: oklch(16% 0.02 50);
}

/* ------------------------------------------------------------- подвал */

.lp-footer { margin-top: var(--lp-s9); border-top: 1px solid var(--lp-line); background: var(--lp-paper); }

.lp-footer__inner {
    max-width: var(--lp-shell);
    margin: 0 auto;
    padding: var(--lp-s5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--lp-s4);
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: var(--lp-muted);
}

.lp-footer a {
    color: var(--lp-accent-deep);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--lp-ease-q);
}

.lp-footer a:hover { border-bottom-color: var(--lp-accent); }

/* ------------------------------------------- появление при прокрутке */
/* Прячем только когда JS работает: класс lp-js ставится инлайн-скриптом
   в <head>. Без JS контент видно сразу — страница остаётся читаемой. */

.lp-js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity 0.75s var(--lp-ease-q), transform 0.85s var(--lp-ease);
    transition-delay: calc(var(--i, 0) * 90ms);
    will-change: opacity, transform;
}

.lp-js [data-reveal].is-in { opacity: 1; transform: none; will-change: auto; }

/* ------------------------------------------------- планшет / мобильный */

@media (max-width: 1024px) {
    :root { --lp-shell: 900px; }

    .lp-hero { padding: var(--lp-s7) 0 var(--lp-s6); }
    .lp-hero__inner { grid-template-columns: minmax(0, 1fr); gap: var(--lp-s6); }
    .lp-lead { max-width: 62ch; }
    .lp-facts { margin-top: var(--lp-s5); gap: var(--lp-s5); }

    .lp-sechead { grid-template-columns: minmax(0, 1fr); gap: var(--lp-s3); }
    .lp-caps { grid-template-columns: minmax(0, 1fr); }
    .lp-caps__stage { min-height: 470px; }

    .lp-band__inner { grid-template-columns: minmax(0, 1fr); }
    .lp-section { padding: var(--lp-s8) 0; }
}

@media (max-width: 768px) {
    .lp-hero__inner,
    .lp-sechead,
    .lp-caps,
    .lp-band,
    .lp-topbar__inner,
    .lp-footer__inner { padding-left: var(--lp-s4); padding-right: var(--lp-s4); }

    .lp-topbar__inner { flex-wrap: wrap; gap: var(--lp-s2); }
    .lp-brand img { height: 32px; }
    .lp-brand__title { font-size: 0.9375rem; max-width: 28ch; }
    .lp-nav { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: var(--lp-s2); }
    .lp-nav .lp-btn { min-height: 48px; padding: 0 var(--lp-s3); font-size: 0.875rem; }
    .lp-nav .lp-btn--primary { grid-column: 1 / -1; }

    .lp-hero { padding: var(--lp-s6) 0 var(--lp-s5); }
    .lp-hero h1 { margin-top: var(--lp-s4); font-size: clamp(1.75rem, 8vw, 2.25rem); line-height: 1.12; }
    .lp-lead { font-size: 1rem; }
    .lp-cta { display: grid; grid-template-columns: minmax(0, 1fr); }
    .lp-cta .lp-btn { min-height: 52px; }

    .lp-facts { gap: var(--lp-s5) var(--lp-s6); }
    .lp-fact dd { font-size: 1.625rem; }

    .lp-feed { padding: var(--lp-s4); }
    .lp-feed__list { min-height: 0; }
    /* Мобильная лента короче: события после третьего не показываем */
    .lp-feed__item:nth-child(n + 4) { display: none; }

    .lp-section { padding: var(--lp-s7) 0; }
    .lp-sechead { margin-bottom: var(--lp-s5); }

    .lp-caps__rail { border-left: 0; padding-left: 0; }
    .lp-caps__marker { display: none; }
    .lp-cap {
        grid-template-columns: 22px minmax(0, 1fr);
        min-height: 52px;
        align-items: center;
        border: 1px solid var(--lp-divider);
    }
    .lp-cap.is-active { border-color: var(--lp-accent-line); }
    .lp-cap__hint { display: none; }

    .lp-caps__stage { min-height: 0; }
    .lp-pane { position: static; display: none; padding: var(--lp-s4); }
    .lp-pane.is-active { display: block; }

    .lp-mock__row { grid-template-columns: minmax(0, 1fr); gap: var(--lp-s2); }
    .lp-mock__row--quiz { grid-template-columns: 22px minmax(0, 1fr); }
    .lp-mock__meter { width: 100%; }

    .lp-band__inner { padding: var(--lp-s5); }
    .lp-band .lp-btn { width: 100%; }

    .lp-footer { margin-top: var(--lp-s7); }
    .lp-footer__inner { flex-direction: column; align-items: flex-start; gap: var(--lp-s2); }
}

/* --------------------------------------------- уважение к настройкам ОС */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .lp-js [data-reveal],
    .lp-js [data-reveal].is-in { opacity: 1; transform: none; transition: none; }

    .lp-pulse::after,
    .lp-feed__live i { animation: none; }

    .lp-feed__item,
    .lp-pane .lp-mock__row,
    .lp-pane .lp-mock__chip,
    .lp-pane .lp-mock__lines i { animation: none; opacity: 1; transform: none; }

    .lp-btn--primary::after { display: none; }

    .lp-caps__marker,
    .lp-pane,
    .lp-mock__meter span,
    .lp-cap,
    .lp-cap__hint { transition: none; }
}
