/* Одностраничник для гостей: яркий, со своими цветами (портал использует style.css). */
:root {
  --bg: #fbfbfe; --card: #ffffff; --text: #14152b; --muted: #5f6480; --line: #e6e7f2;
  --dots: #d9dbea; --ink: #14152b; --ink-text: #ffffff;
  --lime: #d7f75b; --lime-ink: #1d2400; --pink: #ffc4ee; --violet: #6c4cff; --blue: #3b6bff;
  --peach: #fff0e6; --lav: #f1ecff; --mint: #e5f8ef; --sky: #e8f0ff; --rose: #ffecf7; --sun: #fff7d6;
  --ok: #129a62; --warn: #8a5a00; --warn-bg: #fff3d1;
  --shadow: 0 18px 40px rgba(40, 30, 120, 0.12);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1020; --card: #181a30; --text: #eceeff; --muted: #a3a8c6; --line: #2a2d4a;
    --dots: #262947; --ink: #eceeff; --ink-text: #14152b;
    --peach: #2e2026; --lav: #231f3d; --mint: #17302a; --sky: #1a2340; --rose: #2f1d2c; --sun: #2e2a17;
    --ok: #4fd99a; --warn: #f2c86b; --warn-bg: #3a2f14; --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ld { margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.ld a { color: inherit; text-decoration: none; }
.ld-wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
mark { background: linear-gradient(transparent 12%, var(--lime) 12%, var(--lime) 92%, transparent 92%); color: var(--lime-ink);
  padding: 0 .12em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
mark.pink { background: linear-gradient(transparent 12%, var(--pink) 12%, var(--pink) 92%, transparent 92%); color: #3b0a2f; }

/* кнопки */
.ld-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 600;
  padding: 11px 20px; border: 1.5px solid transparent; transition: transform .15s, box-shadow .15s; white-space: nowrap; cursor: pointer; }
.ld-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(40, 30, 120, 0.15); }
.ld-btn.sm { padding: 8px 16px; font-size: 15px; }
.ld-btn.lg { padding: 15px 28px; font-size: 17px; }
.ld-btn.lime { background: var(--lime); color: var(--lime-ink); }
.ld-btn.dark { background: var(--ink); color: var(--ink-text); }
.ld-btn.ghost { border-color: var(--text); color: var(--text); background: transparent; }

/* шапка */
.ld-top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.ld-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.ld-logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 17px; }
.ld-logo b { color: var(--violet); }
.ld-logo-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; margin-right: 4px;
  background: linear-gradient(135deg, var(--violet), #e05bd0); color: #fff; font-weight: 700; }
.ld-nav { display: flex; gap: 22px; font-size: 15px; }
.ld-nav a:hover { color: var(--violet); }
.ld-top-btns { display: flex; gap: 8px; }
@media (max-width: 860px) { .ld-nav { display: none; } }
@media (max-width: 420px) { .hide-sm { display: none; } .ld-logo { font-size: 15px; } }

/* первый экран */
.ld-hero { text-align: center; padding: 56px 0 24px;
  background-image: radial-gradient(var(--dots) 1.2px, transparent 1.2px); background-size: 22px 22px; }
.ld-pill { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 0 0 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-left: 6px; }
.dot:first-child { margin-left: 0; }
.dot.ozon { background: #005bff; } .dot.wb { background: #cb11ab; } .dot.ym { background: #ffcc00; }
.ld-hero h1 { font-family: "Unbounded", "Onest", sans-serif; font-weight: 700; font-size: clamp(30px, 5.4vw, 60px);
  line-height: 1.12; letter-spacing: -0.02em; margin: 0 auto 20px; max-width: 15em; }
.ld-lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); margin: 0 auto 28px; max-width: 40em; }
.ld-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ld-note { color: var(--muted); font-size: 14px; margin: 14px 0 0; }

