/* ============================================================
   СЛОТ — Studio Light
   Single-direction design system for the production landing.
   Light, product-led SaaS. Cobalt accent. Unbounded + Onest.
   Tokens live in :root; components are namespaced .lp-*.
   ============================================================ */

:root {
  /* type */
  --font-display: "Unbounded", sans-serif;
  --font-body: "Onest", sans-serif;

  /* surfaces */
  --bg: #f4f6f9;
  --bg-2: #eef1f6;
  --surface: #ffffff;
  --fg: #0c0f17;
  --sub-fg: #565d6e;
  --faint-fg: #8a91a1;

  /* accent */
  --accent: #2b54ff;
  --accent-hover: #1d40d8;
  --accent-fg: #ffffff;
  --accent-soft: rgba(43, 84, 255, 0.10);
  --accent-line: rgba(43, 84, 255, 0.18);

  /* lines & shadows */
  --line: rgba(15, 18, 28, 0.08);
  --line-strong: rgba(15, 18, 28, 0.12);
  --shadow-card: 0 1px 2px rgba(20, 28, 60, 0.04), 0 12px 30px -18px rgba(20, 28, 60, 0.20);
  --shadow-pop: 0 40px 80px -36px rgba(23, 33, 71, 0.40), 0 8px 24px -12px rgba(23, 33, 71, 0.16);

  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --container: 1240px;
  --gutter: 40px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.lp__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* faint hero grid backdrop */
.lp-gridbg {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 30, 70, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 30, 70, 0.06) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 24%, #000 28%, transparent 76%);
          mask-image: radial-gradient(ellipse 78% 68% at 50% 24%, #000 28%, transparent 76%);
}

/* hero gradient wash — smooth vertical fade + slowly breathing glow (cobalt tones) */
.lp-hero__aurora {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, #ffffff 0%, #eef3fe 26%, #d6e2fb 62%, #bcd0f7 100%);
}

/* inline channel icons in hero subtitle */
.lp-sub__channels { display: inline-flex; align-items: center; gap: 7px; vertical-align: middle; margin-left: 5px; }
.lp-sub__ch { display: inline-grid; place-items: center; width: 21px; height: 21px; color: var(--accent); }
.lp-sub__ch svg { display: block; width: 19px; height: 19px; }

/* hero story-switcher tabs moved into copy column */
.lp-chat-tabs-mount { width: 100%; max-width: 460px; }

/* ============================================================
   NAV — floating pill
   ============================================================ */
.lp-nav {
  position: absolute; top: 22px; left: 0; right: 0; z-index: 20;
  margin-inline: auto; width: calc(100% - 44px); max-width: 1080px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 11px 12px 11px 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 18, 28, 0.07);
  border-radius: 999px;
  box-shadow: 0 10px 34px -16px rgba(20, 28, 60, 0.30);
  backdrop-filter: blur(14px);
}
.lp-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.lp-brand__mark {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; overflow: hidden;
}
.lp-brand__mark svg { display: block; }
.lp-brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  letter-spacing: -0.01em; color: var(--fg);
}
.lp-nav__links {
  display: flex; align-items: center; gap: 30px;
  list-style: none; margin: 0 auto 0 14px;
}
.lp-nav__links a {
  text-decoration: none; color: #4a5161;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  transition: color .15s ease;
}
.lp-nav__links a:hover { color: var(--fg); }
.lp-nav__cta { display: flex; align-items: center; gap: 8px; }
.lp-sub__audit { text-decoration: none; border-bottom: 1px solid rgba(43, 84, 255, 0.4); transition: border-color .15s ease; }
.lp-sub__audit:hover { border-bottom-color: #2b54ff; }
.lp-audit { scroll-margin-top: 104px; }
@media (min-width: 981px) {
  .lp-nav { position: fixed; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.lp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  letter-spacing: -0.01em; line-height: 1;
  padding: 13px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.lp-btn:active { transform: translateY(1px); }
.lp-btn svg { flex: none; }
.lp-btn--primary {
  background: var(--accent); color: var(--accent-fg);
}
.lp-btn--primary:hover { background: var(--accent-hover); }
.lp-btn--ghost {
  background: #ffffff; color: var(--fg); border-color: var(--line-strong);
}
.lp-btn--ghost:hover { background: #f2f4f8; }
.lp-btn--lg { padding: 16px 26px; font-size: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.lp-hero { position: relative; overflow: hidden; isolation: isolate; padding-top: 104px; }
.lp-hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: 60px; align-items: start; padding: 64px 0 100px;
}
.lp-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; padding-top: 96px; }

.lp-h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.05; letter-spacing: -0.03em; color: var(--fg);
}
.lp-sub {
  font-size: 20px; line-height: 1.5; color: var(--sub-fg);
  font-weight: 450; letter-spacing: -0.01em; max-width: 490px;
}
.lp-rotate { position: relative; display: inline-block; white-space: nowrap; }
.lp-rotate__text { color: inherit; }
.lp-rotate__cursor {
  display: inline-block; width: 3px; height: 0.82em; margin-left: 3px;
  background: currentColor; transform: translateY(0.08em);
  animation: lp-rotate-blink 1s step-end infinite;
}
@keyframes lp-rotate-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .lp-rotate__cursor { animation: none; }
}
.lp-channels { display: flex; flex-direction: column; gap: 11px; }
.lp-channels__label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--faint-fg);
}
.lp-channels__list { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; }
.lp-channel {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 11px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 550; letter-spacing: -0.01em; color: var(--fg);
  transition: border-color .15s ease, transform .15s ease;
}
.lp-channel:hover { border-color: var(--accent-line); transform: translateY(-1px); }
.lp-channel__ico {
  width: 20px; height: 20px; flex: none;
  display: grid; place-items: center;
  color: var(--accent);
}
.lp-channel__ico svg { display: block; }

