/* ═══ Посадочные страницы (docs/seo/ARCHITECTURE.md §3) ═════════════════
   /models (хаб), /models/<slug> (семейство моделей), /compare/<a>-vs-<b>,
   страницы задач (/image-to-video…) и «О сервисе и контакты».

   Разметку целиком собирает сервер (services/seo/render.py → landing_html),
   pages/landing.js её только «усыновляет». Поэтому всё оформление — здесь, от
   классов сервера (.lp, .lp-hero, .lp-examples…): файл подключается в <head> до
   первого кадра, и страница с сервера сразу стоит на своих местах.

   Стиль: спокойная справочная страница на общем фоне сайта. Перламутровая
   заливка — только у одной главной кнопки (.btn-primary в герое); таблицы,
   карточки шагов и ссылки — нейтральное стекло с тонкой кромкой. Движение —
   только transform/opacity, без размытия и backdrop-filter; reduced-motion —
   без движения. Цели нажатия от 44 px, на телефоне поля 16 px и никакой
   прокрутки вбок: широкие таблицы переносят текст в ячейках. */

.lp {
    --lp-w: 1180px;          /* ширина страницы */
    --lp-read: 760px;        /* ширина текста для чтения */
    --lp-gap: clamp(56px, 7vw, 96px);
    width: 100%;
    max-width: var(--lp-w);
    margin: 0 auto;
    padding: clamp(20px, 3vw, 36px) var(--gutter) clamp(64px, 8vw, 112px);
    color: var(--text-2);
    font-size: var(--fs-base);
    line-height: var(--lh-body);
}
.lp > * + * { margin-top: var(--lp-gap); }
/* Разделы текста подряд — одна статья, ближе друг к другу. */
.lp > .lp-text + .lp-text { margin-top: clamp(36px, 4vw, 52px); }

/* Ссылки в тексте: подчёркивание тонкой линией, ярче при наведении. */
.lp :is(p, li, dd, td, th, figcaption) a:not(.btn, .lp-related a) {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--line-3);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: text-decoration-color var(--dur-2) ease;
}
.lp :is(p, li, dd, td, th, figcaption) a:not(.btn, .lp-related a):hover { text-decoration-color: currentColor; }
.lp a:focus-visible, .lp summary:focus-visible, .lp [role="button"]:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
    border-radius: 6px;
}
.lp strong, .lp b { color: var(--text); font-weight: var(--fw-semibold); }
/* Статья с сервера видна с первого кадра: общее «проявление заголовков по
   словам» (components/heading-reveal.js, css/motion.css) её не прячет и не
   гасит — иначе видимый h1 мигал бы при запуске. landing.js снимает с неё
   наблюдатель; до этого момента заголовки держит видимыми это правило. */
.hr-on .lp .hr-wait, .lp .hr-w { opacity: 1 !important; transform: none !important; }

/* Заголовки разделов: шрифт сайта для крупного, без прописных — это текст для чтения. */
.lp h2 {
    margin-bottom: 18px;
    font-family: var(--font-display);
    font-weight: var(--fw-semibold);
    font-size: clamp(21px, 2.3vw, 28px);
    line-height: 1.2;
    letter-spacing: -0.012em;
    color: var(--text);
    text-wrap: balance;
}
.lp h3 {
    margin-bottom: 10px;
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-snug);
    color: var(--text);
}

/* ── Хлебные крошки ────────────────────────────────────────────────────── */
/* Одна строка: длинное название страницы в конце обрезается многоточием. */
.lp-crumbs {
    display: flex;
    align-items: center;
    gap: 0 8px;
    min-width: 0;
    color: var(--text-4);
    font-size: var(--fs-sm);
    white-space: nowrap;
}
.lp-crumbs a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    flex: 0 0 auto;
    color: var(--text-3);
    transition: color var(--dur-2) ease;
}
.lp-crumbs a:hover { color: var(--text); }
.lp-crumbs [aria-current] { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--text-3); }
.lp > .lp-crumbs + .lp-hero { margin-top: clamp(20px, 3vw, 36px); }

