/* linkee.live — тема сайта. Решения — ~/Herd/linkee/files/landing/LANDING_PLAN.md.
   Цвета — ТОЛЬКО токены ниже (CLAUDE.md движка: литерал цвета внутри правила запрещён; чёрный в масках — не цвет).
   Токены сняты с макетов 19.10 и вычисленных стилей кабинета: градиент #667EEA → #764BA2, кнопка #3B82F6.
   Тёмная тема — по prefers-color-scheme, если посетитель не выбрал светлую; явный выбор — data-theme на <html>.
   Главный приём страницы — журнал проверки ссылки на первом экране (.lk-console): единственное движение без действия
   посетителя, проигрывается один раз. Остальное движение — ответ на действие (вкладки, лента, раскрытие). */

@font-face {
	font-family: "Onest";
	src: url("../fonts/onest.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--lk-bg: #FFFFFF;
	--lk-bg-soft: #F6F8FC;
	--lk-card: #FFFFFF;
	--lk-line: #E3E8F2;
	--lk-ink: #0F172A;
	--lk-muted: #5B6478;
	--lk-accent: #3B82F6;
	--lk-accent-ink: #FFFFFF;
	--lk-accent-soft: rgba(102, 126, 234, .12);
	--lk-grad-a: #667EEA;
	--lk-grad-b: #764BA2;
	--lk-ok: #16A34A;
	--lk-warn: #D97706;
	--lk-bad: #DC2626;
	--lk-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
	--lk-shadow-lg: 0 30px 80px -20px rgba(30, 27, 75, .35);
	--lk-band: #0E1428;
	--lk-band-ink: #FFFFFF;
	--lk-band-muted: #A9B4D0;
	--lk-band-line: #232C4A;
	--lk-console: #0B1020;
	--lk-console-ink: #E6EAF5;
	--lk-console-muted: #7C88A8;
	--lk-console-line: rgba(255, 255, 255, .08);
	--lk-console-ok: #BBF7D0;
	--lk-console-ok-bg: rgba(34, 197, 94, .14);
	--lk-on-grad-line: rgba(255, 255, 255, .45);
	--lk-on-grad-soft: rgba(255, 255, 255, .12);
	--lk-on-grad-glow: rgba(255, 255, 255, .22);

	--lk-radius: 18px;
	--lk-radius-sm: 10px;
	--lk-wrap: 1200px;
	--lk-gutter: clamp(16px, 4vw, 32px);
	--lk-font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--lk-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--lk-bg: #0B1020;
		--lk-bg-soft: #0E1428;
		--lk-card: #121A33;
		--lk-line: #232C4A;
		--lk-ink: #FFFFFF;
		--lk-muted: #A9B4D0;
		--lk-accent: #7C9CFA;
		--lk-accent-soft: rgba(102, 126, 234, .2);
		--lk-ok: #22C55E;
		--lk-warn: #F59E0B;
		--lk-bad: #F87171;
		--lk-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
		--lk-shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .7);
		--lk-band: #121A33;
		--lk-console: #070B17;
		color-scheme: dark;
	}
}

:root[data-theme="dark"] {
	--lk-bg: #0B1020;
	--lk-bg-soft: #0E1428;
	--lk-card: #121A33;
	--lk-line: #232C4A;
	--lk-ink: #FFFFFF;
	--lk-muted: #A9B4D0;
	--lk-accent: #7C9CFA;
	--lk-accent-soft: rgba(102, 126, 234, .2);
	--lk-ok: #22C55E;
	--lk-warn: #F59E0B;
	--lk-bad: #F87171;
	--lk-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
	--lk-shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .7);
	--lk-band: #121A33;
	--lk-console: #070B17;
	color-scheme: dark;
}

