/* cenot.ru — стили сайта. Значения из дизайн-системы «Ценот» (tokens.json); компоненты cn-* — в cenot-ui.css.
   Уровни движения — класс на <html>: fx-full (ПК с мышью), fx-lite (телефон, планшет), fx-off («уменьшить движение»).
   Скрытые до появления состояния — только под .js: без скриптов страница сразу в конечном виде. */

/* ---------- Шрифты (свои файлы, без Google Fonts) ---------- */
@font-face { font-family: Manrope; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-rub.woff2) format('woff2'); unicode-range: U+20BD; }
@font-face { font-family: Unbounded; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/unbounded-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Unbounded; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/unbounded-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Unbounded; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/unbounded-rub.woff2) format('woff2'); unicode-range: U+20BD; }

@property --n { syntax: '<integer>'; inherits: false; initial-value: 0; }

/* ---------- Токены ---------- */
:root, :root[data-theme="dark"] {
  --bg: #0B0B0D; --surface: #17171B; --surface-raised: #202026;
  --border: #2C2C33; --border-strong: #78746C;
  --text: #F3F1EA; --text-muted: #A9A59B; --text-subtle: #8C887E;
  --gold: #D9AE4A; --on-gold: #1A1408; --gold-text: #E6C46E; --gold-soft: #2A2212;
  --success: #5BD08F; --success-soft: #0F1F16; --danger: #F07167; --danger-soft: #2A1312;
  --info: #6AA9FF; --focus: #E6C46E;
  --shadow-sheet: 0 -8px 32px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F2F2F4; --surface: #FCFCFD; --surface-raised: #E9E9EC;
  --border: #DCDCE1; --border-strong: #7E7E86;
  --text: #141416; --text-muted: #54545C; --text-subtle: #686870;
  --gold: #C8952A; --on-gold: #1A1408; --gold-text: #82601A; --gold-soft: #F6EBCF;
  --success: #1D7A4A; --success-soft: #E3F3EA; --danger: #C0392B; --danger-soft: #FBE7E4;
  --info: #2463C4; --focus: #82601A;
  --shadow-sheet: 0 -8px 32px rgba(20, 20, 22, 0.12);
  color-scheme: light;
}
:root {
  --font-display: Unbounded, Manrope, system-ui, sans-serif;
  --font-text: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 20px; --radius-pill: 999px;
  --tap-min: 44px; --control-h: 52px; --chip-h: 36px; --icon-md: 20px; --icon-lg: 24px; --thumb: 112px;

  /* Кривые. Интерфейс — ease-out без отскока. Отскок (pop) — только у енота: единственный «живой» персонаж */
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-move: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-reveal: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);

  --card-h: 92px; --card-gap: 8px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--text);
  font-family: var(--font-text); font-size: 16px; line-height: 24px; font-weight: 500;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
*, *::before, *::after { box-sizing: border-box; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.ic { width: var(--icon-md); height: var(--icon-md); flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 50; padding: 10px 16px; border-radius: var(--radius-md); background: var(--gold); color: var(--on-gold); font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

.ln-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); }

/* ---------- Шапка ---------- */
.ln-head { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease-out); }
.is-scrolled .ln-head { border-bottom-color: var(--border); }
.ln-head__row { display: flex; align-items: center; gap: var(--space-6); height: 72px; }
.ln-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 24px; letter-spacing: -0.3px; }
.ln-logo img { width: 32px; height: 32px; border-radius: var(--radius-pill); display: block; }
.ln-nav { display: flex; gap: var(--space-6); margin-left: var(--space-4); }
.ln-nav a { text-decoration: none; color: var(--text-muted); font-size: 15px; font-weight: 700; padding: 10px 0; transition: color 150ms var(--ease-out); }
.ln-nav a:hover { color: var(--text); }
.ln-head__cta { margin-left: auto; }

/* ---------- Кнопки (поверх cn-btn) ---------- */
.cn-btn { transition-property: transform, background-color, color; transition-duration: 150ms; transition-timing-function: var(--ease-out); }
.cn-btn:active { transform: scale(0.97); }
.cn-btn--primary { padding: 0 var(--space-6); }
.ln-btn-arrow { transition: transform 200ms var(--ease-out); }
.cn-btn:hover .ln-btn-arrow { transform: translate(2px, -2px); }
.ln-mag { display: inline-flex; }
.fx-full .ln-mag { will-change: transform; }