/* сцена с примером */
.ld-stage { position: relative; margin: 44px auto 0; max-width: 980px; padding: 48px 24px; border-radius: 28px;
  background: linear-gradient(135deg, #cfe0ff 0%, #b9b5ff 45%, #f3b6ec 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ld-stage { background: linear-gradient(135deg, #1f2f63, #3a2a7a 50%, #5a2357); } }
.ld-demo { margin: 0 auto; max-width: 480px; text-align: left; background: var(--card); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.ld-demo-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; margin-bottom: 14px; }
.ld-tag { font-size: 12px; font-weight: 500; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 1px 9px; }
.ld-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.ld-kpis div { border-radius: 12px; padding: 8px 10px; }
.ld-kpis .k1 { background: var(--sky); } .ld-kpis .k2 { background: var(--mint); }
.ld-kpis .k3 { background: var(--lav); } .ld-kpis .k4 { background: var(--rose); }
.ld-kpis small { display: block; color: var(--muted); font-size: 12px; }
.ld-kpis b { font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ld-kpis .k2 b { color: var(--ok); }
@media (max-width: 480px) { .ld-kpis { grid-template-columns: repeat(2, 1fr); } }
.ld-pnl { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.ld-pnl td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.ld-pnl td:last-child { text-align: right; }
.ld-pnl i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--c); margin-right: 8px; }
.ld-pnl .sum td { font-weight: 700; border-bottom: 0; padding-top: 10px; font-size: 16px; }
.ld-pnl .sum td:last-child { color: var(--ok); }
.neg { color: var(--muted); }
.ld-warn { margin: 12px 0 0; font-size: 13px; background: var(--warn-bg); color: var(--warn); border-radius: 10px; padding: 8px 10px; }

.ld-float { position: absolute; background: var(--card); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow);
  text-align: left; width: 190px; }
.ld-float small { display: block; color: var(--muted); font-size: 12px; }
.ld-float b { font-size: 20px; font-variant-numeric: tabular-nums; }
.ld-float .up { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--ok); }
.ld-float svg { display: block; width: 100%; height: 34px; margin-top: 4px; }
.ld-float polyline { fill: none; stroke: var(--violet); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ld-float.f1 { left: 4%; top: 18%; transform: rotate(-3deg); }
.ld-float.f2 { right: 4%; top: 12%; transform: rotate(3deg); }
.ld-float.f2 polyline { stroke: #e05bd0; }
.ld-float.f3 { right: 7%; bottom: 14%; display: flex; gap: 10px; align-items: center; width: auto; }
.ld-float.f3 b { font-size: 16px; }
.emoji { font-size: 26px; }
@media (max-width: 900px) { .ld-float, .ld-float.f3 { display: none; } .ld-stage { padding: 20px 12px; } }

/* секции */
.ld-sec { padding: 64px 0 8px; }
.ld-h2 { font-family: "Unbounded", "Onest", sans-serif; font-weight: 700; font-size: clamp(24px, 3.6vw, 38px); line-height: 1.2;
  letter-spacing: -0.015em; text-align: center; margin: 0 auto 28px; max-width: 20em; }
.ld-h3 { font-size: 24px; margin: 0 0 16px; font-weight: 700; }
.ld-sub { color: var(--muted); text-align: center; margin: -12px auto 28px; max-width: 42em; }
#how, #features, #faq, #prices { scroll-margin-top: 76px; }

.ld-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ld-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .ld-grid3 { grid-template-columns: 1fr 1fr; } .ld-grid2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ld-grid3 { grid-template-columns: 1fr; } }

.ld-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.ld-card h3 { font-size: 18px; margin: 10px 0 6px; }
.ld-card p { margin: 0; color: var(--muted); }
.ld-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 24px; background: var(--card); }
.tint-peach { background: var(--peach); border-color: transparent; }
.tint-lav { background: var(--lav); border-color: transparent; }
.tint-mint { background: var(--mint); border-color: transparent; }
.feat { position: relative; overflow: hidden; transition: transform .2s; }
.feat:hover { transform: translateY(-3px); }
.feat .ld-ico { background: var(--tint); }
.feat::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: var(--tint); opacity: .7; z-index: 0; }
.feat > * { position: relative; z-index: 1; }
.c-blue { --tint: var(--sky); } .c-pink { --tint: var(--rose); } .c-lime { --tint: var(--sun); }
.c-mint { --tint: var(--mint); } .c-orange { --tint: var(--peach); } .c-violet { --tint: var(--lav); }