/* ── База ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
	margin: 0;
	background: var(--lk-bg);
	color: var(--lk-ink);
	font: 400 17px/1.6 var(--lk-font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--lk-accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.08; letter-spacing: -.03em; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lk-accent); outline-offset: 2px; border-radius: 4px; }

.lk-wrap { width: 100%; max-width: var(--lk-wrap); margin: 0 auto; padding: 0 var(--lk-gutter); }
.lk-wrap--text { max-width: 820px; }
.lk-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lk-card); color: var(--lk-ink); padding: 8px 14px; border-radius: 8px; }
.lk-skip:focus { left: 8px; }
.lk-alert { margin: 16px 0; padding: 12px 16px; border: 1px solid var(--lk-line); border-radius: var(--lk-radius-sm); background: var(--lk-bg-soft); }
.lk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Кнопки ───────────────────────────────────────────────────────────── */
.lk-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 46px; padding: 11px 22px; border-radius: 999px;
	font: 650 1rem/1.2 var(--lk-font); white-space: nowrap;
	border: 1px solid transparent; cursor: pointer; text-decoration: none;
	transition: transform .15s ease, box-shadow .2s ease, background-color .15s ease;
}
.lk-btn:hover { text-decoration: none; transform: translateY(-1px); }
.lk-btn--primary { background: linear-gradient(135deg, var(--lk-grad-a), var(--lk-grad-b)); color: var(--lk-accent-ink); box-shadow: 0 10px 28px -8px color-mix(in srgb, var(--lk-grad-a) 70%, transparent); }
.lk-btn--primary:hover { box-shadow: 0 14px 34px -8px color-mix(in srgb, var(--lk-grad-b) 80%, transparent); }
.lk-btn--ghost { background: transparent; color: var(--lk-ink); border-color: var(--lk-line); }
.lk-btn--ghost:hover { background: var(--lk-bg-soft); }
.lk-btn--light { background: var(--lk-accent-ink); color: var(--lk-grad-b); }
.lk-btn--lg { min-height: 56px; padding: 15px 30px; font-size: 1.08rem; }
.lk-btn svg { width: 18px; height: 18px; flex: none; }

/* ── Шапка ────────────────────────────────────────────────────────────── */
.lk-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--lk-bg) 82%, transparent);
	backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px);
	border-bottom: 1px solid color-mix(in srgb, var(--lk-line) 70%, transparent);
}
.lk-header-row { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.lk-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.45rem; letter-spacing: -.04em; color: var(--lk-ink); }
.lk-logo:hover { text-decoration: none; }
.lk-logo-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--lk-grad-a), var(--lk-grad-b)); display: grid; place-items: center; }
.lk-logo-mark svg { width: 18px; height: 18px; color: var(--lk-accent-ink); }
.lk-nav { flex: 1; }
.lk-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.lk-nav a { display: block; white-space: nowrap; padding: 8px 13px; border-radius: 999px; color: var(--lk-muted); font-weight: 550; font-size: .97rem; }
.lk-nav a:hover, .lk-nav a[aria-current="page"] { color: var(--lk-ink); background: var(--lk-bg-soft); text-decoration: none; }
.lk-header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lk-header-tools .lk-btn { min-height: 40px; padding: 8px 18px; font-size: .95rem; }

.lk-icon-btn {
	display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
	border: 1px solid var(--lk-line); background: transparent; color: var(--lk-ink); cursor: pointer; padding: 0;
}
.lk-icon-btn:hover { background: var(--lk-bg-soft); }
.lk-icon-btn svg { width: 18px; height: 18px; }
.lk-theme-toggle .lk-i-sun { display: none; }
:root[data-theme="dark"] .lk-theme-toggle .lk-i-sun { display: block; }
:root[data-theme="dark"] .lk-theme-toggle .lk-i-moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .lk-theme-toggle .lk-i-sun { display: block; }
	:root:not([data-theme="light"]) .lk-theme-toggle .lk-i-moon { display: none; }
}