/* ---------- Первый экран ---------- */
.ln-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 72px; align-items: start; padding-block: 56px 104px; }
/* update188: текст — к верху, а не по центру высокого телефона: кнопка «Искать в Telegram» на первом экране ноутбука */
.ln-hero > :first-child { padding-top: 40px; }
.ln-h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6.2vw, 76px); line-height: 1.04; letter-spacing: -0.03em; }
.ln-h1 em { font-style: normal; color: var(--gold-text); }
.ln-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.ln-word { display: inline-block; }
.js .ln-word { transform: translate3d(0, 108%, 0); animation: ln-rise 860ms var(--ease-out) 60ms forwards; }
.js .ln-word.w2 { animation-delay: 170ms; }
@keyframes ln-rise { to { transform: none; } }
.ln-u { position: relative; display: inline-block; }
.ln-uline { position: absolute; left: -1%; bottom: -0.16em; width: 102%; height: 0.28em; overflow: visible; }
.ln-uline path { fill: none; stroke: var(--gold-text); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
/* линия «рисуется» раскрытием слева направо (clip-path): одинаково в Safari, Chrome и Firefox */
.js .ln-uline { clip-path: inset(-50% 100% -50% -2%); animation: ln-draw 760ms var(--ease-out) 1000ms forwards; }
@keyframes ln-draw { to { clip-path: inset(-50% -2% -50% -2%); } }

.ln-lead { margin: var(--space-6) 0 0; max-width: 520px; font-size: 19px; line-height: 29px; color: var(--text-muted); text-wrap: pretty; }
.ln-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-8); }
.ln-facts { margin: var(--space-10) 0 0; max-width: 560px; display: grid; grid-template-columns: 120px minmax(0, 1fr); }
.ln-facts dt, .ln-facts dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--border); font-size: 14px; line-height: 20px; }
.ln-facts dt { color: var(--text-muted); font-weight: 700; }
.ln-facts dd { font-weight: 600; }

.js .ln-in { animation: ln-in 560ms var(--ease-out) both; }
.js .ln-in.d1 { animation-delay: 420ms; }
.js .ln-in.d2 { animation-delay: 520ms; }
@keyframes ln-in { from { opacity: 0; transform: translate3d(0, 12px, 0); } }

/* ---------- Демо: телефон, енот держится лапами ---------- */
.ln-demo { position: relative; padding-top: 146px; justify-self: center; width: 100%; max-width: 420px; }
.js .ln-demo { animation: ln-demo-in 800ms var(--ease-out) 200ms both; }
@keyframes ln-demo-in { from { opacity: 0; transform: translate3d(0, 28px, 0); } }