.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.lp-note {
  font-size: 14px; line-height: 1.5; color: var(--sub-fg); max-width: 490px;
}
.lp-note strong { color: var(--fg); font-weight: 650; }
.lp-note__icon {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}

/* ============================================================
   DEMO CHAT (product window) — original: tabs + panes
   ============================================================ */
.lp-chat {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
}
.lp-chat__tabs { display: flex; gap: 8px; }
.lp-chat__tab {
  position: relative; flex: 1; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: 11px;
  padding: 9px 12px; cursor: pointer; font-family: inherit;
  box-shadow: var(--shadow-card);
  transition: border-color .3s ease;
}
.lp-chat__tab:hover { border-color: var(--line-strong); }
/* мягкая синяя заливка-прогресс: фон вкладки = прогресс-бар */
.lp-chat__fill {
  position: absolute; inset: 0; z-index: 0;
  background: #e9eefc;
  transform: scaleX(0); transform-origin: left center;
  pointer-events: none;
}
.lp-chat__tab-label {
  position: relative; z-index: 1; display: block;
  font-size: 12.5px; font-weight: 600; text-align: center; color: var(--sub-fg);
  letter-spacing: -0.01em;
  transition: color .3s ease;
}
.lp-chat__tab.is-active { border-color: var(--accent-line); }
.lp-chat__tab.is-active .lp-chat__tab-label { color: var(--fg); }

/* compact scenario switcher fitted into the chat header */
.lp-chat__id { flex: none; }
.lp-chat__switch {
  margin-left: auto; flex: 0 1 auto; min-width: 0;
  display: flex; gap: 3px;
  padding: 3px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lp-chat__switch .lp-chat__tab {
  flex: 0 1 auto; border: none; box-shadow: none; background: transparent;
  border-radius: 999px; padding: 6px 10px;
}
.lp-chat__switch .lp-chat__tab.is-active {
  border-color: transparent;
  box-shadow: inset 0 0 0 1px var(--accent-line);
}
.lp-chat__switch .lp-chat__fill { background: var(--accent-soft); }
.lp-chat__switch .lp-chat__tab-label {
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.lp-chat__switch .lp-chat__tab.is-active .lp-chat__tab-label { color: var(--accent); }

.lp-chat__window {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 255, 255, 0.42) 38%,
    rgba(255, 255, 255, 0.22) 72%,
    rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop), inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.lp-chat__head {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; border-bottom: 1px solid var(--line);
}
.lp-chat__avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--accent);
}
.lp-chat__avatar svg { display: block; width: 18px; height: 18px; }
.lp-chat__avatar--salon {
  background: linear-gradient(140deg, #2b54ff, #8a5cff);
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  color: #fff; letter-spacing: 0;
}
.lp-chat__id { display: flex; flex-direction: column; gap: 2px; line-height: 1.15; }
.lp-chat__name {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: -0.01em; color: var(--fg);
}
.lp-chat__status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--faint-fg); letter-spacing: -0.01em;
}
.lp-chat__dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: #28c840;
}
@media (prefers-reduced-motion: no-preference) {
  .lp-chat__dot { animation: lpChatPulse 2.4s ease-in-out infinite; }
}
@keyframes lpChatPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.45); }
  50% { box-shadow: 0 0 0 5px rgba(40, 200, 64, 0); }
}
.lp-chat__channel {
  margin-left: auto; flex: none;
  display: grid; place-items: center; color: var(--faint-fg);
}
.lp-chat__channel svg { display: block; width: 19px; height: 19px; }
.lp-chat__body {
  position: relative; padding: 0; min-height: 230px;
  height: 372px; overflow: hidden;
  transition: height .42s cubic-bezier(.4, 0, .2, 1);
}
.lp-chat__input {
  display: flex; align-items: center; gap: 10px;
  padding: 12px; border-top: none;
}
.lp-chat__attach {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1); color: var(--fg); cursor: pointer;
  display: grid; place-items: center;
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  transition: background .15s ease, transform .12s ease;
}
.lp-chat__attach:hover { background: rgba(255, 255, 255, 0.22); }
.lp-chat__attach:active { transform: scale(.94); }
.lp-chat__attach svg { display: block; }
.lp-chat__input-field {
  flex: 1; font-size: 14px; color: var(--fg);
  letter-spacing: -0.01em; padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
}
.lp-chat__send {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1); color: var(--fg); cursor: pointer;
  display: grid; place-items: center;
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  transition: background .15s ease, transform .12s ease;
}
.lp-chat__send:hover { background: rgba(255, 255, 255, 0.22); }
.lp-chat__send:active { transform: scale(.94); }
.lp-chat__send svg { display: block; }
.lp-cta-block { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.lp-pane {
  display: flex; flex-direction: column; gap: 11px;
  position: absolute; left: 0; right: 0; top: 0;
  padding: 16px 18px 22px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(6px);
  transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1), visibility .45s;
}
.lp-pane.is-active {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
}
.lp-msg { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; }
.lp-msg--client { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 5px; }
.lp-msg--agent { align-self: flex-start; background: #f1f3f7; color: var(--fg); border-bottom-left-radius: 5px; }
.lp-msg__label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--faint-fg); margin-bottom: 4px; }
/* hero dialog — сообщения проявляются по очереди, как в живом чате */
.lp-chat .lp-msg {
  opacity: 0; transform: translateY(12px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1);
  will-change: opacity, transform;
}
.lp-chat .lp-msg.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .lp-chat .lp-msg { opacity: 1; transform: none; transition: none; }
}
.lp-slots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.lp-slot { padding: 6px 11px; border-radius: 9px; font-size: 13px; font-weight: 600; background: var(--bg); border: 1px solid var(--line-strong); color: var(--fg); }

