/*
  Landing v2 (Вадим 30.09: «у конкурента красиво, заполнено, какое-то
  движение карточек, а у нас село»). Marketing page only — every class
  here is "lp-" prefixed so nothing leaks into the tool's own screens.
  Colours come from base.html's tokens only, so light/dark keep working
  without a second palette. The product "screenshots" are HTML/CSS
  frames with made-up data (marked «пример» on each), not images.

  Motion contract: everything is visible by default. landing.html puts
  class "lp-js" on <html> only when JS runs and the visitor doesn't ask
  for reduced motion; only under that class do reveal/tilt/grow start
  from a hidden state. @media (prefers-reduced-motion) kills the rest.
*/
:root {
  --lp-shadow-lg: 0 1px 2px rgba(20,22,30,.05), 0 40px 90px -36px rgba(30,40,90,.35);
  --lp-glow: color-mix(in srgb, var(--accent) 16%, transparent);
}
:root[data-theme="dark"] {
  --lp-shadow-lg: 0 1px 2px rgba(0,0,0,.4), 0 40px 90px -30px rgba(0,0,0,.8);
  --lp-glow: color-mix(in srgb, var(--accent) 22%, transparent);
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.lp-body { overflow-x: hidden; }

/* ---------- nav ---------- */
.nav.lp-nav {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
}
.nav.lp-nav .navlink { white-space: nowrap; }
/* Mid widths (tablets, a narrow window): the in-page anchors go before
   anything wraps — at ~650px "How it works" and "Log in" used to break
   onto two lines each. */
@media (max-width: 820px) {
  .nav.lp-nav { flex-wrap: nowrap; }
  .nav.lp-nav .lp-nav-wide { display: none; }
}
@media (max-width: 640px) {
  /* One line on a phone: logo · theme · RU/EN/UK · log in. "Pricing"
     and "How it works" are in-page anchors — the page itself scrolls
     there, so they're the ones dropped. */
  .nav.lp-nav { flex-wrap: nowrap; gap: 12px; padding: 12px 16px; }
  .nav.lp-nav .lp-nav-wide { display: none; }
  .nav.lp-nav .lang-switch { gap: 3px !important; font-size: 13px; }
  .nav.lp-nav .navlink { font-size: 13px; white-space: nowrap; }
  .nav.lp-nav .theme-toggle { width: 30px; height: 30px; flex: none; }
}

/* ---------- shared bits ---------- */
.lp-wide { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lp-section { padding: 96px 0; position: relative; }
.lp-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .01em; margin-bottom: 12px; }
.lp-h2 { font-size: 40px; line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 16px; max-width: 760px; }
.lp-center { text-align: center; }
.lp-center .lp-h2, .lp-center .lp-lead { margin-left: auto; margin-right: auto; }
.lp-lead { color: var(--text-dim); font-size: 18px; line-height: 1.6; max-width: 640px; margin: 0 0 32px; }
.lp-grad {
  background: linear-gradient(92deg, var(--accent) 10%, color-mix(in srgb, var(--accent) 45%, var(--accent-2)) 55%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-btn-lg { padding: 14px 26px !important; font-size: 15px !important; border-radius: 12px !important; }
.lp-btn-glow { box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.lp-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.lp-demo-sub { font-weight: 400; opacity: .7; }
.lp-center .lp-ctas { justify-content: center; }
.lp-cta-sub { color: var(--text-dim); font-size: 13px; margin: 14px 0 0; }
.lp-checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.lp-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; }
.lp-checks li svg { flex: none; margin-top: 2px; color: var(--accent-2); }

/* ---------- hero ---------- */
.lp-hero2 { padding: 96px 0 40px; }
.lp-hero2::before { height: 900px !important; }
.lp-h1 { font-size: 64px; line-height: 1.04; letter-spacing: -0.045em; margin: 24px auto 22px; max-width: 1080px; font-weight: 800; }
.lp-h1 > span { display: block; }
.lp-hero2 .lp-lead { margin: 0 auto 34px; }

/* Stage around the hero frame: the frame plus two floating cards. */
.lp-stage { position: relative; margin-top: 64px; }
.lp-stage::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -40px; height: 120px;
  background: radial-gradient(ellipse at center, var(--lp-glow), transparent 70%);
  filter: blur(20px); z-index: -1;
}
.lp-demo-note { color: var(--text-dim); font-size: 12px; text-align: center; margin: 18px 0 0; }

/* ---------- product frames ---------- */
.lp-frame {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--lp-shadow-lg); overflow: hidden; position: relative;
  font-size: 13px; line-height: 1.45; text-align: left;
}
.lp-frame-bar {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  background: var(--surface-2); border-bottom: 1px solid var(--border);
}
.lp-frame-bar > i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); display: block; flex: none; }
.lp-frame-bar > i:nth-child(1) { background: #ff5f57; }
.lp-frame-bar > i:nth-child(2) { background: #febc2e; }
.lp-frame-bar > i:nth-child(3) { background: #28c840; }
.lp-url {
  flex: 1; min-width: 0; margin: 0 8px; padding: 4px 12px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-dim);
  font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center;
}
.lp-demo {
  flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--warn); background: color-mix(in srgb, var(--warn) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent);
  padding: 2px 8px; border-radius: 999px;
}
.lp-frame-body { padding: 18px; }
.lp-frame table { font-size: 12.5px; }
.lp-frame th { font-size: 11px; padding: 8px 10px; background: var(--surface-2); white-space: nowrap; }
.lp-frame td { padding: 9px 10px; white-space: nowrap; }
.lp-frame .badge { font-size: 11px; padding: 2px 8px; }
.lp-frame .mono { font-size: 11.5px; }
.lp-sub { display: block; color: var(--text-dim); font-size: 11.5px; }
.lp-panel { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.lp-panel-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 13px; }

/* app shell inside the hero frame */
.lp-app { display: grid; grid-template-columns: 56px minmax(0, 1fr); min-height: 520px; }
.lp-rail { border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0; background: var(--surface); }
.lp-rail img { width: 28px; height: 28px; border-radius: 8px; margin-bottom: 10px; }
.lp-rail span { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--text-dim); }
.lp-rail span.on { background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent); }
.lp-app-main { padding: 22px 24px; background: var(--bg); min-width: 0; }
.lp-app-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.lp-app-head .eyebrow { font-size: 11.5px; font-weight: 600; color: var(--accent); display: block; }
.lp-app-head h3 { font-size: 22px; margin: 2px 0 2px; letter-spacing: -0.03em; }
.lp-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; padding: 4px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); white-space: nowrap; color: var(--text); font-weight: 500; }
.lp-chip.on { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.lp-stats4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.lp-stats4 .stat { padding: 14px 16px; border-radius: 14px; box-shadow: none; }
.lp-stats4 .stat .label { font-size: 12px; }
.lp-stats4 .stat .value { font-size: 24px; margin-top: 6px; }
.lp-stats4 .stat .foot { font-size: 11.5px; margin-top: 2px; }
.lp-spark { display: block; width: 100%; height: 28px; margin-top: 8px; color: var(--accent); }
.lp-spark.g { color: var(--accent-2); }
.lp-app-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 14px; }
.lp-bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; padding: 16px 14px 0; }
.lp-bars > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.lp-bars > div > span { display: block; width: 100%; max-width: 26px; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--accent-2))); transition: height .9s cubic-bezier(.2,.8,.2,1); }
.lp-bars > div:last-child > span { background: linear-gradient(180deg, var(--accent-2), color-mix(in srgb, var(--accent-2) 60%, var(--accent))); }
.lp-bars > div > b { font-size: 10px; color: var(--text-dim); font-weight: 500; }
.lp-bars-total { padding: 12px 14px 14px; display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); }
.lp-bars-total strong { color: var(--text); font-variant-numeric: tabular-nums; }