.lk-lang { position: relative; }
.lk-lang summary {
	list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
	height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--lk-line);
	font-weight: 650; font-size: .9rem; color: var(--lk-ink);
}
.lk-lang summary::-webkit-details-marker { display: none; }
.lk-lang summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); opacity: .6; }
.lk-lang ul {
	position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 170px;
	list-style: none; margin: 0; padding: 6px; border-radius: 14px;
	background: var(--lk-card); border: 1px solid var(--lk-line); box-shadow: var(--lk-shadow-lg);
}
.lk-lang a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--lk-ink); font-size: .95rem; }
.lk-lang a:hover { background: var(--lk-bg-soft); text-decoration: none; }
.lk-lang a[aria-current="true"] { font-weight: 700; color: var(--lk-accent); }

.lk-burger { display: none; }

@media (max-width: 1100px) {
	.lk-header-row { gap: 10px; }
	.lk-burger { display: inline-grid; }
	.lk-nav {
		position: fixed; inset: 70px 0 auto 0; z-index: 49;
		background: var(--lk-bg); border-bottom: 1px solid var(--lk-line); box-shadow: var(--lk-shadow-lg);
		padding: 12px var(--lk-gutter) 20px; display: none;
	}
	.lk-header.is-open .lk-nav { display: block; }
	.lk-nav ul { flex-direction: column; }
	.lk-nav a { padding: 12px; font-size: 1.08rem; border-radius: 12px; }
	.lk-header-tools .lk-btn--ghost { display: none; }
	.lk-nav .lk-nav-login { display: block; }
}
@media (min-width: 1101px) { .lk-nav .lk-nav-login { display: none; } }
@media (max-width: 560px) {
	.lk-header-tools .lk-btn--primary, .lk-header-tools .lk-theme-toggle { display: none; }
	.lk-logo { font-size: 1.3rem; }
}

/* ── Секции ───────────────────────────────────────────────────────────── */
.lk-section { padding: clamp(64px, 9vw, 120px) 0; }
.lk-section--soft { background: var(--lk-bg-soft); }
.lk-section--band { background: var(--lk-band); color: var(--lk-band-ink); }
.lk-section--band .lk-lead, .lk-section--band p { color: var(--lk-band-muted); }
.lk-head { max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.lk-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lk-kicker { display: block; margin-bottom: 14px; font-size: 1rem; font-weight: 650; color: var(--lk-grad-a); }
.lk-section--band .lk-kicker { color: var(--lk-accent); }
.lk-lead { font-size: clamp(1.08rem, 1.7vw, 1.28rem); line-height: 1.55; color: var(--lk-muted); }
.lk-note { font-size: .92rem; color: var(--lk-muted); }
.lk-row-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: clamp(28px, 4vw, 44px); }
.lk-row-cta .lk-note { margin: 0; }
.lk-head--center + .lk-row-cta, .lk-row-cta--center { justify-content: center; }

/* ── Первый экран ─────────────────────────────────────────────────────── */
.lk-hero { position: relative; overflow: hidden; padding: clamp(44px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); isolation: isolate; }
.lk-hero::before {
	content: ""; position: absolute; z-index: -1; inset: -30% -20% auto 35%; height: 140%;
	background:
		radial-gradient(closest-side, color-mix(in srgb, var(--lk-grad-a) 30%, transparent), transparent 72%),
		radial-gradient(closest-side at 70% 65%, color-mix(in srgb, var(--lk-grad-b) 26%, transparent), transparent 70%);
	pointer-events: none;
}
.lk-hero::after {
	content: ""; position: absolute; z-index: -1; inset: 0;
	background-image: radial-gradient(color-mix(in srgb, var(--lk-ink) 9%, transparent) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(to bottom, black, transparent 75%); -webkit-mask-image: linear-gradient(to bottom, black, transparent 75%);
	pointer-events: none;
}
.lk-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.lk-hero--text .lk-hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.lk-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--lk-accent-soft); color: var(--lk-accent); font-weight: 600; font-size: .92rem; margin-bottom: 22px; }
.lk-pill svg { width: 16px; height: 16px; }
.lk-hero h1 { margin-bottom: 22px; }
.lk-hero .lk-lead { margin-bottom: 32px; max-width: 34em; }
.lk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.lk-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--lk-muted); font-size: .96rem; }
.lk-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.lk-ticks svg { width: 17px; height: 17px; color: var(--lk-ok); flex: none; }

