/* Стартовая страница Cernix. Подключается после app.css (оттуда — окна, кнопки окон и уведомления).
   Палитра: чернила (фон), глубина (панели), синий бренда, лёд (текст и грани кристалла), дымка (второстепенный текст).
   Заголовки — Lora, остальное — системный шрифт. Один мотив на всю страницу — срезанный правый верхний угол,
   как залитая грань в логотипе. */

@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

body.lp {
  --ink: #070b18;
  --deep: #0c1430;
  --deep-2: #111c40;
  --blue: #3b6cff;
  --blue-soft: #86a6ff;
  --ice: #e8eeff;
  --haze: #909cbc;
  --rule: rgba(150, 178, 255, .17);
  --edge: #25325c;
  --amber: #f3bd55;
  --mint: #63d6a2;
  --rose: #ff8c8c;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --cut: 26px;
  margin: 0;
  background: var(--ink);
  color: var(--ice);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.lp [hidden] { display: none !important; }
.lp-wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.lp-skip { position: absolute; left: -9999px; top: 8px; background: var(--ice); color: var(--ink); padding: 8px 14px; border-radius: 3px; z-index: 300; }
.lp-skip:focus { left: 8px; }
.lp :focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

/* окна из app.css остаются светлыми — как лист документа поверх тёмной страницы */
.lp .modal-bg { color: #1c2433; font-size: 14px; line-height: 1.45; font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; background: rgba(3, 6, 16, .72); }
.lp .modal { background: #ffffff !important; color: #1c2433 !important; }
.lp .modal h1, .lp .modal h2, .lp .modal h3, .lp .modal p, .lp .modal li, .lp .modal span, .lp .modal div { color: #1c2433; }
.lp .modal .muted { color: #64748b !important; }
.lp .modal a { color: #1d4ed8 !important; }

/* --- кнопки --- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 3px;
  border: 1px solid transparent; font: 600 15px/1 var(--sans); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s; }
.lp-btn.primary { background: var(--blue); color: #fff; }
.lp-btn.primary:hover { background: #5683ff; }
.lp-btn.ghost { background: transparent; color: var(--ice); border-color: rgba(190, 208, 255, .38); }
.lp-btn.ghost:hover { border-color: var(--ice); background: rgba(190, 208, 255, .07); }
.lp-btn.big { min-height: 54px; padding: 0 30px; font-size: 16px; }
.lp-btn.wide { width: 100%; }
.lp-btn:disabled { opacity: .55; cursor: default; }

/* --- шапка --- */
.lp-head { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: background-color .25s, border-color .25s; border-bottom: 1px solid transparent; }
.lp-head.scrolled { background: rgba(7, 11, 24, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--rule); }
.lp-head-in { display: flex; align-items: center; gap: 36px; height: 72px; }
.lp-brand { display: flex; align-items: center; gap: 12px; color: var(--ice); text-decoration: none; }
.lp-brand:hover { text-decoration: none; }
.lp-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.lp-brand-text b { font: 600 21px/1.1 var(--serif); letter-spacing: .01em; }
.lp-brand-text span { font-size: 12.5px; color: var(--haze); }
.lp-nav { display: flex; gap: 30px; margin-left: auto; }
.lp-nav a { color: var(--ice); font-size: 15px; text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.lp-nav a:hover { border-bottom-color: var(--blue-soft); text-decoration: none; }

/* Поисковая строка в шапке публичных страниц (/org/*, /insights/*, /mcp) */
.lp-head-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(12, 20, 48, 0.85);
  border: 1px solid var(--edge);
  border-radius: 8px;
  padding: 4px 6px 4px 14px;
  max-width: 480px;
  flex: 1;
  margin-left: auto;
  margin-right: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lp-head-search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(59, 108, 255, 0.25);
}
.lp-head-search svg {
  flex: none;
  color: var(--haze);
}
.lp-head .lp-head-search input,
.lp-head-search input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: var(--ice) !important;
  font: 14.5px/1.4 var(--sans) !important;
  width: 100% !important;
  padding: 0 !important;
  height: auto !important;
}
.lp-head-search input::placeholder {
  color: var(--haze);
  opacity: 0.7;
}
.lp-head .lp-head-search button,
.lp-head-search button {
  background: var(--blue) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 5px !important;
  padding: 6px 14px !important;
  font: 600 13px/1 var(--sans) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  min-height: 0 !important;
  transition: background-color 0.15s !important;
}
.lp-head .lp-head-search button:hover,
.lp-head-search button:hover {
  background: #5683ff !important;
}
.lp-public-main {
  padding-top: 104px;
  min-height: calc(100vh - 420px);
}
@media (max-width: 768px) {
  .lp-head-search {
    margin: 0 10px;
  }
  .lp-head .lp-head-search button,
  .lp-head-search button {
    padding: 6px 10px !important;
  }
}
@media (max-width: 520px) {
  .lp-head-in {
    gap: 10px;
  }
  .lp-head-search {
    margin: 0 4px;
    padding: 3px 6px 3px 10px;
  }
}

/* --- главный экран --- */
.lp-hero { position: relative; min-height: min(100vh, 900px); display: flex; flex-direction: column; justify-content: center; padding: 120px 0 44px;
  background: radial-gradient(120% 90% at 78% 40%, #0f1a40 0%, rgba(15, 26, 64, 0) 60%); overflow: hidden; }
#crystal { position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 44%, #000 66%); mask-image: linear-gradient(90deg, transparent 44%, #000 66%); }
.lp-hero-in { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.lp-hero h1 { font: 500 clamp(38px, 4.9vw, 70px)/1.08 var(--serif); letter-spacing: -.012em; margin: 0; max-width: 12em; text-wrap: balance; }
.lp-lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: #c3cde6; max-width: 33em; margin: 28px 0 0; }
.lp-search-box { margin-top: 28px; max-width: 620px; width: 100%; position: relative; z-index: 2; }
.lp-search-input-wrap { display: flex; align-items: center; background: rgba(15, 23, 42, 0.88); border: 1px solid rgba(148, 163, 184, 0.35); border-radius: 10px; padding: 6px 8px 6px 16px; backdrop-filter: blur(10px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45); transition: border-color .2s, box-shadow .2s; }
.lp-search-input-wrap:focus-within { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25), 0 8px 30px rgba(0, 0, 0, 0.45); }
.lp-search-icon { color: #94a3b8; flex: none; margin-right: 12px; }
.lp-search-input { flex: 1; background: transparent; border: none; outline: none; color: #f8fafc; font-size: 16px; min-width: 0; }
.lp-search-input::placeholder { color: #64748b; }
.lp-search-btn { flex: none; padding: 10px 22px; font-size: 15px; border-radius: 8px; }
.lp-search-hints { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; font-size: 13px; color: #94a3b8; }
.lp-search-hints a { color: #93c5fd; text-decoration: none; border-bottom: 1px dashed rgba(147, 197, 253, 0.4); }
.lp-search-hints a:hover { color: #bfdbfe; border-bottom-style: solid; }
.lp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 38px; }
.lp-more { color: var(--ice); font-size: 16px; text-decoration: none; border-bottom: 1px solid rgba(190, 208, 255, .45); padding-bottom: 2px; }
.lp-more:hover { border-bottom-color: var(--ice); text-decoration: none; }
.lp-facts { position: relative; list-style: none; margin: 56px 0 0; padding: 20px 0 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 44px;
  color: var(--haze); font-size: 15px; }
.lp-facts li { display: flex; align-items: center; gap: 10px; }
.lp-facts li::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--blue-soft); flex: none; }

/* --- разделы --- */
.lp-sec { padding: 112px 0; }
.lp-h2 { font: 500 clamp(30px, 3.3vw, 46px)/1.14 var(--serif); letter-spacing: -.008em; margin: 0; max-width: 18em; text-wrap: balance; }
.lp-sub { color: #c3cde6; max-width: 38em; margin: 18px 0 0; }
.lp-note { color: var(--haze); font-size: 15px; margin: 26px 0 0; max-width: 46em; }

.lp-feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; padding: 72px 0; border-top: 1px solid var(--rule); }
.lp-h2 + .lp-feat { margin-top: 56px; }
.lp-feat.flip .lp-feat-text { order: 2; }
.lp-feat h3 { font: 500 clamp(24px, 2.3vw, 32px)/1.2 var(--serif); margin: 0 0 16px; text-wrap: balance; }
.lp-feat-text p { color: #c3cde6; margin: 0; max-width: 34em; }

.lp-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; font-size: 16px; line-height: 1.45; }
.lp-points li { position: relative; padding-left: 24px; }
.lp-points li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--blue); }
.lp-points.wide { margin: 0; gap: 0; font-size: 18px; }
.lp-points.wide li { padding: 20px 0 20px 30px; border-top: 1px solid var(--rule); }
.lp-points.wide li:last-child { border-bottom: 1px solid var(--rule); }
.lp-points.wide li::before { top: calc(20px + .58em); }

/* панель-пример: срезанный угол */
.lp-ex { position: relative; margin: 0; padding: 30px 32px 26px; background: var(--edge);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.lp-ex::before { content: ""; position: absolute; inset: 1px; background: linear-gradient(160deg, var(--deep-2), var(--deep) 60%);
  clip-path: polygon(0 0, calc(100% - var(--cut) + .4px) 0, 100% calc(var(--cut) - .4px), 100% 100%, 0 100%); }
.lp-ex > * { position: relative; }
.lp-ex figcaption { color: var(--haze); font-size: 13.5px; line-height: 1.45; margin-top: 18px; }

/* «белые пятна»: клиенты × продукты */
.lp-matrix table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lp-matrix th { font-weight: 400; color: var(--haze); text-align: center; padding: 0 4px 12px; }
.lp-matrix tbody th { text-align: left; color: var(--ice); padding: 0 12px 0 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lp-matrix tbody td { height: 46px; text-align: center; border-top: 1px solid var(--rule); }
.lp-matrix tbody th { border-top: 1px solid var(--rule); }
.lp-matrix td i { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lp-matrix td::before, .lp-legend span::before { content: ""; display: inline-block; vertical-align: middle; border-radius: 50%; }
.lp-matrix td.b::before, .lp-legend .b::before { width: 11px; height: 11px; background: var(--blue-soft); }
.lp-matrix td.w::before, .lp-legend .w::before { width: 17px; height: 17px; border: 1.5px solid #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .08), 0 0 18px rgba(255, 255, 255, .35); }
.lp-matrix td.n::before { width: 3px; height: 3px; background: #44517c; }
.lp-legend { display: flex; gap: 26px; margin-top: 16px; font-size: 13.5px; color: var(--haze); }
.lp-legend span::before { margin-right: 9px; }
.lp-legend .w::before { width: 11px; height: 11px; box-shadow: none; }

/* пример карточки контрагента */
.lp-card-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; font-size: 13.5px; color: var(--haze); }
.lp-card-head b { font: 600 19px/1.3 var(--sans); color: var(--ice); width: 100%; letter-spacing: .01em; }
.lp-card-head .ok { color: var(--mint); }
.lp-spark { display: block; width: 100%; height: 70px; margin: 18px 0 6px; }
.lp-spark .line { fill: none; stroke: var(--blue-soft); stroke-width: 2; vector-effect: non-scaling-stroke; }
.lp-spark .area { fill: rgba(59, 108, 255, .16); }
.lp-pairs { list-style: none; margin: 0; padding: 0; }
.lp-pairs li { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 15.5px; line-height: 1.4; }
.lp-pairs .k { color: var(--haze); }
.lp-pairs.first li:first-child { border-top: 0; padding-top: 0; }

/* цепочка писем */
.lp-steps { list-style: none; margin: 0; padding: 4px 0 0; }
.lp-steps li { position: relative; display: grid; grid-template-columns: 7.2em 1fr; gap: 16px; padding: 0 0 26px 30px; font-size: 15.5px; line-height: 1.45; }
.lp-steps li:last-child { padding-bottom: 0; }
.lp-steps li::before { content: ""; position: absolute; left: 0; top: .42em; width: 9px; height: 9px; transform: rotate(45deg); border: 1.5px solid var(--blue-soft); background: var(--deep); z-index: 1; }
.lp-steps li::after { content: ""; position: absolute; left: 5px; top: 1.1em; bottom: -.3em; width: 1px; background: var(--edge); }
.lp-steps li:last-child::after { display: none; }
.lp-steps li:last-child::before { background: #fff; border-color: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, .5); }
.lp-steps .k { color: var(--haze); }

/* --- тарифы --- */
.lp-pricing { background: linear-gradient(180deg, rgba(12, 20, 48, 0), var(--deep) 30%, var(--deep) 70%, rgba(12, 20, 48, 0)); }
.lp-plans { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; margin-top: 52px; align-items: stretch; }
.lp-plan { position: relative; display: flex; flex-direction: column; padding: 38px 38px 34px; border: 1px solid var(--edge); }
.lp-plan h3 { font: 600 17px/1.2 var(--sans); margin: 0; color: var(--haze); }
.lp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 14px 0 6px; }
.lp-price span { font: 500 clamp(40px, 4.4vw, 60px)/1.05 var(--serif); letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.lp-price small { font-size: 16px; color: var(--haze); }
.lp-plan-sub { font: 400 13px/1.45 var(--sans); color: var(--haze); margin: 6px 0 10px; }
.lp-plan.main .lp-plan-sub { color: #d6e2ff; font-weight: 500; line-height: 1.4; }
.lp-plan .lp-points { margin: 22px 0 32px; }
.lp-plan .lp-btn { margin-top: auto; align-self: flex-start; }
.lp-plan.main { border: 0; background: var(--blue); padding: 39px 39px 35px;
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%); }
.lp-plan.main::before { content: ""; position: absolute; inset: 1px; background: linear-gradient(150deg, #16265c, #0e1838 70%);
  clip-path: polygon(0 0, calc(100% - 43.6px) 0, 100% 43.6px, 100% 100%, 0 100%); }
.lp-plan.main::after { content: ""; position: absolute; right: 0; top: 0; width: 44px; height: 44px; background: #fff; clip-path: polygon(0 0, 100% 100%, 0 100%); opacity: .92; }
.lp-plan.main > * { position: relative; }
.lp-plan.main h3 { color: var(--blue-soft); }
.lp-plan.main .lp-points li::before { background: #fff; }

/* --- партнёры --- */
.lp-partners { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.lp-partners .lp-btn { margin-top: 30px; }

/* --- последний экран --- */
.lp-final { padding: 96px 0 112px; border-top: 1px solid var(--rule); background: radial-gradient(70% 120% at 12% 100%, rgba(59, 108, 255, .2), rgba(59, 108, 255, 0) 70%); }
.lp-final h2 { font: 500 clamp(32px, 4vw, 54px)/1.1 var(--serif); margin: 0; max-width: 15em; text-wrap: balance; }
.lp-final p { color: #c3cde6; margin: 18px 0 0; }
.lp-final .lp-btn { margin-top: 34px; }

/* --- подвал --- */
.lp-foot { border-top: 1px solid var(--rule); padding: 56px 0 30px; font-size: 15px; color: var(--haze); }
.lp-foot-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 48px; }
.lp-foot b { font: 600 20px/1.2 var(--serif); color: var(--ice); }
.lp-foot p { margin: 10px 0 0; max-width: 30em; }
.lp-foot h4 { font: 600 14px/1.2 var(--sans); color: var(--ice); margin: 4px 0 14px; }
.lp-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.lp-links + .lp-links { margin-top: 9px; }
.lp-links a { color: var(--haze); text-decoration: none; border-bottom: 1px solid transparent; }
.lp-links a:hover { color: var(--ice); border-bottom-color: var(--rule); text-decoration: none; }
.lp-req { font-size: 13.5px; }
.lp-copy { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 13.5px; }
.lp-foot-note { margin: 8px 0 0; max-width: 760px; color: inherit; font-size: inherit; opacity: .85; }
/* знак оператора ПДн (152-ФЗ): фирменный ромб из «тонкого стекла» с синим отсветом и редким бликом, без картинок */
.lp-rkn { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.lp-rkn .lp-foot-note { margin: 0; }
.lp-rkn:has(> .lp-foot-note[hidden]) { display: none; }
.lp-rkn .lp-foot-note a { color: var(--ice); text-decoration: none; border-bottom: 1px solid rgba(134, 166, 255, .45); }
.lp-rkn .lp-foot-note a:hover { border-bottom-color: var(--blue-soft); }
.lp-rkn-mark { position: relative; flex: none; width: 30px; height: 30px; filter: drop-shadow(0 0 6px rgba(59, 108, 255, .45)); }
.lp-rkn-mark svg { display: block; }
.lp-rkn-mark::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  clip-path: polygon(50% 9.4%, 90.6% 50%, 50% 90.6%, 9.4% 50%);
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .6) 50%, transparent 60%) no-repeat;
  background-size: 300% 100%; background-position: 130% 0; animation: lp-rkn-shine 4.5s ease-in-out infinite; }
@keyframes lp-rkn-shine { 0%, 72% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
@media (prefers-reduced-motion: reduce) { .lp-rkn-mark::after { animation: none; opacity: 0; } }

/* --- окно входа --- */
.lp-shade { position: fixed; inset: 0; z-index: 59; background: rgba(3, 6, 16, .62); opacity: 0; transition: opacity .28s; }
.lp-shade.open { opacity: 1; }
.lp-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(440px, 100%); background: var(--deep); border-left: 1px solid var(--edge);
  padding: 76px 40px 32px; overflow-y: auto; transform: translateX(102%); visibility: hidden; transition: transform .28s cubic-bezier(.2, .7, .2, 1), visibility 0s .28s;
  box-shadow: -30px 0 80px rgba(0, 0, 0, .45); }
.lp-drawer.open { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
.lp-drawer h2 { font: 500 32px/1.15 var(--serif); margin: 0 0 26px; color: var(--ice); }
.lp-x { position: absolute; top: 22px; right: 24px; width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; color: var(--haze); cursor: pointer; border-radius: 3px; }
.lp-x:hover { color: var(--ice); }
.lp-drawer form { display: flex; flex-direction: column; }
.lp-drawer label { font-size: 14px; color: var(--haze); margin: 16px 0 7px; }
.lp-drawer input[type=text], .lp-drawer input[type=password] { width: 100%; height: 48px; padding: 0 14px; background: #080e22; color: var(--ice); border: 1px solid var(--edge);
  border-radius: 3px; font: 400 16px var(--sans); }
.lp-drawer input[type=text]:focus, .lp-drawer input[type=password]:focus { outline: none; border-color: var(--blue-soft); box-shadow: 0 0 0 3px rgba(59, 108, 255, .28); }
.lp-drawer input:-webkit-autofill { -webkit-text-fill-color: var(--ice); box-shadow: 0 0 0 100px #0f1a3e inset; caret-color: var(--ice); }
.lp-pw { position: relative; }
.lp-pw input { padding-right: 52px !important; }
.lp-pw input::-ms-reveal { display: none; }
.lp-eye { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; color: var(--haze); cursor: pointer; border-radius: 3px; }
.lp-eye:hover { color: var(--ice); }
.lp-eye .off, .lp-eye[aria-pressed="true"] .on { display: none; }
.lp-eye[aria-pressed="true"] .off { display: block; }
.lp-eye[aria-pressed="true"] { color: var(--blue-soft); }
.lp-caps { font-size: 13.5px; color: var(--amber); margin-top: 7px; }
.lp-drawer .lp-check { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; margin: 22px 0 0; cursor: pointer; }
.lp-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.lp-check a, .lp-form-links a, .lp-consent a { color: var(--ice); text-decoration: underline; text-decoration-color: rgba(190, 208, 255, .4); text-underline-offset: 3px; }
.lp-check a:hover, .lp-form-links a:hover, .lp-consent a:hover { text-decoration-color: var(--ice); }
.lp-msg { font-size: 14.5px; line-height: 1.45; margin-top: 18px; min-height: 22px; }
.lp-msg.err { color: var(--rose); }
.lp-msg.ok { color: var(--mint); }
.lp-msg.info { color: var(--ice); }
.lp-msg.warn { color: var(--rose); }
.lp-msg .lp-left { margin-top: 10px; padding: 11px 14px; border-left: 3px solid var(--amber); background: rgba(243, 189, 85, .1); color: var(--amber); font-weight: 600; }
.lp-drawer .lp-btn.wide { margin-top: 16px; min-height: 50px; font-size: 16px; }
.lp-form-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 14.5px; }

/* --- согласие --- */
.lp-consent-bg { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .3); }
.lp-consent { position: absolute; left: 0; right: 0; bottom: 0; background: var(--deep-2); border-top: 1px solid var(--edge);
  padding: 18px max(24px, calc((100% - 1180px) / 2)); display: flex; align-items: center; gap: 16px 32px; font-size: 14px; line-height: 1.5;
  color: #c3cde6; box-shadow: 0 -18px 50px rgba(0, 0, 0, .45); }
.lp-consent p { margin: 0; flex: 1; }
.lp-noscript { position: fixed; inset: auto 0 0 0; background: var(--amber); color: #1c1403; text-align: center; padding: 10px; z-index: 300; font-size: 14px; }

/* --- узкие экраны --- */
/* --- платформа: модули — сетка «название над описанием», разделители вместо карточек --- */
.lp-mods { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule); }
.lp-mods li { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 30px 0; border-bottom: 1px solid var(--rule); }
.lp-mods li + li { padding-left: 26px; border-left: 1px solid var(--rule); }
.lp-mods li:nth-child(4n + 1) { padding-left: 0; border-left: 0; }
.lp-mods .k { font: 500 21px/1.2 var(--serif); color: var(--ice); }
.lp-mods .v { color: #b4bfdc; font-size: 15px; line-height: 1.5; }

/* --- калькулятор --- */
.lp-calc-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 36px; margin-top: 44px; align-items: start; }
.lp-calc-form { display: flex; flex-direction: column; gap: 22px; }
.lp-calc-form fieldset { border: 0; border-top: 1px solid var(--rule); margin: 0; padding: 16px 0 0; display: flex; flex-direction: column; gap: 12px; }
.lp-calc-form legend { color: var(--haze); font-size: 13.5px; padding: 0 0 6px; }
.lp-calc-form label { display: flex; gap: 12px; align-items: center; font-size: 15.5px; cursor: pointer; }
.lp-calc-form input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.lp-calc-row { justify-content: space-between; flex-wrap: wrap; }
.lp-calc-num { display: flex; align-items: center; gap: 14px; }
.lp-calc-num input[type=range] { width: 220px; accent-color: var(--blue); }
.lp-calc-num output { font: 600 22px/1 var(--serif); min-width: 2ch; text-align: right; }
.lp-calc-form input[type=number] { width: 140px; padding: 9px 10px; background: transparent; color: var(--ice); border: 1px solid var(--edge); font: 15px var(--sans); }
.lp-calc-out { border: 1px solid var(--edge); padding: 30px 30px 28px; display: flex; flex-direction: column; gap: 18px; }
.lp-calc-opt { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.lp-calc-opt b { font: 600 15px/1.3 var(--sans); color: var(--haze); }
.lp-calc-opt .sum { font: 500 30px/1 var(--serif); color: var(--ice); white-space: nowrap; }
.lp-calc-opt small { grid-column: 1 / -1; color: var(--haze); font-size: 13.5px; }
.lp-calc-opt.best b { color: var(--blue-soft); }
.lp-calc-opt.best .sum { color: #fff; }
.lp-calc-opt.best::after { content: "выгоднее"; grid-column: 1 / -1; justify-self: start; font-size: 12.5px; color: var(--ink); background: var(--mint); padding: 3px 8px; }
.lp-calc-out .lp-btn { align-self: flex-start; }
@media (max-width: 1100px) { .lp-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-mods li:nth-child(4n + 1) { padding-left: 26px; border-left: 1px solid var(--rule); }
  .lp-mods li:nth-child(2n + 1) { padding-left: 0; border-left: 0; } }
@media (max-width: 900px) { .lp-calc-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .lp-mods { grid-template-columns: minmax(0, 1fr); }
  .lp-mods li, .lp-mods li + li { padding: 20px 0; border-left: 0; } .lp-calc-num input[type=range] { width: 160px; }
  .lp-calc-opt { grid-template-columns: minmax(0, 1fr); } .lp-calc-opt .sum { font-size: 25px; } .lp-calc-out { padding: 22px 18px; } }

@media (max-width: 900px) {
  body.lp { font-size: 16px; }
  .lp-wrap { width: min(1180px, 100% - 40px); }
  .lp-nav { display: none; }
  .lp-head-in { height: 64px; }
  .lp-head .lp-btn { margin-left: auto; min-height: 40px; padding: 0 18px; }
  .lp-hero { min-height: 0; padding: 300px 0 36px; background: radial-gradient(90% 420px at 50% 150px, #0f1a40 0%, rgba(15, 26, 64, 0) 70%); }
  #crystal { -webkit-mask-image: linear-gradient(180deg, #000 240px, transparent 420px); mask-image: linear-gradient(180deg, #000 240px, transparent 420px); }
  .lp-facts { margin-top: 44px; flex-direction: column; }
  .lp-sec { padding: 72px 0; }
  .lp-feat, .lp-partners, .lp-plans { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .lp-feat { padding: 52px 0; }
  .lp-h2 + .lp-feat { margin-top: 36px; }
  .lp-feat.flip .lp-feat-text { order: 0; }
  .lp-ex { padding: 24px 20px 22px; }
  .lp-plan { padding: 30px 26px; }
  .lp-plan.main { padding: 31px 27px; }
  .lp-foot-in { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .lp-final { padding: 72px 0 84px; }
  .lp-drawer { padding: 70px 24px 28px; }
  .lp-consent { flex-direction: column; align-items: stretch; padding: 16px 20px 18px; }
}
@media (max-width: 520px) {
  .lp-brand-text span { display: none; }
  .lp-pairs li, .lp-steps li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .lp-matrix table { font-size: 12.5px; table-layout: fixed; }
  .lp-matrix thead td { width: 34%; }
  .lp-matrix thead th { font-size: 10.5px; padding: 0 0 10px; overflow: hidden; }
  .lp-matrix tbody th { padding-right: 6px; overflow: hidden; text-overflow: ellipsis; }
  .lp-ex { padding: 22px 16px 20px; }
  .lp-actions .lp-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-drawer, .lp-drawer.open, .lp-shade, .lp-head, .lp-btn { transition: none; }
  html { scroll-behavior: auto; }
}
html:has(body.lp) { scroll-behavior: smooth; scroll-padding-top: 84px; }

/* ===== 30.10 (итерация 115, LANDING.md): новые блоки ===== */
.lp-hero-note { color: var(--haze); font-size: 14px; margin: 14px 0 0; }
.lp-tail { color: #c3cde6; margin: 26px 0 0; max-width: 46em; }
.lp-tail.small { font-size: 15px; color: var(--haze); margin-top: 18px; }
.lp-sec-tight { padding-top: 0; }
.lp-feat.first { border-top: 0; padding-top: 0; }

/* появление при прокрутке: [data-anim] получает .in; дети последовательностей — по очереди (--i) */
.lp-anim [data-anim="seq"] > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i, 0) * 70ms); }
.lp-anim [data-anim="seq"].in > * { opacity: 1; transform: none; }
.lp-anim [data-anim="grow"] .lp-diff-plus { opacity: 0; transform: translateX(-28px); transition: opacity .7s ease .15s, transform .7s ease .15s; }
.lp-anim [data-anim="grow"].in .lp-diff-plus { opacity: 1; transform: none; }

/* «Больше, чем проверка» */
.lp-diff { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 0; margin-top: 48px; border: 1px solid var(--edge); }
.lp-diff h3 { font: 600 14px/1.35 var(--sans); color: var(--haze); margin: 0 0 14px; text-transform: none; }
.lp-diff-base { padding: 30px 30px 32px; }
.lp-diff-base .lp-points li::before { background: #44517c; }
.lp-diff-base .lp-points { color: #b4bfdc; }
.lp-diff-plus { padding: 30px 32px 32px; background: linear-gradient(150deg, #16265c, #0e1838 70%); border-left: 1px solid var(--edge); }
.lp-diff-plus h3 { color: var(--blue-soft); }
.lp-diff-plus .lp-pairs li { grid-template-columns: 13em 1fr; }
.lp-diff-plus .lp-pairs .k { color: var(--ice); font-weight: 600; }
.lp-diff-plus .lp-pairs .v { color: #c3cde6; }

/* роли: вкладки на широком экране, аккордеон на телефоне */
.lp-roles { margin-top: 44px; }
.lp-role-tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--rule); padding-bottom: 14px; }
.lp-role-tab { background: transparent; color: var(--haze); border: 1px solid var(--edge); border-radius: 3px; padding: 9px 14px; font: 500 14.5px/1.2 var(--sans); cursor: pointer; }
.lp-role-tab:hover { color: var(--ice); border-color: var(--blue-soft); }
.lp-role-tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.lp-role { display: none; padding: 34px 0 0; }
.lp-role.on { display: block; animation: lp-fade .35s ease; }
.lp-role-acc { display: none; }
.lp-role-q { font: italic 500 clamp(22px, 2.2vw, 30px)/1.3 var(--serif); margin: 0; max-width: 28em; }
.lp-role .lp-points { max-width: 46em; }
.lp-role-gain { margin: 22px 0 24px; color: var(--mint); }
.lp-role-gain b { color: var(--ice); font-weight: 600; }
@keyframes lp-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* сигналы: лента */
.lp-signals { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.lp-signals .lp-btn { margin-top: 30px; }
.lp-feed-box { padding: 22px 22px 18px; }
.lp-feed { list-style: none; margin: 0; padding: 0; height: 392px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.lp-feed li { flex: none; display: grid; gap: 3px; padding: 12px 14px 12px 34px; position: relative; background: rgba(8, 14, 34, .7); border: 1px solid var(--rule); border-radius: 3px; font-size: 14.5px; line-height: 1.4; }
.lp-feed li::before { content: ""; position: absolute; left: 13px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px rgba(99, 214, 162, .6); }
.lp-feed li.risk::before { background: var(--rose); box-shadow: 0 0 10px rgba(255, 140, 140, .6); }
.lp-feed .k { font-weight: 600; color: var(--ice); }
.lp-feed .v { color: #c3cde6; }
.lp-feed em { display: block; font-style: italic; color: var(--mint); margin-top: 2px; }
.lp-feed li.risk em { color: var(--rose); }
.lp-feed li.new { animation: lp-drop .55s cubic-bezier(.2, .7, .2, 1); }
@keyframes lp-drop { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: none; } }

/* штаб */
.lp-board { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-board li { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 26px; border: 1px solid var(--edge); background: linear-gradient(160deg, var(--deep-2), var(--deep) 70%); }
.lp-board li:nth-child(3) { border-color: rgba(255, 140, 140, .45); }
.lp-board .k { font: 500 20px/1.25 var(--serif); color: var(--ice); }
.lp-board .v { color: #b4bfdc; font-size: 15px; line-height: 1.5; }

/* аналитика рынка: макет панели */
.lp-market { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.lp-chips { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-chips li { border: 1px solid var(--edge); border-radius: 999px; padding: 5px 12px; font-size: 13.5px; color: #c3cde6; }
.lp-chips.wave { margin-top: 40px; }
.lp-badge { display: inline-block; margin: 22px 0 0; padding: 8px 12px; border-left: 3px solid var(--mint); background: rgba(99, 214, 162, .08); color: var(--ice); font-size: 14.5px; }
.lp-mk-head { color: var(--haze); font-size: 13.5px; margin-bottom: 14px; }
.lp-mk-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lp-mk-nums span { display: block; font: 500 32px/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.lp-mk-nums small { color: var(--haze); font-size: 12.5px; }
.lp-mk-bars { display: flex; align-items: flex-end; gap: 8px; height: 84px; margin: 18px 0 14px; border-bottom: 1px solid var(--rule); }
.lp-mk-bars i { flex: 1; display: flex; gap: 2px; align-items: flex-end; height: 100%; }
.lp-mk-bars i::before, .lp-mk-bars i::after { content: ""; flex: 1; transform-origin: bottom; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.lp-mk-bars i::before { height: calc(var(--o) * 100%); background: var(--blue-soft); }
.lp-mk-bars i::after { height: calc(var(--c) * 100%); background: #44517c; }
.lp-anim .lp-mk:not(.in) .lp-mk-bars i::before, .lp-anim .lp-mk:not(.in) .lp-mk-bars i::after { transform: scaleY(0); }
.lp-mk-bars i:nth-child(n)::before, .lp-mk-bars i:nth-child(n)::after { transition-delay: calc(var(--i, 0) * 60ms); }
.lp-mk-row { display: flex; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--blue-soft); font-size: 14.5px; }
.lp-mk-row b { color: var(--blue-soft); font-weight: 600; }
.lp-mk-list { margin: 8px 0 0; padding: 0 0 0 22px; font-size: 14px; color: #c3cde6; display: grid; gap: 4px; }
.lp-mk-list em { font-style: normal; color: var(--mint); margin-left: 6px; }
.lp-anim .lp-mk .lp-mk-list { max-height: 0; overflow: hidden; transition: max-height .7s ease 1.1s; }
.lp-anim .lp-mk.in .lp-mk-list { max-height: 200px; }
.lp-mk-xls { display: inline-block; margin-top: 12px; padding: 4px 10px; background: var(--mint); color: var(--ink); font-size: 12.5px; font-weight: 600; }
.lp-pre { color: #c3cde6; font-size: 14.5px; margin: 0 0 18px; }

/* карточка: плашки */
.lp-notes { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lp-notes li { padding: 14px 16px; border-left: 3px solid var(--blue-soft); background: rgba(59, 108, 255, .08); font-size: 15px; color: #c3cde6; }

/* CBI, данные: карточки */
.lp-duo, .lp-quad { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-quad { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-duo li, .lp-quad li { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 28px; border: 1px solid var(--edge); }
.lp-duo .k, .lp-quad .k { font: 500 21px/1.25 var(--serif); color: var(--ice); }
.lp-duo .v, .lp-quad .v { color: #b4bfdc; font-size: 15px; line-height: 1.55; }

/* для ИИ */
.lp-ai { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.lp-ai-side { display: grid; gap: 16px; }
.lp-chat { display: grid; gap: 12px; }
.lp-msg-q, .lp-msg-a { padding: 12px 14px; border-radius: 3px; font-size: 15px; line-height: 1.5; }
.lp-msg-q { justify-self: end; background: var(--blue); color: #fff; max-width: 85%; }
.lp-msg-a { background: rgba(8, 14, 34, .8); border: 1px solid var(--rule); color: #dfe6fa; min-height: 3em; }
.lp-msg-a.typing span::after { content: "▍"; color: var(--blue-soft); animation: lp-caret 1s steps(1) infinite; }
@keyframes lp-caret { 50% { opacity: 0; } }
.lp-code { margin: 0; padding: 16px 18px; background: #050812; border: 1px solid var(--edge); color: #b9c8f3; font: 13px/1.5 ui-monospace, Consolas, monospace; overflow-x: auto; }
.lp-ai .lp-actions { margin-top: 26px; }

/* тарифы: плашки и строка ценности */
.lp-perks { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-perks li { padding: 10px 14px; border: 1px solid var(--edge); background: rgba(8, 14, 34, .6); font-size: 14.5px; color: var(--ice); }
.lp-value { font: italic 500 clamp(19px, 1.8vw, 24px)/1.4 var(--serif); margin: 34px 0 0; max-width: 34em; }

/* частые вопросы */
.lp-faq { list-style: none; margin: 40px 0 0; padding: 0; max-width: 900px; border-top: 1px solid var(--rule); }
.lp-faq li { border-bottom: 1px solid var(--rule); }
.lp-faq .k { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font: 500 19px/1.35 var(--serif); cursor: pointer; }
.lp-faq .k::after { content: "+"; font: 400 24px/1 var(--sans); color: var(--blue-soft); transition: transform .2s; }
.lp-faq li.open .k::after { transform: rotate(45deg); }
.lp-faq .v { display: none; padding: 0 0 22px; color: #c3cde6; max-width: 46em; }
.lp-faq li.open .v { display: block; animation: lp-fade .3s ease; }

@media (max-width: 1100px) {
  .lp-board, .lp-quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-nav { gap: 20px; }
  .lp-nav a { font-size: 14px; }
}
@media (max-width: 900px) {
  .lp-diff, .lp-signals, .lp-market, .lp-ai, .lp-notes, .lp-duo { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .lp-diff { gap: 0; }
  .lp-diff-plus { border-left: 0; border-top: 1px solid var(--edge); }
  .lp-diff-base, .lp-diff-plus { padding: 24px 20px; }
  .lp-diff-plus .lp-pairs li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .lp-role-tabs { display: none; }
  .lp-role { display: block; padding: 0; border-bottom: 1px solid var(--rule); }
  .lp-role.on { animation: none; }
  .lp-role-acc { display: flex; width: 100%; justify-content: space-between; align-items: center; background: none; border: 0; color: var(--ice);
    font: 600 17px/1.3 var(--sans); padding: 18px 0; cursor: pointer; text-align: left; }
  .lp-role-acc::after { content: "+"; font-size: 22px; color: var(--blue-soft); }
  .lp-role.on .lp-role-acc::after { content: "−"; }
  .lp-role:not(.on) .lp-role-body { display: none; }
  .lp-role-body { padding-bottom: 22px; }
  .lp-feed { height: 430px; }
}
@media (max-width: 600px) {
  .lp-board, .lp-quad { grid-template-columns: minmax(0, 1fr); }
  .lp-mk-nums span { font-size: 24px; }
  .lp-feed { height: 470px; }
  .lp-code { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-anim [data-anim] > *, .lp-anim [data-anim] .lp-diff-plus, .lp-mk-bars i::before, .lp-mk-bars i::after, .lp-anim .lp-mk .lp-mk-list { transition: none !important; }
  .lp-role.on, .lp-feed li.new, .lp-faq li.open .v { animation: none; }
}
/* режим правки: всё видно сразу, без анимаций, все роли и ответы раскрыты */
.lp[data-edit="1"] .lp-role { display: block; }
.lp[data-edit="1"] .lp-role:not(.on) .lp-role-body { display: block; }
.lp[data-edit="1"] .lp-faq .v { display: block; }
.lp[data-edit="1"] .lp-feed { height: auto; }

/* --- режим правки текстов (только администратору) --- */
.lp[data-edit="1"] { padding-bottom: 84px; }
.lp[data-edit="1"] [data-t] { outline: 1px dashed rgba(243, 189, 85, .55); outline-offset: 4px; cursor: text; min-width: 1.5em; min-height: 1em; }
.lp[data-edit="1"] [data-t]:hover { outline-color: var(--amber); background: rgba(243, 189, 85, .07); }
.lp[data-edit="1"] [data-t].changed { outline-style: solid; outline-color: var(--amber); }
.lp[data-edit="1"] [data-t][contenteditable] { outline: 2px solid var(--amber); background: rgba(243, 189, 85, .09); white-space: pre-wrap; }
.lp[data-edit="1"] [data-empty]::before { content: "+ " attr(data-label); color: var(--amber); font: 400 14px/1.4 var(--sans); letter-spacing: 0; }
.lp[data-edit="1"] ul[data-empty], .lp[data-edit="1"] ol[data-empty] { display: block; padding: 0; }
.lp[data-edit="1"] ul[data-empty]::before { position: static; width: auto; height: auto; transform: none; border: 0; background: none; }
.lp-editbar { position: fixed; inset: auto 0 0 0; z-index: 70; background: #1a1503; border-top: 1px solid var(--amber); color: #f6e7c2; font: 400 14px/1.4 var(--sans); }
.lp-editbar-in { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 12px 0; }
.lp-editbar .grow { flex: 1; min-width: 220px; }
.lp-editbar b { color: var(--amber); }
.lp-editbar .lp-btn { min-height: 38px; padding: 0 16px; font-size: 14px; }
.lp-editbar .lp-btn.primary { background: var(--amber); color: #1c1403; }
.lp-editbar .lp-btn.primary:hover { background: #ffd070; }
.lp-editbar .lp-btn.ghost { border-color: rgba(243, 189, 85, .5); color: #f6e7c2; }
.warn-text { color: #b45309; font-weight: 600; }
