/* Лендинг: стеклянные иконки на тёмном фоне, крупные заголовки Unbounded, один акцентный цвет.
   Шапка, подвал, кнопки и токены – из pages.css. Скриптов на странице нет (CSP), всё на CSS. */

:root { --accent: #4FC9EF; }
.lp b, .lp em { font-style: normal; font-weight: inherit; color: var(--accent); }
.lp { overflow-x: clip; }
.lp-wrap { padding: 0 max(var(--gutter), calc(50% - 620px)); }

/* ─── Первый экран ───────────────────────────────────────────────────────── */

.lp-hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: 24px; min-height: min(760px, calc(100vh - 62px)); padding-top: 40px; padding-bottom: 40px;
}
.lp-hero h1 {
  margin: 0; font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 5.6vw, 68px); line-height: 1.05; letter-spacing: -0.035em;
}
.lp-lead { margin: 26px 0 0; max-width: 46ch; color: var(--light); font-size: clamp(16px, 1.8vw, 19px); line-height: 1.55; }
.lp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.lp-note { margin: 16px 0 0; font-size: .8125rem; color: var(--mid); }

.lp-art { position: relative; height: min(640px, 62vw); }
.lp-art img { position: absolute; object-fit: contain; pointer-events: none; }
.lp-art img:not(.glow) { will-change: transform; }
.lp-art .glow { opacity: .55; }
.lp-art .a1 { width: 72%; right: 2%; top: 6%; animation: lp-float 9s ease-in-out infinite; }
.lp-art .a1g { width: 88%; right: -6%; top: -2%; }
.lp-art .a2 { width: 34%; left: 4%; bottom: 10%; animation: lp-float 11s ease-in-out -3s infinite;  filter: blur(2.5px); }
.lp-art .a2g { width: 48%; left: -2%; bottom: 3%; }
.lp-art .a3 { width: 18%; left: 4%; top: 8%; animation: lp-float 10s ease-in-out -6s infinite;  filter: blur(7px); }
.lp-art .a3g { width: 30%; left: -3%; top: 0%; }
/* Фокус линзы: ближняя фигура резкая, дальние размыты, чем дальше, тем сильнее */
.lp-art .a4 { width: 22%; right: 0; bottom: 4%; filter: blur(15px); opacity: .55; animation: lp-float 13s ease-in-out -2s infinite; }
.lp-art .a5 { width: 11%; right: 30%; top: 2%; filter: blur(11px); opacity: .6; animation: lp-float 12s ease-in-out -8s infinite; }
@supports (animation-timeline: view()) {
  .lp-art .a1 { animation: lp-float 9s ease-in-out infinite, lp-defocus linear both; animation-timeline: auto, view(); animation-range: normal, exit 0% exit 90%; }
}
@keyframes lp-defocus { to { filter: blur(12px); opacity: .55; } }
@keyframes lp-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(2.5deg); } }

.lp-hero > div:first-child > * { animation: lp-in .8s cubic-bezier(.2, .7, .2, 1) both; }
.lp-hero > div:first-child > :nth-child(2) { animation-delay: .08s; }
.lp-hero > div:first-child > :nth-child(3) { animation-delay: .16s; }
.lp-hero > div:first-child > :nth-child(4) { animation-delay: .24s; }
@keyframes lp-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ─── Цифры ──────────────────────────────────────────────────────────────── */

.lp-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.lp-num { padding: 30px 26px; border-left: 1px solid var(--divider); }
.lp-num:first-child { border-left: none; padding-left: 0; }
.lp-num-v { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; }
.lp-num-l .short { display: none; }
.lp-num-l { margin-top: 8px; font-size: 0.875rem; color: var(--mid); max-width: 30ch; }

/* ─── Заголовки разделов ─────────────────────────────────────────────────── */

.lp-sec { padding-top: 96px; padding-bottom: 8px; }
.lp-head { max-width: 60ch; margin-bottom: 40px; }
.lp-head h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.03em; }
.lp-head p { margin: 16px 0 0; color: var(--mid); font-size: 1rem; max-width: 52ch; }

/* ─── Для кого ───────────────────────────────────────────────────────────── */

.lp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lp-who {
  position: relative; overflow: hidden; min-height: 300px; padding: 34px 32px;
  background: var(--card); border: 1px solid var(--border); border-radius: 22px;
  display: flex; flex-direction: column; gap: 14px; isolation: isolate;
}
.lp-who h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; }
.lp-who ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; max-width: 30ch; }
.lp-who li { position: relative; padding-left: 20px; color: var(--light); font-size: 0.9375rem; line-height: 1.45; }
.lp-who li::before { content: "–"; position: absolute; left: 0; color: var(--dim); }

/* ─── Инструменты ────────────────────────────────────────────────────────── */

.lp-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-tool {
  position: relative; overflow: hidden; padding: 28px 26px 30px; min-height: 190px;
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  display: flex; flex-direction: column; gap: 10px; isolation: isolate;
}
.lp-tool h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.062rem; letter-spacing: -0.015em; }
.lp-tool p { margin: 0; color: var(--mid); font-size: 0.9062rem; line-height: 1.5; max-width: 28ch; }

/* ─── Как это работает ───────────────────────────────────────────────────── */