/* Кадр кабинета в «окне браузера» */
.lk-frame {
	margin: 0; border-radius: 14px; overflow: hidden; background: var(--lk-card);
	border: 1px solid var(--lk-line); box-shadow: var(--lk-shadow-lg);
}
.lk-frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--lk-bg-soft); border-bottom: 1px solid var(--lk-line); }
.lk-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--lk-line); }
.lk-frame-bar span { margin-left: 10px; font: 500 .78rem/1 var(--lk-mono); color: var(--lk-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-frame img { width: 100%; height: auto; }
.lk-frame--crop img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* Сцена первого экрана: кадр + журнал проверки поверх */
.lk-stage { position: relative; margin: 0; padding-bottom: 64px; }
.lk-stage .lk-frame { transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; }

.lk-console {
	position: absolute; left: -36px; bottom: 0; width: min(440px, 92%);
	border-radius: 16px; background: var(--lk-console); color: var(--lk-console-ink);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 0 0 1px var(--lk-console-line);
	font: 500 .84rem/1.5 var(--lk-mono); overflow: hidden;
}
.lk-console-head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--lk-console-line); color: var(--lk-console-muted); font-family: var(--lk-font); font-size: .82rem; }
.lk-console-head b { color: var(--lk-console-ink); font-weight: 650; white-space: nowrap; }
.lk-console-head span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-console ol { list-style: none; margin: 0; padding: 10px 16px 6px; }
.lk-console li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 4px 0; }
.lk-console li svg { width: 15px; height: 15px; color: var(--lk-ok); transform: translateY(2px); }
.lk-console li em { font-style: normal; color: var(--lk-console-muted); text-align: right; white-space: nowrap; }
.lk-console li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-console-verdict {
	display: flex; align-items: center; gap: 10px; margin: 6px 12px 12px; padding: 11px 14px; border-radius: 11px;
	background: var(--lk-console-ok-bg); color: var(--lk-console-ok); font-family: var(--lk-font); font-weight: 650; font-size: .95rem;
}
.lk-console-verdict small { margin-left: auto; color: var(--lk-console-muted); font-weight: 500; }
.lk-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--lk-ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lk-ok) 25%, transparent); }