.ln-rac-wrap { position: absolute; z-index: 0; top: 0; left: 50%; width: 170px; margin-left: -85px; }
.fx-full .ln-rac-wrap, .fx-full .ln-phone-wrap { will-change: transform; }
.ln-rac { display: block; width: 100%; height: auto; overflow: visible; transform: translate3d(0, 14px, 0); }
.js .ln-rac { transform: translate3d(0, 110px, 0); transition: transform 760ms var(--ease-pop); }
.js .ln-rac.is-in { transform: translate3d(0, 14px, 0); }
.js .ln-rac.is-in.is-up { transform: translate3d(0, 0, 0); transition: transform 460ms var(--ease-out); }
.js .ln-rac.is-in.is-cheer { transform: translate3d(0, -12px, 0); transition: transform 380ms var(--ease-pop); }
.rc-gold { fill: var(--gold); }
.rc-ink { fill: #1A1408; }
.rc-milk { fill: #F3F1EA; }
.rc-tilt { transform-box: fill-box; transform-origin: 50% 100%; }
.rc-eyes { transform-box: fill-box; transform-origin: 50% 50%; transition: transform 90ms ease-out; }
.is-blink .rc-eyes { transform: scaleY(0.12); transition-duration: 70ms; }

.ln-phone-wrap { position: relative; z-index: 1; }
.ln-paws { position: absolute; z-index: 3; left: 50%; top: -23px; width: 150px; margin-left: -75px; height: auto; overflow: visible; }
.js .ln-paws { opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity 180ms var(--ease-out), transform 460ms var(--ease-pop); }
.js .ln-paws.is-in { opacity: 1; transform: none; }
.ln-paws .paw-toe { fill: none; stroke: #1A1408; stroke-width: 3; stroke-linecap: round; }

.ln-phone {
  position: relative; height: 748px; padding: 20px 16px 16px;
  border-radius: 40px; background: var(--bg); overflow: hidden;
  box-shadow: 0 0 0 1px var(--border), 0 0 0 9px var(--surface), 0 0 0 10px var(--border);
}
.ln-phone__inner { display: flex; flex-direction: column; gap: var(--space-3); }
.ln-phone__title { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); padding: 0 2px; }
.ln-phone__title b { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 26px; letter-spacing: -0.3px; }
.ln-phone__title span { font-size: 13px; color: var(--text-subtle); }
.ln-phone .cn-search { color: var(--text-muted); }
.ln-q { flex-grow: 1; min-width: 0; color: var(--text); font-size: 16px; white-space: nowrap; overflow: hidden; }
.ln-q__ph { color: var(--text-subtle); }
.ln-caret { display: inline-block; width: 2px; height: 20px; margin-left: 1px; vertical-align: -4px; background: var(--gold-text); opacity: 0; }
.ln-caret.is-on { opacity: 1; animation: ln-caret 1s steps(1) infinite; }
@keyframes ln-caret { 50% { opacity: 0; } }

.ln-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); min-height: var(--chip-h); }
.ln-chips .cn-chip { cursor: default; }
.js .ln-chips .cn-chip { opacity: 0; transform: translate3d(0, 6px, 0) scale(0.96); transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out); }
.js .ln-chips.is-on .cn-chip { opacity: 1; transform: none; transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out); }
.js .ln-chips.is-on .cn-chip:nth-child(2) { transition-delay: 70ms; }
.js .ln-chips.is-on .cn-chip:nth-child(3) { transition-delay: 140ms; }