/* ── Герой ─────────────────────────────────────────────────────────────── */
.lp-hero { display: flex; flex-direction: column; align-items: flex-start; max-width: 900px; }
.lp-eyebrow {
    margin-bottom: 14px;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-3);
}
.lp-hero h1 {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: clamp(30px, 4.4vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--text);
    text-wrap: balance;
}
.lp-lead {
    max-width: 64ch;
    margin-top: 20px;
    font-size: clamp(var(--fs-base), 1.4vw, var(--fs-lg));
    line-height: 1.6;
    color: var(--text-2);
    text-wrap: pretty;
}
.lp-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 28px;
}
.lp-cta .btn { --h: 52px; padding: 0 26px; font-size: var(--fs-base); }
.lp-price {
    color: var(--text-2);
    font-size: var(--fs-md);
    font-variant-numeric: tabular-nums;
}
.lp-independent {
    max-width: 62ch;
    margin-top: 22px;
    padding-left: 14px;
    border-left: 1px solid var(--line-2);
    color: var(--text-3);
    font-size: var(--fs-sm);
    line-height: 1.55;
    text-wrap: pretty;
}

/* ── Примеры ───────────────────────────────────────────────────────────── */
/* Сетка одинаковых рамок: 16:9 у роликов, 1:1 у картинок. Работа видна
   целиком (object-fit: contain) — вертикальный ролик стоит в рамке с полями по
   бокам, как в плеере, ничего не обрезано. Размер рамки задаёт CSS, поэтому до
   загрузки постера ничего не сдвигается.
   Колонок CSS (columns) здесь нет намеренно: в WebKit (Safari) кадры <video>
   внутри колонок рисуются не на своём месте — ролик наезжал на подпись
   соседа, третий столбец оставался пустым (проверено в WebKit, 27.09). */
.lp-examples {
    --lp-tile: 16 / 9;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row dense;      /* пара «было/стало» на всю строку — одиночные работы заполняют дыры */
    align-items: start;
    gap: 34px 18px;
}
.lp-examples:not(:has(video)) { --lp-tile: 1 / 1; }
/* Картинки на широком экране — по три в ряд (четыре работы — все в один ряд):
   квадраты по 550 px стояли бы стеной. Ролики — по два: 16:9 крупнее. */
@media (min-width: 1000px) {
    .lp-examples:not(:has(video)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lp-examples:not(:has(video)):has(> .lp-ex:nth-of-type(4):last-of-type):not(:has(.lp-pair)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lp-examples:has(> .lp-ex > :is(img, video)) > .lp-ex:has(> .lp-pair) { grid-column: span 2; }
    /* Одни пары (правка фото): пара слева, подпись справа — строка на работу. */
    .lp-examples:not(:has(> .lp-ex > :is(img, video))) > .lp-ex:has(> .lp-pair) {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        align-items: center;
        column-gap: 28px;
    }
    .lp-examples:not(:has(> .lp-ex > :is(img, video))) > .lp-ex > figcaption { padding-top: 0; }
    .lp-examples:not(:has(> .lp-ex > :is(img, video))) .lp-prompt { -webkit-line-clamp: 6; line-clamp: 6; }
}
.lp-examples > h2 { grid-column: 1 / -1; margin-bottom: -12px; }
.lp-examples:has(> .lp-ex:only-of-type) { grid-template-columns: minmax(0, 760px); }
/* Пара «было/стало» — на всю строку (на широком экране — на две колонки из
   трёх): два квадрата вровень с одиночными работами. */
.lp-ex:has(> .lp-pair) { grid-column: 1 / -1; }

.lp-ex { position: relative; min-width: 0; margin: 0; }
.lp-ex > video,
.lp-ex > img,
.lp-pair-out > video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--r-lg);
    background: var(--panel-2);
    box-shadow: inset 0 0 0 1px var(--line);
    object-fit: cover;
}
/* Рамка сетки — от планшета; на телефоне одна колонка, и работа идёт в своей
   пропорции (из атрибутов width/height — без правила aspect-ratio здесь, иначе
   оно перебило бы эту подсказку браузера). */
