/* Главная: блоки редизайна 27.09.2026 (выбор владельца по прототипу
   design/landing/v3/): шапки нового формата («Что вы хотите вести?»),
   «Стена постов», «Обзор продукта», «Два способа», Студия, Аналитика,
   «Не просто нейросеть», «Весь Taipy», тарифы, вопросы, блог и финал
   «Закат на террасе». Префикс lp-. Шапка и подвал сайта - site-chrome.css,
   навигатор разделов - vt-path.css. Появление блоков (.lp-rise) включается
   только с JS (класс vt-js на html) и выключено при reduced-motion. */

:root {
  --lp-ink: #14123a;
  --lp-ink2: #55517a;
  --lp-ink3: #77739a;
  --lp-mute: #a19db9;
  --lp-line: #e8e6f0;
  --lp-line2: #f0eef6;
  --lp-tint: #f7f6fc;
  --lp-paper: #fbfaff;
  --lp-ind: #4f46e5;
  --lp-vio: #7c3aed;
  --lp-pink: #ff48b0;
  --lp-grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 58%, #a855f7 100%);
  --lp-gradbtn: linear-gradient(135deg, #4f46e5, #7c3aed 62%, #d16bd6);
  --lp-ease: cubic-bezier(.22, .75, .25, 1);
  --lp-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --lp-sh1: 0 0 0 1px rgba(20, 18, 58, .05), 0 24px 48px -30px rgba(40, 34, 120, .38);
  --lp-sh2: 0 0 0 1px rgba(20, 18, 58, .06), 0 2px 4px -2px rgba(20, 18, 58, .06), 0 40px 80px -44px rgba(40, 34, 120, .38), 0 24px 48px -32px rgba(20, 18, 58, .2);
}
/* Переход к разделу (навигатор, ссылки #...) ставит заголовок раздела сразу под
   шапкой и пилюлей навигатора (+56 px), а не его пустое верхнее поле:
   отрицательный scroll-margin = поле секции минус 12 px воздуха. */
html { scroll-padding-top: calc(var(--site-hdr, 72px) + 56px); }
#brief-cinema, #advantages, .lp-sec[id] { scroll-margin-top: calc(12px - clamp(72px, 6.4vw, 104px)); }
#studio, #pricing, #faq, #blog { scroll-margin-top: -68px; }
#film, #interactive-tour { scroll-margin-top: -52px; }
@media (min-width: 1024px) { #studio, #pricing, #faq, #blog { scroll-margin-top: -100px; } }
@media (max-width: 900px) { #brief-cinema { scroll-margin-top: -44px; } }
@media (max-width: 767px) { #advantages, .lp-sec[id] { scroll-margin-top: -48px; } }

/* ---------- база блока ---------- */
.lp-sec { position: relative; padding: clamp(72px, 6.4vw, 104px) 0; background: #fff; color: var(--lp-ink); font-family: var(--lp-font); -webkit-font-smoothing: antialiased; overflow: hidden; }
.lp-sec--tint { background: var(--lp-paper); }
.lp-sec--line { border-top: 1px solid #f3f2f8; }
:where(.lp-sec, .lp-x) *, :where(.lp-sec, .lp-x) *::before, :where(.lp-sec, .lp-x) *::after { box-sizing: border-box; }
:where(.lp-sec, .lp-x) :where(h2, h3, h4, p, ul, ol, figure, blockquote) { margin: 0; }
:where(.lp-sec, .lp-x) :where(ul, ol) { padding: 0; list-style: none; }
:where(.lp-sec, .lp-x) a { color: inherit; text-decoration: none; }
:where(.lp-sec, .lp-x) img { display: block; max-width: 100%; }
:where(.lp-sec, .lp-x) svg { display: block; flex: none; }
.lp-x { font-family: var(--lp-font); -webkit-font-smoothing: antialiased; }
.lp-wrap { position: relative; width: min(1240px, calc(100% - 64px)); margin: 0 auto; }
:where(.lp-sec, .lp-x) :focus-visible { outline: 2px solid var(--lp-ind); outline-offset: 3px; border-radius: 8px; }

/* шапка блока - формат «Что вы хотите вести?»: сноска, заголовок в две
   строки (вторая - градиентом) и лид сбоку за тонкой чертой */
.lp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: clamp(36px, 3.6vw, 52px); text-align: left; font-family: var(--lp-font); }
.lp-head .lp-eyebrow { margin-bottom: 16px; }
.lp-h2 { font-size: clamp(32px, 3.3vw, 46px); line-height: 1.08; font-weight: 700; letter-spacing: -.035em; color: var(--lp-ink); text-wrap: balance; }
.lp-h2 .g { display: block; padding-bottom: .1em; margin-bottom: -.1em; background: var(--lp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { flex: none; max-width: 430px; padding-left: 20px; border-left: 1px solid var(--lp-line); font-size: 16px; line-height: 1.6; letter-spacing: -.005em; color: var(--lp-ink2); text-wrap: pretty; }

/* кнопки и ссылки */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 14px; background: var(--lp-gradbtn); color: #fff !important; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 28px -12px rgba(79, 70, 229, .65), 0 3px 8px -3px rgba(79, 70, 229, .35); transition: transform .25s var(--lp-ease), box-shadow .25s var(--lp-ease), filter .25s; }
.lp-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.lp-btn svg { width: 18px; height: 18px; }
.lp-more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--lp-ind) !important; white-space: nowrap; }
.lp-more svg { width: 16px; height: 16px; transition: transform .25s var(--lp-ease); }
.lp-more:hover svg { transform: translateX(3px); }
.lp-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lp-note { font-size: 13.5px; color: var(--lp-ink3); }
.lp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* появление при прокрутке - только с JS */
.vt-js .lp-rise { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--lp-ease), transform .7s var(--lp-ease); }
.vt-js .lp-rise.is-in { opacity: 1; transform: none; }
.lp-rise.d1 { transition-delay: .08s; } .lp-rise.d2 { transition-delay: .16s; } .lp-rise.d3 { transition-delay: .24s; } .lp-rise.d4 { transition-delay: .32s; }

/* кадр арта: вырезка сцены новой страницы (design/landing/v3/tools/landing_art.py) */
.lp-crop { position: relative; display: block; overflow: hidden; }
.lp-crop > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .8s var(--lp-ease); }
.lp-kick { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-ink3); }
.lp-kick i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--lp-ind)); }
.lp-facts { display: grid; gap: 11px; }
.lp-facts li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--lp-ink); }
.lp-facts svg { width: 19px; height: 19px; margin-top: 1px; color: var(--lp-ind); }
.lp-time { position: absolute; left: 14px; top: 14px; z-index: 2; height: 28px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12.5px; font-weight: 600; color: var(--lp-ink); box-shadow: 0 4px 12px -6px rgba(20, 18, 58, .3); }

