/* ============================================================
   «Радар рынка» — оформление лендинга и юридических страниц
   Базовая сетка типографики — 17px, минимальный кегль текста — 13px.
   Внешних запросов нет: системные шрифты и Georgia, никаких CDN.
   ============================================================ */

/* ---------- 1. Токены ---------- */
:root {
  --paper: #f7f8f2;
  --paper-2: #eef1e7;
  --card: #ffffff;
  --ink: #12211b;
  --body: #3c493f;
  --muted: #55635b;
  --deep: #0e3b2c;
  --deep-soft: #17503c;
  --accent: #276b4d;
  --lime: #dcefc0;
  --lime-deep: #c4e29a;
  --line: #e0e5da;
  --line-strong: #cdd5c6;
  --danger: #a13b26;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-1: 0 1px 2px rgba(18, 33, 27, .05), 0 8px 24px rgba(18, 33, 27, .05);
  --shadow-2: 0 2px 4px rgba(18, 33, 27, .06), 0 18px 48px rgba(18, 33, 27, .09);
  --wrap: 1140px;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", "Nimbus Roman", serif;
}

/* ---------- 2. Основа ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.85rem); letter-spacing: -.03em; line-height: 1.02; }
h2 { font-size: clamp(1.7rem, 2.7vw, 2.4rem); line-height: 1.08; }
h3 { font-size: clamp(1.15rem, 1.3vw, 1.3rem); font-family: var(--font-ui); font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--deep); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

img, svg { max-width: 100%; }
svg { display: block; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }
li:last-child { margin-bottom: 0; }

strong, b { color: var(--ink); font-weight: 650; }

:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--deep);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-size: 15px;
}
.skip:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.muted { color: var(--muted); }
.small { font-size: 14px; }
.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--deep);
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  font-family: var(--font-ui);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--deep-soft); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-1); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--deep);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--card); color: var(--deep); border-color: var(--accent); }

.btn-small { min-height: 44px; padding: 10px 18px; font-size: 15px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 650;
  color: var(--deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.link-arrow:hover { border-bottom-color: var(--accent); }
.link-arrow .arr { transition: transform .18s ease; }
.link-arrow:hover .arr { transform: translateX(3px); }

/* ---------- 4. Шапка ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 248, 242, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top.static { position: static; backdrop-filter: none; }

.top-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand-thin { font-weight: 400; color: var(--deep); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1.8px solid var(--deep);
  border-radius: 50%;
  color: var(--deep);
  flex: none;
}
.brand-mark svg { width: 23px; height: 23px; }

.main-nav { margin-inline-start: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav li { margin: 0; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.main-nav a:hover { background: var(--paper-2); color: var(--ink); }

.top-actions { display: flex; align-items: center; gap: 10px; }

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--ink);
  font: 600 15px/1 var(--font-ui);
  cursor: pointer;
}
.menu-btn[aria-expanded="true"] { background: var(--paper-2); }

.mobile-nav {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 16px; }
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  color: var(--ink);
  font-size: 17px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-nav li:last-child a { border-bottom: 0; }
.mobile-nav .btn { width: 100%; margin-top: 12px; }

/* ---------- 5. Секции ---------- */
main > section { scroll-margin-top: 88px; }
.section { padding-block: clamp(46px, 5.6vw, 80px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-alt { background: var(--card); border-block: 1px solid var(--line); }

.section-head { max-width: 680px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.section-head p { margin-top: 14px; font-size: 1.06rem; color: var(--muted); }
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lime);
  color: #1d3f2c;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .01em;
  text-transform: none;
}

/* ---------- 6. Герой ---------- */
.hero {
  position: relative;
  padding-block: clamp(36px, 4.4vw, 68px) clamp(40px, 5vw, 72px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(196, 226, 154, .5) 0%, rgba(196, 226, 154, 0) 62%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  color: var(--deep);
  box-shadow: inset 0 -.12em 0 var(--lime-deep);
}
.lead {
  max-width: 46ch;
  font-size: 1.12rem;
  line-height: 1.62;
  color: var(--body);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}
.hero-facts li {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}
.hero-facts svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

/* Карточка «сигналы недели» */
.signal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 18px 18px 14px;
}
.signal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.signal-head h2, .signal-head .card-title { font-family: var(--font-ui); font-size: 16px; font-weight: 650; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.signal-head .period { font-size: 13px; color: var(--muted); white-space: nowrap; }
.signal-sub { margin: 0 0 14px; font-size: 13px; color: var(--muted); }

.signal-list { list-style: none; margin: 0; padding: 0; }
.signal {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.signal:first-child { border-top: 0; padding-top: 4px; }
.signal-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--paper-2);
  color: var(--deep);
}
.signal-icon svg { width: 18px; height: 18px; }
.signal-body { min-width: 0; }
.signal-title {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.35;
}
.signal-num { font-variant-numeric: tabular-nums; }
.signal-num .down { color: var(--danger); }
.signal-meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.signal-meta a { color: var(--accent); text-decoration: underline; }
.signal-tag {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 5px;
  background: var(--lime);
  color: #1d3f2c;
  font-size: 12px;
  font-weight: 650;
}
.signal-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.signal-foot a { font-weight: 650; white-space: nowrap; }

/* ---------- 7. Полоса проблемы ---------- */
.band {
  background: var(--deep);
  color: #e8f0e6;
}
.band-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.35fr);
  gap: clamp(20px, 3vw, 48px);
  padding-block: clamp(30px, 3.6vw, 46px);
  align-items: center;
}
.band h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.15;
}
.band p { color: #c7d8cd; font-size: 15px; margin-top: 10px; }
.band-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.band-points li {
  margin: 0;
  padding-left: 26px;
  position: relative;
  font-size: 15px;
  line-height: 1.5;
  color: #dbe7de;
}
.band-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--lime-deep);
}