@media (min-width: 641px) {
    .lp-ex > :is(video, img) { aspect-ratio: var(--lp-tile); object-fit: contain; }
}
/* Кромка поверх кадра (у <video> и <img> inset-тень не видна поверх содержимого). */
.lp-ex > :is(video, img) { outline: 1px solid rgba(255, 255, 255, 0.06); outline-offset: -1px; }
/* SVG-логотип — на светлом листе: так его видно и так он сделан. */
.lp-ex > img[src$=".svg"] { background: #f4f3f0; }

/* «Было / стало»: два кадра рядом одного размера. */
.lp-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lp-pair-src, .lp-pair-out { position: relative; min-width: 0; }
.lp-pair img, .lp-pair video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--panel-2);
}
.lp-pair-src img, .lp-pair-src video { border-radius: var(--r-lg) var(--r-xs) var(--r-xs) var(--r-lg); }
.lp-pair-out img, .lp-pair-out video { border-radius: var(--r-xs) var(--r-lg) var(--r-lg) var(--r-xs); }
.lp-pair span {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: rgba(8, 8, 12, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    pointer-events: none;
}

.lp-ex figcaption {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 6px;
    padding: 12px 2px 0;
    font-size: var(--fs-sm);
    line-height: 1.5;
}
.lp-ex figcaption > b { flex: 1 1 100%; color: var(--text); font-size: var(--fs-md); font-weight: var(--fw-semibold); line-height: 1.4; }
.lp-model, .lp-nosound {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 10px;
    border-radius: var(--r-pill);
    background: var(--glass-1);
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--text-2);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
}
.lp-nosound { color: var(--text-3); }
/* Промпт — три строки; целиком раскрывается нажатием (landing.js). */
.lp-prompt {
    flex: 1 1 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    color: var(--text-3);
    overflow-wrap: anywhere;
}
.lp-prompt[role="button"] { cursor: pointer; }
.lp-prompt[role="button"]:hover { color: var(--text-2); }
.lp-prompt.is-open { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }

/* Кнопки поверх кадра (их ставит landing.js): пауза ролика и «Попробовать промпт».
   Нейтральное тёмное стекло без размытия — под ними движется ролик. */
.lp-play, .lp-try {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    border: 0;
    border-radius: var(--r-pill);
    background: rgba(8, 8, 12, 0.7);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    -webkit-tap-highlight-color: transparent;
    transition: opacity var(--dur-2) ease, transform var(--dur-1) var(--ease-out), background var(--dur-2) ease;
}
/* Видно 36 px, нажать можно 44 px. */
.lp-play::after, .lp-try::after { content: ''; position: absolute; inset: -4px; border-radius: inherit; }
.lp-play:hover, .lp-try:hover { background: rgba(20, 20, 28, 0.86); }
.lp-play:active, .lp-try:active { transform: scale(0.96); }
.lp-play:focus-visible, .lp-try:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.lp-play { top: 10px; right: 10px; width: 36px; padding: 0; }
.lp-play svg { width: 15px; height: 15px; }
.lp-try { top: 10px; left: 10px; padding: 0 14px 0 12px; }
.lp-try svg { width: 15px; height: 15px; }
/* С мышью кнопки появляются при наведении на работу; на сенсорном экране видны всегда. */
@media (hover: hover) and (pointer: fine) {
    .lp-ex .lp-try, .lp-ex .lp-play[data-state="playing"] { opacity: 0; }
    .lp-ex:is(:hover, :focus-within) :is(.lp-try, .lp-play) { opacity: 1; }
}

/* ── Возможности (dl из каталога) ──────────────────────────────────────── */
/* Строки «название — значение», на широком экране — по две пары в строке.
   Линия под парой сплошная (отступ названия — внутри ячейки, не щелью сетки),
   между парами — просвет. */
.lp-specs dl {
    display: grid;
    grid-template-columns: minmax(120px, max-content) minmax(0, 1fr);
    margin: 0;
}
.lp-specs dt, .lp-specs dd {
    margin: 0;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: var(--fs-md);
}
.lp-specs dt { padding-right: 24px; color: var(--text-3); }
.lp-specs dd { color: var(--text); font-variant-numeric: tabular-nums; overflow-wrap: break-word; }
@media (min-width: 900px) {
    .lp-specs dl { grid-template-columns: minmax(150px, max-content) minmax(0, 1fr) 40px minmax(150px, max-content) minmax(0, 1fr); }
    .lp-specs dt:nth-of-type(odd) { grid-column: 1; }
    .lp-specs dt:nth-of-type(even) { grid-column: 4; }
}