/* hero dialog — Siri-style glass: plain agent text, glass user bubble */
.lp-chat .lp-msg__label { display: none; }
.lp-chat .lp-msg--agent {
  align-self: flex-start; max-width: 100%;
  background: transparent; border: none;
  padding: 4px 2px; border-radius: 0;
  font-size: 15px; line-height: 1.5; color: var(--fg);
}
.lp-chat .lp-msg--client {
  align-self: flex-end; max-width: 82%;
  background: rgba(43, 84, 255, 0.12); color: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border-bottom-right-radius: 5px;
}

/* ============================================================
   PROBLEMS — "Где вы теряете прямо сейчас"
   ============================================================ */
.lp-problems { position: relative; padding: 96px 0 104px; background: var(--surface); }
.lp-section-head { max-width: none; margin-bottom: 48px; }
.lp-h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.06; letter-spacing: -0.03em; color: var(--fg);
}

.lp-problems__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.lp-problem {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 30px 30px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
}
/* soft brand gradient — fades in on hover */
.lp-problem::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(43, 84, 255, 0.16) 0%, transparent 55%),
    linear-gradient(150deg, #eef1ff 0%, #e6ebff 55%, #f4f6ff 100%);
  transition: opacity .4s ease;
}
.lp-problem:hover {
  transform: translateY(-5px);
  border-color: var(--accent-line);
}
.lp-problem:hover::before { opacity: 1; }

.lp-problem__eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--faint-fg); margin-bottom: 10px;
}
.lp-problem__stat {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 2.7vw, 38px); line-height: 1; letter-spacing: -0.03em;
  color: var(--fg); margin-bottom: 16px;
}
.lp-problem__label {
  font-size: 15px; line-height: 1.5; color: var(--sub-fg);
  letter-spacing: -0.01em;
}

/* ============================================================
   AUDIT — «Изучим ваш бизнес и найдём точки роста»
   ============================================================ */
.lp-audit {
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 96px 0 104px;
}
.lp-audit__grid {
  display: grid; grid-template-columns: 1fr 1.04fr;
  gap: 72px; align-items: start;
}
.lp-audit__left .lp-h2 { max-width: none; }
.lp-audit__intro {
  margin-top: 22px;
  font-size: 17px; line-height: 1.6; color: var(--sub-fg);
  letter-spacing: -0.01em; max-width: none;
}
.lp-audit__meta { display: flex; gap: 40px; margin-top: 24px; }
.lp-audit__meta-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--faint-fg); margin-bottom: 3px;
}
.lp-audit__meta-value {
  font-family: var(--font-body); font-weight: 500;
  font-size: 14px; letter-spacing: 0; color: var(--faint-fg);
}
.lp-audit__download { margin: 26px 0 22px; }
.lp-audit__download svg { width: 18px; height: 18px; }
}
.lp-audit__panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 36px 14px;
}
.lp-audit__label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--faint-fg);
  padding-bottom: 6px;
}
.lp-audit__questions { list-style: none; }
.lp-audit__questions li {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 17px 0;
  font-size: 15.5px; line-height: 1.5; color: var(--fg);
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
}
.lp-audit__questions li:last-child { border-bottom: 0; }
.lp-audit__check {
  flex: none; width: 18px; height: 18px; margin-top: 2px;
  display: grid; place-items: center;
  color: var(--accent);
}
.lp-audit__check svg { display: block; }
.lp-audit__panel-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 21px; line-height: 1.25; letter-spacing: -0.02em;
  color: var(--fg); margin-bottom: 8px;
}
.lp-audit__download { margin: 20px 0 22px; }
.lp-audit__download svg { width: 18px; height: 18px; }
.lp-accent-text { color: var(--accent); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0; transform: translateY(20px);
    transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
  }
  [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  :root { --gutter: 22px; }
  .lp-nav__links { display: none; }
  .lp-hero__grid { grid-template-columns: 1fr; gap: 44px; padding: 40px 0 72px; }
  .lp-hero__copy { align-items: center; text-align: center; padding-top: 0; }
  .lp-chat { width: 100%; max-width: 400px; justify-self: center; }
  .lp-hero__copy .lp-cta-block { align-items: center !important; }
  .lp-hero__heading { gap: 12px !important; }
  .lp-channels__list { justify-content: center; }
  .lp-cta { justify-content: center; }
  .lp-sub { max-width: none; }
  .lp-rotate__word { left: 0; right: 0; text-align: center; }
  .lp-problems__grid { grid-template-columns: 1fr; }
  .lp-problems { padding: 72px 0 80px; }
  .lp-audit { padding: 72px 0 80px; }
  .lp-audit__grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-audit__panel { padding: 26px 24px 10px; }
}
@media (max-width: 560px) {
  .lp-nav { display: none; }
  .lp-hero { padding-top: 28px; }
  .lp-cta { width: 100%; }
  .lp-btn--lg { flex: 1; justify-content: center; }
}

/* демо-чат: переключатель сценариев переносится под шапку на узких экранах */
@media (max-width: 980px) {
  .lp-chat__head { flex-wrap: wrap; row-gap: 8px; }
  .lp-chat__switch { margin-left: 0; width: 100%; }
  .lp-chat__switch .lp-chat__tab { flex: 1 1 0; }
}

/* ============================================================
   FEATURES — «Что агент берёт на себя» (scroll-stacking)
   ============================================================ */