/* Один раз при загрузке: строки журнала появляются по очереди, затем вердикт. */
@media (prefers-reduced-motion: no-preference) {
	.lk-console li, .lk-console-verdict { opacity: 0; animation: lk-line .35s ease forwards; }
	.lk-console li:nth-child(1) { animation-delay: .5s; }
	.lk-console li:nth-child(2) { animation-delay: .95s; }
	.lk-console li:nth-child(3) { animation-delay: 1.4s; }
	.lk-console li:nth-child(4) { animation-delay: 1.85s; }
	.lk-console li:nth-child(5) { animation-delay: 2.3s; }
	.lk-console li:nth-child(6) { animation-delay: 2.75s; }
	.lk-console-verdict { animation-name: lk-verdict; animation-duration: .5s; animation-delay: 3.3s; }
	.lk-console-verdict .lk-dot { animation: lk-pulse 2s ease 3.8s 3; }
}
@keyframes lk-line { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes lk-verdict { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lk-pulse { 50% { box-shadow: 0 0 0 9px transparent; } }

@media (max-width: 960px) {
	.lk-hero-grid { grid-template-columns: minmax(0, 1fr); }
	.lk-stage { padding-bottom: 0; }
	.lk-stage .lk-frame { transform: none; }
	.lk-console { position: relative; left: auto; bottom: auto; width: auto; margin: -56px 12px 0; }
}

/* ── Вкладки ролей (переключение — theme.js; без скрипта видны все панели) ── */
.lk-tabs-list { display: none; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--lk-card); border: 1px solid var(--lk-line); margin-bottom: 32px; }
.lk-tabs.is-ready .lk-tabs-list { display: inline-flex; }
@media (max-width: 640px) {
	.lk-tabs-list { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
	.lk-tabs-list::-webkit-scrollbar { display: none; }
	.lk-tabs-list button { flex: none; padding: 11px 16px; font-size: .95rem; }
}
.lk-tabs-list button {
	font: 650 1rem/1 var(--lk-font); color: var(--lk-muted); background: transparent; border: 0; cursor: pointer;
	padding: 12px 22px; border-radius: 999px; transition: background-color .2s ease, color .2s ease;
}
.lk-tabs-list button:hover { color: var(--lk-ink); }
.lk-tabs-list button[aria-selected="true"] { background: linear-gradient(135deg, var(--lk-grad-a), var(--lk-grad-b)); color: var(--lk-accent-ink); }
.lk-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.lk-panel + .lk-panel { margin-top: 64px; }
.lk-tabs.is-ready .lk-panel + .lk-panel { margin-top: 0; }
.lk-panel[hidden] { display: none; }
.lk-panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.025em; line-height: 1.12; }
.lk-panel ul { list-style: none; padding: 0; margin: 18px 0 28px; display: grid; gap: 14px; }
.lk-panel li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--lk-muted); }
.lk-panel li svg { width: 20px; height: 20px; color: var(--lk-ok); margin-top: 3px; }
.lk-panel li b { color: var(--lk-ink); font-weight: 650; }
.lk-panel .lk-actions { margin-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
	.lk-tabs.is-ready .lk-panel:not([hidden]) { animation: lk-line .3s ease; }
}
@media (max-width: 900px) { .lk-panel { grid-template-columns: minmax(0, 1fr); } }

/* ── Полоса «текст + кадр» ────────────────────────────────────────────── */
.lk-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.lk-split--flip > :first-child { order: 2; }
@media (max-width: 900px) { .lk-split { grid-template-columns: minmax(0, 1fr); } .lk-split--flip > :first-child { order: 0; } }
.lk-checks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; }
.lk-checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--lk-line); }
.lk-section--band .lk-checks li { border-color: var(--lk-band-line); }
.lk-checks li:last-child { border-bottom: 0; }
.lk-checks svg { width: 22px; height: 22px; color: var(--lk-ok); margin-top: 2px; }
.lk-checks b { display: block; margin-bottom: 2px; font-weight: 650; }
.lk-checks span { color: var(--lk-muted); font-size: .96rem; }
.lk-section--band .lk-checks span { color: var(--lk-band-muted); }
.lk-section--band .lk-frame { border-color: var(--lk-band-line); }

/* ── Сравнение ────────────────────────────────────────────────────────── */
.lk-compare-wrap { overflow-x: auto; border-radius: var(--lk-radius); border: 1px solid var(--lk-line); background: var(--lk-card); -webkit-overflow-scrolling: touch; }
.lk-compare { width: 100%; min-width: 780px; border-collapse: separate; border-spacing: 0; font-size: .97rem; }
.lk-compare th, .lk-compare td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--lk-line); }
.lk-compare tbody tr:last-child th, .lk-compare tbody tr:last-child td { border-bottom: 0; }
.lk-compare thead th { font-size: 1.02rem; font-weight: 700; background: var(--lk-bg-soft); }
.lk-compare tbody th { font-weight: 650; width: 20%; position: sticky; left: 0; background: var(--lk-card); z-index: 1; }
.lk-compare td { color: var(--lk-muted); }
.lk-compare .is-us { background: var(--lk-accent-soft); color: var(--lk-ink); font-weight: 600; }
.lk-compare thead .is-us { background: linear-gradient(135deg, var(--lk-grad-a), var(--lk-grad-b)); color: var(--lk-accent-ink); }
.lk-compare sup { font-size: .72em; }
.lk-compare sup a { font-weight: 600; margin-left: 2px; }
.lk-sources { margin-top: 18px; font-size: .86rem; color: var(--lk-muted); }
.lk-sources ol { margin: 6px 0 0; padding-left: 1.4em; columns: 2 320px; column-gap: 32px; }
.lk-sources li { margin-bottom: 4px; break-inside: avoid; overflow-wrap: anywhere; }
.lk-sources a { color: var(--lk-muted); text-decoration: underline; text-underline-offset: 2px; }