/* ---------- 8. Возможности ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  border-radius: 11px;
  background: var(--lime);
  color: var(--deep);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.05rem; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }
.feature .feature-note {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

/* ---------- 9. Пример отчёта ---------- */
.report-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 3.4vw, 48px);
  align-items: start;
}
.report-copy h2 { margin-bottom: 16px; }
.report-copy > p { color: var(--muted); font-size: 1.03rem; }
.report-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.report-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.5;
}
.report-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}
.report-note {
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--lime-deep);
  background: var(--paper-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: var(--muted);
}

.report-sheet {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.sheet-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.sheet-head strong { font-size: 15px; }
.sheet-head span { font-size: 13px; color: var(--muted); }
.sheet-body { padding: 6px 20px 18px; }

.change {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr);
  gap: 4px 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.change:last-child { border-bottom: 0; }
.change-what {
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.4;
}
.change-what small {
  display: block;
  margin-top: 4px;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}
.change-detail { font-size: 14px; color: var(--body); }
.change-detail .from-to {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color: var(--ink);
}
.change-detail .from-to .was { color: var(--muted); font-weight: 400; text-decoration: line-through; }
.change-detail .from-to .now { color: var(--danger); }
.change-src {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
.change-src a { color: var(--accent); }
.sheet-foot {
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 10. Для кого ---------- */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.segment {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.segment-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.segment-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--deep);
  flex: none;
}
.segment-icon svg { width: 22px; height: 22px; }
.segment h3 { margin: 0; font-size: 1.06rem; }
.segment p { font-size: 15px; color: var(--muted); }
.segment .seg-label {
  margin: 14px 0 6px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  text-transform: none;
}
.segment ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--body); }
.example {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  font-size: 14px;
  color: var(--body);
}
.example b { display: block; margin-bottom: 3px; font-size: 12px; letter-spacing: .02em; color: var(--muted); font-weight: 650; }