.lp-features__header { padding: 96px 0 0; }
.lp-features__scroll { position: relative; height: 300vh; }
.lp-features__sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.lp-features__viewport { width: 100%; }
.lp-feature__grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 64px; align-items: center;
}
.lp-feature__stack { position: relative; min-height: 380px; }
.lp-features__progress { display: flex; gap: 8px; margin-bottom: 44px; }
.lp-features__dot {
  width: 30px; height: 4px; border-radius: 999px;
  background: rgba(15, 18, 28, 0.14);
  transition: background .3s ease;
}
.lp-features__dot.is-active { background: var(--accent); }
.lp-feature__card {
  position: absolute; left: 0; right: 0; top: 56px;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1), opacity .45s ease;
}
.lp-feature__card.is-next { transform: translateY(40px); opacity: 0; pointer-events: none; }
.lp-feature__card.is-active { transform: none; opacity: 1; }
.lp-feature__card.is-done { transform: translateY(-32px); opacity: 0; pointer-events: none; }
.lp-feature__num {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.06em; color: var(--accent); margin-bottom: 18px;
}
.lp-feature__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15;
  letter-spacing: -0.02em; color: var(--fg); margin-bottom: 18px;
}
.lp-feature__text { font-size: 17px; line-height: 1.6; color: var(--sub-fg); max-width: 440px; }
.lp-feature__tag {
  display: inline-flex; align-items: center; margin-top: 22px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--accent); font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em;
}
.lp-feature__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lp-feature__tags .lp-feature__tag { margin-top: 0; }
.lp-feature__media { position: relative; min-height: 520px; }
.lp-feature__chat {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .45s ease, transform .45s cubic-bezier(.4, 0, .2, 1);
}
.lp-feature__chat.is-next { opacity: 0; transform: translateY(24px) scale(.98); pointer-events: none; }
.lp-feature__chat.is-active { opacity: 1; }
.lp-feature__chat.is-done { opacity: 0; transform: translateY(-24px) scale(.98); pointer-events: none; }
.lp-chatcard {
  display: flex; flex-direction: column;
  width: 100%; max-width: 470px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.lp-chatcard__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.lp-chatcard__avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; }
.lp-chatcard__avatar svg { display: block; width: 100%; height: 100%; }
.lp-chatcard__id { display: flex; flex-direction: column; gap: 2px; line-height: 1.15; }
.lp-chatcard__name { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em; color: var(--fg); }
.lp-chatcard__status { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--faint-fg); }
.lp-chatcard__dot { width: 7px; height: 7px; border-radius: 50%; background: #28c840; flex: none; }
.lp-chatcard__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; }
.lp-chatcard .lp-msg__label { display: none; }
.lp-chatcard__input { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.lp-chatcard__btn { width: 34px; height: 34px; border-radius: 50%; flex: none; border: 1px solid var(--line-strong); background: #fff; color: var(--sub-fg); display: grid; place-items: center; cursor: pointer; }
.lp-chatcard__btn svg { display: block; width: 16px; height: 16px; }
.lp-chatcard__btn--send { background: var(--accent); border-color: var(--accent); color: #fff; }
.lp-chatcard__field { flex: 1; font-size: 13.5px; color: var(--faint-fg); padding: 9px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }

/* ============================================================
   ADV — «Готов к работе из коробки»
   ============================================================ */
.lp-adv {
  background: var(--surface);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 96px 0 104px;
}
.lp-adv__header { max-width: none; margin-bottom: 56px; }
.lp-adv__intro {
  margin-top: 18px; font-size: 17px; line-height: 1.6;
  color: var(--sub-fg); letter-spacing: -0.01em; max-width: none;
}
.lp-adv__collage {
  position: relative;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: grid; grid-template-columns: 210px auto 210px;
  gap: 56px; align-items: center;
  margin-bottom: 56px;
}
.lp-adv__side { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; }
.lp-advcard {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); box-shadow: var(--shadow-card);
  padding: 16px 18px 18px;
}
.lp-advcard__label {
  font-size: 11.5px; font-weight: 650; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--faint-fg); margin-bottom: 12px;
}
.lp-advcard__channels { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-advcard__channel {
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 12.5px; font-weight: 550; color: var(--sub-fg);
}
.lp-advcard__channel.is-active {
  background: var(--accent); border-color: var(--accent); color: #ffffff;
}
.lp-advcard__row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; font-size: 13px; padding: 7px 0;
}
.lp-advcard__row + .lp-advcard__row { border-top: 1px solid var(--line); }
.lp-advcard__row-key { color: var(--faint-fg); }
.lp-advcard__row-val { color: var(--fg); font-weight: 600; text-align: right; }
.lp-advcard__rule {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--sub-fg); padding: 5px 0;
}
.lp-advcard__rule-mark {
  flex: none; width: 18px; height: 18px;
  display: grid; place-items: center; color: var(--accent);
}
.lp-advcard__rule-mark svg { display: block; width: 14px; height: 14px; }
.lp-adv__chat {
  position: relative; z-index: 1; justify-self: center;
  width: 330px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-pop);
}
.lp-adv__chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  font-size: 14px; font-weight: 650; letter-spacing: -0.01em;
}
.lp-adv__chat-avatar {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center; overflow: hidden;
}
.lp-adv__chat-avatar svg { display: block; width: 100%; height: 100%; }
.lp-adv__chat-body { padding: 16px 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.lp-adv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-adv__item {
  background: #f6f7f9; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 28px 30px;
}
.lp-adv__item-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 19px; line-height: 1.25; letter-spacing: -0.02em;
  color: var(--fg); margin-bottom: 12px;
}
.lp-adv__item-text { font-size: 15px; line-height: 1.55; color: var(--sub-fg); letter-spacing: -0.01em; }

