/* Лендинг ChatNanny, версия «Дежурный». Всё изолировано под корнем .lp (#view-landing).
   Цвета сняты с кадров видео: штукатурка в утреннем свете, травертин, графит,
   янтарный свет визора. Янтарь только на главной кнопке, фокусе и «дежурном свете». */
.lp {
  --canvas: #F3EEE7;
  --panel: #FBF8F3;
  --panel-2: #EEE7DE;
  --line: #E3D9CE;
  --line-strong: #CDBFB0;
  --stone: #B9A694;
  --ink: #211E1B;
  --ink-2: #5F574F;
  --ink-3: #71675E;
  --amber: #F5A03A;
  --amber-hover: #EC9124;
  --amber-muted: rgba(245, 160, 58, .16);
  --amber-ink: #8F4E0C;
  --night: #141821;
  --night-2: #1D2230;
  --on-night: #EDE7DF;
  --on-night-2: #B3ACA3;
  --spam: #C8333F;
  --ok: #2F7D5B;
  --f-display: "Geologica", "Golos Text", system-ui, sans-serif;
  --f-text: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gut: clamp(20px, 4vw, 48px);
}
.lp { position: relative; isolation: isolate; margin: 0; background: var(--canvas); color: var(--ink); font: 400 17px/1.55 var(--f-text); -webkit-font-smoothing: antialiased; }
.lp * { box-sizing: border-box; }
.lp a { color: inherit; text-decoration: none; }
.lp img { max-width: 100%; height: auto; }
.lp button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.lp :focus-visible { outline: 3px solid var(--amber-ink); outline-offset: 3px; border-radius: 12px; }
.lp h1, .lp h2, .lp h3 { color: var(--ink); }
.lp section[id] { scroll-margin-top: 72px; }
/* html без clip не трогаем: с overflow на html body становится контейнером прокрутки и sticky перестаёт работать */
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* Одна среда на всю страницу: мягкий тёплый свет медленно дрейфует, поверх лёгкое зерно */
.lp-env { position: fixed; inset: -25%; z-index: -1; pointer-events: none;
  background: radial-gradient(38% 32% at 22% 28%, rgba(245, 160, 58, .08), transparent 70%),
              radial-gradient(44% 40% at 78% 72%, rgba(185, 166, 148, .16), transparent 70%);
  animation: lp-drift 80s ease-in-out infinite alternate; animation-delay: -20s; }
.lp-env::after { content: ""; position: absolute; inset: 0; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes lp-drift { to { transform: translate3d(5%, -4%, 0) rotate(6deg); } }

.lp .skip { position: absolute; left: 16px; top: -64px; z-index: 60; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--canvas); font-weight: 500; transition: top .2s var(--ease); }
.lp .skip:focus { top: 12px; }
.lp #lp-main:focus { outline: none; }


/* ---------- Шапка: матовое стекло поверх видео */
.lp .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gut);
  background: rgba(243, 238, 231, .86); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 rgba(33, 30, 27, .07); }
.lp .brand, .lp .brand:hover { display: inline-flex; align-items: center; gap: 10px; font: 500 19px/1 var(--f-display); letter-spacing: -.02em; color: var(--ink); }
.lp .brand-mark { width: 30px; height: 30px; flex: none; }
.lp .brand-mark rect { fill: var(--ink); }
.lp .brand-mark .eye { fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; transform-box: fill-box; transform-origin: 50% 70%; animation: lp-blink 7s infinite; animation-delay: -2.5s; }
/* «дежурный свет»: визор в логотипе моргает, как робот в видео */
@keyframes lp-blink { 0%, 93%, 100% { transform: none; } 95.5% { transform: scaleY(.2); } }
.lp .nav-links { display: flex; gap: 30px; font-size: 15px; color: var(--ink-2); }
.lp .nav-links a { white-space: nowrap; transition: color .2s; }
.lp .nav-links a:hover { color: var(--ink); }
.lp .nav-right { display: flex; align-items: center; gap: 18px; }
.lp .lang { font-size: 15px; color: var(--ink-2); transition: color .2s; }
.lp .lang:hover { color: var(--ink); }
.lp .nav-login { color: var(--ink); font-weight: 500; }
.lp .lang-short, .lp .nav-short { display: none; }
html[lang="ru"] .lp .btn-lang-ru, html[lang="uz"] .lp .btn-lang-uz { display: none; }