.ln-sites { display: flex; align-items: center; gap: var(--space-4); min-height: 20px; font-size: 13px; line-height: 18px; font-weight: 700; color: var(--text-muted); }
.ln-site { display: inline-flex; align-items: center; gap: 6px; transition: opacity 200ms var(--ease-out), color 200ms var(--ease-out); }
.js .ln-sites .ln-site { opacity: 0; }
.js .ln-sites.is-on .ln-site { opacity: 1; }
.ln-site__ok { display: none; width: 14px; height: 14px; stroke-width: 2.6; color: var(--success); }
.ln-site .cn-spin { display: none; width: 12px; height: 12px; color: var(--text-subtle); }
.ln-site.is-wait .cn-spin { display: inline-block; }
.ln-site.is-done { color: var(--text); }
.ln-site.is-done .ln-site__ok { display: block; animation: ln-ok 260ms var(--ease-out) both; }
@keyframes ln-ok { from { opacity: 0; transform: scale(0.7); } }
.ln-status { min-height: 18px; font-size: 13px; line-height: 18px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln-status b { color: var(--text); font-weight: 800; }
.ln-count { font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; counter-reset: n var(--n); transition: --n 700ms var(--ease-out); }
.ln-count::after { content: counter(n); }

.ln-list { position: relative; height: calc(var(--card-h) * 5 + var(--card-gap) * 4); }
.ln-slot { position: absolute; left: 0; right: 0; top: 0; height: var(--card-h); opacity: 0; transition: opacity 200ms var(--ease-out); }
.ln-slot.is-on { opacity: 1; }
.ln-slot .cn-skel { height: 100%; padding: 12px; }
.ln-slot .cn-skel__thumb { width: 68px; height: 68px; }

.ln-card {
  position: absolute; left: 0; right: 0; top: 0; height: var(--card-h);
  display: flex; gap: var(--space-3); padding: 12px;
  background: var(--surface); border-radius: var(--radius-lg);
  transform: translate3d(0, calc(var(--rank) * (var(--card-h) + var(--card-gap)) + var(--dy, 0px)), 0);
  transition: transform 560ms var(--ease-move), opacity 260ms var(--ease-out), filter 380ms var(--ease-out);
}
.js .ln-card { opacity: 0; }
.fx-full .ln-card { filter: blur(6px); will-change: transform; }
.js .ln-card.is-in, .fx-full .ln-card.is-in { opacity: 1; filter: none; }
[data-theme="dark"] .ln-card { box-shadow: inset 0 0 0 1px var(--border); }
.ln-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--gold-text); opacity: 0; transition: opacity 240ms var(--ease-out); pointer-events: none; }
.ln-card.is-best::after { opacity: 1; }
.ln-card__thumb { position: relative; width: 68px; height: 68px; flex-shrink: 0; border-radius: var(--radius-md); background: var(--surface-raised); color: var(--text-subtle); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ln-card__thumb .ic { width: 28px; height: 28px; stroke-width: 1.5; }
.ln-card__body { display: flex; flex-direction: column; min-width: 0; flex-grow: 1; }
.ln-card__title { font-size: 14px; line-height: 20px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln-card__specs { font-size: 12px; line-height: 16px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln-card__meta { display: flex; align-items: center; gap: var(--space-2); margin-top: auto; font-size: 12px; line-height: 16px; color: var(--text-subtle); white-space: nowrap; min-width: 0; }
.ln-card__end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; flex-shrink: 0; }
.ln-card__price { font-size: 16px; line-height: 22px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ln-card .cn-best { opacity: 0; transform: scale(0.94); transform-origin: right bottom; transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out); }
.ln-card.is-best .cn-best { opacity: 1; transform: none; }

/* Фото объявления (когда есть): заполняет миниатюру */
.ln-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; outline: 1px solid rgba(255, 255, 255, 0.08); outline-offset: -1px; border-radius: inherit; }
[data-theme="light"] .ln-ph { outline-color: rgba(0, 0, 0, 0.08); }

.ln-demo__foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: 22px; padding: 0 4px; }
.ln-demo__foot p { margin: 0; font-size: 13px; line-height: 18px; color: var(--text-subtle); }
.ln-replay { flex-shrink: 0; white-space: nowrap; }
.ln-replay[hidden] { display: none; }

/* ---------- Секции и появление ---------- */
.ln-sec { padding: 104px 0; border-top: 1px solid var(--border); }
.ln-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.ln-h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.ln-sub { margin: var(--space-4) 0 0; max-width: 440px; font-size: 17px; line-height: 26px; color: var(--text-muted); text-wrap: pretty; }

/* Заголовок раскрывается шторкой, текст под ним — мягче и позже: разная иерархия, а не один fade на всё */
.js .rvh { clip-path: inset(0 0 100% 0); transform: translate3d(0, 0.4em, 0); transition: clip-path 820ms var(--ease-reveal), transform 820ms var(--ease-reveal); }
.js .rvh.in { clip-path: inset(-0.2em -0.2em -0.3em -0.2em); transform: none; }
.js .rv { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity 500ms var(--ease-out) 160ms, transform 600ms var(--ease-out) 160ms; }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Как ищу: липкая сцена + шаги ---------- */
.ln-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.ln-stage-col { position: sticky; top: 112px; }
.ln-stage { position: relative; height: 252px; margin-top: var(--space-10); }
.ln-scene { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: var(--space-3); opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out); pointer-events: none; }
.ln-scene.is-on { opacity: 1; transform: none; transition: opacity 280ms var(--ease-out) 120ms, transform 420ms var(--ease-out) 120ms; }
.ln-scene__cap { margin: var(--space-1) 0 0; font-size: 13px; line-height: 18px; color: var(--text-subtle); }
.ln-scene .cn-chip { cursor: default; }

