/* Lovko Pay — сайт. Токены из дизайн-системы Lovko Pay (светлая тема).
   Адаптив — через container queries на .lp, чтобы мобильные артборды
   показывали ту же страницу в рамке 390 px. */

.lp {
  --surface: #F6F5FB; --surface-raised: #FFFFFF; --line: #E3E0F0; --line-strong: #8A84A8;
  --ink: #17123A; --ink-muted: #5D5878;
  --violet-brand: #5131F2; --violet-deep: #351CC0; --violet: #5131F2; --violet-pressed: #3F22D6;
  --on-violet: #FFFFFF; --on-brand-muted: #D9D2FF; --violet-text: #4A2AE0; --violet-soft: #ECE8FF;
  --lime: #C6F173; --lime-pressed: #B3E25A; --on-lime: #17123A;
  --success: #137A48; --success-soft: #DDF5E6; --warning: #8A5A00; --warning-soft: #FBEFD5;
  --danger: #B42318; --danger-soft: #FDE7E4;
  --shadow-card: 0 2px 4px #351cc014, 0 12px 28px -8px #351cc04d; --shadow-sm: 0 1px 2px #17123a14;
  --focus-ring: 0 0 0 2px #F6F5FB, 0 0 0 4px #5131F2;
  --font-display: "Geologica", "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  container-type: inline-size; container-name: lp;
  background: var(--surface); color: var(--ink); font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 24px;
}
.lp * { box-sizing: border-box; }
.lp p, .lp h1, .lp h2, .lp h3, .lp ul, .lp ol, .lp dl, .lp dd { margin: 0; }
.lp ul, .lp ol { padding: 0; list-style: none; }
.lp :focus-visible { outline: none; box-shadow: var(--focus-ring); }
.lp .dark :focus-visible { box-shadow: 0 0 0 2px var(--violet-deep), 0 0 0 4px var(--lime); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.sec { padding: 96px 0; }
.sec-h { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 48px; }
.eyebrow { font: 600 13px/18px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--violet-text); }
.h1 { font: 700 64px/68px var(--font-display); letter-spacing: -0.03em; }
.h2 { font: 700 44px/50px var(--font-display); letter-spacing: -0.02em; }
.h3 { font: 600 22px/28px var(--font-display); letter-spacing: -0.01em; }
.lead { font: 400 20px/30px var(--font-sans); color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
.vt { color: var(--violet-text); }
.num { font-variant-numeric: tabular-nums; }
.row { display: flex; align-items: center; }
.col { display: flex; flex-direction: column; }
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic.s20 { width: 20px; height: 20px; }
.ic.s16 { width: 16px; height: 16px; stroke-width: 2; }

/* ---------- Кнопки ---------- */
.btn { height: 52px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent; font: 600 16px/20px var(--font-sans);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-p { background: var(--violet); color: var(--on-violet); }
.btn-p:hover { background: var(--violet-pressed); color: var(--on-violet); }
.btn-l { background: var(--lime); color: var(--on-lime); }
.btn-l:hover { background: var(--lime-pressed); color: var(--on-lime); }
.btn-s { background: var(--surface-raised); color: var(--ink); border-color: var(--line-strong); }
.btn-s:hover { background: var(--surface); color: var(--ink); }
.btn-o { background: transparent; color: var(--on-violet); border-color: rgba(255,255,255,.6); }
.btn-o:hover { background: rgba(255,255,255,.08); color: var(--on-violet); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.lnk { color: var(--violet-text); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.lnk:hover { text-decoration: underline; }

/* ---------- Шапка ---------- */
.hdr { position: relative; background: var(--surface-raised); border-bottom: 1px solid var(--line); z-index: 5; }
.hdr-in { height: 76px; display: flex; align-items: center; gap: 32px; }
.hdr-logo { display: flex; flex: none; }
.hdr-logo img { height: 36px; width: auto; display: block; }
.hdr-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.hdr-nav a { height: 44px; padding: 0 14px; border-radius: 10px; display: inline-flex; align-items: center;
  color: var(--ink); text-decoration: none; font: 500 15px/20px var(--font-sans); }
.hdr-nav a:hover { background: var(--surface); color: var(--ink); }
.hdr-nav a.on { color: var(--violet-text); background: var(--violet-soft); font-weight: 600; }
.hdr-cta { margin-left: auto; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-raised);
  color: var(--ink); place-items: center; cursor: pointer; margin-left: auto; }
.mnav { border-top: 1px solid var(--line); padding: 8px 16px 16px; display: flex; flex-direction: column; background: var(--surface-raised); }
.mnav a { height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 500 17px/24px var(--font-sans); }
.mnav .btn { margin-top: 16px; }

/* ---------- Первый экран ---------- */
.hero { background: var(--violet-deep); color: var(--on-violet); overflow: hidden; position: relative; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding: 88px 32px 104px; }
.hero .eyebrow { color: var(--lime); }
.hero .lead { color: var(--on-brand-muted); max-width: 540px; }
.hero-txt { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 16px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); width: 100%; }
.hero-facts div { display: flex; flex-direction: column; gap: 2px; }
.hero-facts b { font: 600 22px/28px var(--font-display); font-variant-numeric: tabular-nums; }
.hero-facts span { font: 400 14px/20px var(--font-sans); color: var(--on-brand-muted); }
.hl { color: var(--lime); }

.stage { position: relative; height: 440px; }
.vc-under { position: absolute; left: 14%; top: 8%; width: 74%; aspect-ratio: 1.586; border-radius: 24px; background: var(--lime);
  transform: rotate(-9deg); overflow: hidden; }
.vc-under i { position: absolute; left: 0; right: 0; top: 18%; height: 16%; background: var(--on-lime); opacity: .9; }
.vc { position: absolute; left: 8%; top: 22%; width: 78%; aspect-ratio: 1.586; border-radius: 24px; background: var(--violet-brand);
  box-shadow: 0 24px 48px -12px rgba(10, 4, 60, .55); overflow: hidden; color: var(--on-violet); }
.vc-back { position: absolute; left: 70%; top: 56%; width: 50%; height: 60%; border-radius: 18px; background: var(--violet-deep); overflow: hidden; }
.vc-back i { position: absolute; left: 0; right: 0; top: 18%; height: 18%; background: var(--lime); }
.vc-in { position: absolute; inset: 0; padding: 26px 28px; display: flex; flex-direction: column; justify-content: space-between; }
.vc-top { display: flex; align-items: center; justify-content: space-between; }
.vc-top img { width: 44px; height: 44px; border-radius: 11px; display: block; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.vc-top span { font: 500 14px/20px var(--font-sans); color: var(--on-brand-muted); }
.vc-bal { font: 600 40px/44px var(--font-display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.vc-meta { display: flex; gap: 24px; font: 500 15px/20px var(--font-sans); color: var(--on-brand-muted); font-variant-numeric: tabular-nums; }
.vc-meta b { color: var(--on-violet); font: 600 18px/22px var(--font-display); letter-spacing: .08em; }

.pop { position: absolute; background: var(--surface-raised); color: var(--ink); border-radius: 16px; padding: 12px 16px 12px 12px;
  display: flex; align-items: center; gap: 12px; box-shadow: 0 16px 32px -12px rgba(10, 4, 60, .45); white-space: nowrap; }
.pop .sv { width: 40px; height: 40px; border-radius: 10px; background: var(--violet-soft); color: var(--violet-text); display: grid; place-items: center;
  font: 700 16px/1 var(--font-display); flex: none; }
.pop b { font: 600 15px/20px var(--font-sans); display: block; }
.pop small { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); display: block; }
.pop .amt { font: 600 17px/22px var(--font-display); font-variant-numeric: tabular-nums; margin-left: 8px; }
.pop-1 { right: 0; top: 4%; }
.pop-2 { left: 0; bottom: 2%; }

/* ---------- Бейджи ---------- */
.bd { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 8px; white-space: nowrap;
  font: 500 12px/18px var(--font-sans); background: var(--violet-soft); color: var(--violet-text); }
.bd-ok { background: var(--success-soft); color: var(--success); }
.bd-wait { background: var(--warning-soft); color: var(--warning); }
.bd-bad { background: var(--danger-soft); color: var(--danger); }
.bd-new { background: var(--lime); color: var(--on-lime); }

/* ---------- Полоса сервисов ---------- */
.strip { background: var(--surface-raised); border-bottom: 1px solid var(--line); }
.strip-in { padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.strip-in > span { font: 500 15px/20px var(--font-sans); color: var(--ink-muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { height: 40px; padding: 0 16px; border-radius: 9999px; background: var(--surface); border: 1px solid var(--line);
  display: inline-flex; align-items: center; font: 500 15px/20px var(--font-sans); color: var(--ink); }
.tag.hi { background: var(--violet-soft); border-color: var(--violet-soft); color: var(--violet-text); }
.tag.lm { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }

/* Бегущая строка: две ленты навстречу друг другу, пауза при наведении */
.marq { display: flex; flex-direction: column; gap: 10px; padding: 0 0 28px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marq-row { display: flex; overflow: hidden; }
.marq-track { display: flex; width: max-content; flex: none; animation: lp-marq 140s linear infinite; }
.marq-track .tag { margin-right: 8px; white-space: nowrap; flex: none; }
.marq-row.rev .marq-track { animation-direction: reverse; animation-duration: 85s; }
.marq:hover .marq-track { animation-play-state: paused; }
@keyframes lp-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marq-track { animation: none; }
  .marq-row { overflow-x: auto; }
}

/* ---------- Карточки и сетки ---------- */
.card { background: var(--surface-raised); border-radius: 20px; box-shadow: var(--shadow-sm); }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.step { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.step-n { width: 44px; height: 44px; border-radius: 12px; background: var(--violet); color: var(--on-violet); display: grid; place-items: center;
  font: 700 20px/1 var(--font-display); }
.step:nth-child(4) .step-n { background: var(--lime); color: var(--on-lime); }
.step p { color: var(--ink-muted); }

.where { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.where-h { display: flex; align-items: center; gap: 12px; }
.where-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.where-ic.ok { background: var(--success-soft); color: var(--success); }
.where-ic.no { background: var(--danger-soft); color: var(--danger); }
.where li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.where li:first-child { border-top: 0; padding-top: 0; }
.where li .ic { margin-top: 0; }
.where li.ok .ic { color: var(--success); }
.where li.no .ic { color: var(--danger); }
.where li b { font-weight: 600; display: block; }
.where li span { color: var(--ink-muted); font-size: 15px; line-height: 22px; }

.tip { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: 14px; background: var(--violet-soft); color: var(--ink); }
.tip > .ic { color: var(--violet-text); }
.tip.warn { background: var(--warning-soft); } .tip.warn > .ic { color: var(--warning); }
.tip.err { background: var(--danger-soft); } .tip.err > .ic { color: var(--danger); }

/* ---------- Цены ---------- */
.price { padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.price .big { font: 700 40px/44px var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price .big small { font: 500 18px/24px var(--font-sans); color: var(--ink-muted); letter-spacing: 0; }
.price p { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.price.feat { background: var(--violet-brand); color: var(--on-violet); box-shadow: var(--shadow-card); }
.price.feat p, .price.feat .big small { color: var(--on-brand-muted); }

.calc { padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.calc-l { display: flex; flex-direction: column; gap: 16px; }
.calc-r { background: var(--surface); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld label, .fld .lb { font: 500 15px/20px var(--font-sans); }
.fld .hint { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.inp-big { position: relative; }
.inp-big input { width: 100%; height: 64px; border: 1px solid var(--line-strong); border-radius: 14px; padding: 0 56px 0 20px; background: var(--surface-raised);
  font: 600 28px/32px var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; outline: 0; }
.inp-big span { position: absolute; right: 20px; top: 18px; font: 600 22px/28px var(--font-display); color: var(--ink-muted); pointer-events: none; }
.inp-big.bad input { border-color: var(--danger); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 44px; min-width: 64px; padding: 0 16px; border-radius: 9999px; border: 1px solid var(--line); background: var(--surface-raised);
  font: 500 15px/20px var(--font-sans); color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--line-strong); }
.chip.on { background: var(--violet); border-color: var(--violet); color: var(--on-violet); }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--line); gap: 4px; flex-wrap: wrap; }
.seg button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; font: 500 15px/20px var(--font-sans); color: var(--ink); cursor: pointer; }
.seg button.on { background: var(--surface-raised); box-shadow: var(--shadow-sm); font-weight: 600; }
.ln { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.ln span:first-child { color: var(--ink-muted); }
.ln.tot { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; }
.ln.tot span:last-child { font: 700 28px/32px var(--font-display); letter-spacing: -0.01em; }
.ln.tot span:first-child { color: var(--ink); align-self: center; }

/* ---------- Доверие ---------- */
.trust { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.trust-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--violet-soft); color: var(--violet-text); display: grid; place-items: center; }
.trust p { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.honest { padding: 32px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; background: var(--surface-raised); border-radius: 20px;
  box-shadow: inset 0 0 0 1px var(--line); }
.honest ol { display: flex; flex-direction: column; gap: 16px; counter-reset: h; }
.honest li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; }
.honest li::before { counter-increment: h; content: counter(h); width: 32px; height: 32px; border-radius: 9999px; background: var(--lime); color: var(--on-lime);
  display: grid; place-items: center; font: 700 15px/1 var(--font-display); }
.honest li b { display: block; font-weight: 600; }
.honest li span { color: var(--ink-muted); font-size: 15px; line-height: 22px; }

/* ---------- Вопросы ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.faq-i { background: var(--surface-raised); border-radius: 16px; box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; min-height: 68px; padding: 18px 24px; border: 0; background: transparent; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font: 600 18px/24px var(--font-sans); color: var(--ink); text-align: left; cursor: pointer; border-radius: 16px; }
.faq-q .ic { color: var(--violet-text); transition: transform .15s; }
.faq-i.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; color: var(--ink-muted); max-width: 900px; }

/* ---------- Финальный призыв ---------- */
.cta { background: var(--violet-brand); color: var(--on-violet); border-radius: 28px; padding: 56px; display: grid;
  grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta p { color: var(--on-brand-muted); margin-top: 12px; font-size: 18px; line-height: 28px; }
.cta-deco { position: absolute; right: -60px; bottom: -90px; width: 300px; aspect-ratio: 1.586; border-radius: 24px; background: var(--violet-deep);
  transform: rotate(-12deg); overflow: hidden; }
.cta-deco i { position: absolute; left: 0; right: 0; top: 20%; height: 18%; background: var(--lime); }
.cta-in { position: relative; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-tg { font: 500 14px/20px var(--font-sans); color: var(--on-brand-muted); }

/* ---------- Подвал ---------- */
.ftr { background: var(--surface-raised); border-top: 1px solid var(--line); }
.ftr-in { padding: 48px 32px 40px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.ftr-in img { height: 32px; width: auto; display: block; }
.ftr h3 { font: 600 14px/20px var(--font-sans); color: var(--ink); margin-bottom: 12px; }
.ftr ul { display: flex; flex-direction: column; gap: 8px; }
.ftr a { color: var(--ink-muted); text-decoration: none; font-size: 15px; }
.ftr a:hover { color: var(--violet-text); }
.ftr-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.ph { display: inline-block; padding: 0 6px; border-radius: 6px; border: 1px dashed var(--line-strong); color: var(--ink-muted); font-size: .92em; }

/* ---------- Таблицы (тарифы) ---------- */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font: 500 13px/18px var(--font-sans); color: var(--ink-muted); padding: 14px 24px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 18px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 600; width: 34%; }
.tbl td.r, .tbl th.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .sub { display: block; font-weight: 400; color: var(--ink-muted); font-size: 14px; line-height: 20px; margin-top: 2px; }
.tbl .val { font: 600 17px/24px var(--font-display); font-variant-numeric: tabular-nums; }
.tbl tr.hl-row td { background: var(--violet-soft); }

.page-h { padding: 64px 0 40px; display: flex; flex-direction: column; gap: 16px; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-muted); }
.crumbs a { color: var(--violet-text); text-decoration: none; }

/* =========================================================
   Адаптив: планшет
   ========================================================= */
@container lp (max-width: 1100px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 64px 32px 72px; }
  .stage { height: 420px; max-width: 560px; width: 100%; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .honest { grid-template-columns: minmax(0, 1fr); }
  .ftr-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr-in > div:first-child { grid-column: 1 / -1; }
}
@container lp (max-width: 900px) {
  .hdr-nav, .hdr-cta { display: none; }
  .burger { display: grid; }
  .g3 { grid-template-columns: minmax(0, 1fr); }
  .g2 { grid-template-columns: minmax(0, 1fr); }
  .h1 { font-size: 48px; line-height: 52px; }
  .h2 { font-size: 36px; line-height: 42px; }
  .cta { grid-template-columns: minmax(0, 1fr); padding: 40px; }
}

/* =========================================================
   Адаптив: телефон
   ========================================================= */
@container lp (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 56px 0; }
  .sec-h { margin-bottom: 28px; }
  .hdr-in { height: 64px; }
  .hdr-logo img { height: 30px; }
  .hero-in { padding: 40px 16px 48px; gap: 24px; }
  .h1 { font-size: 38px; line-height: 42px; }
  .h2 { font-size: 30px; line-height: 36px; }
  .lead { font-size: 17px; line-height: 26px; }
  .hero-btns { width: 100%; }
  .hero-btns .btn { width: 100%; }
  .hero-facts { gap: 16px 24px; }
  .hero-facts b { font-size: 19px; line-height: 24px; }
  .stage { height: 300px; }
  .vc { left: 2%; width: 92%; top: 24%; }
  .vc-under { left: 6%; width: 86%; }
  .vc-in { padding: 18px 20px; }
  .vc-top img { width: 36px; height: 36px; border-radius: 9px; }
  .vc-bal { font-size: 30px; line-height: 34px; }
  .vc-meta { gap: 16px; font-size: 13px; }
  .vc-meta b { font-size: 15px; }
  .pop { padding: 8px 12px 8px 8px; gap: 8px; border-radius: 12px; }
  .pop .sv { width: 32px; height: 32px; font-size: 14px; }
  .pop b { font-size: 13px; line-height: 18px; }
  .pop small { font-size: 12px; line-height: 16px; }
  .pop .amt { font-size: 14px; }
  .pop-1 { top: 0; }
  .pop-2 { bottom: 0; }
  .strip-in { padding: 20px 16px; }
  .g4 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .g3, .g2 { gap: 12px; }
  .step, .trust, .price { padding: 22px; }
  .where, .calc, .honest { padding: 22px; }
  .calc-r { padding: 18px; }
  .faq-q { font-size: 16px; padding: 16px 18px; }
  .faq-a { padding: 0 18px 18px; }
  .cta { padding: 32px 22px; border-radius: 22px; }
  .cta .btn { width: 100%; }
  .cta-in { align-items: stretch; }
  .ftr-in { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 40px 16px 32px; gap: 28px 16px; }
  .page-h { padding: 40px 0 24px; }
  .tbl th, .tbl td { padding: 14px 16px; }
}

/* ---------- Юридические документы (оферта, политика) ---------- */
.doc { max-width: 860px; padding-bottom: 72px; }
.doc h2 { font: 700 26px/32px var(--font-display); letter-spacing: -0.01em; margin: 40px 0 16px; scroll-margin-top: 16px; }
.doc p { margin: 0 0 12px; }
.doc ul { list-style: disc; padding-left: 24px; margin: 0 0 16px; }
.doc li { margin-bottom: 6px; }
.doc .tbl-wrap { overflow-x: auto; margin: 8px 0 20px; background: var(--surface-raised); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.doc .tbl { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.doc .tbl th, .doc .tbl td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.doc .tbl th { font-weight: 600; background: var(--surface); }
.doc .tbl tr:last-child td { border-bottom: 0; }

/* ?embed=1 — документ внутри Mini App: без шапки, футера и заголовка (он в шторке) */
html.embed .hdr, html.embed .ftr, html.embed .page-h { display: none; }
html.embed .doc { padding-bottom: 24px; }