/* ── Лента кадров ─────────────────────────────────────────────────────── */
.lk-rail-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.lk-rail-head .lk-head { margin-bottom: 0; }
.lk-rail-nav { display: flex; gap: 8px; }
.lk-rail-nav button svg { width: 18px; height: 18px; }
.lk-rail-nav button:first-child svg { transform: rotate(180deg); }
.lk-rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: min(600px, 84vw); gap: 22px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--lk-gutter); padding: 4px var(--lk-gutter) 24px;
	scrollbar-width: thin; max-width: 1400px; margin: 0 auto;
}
.lk-rail figure { margin: 0; scroll-snap-align: start; }
.lk-rail .lk-frame { box-shadow: var(--lk-shadow); }
.lk-rail figcaption { margin-top: 14px; color: var(--lk-muted); font-size: .96rem; max-width: 52ch; }
.lk-rail figcaption b { display: block; color: var(--lk-ink); font-size: 1.06rem; margin-bottom: 2px; }
@media (max-width: 640px) { .lk-rail-nav { display: none; } }

/* ── Шаги сделки (последовательность) ─────────────────────────────────── */
.lk-steps { counter-reset: lk-step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--lk-n, 4), minmax(0, 1fr)); gap: 28px; position: relative; }
.lk-steps::before { content: ""; position: absolute; top: 19px; left: 20px; right: 20px; height: 2px; background: linear-gradient(90deg, var(--lk-grad-a), var(--lk-grad-b)); opacity: .35; }
.lk-steps > li { counter-increment: lk-step; position: relative; }
.lk-steps > li::before {
	content: counter(lk-step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; position: relative;
	border-radius: 50%; background: linear-gradient(135deg, var(--lk-grad-a), var(--lk-grad-b)); color: var(--lk-accent-ink); font-weight: 700;
	box-shadow: 0 0 0 6px var(--lk-bg);
}
.lk-section--soft .lk-steps > li::before { box-shadow: 0 0 0 6px var(--lk-bg-soft); }
.lk-steps h3 { margin-bottom: 6px; }
.lk-steps p { color: var(--lk-muted); margin: 0; }
@media (max-width: 900px) {
	.lk-steps { grid-template-columns: 1fr; gap: 0; }
	.lk-steps::before { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--lk-grad-a), var(--lk-grad-b)); }
	.lk-steps > li { display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; padding-bottom: 26px; }
	.lk-steps > li::before { grid-row: span 2; margin: 0; }
}

/* ── Возможности: плитки разного веса ─────────────────────────────────── */
.lk-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.lk-tile { grid-column: span 2; padding: 26px; border-radius: var(--lk-radius); background: var(--lk-card); border: 1px solid var(--lk-line); }
.lk-tile--wide { grid-column: span 3; }
.lk-tile h3 { margin-bottom: 8px; }
.lk-tile p { color: var(--lk-muted); margin: 0; }
.lk-tile a { font-weight: 650; }
.lk-ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 12px; background: var(--lk-accent-soft); color: var(--lk-accent); }
.lk-ico svg { width: 21px; height: 21px; }
@media (max-width: 980px) { .lk-tile, .lk-tile--wide { grid-column: span 3; } }
@media (max-width: 640px) { .lk-bento { grid-template-columns: 1fr; } .lk-tile, .lk-tile--wide { grid-column: auto; } }