.ln-bars { display: flex; flex-direction: column; gap: 14px; }
.ln-bar-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) 20px; align-items: center; gap: var(--space-3); font-size: 14px; font-weight: 700; }
.ln-bar { position: relative; height: 6px; border-radius: var(--radius-pill); background: var(--surface-raised); overflow: hidden; }
.ln-bar__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--gold-text); transform: scaleX(0); transform-origin: left center; }
.ln-scene.is-on .ln-bar__fill { transform: scaleX(1); transition: transform var(--d) linear 260ms; }
.ln-bar__ok { color: var(--success); opacity: 0; transform: scale(0.7); }
.ln-scene.is-on .ln-bar__ok { opacity: 1; transform: none; transition: opacity 160ms var(--ease-out) calc(var(--d) + 260ms), transform 260ms var(--ease-out) calc(var(--d) + 260ms); }

.ln-minis { position: relative; height: 184px; }
.ln-mini { position: absolute; left: 0; right: 0; top: 0; height: 56px; display: flex; align-items: center; gap: var(--space-3); padding: 0 var(--space-4); background: var(--surface); border-radius: var(--radius-lg); transform: translate3d(0, calc(var(--slot) * 64px), 0); transition: transform 600ms var(--ease-move); }
[data-theme="dark"] .ln-mini { box-shadow: inset 0 0 0 1px var(--border); }
.ln-mini::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--gold-text); opacity: 0; transition: opacity 240ms var(--ease-out); }
.ln-mini.is-best::after { opacity: 1; }
.ln-mini__p { margin-left: auto; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
/* бейдж — внутри строки, рядом с площадкой: раньше сидел на верхней рамке, и золотая линия шла через текст, как зачёркивание */
.ln-mini .cn-site { order: 1; }
.ln-mini .cn-best { order: 2; align-self: center; position: relative; z-index: 1; opacity: 0; transform: scale(0.94); transform-origin: left center; transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out); }
.ln-mini .ln-mini__p { order: 3; }
.ln-mini.is-best .cn-best { opacity: 1; transform: none; }

.ln-steps { margin: 0; padding: 0; list-style: none; }
.ln-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--space-4); padding: 28px 0; border-bottom: 1px solid var(--border); transition: opacity 320ms var(--ease-out); }
.ln-step:last-child { border-bottom: 0; }
.ln-step__n { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 32px; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.ln-step h3 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 800; }
.ln-step p { margin: 6px 0 0; color: var(--text-muted); text-wrap: pretty; }
.ln-step code { font-family: var(--font-text); font-weight: 700; color: var(--text); background: var(--surface-raised); padding: 2px 8px; border-radius: var(--radius-sm); white-space: nowrap; }
/* На ПК шаги длиннее, активный подсвечен — сцена слева меняется по прокрутке */
.fx-full .ln-step { min-height: 300px; align-content: start; padding-top: 40px; opacity: 0.34; }
.fx-full .ln-step:first-child { padding-top: 56px; }
.fx-full .ln-step.is-on { opacity: 1; }