/* ADV — full-width landing blocks */
.lp-adv__blocks { border-top: 1px solid var(--line-strong); }
.lp-adv__block {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 48px; align-items: start;
  padding: 40px 0; border-bottom: 1px solid var(--line-strong);
}
.lp-adv__block-head { display: flex; align-items: center; gap: 18px; }
.lp-adv__block-num {
  flex: none; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.lp-adv__block-num svg { width: 24px; height: 24px; display: block; }
.lp-adv__block-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 2.1vw, 30px); line-height: 1.18;
  letter-spacing: -0.02em; color: var(--fg);
}
.lp-adv__block-text {
  font-size: 17px; line-height: 1.6; color: var(--sub-fg);
  letter-spacing: -0.01em; max-width: 540px;
}
@media (max-width: 980px) {
  .lp-adv__block { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
}

/* доп. карточки: расписание + сценарий */
.lp-advcard__slots { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-advcard__slot {
  padding: 4px 9px; border-radius: 8px;
  font-size: 12px; font-weight: 600; color: var(--fg);
  background: var(--surface); border: 1px solid var(--line-strong);
}
.lp-advcard__slot.is-busy {
  color: var(--faint-fg); text-decoration: line-through;
  background: transparent; border-style: dashed;
}
.lp-advcard__scenarios { display: flex; flex-direction: column; gap: 6px; }
.lp-advcard__scenario {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 8px;
  font-size: 12.5px; font-weight: 550; color: var(--sub-fg);
  border: 1px solid var(--line);
}
.lp-advcard__scenario::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--line-strong);
}
.lp-advcard__scenario.is-active {
  background: var(--accent-soft); border-color: var(--accent-line);
  color: var(--accent); font-weight: 650;
}
.lp-advcard__scenario.is-active::before { background: var(--accent); }
.lp-advcard__foot {
  margin-top: 12px; font-size: 11.5px; line-height: 1.4; color: var(--faint-fg);
}

/* линии-связи от карточек к центральному чату */
.lp-adv__links {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none; overflow: visible;
}
.lp-adv__link {
  fill: none; stroke: var(--accent); stroke-width: 1.4;
  stroke-linecap: round; opacity: .26;
}
.lp-adv__beam {
  fill: none; stroke: #ffffff; stroke-width: 2.6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px var(--accent)) drop-shadow(0 0 2px rgba(255,255,255,.9));
  animation: lpAdvBeam 2.8s linear infinite;
}
@keyframes lpAdvBeam {
  from { stroke-dashoffset: var(--beam-from); }
  to   { stroke-dashoffset: var(--beam-to); }
}
@media (prefers-reduced-motion: reduce) {
  .lp-adv__beam { animation: none; opacity: 0; }
}

/* ============================================================
   STEPS — «Запустим за 4 недели»
   ============================================================ */
.lp-steps { padding: 96px 0 104px; }
.lp-steps__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.lp-step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: 32px 34px 36px;
}
.lp-step__num {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.06em; color: var(--accent); margin-bottom: 20px;
}
.lp-step__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2;
  letter-spacing: -0.02em; color: var(--fg); margin-bottom: 14px;
}
.lp-step__text { font-size: 15.5px; line-height: 1.6; color: var(--sub-fg); letter-spacing: -0.01em; max-width: 480px; }

.lp-process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.lp-process__step { position: relative; }
.lp-process__head {
  position: relative; height: 52px;
  display: flex; align-items: center; margin-bottom: 24px;
}
.lp-process__node {
  width: 52px; height: 52px; border-radius: 50%; flex: none; z-index: 1;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 22px -10px rgba(43, 84, 255, 0.65);
}
.lp-process__step:not(:last-child) .lp-process__head::after {
  content: ""; position: absolute; top: 50%; left: 52px; right: -28px;
  height: 2px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, var(--accent-line) 0 7px, transparent 7px 13px);
}
.lp-process__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(18px, 1.5vw, 21px); line-height: 1.22;
  letter-spacing: -0.02em; color: var(--fg); margin-bottom: 12px;
}
.lp-process__text {
  font-size: 15px; line-height: 1.6; color: var(--sub-fg); letter-spacing: -0.01em;
}

/* ============================================================
   CALC — калькулятор эффекта
   ============================================================ */
.lp-calc {
  background: var(--surface);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 96px 0 104px;
}
.lp-calc__header { max-width: none; margin-bottom: 48px; }
.lp-calc__intro {
  margin-top: 18px; font-size: 17px; line-height: 1.6;
  color: var(--sub-fg); letter-spacing: -0.01em; max-width: none;
}
.lp-calc__card {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  overflow: hidden;
}
.lp-calc__inputs { padding: 36px 38px 40px; }
.lp-calc__results {
  position: relative;
  display: flex; flex-direction: column;
  padding: 34px 38px 38px;
  background: radial-gradient(130% 150% at 100% 0%, #3f6dff 0%, #2b54ff 46%, #1c3ec9 100%);
  color: #fff;
}
.lp-calc__results-label {
  font-size: 12.5px; font-weight: 650; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.7); margin-bottom: 8px;
}
.lp-calc__lines { display: flex; flex-direction: column; margin-bottom: auto; }
.lp-calc__line-ico {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.14); color: #fff;
}
.lp-calc__line-ico svg { display: block; width: 20px; height: 20px; }
.lp-calc__results .lp-tip { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.lp-calc__panel-label {
  font-size: 12.5px; font-weight: 650; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--faint-fg); margin-bottom: 16px;
}
.lp-field { margin-bottom: 26px; }
.lp-field:last-child { margin-bottom: 0; }
.lp-field__row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; margin-bottom: 12px;
}
.lp-field__label { font-size: 15.5px; color: var(--fg); letter-spacing: -0.01em; }
.lp-field__value {
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  letter-spacing: -0.01em; color: var(--fg); white-space: nowrap;
}
.lp-calc input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 999px;
  background: rgba(15, 18, 28, 0.14);
  outline: none; cursor: pointer;
}
.lp-calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 14px; height: 14px; border-radius: 50%;
  background: #a6b8f1;
  border: none; box-shadow: none;
  cursor: pointer;
}
.lp-calc input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: #a6b8f1;
  border: none; box-shadow: none;
  cursor: pointer;
}
.lp-calc__line {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.lp-calc__line:last-child { border-bottom: none; }
.lp-calc__line-label {
  flex: 1; font-size: 14px; line-height: 1.4;
  color: rgba(255, 255, 255, 0.88); letter-spacing: -0.01em;
}
.lp-calc__line-value {
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  letter-spacing: -0.01em; color: #fff; white-space: nowrap;
}
.lp-tip {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-left: 6px;
  border-radius: 50%; border: 1px solid var(--line-strong);
  font-size: 10px; color: var(--faint-fg);
  cursor: help; vertical-align: middle; flex-shrink: 0;
}
.lp-tip__text {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%);
  width: 260px; padding: 12px 14px; border-radius: 10px;
  background: var(--fg); color: #ffffff;
  font-size: 13px; line-height: 1.45; text-align: left;
  opacity: 0; visibility: hidden;
  transition: opacity .15s ease;
  z-index: 10; pointer-events: none;
}
.lp-tip__text::after {
  content: ""; position: absolute; bottom: 100%; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent; border-bottom-color: var(--fg);
}
.lp-tip:hover .lp-tip__text { opacity: 1; visibility: visible; }
.lp-calc__total {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; padding-top: 22px; margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}
.lp-calc__total-label {
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  letter-spacing: -0.02em; color: #fff;
}
.lp-calc__total-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 2.4vw, 34px); line-height: 1;
  letter-spacing: -0.02em; color: #fff; white-space: nowrap;
}
.lp-calc__total--year { padding-top: 10px; margin-top: 0; border-top: none; }
.lp-calc__total--year .lp-calc__total-label { color: rgba(255,255,255,.7); font-size: 15px; }
.lp-calc__total--year .lp-calc__total-value { color: rgba(255,255,255,.85); font-size: 19px; }