/* шаги */
.ld-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .ld-steps { grid-template-columns: 1fr; } }
.ld-steps li { border-radius: 22px; padding: 24px; color: var(--muted); }
.ld-steps li b { display: block; color: var(--text); font-size: 18px; margin: 14px 0 6px; }
.ld-steps .n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font: 700 20px "Unbounded", sans-serif; color: #fff; }
.ld-steps .s1 { background: var(--sky); } .ld-steps .s1 .n { background: var(--blue); }
.ld-steps .s2 { background: var(--lav); } .ld-steps .s2 .n { background: var(--violet); }
.ld-steps .s3 { background: var(--rose); } .ld-steps .s3 .n { background: #e05bd0; }

/* площадки */
.ld-mps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .ld-mps { grid-template-columns: 1fr; } }
.ld-mp { border-radius: 22px; padding: 26px 24px; color: #fff; min-height: 130px; display: flex; flex-direction: column; justify-content: space-between; }
.ld-mp b { font-size: 24px; font-family: "Unbounded", "Onest", sans-serif; }
.ld-mp span { opacity: .9; font-size: 14px; }
.ld-mp.ozon { background: linear-gradient(135deg, #005bff, #3d8bff); }
.ld-mp.wb { background: linear-gradient(135deg, #cb11ab, #6a1b9a); }
.ld-mp.ym { background: linear-gradient(135deg, #ffd633, #ffb300); color: #1d1600; }

/* тарифы */
.ld-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .ld-plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.ld-plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px;
  display: flex; flex-direction: column; }
.ld-plan.hot { background: linear-gradient(160deg, #2b1d7a, #6c4cff 60%, #c046c9); color: #fff; border: 0; box-shadow: var(--shadow); }
.ld-plan.hot .ld-cab, .ld-plan.hot ul, .ld-plan.hot .ld-price small { color: rgba(255, 255, 255, .85); }
.ld-plan.hot li::before { color: var(--lime); }
.ld-badge { position: absolute; top: -13px; left: 24px; background: var(--lime); color: var(--lime-ink);
  font-size: 13px; font-weight: 700; border-radius: 99px; padding: 3px 12px; }
.ld-plan h3 { margin: 0 0 8px; font-size: 20px; }
.ld-price { font: 700 34px "Unbounded", "Onest", sans-serif; margin: 0; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.ld-price small { font: 400 15px "Onest", sans-serif; color: var(--muted); letter-spacing: 0; }
.ld-cab { font-weight: 600; margin: 6px 0 16px; }
.ld-plan ul { list-style: none; padding: 0; margin: 0 0 22px; color: var(--muted); font-size: 15px; flex: 1; }
.ld-plan li { padding: 5px 0 5px 26px; position: relative; }
.ld-plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

/* безопасность и вопросы */
.ld-safe { background: var(--mint); border-color: transparent; }
.ld-safe .ld-ico { margin-bottom: 12px; }
.ld-list { padding-left: 20px; margin: 0; }
.ld-list li { margin-bottom: 10px; }
.ld details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
.ld summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.ld summary::-webkit-details-marker { display: none; }
.ld summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--violet); }
.ld details[open] summary::after { content: "−"; }
.ld details p { margin: 10px 0 0; color: var(--muted); }

/* финал */
.ld-final { margin: 64px 0 48px; padding: 56px 24px; text-align: center; border-radius: 32px; color: #fff;
  background: radial-gradient(circle at 15% 20%, #ff8ad8 0, transparent 40%), radial-gradient(circle at 85% 80%, #5bc2ff 0, transparent 45%),
              linear-gradient(135deg, #3a1fb8, #6c4cff 55%, #b83fc4); }
.ld-final h2 { font: 700 clamp(24px, 3.8vw, 40px)/1.2 "Unbounded", "Onest", sans-serif; margin: 0 0 10px; }
.ld-final p { opacity: .9; margin: 0 0 26px; font-size: 18px; }
.ld-foot { padding: 24px 0 32px; color: var(--muted); font-size: 14px; }
