/* Лендинг wbStats (этап 17): тёмная тема, Manrope (свой файл — CSP разрешает шрифты только с нашего домена). */
@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff") format("woff"); font-weight: 200 800; font-display: swap; }

:root { --bg: #0e1424; --card: #161e33; --line: #26304a; --line2: #2c3650; --ink: #ffffff; --muted: #b3bccd;
  --muted2: #9aa4b8; --soft: #c3cad8; --acc: #34d399; --acc2: #6ee7b7; --acc-bg: #1d3a34; --btn-line: #3a4560; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body.lp { margin: 0; background: var(--bg); color: var(--ink); font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5; -webkit-font-smoothing: antialiased; }
.lp a { color: var(--acc); }
.lp a:hover { color: var(--acc2); }
.lp img { max-width: 100%; }
.lp :focus-visible { outline: 3px solid var(--acc2); outline-offset: 2px; }
.lp-skip { position: absolute; left: -9999px; }
.lp-skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sec { padding-top: 24px; padding-bottom: 72px; }

/* шапка */
.lp-head { position: sticky; top: 0; z-index: 20; background: rgba(14,20,36,.88); border-bottom: 1px solid #1f2840; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lp-head .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-brand b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.lp-brand b span { color: var(--acc); }
.lp-nav { display: flex; gap: 22px; flex-wrap: wrap; flex: 1 1 auto; font-size: 15px; font-weight: 600; }
.lp-nav a { color: var(--soft); text-decoration: none; }
.lp-nav a:hover { color: #fff; }
.lp-actions { display: flex; gap: 10px; }
.btn-o, .btn-a, .btn-w { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 12px;
  font-weight: 700; font-size: 15px; text-decoration: none; font-family: inherit; cursor: pointer; }
.lp .btn-o { color: #fff; border: 1px solid var(--btn-line); background: transparent; }
.lp .btn-o:hover { color: #fff; border-color: #56627f; }
.lp .btn-a { color: #0d1424; background: var(--acc); border: 0; font-weight: 800; }
.lp .btn-a:hover { color: #0d1424; background: var(--acc2); }
.lp .btn-w { color: #0b3d30; background: #fff; font-weight: 800; }
.btn-lg { min-height: 54px; padding: 0 28px; border-radius: 14px; font-size: 17px; }
@media (max-width: 860px) {
  .lp-head .wrap { gap: 10px 16px; padding-top: 10px; padding-bottom: 8px; }
  .lp-brand { margin-right: auto; }
  .lp-nav { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; gap: 18px; font-size: 14px; padding-bottom: 4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .lp-nav::-webkit-scrollbar { display: none; }
  .lp-nav a { white-space: nowrap; min-height: 32px; display: inline-flex; align-items: center; }
  .hero { padding-top: 36px; }
}
@media (max-width: 420px) { .lp-actions .btn-o { display: none; } }

/* первый экран */
.hero { max-width: 1000px; margin: 0 auto; padding: 64px 24px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.hero h1 { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #1e2740; color: var(--acc2); font-size: 14px; font-weight: 700; }
.hero h1::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.hero-title { margin: 0; font-size: clamp(36px, 5vw, 66px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; }
.hero-title span { color: var(--acc); }
.hero-sub { margin: 0; font-size: 19px; color: var(--soft); max-width: 680px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 4px; }
.hero-note { margin: 0; font-size: 14px; color: var(--muted2); }

/* окна со скриншотами */
.shot { border-radius: 18px; background: #1a2236; border: 1px solid var(--line2); box-shadow: 0 40px 90px rgba(0,0,0,.5); overflow: hidden; }
.shot-bar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.shot-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--btn-line); }
.shot-bar span { margin-left: 16px; padding: 3px 14px; border-radius: 8px; background: #121829; color: var(--muted2); font-size: 12px; }
.shot img { display: block; width: 100%; height: auto; }
.lp .img-l { display: none; }
.lp[data-shots="light"] .img-d { display: none; }
.lp[data-shots="light"] .img-l { display: block; }

.hero-shot { position: relative; padding-bottom: 72px; }
.hero-glow { position: absolute; left: 10%; right: 10%; top: 80px; height: 420px; background: radial-gradient(closest-side, rgba(52,211,153,.22), rgba(52,211,153,0)); pointer-events: none; }
.hero-push { position: absolute; right: 18px; bottom: 102px; width: 300px; background: #121829; border: 1px solid var(--line2); border-radius: 20px;
  padding: 14px 16px; display: flex; gap: 12px; box-shadow: 0 24px 50px rgba(0,0,0,.5); font-size: 13px; line-height: 1.4; text-align: left; }
.hero-push .t { display: flex; justify-content: space-between; color: var(--muted2); font-size: 12px; }
.hero-push b { display: block; font-size: 14px; }
.hero-push div > span:last-child { color: #d7dce6; }
@media (max-width: 760px) { .hero-push { display: none; } }

.theme-switch { display: inline-flex; gap: 4px; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.theme-switch button { min-height: 40px; padding: 0 16px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.theme-switch button[aria-pressed="true"] { background: #fff; color: #0d1424; font-weight: 800; }
.center { display: flex; justify-content: center; margin-bottom: 16px; }

/* общие блоки */
.grid { display: grid; gap: 14px; }
.g230 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.g250 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.g300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.stat b { display: block; font-size: 30px; font-weight: 800; }
.stat b.acc { color: var(--acc); }
.stat span { font-size: 15px; color: var(--muted); }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.h2 { margin: 8px 0 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.h2s { margin: 0; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.lead { margin: 10px 0 0; font-size: 17px; color: var(--muted); }
.head-block { max-width: 760px; margin-bottom: 28px; }
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.split > .txt { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.split > .txt .h2 { margin: 0; }
.split > .txt .lead { margin: 0; }
.split > .pic { flex: 1.6 1 600px; min-width: 0; }

.pain { display: flex; gap: 14px; }
.ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--acc-bg); display: flex; align-items: center; justify-content: center; }
.pain b { display: block; font-size: 18px; font-weight: 800; }
.pain p { font-size: 15px; color: var(--muted); margin: 4px 0 0; }

/* вкладки разделов */
.feat-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; width: fit-content; max-width: 100%; }
.tabs button { min-height: 44px; padding: 0 16px; border-radius: 12px; border: 0; background: transparent; color: var(--muted); font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--acc); color: #0d1424; font-weight: 800; }
.tab-info { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-start; }
.tab-info > div { flex: 1 1 520px; min-width: 0; }
.tab-info h3 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.tab-info p { font-size: 16px; color: var(--muted); margin: 6px 0 0; }
.checks { flex: 1 1 420px; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 20px; }
.checks li, .plan li { display: flex; gap: 8px; font-size: 14px; color: #d7dce6; }
.checks svg, .plan svg { flex: none; margin-top: 2px; }
.tab-shot { margin-top: 22px; }

/* телефон */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.phones { flex: 2 1 600px; min-width: 0; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: flex-start; }
.phone { width: 228px; flex: none; border-radius: 40px; background: #0a0f1c; border: 1px solid var(--line2); padding: 11px; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.phone > div { border-radius: 30px; overflow: hidden; }
.phone img { display: block; width: 100%; height: auto; }
.lock { background: linear-gradient(160deg, #24304f, #121829); height: 446px; padding: 40px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.lock .time { text-align: center; font-size: 46px; font-weight: 300; letter-spacing: -.02em; line-height: 1; }
.lock .date { text-align: center; color: var(--soft); font-size: 12px; margin-bottom: 8px; }
.lock .n { background: rgba(255,255,255,.12); border-radius: 16px; padding: 9px 10px; display: flex; gap: 8px; font-size: 11px; line-height: 1.3; }
.lock .n .t { display: flex; justify-content: space-between; color: var(--soft); font-size: 11px; }
.lock .n b { display: block; }
.lock .n span:last-child { color: #e5e9f0; }

/* сравнение */
.cmp { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
.cmp table { min-width: 760px; width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 22px; text-align: left; border-bottom: 1px solid #222b44; vertical-align: top; }
.cmp thead th { font-size: 13px; color: var(--muted2); font-weight: 700; padding-top: 18px; padding-bottom: 18px; border-bottom-color: var(--line); }
.cmp thead th.us { color: var(--acc); font-size: 14px; font-weight: 800; background: #18303a; }
.cmp tbody th { font-weight: 700; }
.cmp tbody td { color: var(--muted2); }
.cmp tbody td.us { font-weight: 700; color: var(--acc2); background: #16282f; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }

.aud small { font-size: 13px; font-weight: 700; color: var(--acc); }
.aud b { display: block; font-size: 20px; font-weight: 800; margin-top: 6px; }
.aud p { margin: 8px 0 0; font-size: 15px; color: var(--muted); }

.duo { display: flex; flex-wrap: wrap; gap: 16px; }
.duo > .card { flex: 1 1 460px; min-width: 0; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.duo .g200 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.duo .g200 b { display: block; }
.duo .g200 span, .steps span { font-size: 14px; color: var(--muted); }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; gap: 14px; }
.steps li > i { flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--acc-bg); color: var(--acc); font-weight: 800; font-style: normal; display: flex; align-items: center; justify-content: center; }
.steps b { display: block; }

/* тарифы */
.plans { align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.plan.featured { background: #172a30; border: 2px solid var(--acc); padding: 23px; box-shadow: 0 20px 50px rgba(52,211,153,.15); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.plan-top b { font-size: 20px; font-weight: 800; }
.badge { padding: 4px 10px; border-radius: 999px; background: var(--acc-bg); color: var(--acc2); font-size: 12px; font-weight: 700; }
.plan .turn { font-size: 14px; color: var(--muted2); font-weight: 600; min-height: 42px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; min-height: 52px; }
.plan .price b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.plan .price b.small { font-size: 28px; letter-spacing: -.02em; line-height: 1.3; }
.plan .price span { font-size: 15px; color: var(--muted2); }
.plan ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.plan .btn-o, .plan .btn-a { margin-top: 12px; min-height: 48px; border-radius: 14px; }
.note { margin: 18px 0 0; font-size: 14px; color: var(--muted2); }

/* вопросы */
.faq { max-width: 900px; margin: 0 auto; padding: 24px 24px 72px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font-size: 18px; font-weight: 700; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 600; background: #222b44; }
.faq details[open] summary::after { content: "−"; background: var(--acc); color: #0d1424; }
.faq .ans { padding: 0 24px 22px; font-size: 16px; color: var(--soft); display: flex; flex-direction: column; gap: 10px; }
.faq .ans p { margin: 0; }
.faq .ans ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.faq-more { margin-top: 14px; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--btn-line); background: transparent; font-family: inherit; font-size: 15px; font-weight: 700; color: #fff; cursor: pointer; }

.band { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.band b { display: block; font-size: 22px; font-weight: 800; }
.band span { font-size: 15px; color: var(--muted); }
.cta { background: linear-gradient(135deg, #0b7d5b, #0f5a49); border-radius: 28px; padding: 56px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.cta h2 { margin: 0; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; max-width: 780px; }
.cta p { margin: 0; color: #d6f5e8; font-size: 17px; }

/* подвал */
.lp-foot { border-top: 1px solid #1f2840; }
.lp-foot .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.lp-foot .col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.lp-foot .col:first-child { flex: 1 1 300px; }
.lp-foot .brand { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.lp-foot .brand span { color: var(--acc); }
.lp-foot .muted { color: var(--muted2); }
.lp-foot .small { font-size: 13px; }

/* документы */
.doc { max-width: 860px; margin: 0 auto; padding: 48px 24px 72px; }
.doc h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin: 0 0 20px; }
.doc h2, .doc h3, .doc h4 { font-weight: 800; margin: 28px 0 10px; }
.doc h4 { font-size: 19px; }
.doc p, .doc li { color: #d7dce6; font-size: 16px; }
.doc .legal-item { margin: 0 0 10px; }
.doc .legal-num { font-weight: 800; color: #fff; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 16px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; color: #d7dce6; }
.doc th { background: var(--card); color: #fff; }
.doc .table-responsive { overflow-x: auto; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.doc-nav a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--soft); font-size: 14px; }
.doc-nav a[aria-current="page"] { background: var(--acc); border-color: var(--acc); color: #0d1424; font-weight: 700; }

/* cookies — та же плашка, что в кабинете */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50; max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #121829; color: #e5e9f0; border: 1px solid var(--line2); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.45); font-size: 14px; line-height: 1.45; }
.cookie-bar__text { margin: 0; flex: 1 1 auto; }
.cookie-bar__btn { flex: none; min-height: 44px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--acc); color: #0d1424; font-weight: 800; font-family: inherit; cursor: pointer; }
@media (max-width: 575.98px) { .cookie-bar { flex-direction: column; align-items: stretch; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