/* ---------- Кнопки */
.lp .btn-amber { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--amber); color: var(--ink); font: 500 16px/1 var(--f-text); white-space: nowrap; box-shadow: inset 0 -1px 0 rgba(33, 30, 27, .12); transition: background .25s var(--ease), transform .25s var(--ease); }
.lp .btn-amber::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; box-shadow: 0 10px 34px rgba(245, 160, 58, .55); opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.lp .btn-amber:hover { background: var(--amber-hover); transform: translateY(-1px); }
.lp .btn-amber:hover::after { opacity: 1; }
.lp .btn-amber.sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.lp .btn-amber.lg { min-height: 58px; padding: 0 32px; font-size: 17px; }
.lp .tg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.lp .btn-text { min-height: 52px; padding: 0 12px; font: 500 16px/1 var(--f-text); color: var(--ink); background-image: linear-gradient(var(--ink), var(--ink)); background-size: 0 1px; background-position: 12px 70%; background-repeat: no-repeat; transition: background-size .35s var(--ease); }
.lp .btn-text:hover { background-size: calc(100% - 24px) 1px; }
.lp .btn-light { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--canvas); color: var(--ink); font: 500 16px/1 var(--f-text); transition: transform .25s var(--ease), background .25s; }
.lp .btn-light:hover { background: #fff; transform: translateY(-1px); }


/* ---------- Заголовки разделов */
.lp .sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.lp .sec-head.left { margin-left: 0; text-align: left; }
.lp .h2 { margin: 0 0 18px; font: 300 clamp(38px, 4.6vw, 70px)/1.03 var(--f-display); letter-spacing: -.035em; text-wrap: balance; }
.lp .sub { margin: 0 auto; max-width: 52ch; font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-2); text-wrap: pretty; }
.lp .sec-head.left .sub { margin-left: 0; }
.lp .sub.small { font-size: 16px; margin-top: 14px; }
.lp .trust .sub.small { margin-top: 18px; }
.lp .sec-head .sub { text-wrap: balance; }
.lp .nw { white-space: nowrap; }
/* блоки прячутся для появления, только если landing.js реально работает (.lp-js) */
.lp.lp-js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 120ms); }
.lp.lp-js [data-reveal].in { opacity: 1; transform: none; }
.lp.lp-js [data-reveal].in.settled { transition-delay: 0s; }


/* ---------- Первый экран. По умолчанию (телефон, «меньше движения», без JS): последний кадр и заголовок */
.lp .hero { position: relative; }
.lp .stage { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: grid; align-items: center; }
.lp .poster, .lp .hero-video, .lp .loader { display: none; }
.lp .poster, .lp .hero-video, .lp .static-art, .lp .shade, .lp .final-art, .lp .final-art::after, .lp .n-img, .lp .night::before { top: 0; right: 0; bottom: 0; left: 0; }
.lp .static-art { position: absolute; inset: 0; background: #E9DFD3 url(/img/hero-ending.jpg) 70% 50% / cover no-repeat; }
.lp .shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(243, 238, 231, .82) 0%, rgba(243, 238, 231, .5) 36%, rgba(243, 238, 231, 0) 58%); }
.lp .band { display: none; }
.lp .band.b4 { display: block; position: relative; z-index: 2; padding: 120px clamp(20px, 6vw, 104px) 80px; }
html:not(.lp-scrub) .lp .band { --k: 1 !important; }

.lp .cap { margin: 0; font: 300 clamp(40px, 4.4vw, 76px)/1.03 var(--f-display); letter-spacing: -.035em; color: var(--ink); max-width: 13ch; text-wrap: balance;
  text-shadow: 0 0 1px rgba(243, 238, 231, .7), 0 2px 22px rgba(243, 238, 231, .75); }
.lp .cap.title { font-size: clamp(50px, 6.2vw, 108px); line-height: .98; letter-spacing: -.045em; max-width: 10ch; }
.lp .cap-sub { margin: 22px 0 0; font: 400 clamp(17px, 1.3vw, 20px)/1.5 var(--f-text); color: var(--ink-2); max-width: 36ch; text-wrap: pretty; text-shadow: 0 0 18px rgba(243, 238, 231, .9); }
.lp .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 32px; }
/* текст заголовков: .src — исходник со словарём (его читают скринридеры), .vis — слова для анимации */
.lp .cap .vis { display: none; }
.lp .cap.split .vis { display: inline; }
.lp .cap.split .src { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lp .vis .w { display: inline-block; }

/* Телефон и узкие окна без видео: заголовок сверху, робот карточкой ниже */
@media (max-width: 900px), (orientation: portrait) {
  html:not(.lp-scrub) .lp .stage { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  html:not(.lp-scrub) .lp .static-art { position: relative; inset: auto; order: 2; aspect-ratio: 4 / 5; max-height: 70svh; margin: 0 16px 28px; border-radius: 26px; background-image: url(/img/hero-ending-m.jpg); background-position: 50% 42%; box-shadow: 0 40px 80px -50px rgba(80, 58, 36, .6); }
  html:not(.lp-scrub) .lp .shade { display: none; }
  html:not(.lp-scrub) .lp .band.b4 { padding: 104px 20px 32px; }
}

/* Видео вместе с прокруткой (ноутбуки и компьютеры) */
.lp-scrub .lp .hero { height: 540vh; }
.lp-scrub .lp .stage { position: sticky; top: 0; height: 100vh; min-height: 0; display: block; }
.lp-scrub .lp .static-art { display: none; }
.lp-scrub .lp .poster { display: block; position: absolute; inset: 0; background: #E9DFD3 url(/img/hero-poster.jpg) 68% 50% / cover no-repeat; }
.lp-scrub .lp .hero-video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; opacity: 0; transform: translateZ(0); transition: opacity .7s var(--ease); pointer-events: none; }
.lp-scrub .lp .hero.video-ready .hero-video { opacity: 1; }
.lp-scrub .lp .hero.video-failed .hero-video { display: none; }
.lp-scrub .lp .shade { background: linear-gradient(90deg, rgba(243, 238, 231, .5) 0%, rgba(243, 238, 231, .2) 34%, rgba(243, 238, 231, 0) 52%); }
.lp-scrub .lp .band { display: block; position: absolute; z-index: 2; left: clamp(24px, 6vw, 104px); top: 50%; width: min(46vw, 680px); transform: translateY(-44%); opacity: 0; }
.lp-scrub .lp .band.b1 { opacity: 1; }
.lp-scrub .lp .band.b4 { padding: 0; }
/* своя светлая подложка у каждой подписи: светлеет, пока подпись на экране, и гаснет к краям */
.lp-scrub .lp .band::before { content: ""; position: absolute; inset: -22% -24% -22% -34%; z-index: -1; pointer-events: none; opacity: calc(.3 + .7 * var(--k, 1));
  background: radial-gradient(ellipse 58% 56% at 40% 50%, rgba(243, 238, 231, .8) 0%, rgba(243, 238, 231, .52) 46%, rgba(243, 238, 231, 0) 76%); }
.lp-scrub .lp .band.b1::before { inset: -48% auto -48% calc(-1 * clamp(24px, 6vw, 104px)); width: 52vw;
  background: linear-gradient(90deg, rgba(243, 238, 231, .93) 0%, rgba(243, 238, 231, .88) 68%, rgba(243, 238, 231, 0) 100%);
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%); mask: linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%); }
.lp-scrub .lp .loader { display: flex; position: absolute; z-index: 3; left: 50%; bottom: 26px; width: 48px; height: 48px; margin-left: -24px; align-items: center; justify-content: center; }
.lp .ring { width: 40px; height: 40px; transform: rotate(-90deg); transition: opacity .5s var(--ease); }
.lp .ring circle { fill: none; stroke-width: 2.5; }
.lp .ring .track { stroke: rgba(33, 30, 27, .14); }
.lp .ring .fill { stroke: var(--amber-ink); stroke-dasharray: 126; stroke-dashoffset: var(--ld, 126); stroke-linecap: round; }
.lp .cue { position: absolute; left: 50%; top: 4px; width: 1.5px; height: 40px; margin-left: -1px; background: rgba(33, 30, 27, .18); overflow: hidden; opacity: 0; transition: opacity .5s var(--ease); }
.lp .cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--ink); animation: lp-cue 2.2s var(--ease-io) infinite; }
@keyframes lp-cue { to { transform: translateY(350%); } }
.lp .hero.video-ready .ring, .lp .hero.video-failed .ring { opacity: 0; }
.lp .hero.video-ready .cue, .lp .hero.video-failed .cue { opacity: 1; }
.lp .hero.moved .cue { opacity: 0; }