@media (max-width: 1000px) {
  .lp-head { display: block; }
  .lp-lead { margin-top: 18px; padding-left: 0; border-left: 0; max-width: 40em; }
}
@media (max-width: 767px) {
  .lp-sec { padding: 60px 0 64px; }
  .lp-wrap { width: calc(100% - 32px); }
  .lp-h2 { font-size: 31px; line-height: 1.1; }
  .lp-lead { margin-top: 16px; font-size: 15.5px; line-height: 1.58; }
  .lp-head { margin-bottom: 28px; }
  .lp-actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .lp-btn { height: 52px; font-size: 16px; }
}

/* ============ Сценарии: «Стена постов» ============
   Три колонки живых постов плывут навстречу друг другу; на телефоне - две
   ленты справа налево. Карточки удвоены для бесконечной ленты: вторая
   половина скрыта от чтения с экрана (aria-hidden + inert). При
   reduced-motion ленты стоят, на телефоне листаются пальцем. */
.lp-wall { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; height: 660px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.lp-wall__col { overflow: hidden; }
.lp-wall__track { display: flex; flex-direction: column; gap: 18px; animation: lpUp 70s linear infinite; }
.lp-wall__col--1 .lp-wall__track { animation-direction: reverse; animation-duration: 82s; }
.lp-wall__col--2 .lp-wall__track { animation-duration: 76s; }
.lp-wall:hover .lp-wall__track, .lp-wall:focus-within .lp-wall__track { animation-play-state: paused; }
.lp-wall.is-off .lp-wall__track { animation-play-state: paused; }
@keyframes lpUp { to { transform: translateY(calc(-50% - 9px)); } }
.lp-wp { display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 14px; border-radius: 20px; background: #fff; box-shadow: var(--lp-sh1); }
.lp-wp__hd { display: flex; align-items: center; gap: 10px; }
.lp-wp__ava { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.lp-wp__ch { flex: 1; min-width: 0; line-height: 1.2; }
.lp-wp__ch b { display: block; font-size: 14px; font-weight: 700; color: var(--lp-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-wp__ch small { display: block; font-size: 12px; color: var(--lp-ink3); }
.lp-pl { width: 18px; height: 18px; flex: none; border-radius: 5px; }
.lp-wp__ph { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; object-fit: cover; margin-top: 2px; background: #ece9f5; }
.lp-wp__t { font-size: 15.5px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; color: var(--lp-ink); }
.lp-wp__p { font-size: 13.5px; line-height: 1.5; color: var(--lp-ink2); }
.lp-wp__tag { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--lp-ind); }
.lp-wp__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--lp-grad); }
.lp-uccta { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 36px; }
@media (max-width: 1100px) {
  .lp-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-wall__col--2 { display: none; }
}
@media (max-width: 767px) {
  .lp-uccta { flex-direction: column; gap: 16px; margin-top: 28px; }
  .lp-uccta .lp-btn { width: 100%; }
  .lp-wall { display: flex; flex-direction: column; gap: 12px; height: auto; margin: 0 -16px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
  .lp-wall__col, .lp-wall__col--2 { display: block; overflow: visible; }
  .lp-wall__col--2 { display: none; }
  .lp-wall__track { flex-direction: row; width: max-content; gap: 12px; animation-name: lpLeft; animation-duration: 60s; }
  .lp-wall__track .lp-wp { width: 250px; }
  .lp-wall__col--1 .lp-wall__track { animation-duration: 66s; }
  @keyframes lpLeft { to { transform: translateX(calc(-50% - 6px)); } }
}
@media (prefers-reduced-motion: reduce) {
  .lp-wall__track { animation: none; }
  .lp-wall [data-dup] { display: none; }
  .lp-wall { height: auto; max-height: 660px; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .lp-wall { -webkit-mask-image: none; mask-image: none; margin: 0 -16px; }
  .lp-wall__col { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 16px; }
  .lp-wall__col::-webkit-scrollbar { display: none; }
  .lp-wall__track .lp-wp { scroll-snap-align: center; }
}

/* ============ Обзор продукта: шапка нового формата и карточка ролика ============
   Сцена у воды (небо, вода, лодка, птицы) - прежняя, из landing.css (.tk-*).
   Данные карточки - словарь tour_video во вьюхе главной. */
/* шапка - по ширине карточки ролика под ней: заголовок и лид рядом, не по краям окна */
.lp-tkhead { position: relative; width: min(880px, calc(100% - 64px)); margin: 0 auto; gap: 40px; }
.lp-tkhead .lp-lead { max-width: 400px; color: #3f3a68; border-left-color: rgba(20, 18, 58, .14); }
/* узкая шапка по центру над карточкой: сноска - отдельной строкой над обоими,
   заголовок и лид выровнены по центру друг друга (владелец 27.09: «левый блок
   выше описания, кривовато»). До 1000 px шапка столбиком, как везде. */
@media (min-width: 1001px) {
  .lp-tkhead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 40px; align-items: center; margin-top: 28px; }
  .lp-tkhead > div { display: contents; }
  .lp-tkhead .lp-eyebrow { grid-column: 1 / -1; grid-row: 1; }
  .lp-tkhead .lp-h2 { grid-column: 1; grid-row: 2; }
  .lp-tkhead .lp-lead { grid-column: 2; grid-row: 2; }
}
.tk-stage.lp-tkstage { width: min(880px, calc(100% - 32px)); margin-top: clamp(40px, 5vw, 64px); }
/* надписи ближе к ролику: шапка ниже на 28 px (выше), карточка на прежнем месте */
@media (min-width: 1001px) { .tk-stage.lp-tkstage { margin-top: 36px; } }
.lp-tkc { display: grid; grid-template-columns: 460px minmax(0, 1fr); align-items: center; gap: 26px; width: 100%; padding: 12px 26px 12px 12px; border-radius: 30px; color: var(--lp-ink); text-decoration: none; font-family: var(--lp-font); background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: blur(22px) saturate(1.35); backdrop-filter: blur(22px) saturate(1.35); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 34px 80px -38px rgba(40, 24, 110, .5), 0 8px 24px -16px rgba(40, 24, 110, .18); transition: transform .3s var(--lp-ease), box-shadow .3s ease; }
a.lp-tkc:hover { transform: translateY(-2px); box-shadow: 0 42px 90px -38px rgba(40, 24, 110, .58), 0 10px 28px -16px rgba(40, 24, 110, .2); }
a.lp-tkc:focus-visible { outline: 3px solid var(--lp-ind); outline-offset: 4px; }
.lp-tkc__poster { aspect-ratio: 16 / 9; border-radius: 20px; background: #e9e5f6; }
.lp-tkc__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 54, 0) 40%, rgba(20, 16, 54, .38)); pointer-events: none; }
.lp-tkc__play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; color: var(--lp-ind); background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 8px rgba(255, 255, 255, .22), 0 14px 30px -12px rgba(20, 16, 54, .55); transition: transform .3s var(--lp-ease); }
.lp-tkc__play svg { width: 22px; height: 22px; }
a.lp-tkc:hover .lp-tkc__play { transform: scale(1.06); }
.lp-tkc__len { position: absolute; right: 10px; bottom: 10px; z-index: 2; height: 24px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 8px; background: rgba(20, 16, 54, .6); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lp-tkc__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.lp-tkc__t { font-size: 20px; line-height: 1.28; font-weight: 700; letter-spacing: -.02em; color: var(--lp-ink); text-wrap: balance; }
.lp-tkc__meta { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13.5px; color: var(--lp-ink3); }
.lp-tkc__meta span + span::before { content: "·"; margin: 0 8px; color: var(--lp-mute); }
.lp-tkc__btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; margin-top: 4px; padding: 0 18px; border-radius: 13px; background: var(--lp-gradbtn); color: #fff; font-size: 14.5px; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 26px -12px rgba(79, 70, 229, .6); }
.lp-tkc__btn svg { width: 16px; height: 16px; }
/* карточка обзора стоит неподвижно (решение владельца 27.09): без парения и покачивания отражения */
.lp-tkstage .tk-float, .lp-tkstage .tk-refl { animation: none; }
.tk-refl .lp-tkc { box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .92); }
@media (max-width: 1000px) {
  .lp-tkhead { width: min(880px, calc(100% - 32px)); }
  .lp-tkc { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .lp-tkhead { width: calc(100% - 32px); }
  .lp-tkc { grid-template-columns: 1fr; gap: 14px; padding: 10px 10px 18px; border-radius: 26px; }
  .lp-tkc__body { padding: 0 8px; }
  .lp-tkc__t { font-size: 18px; }
  .lp-tkc__btn { align-self: stretch; justify-content: center; height: 50px; }
  .tk-stage.lp-tkstage .tk-refl { display: none; }
  .lp-tkc__meta span:nth-child(n+3) { display: none; }
}

/* ============ Два способа работать: «День и ночь» ============
   Две сцены-двери. Строки дверей лежат в одной сетке (subgrid): абзацы
   разной длины не сбивают списки и ссылки по высоте. */
.lp-doors { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(6, auto); column-gap: 24px; row-gap: 0; }
.lp-door { grid-row: span 6; display: grid; grid-template-rows: subgrid; border-radius: 28px; background: #fff; box-shadow: var(--lp-sh1); overflow: hidden; }
.lp-door__art { aspect-ratio: 16 / 10; border-radius: 22px; margin: 10px 10px 0; background: #e9e5f6; }
.lp-door--night .lp-door__art { background: #1b1440; }
.lp-door--night .lp-time { background: rgba(21, 16, 54, .55); color: #fff; }
.lp-door__body { grid-row: 2 / span 5; display: grid; grid-template-rows: subgrid; gap: 0; padding: 0 30px 30px; }
.lp-door__body > .lp-kick { margin-top: 26px; }
.lp-door__t { margin-top: 12px; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.025em; color: var(--lp-ink); }
.lp-door__p { margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: var(--lp-ink2); }
.lp-door__body > .lp-facts { margin: 18px 0 22px; align-self: start; }
.lp-door__body > .lp-more { align-self: end; justify-self: start; }
.lp-door--night .lp-facts svg { color: #d6268d; }
/* узкий ноутбук: абзацы дверей остаются в две строки */
@media (min-width: 861px) and (max-width: 1239px) {
  .lp-door__p { font-size: 15px; }
}
.lp-tw-foot { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 36px; font-size: 14.5px; color: var(--lp-ink2); text-align: center; }
@media (max-width: 860px) {
  .lp-doors { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 16px; }
  .lp-door { grid-row: auto; display: flex; flex-direction: column; }
  .lp-door__body { display: flex; flex-direction: column; padding: 20px 20px 24px; }
  .lp-door__body > .lp-kick { margin-top: 0; }
  .lp-door__t { font-size: 21px; }
  .lp-door__body > .lp-facts { margin: 16px 0 18px; }
  .lp-door__body > .lp-more { align-self: flex-start; }
}
@media (max-width: 767px) {
  .lp-door__art { aspect-ratio: 4 / 3; }
  .lp-tw-foot { flex-direction: column; gap: 8px; margin-top: 28px; }
}

/* ============ Студия: «Остров и три героя» ============
   Остров Киностудии (#sd-hall) - прежний; под ним три главных инструмента
   крупно и три строкой. */
.lp-st3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto 1fr; column-gap: 20px; row-gap: 0; margin-top: 28px; font-family: var(--lp-font); }
.lp-stc { grid-row: span 4; display: grid; grid-template-rows: subgrid; border-radius: 24px; background: #fff; box-shadow: var(--lp-sh1); overflow: hidden; }
.lp-stc__art { display: block; margin: 8px 8px 0; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 2; background: #1b1440; }
.lp-stc:hover .lp-crop > img, .lp-door:hover .lp-crop > img, .lp-an__art:hover > img { transform: scale(1.03); }
.lp-stc__body { grid-row: 2 / span 3; display: grid; grid-template-rows: subgrid; padding: 20px 22px 24px; }
.lp-stc__body .lp-kick { align-self: start; }
.lp-stc__body h3 { margin-top: 10px; font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; color: var(--lp-ink); }
.lp-stc__tx { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.lp-stc__tx p { font-size: 14.5px; line-height: 1.6; color: var(--lp-ink2); }
.lp-stc__tx .lp-more { margin-top: auto; font-size: 14.5px; }
.lp-st3s { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; font-family: var(--lp-font); }
.lp-sts { display: grid; grid-template-columns: 92px minmax(0, 1fr) 18px; align-items: center; gap: 14px; padding: 8px 16px 8px 8px; border-radius: 18px; background: #fff; box-shadow: var(--lp-sh1); color: var(--lp-ink); transition: transform .3s var(--lp-ease), box-shadow .3s; }
.lp-sts:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(79, 70, 229, .14), 0 24px 48px -30px rgba(40, 34, 120, .45); }
.lp-sts__img { display: block; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: #1b1440; }
.lp-sts__img img { width: 100%; height: 100%; object-fit: cover; }
.lp-sts b { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.lp-sts small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--lp-ink3); }
.lp-sts > svg { width: 18px; height: 18px; color: var(--lp-mute); }
.lp-stcta { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 40px; font-family: var(--lp-font); }
@media (min-width: 1001px) and (max-width: 1239px) {
  .lp-stc__body { padding: 18px 18px 22px; }
  .lp-stc__body h3 { font-size: 18px; }
  .lp-stc__tx p { font-size: 14px; }
}
.lp-stcta .lp-note { flex-basis: 100%; text-align: center; margin-top: -12px; }
@media (max-width: 1000px) {
  .lp-st3 { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 16px; }
  .lp-stc { grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .lp-stc__art { margin: 8px; }
  .lp-stc__body { grid-row: auto; display: flex; flex-direction: column; }
  .lp-st3s { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 767px) {
  .lp-stc { display: flex; flex-direction: column; }
  .lp-stc__art { aspect-ratio: 4 / 3; margin: 8px 8px 0; }
  .lp-stc__body { padding: 16px 18px 20px; }
  .lp-stc__body h3 { font-size: 19px; }
  .lp-stc__tx .lp-more { align-self: flex-start; }
  .lp-stcta { flex-direction: column; gap: 16px; }
  .lp-stcta .lp-btn { width: 100%; }
  .lp-stcta .lp-note { margin-top: -6px; }
  .lp-sts { grid-template-columns: 76px minmax(0, 1fr) 16px; }
}

/* ============ Аналитика и Автопилот: «Вечерняя сцена» ============ */
.lp-an { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.lp-an__tx { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.lp-an__tx .lp-eyebrow { margin: 0; }
.lp-an .lp-h2 { font-size: clamp(30px, 2.9vw, 42px); }
.lp-an__p { font-size: 16px; line-height: 1.62; color: var(--lp-ink2); }
.lp-an__tx .lp-facts { margin: 2px 0 6px; }
.lp-an__art { width: 100%; aspect-ratio: 16 / 11; border-radius: 26px; background: #f3d9c9; box-shadow: var(--lp-sh2); }
@media (max-width: 1000px) {
  .lp-an { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 767px) {
  .lp-an__art { aspect-ratio: 4 / 3.2; border-radius: 20px; }
}

/* ============ Под капотом: «Не просто нейросеть» ============
   Таблица из трех колонок: вопрос, «спросить нейросеть», «поручить Taipy»
   (белая колонка-карточка). На телефоне - карточка на вопрос. */
.lp-vs { display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1.15fr); filter: drop-shadow(0 24px 40px rgba(79, 70, 229, .08)); }
.lp-vs__hd, .lp-vs__row, .lp-vs__ft { display: contents; }
.lp-vs__h { display: flex; align-items: center; gap: 10px; padding: 22px 28px 18px; font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.lp-vs__h svg { width: 22px; height: 22px; color: var(--lp-mute); }
.lp-vs__h img { width: 26px; height: 26px; }
.lp-vs__h--gen { color: var(--lp-ink3); }
.lp-vs__h--tp { color: var(--lp-ink); background: #fff; border-radius: 24px 24px 0 0; box-shadow: inset 1px 1px 0 rgba(79, 70, 229, .22), inset -1px 0 0 rgba(79, 70, 229, .22); }
.lp-vs__row > b { display: flex; align-items: center; padding: 16px 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-ink3); border-top: 1px solid var(--lp-line2); }
.lp-vs__row > span { display: flex; align-items: center; gap: 10px; padding: 16px 28px; font-size: 15.5px; line-height: 1.4; border-top: 1px solid var(--lp-line2); }
.lp-vs__row > span:nth-child(2) { color: var(--lp-ink3); }
.lp-vs__row > span:nth-child(3) { color: var(--lp-ink); font-weight: 600; background: #fff; box-shadow: inset 1px 0 0 rgba(79, 70, 229, .22), inset -1px 0 0 rgba(79, 70, 229, .22); }
.lp-vs__row > span svg { width: 18px; height: 18px; color: var(--lp-ind); }
.lp-vs__ft > span:nth-child(1), .lp-vs__ft > span:nth-child(2) { border-top: 1px solid var(--lp-line2); }
.lp-vs__ft > a { padding: 18px 28px 24px; background: #fff; border-radius: 0 0 24px 24px; box-shadow: inset 1px -1px 0 rgba(79, 70, 229, .22), inset -1px 0 0 rgba(79, 70, 229, .22); border-top: 1px solid var(--lp-line2); }
@media (max-width: 1000px) {
  .lp-vs { grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.15fr); }
  .lp-vs__h, .lp-vs__row > span { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 767px) {
  .lp-vs { display: flex; flex-direction: column; filter: none; }
  .lp-vs__hd { display: none; }
  .lp-vs__row { display: grid; grid-template-columns: 1fr; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: var(--lp-sh1); margin-bottom: 10px; }
  .lp-vs__row > b, .lp-vs__row > span { padding: 0; border-top: 0; box-shadow: none !important; background: none !important; }
  .lp-vs__row > b { font-size: 11px; margin-bottom: 6px; }
  .lp-vs__row > span:nth-child(2) { font-size: 14px; text-decoration: line-through; text-decoration-color: rgba(119, 115, 154, .5); margin-bottom: 4px; }
  .lp-vs__row > span:nth-child(3) { font-size: 15.5px; }
  .lp-vs__ft { display: flex; justify-content: center; }
  .lp-vs__ft > span { display: none; }
  .lp-vs__ft > a { background: none; box-shadow: none; border-top: 0; padding: 14px 0 0; }
}

/* ============ Весь Taipy: «Бенто сцен» ============ */
.lp-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.lp-bento__t { position: relative; display: flex; flex-direction: column; border-radius: 26px; background: #fff; box-shadow: var(--lp-sh1); overflow: hidden; color: var(--lp-ink); transition: transform .35s var(--lp-ease), box-shadow .35s var(--lp-ease); }
.lp-bento__t:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(79, 70, 229, .14), 0 30px 60px -32px rgba(40, 34, 120, .45); }
.lp-bento__t--work { grid-column: span 4; }
.lp-bento__t--studio, .lp-bento__t--src, .lp-bento__t--an, .lp-bento__t--ag { grid-column: span 2; }
.lp-bento__img { margin: 8px 8px 0; border-radius: 20px; aspect-ratio: 16 / 9; background: #ebe7f6; }
.lp-bento__t--work .lp-bento__img { aspect-ratio: 16 / 7.4; }
.lp-bento__t--studio .lp-bento__img { aspect-ratio: 4 / 3.72; background: #1b1440; }
.lp-bento__t:hover .lp-bento__img img { transform: scale(1.03); }
.lp-bento__time { position: absolute; left: 20px; top: 20px; z-index: 2; height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(255, 255, 255, .76); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12px; font-weight: 600; color: var(--lp-ink); }
.lp-bento__t--studio .lp-bento__time { background: rgba(21, 16, 54, .55); color: #fff; }
.lp-bento__tx { display: flex; flex-direction: column; gap: 4px; padding: 18px 60px 22px 22px; }
.lp-bento__tx b { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.lp-bento__tx small { font-size: 14px; line-height: 1.5; color: var(--lp-ink2); }
.lp-bento__go { position: absolute; right: 18px; bottom: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--lp-ind); background: #f3f1fc; transition: background .3s, color .3s, transform .3s var(--lp-ease); }
.lp-bento__go svg { width: 17px; height: 17px; }
.lp-bento__t:hover .lp-bento__go { background: var(--lp-ind); color: #fff; transform: translateX(2px); }
@media (max-width: 1100px) {
  .lp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-bento__t--work, .lp-bento__t--ag { grid-column: span 2; }
  .lp-bento__t--studio, .lp-bento__t--src, .lp-bento__t--an { grid-column: span 1; }
  .lp-bento__t--studio .lp-bento__img { aspect-ratio: 16 / 9; }
}
/* телефон: крупная первая плитка, остальные - строкой с кадром слева */
@media (max-width: 767px) {
  .lp-bento { grid-template-columns: 1fr; gap: 10px; }
  .lp-bento__t--work, .lp-bento__t--studio, .lp-bento__t--src, .lp-bento__t--an, .lp-bento__t--ag { grid-column: span 1; }
  .lp-bento__t { border-radius: 22px; }
  .lp-bento__t--work .lp-bento__img { aspect-ratio: 16 / 10; border-radius: 16px; }
  .lp-bento__t--work .lp-bento__tx { padding: 14px 56px 18px 16px; }
  .lp-bento__t:not(.lp-bento__t--work) { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: center; min-height: 104px; border-radius: 20px; }
  .lp-bento__t:not(.lp-bento__t--work) .lp-bento__img { margin: 8px; aspect-ratio: 1 / 1; border-radius: 14px; }
  .lp-bento__t:not(.lp-bento__t--work) .lp-bento__time { display: none; }
  .lp-bento__t:not(.lp-bento__t--work) .lp-bento__tx { padding: 10px 52px 10px 6px; gap: 3px; }
  .lp-bento__tx b { font-size: 17px; }
  .lp-bento__tx small { font-size: 13.5px; line-height: 1.45; }
  .lp-bento__t:not(.lp-bento__t--work) .lp-bento__go { top: 50%; bottom: auto; margin-top: -18px; right: 12px; }
  .lp-bento__go { right: 14px; bottom: 18px; }
}

/* ============ Тарифы, вопросы, блог: шапки нового формата ============ */
.lp-x.lp-head { width: 100%; }
#pricing .lp-head, #blog .lp-head { margin-bottom: 40px; }
.lp-faq { display: grid; grid-template-columns: 400px minmax(0, 1fr); column-gap: 64px; align-items: start; }
.lp-faqhead { position: sticky; top: calc(var(--site-hdr, 72px) + 72px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.lp-faqhead .lp-eyebrow { margin: 0; }
.lp-faqhead .lp-h2 { font-size: clamp(30px, 2.8vw, 40px); }
.lp-faqhead__p { font-size: 16px; line-height: 1.6; color: var(--lp-ink2); }
.lp-faqhead__links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
@media (max-width: 1000px) {
  .lp-faq { display: block; }
  .lp-faqhead { position: static; margin-bottom: 28px; }
}

/* блог на телефоне: три статьи лентой с прилипанием, следующая выглядывает */
@media (max-width: 767px) {
  .lp-blog-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; margin-left: -24px; margin-right: -24px; padding: 2px 24px 8px; scrollbar-width: none; }
  .lp-blog-row::-webkit-scrollbar { display: none; }
  .lp-blog-row > a { flex: 0 0 84%; scroll-snap-align: start; }
}
@media (max-width: 639px) {
  .lp-blog-row { scroll-padding-inline: 16px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
}

/* ============ Финал: «Закат на террасе» ============
   Та же терраса, что на первом экране, вечером; на экране телефона - экран
   блокировки с сообщением Taipy (кладется по углам экрана в процентах арта,
   размеры шрифта - в долях ширины экрана, cqw). */
.lp-dusk { padding-top: clamp(40px, 4vw, 72px); }
.lp-dusk__stage { position: relative; min-height: 640px; border-radius: 34px; overflow: hidden; display: flex; align-items: center; box-shadow: var(--lp-sh2); background: linear-gradient(160deg, #f6c9a9, #7a5ab8 60%, #2a1f66); isolation: isolate; }
.lp-dusk__art { position: absolute; left: 50%; top: 50%; width: calc(100% * var(--z, 1.42)); aspect-ratio: 16 / 9; transform: translate(calc(var(--fx, .6) * -100%), calc(var(--fy, .57) * -100%)); --fx: .6; --fy: .57; }
.lp-dusk__art > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.lp-dusk__scr { position: absolute; overflow: hidden; border-radius: 9% / 4.4%; background: linear-gradient(180deg, #2b2566 0%, #51357c 55%, #b86a8e 100%); container-type: size; }
.lp-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 16cqw 7cqw 0; font-family: var(--lp-font); color: #fff; }
.lp-lock__t { margin: 0; font-size: 26cqw; line-height: 1; font-weight: 600; letter-spacing: -.02em; }
.lp-lock__d { margin: 2cqw 0 0; font-size: 8cqw; opacity: .8; }
.lp-lock__n { display: flex; align-items: center; gap: 4cqw; width: 100%; margin-top: 16cqw; padding: 5cqw; border-radius: 7cqw; background: rgba(255, 255, 255, .86); color: var(--lp-ink); }
.lp-lock__n img { width: 13cqw; height: 13cqw; flex: none; }
.lp-lock__n span { display: flex; flex-direction: column; min-width: 0; }
.lp-lock__n b { font-size: 7.5cqw; line-height: 1.2; }
.lp-lock__n i { font-style: normal; font-size: 7cqw; line-height: 1.25; color: var(--lp-ink2); }
.lp-dusk__card { position: relative; z-index: 2; width: min(480px, calc(100% - 48px)); margin-left: 44px; padding: 32px 34px 34px; border-radius: 28px; background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 30px 60px -30px rgba(40, 34, 120, .45); display: flex; flex-direction: column; gap: 16px; }
.lp-dusk__card .lp-eyebrow { margin: 0; }
.lp-dusk__h { font-size: clamp(32px, 3vw, 42px); line-height: 1.06; font-weight: 700; letter-spacing: -.035em; color: var(--lp-ink); }
.lp-dusk__h .g { display: block; background: var(--lp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .1em; }
.lp-dusk__p { font-size: 16px; line-height: 1.6; color: var(--lp-ink2); }
@media (max-width: 767px) {
  .lp-dusk__stage { min-height: 0; flex-direction: column; align-items: stretch; border-radius: 24px; background: #fff; padding-top: 320px; }
  .lp-dusk__art { --z: 2.3; --fx: .66; --fy: .6; top: 160px; }
  .lp-dusk__stage::before { content: ""; position: absolute; left: 0; right: 0; top: 320px; bottom: 0; background: #fff; z-index: 1; }
  .lp-dusk__card { z-index: 2; width: auto; margin: -40px 12px 12px; padding: 22px 20px 24px; background: rgba(255, 255, 255, .92); }
  .lp-dusk__h { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .vt-js .lp-rise { opacity: 1; transform: none; transition: none; }
  .lp-crop.lp-crop > img, .lp-btn, .lp-tkc, .lp-bento__t, .lp-sts { transition: none; }
}