/* ── Цены ──────────────────────────────────────────────────────────────── */
/* Таблицы моделей семейства — карточками в сетке; подпись таблицы — над карточкой. */
.lp-prices {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
    align-items: start;
    gap: 18px;
}
.lp-prices > :not(table) { grid-column: 1 / -1; }
.lp-prices > h2 { margin-bottom: 4px; }
.lp-ptable, .lp-ctable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: var(--fs-md);
    font-variant-numeric: tabular-nums;
}
.lp-ptable {
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.lp-ptable caption {
    padding: 0 2px 10px;
    caption-side: top;
    text-align: left;
    color: var(--text);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-md);
}
.lp-ptable :is(th, td) {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid var(--line);
    overflow-wrap: break-word;
}
.lp-ptable :is(thead tr, tbody:first-child tr:first-child) > * { border-top: 0; }
.lp-ptable thead th { color: var(--text-3); font-size: var(--fs-sm); font-weight: var(--fw-medium); }
.lp-ptable tbody th { color: var(--text); font-weight: var(--fw-medium); }
.lp-ptable td { color: var(--text-2); }
.lp-ptable :is(td, thead th:not(:first-child)) { text-align: right; }
@media (min-width: 641px) { .lp-ptable tbody td:last-child { white-space: nowrap; } }
/* Таблица в одну строку (без подписи) — вровень с карточками, у которых подпись сверху. */
.lp-prices > .lp-ptable:not(:has(> caption)) { margin-top: calc(var(--fs-md) * 1.55 + 10px); }
.lp-na {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: var(--r-pill);
    box-shadow: inset 0 0 0 1px var(--line-2);
    color: var(--text-3);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
}
.lp-note, .lp-checked { color: var(--text-3); font-size: var(--fs-sm); }
.lp-note { margin-top: 6px; }
.lp-checked { margin-top: -8px; }

/* Хаб: пять видов моделей. На широком экране — две колонки (кладкой: списки
   разной длины), подписи вида и сноски — на всю ширину. */
.lp-prices:has(> .lp-kind) { display: block; }
.lp-kind {
    margin: 0 0 34px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    scroll-margin-top: calc(var(--nav-h) + var(--tabs-h) + 20px);   /* под шапкой сайта */
}
.lp-kind h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.lp-count { color: var(--text-3); font-size: var(--fs-sm); font-weight: var(--fw-regular); }
.lp-kind .lp-ptable :is(th, td) { padding-top: 10px; padding-bottom: 10px; }
@media (min-width: 1100px) {
    .lp-prices:has(> .lp-kind) { columns: 2; column-gap: 28px; }
    .lp-prices:has(> .lp-kind) > :not(.lp-kind) { column-span: all; }
}
.lp-prices > h2 + .lp-kinds-nav { margin-top: 0; }
/* Переход к виду моделей (ставит landing.js над таблицами хаба). */
.lp-kinds-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.lp-kinds-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: var(--r-pill);
    background: var(--glass-1);
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--text-2);
    font-size: var(--fs-md);
    transition: background var(--dur-2) ease, color var(--dur-2) ease;
}
.lp-kinds-nav a:hover { background: var(--glass-2); color: var(--text); }
.lp-kinds-nav a span { color: var(--text-3); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }

/* ── Сравнение ─────────────────────────────────────────────────────────── */
.lp-compare { max-width: 900px; }
.lp-ctable { table-layout: fixed; }
.lp-ctable :is(th, td) {
    padding: 13px 14px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid var(--line);
    overflow-wrap: break-word;
}
.lp-ctable tr > :first-child { padding-left: 0; width: 34%; }
.lp-ctable thead th { border-top: 0; padding-bottom: 12px; color: var(--text); font-size: var(--fs-lg); font-weight: var(--fw-semibold); }
.lp-ctable tbody th { color: var(--text-3); font-weight: var(--fw-regular); }
.lp-ctable td { color: var(--text); }

/* ── Как начать ────────────────────────────────────────────────────────── */
.lp-how ol {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: lp-step;
}
.lp-how li {
    position: relative;
    padding: 20px 20px 22px;
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: var(--text-2);
    counter-increment: lp-step;
    text-wrap: pretty;
}
.lp-how li::before {
    content: counter(lp-step, decimal-leading-zero);
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
    letter-spacing: 0.04em;
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
}