/* ============================================================
   QUALITY — «Почему гарантируем результат»
   ============================================================ */
.lp-quality { padding: 96px 0 104px; }
.lp-quality__grid {
  display: grid; grid-template-columns: 1fr 1px 1fr;
  gap: 64px; align-items: start;
}
.lp-quality__divider { width: 1px; background: var(--line-strong); align-self: stretch; }
.lp-quality__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(20px, 2vw, 26px); line-height: 1.2;
  letter-spacing: -0.02em; color: var(--fg); margin-bottom: 16px;
}
.lp-quality__text { font-size: 16.5px; line-height: 1.65; color: var(--sub-fg); letter-spacing: -0.01em; max-width: 520px; }
.lp-quality__text mark {
  background: var(--accent-soft); color: var(--accent);
  padding: 1px 5px; border-radius: 5px;
}
.lp-quality__ico {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.lp-quality__ico svg { display: block; width: 24px; height: 24px; }

/* ============================================================
   FAQ — частые вопросы
   ============================================================ */
.lp-faq {
  background: var(--surface);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 96px 0 104px;
}
.lp-faq__grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
.lp-faq__intro {
  margin-top: 18px; font-size: 16.5px; line-height: 1.6;
  color: var(--sub-fg); letter-spacing: -0.01em; max-width: none;
}
.lp-faq__list { border-top: 1px solid var(--line); }
.lp-faq-item { border-bottom: 1px solid var(--line); }
.lp-faq-item__summary {
  list-style: none; cursor: pointer;
  padding: 22px 0;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  font-size: 17px; font-weight: 600; line-height: 1.35;
  letter-spacing: -0.01em; color: var(--fg);
}
.lp-faq-item__summary::-webkit-details-marker { display: none; }
.lp-faq-item__icon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--line-strong);
  position: relative;
  transition: border-color .2s ease;
}
.lp-faq-item__summary:hover .lp-faq-item__icon { border-color: var(--accent-line); }
.lp-faq-item__icon::before,
.lp-faq-item__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--sub-fg);
  transition: transform .2s ease;
}
.lp-faq-item__icon::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.lp-faq-item__icon::after { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }
.lp-faq-item[open] .lp-faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.lp-faq-item__body {
  height: 0; overflow: hidden;
  transition: height .34s cubic-bezier(.4, 0, .2, 1);
  font-size: 15.5px; line-height: 1.6; color: var(--sub-fg);
  letter-spacing: -0.01em; max-width: 640px;
  padding-right: 48px; box-sizing: border-box;
}
.lp-faq-item__body::after { content: ""; display: block; height: 24px; }
.lp-faq-item[open] .lp-faq-item__body { height: auto; }

/* ============================================================
   PRICING — тарифы + триал
   ============================================================ */