/* floating cards */
.lp-float {
  position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--lp-shadow-lg); padding: 12px 14px; width: 270px;
  display: flex; gap: 11px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; text-align: left;
  animation: lp-float 7s ease-in-out infinite;
}
.lp-float strong { display: block; font-size: 13px; margin-bottom: 1px; }
.lp-float .muted { font-size: 12px; }
.lp-float .ico { width: 30px; height: 30px; border-radius: 9px; flex: none; display: flex; align-items: center; justify-content: center; }
.lp-float .ico.warn { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }
.lp-float .ico.ok { background: color-mix(in srgb, var(--accent-2) 15%, transparent); color: var(--accent-2); }
.lp-float .ico.acc { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.lp-float-a { left: -64px; bottom: 56px; }
.lp-float-b { right: -44px; bottom: 90px; animation-delay: -3.5s; }
.lp-float-c { right: -28px; top: -26px; animation-delay: -2s; }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- facts strip ---------- */
.lp-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 88px; }
.lp-fact { padding: 22px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.lp-fact .v { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.lp-fact .l { color: var(--text-dim); font-size: 13.5px; line-height: 1.5; margin-top: 10px; }

/* ---------- pain ---------- */
.lp-pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; text-align: left; }
.lp-pain {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 26px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.lp-pain:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow-lg); }
.lp-pain .ico { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: color-mix(in srgb, var(--danger) 11%, transparent); color: var(--danger); }
.lp-pain h3 { font-size: 18px; margin: 0 0 8px; }
.lp-pain p { color: var(--text-dim); margin: 0 0 20px; font-size: 14.5px; line-height: 1.6; flex: 1; }
.lp-pain .fix { border-top: 1px dashed var(--border); padding-top: 16px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.lp-pain .fix svg { flex: none; color: var(--accent-2); margin-top: 2px; }
.lp-pain .fix b { color: var(--accent-2); font-weight: 700; }

/* ---------- feature rows ---------- */
.lp-rows { display: grid; gap: 120px; margin-top: 72px; }
.lp-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.lp-row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lp-row.flip .lp-row-text { order: 2; }
.lp-row-text h3 { font-size: 32px; line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 14px; }
.lp-row-text p { color: var(--text-dim); font-size: 16px; line-height: 1.65; margin: 0; }
.lp-row-vis { position: relative; }
.lp-row-vis::before {
  content: ""; position: absolute; inset: -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, var(--lp-glow), transparent);
  filter: blur(24px);
}
.lp-row .lp-float { width: 250px; }
.lp-row .lp-float-r { right: -36px; bottom: -78px; }
.lp-row .lp-float-l { left: -34px; bottom: -30px; }

