/* Сдано: лендинг v3. Golos, синий, карточки, чат WhatsApp, чипы площадок. */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fc;
  --ink: #1d2230;
  --muted: #667085;
  --line: #e4e7ef;
  --blue: #2455ed;
  --blue-dark: #1b44c4;
  --blue-soft: #e9eeff;
  --green: #12a150;
  --danger: #c0392b;
  --wb: #cb11ab;
  --wb2: #481173;
  --oz: #005bff;
  --font: "Golos Text", -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; font-feature-settings: "tnum" 1; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
h1 { font-size: 48px; }
h2 { font-size: 32px; margin-bottom: 28px; }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.muted { color: var(--muted); }
.small { font-size: 15px; }

/* Чипы площадок */
.mps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mp { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 8px; font-weight: 700; font-size: 14px; letter-spacing: .01em; color: #fff; white-space: nowrap; }
.mp.wb { background: linear-gradient(90deg, var(--wb), var(--wb2)); }
.mp.oz { background: var(--oz); }
.mp.fns { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.mps.small { margin: 0; }
.mps.small .mp { height: 24px; padding: 0 9px; font-size: 12px; border-radius: 6px; }
.timeline .mps.small { margin-top: 10px; }

/* Шапка */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 19px; }
.mark { width: 34px; height: 34px; border-radius: 9px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.top .btn { padding: 10px 16px; min-height: 0; font-size: 15px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 500; padding: 15px 24px; border-radius: 10px; border: 0; cursor: pointer; text-decoration: none; min-height: 52px; line-height: 1.1; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
input:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid rgba(36,85,237,.35); outline-offset: 2px; }

/* Первый экран */
.hero { padding: 36px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
h1 span { color: var(--blue); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 22px 0 22px; }
.price-line b { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: #3b4252; }
.checks svg { width: 20px; height: 20px; flex: none; color: var(--blue); margin-top: 3px; }

/* WhatsApp-макет */
.wa-wrap { position: relative; padding-bottom: 30px; }
.wa { background: #e5ddd5; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(29, 34, 48, .45); border: 6px solid #1d2230; }
.wa-head { display: flex; align-items: center; gap: 12px; background: #075e54; color: #fff; padding: 12px 14px; }
.wa-ava { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.wa-head b { display: block; font-size: 15px; font-weight: 600; }
.wa-head span { font-size: 12px; opacity: .85; }
.wa-icons { margin-left: auto; display: flex; gap: 14px; }
.wa-icons i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.8); display: block; }
.wa-body { padding: 14px 12px 8px; display: grid; gap: 8px; }
.wa-date { justify-self: center; background: #fff; color: var(--muted); font-size: 12px; padding: 4px 10px; border-radius: 8px; margin-bottom: 4px; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.wa-msg { position: relative; max-width: 86%; padding: 8px 12px 18px; border-radius: 10px; font-size: 14.5px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-msg.in { background: #fff; justify-self: start; border-top-left-radius: 2px; }
.wa-msg.out { background: #dcf8c6; justify-self: end; border-top-right-radius: 2px; }
.wa-msg time { position: absolute; right: 8px; bottom: 4px; font-size: 11px; color: #667085; }
.wa-msg.out time { color: #4fa3e3; }
.wa-input { display: flex; align-items: center; gap: 10px; padding: 8px 10px 10px; background: #f0f0f0; }
.wa-input span { flex: 1; background: #fff; border-radius: 20px; padding: 9px 14px; color: #8a94a6; font-size: 14px; }
.wa-input i { width: 38px; height: 38px; border-radius: 50%; background: #128c7e; display: block; }
.wa-caption { position: absolute; left: 0; bottom: 0; font-size: 13px; color: var(--muted); }
.stamp { position: absolute; right: -22px; bottom: -4px; transform: rotate(-11deg); border: 3px solid var(--blue); border-radius: 8px; color: var(--blue); padding: 8px 14px 6px; font-weight: 700; font-size: 24px; letter-spacing: .14em; text-transform: uppercase; line-height: 1; background: rgba(255,255,255,.88); box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px var(--blue); }
.stamp small { display: block; font-size: 10px; letter-spacing: .06em; font-weight: 500; margin-top: 5px; text-transform: none; }

/* Боли */
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 18px; display: flex; flex-direction: column; }
.pain-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.pain-num { color: var(--blue); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; }
.pain h3 { margin-bottom: 6px; }
.pain p { color: #3b4252; font-size: 16px; margin-bottom: 14px; }
.does { margin-top: auto; display: flex; gap: 10px; align-items: flex-start; background: #dcf8c6; border-radius: 12px; padding: 10px 12px; }
.does .wa-ava { width: 30px; height: 30px; font-size: 12px; }
.does p { margin: 0; font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.4; }

/* Один бухгалтер, а не отдел */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split > div { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: #fff; }
.split .who { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.split .human { border-color: var(--blue); background: var(--blue-soft); }
.split .human .who { color: var(--blue); font-weight: 600; }
.split .checks { margin: 0; }
.xs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: #3b4252; }
.xs li { padding-left: 28px; position: relative; }
.xs li::before { content: "×"; position: absolute; left: 4px; top: -2px; color: var(--muted); font-size: 20px; line-height: 1; }

/* Таймлайн месяца */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline li { position: relative; padding-top: 22px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--blue); border-radius: 2px; opacity: .25; }
.timeline li::after { content: ""; position: absolute; left: 0; top: -4px; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); }
.timeline b { display: block; font-weight: 600; margin-bottom: 6px; }
.timeline > li > span { color: #3b4252; font-size: 16px; }

/* Тариф */
.plan-box { background: #fff; border: 1.5px solid var(--blue); border-radius: 20px; padding: 32px; }
.plan-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.plan-head h2 { margin-bottom: 12px; font-size: 28px; }
.plan-head .mps { margin-bottom: 12px; }
.plan-head p { margin: 0; }
.plan-price { text-align: right; flex: none; }
.plan-price b { display: block; font-size: 44px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.plan-price span { display: block; color: var(--muted); margin-top: 6px; }
.plan-price small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; padding: 26px 0 20px; }
.plan-grid h3 { margin-bottom: 12px; font-size: 15px; color: var(--muted); font-weight: 500; }
.plan-grid .checks { margin: 0; gap: 9px; }
.plan-grid .checks li { font-size: 15px; }
.plan-grid .checks svg { width: 18px; height: 18px; margin-top: 2px; }
.plan-nots { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 14px; color: #3b4252; padding: 14px 0 22px; }
.plan-nots span:not(.muted)::before { content: "× "; color: var(--muted); }
.plan-foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.plan-guar { display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; color: #3b4252; }
.plan-guar span { display: inline-flex; align-items: center; gap: 8px; }
.plan-guar svg { width: 18px; height: 18px; color: var(--blue); }

/* Кто за этим стоит */
.person { display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.person img { width: 160px; height: 160px; border-radius: 12px; object-fit: cover; }
.person .name { font-weight: 600; font-size: 22px; margin-bottom: 4px; }
.person .role { color: var(--muted); margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { background: var(--blue-soft); color: var(--blue); font-weight: 500; font-size: 14px; padding: 6px 12px; border-radius: 8px; }

/* FAQ */
.narrow-faq { max-width: 760px; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-weight: 400; font-size: 22px; line-height: 1; flex: none; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: #3b4252; }

/* Финальный призыв */
.lead-box { background: var(--blue); color: #fff; border-radius: 20px; padding: 40px 48px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.lead-box h2 { color: #fff; margin-bottom: 8px; }
.lead-box p { color: rgba(255,255,255,.85); margin: 0; }

/* Форма (страница оформления использует те же классы) */
form { display: grid; gap: 12px; }
.field label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--muted); }
input[type=text], input[type=tel] { width: 100%; font: inherit; padding: 14px 16px; border: 1px solid #cfd4e0; border-radius: 10px; background: #fff; color: var(--ink); min-height: 52px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-msg { font-size: 15px; min-height: 1.3em; margin: 0; }
.form-msg.err { color: var(--danger); }
.form-done { display: none; }
.form-done .stamp { position: static; display: inline-block; transform: rotate(-6deg); background: #fff; margin-bottom: 18px; }
.secure { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.secure svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; margin-bottom: 20px; }
  section { padding: 48px 0; }
  .hero { padding: 12px 0 56px; }
  .hero-grid, .split, .lead-box { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { gap: 32px; }
  .pains, .timeline { grid-template-columns: 1fr; }
  .price-line b { font-size: 32px; }
  .top .btn { display: none; }
  .wa-wrap { padding-bottom: 34px; }
  .wa-wrap .stamp { right: 2px; bottom: 6px; top: auto; font-size: 19px; }
  .plan-box { padding: 22px; }
  .plan-head { flex-direction: column; }
  .plan-price { text-align: left; }
  .plan-price b { font-size: 36px; }
  .person { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .person img { width: 112px; height: 112px; }
  .lead-box { padding: 28px 22px; gap: 20px; }
}
@media (max-width: 560px) {
  .plan-grid { grid-template-columns: 1fr; }
}

.cta-right { text-align: right; }
.cta-right .btn { background: #fff; color: var(--blue); }
.cta-right .btn:hover { background: #eef2ff; }

/* Оформление: две колонки, как у платёжных страниц */
body.co { background: #fff; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.co-left { background: var(--bg-soft); }
.co-inner { max-width: 440px; padding: 48px 40px; }
.co-left .co-inner { margin-left: auto; }
.co-right .co-inner { margin-right: auto; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 17px; margin-bottom: 36px; }
.back .mark { width: 28px; height: 28px; border-radius: 7px; font-size: 14px; }
.back svg { color: var(--muted); }
.co-sub { color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.co-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 32px; }
.co-price b { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; }
.co-price span { color: var(--muted); }
.co-item { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.co-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.co-ico svg { width: 20px; height: 20px; }
.co-name { font-weight: 600; margin-bottom: 4px; }
.co-desc { font-size: 14px; color: var(--muted); line-height: 1.45; }
.co-sum { font-weight: 500; }
.co-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--line); }
.co-line.total { color: var(--ink); font-weight: 500; border-bottom: 0; }
.co-line.total b { font-size: 18px; }
.co-trust { list-style: none; padding: 18px 0 0; margin: 8px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; color: #3b4252; }
.co-trust li { display: flex; gap: 10px; align-items: center; }
.co-trust svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.co-next { margin-top: 26px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.co-next b { color: var(--ink); font-weight: 500; }
.co-right h1 { font-size: 26px; margin-bottom: 8px; }
.co-hint { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.steps-ind { list-style: none; padding: 0; margin: 0 0 22px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.steps-ind li { display: inline-flex; align-items: center; gap: 7px; }
.steps-ind i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 600; }
.steps-ind li.on { color: var(--ink); font-weight: 500; }
.steps-ind li.on i { background: var(--blue); border-color: var(--blue); color: #fff; }
.steps-ind li.done i { background: var(--green); border-color: var(--green); color: #fff; font-size: 0; }
.steps-ind li.done i::after { content: "✓"; font-size: 11px; }
.done-ico { width: 56px; height: 56px; border-radius: 50%; background: #e6f6ec; color: var(--green); display: grid; place-items: center; margin-bottom: 18px; }
.done-ico svg { width: 28px; height: 28px; }
.done-text { font-size: 17px; color: #3b4252; margin: 6px 0 12px; }
.co-guar { list-style: none; padding: 14px 16px; margin: 6px 0 12px; background: var(--bg-soft); border-radius: 12px; display: grid; gap: 10px; font-size: 14px; color: #3b4252; }
.co-guar li { display: flex; gap: 10px; align-items: flex-start; }
.co-guar b { color: var(--ink); font-weight: 600; }
.co-guar svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 1px; }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.pay-badges span { border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.co-right form { gap: 16px; }
.co-right .field label { color: var(--ink); font-size: 14px; font-weight: 500; }
.co-right input[type=text], .co-right input[type=tel] { border: 1px solid #cfd4e0; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.co-right input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,85,237,.2); }
.co-right .consent { color: var(--muted); }
.co-right .consent a { color: var(--blue); }
.co-right .consent input { accent-color: var(--blue); }
.co-btn { width: 100%; justify-content: center; font-size: 17px; margin-top: 4px; }
.co-right .form-msg.err { color: var(--danger); }
.co-right .secure { justify-content: flex-start; }
.co-foot { margin-top: 40px; font-size: 13px; }
.co-foot a { color: var(--muted); }
@media (max-width: 900px) {
  .co-grid { grid-template-columns: 1fr; min-height: 0; }
  .co-inner { max-width: none; padding: 24px 20px 32px; }
  .back { margin-bottom: 20px; }
  .co-price { margin-bottom: 20px; }
  .co-price b { font-size: 32px; }
  .co-next { display: none; }
}
.hint { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }

footer { padding: 28px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); }

@media (max-width: 900px) {
  .cta-right { text-align: left; }
  .checkout-page h1 { font-size: 32px; }
  h1 { font-size: 36px; }
  h2 { font-size: 26px; margin-bottom: 20px; }
  section { padding: 52px 0; }
  .hero { padding: 16px 0 56px; }
  .hero-grid, .plan, .split, .lead-box { grid-template-columns: 1fr; }
  .hero-grid { gap: 36px; }
  .steps, .cards { grid-template-columns: 1fr; }
  .lead-box { padding: 28px 22px; gap: 24px; }
  .person { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .person img, .person .ph { width: 112px; height: 112px; }
  .letter { padding: 20px 18px 18px; }
  .top .btn { display: none; }
  .lead { font-size: 18px; }
}