.lp-pricing { padding: 96px 0 110px; }
.lp-finalcta { scroll-margin-top: 92px; }
.lp-pricing__header { text-align: center; margin-bottom: 56px; }
.lp-pricing__sub {
  margin: 16px auto 0; font-size: 17px; line-height: 1.6;
  color: var(--sub-fg); letter-spacing: -0.01em; max-width: none;
}
.lp-pricing__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-bottom: 64px; align-items: stretch;
}
.lp-plan {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: 32px 30px 34px;
}
.lp-plan--featured {
  border: 1.5px solid var(--accent);
}
.lp-plan__badge {
  position: absolute; top: 20px; right: 22px;
  display: inline-block;
  padding: 5px 11px; border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.08em;
}
.lp-plan__name {
  font-size: 13px; font-weight: 650; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--faint-fg); margin-bottom: 16px;
}
.lp-plan--featured .lp-plan__name { color: var(--faint-fg); }
.lp-plan__price {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 2.6vw, 36px); line-height: 1.05;
  letter-spacing: -0.02em;
}
.lp-plan__price-per { font-size: 0.45em; font-weight: 600; color: var(--faint-fg); }
.lp-plan__price-sub { font-size: 14px; color: var(--sub-fg); margin: 8px 0 24px; }
.lp-plan__features { list-style: none; flex-grow: 1; margin-bottom: 28px; }
.lp-plan__features li {
  position: relative;
  font-size: 14.5px; line-height: 1.5; letter-spacing: -0.01em;
  padding: 8px 0 8px 28px; color: var(--fg);
}
.lp-plan__features li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 16px; height: 16px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}
.lp-plan .lp-btn { justify-content: center; width: 100%; }
.lp-btn--inverse { background: #ffffff; color: var(--accent); }
.lp-btn--inverse:hover { background: #eef1ff; }
.lp-pricing__trial {
  border-top: 1px solid var(--line-strong);
  padding-top: 56px;
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 64px; align-items: start;
}
.lp-pricing__trial-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2;
  letter-spacing: -0.02em; color: var(--fg);
}
.lp-pricing__trial-text {
  font-size: 16.5px; line-height: 1.6; color: var(--sub-fg);
  letter-spacing: -0.01em; margin-bottom: 24px; max-width: 560px;
}
.lp-pricing__trial-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* FINAL CTA — градиентный блок с формой */
.lp-finalcta {
  position: relative; overflow: hidden;
  margin-top: 64px; border-radius: 32px; padding: 84px 32px 95px; text-align: center;
  background:
    radial-gradient(58% 80% at 14% 8%, rgba(43, 84, 255, 0.28), transparent 60%),
    radial-gradient(54% 74% at 88% 16%, rgba(0, 170, 255, 0.30), transparent 60%),
    radial-gradient(70% 90% at 82% 104%, rgba(0, 210, 230, 0.26), transparent 60%),
    linear-gradient(135deg, #e2eaff 0%, #e1f1ff 50%, #e2fbff 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.lp-finalcta::before {
  content: ""; position: absolute; inset: -45%; pointer-events: none;
  background: conic-gradient(from 0deg at 50% 50%,
    rgba(43, 84, 255, 0) 0deg,
    rgba(43, 84, 255, 0.45) 60deg,
    rgba(0, 200, 255, 0.42) 140deg,
    rgba(120, 70, 255, 0.40) 220deg,
    rgba(43, 84, 255, 0) 310deg);
  filter: blur(34px);
  animation: ctaShimmer 8s linear infinite;
}
.lp-finalcta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(43, 84, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 84, 255, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(82% 82% at 50% 38%, #000 28%, transparent 78%);
  mask-image: radial-gradient(82% 82% at 50% 38%, #000 28%, transparent 78%);
}
@keyframes ctaShimmer { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) {
  .lp-finalcta::before { animation: none; }
}
.lp-finalcta__title, .lp-finalcta__form { position: relative; z-index: 1; }
.lp-finalcta__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -0.03em;
  color: var(--fg); margin-bottom: 40px; text-wrap: balance;
}
.lp-finalcta__form { display: flex; gap: 12px; max-width: 640px; width: 100%; margin: 0 auto; }
.lp-finalcta__input {
  flex: 1; min-width: 0; height: 66px; padding: 0 26px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 24px -14px rgba(20, 28, 60, 0.4);
  font-family: var(--font-body); font-size: 16px; color: var(--fg); outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.lp-finalcta__input::placeholder { color: rgba(40, 50, 80, 0.6); }
.lp-finalcta__input:focus {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 0 4px var(--accent-soft);
}
.lp-finalcta__btn {
  flex: none; height: 66px; padding: 0 36px; border-radius: 999px; border: none;
  background: var(--accent); color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  cursor: pointer; white-space: nowrap;
  transition: background .15s ease, transform .12s ease;
}
.lp-finalcta__btn:hover { background: var(--accent-hover); }
.lp-finalcta__btn:active { transform: translateY(1px); }
.lp-finalcta__status {
  position: relative; z-index: 1; margin: 16px 0 0; min-height: 20px;
  font-family: var(--font-body); font-size: 14px; color: var(--fg); opacity: 0.75;
}
.lp-finalcta__status[data-state="error"] { color: #b3261e; opacity: 1; }
@media (max-width: 600px) {
  .lp-finalcta { padding: 56px 20px; border-radius: 24px; }
  .lp-finalcta__form { flex-direction: column; }
  .lp-finalcta__input { flex: none; width: 100%; height: 62px; }
  .lp-finalcta__btn { width: 100%; height: 62px; }
}

/* CONTACTS — «Мы всегда на связи» */
.lp-contacts { padding: 96px 0 104px; }
.lp-contacts__intro {
  margin-top: 18px; font-size: 17px; line-height: 1.6;
  color: var(--sub-fg); letter-spacing: -0.01em; max-width: none;
}
.lp-contacts__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px;
}
.lp-contact {
  display: flex; gap: 20px; align-items: center;
  padding: 28px 30px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}
.lp-contact__avatar {
  width: 58px; height: 58px; border-radius: 50%; flex: none;
  display: grid; place-items: center; overflow: hidden;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-display); font-weight: 700; font-size: 23px;
}
.lp-contact__avatar img { width: 100%; height: 100%; object-fit: cover; }
.lp-contact__name {
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  letter-spacing: -0.02em; color: var(--fg); margin-bottom: 0;
}
.lp-contact__links { display: flex; flex-direction: column; gap: 9px; }
.lp-contact__link {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--sub-fg); font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  transition: color .15s ease;
}
.lp-contact__link:hover { color: var(--accent); }
.lp-contact__link svg { width: 17px; height: 17px; flex: none; color: var(--accent); }
.lp-contact__actions { display: flex; gap: 10px; margin-left: auto; }
.lp-contact__btn {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: #fff; color: var(--sub-fg);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.lp-contact__btn:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.lp-contact__btn svg { width: 19px; height: 19px; display: block; }
@media (max-width: 720px) {
  .lp-contacts { padding: 72px 0 80px; }
  .lp-contacts__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — новые секции
   ============================================================ */
@media (max-width: 980px) {
  .lp-features__header { padding-top: 72px; margin-bottom: 44px; }
  .lp-feature__media { display: none; }
  .lp-features__scroll { height: auto; padding-bottom: 88px; }
  .lp-features__sticky { position: static; height: auto; display: block; overflow: visible; }
  .lp-feature__grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-feature__stack { min-height: 0; }
  .lp-feature__card {
    position: static;
    transform: none !important; opacity: 1 !important; pointer-events: auto;
    margin-bottom: 48px;
  }
  .lp-feature__card:last-child { margin-bottom: 0; }
  .lp-features__progress { display: none; }
  .lp-feature__media { min-height: 0; }
  .lp-feature__chat {
    position: static;
    transform: none !important; opacity: 1 !important; pointer-events: auto;
    margin-bottom: 32px;
    justify-content: center;
  }
  .lp-feature__chat:last-child { margin-bottom: 0; }
  .lp-adv { padding: 72px 0 80px; }
  .lp-adv__collage { grid-template-columns: 1fr; justify-items: center; padding: 32px 22px; }
  .lp-adv__side { width: 100%; max-width: 400px; }
  .lp-adv__chat { width: 100%; max-width: 400px; }
  .lp-adv__grid { grid-template-columns: 1fr; }
  .lp-steps { padding: 72px 0 80px; }
  .lp-steps__grid { grid-template-columns: 1fr; }
  .lp-process { display: flex; flex-direction: column; gap: 0; }
  .lp-process__step {
    display: grid; grid-template-columns: 52px 1fr; column-gap: 18px;
    padding-bottom: 30px;
  }
  .lp-process__step:last-child { padding-bottom: 0; }
  .lp-process__head {
    grid-column: 1; grid-row: 1 / 3; height: auto; margin: 0;
    align-items: flex-start;
  }
  .lp-process__step:not(:last-child) .lp-process__head::after {
    top: 52px; bottom: -30px; left: 50%; right: auto;
    width: 2px; height: auto; transform: translateX(-50%);
    background: repeating-linear-gradient(180deg, var(--accent-line) 0 7px, transparent 7px 13px);
  }
  .lp-process__title { grid-column: 2; grid-row: 1; margin-bottom: 8px; align-self: center; }
  .lp-process__text { grid-column: 2; grid-row: 2; }
  .lp-calc { padding: 72px 0 80px; }
  .lp-calc__card { grid-template-columns: 1fr; }
  .lp-quality { padding: 72px 0 80px; }
  .lp-quality__grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-quality__divider { display: none; }
  .lp-faq { padding: 72px 0 80px; }
  .lp-faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-pricing { padding: 72px 0 88px; }
  .lp-pricing__grid {
    display: flex; grid-template-columns: none;
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px;
    scrollbar-width: none;
  }
  .lp-pricing__grid::-webkit-scrollbar { display: none; }
  .lp-plan {
    flex: 0 0 92%; min-width: 92%; scroll-snap-align: center;
  }
  .lp-pricing__trial { grid-template-columns: 1fr; gap: 28px; }
}

/* «Что агент берёт на себя» — горизонтальный скролл на узких экранах */
@media (max-width: 400px) {
  .lp-feature__grid { gap: 22px; }
  .lp-feature__stack {
    display: flex; flex-wrap: nowrap;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 12px; margin: 0 -20px; padding: 4px 20px 14px;
    scrollbar-width: none;
  }
  .lp-feature__stack::-webkit-scrollbar { display: none; }
  .lp-feature__card {
    flex: 0 0 86%; min-width: 86%; scroll-snap-align: center;
    margin-bottom: 0 !important;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
    padding: 22px 20px;
  }
  .lp-feature__chat {
    flex: 0 0 86%; min-width: 86%; scroll-snap-align: center;
    margin-bottom: 0 !important;
  }
}

/* ============================================================
   ACCENT GRADIENT (inline word highlight)
   ============================================================ */
.lp-grad {
  background: linear-gradient(96deg, #2b54ff 0%, #3a8dff 60%, #36c0e8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ============================================================
   FOOTER
   ============================================================ */
.lp-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 64px 0 36px;
}
.lp-footer__top {
  display: grid; grid-template-columns: 1.4fr 2fr;
  gap: 48px; padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.lp-footer__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; letter-spacing: -0.01em; color: var(--fg);
}
.lp-footer__tagline {
  margin: 14px 0 0; max-width: 340px;
  font-size: 14.5px; line-height: 1.6; color: var(--sub-fg); letter-spacing: -0.01em;
}
.lp-footer__cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.lp-footer__col { display: flex; flex-direction: column; gap: 12px; }
.lp-footer__col-title {
  font-size: 11.5px; font-weight: 650; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--faint-fg); margin-bottom: 4px;
}
.lp-footer__col a {
  font-size: 14.5px; color: var(--sub-fg); text-decoration: none;
  letter-spacing: -0.01em; transition: color .2s ease; width: fit-content;
}
.lp-footer__col a:hover { color: var(--accent); }
.lp-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px 28px; padding-top: 28px;
  font-size: 13px; color: var(--faint-fg);
}
.lp-footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.lp-footer__legal a {
  color: var(--faint-fg); text-decoration: none; transition: color .2s ease;
}
.lp-footer__legal a:hover { color: var(--accent); }
@media (max-width: 760px) {
  .lp-footer__top { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 480px) {
  .lp-footer__cols { grid-template-columns: 1fr 1fr; }
  .lp-footer__bottom { flex-direction: column; align-items: flex-start; }
  .lp-contact { padding: 20px; gap: 14px; }
  .lp-contact__avatar { width: 50px; height: 50px; font-size: 20px; }
  .lp-calc__inputs { padding: 28px 22px 30px; }
  .lp-calc__results { padding: 28px 22px 32px; }
}
