/* =========================================================
   MURRLINK — ЛЕНДИНГ И ПУБЛИЧНЫЕ ПОЛИТИКИ

   Слой pages: это страничные правила, они не должны менять каркас
   приложения (`/app/`) и страницы входа. Цвет — только через токены
   из tokens.css, литералов здесь нет (tools/check_colors.py).

   Порядок подключения: tokens.css первым (он объявляет @layer),
   затем этот файл.
   ========================================================= */
@layer pages {
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
        /* Якоря из шапки и оглавления не должны прятаться под липкой шапкой. */
        scroll-padding-top: 92px;
    }

    body.landing-page {
        margin: 0;
        min-height: 100vh;
        font-family: var(--font-ui);
        font-size: 16px;
        line-height: 1.6;
        color: var(--text-normal);
        background-color: var(--bg-app);
        /* Мягкое зарево акцента вместо тяжёлого фонового растра: первый
           экран лендинга не должен тянуть 484 КБ узора-сот. */
        background-image:
            radial-gradient(ellipse 60% 45% at 15% 0%,
                            var(--bg-glow-landing), transparent 60%),
            radial-gradient(ellipse 45% 40% at 95% 8%,
                            var(--bg-glow-landing), transparent 65%);
        background-repeat: no-repeat;
        /* Страховка от горизонтальной прокрутки на узком экране; вёрстка
           при этом остаётся в пределах ширины (проверяется живьём). */
        overflow-x: clip;
    }

    /* :where() держит специфичность ссылочного правила ниже классовых:
       иначе цвет `a` перебивал бы .lp-brand, .lp-nav a и цвета кнопок. */
    :where(body.landing-page) a {
        color: var(--link);
        text-decoration: none;
    }

    :where(body.landing-page) a:hover {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    body.landing-page img {
        max-width: 100%;
        height: auto;
    }

    body.landing-page :focus-visible {
        outline: 2px solid var(--accent-2);
        outline-offset: 3px;
        border-radius: var(--radius-sm);
    }

    .lp-shell {
        width: 100%;
        max-width: 1180px;
        margin: 0 auto;
        padding: 0 28px;
    }

    /* --- Пропуск шапки с клавиатуры ------------------------------- */
    .lp-skip {
        position: fixed;
        left: 16px;
        top: -80px;
        z-index: 1000;
        padding: 10px 16px;
        border-radius: var(--radius-pill);
        background: var(--accent);
        color: var(--on-accent);
        font-weight: 700;
        transition: top var(--transition-fast);
    }

    .lp-skip:focus {
        top: 12px;
        text-decoration: none;
    }

    /* --- Шапка --------------------------------------------------- */
    .lp-header {
        position: sticky;
        top: 0;
        z-index: 40;
        background: var(--glass-bg);
        border-bottom: 1px solid var(--border);
        backdrop-filter: var(--glass-blur);
    }

    .lp-header-inner {
        min-height: 72px;
        display: flex;
        align-items: center;
        gap: 24px;
    }

    .lp-brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        color: var(--text-primary);
        font-weight: 800;
        letter-spacing: -0.01em;
    }

    .lp-brand:hover {
        text-decoration: none;
    }

    .lp-brand-mark {
        width: 36px;
        height: 36px;
        flex: none;
        border-radius: var(--radius-md);
        box-shadow: var(--glow-accent);
    }

    .lp-brand-name {
        font-size: 18px;
        white-space: nowrap;
    }

    .lp-nav {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-left: 12px;
    }

    .lp-nav a {
        padding: 8px 12px;
        border-radius: var(--radius-pill);
        color: var(--text-muted);
        font-size: 14px;
        font-weight: 600;
    }

    .lp-nav a:hover {
        background: var(--bg-hover);
        color: var(--text-primary);
        text-decoration: none;
    }

    .lp-header-actions {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* --- Кнопки -------------------------------------------------- */
    .lp-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 44px;
        padding: 10px 18px;
        border: 1px solid transparent;
        border-radius: var(--radius-pill);
        font: inherit;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        cursor: pointer;
        transition: background-color var(--transition-base),
                    border-color var(--transition-base),
                    transform var(--transition-fast),
                    box-shadow var(--transition-base);
    }

    .lp-btn:hover {
        text-decoration: none;
        transform: translateY(-1px);
    }

    .lp-btn:active {
        transform: translateY(0);
    }

    .lp-btn-primary {
        background: var(--btn-primary-bg);
        color: var(--btn-primary-fg);
        border-color: var(--btn-primary-border);
        box-shadow: var(--glow-accent);
    }

    .lp-btn-primary:hover {
        background: var(--btn-primary-bg-hover);
        border-color: var(--btn-primary-bg-hover);
        color: var(--btn-primary-fg);
        box-shadow: var(--glow-accent-lg);
    }

    /* Ссылочный цвет `a` теперь ниже по специфичности, но цвет кнопок всё
       равно фиксируем явно: на акценте нужен --on-accent, а не ссылочный
       циан (иначе контраст падает до 2.19:1). */
    body.landing-page .lp-btn-primary,
    body.landing-page .lp-btn-primary:hover {
        color: var(--on-accent);
    }

    .lp-btn-secondary {
        background: var(--btn-bg);
        border-color: var(--btn-border);
        color: var(--btn-fg);
    }

    .lp-btn-secondary:hover {
        background: var(--btn-bg-hover);
        border-color: var(--btn-border-hover);
    }

    body.landing-page .lp-btn-secondary,
    body.landing-page .lp-btn-secondary:hover {
        color: var(--btn-fg);
    }

    .lp-btn-ghost {
        background: transparent;
        border-color: var(--btn-border);
        color: var(--btn-fg);
    }

    body.landing-page .lp-btn-ghost,
    body.landing-page .lp-btn-ghost:hover {
        color: var(--btn-fg);
    }

    .lp-btn-ghost:hover {
        background: var(--btn-icon-hover-bg);
        border-color: var(--btn-border-hover);
        color: var(--btn-fg);
    }

    .lp-btn-lg {
        min-height: 52px;
        padding: 14px 24px;
        font-size: 16px;
    }

    .lp-btn-compact {
        min-height: 40px;
        padding: 8px 14px;
        font-size: 14px;
    }

    .lp-btn-icon,
    .lp-badge-icon,
    .lp-proof-icon {
        flex: none;
    }

    .lp-short {
        display: none;
    }

    /* --- Первый экран -------------------------------------------- */
    .lp-hero {
        padding: 76px 0 56px;
    }

    .lp-hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
        align-items: center;
        gap: 52px;
    }

    .lp-eyebrow {
        margin: 0 0 14px;
        color: var(--accent-2);
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .lp-hero h1 {
        margin: 0 0 20px;
        color: var(--text-primary);
        font-size: clamp(38px, 4.6vw, 54px);
        line-height: 1.04;
        letter-spacing: -0.025em;
    }

    .lp-gradient-text {
        background-image: var(--accent-gradient);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }

    .lp-lead {
        max-width: 54ch;
        margin: 0 0 28px;
        color: var(--text-muted);
        font-size: 18px;
        line-height: 1.65;
    }

    .lp-cta-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }

    .lp-cta-note {
        margin: 14px 0 0;
        color: var(--text-muted);
        font-size: 13px;
    }

    .lp-facts {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
        gap: 16px;
        margin: 34px 0 0;
        padding: 0;
        list-style: none;
    }

    .lp-facts div {
        min-width: 0;
        padding: 0 0 0 18px;
        border-left: 1px solid var(--border);
    }

    .lp-facts div:first-child {
        padding-left: 0;
        border-left: 0;
    }

    .lp-facts dt {
        color: var(--text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .lp-facts dd {
        margin: 4px 0 0;
        color: var(--text-primary);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
    }

    /* --- Рамка скриншота ----------------------------------------- */
    .lp-hero-shot {
        position: relative;
        margin: 0;
        min-width: 0;
    }

    .lp-shot-frame {
        position: relative;
        overflow: hidden;
        border: 1px solid var(--glass-border);
        border-radius: var(--radius-xl);
        background: var(--bg-panel);
        box-shadow: var(--panel-shadow), var(--glow-accent);
    }

    .lp-shot-bar {
        display: flex;
        align-items: center;
        gap: 7px;
        height: 30px;
        padding: 0 14px;
        background: var(--bg-sidebar-dark);
        border-bottom: 1px solid var(--border);
    }

    .lp-shot-bar span {
        width: 9px;
        height: 9px;
        border-radius: var(--radius-round);
        background: var(--border-soft);
    }

    .lp-shot-bar span:nth-child(1) {
        background: var(--danger-solid);
    }

    .lp-shot-bar span:nth-child(2) {
        background: var(--warning);
    }

    .lp-shot-bar span:nth-child(3) {
        background: var(--success);
    }

    .lp-shot-img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        background: var(--bg-sidebar-dark);
    }

    .lp-shot-badge {
        position: absolute;
        right: 18px;
        bottom: -16px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 9px 14px;
        border: 1px solid var(--glass-border);
        border-radius: var(--radius-pill);
        background: var(--bg-panel);
        color: var(--text-primary);
        font-size: 13px;
        font-weight: 700;
        box-shadow: var(--shadow-menu);
    }

    /* --- Плейсхолдер кадра --------------------------------------- */
    .lp-shot-placeholder {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        padding: 24px;
        border: 1px dashed var(--border-strong);
        background-color: var(--bg-panel);
        background-image:
            radial-gradient(ellipse 55% 55% at 50% 30%,
                            var(--accent-soft), transparent 70%);
        color: var(--text-muted);
        text-align: center;
    }

    .lp-ratio-wide {
        aspect-ratio: 16 / 9;
    }

    .lp-ratio-phone {
        aspect-ratio: 390 / 844;
    }

    .lp-ph-icon {
        display: inline-flex;
        color: var(--accent-2);
    }

    .lp-ph-title {
        color: var(--text-normal);
        font-size: 15px;
        font-weight: 700;
    }

    .lp-ph-note {
        color: var(--text-muted);
        font-size: 12px;
    }

    /* --- Полоса фактов ------------------------------------------- */
    .lp-proof {
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        background: var(--bg-sidebar);
    }

    .lp-proof-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .lp-proof-row p {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
        color: var(--text-muted);
        font-size: 14px;
    }

    .lp-proof-icon {
        color: var(--accent);
    }

    /* --- Секции -------------------------------------------------- */
    .lp-section {
        padding: 84px 0;
    }

    .lp-section-head {
        max-width: 660px;
        margin: 0 0 38px;
    }

    .lp-section-head h2,
    .lp-spotlight-copy h2,
    .lp-download-copy h2,
    .lp-mobile-copy h2,
    .lp-cta-band h2 {
        margin: 0 0 14px;
        color: var(--text-primary);
        font-size: clamp(28px, 3.2vw, 42px);
        line-height: 1.12;
        letter-spacing: -0.02em;
    }

    .lp-section-lead {
        margin: 0;
        color: var(--text-muted);
        font-size: 17px;
    }

    /* --- Возможности --------------------------------------------- */
    .lp-features {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .lp-card {
        padding: 24px;
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        background: var(--bg-panel);
        transition: transform var(--transition-base),
                    border-color var(--transition-base),
                    box-shadow var(--transition-base);
    }

    .lp-card:hover {
        transform: translateY(-2px);
        border-color: var(--border-glow);
        box-shadow: var(--shadow-menu);
    }

    .lp-card-accent {
        border-color: var(--glass-border);
        background-image: linear-gradient(160deg, var(--accent-soft),
                                          transparent 65%);
    }

    .lp-card-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        margin-bottom: 16px;
        border: 1px solid var(--glass-border);
        border-radius: var(--radius-md);
        background: var(--accent-soft);
        color: var(--accent-2);
    }

    .lp-card h3 {
        margin: 0 0 8px;
        color: var(--text-primary);
        font-size: 18px;
        line-height: 1.3;
    }

    .lp-card p {
        margin: 0;
        color: var(--text-muted);
        font-size: 14.5px;
        line-height: 1.6;
    }

    /* --- Демонстрация экрана ------------------------------------- */
    .lp-spotlight {
        padding: 72px 0;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        background: var(--bg-sidebar);
    }

    .lp-spotlight-grid {
        display: grid;
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        align-items: center;
        gap: 48px;
    }

    .lp-spotlight-copy p {
        color: var(--text-muted);
        font-size: 17px;
    }

    .lp-checks {
        margin: 22px 0 26px;
        padding: 0;
        list-style: none;
    }

    .lp-checks li {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 7px 0;
        color: var(--text-normal);
        font-size: 15px;
    }

    .lp-checks .icon {
        color: var(--accent-2);
        flex: none;
    }

    .lp-text-link {
        display: inline-block;
        color: var(--accent-2);
        font-weight: 700;
    }

    .lp-spotlight-shot {
        margin: 0;
        min-width: 0;
    }

    .lp-spotlight-shot figcaption,
    .lp-gallery-item figcaption,
    .lp-phone figcaption {
        margin-top: 12px;
        color: var(--text-muted);
        font-size: 13px;
    }

    /* --- Галерея ------------------------------------------------- */
    .lp-gallery {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .lp-gallery-item {
        margin: 0;
        min-width: 0;
        padding: 10px;
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        background: var(--bg-panel);
        transition: border-color var(--transition-base),
                    box-shadow var(--transition-base);
    }

    .lp-gallery-item:hover {
        border-color: var(--border-glow);
        box-shadow: var(--shadow-menu);
    }

    .lp-gallery-item .lp-shot-img,
    .lp-gallery-item .lp-shot-placeholder {
        border-radius: var(--radius-md);
        border: 0;
    }

    .lp-gallery-wide {
        grid-column: 1 / -1;
    }

    .lp-gallery-item figcaption {
        padding: 8px 6px 4px;
        color: var(--text-muted);
        font-size: 14px;
    }

    .lp-gallery-item figcaption strong {
        display: block;
        margin-bottom: 2px;
        color: var(--text-primary);
        font-size: 15px;
    }

    /* Текстовая карточка в галерее: заполняет вторую половину последнего
       ряда и не оставляет пустую клетку рядом с кадром настроек. */
    .lp-gallery-note {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
        padding: 28px;
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        background: var(--bg-panel);
        background-image: linear-gradient(160deg, var(--accent-soft),
                                          transparent 70%);
    }

    .lp-gallery-note h3 {
        margin: 0 0 12px;
        color: var(--text-primary);
        font-size: 19px;
    }

    .lp-gallery-note ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .lp-gallery-note li {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 7px 0;
        color: var(--text-muted);
        font-size: 15px;
    }

    .lp-gallery-note .icon {
        flex: none;
        color: var(--accent-2);
    }

    /* --- Телефон ------------------------------------------------- */
    .lp-mobile {
        padding: 24px 0 84px;
    }

    .lp-mobile-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 330px;
        align-items: center;
        gap: 56px;
    }

    .lp-mobile-copy p {
        color: var(--text-muted);
        font-size: 17px;
    }

    .lp-phone {
        margin: 0;
        justify-self: center;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .lp-phone-frame {
        position: relative;
        padding: 12px;
        border: 1px solid var(--glass-border);
        border-radius: 38px;
        background: var(--bg-sidebar-dark);
        box-shadow: var(--panel-shadow), var(--glow-accent);
    }

    .lp-phone-notch {
        position: absolute;
        top: 18px;
        left: 50%;
        z-index: 2;
        width: 74px;
        height: 18px;
        transform: translateX(-50%);
        border-radius: var(--radius-pill);
        background: var(--bg-app);
        border: 1px solid var(--border);
    }

    .lp-phone .lp-shot-img,
    .lp-phone .lp-shot-placeholder {
        aspect-ratio: 390 / 844;
        border-radius: 28px;
        object-fit: cover;
    }

    .lp-phone .lp-shot-placeholder {
        padding: 16px;
    }

    /* --- Скачать ------------------------------------------------- */
    .lp-download {
        padding: 8px 0 84px;
    }

    .lp-download-card {
        position: relative;
        overflow: hidden;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 250px;
        align-items: center;
        gap: 36px;
        padding: 42px;
        border: 1px solid var(--glass-border);
        border-radius: var(--radius-xl);
        background: var(--bg-panel);
        background-image:
            radial-gradient(ellipse 55% 90% at 100% 50%,
                            var(--accent-soft), transparent 70%);
        box-shadow: var(--panel-shadow);
    }

    .lp-download-copy p {
        color: var(--text-muted);
        font-size: 16px;
    }

    .lp-download-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 22px 0;
        padding: 0;
        list-style: none;
    }

    .lp-download-meta li {
        display: flex;
        flex-direction: column;
        min-width: 108px;
        padding: 10px 14px;
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        background: var(--bg-sidebar-dark);
    }

    .lp-meta-label {
        color: var(--text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .lp-meta-value {
        color: var(--text-primary);
        font-family: var(--font-mono);
        font-size: 15px;
        font-weight: 700;
    }

    .lp-download-note {
        margin: 14px 0 0;
        color: var(--text-muted);
        font-size: 13px;
    }

    .lp-download-beta {
        margin: 12px 0 0;
        color: var(--accent-2);
        font-size: 14px;
        font-weight: 600;
    }

    .lp-download-aside {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 200px;
    }

    .lp-download-aside img {
        position: relative;
        z-index: 1;
        width: 160px;
        height: 160px;
        filter: drop-shadow(0 0 24px var(--border-glow));
    }

    .lp-download-ring {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 200px;
        height: 200px;
        transform: translate(-50%, -50%);
        border: 1px solid var(--glass-border);
        border-radius: 50%;
        background-image: var(--neon-grad);
        opacity: 0.16;
    }

    /* --- FAQ ----------------------------------------------------- */
    .lp-faq-layout {
        display: grid;
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        align-items: start;
        gap: 56px;
    }

    .lp-faq-head {
        position: sticky;
        top: 100px;
        margin-bottom: 0;
    }

    .lp-faq {
        border-top: 1px solid var(--border);
    }

    .lp-faq-item {
        border-bottom: 1px solid var(--border);
    }

    .lp-faq-item summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 20px 4px;
        color: var(--text-primary);
        font-size: 17px;
        font-weight: 700;
        cursor: pointer;
        list-style: none;
    }

    .lp-faq-item summary::-webkit-details-marker {
        display: none;
    }

    /* Раскрытие FAQ: плюс/минус — SVG из общего набора (icons.js), а не
       текстовые «+»/«−» из content. Размер и цвет задаёт CSS. */
    .lp-faq-mark {
        display: inline-flex;
        flex: none;
        align-items: center;
        justify-content: center;
        color: var(--accent-2);
    }

    .lp-faq-mark .lp-faq-minus {
        display: none;
    }

    .lp-faq-item[open] .lp-faq-plus {
        display: none;
    }

    .lp-faq-item[open] .lp-faq-minus {
        display: inline-block;
    }

    .lp-faq-item summary:hover {
        color: var(--accent-2);
    }

    .lp-faq-item p {
        margin: 0;
        padding: 0 4px 20px;
        color: var(--text-muted);
        font-size: 15px;
        line-height: 1.7;
    }

    /* --- Финальный призыв ---------------------------------------- */
    .lp-cta-band {
        padding: 0 0 88px;
    }

    .lp-cta-band-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 28px;
        padding: 36px 42px;
        border: 1px solid var(--glass-border);
        border-radius: var(--radius-xl);
        background-color: var(--bg-sidebar);
        background-image: linear-gradient(120deg, var(--accent-soft),
                                          transparent 60%);
        box-shadow: var(--glow-accent);
    }

    .lp-cta-band h2 {
        margin-bottom: 8px;
        font-size: clamp(24px, 2.6vw, 34px);
    }

    .lp-cta-band p {
        margin: 0;
        color: var(--text-muted);
    }

    /* --- Футер --------------------------------------------------- */
    .lp-footer {
        border-top: 1px solid var(--border);
        background: var(--bg-sidebar-dark);
    }

    .lp-footer-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
        gap: 36px;
        padding-top: 52px;
        padding-bottom: 40px;
    }

    .lp-footer-brand p {
        max-width: 34ch;
        margin: 14px 0 0;
        color: var(--text-muted);
        font-size: 14px;
    }

    .lp-footer-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        min-width: 0;
    }

    .lp-footer-col h2 {
        margin: 0 0 4px;
        color: var(--text-primary);
        font-size: 14px;
        font-weight: 800;
    }

    .lp-footer-col a {
        color: var(--text-muted);
        font-size: 14px;
    }

    .lp-footer-col a:hover {
        color: var(--accent-2);
    }

    .lp-footer-muted {
        color: var(--text-muted);
        font-size: 13px;
    }

    .lp-footer-bottom {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
        padding-top: 18px;
        padding-bottom: 28px;
        border-top: 1px solid var(--border);
    }

    .lp-footer-bottom p {
        margin: 0;
        color: var(--text-muted);
        font-size: 13px;
    }

    .lp-footer-licenses {
        max-width: 62ch;
    }

    /* --- Правовые страницы --------------------------------------- */
    .lp-legal-hero {
        padding: 52px 0 28px;
        border-bottom: 1px solid var(--border);
        background-image:
            radial-gradient(ellipse 55% 80% at 10% 0%,
                            var(--accent-soft), transparent 70%);
    }

    .lp-breadcrumb {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        margin-bottom: 22px;
        color: var(--text-muted);
        font-size: 13px;
    }

    .lp-breadcrumb a {
        color: var(--text-muted);
    }

    .lp-legal-hero h1 {
        max-width: 900px;
        margin: 0 0 12px;
        color: var(--text-primary);
        font-size: clamp(30px, 4vw, 52px);
        line-height: 1.1;
        letter-spacing: -0.02em;
    }

    .lp-legal-meta {
        margin: 0 0 18px;
        color: var(--text-muted);
        font-size: 14px;
    }

    .lp-legal-lead {
        max-width: 76ch;
        margin: 0;
        color: var(--text-muted);
        font-size: 17px;
        line-height: 1.7;
    }

    .lp-legal-layout {
        display: grid;
        grid-template-columns: 240px minmax(0, 1fr);
        align-items: start;
        gap: 56px;
        padding-top: 40px;
        padding-bottom: 88px;
    }

    .lp-toc {
        position: sticky;
        top: 96px;
        padding: 18px;
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        background: var(--bg-panel);
    }

    .lp-toc-title {
        margin: 0 0 10px;
        color: var(--text-muted);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .lp-toc ol {
        margin: 0;
        padding-left: 20px;
        color: var(--text-muted);
        font-size: 14px;
    }

    .lp-toc li {
        margin: 6px 0;
    }

    .lp-toc a {
        color: var(--text-muted);
    }

    .lp-toc a:hover {
        color: var(--accent-2);
    }

    .lp-legal {
        min-width: 0;
        max-width: 820px;
    }

    .lp-legal h2 {
        margin: 42px 0 14px;
        padding-top: 28px;
        border-top: 1px solid var(--border);
        color: var(--text-primary);
        font-size: 24px;
        line-height: 1.25;
        letter-spacing: -0.01em;
    }

    .lp-legal h2:first-child {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    .lp-legal p {
        margin: 0 0 14px;
        color: var(--text-normal);
        font-size: 16px;
        line-height: 1.75;
    }

    .lp-legal ul,
    .lp-legal ol {
        margin: 0 0 16px;
        padding-left: 24px;
        color: var(--text-normal);
    }

    .lp-legal li {
        margin: 6px 0;
        line-height: 1.7;
    }

    .lp-legal strong {
        color: var(--text-primary);
    }

    .lp-requisites {
        margin: 18px 0 20px;
        padding: 0;
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        background: var(--bg-panel);
        list-style: none;
        overflow: hidden;
    }

    .lp-requisites li {
        display: grid;
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 16px;
        margin: 0;
        padding: 12px 18px;
        border-top: 1px solid var(--border);
        font-size: 15px;
    }

    .lp-requisites li:first-child {
        border-top: 0;
    }

    .lp-requisites li > span {
        color: var(--text-muted);
    }

    .lp-requisites strong {
        overflow-wrap: anywhere;
    }

    .lp-template-note {
        margin-top: 44px;
        padding: 20px 22px;
        border: 1px solid var(--warning);
        border-radius: var(--radius-lg);
        background-color: var(--bg-panel);
        background-image: linear-gradient(120deg, var(--accent-soft),
                                          transparent 70%);
    }

    .lp-template-note strong {
        display: block;
        margin-bottom: 6px;
        color: var(--warning);
        font-size: 16px;
    }

    .lp-template-note p {
        margin: 0;
        color: var(--text-muted);
        font-size: 14px;
        line-height: 1.65;
    }

    .lp-table-wrap {
        overflow-x: auto;
        margin: 0 0 18px;
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
    }

    .lp-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 14px;
    }

    .lp-table th,
    .lp-table td {
        padding: 12px 14px;
        border-bottom: 1px solid var(--border);
        text-align: left;
        vertical-align: top;
    }

    .lp-table th {
        background: var(--bg-sidebar);
        color: var(--text-primary);
        font-size: 13px;
        letter-spacing: 0.02em;
    }

    .lp-table td {
        color: var(--text-muted);
    }

    .lp-table tr:last-child td {
        border-bottom: 0;
    }

    /* =========================================================
       АДАПТИВ
       Базовые правила выше описывают широкий экран, media-запросы —
       уточнения для узкого. Проверено на 1440 и 390.
       ========================================================= */

    @media (max-width: 1040px) {
        .lp-hero-grid,
        .lp-spotlight-grid,
        .lp-mobile-grid {
            grid-template-columns: minmax(0, 1fr);
            gap: 38px;
        }

        .lp-hero {
            padding-top: 56px;
        }

        .lp-hero-shot {
            max-width: 720px;
        }

        .lp-features {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .lp-mobile-grid {
            justify-items: start;
        }

        .lp-phone {
            justify-self: start;
        }

        .lp-download-card {
            grid-template-columns: minmax(0, 1fr);
        }

        .lp-download-aside {
            display: none;
        }

        .lp-faq-layout {
            grid-template-columns: minmax(0, 1fr);
            gap: 28px;
        }

        .lp-faq-head {
            position: static;
        }

        .lp-footer-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .lp-legal-layout {
            grid-template-columns: minmax(0, 1fr);
            gap: 26px;
        }

        .lp-toc {
            position: static;
        }

        .lp-toc ol {
            columns: 2;
            column-gap: 24px;
        }
    }

    @media (max-width: 820px) {
        .lp-nav {
            display: none;
        }

        .lp-header-inner {
            min-height: 64px;
            gap: 12px;
        }

        .lp-brand-name {
            font-size: 16px;
        }

        .lp-brand-mark {
            width: 32px;
            height: 32px;
        }
    }

    @media (max-width: 640px) {
        html {
            scroll-padding-top: 74px;
        }

        .lp-shell {
            padding: 0 18px;
        }

        .lp-hero {
            padding: 40px 0 42px;
        }

        .lp-hero h1 {
            font-size: clamp(32px, 9vw, 44px);
        }

        .lp-lead {
            font-size: 16px;
        }

        .lp-long {
            display: none;
        }

        .lp-short {
            display: inline;
        }

        .lp-btn-compact {
            padding: 8px 12px;
            font-size: 13px;
        }

        .lp-header-actions {
            gap: 6px;
        }

        .lp-cta-row {
            gap: 10px;
        }

        .lp-cta-row .lp-btn-lg {
            flex: 1 1 100%;
        }

        .lp-facts div {
            padding: 0 14px;
        }

        .lp-facts dd {
            font-size: 14px;
        }

        .lp-proof-row {
            grid-template-columns: minmax(0, 1fr);
            gap: 10px;
        }

        .lp-section {
            padding: 58px 0;
        }

        .lp-section-head {
            margin-bottom: 26px;
        }

        .lp-features,
        .lp-gallery {
            grid-template-columns: minmax(0, 1fr);
        }

        .lp-gallery-wide {
            grid-column: auto;
        }

        .lp-card {
            padding: 20px;
        }

        .lp-spotlight {
            padding: 52px 0;
        }

        .lp-download-card {
            padding: 24px;
        }

        .lp-download-meta li {
            min-width: 0;
            flex: 1 1 30%;
        }

        .lp-cta-band {
            padding-bottom: 60px;
        }

        .lp-cta-band-inner {
            padding: 26px 22px;
        }

        .lp-footer-grid {
            grid-template-columns: minmax(0, 1fr);
            gap: 26px;
            padding-top: 38px;
        }

        .lp-footer-bottom {
            flex-direction: column;
        }

        .lp-legal-hero {
            padding: 34px 0 22px;
        }

        .lp-legal-layout {
            padding-top: 26px;
            padding-bottom: 60px;
        }

        .lp-toc ol {
            columns: 1;
        }

        .lp-legal h2 {
            font-size: 21px;
            margin-top: 34px;
            padding-top: 22px;
        }

        .lp-legal p,
        .lp-legal li {
            font-size: 15px;
        }

        .lp-requisites li {
            grid-template-columns: minmax(0, 1fr);
            gap: 2px;
        }

        .lp-table {
            font-size: 13px;
        }

        .lp-table th,
        .lp-table td {
            padding: 10px;
        }
    }

    @media (max-width: 390px) {
        .lp-shell {
            padding: 0 14px;
        }

        .lp-brand-name {
            max-width: 96px;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .lp-btn-compact {
            padding: 8px 10px;
        }
    }

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

        .lp-btn,
        .lp-card,
        .lp-gallery-item {
            transition: none;
        }

        .lp-btn:hover,
        .lp-card:hover {
            transform: none;
        }
    }

    /* --- Новые блоки аудита лендинга ----------------------------- */
    .lp-proof-row--four {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lp-audience-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .lp-audience-card {
        padding: 24px;
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        background: var(--bg-panel);
    }

    .lp-audience-card h3,
    .lp-step h3 {
        margin: 0 0 8px;
        color: var(--text-primary);
        font-size: 18px;
        line-height: 1.3;
    }

    .lp-audience-card p,
    .lp-step p {
        margin: 0;
        color: var(--text-muted);
        font-size: 14.5px;
        line-height: 1.6;
    }

    .lp-how {
        padding-top: 0;
    }

    .lp-steps {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .lp-step {
        padding: 24px;
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        background: var(--bg-panel);
    }

    .lp-step-number {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        margin-bottom: 14px;
        border: 1px solid var(--glass-border);
        border-radius: 50%;
        background: var(--accent-soft);
        color: var(--accent-2);
        font-weight: 800;
    }

    .lp-free-panel {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: start;
        gap: 36px;
        padding: 36px 42px;
        border: 1px solid var(--glass-border);
        border-radius: var(--radius-xl);
        background: var(--bg-panel);
        background-image: linear-gradient(120deg, var(--accent-soft),
                                          transparent 60%);
    }

    .lp-free-list {
        margin: 0;
        columns: 2;
        column-gap: 24px;
    }

    .lp-free-list li {
        break-inside: avoid;
    }

    .lp-free-note {
        grid-column: 1 / -1;
        margin: 0;
        color: var(--text-muted);
        font-size: 14px;
    }

    .lp-download-note {
        max-width: 70ch;
    }

    .lp-visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .lp-features--five {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    /* --- Лендинг как окно приложения ------------------------------ */
    .lp-app-panel {
        position: relative;
        overflow: hidden;
        padding: 58px 30px 30px;
        border: 1px solid var(--glass-border);
        border-radius: var(--radius-xl);
        background: var(--bg-panel);
        background-image: var(--glass-gloss);
        box-shadow: var(--panel-shadow);
        backdrop-filter: var(--glass-blur);
    }

    .lp-app-panel::before {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 38px;
        border-bottom: 1px solid var(--border);
        background: var(--bg-sidebar-dark);
    }

    .lp-app-panel::after {
        content: "●  ●  ●     " attr(data-window);
        position: absolute;
        inset: 0 20px auto;
        height: 38px;
        display: flex;
        align-items: center;
        overflow: hidden;
        color: var(--text-faint);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        white-space: nowrap;
        text-overflow: ellipsis;
        pointer-events: none;
    }

    .lp-download-card.lp-app-panel {
        padding: 58px 42px 42px;
    }

    .lp-cta-band-inner.lp-app-panel {
        padding: 58px 42px 36px;
    }

    .lp-app-panel .lp-card {
        border-color: var(--glass-border);
        background: var(--glass-bg);
        background-image: var(--glass-gloss);
        backdrop-filter: var(--glass-blur);
    }

    .lp-app-panel .lp-card:hover {
        border-color: var(--neon-edge);
    }

    @media (max-width: 760px) {
        .lp-app-panel {
            padding: 50px 16px 20px;
            border-radius: var(--radius-lg);
        }

        .lp-app-panel::before,
        .lp-app-panel::after {
            height: 34px;
        }

        .lp-app-panel::after {
            inset: 0 12px auto;
            font-size: 9px;
        }

        .lp-download-card.lp-app-panel {
            padding: 50px 18px 24px;
        }

        .lp-cta-band-inner.lp-app-panel {
            padding: 50px 18px 24px;
        }
    }

    .lp-download-line {
        display: block;
        margin-top: 6px;
        color: var(--text-muted);
        font-size: 13px;
    }

    .lp-price p {
        max-width: 62ch;
        margin: 0;
        color: var(--text-muted);
        font-size: 17px;
        line-height: 1.7;
    }

    .lp-price-row {
        display: grid;
        grid-template-columns: 150px minmax(0, 1fr);
        align-items: center;
        gap: 30px;
    }

    .lp-price-value {
        color: var(--accent-hover);
        font-size: clamp(44px, 6vw, 72px);
        font-weight: 800;
        line-height: 1;
        letter-spacing: -0.05em;
        text-shadow: var(--glow-accent);
    }

    /* Панели-окна стоят вплотную, как панели приложения: зазор 10 px,
       а не секционные отступы лендинга. */
    body.landing-page .lp-section,
    body.landing-page .lp-spotlight,
    body.landing-page .lp-download,
    body.landing-page .lp-mobile {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    body.landing-page .lp-spotlight {
        border-top: 0;
        border-bottom: 0;
        background: transparent;
    }

    body.landing-page .lp-cta-band {
        padding: 10px 0 48px;
    }

    @media (max-width: 760px) {
        .lp-price-row {
            grid-template-columns: 92px minmax(0, 1fr);
            gap: 16px;
        }

        .lp-price-value {
            font-size: 42px;
        }
    }

    @media (max-width: 1100px) {
        .lp-features--five {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    @media (max-width: 760px) {
        .lp-features--five {
            grid-template-columns: minmax(0, 1fr);
        }
    }

    @media (max-width: 1100px) {
        .lp-audience-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .lp-free-panel {
            grid-template-columns: minmax(0, 1fr);
        }
    }

    @media (max-width: 760px) {
        .lp-facts {
            grid-template-columns: minmax(0, 1fr);
            gap: 12px;
        }

        .lp-facts div {
            padding: 0 0 10px;
            border-left: 0;
            border-bottom: 1px solid var(--border);
        }

        .lp-facts div:last-child {
            padding-bottom: 0;
            border-bottom: 0;
        }

        .lp-proof-row--four,
        .lp-audience-grid,
        .lp-steps {
            grid-template-columns: minmax(0, 1fr);
        }

        .lp-free-panel {
            padding: 26px 22px;
        }

        .lp-free-list {
            columns: 1;
        }
    }

    /* --- Discord-подобная главная: крупные округлые панели ---------- */
    body.landing-page {
        position: relative;
        background-color: var(--bg-app);
        background-image:
            radial-gradient(ellipse 85% 65% at 55% -12%,
                            var(--accent-soft), transparent 65%),
            radial-gradient(ellipse 55% 40% at 100% 30%,
                            var(--accent-2-soft), transparent 65%),
            linear-gradient(180deg, var(--bg-sidebar-dark),
                            var(--bg-app) 70%);
        color: var(--text-primary);
    }

    body.landing-page::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        opacity: 0.22;
        background-image:
            radial-gradient(circle, var(--text-primary) 0 1px,
                            transparent 1.5px),
            radial-gradient(circle, var(--text-primary) 0 1px,
                            transparent 1.6px);
        background-size: 110px 110px, 190px 190px;
        background-position: 0 0, 40px 70px;
    }

    body.landing-page .lp-header,
    body.landing-page #main,
    body.landing-page .lp-footer {
        position: relative;
        z-index: 1;
    }

    body.landing-page .lp-header {
        background: var(--glass-bg);
        border-bottom-color: var(--rim);
        backdrop-filter: var(--glass-blur);
    }

    body.landing-page .lp-brand-name {
        font-size: 20px;
        font-weight: 900;
        letter-spacing: -0.03em;
        text-transform: uppercase;
    }

    body.landing-page .lp-nav a {
        color: var(--text-normal);
    }

    body.landing-page .lp-nav a:hover {
        background: var(--glass-bg);
        color: var(--text-primary);
    }

    body.landing-page .lp-hero {
        position: relative;
        overflow: hidden;
        padding: 54px 0 88px;
    }

    body.landing-page .lp-hero::before {
        content: "";
        position: absolute;
        inset: -20% -10% 0 35%;
        pointer-events: none;
        background:
            radial-gradient(circle at 60% 32%,
                            var(--accent-soft), transparent 46%),
            radial-gradient(circle at 88% 72%,
                            var(--accent-2-soft), transparent 42%);
        filter: blur(28px);
    }

    body.landing-page .lp-hero-grid {
        position: relative;
        grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
        gap: 54px;
        align-items: center;
    }

    body.landing-page .lp-hero h1 {
        max-width: none;
        margin: 0;
        font-size: clamp(40px, 4vw, 56px);
        font-weight: 900;
        line-height: 0.94;
        letter-spacing: -0.045em;
        text-transform: uppercase;
    }

    body.landing-page .lp-hero .lp-gradient-text {
        background: var(--neon-grad);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    body.landing-page .lp-hero .lp-lead {
        max-width: 48ch;
        margin: 24px 0 0;
        color: var(--text-normal);
        font-size: 18px;
        line-height: 1.65;
    }

    body.landing-page .lp-hero .lp-cta-row {
        margin-top: 28px;
    }

    body.landing-page .lp-hero .lp-btn-primary {
        background: var(--text-primary);
        border-color: var(--text-primary);
        color: var(--bg-app);
        box-shadow: 0 18px 40px var(--accent-soft);
    }

    body.landing-page .lp-hero .lp-btn-primary:hover {
        background: var(--white);
        border-color: var(--white);
        color: var(--bg-app);
    }

    body.landing-page .lp-hero .lp-btn-secondary {
        background: var(--accent);
        border-color: var(--accent);
        color: var(--on-accent);
    }

    body.landing-page .lp-hero .lp-btn-secondary:hover {
        background: var(--accent-hover);
        border-color: var(--accent-hover);
        color: var(--on-accent);
    }

    body.landing-page .lp-hero-shot {
        position: relative;
        padding: 20px 12px 24px 16px;
    }

    body.landing-page .lp-hero-shot .lp-shot-frame {
        transform: rotate(2.5deg);
        border-color: var(--rim-strong);
        border-radius: 30px;
        box-shadow: 0 30px 90px var(--accent-soft),
                    0 0 0 1px var(--rim);
    }

    .lp-hero-mascot {
        position: absolute;
        left: -22px;
        bottom: -8px;
        z-index: 3;
        width: 92px;
        height: 92px;
        transform: rotate(-9deg);
        filter: drop-shadow(0 0 22px var(--border-glow));
    }

    .lp-hero-decor {
        position: absolute;
        inset: 0;
        z-index: 2;
        pointer-events: none;
    }

    .lp-float-icon {
        position: absolute;
        display: grid;
        place-items: center;
        width: 48px;
        height: 48px;
        border: 1px solid var(--rim-strong);
        border-radius: 16px;
        background: var(--bg-panel);
        color: var(--accent-2);
        box-shadow: var(--shadow-menu), var(--glow-cyan);
    }

    .lp-float-icon--mic {
        top: -12px;
        left: 18px;
        transform: rotate(-10deg);
    }

    .lp-float-icon--screen {
        top: 24%;
        right: -18px;
        transform: rotate(8deg);
        color: var(--accent-3);
        box-shadow: var(--shadow-menu), var(--glow-accent);
    }

    .lp-float-icon--chat {
        bottom: 22%;
        left: -24px;
        transform: rotate(7deg);
        color: var(--accent-hover);
    }

    /* Большие цветные панели вместо окон админки. */
    .lp-discord-panel {
        position: relative;
        overflow: hidden;
        padding: 48px;
        border: 1px solid var(--rim);
        border-radius: 48px;
        box-shadow: 0 30px 80px var(--overlay-soft);
    }

    .lp-discord-panel::before {
        content: "";
        position: absolute;
        top: -120px;
        right: -80px;
        width: 340px;
        height: 340px;
        border-radius: 50%;
        pointer-events: none;
        background: var(--accent-2-soft);
        filter: blur(30px);
    }

    .lp-discord-panel--dark {
        background:
            radial-gradient(circle at 85% 5%,
                            var(--accent-soft), transparent 46%),
            linear-gradient(135deg, var(--bg-panel), var(--bg-sidebar));
    }

    .lp-discord-panel--pink {
        background:
            radial-gradient(circle at 82% 0%,
                            var(--accent-2-soft), transparent 38%),
            linear-gradient(125deg, var(--accent-3) 0%,
                            var(--accent) 52%, var(--bg-sidebar) 120%);
    }

    .lp-discord-panel--blue {
        background:
            radial-gradient(circle at 0% 100%,
                            var(--accent-soft), transparent 45%),
            linear-gradient(135deg, var(--bg-sidebar),
                            var(--accent-2-soft));
    }

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

    .lp-discord-panel h2,
    .lp-price h2,
    .lp-cta-band h2 {
        max-width: 15ch;
        margin: 0 0 16px;
        font-size: clamp(34px, 4.2vw, 60px);
        font-weight: 900;
        line-height: 0.98;
        letter-spacing: -0.04em;
        text-transform: uppercase;
    }

    .lp-discord-panel p,
    .lp-price p,
    .lp-cta-band p {
        color: var(--text-primary);
    }

    .lp-discord-panel--pink .lp-lead,
    .lp-discord-panel--pink .lp-section-lead,
    .lp-discord-panel--pink p {
        color: var(--text-primary);
    }

    .lp-discord-panel .lp-card {
        border-color: var(--rim);
        border-radius: 24px;
        background: var(--glass-bg);
        background-image: var(--glass-gloss);
        backdrop-filter: var(--glass-blur);
    }

    .lp-discord-panel .lp-card:hover {
        border-color: var(--neon-edge);
        box-shadow: var(--glow-accent);
    }

    .lp-discord-panel .lp-card h3 {
        font-size: 19px;
    }

    .lp-spotlight-grid {
        gap: 46px;
    }

    .lp-spotlight-grid .lp-spotlight-copy h2 {
        color: var(--text-primary);
    }

    .lp-spotlight-grid .lp-spotlight-copy p {
        color: var(--text-primary);
        opacity: 0.86;
    }

    .lp-spotlight-shot .lp-shot-frame {
        border-radius: 24px;
        border-color: var(--rim-strong);
        box-shadow: 0 25px 70px var(--overlay-soft);
    }

    body.landing-page .lp-download-card.lp-discord-panel {
        padding: 48px 54px;
        border-radius: 48px;
    }

    /* Карточка Windows больше не является отдельной панелью внутри
       панели: внешняя рамка — тот же .lp-shell.lp-discord-panel, что у
       остальных блоков. Иначе она была уже на 56 px из-за padding shell. */
    body.landing-page .lp-download .lp-discord-panel > .lp-download-card {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
        overflow: visible;
    }

    body.landing-page .lp-download-card .lp-btn-primary {
        background: var(--text-primary);
        border-color: var(--text-primary);
        color: var(--bg-app);
    }

    body.landing-page .lp-download-card .lp-btn-primary:hover {
        background: var(--white);
        border-color: var(--white);
        color: var(--bg-app);
    }

    body.landing-page .lp-download-card .lp-btn-ghost {
        border-color: var(--rim-strong);
        color: var(--text-primary);
    }

    .lp-mobile-grid {
        gap: 50px;
    }

    .lp-mobile-grid h2 {
        color: var(--text-primary);
    }

    .lp-mobile-grid p {
        color: var(--text-primary);
        opacity: 0.86;
    }

    .lp-phone-frame {
        border-color: var(--rim-strong);
        border-radius: 42px;
        box-shadow: 0 28px 80px var(--overlay-soft),
                    0 0 0 1px var(--rim);
    }

    .lp-price-row {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 36px;
    }

    .lp-price-value {
        color: var(--text-primary);
        text-shadow: 0 0 30px var(--accent-2-soft);
    }

    .lp-price p {
        opacity: 0.88;
    }

    .lp-faq-layout {
        gap: 54px;
    }

    .lp-faq-head {
        top: 100px;
    }

    .lp-faq-head h2 {
        color: var(--text-primary);
    }

    .lp-faq {
        border-top-color: var(--rim);
    }

    .lp-faq-item {
        border-bottom-color: var(--rim);
    }

    .lp-faq-item summary {
        color: var(--text-primary);
    }

    .lp-cta-band-inner.lp-discord-panel {
        padding: 48px 54px;
        border-radius: 48px;
    }

    body.landing-page .lp-cta-band .lp-btn-primary {
        background: var(--text-primary);
        border-color: var(--text-primary);
        color: var(--bg-app);
    }

    body.landing-page .lp-cta-band .lp-btn-primary:hover {
        background: var(--white);
        border-color: var(--white);
        color: var(--bg-app);
    }

    body.landing-page .lp-cta-band .lp-btn-secondary {
        background: var(--glass-bg);
        border-color: var(--rim-strong);
        color: var(--text-primary);
    }

    body.landing-page .lp-cta-band .lp-btn-secondary:hover {
        background: var(--bg-hover);
        color: var(--text-primary);
    }

    body.landing-page .lp-section,
    body.landing-page .lp-spotlight,
    body.landing-page .lp-download,
    body.landing-page .lp-mobile {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    body.landing-page .lp-cta-band {
        padding: 12px 0 54px;
    }

    @media (max-width: 1000px) {
        body.landing-page .lp-hero-grid {
            grid-template-columns: minmax(0, 1fr);
            gap: 34px;
        }

        body.landing-page .lp-hero-shot {
            max-width: 760px;
        }

        .lp-discord-panel,
        body.landing-page .lp-download-card.lp-discord-panel,
        .lp-cta-band-inner.lp-discord-panel {
            padding: 34px;
            border-radius: 34px;
        }

        .lp-price-row {
            grid-template-columns: 130px minmax(0, 1fr);
        }
    }

    @media (max-width: 760px) {
        body.landing-page .lp-brand-name {
            max-width: none;
            font-size: 16px;
            overflow: visible;
            text-overflow: clip;
        }

        body.landing-page .lp-hero {
            padding: 36px 0 58px;
        }

        body.landing-page .lp-hero h1 {
            font-size: clamp(38px, 12vw, 52px);
        }

        body.landing-page .lp-hero .lp-lead {
            font-size: 16px;
        }

        body.landing-page .lp-hero-shot {
            padding: 12px 6px 20px;
        }

        body.landing-page .lp-hero-shot .lp-shot-frame {
            transform: none;
        }

        .lp-hero-mascot {
            left: 0;
            bottom: -12px;
            width: 66px;
            height: 66px;
        }

        .lp-float-icon {
            width: 38px;
            height: 38px;
            border-radius: 12px;
        }

        .lp-float-icon--screen {
            right: 4px;
        }

        .lp-float-icon--chat {
            left: 4px;
        }

        .lp-discord-panel,
        body.landing-page .lp-download-card.lp-discord-panel,
        .lp-cta-band-inner.lp-discord-panel {
            padding: 24px 18px;
            border-radius: 28px;
        }

        .lp-discord-panel h2,
        .lp-price h2,
        .lp-cta-band h2 {
            font-size: clamp(30px, 9vw, 42px);
        }

        .lp-spotlight-grid,
        .lp-mobile-grid,
        .lp-faq-layout {
            grid-template-columns: minmax(0, 1fr);
            gap: 26px;
        }

        .lp-faq-head {
            position: static;
        }

        .lp-price-row {
            grid-template-columns: 92px minmax(0, 1fr);
            gap: 16px;
        }

        .lp-price-value {
            font-size: 44px;
        }

        body.landing-page .lp-cta-band-inner {
            flex-direction: column;
            align-items: flex-start;
        }
    }

    /* --- Стрим: акцент на эфире, а не на «демонстрации экрана» --- */
    .lp-stream-kicker {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 12px;
        color: var(--text-primary);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .lp-live-dot {
        width: 8px;
        height: 8px;
        flex: none;
        border-radius: 50%;
        background: var(--danger);
        box-shadow: 0 0 0 4px var(--accent-soft),
                    0 0 14px var(--danger);
    }

    .lp-stream-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 22px;
    }

    .lp-stream-tags span {
        padding: 7px 12px;
        border: 1px solid var(--rim-strong);
        border-radius: var(--radius-pill);
        background: var(--glass-bg);
        color: var(--text-primary);
        font-size: 13px;
        font-weight: 700;
    }

    .lp-spotlight-shot {
        position: relative;
    }

    .lp-live-badge {
        position: absolute;
        top: -14px;
        right: -10px;
        z-index: 4;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 8px 12px;
        border: 1px solid var(--rim-strong);
        border-radius: var(--radius-pill);
        background: var(--bg-app);
        color: var(--text-primary);
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 0.12em;
        box-shadow: var(--shadow-menu);
    }

    .lp-live-badge .lp-live-dot {
        width: 7px;
        height: 7px;
    }

    @media (max-width: 760px) {
        .lp-live-badge {
            top: -10px;
            right: 4px;
        }

        .lp-stream-tags {
            margin-top: 16px;
        }
    }
}

/* Четыре карточки возможностей: без удалённого блока «Данные». */
.lp-features--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .lp-features--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .lp-features--four {
        grid-template-columns: minmax(0, 1fr);
    }
}
