/* ==============================================================
   01_Лендинг/css/landing.css — стили главной страницы EngageBox.
   Стиль: bento-ui + widget-based-design + glassmorphism (design-it / Webdesign:DirectDesign).
   Палитра 60-30-10: тёмный графит (60%) · белый/слейт текст (30%) · изумруд/индиго CTA (10%).
   ============================================================== */

:root {
  --bg: #0a0b10;
  --bg-soft: #0d0f16;
  --card: #121622;
  --card2: #161b29;
  --border: rgba(255,255,255,.07);
  --border2: rgba(255,255,255,.13);
  --text: #f8fafc;
  --text2: #94a3b8;
  --muted: #5b6474;
  --emerald: #10b981;
  --indigo: #6366f1;
  --grad: linear-gradient(135deg, #10b981 0%, #6366f1 100%);
  --grad-soft: linear-gradient(135deg, rgba(16,185,129,.16) 0%, rgba(99,102,241,.16) 100%);
  --shadow: 0 30px 80px rgba(0,0,0,.45);
  --radius: 20px;
  --radius-sm: 12px;
  --ff-head: 'Space Grotesk', 'Inter', sans-serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 420px at 82% -6%, rgba(99,102,241,.20), transparent 60%),
    radial-gradient(620px 380px at 8% 8%, rgba(16,185,129,.14), transparent 60%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.wrap {
  width: min(1180px, 100% - 40px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 700; letter-spacing: -.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font: 700 12px 'Inter', sans-serif; letter-spacing: .02em; text-transform: uppercase;
  color: var(--emerald);
}
.eyebrow::before { content: '●'; font-size: 8px; color: var(--emerald); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; font: 700 14.5px 'Inter', sans-serif; padding: 0 22px;
  min-height: 50px; white-space: nowrap; transition: all .2s ease; cursor: pointer;
}
.btn-primary {
  background: var(--grad); color: #06120c;
  box-shadow: 0 10px 30px rgba(16,185,129,.28), 0 4px 14px rgba(99,102,241,.18);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,.04); border: 1px solid var(--border2); color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10,11,16,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 9px; font: 800 19px var(--ff-head); flex: 0 0 auto; }
.logo .logo-ic {
  width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: #06120c; flex: 0 0 auto;
}
.logo b { color: var(--text); }
.logo .logo-ic svg { width: 18px; height: 18px; }

.main-nav { display: flex; align-items: center; gap: 26px; margin-left: 10px; flex: 1 1 auto; }
.main-nav a {
  font: 600 13.5px 'Inter', sans-serif; color: var(--text2); transition: color .15s;
}
.main-nav a:hover { color: var(--text); }

.header-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.burger {
  display: none; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border2); align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  content: ''; display: block; width: 16px; height: 2px; background: var(--text); border-radius: 2px;
  position: relative; transition: all .2s;
}
.burger span::before { position: absolute; top: -5px; }
.burger span::after { position: absolute; top: 5px; }

/* ---------- hero ---------- */
.hero { padding: 76px 0 40px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
  border-radius: 999px; background: var(--grad-soft); border: 1px solid rgba(255,255,255,.09);
  font: 700 12.5px 'Inter', sans-serif; color: var(--text); margin-bottom: 22px;
}
.hero-badge .dot {
  width: 20px; height: 20px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center; font-size: 11px; color: #06120c;
}
.hero h1 {
  font-size: clamp(32px, 4.2vw, 50px); line-height: 1.09; letter-spacing: -.02em; margin-bottom: 20px;
}
.hero h1 .hl {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 17px; color: var(--text2); line-height: 1.6; max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-note { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { color: var(--emerald); flex: 0 0 auto; }

.hero-trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust .t-item { display: flex; flex-direction: column; gap: 2px; }
.hero-trust .t-num { font: 800 22px var(--ff-head); }
.hero-trust .t-num.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-trust .t-lbl { font-size: 12px; color: var(--muted); }

/* ---------- интерактивный мокап телефона ---------- */
.phone-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.phone-shell {
  width: min(300px, 78vw); aspect-ratio: 300/610; border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #1a1f2e, #0c0e15);
  border: 1px solid rgba(255,255,255,.10); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.03);
  position: relative;
}
.phone-shell::before {
  content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; border-radius: 14px; background: #05060a; z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden; position: relative;
  background: linear-gradient(160deg, #121622, #0a0c13);
}
.phone-status { display: flex; justify-content: space-between; padding: 16px 20px 0; font: 700 11px 'Inter'; color: rgba(255,255,255,.55); }

.phone-view { position: absolute; inset: 0; padding-top: 46px; opacity: 0; visibility: hidden; transition: opacity .35s ease; }
.phone-view.on { opacity: 1; visibility: visible; }

/* Reels-карусель */
.pv-reels { display: flex; flex-direction: column; padding: 10px 14px 0; height: 100%; }
.pv-reels .reel-card {
  border-radius: 18px; overflow: hidden; position: relative; flex: 1 1 auto; margin-bottom: 10px;
  background: linear-gradient(145deg, rgba(16,185,129,.35), rgba(99,102,241,.35));
}
.pv-reels .reel-card .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.pv-reels .reel-card .play span {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center; color: #0a0b10; font-size: 16px;
}
.pv-reels .reel-foot { position: absolute; left: 12px; right: 12px; bottom: 12px; }
.pv-reels .reel-foot .stars { color: #fbbf24; font-size: 12px; margin-bottom: 4px; }
.pv-reels .reel-foot .nm { font: 700 12px 'Inter'; color: #fff; }
.pv-reels .reel-foot .qt { font-size: 10.5px; color: rgba(255,255,255,.85); }
.pv-reels .reel-dots { display: flex; justify-content: center; gap: 5px; padding-bottom: 14px; }
.pv-reels .reel-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.25); }
.pv-reels .reel-dots i:first-child { background: var(--emerald); width: 16px; border-radius: 4px; }

/* Stories-кружки */
.pv-stories { padding: 10px 16px; }
.pv-stories .row-title { font: 700 12px 'Inter'; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.pv-stories .circles { display: flex; gap: 12px; }
.pv-stories .circ { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pv-stories .circ .ring {
  width: 52px; height: 52px; border-radius: 50%; padding: 2.5px; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
}
.pv-stories .circ .ring .in {
  width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(160deg,#1c2233,#0e1119);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.pv-stories .circ span { font-size: 9.5px; color: rgba(255,255,255,.6); }
.pv-stories .open-card {
  margin-top: 22px; border-radius: 20px; height: 340px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, rgba(99,102,241,.4), rgba(16,185,129,.28));
}
.pv-stories .open-card .bar { position: absolute; top: 10px; left: 10px; right: 10px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; }
.pv-stories .open-card .bar::after { content:''; position:absolute; inset:0; width: 62%; background: #fff; }
.pv-stories .open-card .cap { position: absolute; left: 14px; right: 14px; bottom: 16px; color: #fff; font: 700 12.5px 'Inter'; }

/* Telegram-пост */
.pv-tg { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.pv-tg .tg-head { display: flex; align-items: center; gap: 8px; }
.pv-tg .tg-head .av { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); flex: 0 0 auto; }
.pv-tg .tg-head b { font: 700 12px 'Inter'; }
.pv-tg .tg-head span { font-size: 9.5px; color: rgba(255,255,255,.45); display: block; }
.pv-tg .tg-card { border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.pv-tg .tg-media {
  height: 150px; background: linear-gradient(150deg, rgba(16,185,129,.35), rgba(99,102,241,.3));
  display: flex; align-items: center; justify-content: center; position: relative;
}
.pv-tg .tg-media span {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center; color: #0a0b10; font-size: 14px;
}
.pv-tg .tg-media .rnd { position: absolute; top: 8px; right: 8px; font-size: 9px; color: #fff; background: rgba(0,0,0,.35); padding: 2px 7px; border-radius: 999px; }
.pv-tg .tg-txt { padding: 10px 12px 12px; font-size: 11.5px; color: rgba(255,255,255,.7); line-height: 1.5; }

/* Bubble в углу */
.pv-bubble { padding: 14px; position: relative; height: 100%; }
.pv-bubble .site-mock {
  height: 100%; border-radius: 18px; background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.06); position: relative; overflow: hidden;
}
.pv-bubble .site-mock .ln { height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); margin: 14px 16px; }
.pv-bubble .site-mock .ln.w60 { width: 60%; } .pv-bubble .site-mock .ln.w80 { width: 80%; } .pv-bubble .site-mock .ln.w40 { width: 40%; }
.pv-bubble .bub {
  position: absolute; right: 12px; bottom: 14px; width: 74px; height: 74px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 8px 26px rgba(16,185,129,.4);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  animation: bub-pulse 2.4s ease-in-out infinite;
}
@keyframes bub-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.phone-tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.phone-tabs button {
  padding: 8px 13px; border-radius: 999px; border: 1px solid var(--border2); font: 700 11.5px 'Inter';
  color: var(--text2); background: rgba(255,255,255,.03); transition: all .18s;
}
.phone-tabs button.on { color: #06120c; background: var(--grad); border-color: transparent; }
.phone-tabs button:hover:not(.on) { border-color: rgba(255,255,255,.28); color: var(--text); }

/* ---------- секции общие ---------- */
section { padding: 88px 0; position: relative; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 36px); margin: 14px 0 14px; line-height: 1.16; }
.sec-head p { color: var(--text2); font-size: 15.5px; line-height: 1.6; }
.sec-head .eyebrow { display: inline-flex; margin: 0 auto; }
.sec-head-row { display: flex; justify-content: center; }

/* ---------- боли vs решение ---------- */
.pains-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pain-card {
  border-radius: var(--radius); padding: 32px 30px; border: 1px solid var(--border);
}
.pain-card.old { background: linear-gradient(160deg, rgba(239,68,68,.07), rgba(18,22,34,.4)); }
.pain-card.new { background: linear-gradient(160deg, rgba(16,185,129,.09), rgba(18,22,34,.5)); border-color: rgba(16,185,129,.22); }
.pain-card h3 { font-size: 19px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.pain-card .ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 16px; }
.pain-card.old .ic { background: rgba(239,68,68,.15); color: #f87171; }
.pain-card.new .ic { background: rgba(16,185,129,.16); color: var(--emerald); }
.pain-card ul { display: flex; flex-direction: column; gap: 13px; }
.pain-card li { display: flex; gap: 10px; font-size: 14px; color: var(--text2); line-height: 1.55; }
.pain-card.old li::before { content: '✕'; color: #f87171; font-weight: 800; flex: 0 0 auto; }
.pain-card.new li::before { content: '✓'; color: var(--emerald); font-weight: 800; flex: 0 0 auto; }

/* ---------- bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 168px; gap: 18px; }
.bento-card {
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--border);
  padding: 28px; position: relative; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}
.bento-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.16); }
.bento-card::after {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(320px 200px at 100% 0%, rgba(99,102,241,.16), transparent 70%);
  pointer-events: none;
}
.bento-card:hover::after { opacity: 1; }
.bento-card .b-ic {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft); border: 1px solid rgba(255,255,255,.08); font-size: 21px; margin-bottom: 16px; flex: 0 0 auto;
}
.bento-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.bento-card p { font-size: 13.5px; color: var(--text2); line-height: 1.55; }
.bento-card .b-metric { margin-top: auto; padding-top: 14px; font: 800 26px var(--ff-head); }
.bento-card .b-metric.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bento-card .b-metric-lbl { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.b-1 { grid-column: span 2; grid-row: span 2; }
.b-1 .mini-formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: auto; }
.b-1 .mini-formats .mf { border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--border); padding: 12px 8px; text-align: center; }
.b-1 .mini-formats .mf .e { font-size: 18px; margin-bottom: 6px; }
.b-1 .mini-formats .mf .t { font-size: 10.5px; color: var(--text2); line-height: 1.3; }
.b-2 { grid-column: span 2; }
.b-3 { grid-column: span 1; grid-row: span 2; }
.b-4 { grid-column: span 1; grid-row: span 2; }

/* ---------- интеграции ---------- */
.integrations-row {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.integ-chip {
  display: flex; align-items: center; gap: 9px; padding: 13px 20px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border); font: 700 13.5px 'Inter';
}
.integ-chip .dotm { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: 0 0 auto; }
.integ-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 22px; }
.integ-code {
  max-width: 640px; margin: 34px auto 0; border-radius: var(--radius-sm); overflow: hidden;
  background: #05060a; border: 1px solid var(--border);
}
.integ-code .cd-top {
  display: flex; align-items: center; justify-content: space-between; padding: 10px 16px;
  border-bottom: 1px solid var(--border); font-size: 11.5px; color: var(--muted);
}
.integ-code .cd-top .dots { display: flex; gap: 6px; }
.integ-code .cd-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.integ-code pre { padding: 18px 20px; font: 500 12.5px/1.7 'JetBrains Mono', ui-monospace, monospace; color: #a7f3d0; overflow-x: auto; }
.integ-code pre .tag { color: #93c5fd; }
.integ-code pre .attr { color: #c4b5fd; }
.integ-code pre .str { color: #a7f3d0; }

/* ---------- тарифы ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 820px; margin: 0 auto; }
.price-card {
  border-radius: var(--radius); padding: 34px 30px; background: var(--card); border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.price-card.hl {
  background: linear-gradient(165deg, rgba(16,185,129,.10), rgba(18,22,34,.6));
  border-color: rgba(16,185,129,.3); position: relative;
}
.price-card.hl::before {
  content: 'Выбор большинства'; position: absolute; top: -13px; right: 26px;
  background: var(--grad); color: #06120c; font: 800 11px 'Inter'; padding: 6px 13px; border-radius: 999px;
}
.price-card .p-name { font: 700 15px 'Inter'; color: var(--text2); margin-bottom: 10px; }
.price-card .p-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-card .p-amount b { font: 800 40px var(--ff-head); }
.price-card .p-amount span { font-size: 14px; color: var(--muted); }
.price-card .p-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 24px; }
.price-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1 1 auto; }
.price-card li { display: flex; gap: 10px; font-size: 13.5px; color: var(--text2); }
.price-card li::before { content: '✓'; color: var(--emerald); font-weight: 800; flex: 0 0 auto; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--border); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px 22px; text-align: left; font: 700 14.5px 'Inter'; color: var(--text);
}
.faq-q .plus { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.05); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; transition: transform .25s; font-size: 15px; color: var(--emerald); }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; font-size: 13.5px; color: var(--text2); line-height: 1.6; max-width: 640px; }
.faq-item.open .faq-a { max-height: 260px; }

/* ---------- CTA финал ---------- */
.cta-final {
  border-radius: 28px; padding: 64px 40px; text-align: center; position: relative; overflow: hidden;
  background: var(--grad-soft); border: 1px solid rgba(255,255,255,.09);
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(480px 260px at 50% 0%, rgba(255,255,255,.06), transparent 70%);
}
.cta-final h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; position: relative; }
.cta-final p { color: var(--text2); margin-bottom: 30px; position: relative; }
.cta-final .hero-cta { justify-content: center; position: relative; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0 30px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text2); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12.5px; color: var(--muted); }

/* ---------- юридические страницы (privacy / offer) ---------- */
.legal-hero { padding: 56px 0 8px; }
.legal-hero .eyebrow { margin-bottom: 14px; }
.legal-hero h1 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.15; margin-bottom: 14px; }
.legal-hero .meta { color: var(--muted); font-size: 13px; }
.legal-back { display: inline-flex; align-items: center; gap: 7px; color: var(--text2); font: 700 13px 'Inter'; margin-bottom: 22px; }
.legal-back:hover { color: var(--text); }
.legal-notice {
  display: flex; gap: 12px; align-items: flex-start; border-radius: var(--radius-sm);
  background: rgba(99,102,241,.08); border: 1px solid rgba(99,102,241,.25);
  padding: 16px 18px; margin: 26px 0 40px; font-size: 13.5px; color: var(--text2); line-height: 1.6;
}
.legal-notice .ic { flex: 0 0 auto; font-size: 17px; }
.legal-body { max-width: 760px; padding-bottom: 40px; }
.legal-body h2 {
  font-size: 19px; margin: 40px 0 14px; padding-top: 4px; display: flex; align-items: baseline; gap: 10px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h2 .n { color: var(--emerald); font: 800 15px var(--ff-head); flex: 0 0 auto; }
.legal-body p { color: var(--text2); font-size: 14.5px; line-height: 1.75; margin-bottom: 14px; }
.legal-body ul, .legal-body ol { color: var(--text2); font-size: 14.5px; line-height: 1.75; margin: 0 0 14px 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body strong { color: var(--text); }
.legal-body a.inline-link { color: var(--emerald); text-decoration: underline; text-underline-offset: 2px; }
.legal-fields {
  border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--border);
  padding: 20px 22px; margin: 8px 0 14px; font-size: 13.5px; color: var(--text2); line-height: 2;
}
.legal-fields b { color: var(--text); font-weight: 700; }

/* ---------- адаптив ---------- */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .phone-wrap { order: -1; }
  .pains-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .b-1, .b-2, .b-3, .b-4 { grid-column: span 2; grid-row: span 1; }
  .b-1 .mini-formats { grid-template-columns: repeat(4, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 620px) {
  .wrap { width: min(560px, 100% - 32px); }
  .header-row { gap: 10px; }
  .header-cta { display: none; }
  .hero { padding: 40px 0 24px; }
  section { padding: 60px 0; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { justify-content: space-between; }
  .bento { grid-template-columns: 1fr; }
  .b-1, .b-2, .b-3, .b-4 { grid-column: span 1; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