/* Появление подписей идёт от --k (0…1), его пишет landing.js по прокрутке */
.lp .band .w { --kc: clamp(0, (var(--k, 1) - var(--th, 0)) * 2.6, 1); opacity: var(--kc); }
/* 1: свет визора — буквы проступают из янтарного свечения */
.lp .b1 .cap { position: relative; }
.lp .b1 .w { transform: translateY(calc((1 - var(--kc)) * 8px)); }
.lp .b1 .glow { position: absolute; left: 0; right: 0; top: 0; color: var(--amber); filter: blur(12px); opacity: calc((1 - var(--k, 1)) * .9); pointer-events: none; text-shadow: none; }
/* 2: камера отъезжает — слова уменьшаются до своего места */
.lp .b2 .w { transform-origin: 0 70%; transform: scale(calc(1 + (1 - var(--kc)) * .16)); }
/* 3: тишина — слова мягко поднимаются */
.lp .b3 .w { transform: translateY(calc((1 - var(--kc)) * 22px)); }
/* 4: посадка — слова встают, потом подзаголовок, потом кнопки */
.lp .b4 .w { transform: translateY(calc((1 - var(--kc)) * 30px)); }
.lp .band .cap-sub { --ks: clamp(0, (var(--k, 1) - .45) * 2.4, 1); opacity: var(--ks); transform: translateY(calc((1 - var(--ks)) * 12px)); }
.lp .b4 .cta-row { --kb: clamp(0, (var(--k, 1) - .7) * 4, 1); opacity: var(--kb); transform: translateY(calc((1 - var(--kb)) * 12px)); }


