/* Convero – маркетинговый сайт. Дизайн-токены и компоненты. */

/* Inter не вшит — используется системный fallback из font-family */

:root {
  --blue: #0053E5;
  --cyan: #06b6d4;
  --grad: #0053E5;
  --ink: #0f172a;
  --muted: #64748b;
  --white: #ffffff;
  --bg-soft: #eaf0fa;
  --bg-tint: #f5f8fd;
  --line: #dde5f0;
  --line-cool: #dee7f6;
  --line-input: #dde5ef;
  --success: #10b981;
  --success-bg: #ecfdf5;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --tint-blue: #eaf1ff;
  --chip: #f1f5f9;
  --r-sm: 12px;
  --r-md: 14px;
  --r-lg: 16px;
  --shadow-card: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-panel: 0 12px 32px rgba(15, 23, 42, 0.07);
  --shadow-hero: 0 24px 60px rgba(15, 23, 42, 0.1);
  --shadow-cta: 0 10px 24px rgba(0, 83, 229, 0.24);
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

h1, h2, h3, p, figure, blockquote { margin: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--cyan); }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--soft { background: transparent; }
.section--narrow .wrap { max-width: 820px; }
.section__title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 14px; }
.section__lead { font-size: 17px; color: var(--muted); max-width: 620px; margin-bottom: 40px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header--plain { position: static; background: var(--white); backdrop-filter: none; }
.site-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 28px;
  row-gap: 10px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__word { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; display: inline-flex; align-items: center; }
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 22px;
  row-gap: 6px;
  margin-right: auto;
  min-width: 0;
}
.nav__link { color: var(--muted); font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; line-height: 1; }
.nav__link:hover { color: var(--ink); }
.nav__link--active { color: var(--ink); font-weight: 600; }
.nav__link--blog { color: var(--blue); font-weight: 700; }
.nav__link--blog:hover { color: var(--blue); text-decoration: underline; }
.header__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 26px;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  text-align: center;
}
.btn--primary { background: var(--grad); color: var(--white); box-shadow: var(--shadow-cta); }
.btn--primary:hover { opacity: 0.92; color: var(--white); }
.btn--primary[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn--ghost {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-input);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--sm { font-size: 15px; padding: 11px 18px; border-radius: var(--r-sm); }
.btn--block { display: block; width: 100%; padding: 16px 24px; }
.btn--quiet { color: var(--ink); font-size: 15px; font-weight: 600; padding: 9px 12px; border-radius: var(--r-sm); background: none; }
.btn--quiet:hover { background: var(--chip); color: var(--ink); }
.btn--download {
  display: inline-flex;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  background: var(--tint-blue);
  padding: 10px 16px;
  border-radius: var(--r-sm);
}
.btn--download:hover { background: #e0ebff; color: var(--blue); }

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(180deg, #eef4ff 0%, #f6f9fe 45%, #ffffff 100%);
  min-height: 100vh;
  display: flex;
}
.hero__inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 24px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px 48px;
  align-items: center;
}
.hero__col { grid-column: 1; min-width: 0; }
.hero__media { grid-column: 2; grid-row: 1; display: flex; justify-content: center; align-items: center; }
.hero__anim { width: 100%; max-width: 540px; height: auto; display: block; overflow: visible; }
.cv-ring { fill: none; stroke: #2563EB; stroke-width: 1.4; opacity: 0; transform-origin: 240px 240px; animation: cv-ring 8s ease-out infinite; }
@keyframes cv-ring { 0% { transform: scale(.6); opacity: .5 } 70% { opacity: .08 } 100% { transform: scale(1.02); opacity: 0 } }
.cv-bar { fill: #2563EB; opacity: .45; transform-origin: 240px 136px; animation: cv-bar 1.7s ease-in-out infinite alternate; }
@keyframes cv-bar { 0% { transform: scaleY(.3); opacity: .22 } 100% { transform: scaleY(1); opacity: .7 } }
.cv-sweep { transform-origin: 240px 240px; animation: cv-sweep 8s linear infinite; }
@keyframes cv-sweep { 0% { transform: rotate(0deg) } 100% { transform: rotate(360deg) } }
.cv-dot { fill: #2563EB; animation: cv-dot 8s ease-out infinite; }
@keyframes cv-dot { 0% { transform: scale(.4); opacity: 0 } 8% { transform: scale(1.15); opacity: 1 } 40% { opacity: 1 } 100% { opacity: .35 } }
.cv-ripple { fill: none; stroke: #06B6D4; stroke-width: 2; opacity: 0; animation: cv-ripple 8s ease-out infinite; }
@keyframes cv-ripple { 0% { transform: scale(1); opacity: .75 } 45% { transform: scale(4.2); opacity: 0 } 100% { opacity: 0 } }
.cv-mark { transform-origin: 240px 240px; animation: cv-mark 4s ease-in-out infinite alternate; }
@keyframes cv-mark { 0% { transform: scale(.98) } 100% { transform: scale(1.03) } }
@media (prefers-reduced-motion: reduce) {
  .cv-ring, .cv-bar, .cv-sweep, .cv-dot, .cv-ripple, .cv-mark { animation: none; }
  .cv-ring { opacity: .18; }
  .cv-bar { opacity: .5; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; padding: 32px 24px; }
  .hero__col, .hero__media { grid-column: 1; }
  .hero__media { grid-row: 2; }
  .hero__anim { max-width: 340px; }
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--tint-blue);
  color: var(--blue);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 22px;
}
.badge__dot { width: 14px; height: 14px; border-radius: 999px; background: var(--success); }
.hero__title {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero__lead {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 18px;
}
.hero__lead-label {
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.hero__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
  margin-bottom: 30px;
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.5;
  color: var(--muted);
}
.hero__list li { position: relative; padding-left: 22px; }
.hero__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.hero__facts span[aria-hidden] { color: var(--line-input); }

/* ---------- dashboard mockup ---------- */

.mock {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-hero);
  overflow: hidden;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid #eef2f7;
}
.mock__name { font-size: 14px; font-weight: 700; }
.mock__tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--chip);
  padding: 4px 9px;
  border-radius: 999px;
}
.mock__meta { font-size: 12px; color: var(--muted); margin-left: auto; }
.mock__body { padding: 18px; display: grid; gap: 14px; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: #f8fafc; border-radius: var(--r-sm); padding: 12px; }
.kpi__label { font-size: 11px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.kpi__value { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.kpi__value--success { color: var(--success); }
.mock__chart { background: #f8fafc; border-radius: var(--r-sm); padding: 14px; }
.mock__chart-label { font-size: 11px; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.bars > i {
  flex: 1;
  border-radius: 6px 6px 3px 3px;
  background: #0053E5;
}
.bars > i.is-dim { background: var(--line-input); }
.mock__feed { border: 1px solid #eef2f7; border-radius: var(--r-sm); padding: 14px; display: grid; gap: 10px; }
.mock__row { display: flex; align-items: center; gap: 8px; }
.mock__row-title { font-size: 12px; font-weight: 700; }
.pill { margin-left: auto; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 999px; }
.pill--success { color: var(--success); background: var(--success-bg); }
.pill--info { color: var(--blue); background: var(--tint-blue); }
.mock__text { font-size: 12px; color: var(--muted); line-height: 1.5; }
.mock__divider { height: 1px; background: #eef2f7; }

/* ---------- benefits (in hero) ---------- */

.benefits__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 22px;
  margin-top: 28px;
  grid-column: 1 / -1;
}
.benefit { display: flex; flex-direction: column; gap: 12px; }
.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--line-cool);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.benefit__icon--blue { color: var(--blue); }
.benefit__icon--green { color: var(--success); }
.benefit__icon--violet { color: #7c3aed; }
.benefit__icon--amber { color: #d97706; }
.benefit__text { display: flex; flex-direction: column; gap: 2px; }
.benefit__text b { font-size: 15px; font-weight: 700; color: var(--ink); }
.benefit__text i { font-style: normal; font-size: 14px; color: var(--muted); }

/* ---------- hero stage ---------- */

.hero__col--stage { position: relative; min-height: 560px; overflow: visible; }
.stage { position: relative; height: 100%; min-height: 560px; }
.panel {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-panel);
}
.panel--main { left: 0; top: 20px; width: 82%; padding: 20px 22px 24px; }
.panel__title { font-size: 19px; font-weight: 700; }
.panel__tabs { display: flex; gap: 18px; margin: 16px 0 4px; border-bottom: 1px solid var(--line); }
.panel__tab { font-size: 13px; color: var(--muted); padding-bottom: 9px; }
.panel__tab.is-active { color: var(--blue); font-weight: 600; box-shadow: inset 0 -2px 0 var(--blue); }
.panel__body { display: grid; grid-template-columns: 150px 1fr; gap: 22px; margin-top: 20px; }
.score { display: flex; flex-direction: column; align-items: center; gap: 12px; background: var(--bg-tint); border-radius: var(--r-md); padding: 16px 10px; }
.score__ring { position: relative; display: grid; place-items: center; }
.score__num { position: absolute; text-align: center; font-size: 34px; font-weight: 800; line-height: 1; }
.score__num span { display: block; font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 4px; }
.score__label { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.score__label i { width: 8px; height: 8px; border-radius: 999px; background: var(--success); }
.criteria { display: flex; flex-direction: column; gap: 14px; }
.criteria__row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 13px; color: var(--ink); }
.criteria__row b { font-size: 12px; font-weight: 600; color: var(--muted); }
.criteria__row i { grid-column: 1 / -1; height: 4px; border-radius: 999px; background: var(--line); position: relative; }
.criteria__row i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 999px; background: var(--success); }
.criteria__row i.is-blue::after { background: var(--blue); }
.panel__subtitle { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.panel--moments { right: -6%; top: 60px; width: 54%; padding: 16px 18px; }
.moment { display: flex; gap: 10px; margin-bottom: 12px; }
.moment:last-child { margin-bottom: 0; }
.moment b { font-size: 12px; font-weight: 700; display: block; }
.moment p { font-size: 11px; color: var(--muted); line-height: 1.45; }
.moment__icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: 0 0 24px; border-radius: 8px; font-size: 12px; }
.moment__icon--green { background: var(--success-bg); color: #047857; }
.moment__icon--red { background: var(--danger-bg); color: var(--danger); }
.moment__icon--blue { background: var(--tint-blue); color: var(--blue); }
.panel--tips { padding: 16px 18px; }
.tip { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.tip:last-child { margin-bottom: 0; }
.tip__icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 999px; font-size: 11px; }
.tip__icon--green { background: var(--success-bg); color: #047857; }
.tip__icon--amber { background: #fff5e6; color: #b45309; }
.tip__icon--blue { background: var(--tint-blue); color: var(--blue); }
.panel--player { padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; }
.player__btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 999px; background: var(--blue); color: var(--white); font-size: 13px; }
.player__wave {
  height: 34px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 2px, transparent 2px 5px);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 5px);
  opacity: 0.55;
  border-radius: 2px;
}
.player__times { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }

/* ---------- compare ---------- */

.compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  grid-auto-rows: 1fr;
  column-gap: 24px;
  row-gap: 0;
  align-items: stretch;
}
.compare__col { display: contents; }
.compare__col--after > * { grid-column: 1; }
.compare__col--before > * { grid-column: 2; }
.compare__col > .compare__title { grid-row: 1; }
.compare__col > .compare__item:nth-child(2) { grid-row: 2; }
.compare__col > .compare__item:nth-child(3) { grid-row: 3; }
.compare__col > .compare__item:nth-child(4) { grid-row: 4; }
.compare__col > .compare__item:nth-child(5) { grid-row: 5; }
.compare__col > .compare__item:nth-child(6) { grid-row: 6; }
.compare__title { font-size: 20px; font-weight: 700; align-self: end; margin-bottom: 6px; }
.compare__col--after .compare__title { color: var(--blue); }
.compare__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 12px;
  row-gap: 6px;
  align-content: center;
  align-items: center;
  padding: 18px 20px;
  border-radius: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}
.compare__mark {
  grid-column: 1;
  grid-row: 1;
  line-height: 1;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}
.compare__item b { grid-column: 2; grid-row: 1; color: var(--ink); font-size: 16px; font-weight: 700; }
.compare__item span:not(.compare__mark) { grid-column: 2; grid-row: 2; }
.compare__col--before .compare__item { background: #f8f4f4; }
.compare__col--before .compare__mark { background: #EC5B5B; color: #f3f2f2; }
.compare__col--before .compare__mark::before { content: ""; width: 12px; height: 3px; border-radius: 2px; background: currentColor; }
.compare__col--after .compare__item { background: #DFEDFF; }
.compare__col--after .compare__mark { background: #0053E5; color: #f3f2f2; }
.compare__col--after .compare__mark::before { content: "✓"; }
.compare__col > .compare__item:nth-child(2) { border-radius: var(--r-md) var(--r-md) 0 0; }
.compare__col > .compare__item:last-child { border-radius: 0 0 var(--r-md) var(--r-md); }

/* ---------- cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.card--pain { background: var(--bg-soft); border-color: var(--line-cool); padding: 26px; box-shadow: none; }
.card--step { padding: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.card__title { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card__text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.card__figure {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}
.step__num {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: #0053E5;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
}
.module__kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.module__title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.module__text { font-size: 15px; line-height: 1.6; color: var(--muted); margin-bottom: 18px; }
.module__list { display: grid; gap: 8px; font-size: 14px; color: var(--ink); margin: 0; padding: 0; list-style: none; }
.quote-box { background: var(--bg-tint); border-radius: var(--r-sm); padding: 14px; margin-bottom: 18px; }
.quote-box__label { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.quote-box__text { font-size: 14px; line-height: 1.55; color: var(--ink); }

/* ---------- stats ---------- */

.section--compare { padding-top: 0; }
.stats { background: var(--grad); }
.stats__inner { max-width: var(--wrap); margin: 0 auto; padding: 56px 24px; display: flex; flex-direction: column; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  column-gap: 40px;
  row-gap: 32px;
  align-items: start;
}
.stats__grid > div { display: grid; gap: 8px; justify-items: center; text-align: center; }
@media (max-width: 980px) { .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stats__grid { grid-template-columns: 1fr; } }
.stat__value {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 12px;
  white-space: normal;
  text-wrap: balance;
  margin: 0;
}
.stat__text { font-size: 20px; line-height: 1.45; color: rgba(255, 255, 255, 0.86); margin: 0; max-width: 220px; }
.stats__note { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.68); margin: 32px 0 0; }

/* ---------- pricing ---------- */

.pricing-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.pricing-panel__accent { height: 4px; background: var(--grad); }
.pricing-panel__body {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}
.pricing__main { flex: 1 1 440px; min-width: 260px; }
.pricing__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.pricing__price-small { font-size: 20px; color: var(--muted); font-weight: 500; }
.pricing__price-big { font-size: clamp(36px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; }
.pricing__text { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 540px; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chip { font-size: 14px; font-weight: 600; color: var(--ink); background: var(--chip); padding: 9px 14px; border-radius: 999px; }
.pricing__side { flex: 0 1 300px; min-width: 240px; display: grid; gap: 12px; }
.pricing__note { font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- faq ---------- */

.faq { display: grid; gap: 12px; margin-top: 32px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0; overflow: hidden; box-shadow: var(--shadow-card); }
.faq__q { display: flex; align-items: center; gap: 16px; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; padding: 20px 22px; background: var(--white); color: var(--ink); }
.faq__q::before { content: "+"; order: -1; flex: none; width: 32px; height: 32px; display: grid; place-items: center; font-size: 24px; font-weight: 700; line-height: 1; color: var(--white); background: var(--blue); border-radius: 50%; }
.faq__item[open] .faq__q::before { content: "–"; }
.faq__item[open] .faq__q { border-bottom: 1px solid var(--line); }
.faq__q::-webkit-details-marker { display: none; }
.faq__a { font-size: 15px; font-weight: 400; line-height: 1.65; color: var(--muted); margin: 0; padding: 18px 22px 20px 70px; background: var(--white); }

/* ---------- demo form ---------- */

.demo { background: linear-gradient(180deg, #ffffff, #eaf0fa); border-top: 1px solid var(--line-cool); }
.demo__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
.demo__col { flex: 1 1 380px; min-width: 280px; }
.demo__text { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 480px; margin-bottom: 24px; }
.demo__contacts { display: grid; gap: 10px; font-size: 15px; color: var(--ink); }
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-panel);
  display: grid;
  gap: 14px;
}
.field { display: grid; gap: 6px; }
.field__label { font-size: 14px; font-weight: 600; }
.field__req { color: var(--blue); }
.field__opt { color: var(--muted); font-weight: 500; }
.field input[type="text"],
.field input[type="tel"] {
  background: var(--white);
  font: inherit;
  font-size: 15px;
  padding: 13px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-input);
  outline: none;
  color: var(--ink);
}
.field input:focus { border-color: var(--blue); }
.consent { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; margin-top: 4px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.consent span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.form__status { font-size: 14px; font-weight: 600; padding: 12px 14px; border-radius: var(--r-sm); line-height: 1.5; }
.form__status--ok { background: var(--success-bg); color: #047857; }
.form__status--err { background: var(--danger-bg); color: var(--danger); }
.form__status--err a { color: var(--danger); text-decoration: underline; }
[hidden] { display: none !important; }

/* ---------- try: демо-анализ звонка ---------- */

.try { background: transparent; }
.try__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: start; margin-top: 8px; }
.try__col { min-width: 0; }
.try__text { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 520px; margin-bottom: 24px; }
.try__list { display: grid; gap: 12px; list-style: none; margin: 0 0 24px; padding: 0; }
.try__list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.6; }
.try__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--blue);
}
.try__note { font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 520px; }

/* ---------- analyzer form ---------- */

.analyzer {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-panel);
}
.analyzer__stage { display: grid; gap: 16px; }
.analyzer__row { display: flex; flex-wrap: wrap; gap: 14px; }
.analyzer__row .field { flex: 1 1 190px; min-width: 150px; }
.analyzer__switch { font-size: 14px; color: var(--muted); }
.analyzer__link {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}
.analyzer__link:hover { color: var(--cyan); }
.analyzer__dl { text-align: center; }
.analyzer__area {
  background: var(--white);
  font: inherit;
  font-size: 15px;
  line-height: 1.6;
  width: 100%;
  min-height: 170px;
  resize: vertical;
  padding: 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-input);
  outline: none;
  color: var(--ink);
}
.analyzer__area:focus { border-color: var(--blue); }

.dropzone {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  padding: 30px 20px;
  border: 2px dashed var(--line-cool);
  border-radius: var(--r-md);
  background: var(--bg-tint);
  cursor: pointer;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--blue); background: var(--tint-blue); }
.dropzone.is-filled { border-style: solid; border-color: var(--blue); background: var(--tint-blue); }
.dropzone__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--shadow-card);
  margin-bottom: 4px;
}
.dropzone__state { display: grid; gap: 6px; justify-items: center; }
.dropzone__main { font-size: 16px; font-weight: 600; }
.dropzone__or { font-size: 13px; color: var(--muted); }
.dropzone__pick { font-size: 15px; font-weight: 600; color: var(--blue); text-decoration: underline; }
.dropzone__hint { font-size: 13px; color: var(--muted); }
.dropzone__name { font-size: 16px; font-weight: 600; word-break: break-word; }
.dropzone__size { font-size: 13px; color: var(--muted); }

/* ---------- progress ---------- */

.progress { display: grid; gap: 14px; padding: 6px 0; }
.progress__file { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 14px; }
.progress__name { font-weight: 600; word-break: break-word; }
.progress__size { color: var(--muted); }
.progress__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.progress__track {
  flex: 1 1 180px;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.progress__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--grad);
  transition: width 0.3s ease;
}
.progress__pct { font-size: 14px; font-weight: 700; }
.progress__eta { font-size: 13px; color: var(--muted); }
.progress__foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.progress__msg { font-size: 14px; }
.progress__cancel {
  font: inherit;
  font-size: 14px;
  color: var(--muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}
.progress__cancel:hover { color: var(--danger); }

/* ---------- modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  background: rgba(15, 23, 42, 0.55);
}
.modal__box {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: grid;
  gap: 14px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-hero);
}
.modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
}
.modal__close:hover { color: var(--ink); }
.modal__title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.modal__text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.modal__form { display: grid; gap: 14px; }

/* ---------- blog ---------- */

.page-head { background: linear-gradient(180deg, #eef4ff 0%, #f6f9fe 45%, #ffffff 100%); border-bottom: 1px solid var(--line-cool); }
.page-head__inner { max-width: var(--wrap); margin: 0 auto; padding: 64px 24px 56px; }
.page-head__title {
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.page-head__lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 620px; }
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.post-card {
  display: block;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  color: var(--ink);
}
.post-card:hover { border-color: var(--blue); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09); color: var(--ink); }
.post-card__date { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.post-card__title { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.post-card__excerpt { font-size: 15px; line-height: 1.6; color: var(--muted); }

.cta-strip { background: linear-gradient(180deg, #ffffff, #f5f8fd); border-top: 1px solid var(--line-cool); }
.cta-strip__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.cta-strip__col { flex: 1 1 420px; }
.cta-strip__title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 10px; }
.cta-strip__text { font-size: 17px; color: var(--muted); max-width: 520px; }

/* ---------- article ---------- */

.article-layout {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px 24px 88px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
.toc { flex: 0 1 240px; min-width: 220px; position: sticky; top: 90px; }
.toc__box { border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.toc__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.toc__list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.toc__list a { font-size: 15px; line-height: 1.45; color: var(--ink); font-weight: 500; }
.toc__list a:hover { color: var(--blue); }
.article { flex: 1 1 480px; min-width: 300px; max-width: 720px; }
.article__back { font-size: 14px; font-weight: 600; color: var(--muted); }
.article__back:hover { color: var(--blue); }
.article__meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 22px 0 16px; font-size: 14px; color: var(--muted); }
.article__tag { font-size: 13px; font-weight: 600; color: var(--blue); background: var(--tint-blue); padding: 6px 12px; border-radius: 999px; }
.article__title {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 20px;
}
.article__lead { font-size: 19px; line-height: 1.6; color: var(--muted); margin-bottom: 36px; }
.prose { display: grid; gap: 22px; }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: -0.02em; margin-top: 14px; scroll-margin-top: 90px; }
.prose h3 { font-size: 20px; font-weight: 700; margin-top: 10px; }
.prose p { font-size: 17px; line-height: 1.75; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 12px; }
.prose li { font-size: 17px; line-height: 1.7; }
.prose blockquote {
  padding: 22px 26px;
  background: var(--bg-tint);
  border-radius: var(--r-md);
  border-left: 3px solid var(--blue);
  margin: 8px 0;
}
.prose blockquote p { font-size: 18px; line-height: 1.65; font-weight: 500; }
.article-cta {
  margin-top: 48px;
  background: var(--bg-tint);
  border: 1px solid var(--line-cool);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.article-cta__accent { height: 4px; background: var(--grad); }
.article-cta__body {
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.article-cta__col { flex: 1 1 300px; }
.article-cta__title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.article-cta__text { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- legal ---------- */

.legal { max-width: 780px; margin: 0 auto; padding: 56px 24px 88px; }
.legal__title {
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 14px;
  overflow-wrap: break-word;
  hyphens: auto;
}
.legal__meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 12px; }
.legal__date { font-size: 15px; color: var(--muted); }
.legal__intro {
  background: var(--bg-tint);
  border: 1px solid var(--line-cool);
  border-radius: var(--r-md);
  padding: 20px 22px;
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.legal__body { display: grid; gap: 20px; }
.legal__body h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 12px; }
.legal__body p { font-size: 17px; line-height: 1.75; }
.legal__note {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 40px;
  padding: 18px 20px;
  background: var(--bg-tint);
  border-radius: var(--r-sm);
}

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: var(--white); }
.site-footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.site-footer__brand { flex: 1 1 280px; }
.site-footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.site-footer__logo span { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
.site-footer__slogan { font-size: 15px; color: #94a3b8; }
.site-footer__col { flex: 1 1 200px; display: grid; gap: 10px; align-content: start; }
.site-footer__head {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.site-footer__col a, .site-footer__links a { font-size: 15px; color: #e2e8f0; }
.site-footer__col a:hover, .site-footer__links a:hover { color: var(--cyan); }
.site-footer__bottom { border-top: 1px solid #1e293b; }
.site-footer__bottom-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.site-footer--slim .site-footer__inner {
  padding: 40px 24px;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
.site-footer--slim .logo__word { color: var(--white); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 15px; }
.site-footer__legal { font-size: 13px; color: var(--muted); }

.hero__photo { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-hero); }

@media (max-width: 1000px) {
  .hero__col--stage, .stage { min-height: 0; }
  .stage { display: flex; flex-direction: column; gap: 16px; }
  .panel {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 16px;
  }
  .hero { overflow-x: hidden; }
}

@media (max-width: 720px) {
  .compare { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .compare__col { display: flex; flex-direction: column; gap: 0; }
  .compare__col > * { grid-column: auto; grid-row: auto; }
  .compare__col--before { margin-top: 24px; }
}

/* ---------- features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 36px;
  margin-top: 32px;
}
.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #0053E5;
  color: #f3f2f2;
  margin-bottom: 14px;
}
.feature__icon svg { width: 22px; height: 22px; }
.features--more { margin-top: 28px; }
.more { margin-top: 28px; }
.more__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  background: var(--tint-blue);
  padding: 12px 20px;
  border-radius: var(--r-sm);
  width: fit-content;
}
.more__btn::-webkit-details-marker { display: none; }
.more__btn:hover { background: #e0ebff; }
.more__chev { width: 16px; height: 16px; transition: transform .15s; }
.more[open] .more__chev { transform: rotate(180deg); }
.feature__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.3;
}
.feature__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
}
@media (max-width: 620px) {
  .features { grid-template-columns: 1fr; row-gap: 28px; }
}


/* ---------- start: единая секция с тремя вариантами ---------- */

.start { background: transparent; position: relative; }
.start__anchor { position: absolute; top: -80px; left: 0; width: 1px; height: 1px; }
.start__inner { max-width: var(--wrap); margin: 0 auto; padding: 80px 24px; }
.start__head { max-width: 640px; margin-bottom: 32px; }
.start__lead { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0; }
.start__tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.start__tab {
  flex: 1 1 240px;
  display: grid;
  gap: 4px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.start__tab:hover { border-color: var(--blue); }
.start__tab.is-active { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.start__tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.start__tab-title { font-size: 16px; font-weight: 700; color: var(--ink); }
.start__tab-sub { font-size: 14px; line-height: 1.45; color: var(--muted); }
.start__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: start; }
.start__block { min-width: 0; display: grid; gap: 16px; align-content: start; }
.start__block-title { font-size: 20px; font-weight: 700; margin: 0; }
.start__panel { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.start__col { flex: 1 1 420px; min-width: 280px; }
.start__text { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 520px; margin: 0; }
.start__note { font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 520px; margin: 0; }
.start__contacts { display: grid; gap: 14px; max-width: 420px; margin-top: 4px; }
.start__contact {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-panel);
  text-decoration: none;
  transition: border-color .15s;
}
.start__contact:hover { border-color: var(--blue); }
.start__contact-label { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.start__contact-value { font-size: 20px; font-weight: 700; color: var(--ink); }


/* ---------- roles: кому и зачем ---------- */

.roles { padding-top: 80px; }
.compare-wrap { margin-top: 80px; }
.roles__kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.roles__title { max-width: 720px; margin-bottom: 40px; }
.roles__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; align-items: stretch; }
.roles__card { display: flex; flex-direction: column; gap: 14px; padding: 26px; }
.roles__card .card__title { margin-bottom: 4px; }
.roles__card .card__text { margin: 0; }
.roles__card .card__text b { color: var(--ink); }
.roles__tools { margin: auto 0 0; padding-top: 14px; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--blue); }
.roles__link { margin-top: auto; padding-top: 12px; font-size: 15px; font-weight: 600; color: var(--blue); text-decoration: none; }
.roles__link:hover { text-decoration: underline; }


/* фикс переполнения по горизонтали */
html, body { overflow-x: clip; }
.hero { overflow-x: clip; }


/* ---------- пример разбора звонка ---------- */

.callshow__grid { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: 40px; align-items: start; }
.dialog { display: grid; gap: 10px; }
.dialog__line { display: grid; gap: 3px; padding: 11px 14px; border-radius: var(--r-md); background: var(--bg-soft); }
.dialog__line--agent { background: #DFEDFF; }
.dialog__who { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dialog__line--agent .dialog__who { color: var(--blue); }
.dialog__text { font-size: 14px; line-height: 1.5; color: var(--ink); margin: 0; }
.dialog__note { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 4px 0 0; }

.csview { display: grid; gap: 18px; align-content: start; }
.cspanel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-panel); }
.cspanel--main { padding: 18px 20px 16px; }
.cspanel--soft { padding: 16px 18px; }
.csview__body { display: grid; grid-template-columns: 150px 1fr; gap: 22px; margin-top: 18px; }
.csview__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: start; }
.csplayer { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
  .callshow__grid { grid-template-columns: 1fr; gap: 32px; }
  .csview__body { grid-template-columns: 1fr; }
}

.callshow__subtitle { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.02em; margin: 80px 0 10px; }
.callshow .cards { margin-bottom: 8px; }

/* ---------- таблица и список в юридических текстах ---------- */

.legal__table-wrap { overflow-x: auto; }
.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
  min-width: 520px;
}
.legal__table th, .legal__table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.legal__table th { background: var(--bg-tint); font-weight: 700; }
.legal__list { display: grid; gap: 10px; margin: 0; padding-left: 22px; }
.legal__list li { font-size: 17px; line-height: 1.75; }
.legal__link-btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--blue);
  cursor: pointer;
  text-decoration: underline;
}

/* ---------- баннер согласия на cookie ---------- */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
}
.cookie-banner__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner__text { flex: 1 1 420px; }
.cookie-banner__text p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.cookie-banner__title {
  font-size: 16px !important;
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 6px !important;
}
.cookie-banner__text a { color: var(--blue); text-decoration: underline; }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-banner__link {
  border: 0;
  background: none;
  padding: 0 4px;
  font: inherit;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
}
.cookie-banner__link:hover { color: var(--ink); }

.cookie-banner__settings { align-items: flex-start; flex-direction: column; }
.cookie-banner__cats { display: grid; gap: 14px; width: 100%; }
.cookie-cat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}
.cookie-cat--locked { cursor: default; opacity: 0.75; }
.cookie-cat input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.cookie-cat__body { display: grid; gap: 2px; }
.cookie-cat__title { font-size: 15px; font-weight: 600; color: var(--ink); }
.cookie-cat__hint { font-size: 14px; line-height: 1.5; color: var(--muted); }

@media (max-width: 640px) {
  /* Экран «Настроить» не помещался в высоту, и кнопка «Сохранить выбор»
     уходила ниже границы экрана. Теперь прокручивается только список
     категорий, а кнопки закреплены и видны всегда. */
  .cookie-banner__inner {
    max-height: 85vh;
    padding: 18px 16px;
    gap: 16px;
    flex-direction: column;
    align-items: stretch;
    /* базовое правило разрешает перенос: в колонке это уводило кнопки
       во второй столбец вместо сжатия списка категорий */
    flex-wrap: nowrap;
  }
  .cookie-banner__text { flex: 0 0 auto; }
  .cookie-banner__cats {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
  }
  .cookie-banner__actions { flex: 0 0 auto; width: 100%; }
  .cookie-banner__actions .btn { flex: 1 1 auto; justify-content: center; }
  /* текстовые кнопки «Настроить» и «Назад» были высотой 17px */
  .cookie-banner__link { min-height: 40px; padding: 8px 10px; }
}

/* ---------- исправления мобильной вёрстки ---------- */

/* 1. Блок «Как выглядит разбор звонка».
   Внутри макета отчёта колонки заданы как minmax(240px, 1fr). Вместе с
   отступами панелей это давало жёсткий минимум ширины около 319px: сетка
   переставала сжиматься, и на экранах уже 344px правый край реплик срезался
   (страница при этом не прокручивалась из-за overflow-x: clip у body).
   Снимаем минимум и разрешаем элементам сетки сжиматься. */
@media (max-width: 760px) {
  .callshow__grid > *,
  .csview,
  .cspanel,
  .dialog,
  .dialog__line { min-width: 0; }
  .csview__row { grid-template-columns: 1fr; }
  .csplayer { grid-template-columns: 1fr; }
}

/* 2. Поля ввода.
   Safari на iOS увеличивает страницу при фокусе на поле со шрифтом меньше
   16px и обратно масштаб не возвращает. */
@media (max-width: 820px) {
  /* Селекторы повторяют вес исходных правил (.field input[type=...],
     .analyzer__area), иначе размер не переопределится. */
  .field input[type="text"],
  .field input[type="tel"],
  .field input[type="email"],
  .analyzer__area,
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="search"],
  input[type="number"],
  input[type="password"],
  textarea,
  select { font-size: 16px; }
}

/* 3-4. Меню.
   На телефоне пять пунктов не помещались в строку, переносились на две, и
   прилипающая шапка занимала 154px — почти четверть экрана. Ссылки при этом
   были высотой 15px, попасть пальцем трудно. Прячем меню под кнопку: в
   строке остаются логотип и кнопка, пункты открываются списком с крупными
   зонами нажатия. Кнопки «Войти» и «Получить демо» уезжают в тот же список –
   на первом экране призыв продублирован в самом герое. */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color 0.15s ease;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.15s ease;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.is-menu-open .nav-toggle__bars { background: transparent; }
.is-menu-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.is-menu-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .site-header__inner { column-gap: 12px; row-gap: 0; }
  .nav-toggle { display: inline-flex; }

  /* Баннер согласия на cookie закреплён внизу экрана и перекрывал нижние
     пункты открытого меню. Пока меню открыто, шапка идёт поверх баннера;
     после закрытия баннер снова сверху и своего выбора дождётся. */
  .site-header.is-menu-open { z-index: 1001; }
  .site-header--plain.is-menu-open { position: relative; }

  .nav,
  .site-header__inner .header__actions { display: none; }

  .site-header.is-menu-open .nav,
  .site-header.is-menu-open .header__actions {
    display: flex;
    width: 100%;
  }
  .site-header.is-menu-open .nav {
    flex-direction: column;
    align-items: stretch;
    column-gap: 0;
    row-gap: 0;
    margin: 8px 0 0;
    border-top: 1px solid var(--line);
  }
  .site-header.is-menu-open .nav__link {
    min-height: 48px;
    padding: 0 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .site-header.is-menu-open .header__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 14px 0 6px;
  }
  .site-header.is-menu-open .header__actions .btn {
    justify-content: center;
    min-height: 48px;
  }
}

/* 5. Подвал.
   Четыре блока в один столбик растягивали подвал почти на 700px.
   На телефоне ставим колонки по две в ряд. */
@media (max-width: 640px) {
  .site-footer__inner { padding: 36px 20px 28px; gap: 26px 18px; }
  .site-footer__brand { flex: 1 1 100%; }
  .site-footer__col { flex: 1 1 40%; }
  .site-footer--slim .site-footer__inner { padding: 28px 20px; }
}