/* launch form mock */
.lp-lbl { display: block; font-size: 12px; font-weight: 600; margin: 0 0 6px; }
.lp-select { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; margin-bottom: 14px; }
.lp-select svg { color: var(--text-dim); transform: rotate(90deg); }
.lp-acc { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.lp-acc .mono { color: var(--text-dim); }
.lp-acc .cur { margin-left: auto; color: var(--text-dim); font-size: 11.5px; }
.lp-box { width: 16px; height: 16px; border-radius: 5px; flex: none; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.lp-box.off { background: var(--surface); border: 1.5px solid var(--border); }
.lp-more { color: var(--text-dim); font-size: 12px; padding: 4px 0 0 26px; }
.lp-confirm { margin-top: 14px; border: 1px solid var(--border); border-radius: 12px; padding: 14px; background: var(--surface); }
.lp-confirm strong { font-size: 13.5px; }
.lp-confirm ul { margin: 6px 0 10px; padding-left: 18px; font-size: 12.5px; }
.lp-confirm .row { font-size: 12.5px; flex-wrap: nowrap; align-items: flex-start; }
.lp-confirm .row .lp-box { margin-top: 1px; }
.lp-go { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; border-radius: 10px; padding: 10px 16px; font-weight: 600; font-size: 13px; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 80%, transparent); }

/* launch ticker mock */
.lp-tk-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.lp-tk-head h4 { margin: 0; font-size: 16px; letter-spacing: -0.02em; }
.lp-tk-meter { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.lp-tk-meter > span { display: block; height: 100%; width: var(--p, 100%); border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .45s ease; }
.lp-tk-counts { display: flex; gap: 14px; flex-wrap: wrap; margin: 10px 0 14px; font-size: 12px; color: var(--text-dim); }
.lp-tk-counts b { color: var(--text); font-variant-numeric: tabular-nums; }
.lp-tk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.lp-tk-row { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 9px; background: var(--surface-2); font-size: 12px; white-space: nowrap; min-width: 0; transition: background-color .3s ease; }
.lp-tk-row .nm { overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.lp-tk-row .badge { flex: none; transition: background-color .25s ease, color .25s ease; }
.lp-tk-row .tag { display: none; font-size: 10.5px; line-height: 1.3; color: var(--accent); font-weight: 600; }
.lp-tk-row.retried { background: color-mix(in srgb, var(--accent) 8%, var(--surface-2)); }
.lp-tk-row.retried .tag { display: block; }

/* stats mock */
.lp-tabs { display: flex; gap: 16px; font-size: 12.5px; margin-bottom: 12px; flex-wrap: wrap; }
.lp-tabs span { display: inline-flex; align-items: center; gap: 6px; color: var(--text-dim); }
.lp-tabs span::before { box-sizing: border-box; content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--border); }
.lp-tabs span.on { color: var(--text); font-weight: 600; }
.lp-tabs span.on::before { border: 4px solid var(--accent); }
.lp-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.lp-frame tr.sel td { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.lp-bulk { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 12px 14px; border-top: 1px solid var(--border); background: var(--surface-2); }
.lp-bulk .b { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 5px 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); white-space: nowrap; }
.lp-bulk .b.pri { background: var(--accent); border-color: var(--accent); color: #fff; }
.lp-cc { display: inline-block; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--border); margin-right: 6px; color: var(--text-dim); }

/* auto-rule mock */
.lp-rule { border: 1px solid var(--border); border-radius: 12px; padding: 14px; background: var(--surface); margin-bottom: 14px; }
.lp-rule-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.lp-rule-top strong { font-size: 14px; }
.lp-cond { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; }
.lp-cond .k { color: var(--text-dim); font-size: 11.5px; }
.lp-cond .arrow { color: var(--text-dim); }

/* notifications mock */
.lp-notes { list-style: none; margin: 0; padding: 0; }
.lp-notes li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.lp-notes li:last-child { border-bottom: none; }
.lp-notes .dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex: none; }
.lp-notes .dot.err { background: var(--danger); box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 15%, transparent); }
.lp-notes .dot.ok { background: var(--accent-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-2) 15%, transparent); }
.lp-notes .dot.warn { background: var(--warn); box-shadow: 0 0 0 4px color-mix(in srgb, var(--warn) 15%, transparent); }
.lp-notes .t { flex: 1; min-width: 0; font-size: 12.5px; }
.lp-notes .t strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-notes .t span { color: var(--text-dim); font-size: 11.5px; }
.lp-notes time { color: var(--text-dim); font-size: 11px; white-space: nowrap; }
.lp-toggles { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.lp-sw { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 500; }
.lp-sw i { width: 26px; height: 15px; border-radius: 999px; background: var(--accent-2); position: relative; display: inline-block; }
.lp-sw i::after { content: ""; position: absolute; top: 2px; left: 13px; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.lp-sw.off i { background: var(--border); }
.lp-sw.off i::after { left: 2px; }

/* team mock */
.lp-av { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; flex: none; }
.lp-who { display: flex; align-items: center; gap: 10px; }
.lp-role { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.lp-role.o { background: color-mix(in srgb, var(--accent) 12%, transparent); border-color: transparent; color: var(--accent); }

/* ---------- care ---------- */
.lp-care { border-radius: 28px; padding: 56px; position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.lp-care::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 70% at 100% 0%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 70%),
              radial-gradient(ellipse 40% 60% at 0% 100%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); }
.lp-care > * { position: relative; }
.lp-care-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.lp-care-badge { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; margin-bottom: 18px; box-shadow: 0 12px 28px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.lp-care-item { background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.lp-care-item .ico { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--accent-2) 14%, transparent); color: var(--accent-2); margin-bottom: 14px; }
.lp-care-item h3 { font-size: 15px; margin: 0 0 6px; }
.lp-care-item p { color: var(--text-dim); font-size: 13.5px; line-height: 1.55; margin: 0; }

/* ---------- pricing ---------- */
.lp-tariff { position: relative; padding: 26px; border-radius: 20px; }
.lp-tariff:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.lp-tariff.is-highlight { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--surface)), var(--surface) 60%); }
.lp-price { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.lp-pay { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: 13.5px; margin-top: 4px; }
.lp-pay svg { color: var(--accent-2); }

/* ---------- built-in tracker (settings.tracker_public) ---------- */
.lp-h2-row { font-size: 36px; margin-bottom: 14px; }
.lp-trk .lp-stats4 { gap: 10px; }
.lp-trk .lp-stats4 .stat .value { font-size: 20px; }
.lp-roi { font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-roi.up { color: var(--accent-2); }
.lp-roi.down { color: var(--danger); }
.lp-tariff-trk { display: flex; align-items: center; gap: 7px; margin: -6px 0 14px; font-size: 12.5px; font-weight: 600; color: var(--accent-2); }
.lp-tariff-trk svg { flex: none; }
.lp-tariffs-note { display: flex; align-items: flex-start; gap: 10px; margin: -6px 0 0; color: var(--text-dim); font-size: 13.5px; line-height: 1.55; }
.lp-tariffs-note svg { flex: none; margin-top: 2px; color: var(--accent-2); }
.lp-tariffs-extra { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: -6px 0 18px; padding: 0; color: var(--text-dim); font-size: 13.5px; line-height: 1.55; }
.lp-tariffs-extra li { display: flex; align-items: flex-start; gap: 8px; }
.lp-tariffs-extra svg { flex: none; margin-top: 3px; color: var(--accent-2); }

/* ---------- FAQ ---------- */
.lp-faq-wrap { max-width: 820px; }
.lp-faq { display: grid; gap: 10px; }
.lp-faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.lp-faq summary { cursor: pointer; list-style: none; position: relative; padding: 18px 52px 18px 20px; font-weight: 600; font-size: 16px; line-height: 1.4; border-radius: 16px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 20px; line-height: 1; color: var(--accent); }
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lp-faq details p { margin: 0; padding: 0 20px 18px; color: var(--text-dim); font-size: 15px; line-height: 1.65; }

/* ---------- final CTA ---------- */
.lp-final {
  border-radius: 32px; padding: 80px 32px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 92%, #000), color-mix(in srgb, var(--accent) 55%, var(--accent-2)));
  color: #fff;
}
.lp-final::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 40% 60% at 15% 10%, rgba(255,255,255,.22), transparent 70%),
              radial-gradient(ellipse 40% 60% at 90% 100%, rgba(255,255,255,.14), transparent 70%); }