/* ── Текст ─────────────────────────────────────────────────────────────── */
.lp-text { max-width: var(--lp-read); }
.lp-text p { margin: 0 0 14px; text-wrap: pretty; }
.lp-text p:last-child { margin-bottom: 0; }
.lp-text ul, .lp-text ol { display: grid; gap: 8px; margin: 0; padding-left: 1.25em; }
.lp-text p + :is(ul, ol) { margin-top: 4px; }
.lp-text li { padding-left: 2px; text-wrap: pretty; }
.lp-text li::marker { color: var(--text-4); }

/* ── Вопросы: <details> раскрываются сами, без JS ─────────────────────── */
.lp-faq { max-width: 880px; }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq details:first-of-type { border-top: 1px solid var(--line); }
.lp-faq summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 14px 40px 14px 0;
    color: var(--text);
    font-weight: var(--fw-medium);
    cursor: pointer;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
    transition: color var(--dur-2) ease;
}
.lp-faq summary::-webkit-details-marker { display: none; }
/* Шеврон — повёрнутый уголок, при раскрытии поворачивается (только transform). */
.lp-faq summary::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 1.5px solid var(--text-3);
    border-bottom: 1.5px solid var(--text-3);
    transform: rotate(45deg);
    transition: transform var(--dur-2) var(--ease-out);
}
.lp-faq details[open] > summary::after { transform: translateY(4px) rotate(-135deg); }
.lp-faq details > div { padding: 0 40px 18px 0; color: var(--text-2); text-wrap: pretty; }

/* ── Похожие страницы ──────────────────────────────────────────────────── */
.lp-related ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.lp-related a {
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    min-height: 60px;
    height: 100%;
    padding: 14px 44px 14px 18px;
    border-radius: var(--r-lg);
    background: var(--glass-1);
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--text);
    font-weight: var(--fw-medium);
    line-height: 1.35;
    transition: background var(--dur-2) ease, box-shadow var(--dur-2) ease;
}
/* Стрелка-уголок справа, при наведении сдвигается (только transform). */
.lp-related a::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-top: 1.5px solid var(--text-3);
    border-right: 1.5px solid var(--text-3);
    transform: rotate(45deg);
    transition: transform var(--dur-2) var(--ease-out);
}
.lp-related a:hover { background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.lp-related a:hover::after { transform: translateX(3px) rotate(45deg); }

/* ── Телефон ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .lp { --lp-gap: 56px; padding-top: 14px; }
    .lp-hero h1 { font-size: clamp(27px, 7.6vw, 34px); line-height: 1.12; }
    .lp-lead { margin-top: 16px; }
    .lp-cta { margin-top: 22px; gap: 10px 14px; }
    .lp-cta .btn { --h: 50px; }
    .lp-examples { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
    .lp-examples > h2 { margin-bottom: -10px; }
    .lp-ptable :is(th, td) { padding: 11px 10px; font-size: var(--fs-sm); }
    .lp-ptable tr > :first-child { padding-left: 14px; }
    .lp-ptable tr > :last-child { padding-right: 14px; }
    .lp-prices > .lp-ptable:not(:has(> caption)) { margin-top: 0; }
    .lp-ctable :is(th, td) { padding: 12px 8px; font-size: var(--fs-sm); }
    .lp-ctable thead th { font-size: var(--fs-md); }
    .lp-faq details > div { padding-right: 8px; }
    .lp-how li { padding: 16px 16px 18px; }
}
/* Узкий телефон (320–400): у таблиц до четырёх колонок (разрешение × звук ×
   видео-референс) — плотнее ячейки и перенос длинных подписей по слогам,
   чтобы таблица помещалась без прокрутки вбок. */
@media (max-width: 400px) {
    .lp-ptable :is(th, td) { padding: 10px 7px; font-size: var(--fs-xs); }
    .lp-ptable tr > :first-child { padding-left: 12px; }
    .lp-ptable tr > :last-child { padding-right: 12px; }
    .lp-ptable thead th { -webkit-hyphens: auto; hyphens: auto; }
    .lp-ctable :is(th, td) { padding: 11px 6px; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-faq summary::after, .lp-related a::after, .lp-play, .lp-try { transition: none; }
}