.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--divider); }
.lp-step { padding: 30px 28px 6px 0; }
.lp-step + .lp-step { padding-left: 28px; border-left: 1px solid var(--divider); }
.lp-step-n { font-family: var(--display); font-weight: 700; font-size: 0.9375rem; color: var(--accent); }
.lp-step h3 { margin: 14px 0 8px; font-family: var(--display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; }
.lp-step p { margin: 0; color: var(--mid); font-size: 0.9375rem; line-height: 1.55; max-width: 32ch; }

/* ─── Вопросы ────────────────────────────────────────────────────────────── */

.lp-faq { border-top: 1px solid var(--divider); }
.lp-q { border-bottom: 1px solid var(--divider); }
.lp-q summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; font-family: var(--display); font-weight: 600; font-size: .9375rem; letter-spacing: 0;
}
.lp-q summary::-webkit-details-marker { display: none; }
.lp-q summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--mid); border-bottom: 2px solid var(--mid);
  transform: rotate(45deg) translateY(-3px); transition: transform .3s;
}
.lp-q[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.lp-q summary:hover { color: var(--accent); }
.lp-a { padding: 0 0 26px; color: var(--mid); max-width: 78ch; font-size: 0.9375rem; line-height: 1.65; animation: lp-in .35s ease both; }
.lp-a p { margin: 0 0 10px; }
.lp-a ul { margin: 0; padding-left: 20px; }
.lp-a li { margin-bottom: 8px; }
.lp-a strong { color: var(--light); font-weight: 600; }

/* ─── Призыв ─────────────────────────────────────────────────────────────── */

.lp-cta-sec { padding-top: 96px; padding-bottom: 72px; }
.lp-cta {
  position: relative; overflow: hidden; isolation: isolate; padding: 64px 56px; min-height: 360px;
  background: var(--card); border: 1px solid var(--border); border-radius: 28px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px;
}
.lp-cta h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.032em; max-width: 14ch; }
.lp-cta p { margin: 0; color: var(--light); font-size: 1.062rem; max-width: 40ch; }
.lp-cta .lp-actions { margin-top: 10px; }
.lp-cta img { position: absolute; z-index: -1; right: 4%; top: 50%; width: 420px; margin-top: -210px; object-fit: contain; filter: blur(7px); opacity: .5; }
.lp-cta img.glow { filter: none; opacity: .45; right: 0; width: 520px; margin-top: -260px; }

/* ─── Появление при прокрутке (где браузер умеет) ────────────────────────── */

@supports (animation-timeline: view()) {
  .lp-rise { animation: lp-in linear both; animation-timeline: view(); animation-range: entry 0% entry 38%; }
}

/* ─── Планшет и телефон ──────────────────────────────────────────────────── */

@media (max-width: 1000px) {
  .lp-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 36px; }
  .lp-art { height: 380px; order: -1; max-width: 420px; margin: 0 auto; width: 100%; }
  .lp-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .lp-two, .lp-tools, .lp-steps { grid-template-columns: minmax(0, 1fr); }
  .lp-art { height: 200px; max-width: 300px; }
  .lp-hero { padding-top: 20px; padding-bottom: 36px; }
  .lp-art img:not(.glow) { animation: none !important; }
  .lp-art .a4 { right: -4%; }
  .lp-num { padding: 20px 12px; }
  .lp-num:first-child { padding-left: 0; }
  .lp-num-v { font-size: 1.6rem; }
  .lp-num-l { font-size: .8125rem; line-height: 1.3; }
  .lp-num-l .long { display: none; }
  .lp-num-l .short { display: inline; }
  .lp-sec { padding-top: 64px; }
  .lp-who { min-height: 0; padding: 26px 22px 28px; }
  .lp-tool { min-height: 0; padding: 22px 22px 24px; gap: 6px; }
  .lp-tool p { max-width: none; }
  .lp-step + .lp-step { padding-left: 0; border-left: none; border-top: 1px solid var(--divider); margin-top: 24px; }
  .lp-step { padding: 26px 0 0; }
  .lp-cta { padding: 56px 24px 36px; min-height: 0; justify-content: flex-start; }
  .lp-cta img { width: 250px; right: -50px; top: 14px; margin-top: 0; opacity: .38; }
  .lp-cta img.glow { width: 340px; right: -60px; top: -6px; margin-top: 0; }
  .lp-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-art img, .lp-hero > div:first-child > *, .lp-rise, .lp-a { animation: none !important; }
}

/* Шапка: без жёсткой линии, мягкая тень, как край прокрутки */
.page-top { border-bottom-color: transparent; box-shadow: 0 14px 28px -18px rgba(0, 0, 0, .75); }
.page-foot { color: var(--mid); }
@media (prefers-reduced-transparency: reduce) {
  .page-top { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ─── Подвал ─────────────────────────────────────────────────────────────── */

.lp-foot { padding-top: 56px; border-top: 1px solid var(--divider); }
.lp-foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.lp-foot-brand p { margin: 16px 0 0; max-width: 34ch; color: var(--mid); font-size: .9375rem; line-height: 1.55; }
.lp-foot-col { display: flex; flex-direction: column; gap: 12px; }
.lp-foot-col h4 { margin: 0 0 4px; font-family: var(--display); font-weight: 600; font-size: .8125rem; letter-spacing: 0; color: var(--light); }
.lp-foot-col a { color: var(--mid); font-size: .9375rem; transition: color .2s; }
.lp-foot-col a:hover { color: var(--text); }
.lp-foot-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: calc(30px + var(--safe-b)); border-top: 1px solid var(--divider); color: var(--dim); font-size: .8125rem; }
@media (max-width: 700px) {
  .lp-foot { padding-top: 40px; }
  .lp-cta-sec { padding-bottom: 48px; }
  .lp-foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .lp-foot-brand { grid-column: 1 / -1; }
  .lp-foot-bar { flex-direction: column; gap: 6px; }
}