/* ---------- 11. Как это работает ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  margin: 0;
  padding: 24px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 8px; font-size: 1.02rem; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }
.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 32px;
  color: var(--line-strong);
  font-size: 18px;
  line-height: 1;
}

/* ---------- 12. Ограничения ---------- */
.limits {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(24px, 3vw, 36px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.limits h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.limits > div > p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.limits ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.limits li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin: 0; font-size: 15px; }
.limits li svg { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.limits li b { display: block; color: var(--ink); }

/* ---------- 13. Пилот ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.plan-featured { border-color: var(--accent); box-shadow: var(--shadow-2); }
.plan h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; margin-bottom: 6px; }
.plan-for { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.plan-params {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}
.plan-params div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.plan-params dt { color: var(--muted); }
.plan-params dd { margin: 0; font-weight: 650; color: var(--ink); text-align: right; }
.plan ul { margin: 0; padding-left: 18px; font-size: 14.5px; }
.plan .btn { margin-top: 20px; width: 100%; }
.plan-note {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
}
.pilot-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 20px;
  padding: 18px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--muted);
}
.pilot-foot b { color: var(--ink); }

/* ---------- 14. Вопросы ---------- */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 0;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 650;
  color: var(--ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--deep);
  font-size: 18px;
  font-weight: 400;
  transition: transform .18s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 0 18px; font-size: 15.5px; color: var(--muted); max-width: 72ch; }
.faq-answer p:first-child { margin-top: 0; }

/* ---------- 15. Заявка ---------- */
.request {
  background: var(--deep);
  color: #e8f0e6;
}
.request-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3.6vw, 52px);
  align-items: start;
}
.request-copy h2 { color: #fff; margin-bottom: 14px; }
.request-copy > p { color: #c7d8cd; font-size: 1.02rem; }
.request-points { margin: 24px 0 0; padding: 0; list-style: none; }
.request-points li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin-bottom: 12px; font-size: 15px; color: #dbe7de; }
.request-points svg { width: 20px; height: 20px; color: var(--lime-deep); margin-top: 2px; }
.contacts {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: grid;
  gap: 8px;
  font-size: 15px;
}
.contacts .contact-label { font-size: 13px; color: #a9c2b3; }
.contacts a { color: #fff; font-weight: 650; text-decoration-color: rgba(255, 255, 255, .4); }
.contacts a:hover { color: var(--lime); }

.form-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 30px);
  box-shadow: var(--shadow-2);
  color: var(--body);
}
.form-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; margin-bottom: 6px; }
.form-hint { margin: 0 0 20px; font-size: 14px; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 650; color: var(--ink); }
.field .req { color: var(--danger); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.4;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #5f6b63; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field .hint { font-size: 13px; color: var(--muted); }
.field .err { font-size: 13px; color: var(--danger); font-weight: 600; display: none; }
.field[data-invalid="true"] .err { display: block; }
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: var(--danger); }

.consent-field { margin-top: 16px; }
.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
}
.consent-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.consent-text label { display: inline; font-weight: 400; color: var(--muted); font-size: 14px; }
.consent-text a { color: var(--deep); }
.consent input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--deep);
  flex: none;
}
.consent-field[data-invalid="true"] .consent-text { color: var(--danger); }
.consent-field[data-invalid="true"] .consent-text label { color: var(--danger); }
.consent-field[data-invalid="true"] .err { display: block; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { margin-top: 18px; }
.form-actions .btn { width: 100%; }
.form-status {
  margin: 14px 0 0;
  font-size: 14.5px;
  color: var(--body);
  display: none;
}
.form-status[data-state="error"] { display: block; color: var(--danger); font-weight: 600; }
.form-status[data-state="ok"] { display: block; }

.form-done { display: none; }
.form-done[data-visible="true"] { display: block; }
.form-done h3 { margin-bottom: 10px; }
.form-done p { font-size: 15px; color: var(--muted); }
.form-done .done-contacts { margin-top: 14px; display: grid; gap: 6px; font-size: 15px; }
.form-grid[hidden] { display: none; }

.preview-banner {
  display: none;
  margin: 0;
  padding: 10px 16px;
  background: #fdf3d7;
  border-bottom: 1px solid #e8d9a6;
  color: #5c4a12;
  font-size: 14px;
  text-align: center;
}
.preview-banner[data-visible="true"] { display: block; }

/* ---------- 16. Подвал ---------- */
.foot {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding-block: 40px 32px;
  font-size: 14px;
}
.foot-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 60px);
}
.foot-brand .brand { margin-bottom: 10px; }
.foot-brand p { margin: 0; color: var(--muted); max-width: 32ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-col { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.foot-col h2, .foot-col .foot-head {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .02em;
  color: var(--muted);
  margin: 0 0 6px;
}
.foot-col a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--body);
  text-decoration: none;
  font-size: 14px;
}
.foot-col a:hover { color: var(--deep); text-decoration: underline; }
.foot-col span { color: var(--body); font-size: 14px; }
.foot-legal {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 17. Юридические страницы ---------- */
.legal-main { padding-block: clamp(28px, 4vw, 52px) clamp(40px, 5vw, 72px); }
.legal-sheet {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(24px, 3.4vw, 44px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.legal-sheet h1 { font-size: clamp(1.7rem, 2.6vw, 2.25rem); margin-bottom: 10px; }
.legal-sheet .updated { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.legal-sheet h2 { font-family: var(--font-ui); font-size: 1.18rem; font-weight: 650; letter-spacing: -.01em; margin: 34px 0 12px; }
.legal-sheet h3 { font-family: var(--font-ui); font-size: 1.02rem; font-weight: 650; margin: 22px 0 8px; }
.legal-sheet p { font-size: 15.5px; line-height: 1.7; margin-bottom: 12px; }
.legal-sheet ul, .legal-sheet ol { font-size: 15.5px; margin: 0 0 14px 20px; }
.legal-sheet li { margin-bottom: 6px; }
.legal-sheet table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: 15px; }
.legal-sheet th, .legal-sheet td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.legal-sheet th { background: var(--paper-2); font-weight: 650; }
.legal-sheet .req {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 16px 0;
}
.legal-sheet .req div { font-size: 15px; margin-bottom: 4px; }
.legal-sheet .req div:last-child { margin-bottom: 0; }
.legal-sheet .note {
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  padding: 13px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 18px 0;
  font-size: 15px;
}
.legal-sheet blockquote {
  margin: 16px 0;
  padding: 12px 18px;
  background: var(--paper-2);
  border-left: 3px solid var(--line-strong);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
  font-size: 15px;
}
.back-link { color: var(--body); text-decoration: none; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.back-link:hover { color: var(--deep); text-decoration: underline; }

/* ---------- 18. Адаптив ---------- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:not(:last-child)::after { display: none; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan .btn { width: auto; }
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero::before { inset: -30% -30% auto auto; }
  .band-inner { grid-template-columns: 1fr; }
  .band-points { grid-template-columns: 1fr; gap: 12px; }
  .report-layout { grid-template-columns: 1fr; }
  .limits { grid-template-columns: 1fr; }
  .request-grid { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .top-actions .btn-desktop { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { padding: 20px 18px 22px; }
  .eyebrow { font-size: 12.5px; padding: 5px 11px; }
  .segment-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .change { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero-facts { gap: 8px 16px; font-size: 13.5px; }
  .signal-card { padding: 16px 14px 12px; }
  .sheet-body { padding: 4px 14px 14px; }
  .sheet-head { padding: 14px 14px; }
  .band-points li { font-size: 14.5px; }
  .btn { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .top-actions { margin-left: auto; }
}

@media (max-width: 400px) {
  .foot-cols { grid-template-columns: 1fr; }
  .signal { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
  .signal-icon { width: 28px; height: 28px; border-radius: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