/* ---------- Живое окно Telegram */
.lp .showcase { max-width: 1240px; margin: 0 auto; padding: clamp(100px, 12vw, 160px) var(--gut) clamp(90px, 10vw, 130px); }
.lp .frame { position: relative; padding: 12px; border-radius: 30px; background: linear-gradient(180deg, #FBF8F3, #ECE3D8); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px var(--line), 0 70px 120px -70px rgba(80, 58, 36, .55);
  transform-origin: 50% 0; transform: perspective(1800px) rotateX(calc((1 - var(--t, 1)) * 18deg)) scale(calc(.94 + var(--t, 1) * .06)); }
.lp .jtoasts { position: absolute; top: 196px; right: -34px; z-index: 5; width: 300px; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.lp .jtoast { display: flex; gap: 11px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: rgba(251, 248, 243, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 50px -18px rgba(33, 30, 27, .4), 0 0 0 1px rgba(33, 30, 27, .06); font-size: 13.5px; line-height: 1.4; animation: lp-jtoastIn .55s var(--ease) both; }
.lp .jtoast .jt-mark { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--ink); display: grid; place-items: center; }
.lp .jtoast .jt-mark svg, .lp .ava-bot svg { width: 26px; height: 26px; fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; }
.lp .jtoast b { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.lp .jtoast em { font-style: normal; font-weight: 600; }
.lp .jtoast.red em { color: var(--spam); } .lp .jtoast.teal em { color: var(--ok); } .lp .jtoast.gold em { color: var(--amber-ink); } .lp .jtoast.blue em { color: #3553B8; }
.lp .jtoast .tbtns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lp .jtoast .tbtns span { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 8px; background: var(--panel-2); color: var(--ink); }
.lp .jtoast.out { animation: lp-jtoastOut .45s var(--ease) both; }
@keyframes lp-jtoastIn { from { opacity: 0; transform: translateX(40px) scale(.92); } }
@keyframes lp-jtoastOut { to { opacity: 0; transform: translateY(-14px) scale(.96); } }
.lp .tabs { display: flex; gap: 6px; padding: 6px 6px 12px; margin: -4px -4px 0; overflow-x: auto; scrollbar-width: none; }
.lp .tabs::-webkit-scrollbar { display: none; }
.lp .tab { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .3s, color .3s; white-space: nowrap; }
.lp .tab:hover { background: rgba(33, 30, 27, .05); color: var(--ink); }
.lp .tab.active { background: var(--ink); color: var(--canvas); }
.lp .tab-ring { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; opacity: .5; position: relative; }
.lp .tab.active .tab-ring { opacity: 1; border: 0; background: conic-gradient(var(--amber) calc(var(--p, 0) * 1turn), rgba(243, 238, 231, .25) 0); -webkit-mask: radial-gradient(circle, transparent 3.5px, #000 4px); mask: radial-gradient(circle, transparent 3.5px, #000 4px); }
.lp .window { border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(33, 30, 27, .06); }
.lp .win-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #F7F4F0; border-bottom: 1px solid #ECE6DE; font-size: 12.5px; color: var(--ink-3); }
.lp .dots { display: flex; gap: 6px; }
.lp .dots i { width: 11px; height: 11px; border-radius: 50%; background: #E5DDD3; }
.lp .win-body { display: grid; grid-template-columns: 290px 1fr; height: 540px; }
.lp .chats { border-right: 1px solid #ECE6DE; padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.lp .search { margin: 0 6px 8px; padding: 9px 14px; border-radius: 999px; background: #F2EEE9; color: var(--ink-3); font-size: 14px; }
.lp .chat { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; position: relative; }
.lp .chat.active { background: #F4ECE1; }
.lp .chat > div { min-width: 0; }
.lp .chat b { display: block; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp .chat small { display: block; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp .chat time { align-self: start; font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.lp .chat em { position: absolute; right: 12px; bottom: 10px; font-style: normal; font-size: 11px; font-weight: 600; color: #fff; background: #8A8076; border-radius: 999px; padding: 1px 7px; }
.lp .ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 13px; flex: none; }
.lp .ava-bot { background: var(--ink); border-radius: 12px; }
.lp .a1 { background: linear-gradient(135deg, #6FB6A6, #3F7F86); } .lp .a2 { background: linear-gradient(135deg, #F2B36B, #D9774F); } .lp .a3 { background: linear-gradient(135deg, #9C8FD9, #6A5BC2); } .lp .a4 { background: linear-gradient(135deg, #E393AE, #C45F84); } .lp .a5 { background: linear-gradient(135deg, #7FA7C9, #4A6FA0); }
.lp .conv { display: flex; flex-direction: column; min-width: 0; background: #EFE9E1 radial-gradient(rgba(33, 30, 27, .05) 1px, transparent 1px) 0 0 / 18px 18px; }
.lp .conv-head { display: flex; align-items: center; gap: 12px; padding: 10px 18px; background: #fff; border-bottom: 1px solid #ECE6DE; }
.lp .conv-head .ava { width: 38px; height: 38px; }
.lp .conv-head b { display: block; font-size: 15px; font-weight: 500; }
.lp .conv-head small { font-size: 12.5px; color: var(--ink-2); }
.lp .guard { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--amber-ink); background: var(--amber-muted); padding: 6px 12px; border-radius: 999px; }
.lp .guard-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); animation: lp-ping 2.4s infinite; }
@keyframes lp-ping { 0% { box-shadow: 0 0 0 0 rgba(245, 160, 58, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(245, 160, 58, 0); } }
.lp .guard.alarm { color: var(--spam); background: rgba(200, 51, 63, .1); }
.lp .guard.alarm .guard-dot { background: var(--spam); }
.lp .guard.shield { color: var(--amber-ink); background: rgba(245, 160, 58, .22); }
.lp .feed { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 18px 22px; overflow: hidden; }
.lp .composer { margin: 0 16px 14px; padding: 12px 16px; border-radius: 14px; background: #fff; color: var(--ink-3); font-size: 14px; }
.lp .m { align-self: flex-start; display: flex; gap: 10px; max-width: 76%; animation: lp-pop .45s var(--ease) both; }
.lp .m .ava { width: 34px; height: 34px; font-size: 11px; align-self: flex-end; }
.lp .b { position: relative; padding: 8px 13px 9px; border-radius: 16px 16px 16px 5px; background: #fff; font-size: 14.5px; line-height: 1.42; box-shadow: 0 1px 1px rgba(33, 30, 27, .06); overflow: hidden; transition: background .3s, opacity .3s; }
.lp .who { display: block; font-size: 13px; font-weight: 600; color: #3F7F86; margin-bottom: 1px; }
.lp .m.c2 .who { color: #C0662F; } .lp .m.c3 .who { color: #6A5BC2; } .lp .m.c4 .who { color: #3F7F86; }
.lp .txt { background: linear-gradient(var(--spam), var(--spam)) 0 55% / 0 1.5px no-repeat; transition: background-size .5s ease, color .4s; }
.lp .m.flag .b { background: #FBE7E4; }
.lp .m.flag .who { color: var(--spam); }
.lp .m.flag .b::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(245, 160, 58, .35) 50%, transparent 80%); animation: lp-sweep .9s ease-in-out; }
@keyframes lp-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.lp .m.strike .txt { background-size: 100% 1.5px; color: #9C938A; }
.lp .m.gone { animation: lp-collapse .45s ease forwards; }
@keyframes lp-collapse { to { opacity: 0; transform: scale(.9); max-height: 0; margin: -4px 0; } }
.lp .m.hold .b { background: #FBF1E3; }
.lp .m.hold .flagtag { color: var(--amber-ink); background: var(--amber-muted); }
.lp .flagtag { margin-left: 7px; font-size: 11px; font-weight: 600; color: var(--spam); background: rgba(200, 51, 63, .1); padding: 1px 7px; border-radius: 999px; vertical-align: 1px; }
.lp .blur { filter: blur(4px); user-select: none; }
.lp .svc { align-self: center; padding: 5px 13px; border-radius: 999px; background: rgba(33, 30, 27, .32); color: #fff; font-size: 12.5px; font-weight: 500; animation: lp-pop .4s var(--ease) both; max-width: 90%; text-align: center; }
.lp .private { align-self: flex-start; margin-left: 44px; max-width: 70%; padding: 9px 13px; border-radius: 14px; background: #fff; border: 1.5px dashed rgba(143, 78, 12, .45); font-size: 13.5px; animation: lp-pop .4s var(--ease) both; }
.lp .private small { display: block; color: var(--ink-3); font-size: 11.5px; margin-top: 2px; }
.lp .check { align-self: flex-start; margin-left: 44px; display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; background: #fff; font-size: 13.5px; min-width: min(250px, calc(100% - 44px)); animation: lp-pop .4s var(--ease) both; }
.lp .check div { display: flex; justify-content: space-between; gap: 18px; color: var(--ink-2); }
.lp .check i { font-style: normal; font-weight: 600; }
.lp .check i.ok { color: var(--ok); } .lp .check i.wait { color: var(--ink-3); animation: lp-blinkTxt 1s infinite; }
@keyframes lp-blinkTxt { 50% { opacity: .35; } }
.lp .typing { align-self: flex-start; margin-left: 44px; padding: 11px 15px; border-radius: 16px 16px 16px 5px; background: #fff; display: flex; gap: 4px; animation: lp-pop .3s both; }
.lp .typing i { width: 6px; height: 6px; border-radius: 50%; background: #B5ACA2; animation: lp-blinkTxt 1s infinite; }
.lp .typing i:nth-child(2) { animation-delay: .15s; } .lp .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes lp-pop { from { opacity: 0; transform: translateY(12px) scale(.94); } }
.lp .pro-mini { font-style: normal; font-size: 10.5px; font-weight: 600; padding: 2px 6px; border-radius: 5px; background: var(--amber); color: var(--ink); margin-left: 6px; vertical-align: 1px; }


/* ---------- Ночная смена (единственный тёмный раздел) */
.lp .night { position: relative; overflow: hidden; background: var(--night); color: var(--on-night); padding: clamp(96px, 11vw, 150px) 0; }
.lp .night::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--p, 0);
  background: radial-gradient(60% 70% at 30% 40%, rgba(245, 160, 58, .16), transparent 70%); }
.lp .night-in { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.lp .night-art { position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: #1D2230; box-shadow: 0 60px 110px -50px rgba(0, 0, 0, .7), 0 0 0 1px rgba(237, 231, 223, .06); }
.lp .n-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.lp .n-morning { opacity: var(--p, 0); }
.lp .n-clock { position: absolute; left: 18px; top: 16px; padding: 6px 11px; border-radius: 10px; background: rgba(20, 24, 33, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--on-night); font: 400 15px/1 var(--f-mono); font-variant-numeric: tabular-nums; }
.lp .night .h2 { color: var(--on-night); }
.lp .night .sub { color: var(--on-night-2); margin: 0; }
.lp .n-chat { list-style: none; margin: 30px 0 24px; padding: 10px; border-radius: 20px; background: var(--night-2); display: grid; gap: 4px; box-shadow: 0 0 0 1px rgba(237, 231, 223, .06); }
.lp .nm { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-areas: "time who" "time txt"; column-gap: 12px; padding: 9px 12px; border-radius: 12px; font-size: 14.5px; line-height: 1.4; transition: background .4s var(--ease); }
.lp .nm time { grid-area: time; padding-top: 1px; font: 400 12.5px/1.4 var(--f-mono); color: var(--on-night-2); }
.lp .nm b { grid-area: who; font-weight: 500; font-size: 13px; color: #F0B26A; }
.lp .nm .t, .lp .nm .del { grid-area: txt; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.lp .nm .t { color: var(--on-night); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp .nm .del { opacity: 0; transform: translateY(4px); color: var(--on-night-2); font-style: italic; }
.lp.lp-js .nm.spam { opacity: .5; transition: opacity .4s var(--ease), background .4s var(--ease); }
.lp.lp-js .nm.spam.caught, .lp.lp-js .nm.spam.gone { opacity: 1; }
.lp .nm.caught { background: rgba(245, 160, 58, .16); }
.lp .nm.gone .t { opacity: 0; transform: translateX(10px); }
.lp .nm.gone .del { opacity: 1; transform: none; }
.lp .nm.gone b { color: var(--on-night-2); }
.lp .nm.good { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.lp .nm.good b { color: #9CD3B6; }
.lp .night.done .nm.good { opacity: 1; transform: none; }
.lp .hold { position: relative; overflow: hidden; display: inline-flex; align-items: center; min-height: 56px; padding: 0 26px; border-radius: 999px; background: rgba(237, 231, 223, .08); box-shadow: inset 0 0 0 1px rgba(237, 231, 223, .24); color: var(--on-night); font: 500 16px/1.2 var(--f-text); text-align: left; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: pan-y; transition: background .3s var(--ease); }
.lp .hold:hover, .lp .hold.pressing { background: rgba(237, 231, 223, .14); }
.lp .hold-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--amber); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.lp .hold-label { position: relative; }
.lp .night :focus-visible { outline-color: var(--amber); }
.lp .n-result { min-height: 1.4em; margin: 20px 0 0; font: 300 clamp(20px, 1.8vw, 26px)/1.3 var(--f-display); color: var(--on-night); letter-spacing: -.01em; }


/* ---------- Что убирает: боли словами админов */
.lp .catch { max-width: 1240px; margin: 0 auto; padding: clamp(100px, 12vw, 160px) var(--gut) clamp(80px, 10vw, 120px); }
.lp .orn { display: block; width: 100%; height: 34px; margin: 0 0 6px; overflow: hidden; }
.lp .orn-path { fill: none; stroke: var(--stone); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 1); }
.lp .rows { list-style: none; margin: 0; padding: 0; }
.lp .rows li { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px 56px; padding: 30px 0 32px; align-items: baseline; }
.lp .rows li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-strong); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.2s var(--ease) .1s; }
.lp .rows li.in::before, .lp:not(.lp-js) .rows li::before { transform: none; }
.lp .rows .pain { font: 300 clamp(24px, 2.4vw, 34px)/1.16 var(--f-display); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.lp .rows .ans { font-size: 17px; color: var(--ink-2); max-width: 46ch; }
.lp .more { margin: 36px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-2); font-size: 15px; }
.lp .more-l { margin-right: 6px; }
.lp .chip { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 14.5px; }


/* ---------- Если бот ошибся: журнал */
.lp .trust { max-width: 1240px; margin: 0 auto; padding: clamp(60px, 8vw, 110px) var(--gut) clamp(100px, 12vw, 150px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.lp .trust .sub { margin: 0; }
.lp .deck { position: relative; height: 300px; }
.lp .card { position: absolute; inset: 0 0 auto; max-width: 470px; margin: 0 auto; padding: 20px 22px; border-radius: 22px; background: var(--panel); box-shadow: 0 34px 70px -34px rgba(80, 58, 36, .45), 0 0 0 1px var(--line); transition: transform .6s var(--ease), opacity .6s var(--ease); font-size: 15px; }
.lp .card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.lp .card time { font: 400 12.5px var(--f-mono); color: var(--ink-3); }
.lp .card p { margin: 0 0 6px; }
.lp .card b { font-weight: 500; }
.lp .card .q { color: var(--ink-2); font-size: 14px; }
.lp .card footer { display: flex; gap: 8px; margin-top: 16px; }
.lp .card footer span { padding: 7px 12px; border-radius: 10px; background: var(--panel-2); font-size: 13px; font-weight: 500; }
.lp .tagc { font-weight: 500; font-size: 13.5px; padding: 3px 10px; border-radius: 999px; }
.lp .tagc.red { color: var(--spam); background: rgba(200, 51, 63, .09); } .lp .tagc.gold { color: var(--amber-ink); background: var(--amber-muted); } .lp .tagc.teal { color: var(--ok); background: rgba(47, 125, 91, .1); } .lp .tagc.blue { color: #3553B8; background: rgba(53, 83, 184, .09); }
.lp .deck-ctrl { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; }
.lp .deck-ctrl button { width: 44px; height: 44px; border-radius: 50%; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-size: 20px; line-height: 1; }
.lp .deck-dots { display: inline-flex; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.lp .deck-dots i { width: 6px; height: 6px; border-radius: 999px; background: var(--line-strong); transition: width .3s var(--ease); }
.lp .deck-dots i.on { width: 18px; background: var(--ink); }


/* ---------- Три шага */
.lp .steps { max-width: 1240px; margin: 0 auto; padding: clamp(80px, 10vw, 130px) var(--gut); }
.lp .steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lp .steps h3 { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 8px; font: 500 20px/1.25 var(--f-display); letter-spacing: -.015em; }
.lp .steps .num { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); font: 500 14px/1 var(--f-display); color: var(--ink-2); transform: translateY(-3px); }
.lp .steps article p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.lp .mock { height: 236px; border-radius: 24px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 10px; position: relative; overflow: hidden; }
.lp .mock-rights b { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.lp .mock-rights label { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 12px; background: #fff; font-size: 14px; }
.lp .sw { width: 34px; height: 20px; border-radius: 999px; background: #DAD2C8; position: relative; flex: none; }
.lp .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .4s var(--ease); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.lp .in .sw.on { background: var(--ink); transition: background .4s .5s; }
.lp .in .sw.on::after { transform: translateX(14px); transition-delay: .5s; }
.lp .in .sw.on.d2, .lp .in .sw.on.d2::after { transition-delay: .9s; }
.lp .mock-code { align-items: center; text-align: center; }
.lp .dm { font-size: 14px; color: var(--ink-2); }
.lp .code { display: flex; gap: 8px; }
.lp .code span { width: 42px; height: 52px; border-radius: 12px; background: #fff; display: grid; place-items: center; font: 500 24px var(--f-mono); box-shadow: 0 1px 0 var(--line); opacity: 0; transform: translateY(10px); }
.lp .in .code span { animation: lp-up .5s var(--ease) forwards; }
.lp .in .code span:nth-child(2) { animation-delay: .1s; } .lp .in .code span:nth-child(3) { animation-delay: .2s; } .lp .in .code span:nth-child(4) { animation-delay: .3s; } .lp .in .code span:nth-child(5) { animation-delay: .4s; }
@keyframes lp-up { to { opacity: 1; transform: none; } }
.lp .mock-code small { color: var(--ink-3); font-size: 12.5px; }
.lp .preset { padding: 12px 16px; border-radius: 14px; background: #fff; font-weight: 500; font-size: 15px; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .4s .6s; }
.lp .preset small { display: block; font-weight: 400; font-size: 12px; color: var(--amber-ink); }
.lp .in .preset.sel { box-shadow: inset 0 0 0 1.5px var(--ink); }


/* ---------- Тарифы */
.lp .pricing { max-width: 1040px; margin: 0 auto; padding: clamp(80px, 10vw, 130px) var(--gut); }
.lp .plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lp .plan { padding: 34px; border-radius: 28px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.lp .plan h3 { margin: 0 0 10px; font: 500 22px/1.2 var(--f-display); letter-spacing: -.015em; }
.lp .plan h3 em { display: block; margin-top: 4px; font: 400 14px var(--f-text); color: var(--ink-2); }
.lp .price { margin: 0 0 24px; font: 300 44px/1 var(--f-display); letter-spacing: -.035em; }
.lp .price small { font: 400 15px var(--f-text); color: var(--ink-2); letter-spacing: 0; }
.lp .plan ul { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 11px; flex: 1; }
.lp .plan li { position: relative; padding-left: 26px; font-size: 15.5px; }
.lp .plan li::before { content: ""; position: absolute; left: 1px; top: 7px; width: 13px; height: 7px; border-left: 1.8px solid var(--ink); border-bottom: 1.8px solid var(--ink); transform: rotate(-45deg); }
.lp .plan > .btn-amber, .lp .plan > .btn-light { align-self: flex-start; }
.lp .plan.pro { background: var(--ink); box-shadow: 0 50px 100px -50px rgba(33, 30, 27, .7); color: var(--on-night); }
.lp .plan.pro h3, .lp .plan.pro .price { color: var(--on-night); }
.lp .plan.pro h3 em, .lp .plan.pro .price small { color: var(--on-night-2); }
.lp .plan.pro li::before { border-color: var(--amber); }


/* ---------- Вопросы */
.lp .faq { max-width: 860px; margin: 0 auto; padding: clamp(80px, 10vw, 130px) var(--gut); }
.lp .faq .sec-head { margin-bottom: 30px; }
.lp .faq details { border-bottom: 1px solid var(--line); }
.lp .faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font: 400 19px/1.35 var(--f-display); letter-spacing: -.01em; position: relative; }
.lp .faq summary::-webkit-details-marker { display: none; }
.lp .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(var(--ink-2), var(--ink-2)) 50% 50% / 12px 1.5px no-repeat, linear-gradient(var(--ink-2), var(--ink-2)) 50% 50% / 1.5px 12px no-repeat; transition: transform .35s var(--ease); }
.lp .faq details[open] summary::after { transform: rotate(45deg); }
.lp .faq details p { margin: 0 0 24px; color: var(--ink-2); max-width: 64ch; }


/* ---------- Финал: кадр, на котором остановилось видео */
.lp .final { position: relative; overflow: hidden; min-height: min(92vh, 920px); display: grid; align-items: center; }
.lp .final-art { position: absolute; inset: 0; background: #E9DFD3 url(/img/hero-ending.jpg) 70% 50% / cover no-repeat; }
.lp .final-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(243, 238, 231, .86) 0%, rgba(243, 238, 231, .5) 38%, rgba(243, 238, 231, 0) 60%); }
.lp .final-copy { position: relative; padding: 80px clamp(20px, 6vw, 104px); max-width: 760px; }
.lp .final .h2 { font-size: clamp(42px, 5vw, 80px); max-width: 12ch; }
.lp .final .sub { margin: 0 0 32px; max-width: 34ch; }
.lp .doppi { height: clamp(84px, 11vw, 170px); background: #0E0C0B url(/img/doppi.jpg) 50% 55% / cover no-repeat; }
.lp .foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; max-width: 1240px; margin: 0 auto; padding: 28px var(--gut) 40px; font-size: 14px; color: var(--ink-2); }
.lp .foot .brand { font-size: 17px; }
.lp .foot .brand-mark { width: 26px; height: 26px; }
.lp .foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.lp .foot a { transition: color .2s; }
.lp .foot a:hover { color: var(--ink); }
.lp .gdev-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); }


/* ---------- Адаптив */
@media (max-width: 1300px) {
  .lp .jtoasts { right: 26px; }
}
/* Пять ссылок меню: на небольших ноутбуках уплотняем, чтобы не упирались в кнопки */
@media (max-width: 1260px) {
  .lp .nav-links { gap: 18px; font-size: 14.5px; }
  .lp .nav-right { gap: 14px; }
}
@media (max-width: 1100px) {
  .lp .nav-links { display: none; }
}
@media (max-width: 960px) {
  .lp .jtoasts { top: 160px; width: min(290px, 78%); }
  .lp .win-body { grid-template-columns: 1fr; height: 520px; }
  .lp .chats { display: none; }
  .lp .night-in, .lp .trust { grid-template-columns: 1fr; }
  .lp .rows li { grid-template-columns: 1fr; gap: 10px; }
  .lp .steps-grid, .lp .plans { grid-template-columns: 1fr; }
  .lp .final { min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
  .lp .final-art { position: relative; inset: auto; order: 2; aspect-ratio: 4 / 5; max-height: 70vh; margin: 0 16px 16px; border-radius: 26px; background-image: url(/img/hero-ending-m.jpg); background-position: 50% 42%; }
  .lp .final-art::after { display: none; }
  .lp .final-copy { padding: 90px 20px 36px; }
}
@media (max-width: 560px) {
  .lp .nav { height: 58px; padding: 0 16px; }
  .lp .nav-right { gap: 12px; }
  .lp .lang-long { display: none; }
  .lp .lang-short { display: inline; font-weight: 600; font-size: 14px; padding: 8px 4px; }
  .lp .nav-login { font-size: 14px; }
  .lp .nav-long { display: none; }
  .lp .nav-short { display: inline; }
  .lp .brand { font-size: 17px; }
  .lp .feed { padding: 14px 12px; }
  .lp .m { max-width: 92%; }
  .lp .guard { display: none; }
  .lp .frame { padding: 8px; border-radius: 22px; }
  .lp .jtoasts { right: 14px; left: 14px; width: auto; top: 150px; }
  .lp .jtoast { font-size: 13px; padding: 10px 12px; }
  .lp .tab { padding: 0 14px; font-size: 13.5px; }
  .lp .plan { padding: 26px 22px; }
  .lp .hold { width: 100%; }
  .lp .nm { grid-template-columns: 40px minmax(0, 1fr); font-size: 14px; }
}
@media (max-width: 380px) {
  .lp .nav .brand { font-size: 0; gap: 0; }
}
@media (pointer: coarse) {
  .lp .lang, .lp .nav-login { min-height: 44px; display: inline-flex; align-items: center; }
  html[lang="ru"] .lp .btn-lang-ru, html[lang="uz"] .lp .btn-lang-uz { display: none; }
}
/* короткое окно при видео: подсказку прокрутки прячем, места под неё нет */
@media (max-height: 560px) {
  .lp .loader { display: none !important; }
}

/* Меньше движения: всё в конечном виде, анимации стоят */
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after, .lp-env { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .lp [data-reveal] { opacity: 1 !important; transform: none !important; }
  .lp .frame { transform: none; }
  .lp .orn-path { stroke-dashoffset: 0; }
  .lp .rows li::before { transform: none; }
}
/* вкладка скрыта: все бесконечные анимации на паузе */
body.lp-paused .lp *, body.lp-paused .lp *::before, body.lp-paused .lp *::after, body.lp-paused .lp-env { animation-play-state: paused !important; }

/* Без JS (или если landing.js не запустился) макеты сразу в конечном виде */
.lp:not(.lp-js) .code span { opacity: 1; transform: none; }
.lp:not(.lp-js) .sw.on { background: var(--ink); }
.lp:not(.lp-js) .sw.on::after { transform: translateX(14px); }
.lp:not(.lp-js) .preset.sel { box-shadow: inset 0 0 0 1.5px var(--ink); }
.lp:not(.lp-js) .orn-path { stroke-dashoffset: 0; }
.lp:not(.lp-js) .hold { display: none; }
.lp:not(.lp-js) .nm.good { opacity: 1; transform: none; }

/* Старый Safari без aspect-ratio: высоты картинок задаём явно */
@supports not (aspect-ratio: 1 / 1) {
  .lp .night-art { height: 0; padding-top: 56.25%; }
  html:not(.lp-scrub) .lp .static-art, .lp .final-art { min-height: min(110vw, 70vh); }
}
/* Узкие телефоны: длинные подписи кнопок переносим, а не обрезаем */
@media (max-width: 400px) {
  .lp .btn-amber:not(.sm) { white-space: normal; text-align: center; line-height: 1.25; padding: 14px 20px; }
  .lp .btn-amber.lg { font-size: 16px; }
}