.lp-final > * { position: relative; }
.lp-final h2 { font-size: 44px; letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 14px; color: #fff; }
.lp-final p { color: rgba(255,255,255,.82); font-size: 17px; margin: 0 auto 30px; max-width: 560px; }
.lp-final .btn { background: #fff; color: #1a2a8a; }
.lp-final .btn:hover { background: #eef1ff; color: #1a2a8a; }
.lp-final .lp-cta-sub { color: rgba(255,255,255,.75); }

/* ---------- motion (only with html.lp-js) ---------- */
.lp-js [data-reveal] { transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
.lp-js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); }
.lp-js [data-reveal="tilt"] { transition-duration: 1.2s; transform-origin: 50% 0; }
.lp-js [data-reveal="tilt"]:not(.is-in) { opacity: 0; transform: perspective(2200px) rotateX(16deg) translateY(40px) scale(.96); }
.lp-js [data-reveal="left"]:not(.is-in) { transform: translateX(-36px); }
.lp-js [data-reveal="right"]:not(.is-in) { transform: translateX(36px); }
.lp-js [data-reveal]:not(.is-in) .lp-bars > div > span { height: 4%; }

@media (prefers-reduced-motion: reduce) {
  .lp-float { animation: none; }
  .lp-pain, .lp-tariff, .lp-bars > div > span, .lp-tk-meter > span { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .lp-float-a { left: -12px; }
  .lp-float-b { right: -12px; }
  .lp-row .lp-float-r { right: -8px; }
  .lp-row .lp-float-l { left: -8px; }
}
@media (max-width: 960px) {
  .lp-h1 { font-size: 48px; }
  .lp-h2 { font-size: 32px; }
  .lp-row, .lp-row.flip { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lp-row.flip .lp-row-text { order: 0; }
  .lp-rows { gap: 88px; }
  .lp-app-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-pain-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-float-c { display: none; }
}
@media (max-width: 720px) {
  .lp-section { padding: 64px 0; }
  .lp-hero2 { padding: 56px 0 24px; }
  .lp-wide, .wrap { padding-left: 16px; padding-right: 16px; }
  .lp-h1 { font-size: 36px; letter-spacing: -0.035em; }
  .lp-lead { font-size: 16px; }
  .lp-h2 { font-size: 27px; }
  .lp-row-text h3 { font-size: 24px; }
  .lp-row-text p { font-size: 15px; }
  .lp-stage { margin-top: 40px; }
  .lp-app { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .lp-rail { display: none; }
  .lp-app-main { padding: 14px; }
  .lp-app-head h3 { font-size: 18px; }
  .lp-app-head .lp-chip { display: none; }
  .lp-stats4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .lp-stats4 .stat { padding: 11px 12px; }
  .lp-stats4 .stat .value { font-size: 19px; }
  .lp-frame .h-sm { display: none; }
  .lp-frame-body { padding: 14px; }
  .lp-frame td, .lp-frame th { padding: 8px 6px; white-space: normal; }
  .lp-frame td.num, .lp-frame th.num { white-space: nowrap; }
  .lp-float { position: relative; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; width: auto !important; margin: 12px 0 0; animation: none; }
  .lp-stage .lp-float-b { display: none; }
  .lp-tk-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-tk-grid .lp-tk-row:nth-child(n+11) { display: none; }
  .lp-facts { margin-top: 56px; gap: 10px; }
  .lp-fact { padding: 16px; }
  .lp-fact .v { font-size: 30px; }
  .lp-fact .l { font-size: 12.5px; }
  .lp-care { padding: 28px 18px; border-radius: 22px; }
  .lp-care-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 24px; }
  .lp-care-item { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .lp-care-item .ico { grid-row: span 2; margin: 0; }
  .lp-final { padding: 52px 20px; border-radius: 24px; }
  .lp-final h2 { font-size: 30px; }
  .lp-url { display: none; }
  .lp-frame-bar { justify-content: flex-start; }
  .lp-frame-bar .lp-demo { margin-left: auto; }
  .lp-bulk .b.h-sm { display: none; }
  .lp-trk .lp-stats4 .stat .value { font-size: 18px; }
  .lp-faq summary { font-size: 15px; padding: 16px 44px 16px 16px; }
  .lp-faq summary::after { right: 16px; }
  .lp-faq details p { padding: 0 16px 16px; font-size: 14.5px; }
}

/* Current launch flow: semantic, static frames remain readable without JS. */
.lp-current-path{display:flex;gap:8px;flex-wrap:wrap;color:var(--text-dim);font-size:11px;margin-bottom:16px}
.lp-current-path span{padding:6px 8px;border:1px solid var(--border);border-radius:8px}
.lp-current-creatives{display:flex;gap:10px;align-items:center;margin:18px 0;font-size:13px}
.lp-current-thumb{display:grid;place-items:center;flex:none;width:48px;height:58px;border-radius:8px;background:linear-gradient(150deg,#5b67f0,#c062ba);font-weight:700;color:white}
.lp-current-thumb.second{background:linear-gradient(150deg,#159cae,#41b792)}
.lp-current-copy{padding:12px;border:1px solid var(--border);border-radius:10px;font-size:12px}
.lp-current-copy span{display:block;color:var(--text-dim);margin-top:6px}
.lp-current-steps{padding-left:20px;font-size:13px;line-height:1.7;color:var(--text-dim)}
.lp-current-steps li{margin:10px 0}
.lp-current-result{display:flex;align-items:center;gap:8px;margin-top:16px;font-size:12px;color:var(--accent)}

/* ---------- v3: services strip, cards, steps (exec39) ---------- */
.lp-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; text-align: left; }
.lp-svc-card {
  display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 20px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
a.lp-svc-card:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow-lg); }
.lp-svc-card .ico, .lp-card .ico, .lp-link .ico {
  width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex: none;
  background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent);
}
.lp-svc-card .ico { margin-bottom: 12px; }
.lp-svc-card h3 { font-size: 20px; margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lp-svc-card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; margin: 0; flex: 1; }
.lp-svc-card .more { color: var(--accent); font-size: 13.5px; font-weight: 600; margin-top: 10px; }
.lp-svc-card.soon { border-style: dashed; box-shadow: none; }
.lp-svc-card.soon .ico { background: color-mix(in srgb, var(--text-dim) 14%, transparent); color: var(--text-dim); }
.lp-soon { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-dim); }
.lp-link {
  display: flex; gap: 16px; align-items: flex-start; text-align: left; margin-top: 18px; padding: 20px 24px; border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
}
.lp-link strong { display: block; font-size: 16px; margin-bottom: 4px; }
.lp-link p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.lp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.lp-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.lp-card .ico { width: 38px; height: 38px; border-radius: 11px; margin-bottom: 14px; }
.lp-card h3 { font-size: 16px; margin: 0 0 6px; }
.lp-card p { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin: 0; }
.lp-steps { list-style: none; padding: 0; margin: 44px 0 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; text-align: left; counter-reset: none; }
.lp-steps li { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.lp-steps .n {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.lp-steps h3 { font-size: 18px; margin: 0 0 8px; }
.lp-steps p { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; margin: 0; }
.lp-care-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-trust-more { margin: 24px 0 0; font-size: 14px; }
.lp-trust-more a { color: var(--accent); font-weight: 600; text-decoration: none; }
.lp-trust-more a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .lp-svc-card { transition: none; } }
@media (max-width: 960px) {
  .lp-svc, .lp-steps { grid-template-columns: minmax(0, 1fr); }
  .lp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 44px; }
  .lp-care-grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .lp-cards { grid-template-columns: minmax(0, 1fr); }
  .lp-care-grid.g3 { grid-template-columns: minmax(0, 1fr); }
  .lp-link { padding: 16px; gap: 12px; }
}