/* Факты «поле — что видно» */
.lk-facts { display: grid; margin: 0; border: 1px solid var(--lk-line); border-radius: var(--lk-radius); overflow: hidden; background: var(--lk-card); }
.lk-facts > div { display: grid; grid-template-columns: 34% 1fr; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--lk-line); }
.lk-facts > div:first-child { border-top: 0; }
.lk-facts dt { font-weight: 650; }
.lk-facts dd { margin: 0; color: var(--lk-muted); }
@media (max-width: 520px) { .lk-facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* FAQ */
.lk-faq { max-width: 820px; margin: 0 auto; }
.lk-faq details { border-bottom: 1px solid var(--lk-line); }
.lk-faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-weight: 650; font-size: 1.1rem; }
.lk-faq summary::-webkit-details-marker { display: none; }
.lk-faq summary::after { content: ""; position: absolute; right: 8px; top: 28px; width: 10px; height: 10px; border-right: 2px solid var(--lk-muted); border-bottom: 2px solid var(--lk-muted); transform: rotate(45deg); transition: transform .2s ease; }
.lk-faq details[open] summary::after { transform: rotate(-135deg); top: 33px; }
.lk-faq details > :not(summary) { color: var(--lk-muted); padding-bottom: 22px; margin: 0; max-width: 66ch; }

/* Финальный призыв */
.lk-cta {
	position: relative; overflow: hidden; border-radius: 28px; padding: clamp(36px, 6vw, 72px); color: var(--lk-accent-ink);
	background: linear-gradient(135deg, var(--lk-grad-a), var(--lk-grad-b));
	display: grid; grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; gap: 28px;
}
.lk-cta::after {
	content: ""; position: absolute; inset: auto -10% -60% 40%; height: 140%; border-radius: 50%;
	background: radial-gradient(closest-side, var(--lk-on-grad-glow), transparent 70%); pointer-events: none;
}
.lk-cta h2 { margin-bottom: 10px; }
.lk-cta p { margin: 0; opacity: .92; font-size: 1.1rem; }
.lk-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.lk-cta .lk-btn--ghost { color: var(--lk-accent-ink); border-color: var(--lk-on-grad-line); }
.lk-cta .lk-btn--ghost:hover { background: var(--lk-on-grad-soft); }
@media (max-width: 800px) { .lk-cta { grid-template-columns: 1fr; } }

/* Закреплённый призыв на телефоне — появляется, когда кнопки первого экрана ушли из вида (theme.js) */
.lk-sticky-cta {
	position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
	display: none; padding: 7px; border-radius: 999px; background: color-mix(in srgb, var(--lk-card) 90%, transparent);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--lk-line); box-shadow: var(--lk-shadow-lg);
}
.lk-sticky-cta .lk-btn { width: 100%; }
@media (max-width: 700px) { .lk-sticky-cta.is-on { display: block; } body { padding-bottom: 76px; } }

/* Текстовые страницы */
.lk-doc { padding: clamp(44px, 7vw, 88px) 0; }
.lk-prose { font-size: 1.07rem; }
.lk-prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.lk-prose ul, .lk-prose ol { padding-left: 1.3em; }
.lk-prose li { margin-bottom: .45em; }

/* Подвал */
.lk-footer { border-top: 1px solid var(--lk-line); background: var(--lk-bg-soft); padding: 56px 0 30px; color: var(--lk-muted); font-size: .96rem; }
.lk-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 800px) { .lk-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .lk-footer-grid { grid-template-columns: 1fr; } }
.lk-footer h2 { font-size: .98rem; letter-spacing: 0; color: var(--lk-ink); margin-bottom: 14px; }
.lk-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.lk-footer a { color: var(--lk-muted); }
.lk-footer a:hover { color: var(--lk-ink); }
.lk-footer .lk-logo { margin-bottom: 12px; }
.lk-footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--lk-line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