/* ---------- Слежка ---------- */
.ln-watch { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.ln-wdemo { display: flex; flex-direction: column; gap: var(--space-4); max-width: 520px; width: 100%; }
.ln-wlabel { display: flex; align-items: center; gap: var(--space-2); font-size: 13px; line-height: 18px; font-weight: 700; color: var(--text-muted); }
.ln-wlabel .ic { width: 16px; height: 16px; color: var(--gold-text); transform-origin: 50% 2px; }
.ln-wlabel .ic.is-ring { animation: ln-ring 800ms var(--ease-out); }
@keyframes ln-ring { 15% { transform: rotate(16deg); } 35% { transform: rotate(-12deg); } 55% { transform: rotate(7deg); } 75% { transform: rotate(-3deg); } }
.ln-wcard { align-items: stretch; }
.ln-wcard .cn-listing__thumb { position: relative; height: auto; min-height: 104px; overflow: hidden; }
.ln-wcard .cn-price__now { font-size: 26px; line-height: 30px; font-variant-numeric: tabular-nums; }
.ln-wold, .ln-wdelta { transition: opacity 240ms var(--ease-out), transform 260ms var(--ease-out); }
.js .ln-wold { opacity: 0; transform: translate3d(-4px, 0, 0); }
.js .ln-wdelta { opacity: 0; transform: scale(0.94); transform-origin: left center; }
.js .ln-wcard.is-drop .ln-wold, .js .ln-wcard.is-drop .ln-wdelta { opacity: 1; transform: none; }


.ln-msg {
  display: flex; gap: var(--space-3); align-items: flex-start; padding: 14px var(--space-4);
  border-radius: var(--radius-lg); background: var(--surface-raised);
  transition: opacity 160ms var(--ease-out), transform 200ms var(--ease-out), filter 200ms var(--ease-out);
}
[data-theme="light"] .ln-msg { background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.js .ln-msg { opacity: 0; transform: translate3d(28px, 0, 0); }
.fx-full .ln-msg { filter: blur(3px); }
.js .ln-msg.is-on { opacity: 1; transform: none; filter: none; transition: opacity 260ms var(--ease-out), transform 520ms var(--ease-move), filter 320ms var(--ease-out); }
.ln-msg img { width: 36px; height: 36px; border-radius: var(--radius-pill); flex-shrink: 0; }
.ln-msg__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ln-msg__who { display: flex; gap: var(--space-2); align-items: baseline; font-size: 13px; line-height: 18px; }
.ln-msg__who b { color: var(--gold-text); font-weight: 800; }
.ln-msg__who span { color: var(--text-subtle); }
.ln-msg__text { font-size: 15px; line-height: 22px; text-wrap: pretty; }
.ln-msg__btn { align-self: flex-start; margin-top: var(--space-2); padding: 6px 12px; border-radius: var(--radius-md); background: var(--bg); font-size: 13px; line-height: 18px; font-weight: 700; color: var(--gold-text); }

.ln-wlist { margin: var(--space-6) 0 0; padding: 0; list-style: none; }
.ln-wlist li { display: flex; gap: var(--space-3); align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ln-wlist li:last-child { border-bottom: 0; }
.ln-wlist .ic { margin-top: 2px; }
.ln-wlist b { display: block; font-weight: 800; }
.ln-wlist span { display: block; font-size: 14px; line-height: 20px; color: var(--text-muted); }
.ln-wlist .t-down { color: var(--success); } .ln-wlist .t-new { color: var(--gold-text); }
.ln-wnote { margin: var(--space-6) 0 0; font-size: 15px; color: var(--text-muted); }
.ln-wnote b { color: var(--text); }

/* ---------- Где ищу ---------- */
.ln-cats { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.ln-cat { display: flex; align-items: center; gap: var(--space-4); min-height: 76px; padding: var(--space-3) 0; border-bottom: 1px solid var(--border); }
.ln-cat .ic { width: var(--icon-lg); height: var(--icon-lg); stroke-width: 1.8; color: var(--gold-text); }
.ln-cat b { display: block; font-size: 17px; line-height: 24px; font-weight: 800; }
.ln-cat span { display: block; font-size: 14px; line-height: 20px; color: var(--text-muted); }

/* ---------- Вопросы (details/summary: работает и без скриптов) ---------- */
.ln-faq { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.ln-faq li { border-bottom: 1px solid var(--border); }
.ln-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  min-height: 72px; padding: var(--space-4) 0; cursor: pointer; list-style: none;
  font-size: 18px; line-height: 26px; font-weight: 800;
}
.ln-faq summary::-webkit-details-marker { display: none; }
.ln-faq summary .ic { width: 22px; height: 22px; color: var(--gold-text); transition: transform 200ms var(--ease-out); }
.ln-faq details[open] summary .ic { transform: rotate(45deg); }
.ln-a { margin: 0; padding: 0 48px 24px 0; max-width: 680px; color: var(--text-muted); text-wrap: pretty; }
.ln-faq details[open] .ln-a { animation: ln-a 220ms var(--ease-out); }
@keyframes ln-a { from { opacity: 0; transform: translate3d(0, -4px, 0); } }

/* ---------- Финал ---------- */
.ln-final { padding: 120px 0; border-top: 1px solid var(--border); }
.ln-final__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ln-final-rac { width: 132px; height: 132px; border-radius: var(--radius-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); overflow: hidden; }
.ln-final-rac svg { display: block; width: 100%; height: 100%; }
.ln-final .ln-h2 { margin-top: var(--space-8); font-size: clamp(32px, 4.4vw, 52px); }
.ln-final .ln-sub { margin-left: auto; margin-right: auto; max-width: 520px; }
.ln-final .ln-cta { justify-content: center; }

/* ---------- Подвал ---------- */
.ln-foot { border-top: 1px solid var(--border); padding: 32px 0 40px; }
.ln-foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-8); font-size: 14px; color: var(--text-muted); }
.ln-foot .ln-logo { font-size: 18px; color: var(--text); }
.ln-foot .ln-logo img { width: 24px; height: 24px; }
.ln-foot__row nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.ln-foot__row nav a { text-decoration: none; padding: 10px 0; }
.ln-foot__row nav a:hover { color: var(--text); }
.ln-foot__copy { margin-left: auto; color: var(--text-subtle); }

/* ---------- Страницы-заглушки (оферта, политика, 404) ---------- */
.ln-doc { padding: 72px 0 120px; }
.ln-doc .ln-sub { max-width: 560px; }

/* ---------- Планшет ---------- */
@media (max-width: 1080px) {
  .ln-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 48px; }
  .ln-split, .ln-watch, .ln-story { gap: 48px; }
}
/* ---------- Телефон и узкое окно ---------- */
@media (max-width: 860px) {
  :root { scroll-padding-top: 68px; }
  .ln-wrap { padding: 0 var(--space-4); }
  .ln-nav { display: none; }
  .ln-head__row { height: 60px; }
  .ln-head__cta { min-height: var(--tap-min); padding: 0 var(--space-3); font-size: 14px; }
  .ln-hero { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); padding-block: 36px 64px; }
  .ln-hero > :first-child { padding-top: 0; }
  .ln-h1 { font-size: clamp(38px, 11vw, 52px); }
  .ln-lead { font-size: 17px; line-height: 26px; margin-top: var(--space-6); }
  .ln-cta { margin-top: var(--space-6); }
  .ln-cta .cn-btn--primary, .ln-cta .ln-mag { width: 100%; }
  .ln-facts { grid-template-columns: 96px minmax(0, 1fr); margin-top: var(--space-8); }
  .ln-demo { padding-top: 132px; }
  .ln-rac-wrap { width: 152px; margin-left: -76px; }
  .ln-paws { width: 136px; margin-left: -68px; top: -21px; }
  .ln-phone { height: 740px; border-radius: 32px; padding: 16px 12px 12px; }
  .ln-sec { padding: 72px 0; }
  .ln-split, .ln-watch, .ln-story { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .ln-stage-col { position: static; }
  .ln-stage { height: 232px; margin-top: var(--space-8); }
  .ln-watch .ln-wdemo { order: 2; }
  .ln-step { grid-template-columns: 44px minmax(0, 1fr); padding: 22px 0; }
  .ln-step__n { font-size: 24px; }
  .ln-step h3 { font-size: 18px; line-height: 26px; }
  .ln-cats { grid-template-columns: minmax(0, 1fr); }
  .ln-faq summary { font-size: 17px; line-height: 24px; }
  .ln-a { padding-right: 0; }
  .ln-final { padding: 80px 0; }
  .ln-final .cn-btn--primary { width: 100%; }
  .ln-foot__copy { margin-left: 0; }
  .ln-doc { padding: 48px 0 80px; }
}
@media (max-width: 360px) {
  .ln-sites { gap: 10px; }
  .ln-card__specs { display: none; }
}

/* ---------- Без движения: «уменьшить движение» в системе ---------- */
.fx-off *, .fx-off *::before, .fx-off *::after { animation: none !important; transition: none !important; }
.fx-off .ln-word, .fx-off .rv, .fx-off .rvh, .fx-off .ln-demo { opacity: 1; transform: none; clip-path: none; }
.fx-off .ln-in { opacity: 1; transform: none; }
.fx-off .ln-uline { clip-path: none; }
.fx-off .ln-step { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .ln-word, .js .rv, .js .rvh, .js .ln-demo { opacity: 1; transform: none; clip-path: none; }
  .js .ln-uline { clip-path: none; }
  .ln-step { opacity: 1 !important; }
}
