/* ВотБот — лендинг. Дизайн-система (тёмная). Токены из спеки §4. Шрифты: fonts/fonts.css (Onest, Unbounded, OFL). */

/* ------------------------------------------------------------------ Токены */
:root {
  /* Цвет */
  --bg: #0B0B0C;
  --surface: #141416;
  --surface-2: #1B1B1D;
  --ink: #F4F2ED;          /* основной кремовый */
  --muted: #8A877F;        /* приглушённый */
  --ink-2: #9C988F;
  --ink-3: #CFCABF;
  --accent: #FF5436;
  --accent-ink: #0B0B0C;   /* текст на акценте */
  --accent-soft: rgba(255, 84, 54, .12);

  /* Статусы форм */
  --err-bg: rgba(255, 84, 54, .10); --err-bd: rgba(255, 84, 54, .35); --err-ink: #ffb3a5;
  --ok-bg: rgba(120, 200, 120, .10); --ok-bd: rgba(120, 200, 120, .30); --ok-ink: #bfe6bf;

  /* Хайрлайн-бордеры (кремовый на низкой альфе) */
  --line-08: rgba(244, 242, 237, .08);
  --line-10: rgba(244, 242, 237, .10);
  --line-12: rgba(244, 242, 237, .12);
  --line-18: rgba(244, 242, 237, .18);

  /* Форма */
  --r-lg: 12px;
  --r-md: 10px;
  --r-sm: 4px;
  --r-pill: 999px;

  /* Ритм */
  --container: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 116px);

  /* Типографика */
  --font-body: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Unbounded', 'Onest', system-ui, sans-serif;

  /* Моушен */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;
}

/* ------------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;               /* страховка от гориз. скролла */
}
img, svg, video { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

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

/* ------------------------------------------------------------------ Раскладка */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }

/* ------------------------------------------------------------------ Типографика */
.display,
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.0; letter-spacing: -0.02em; }
.h1 {
  font-size: clamp(40px, 8.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.033em;
  text-wrap: balance;
}
.h2 { font-size: clamp(30px, 5.4vw, 54px); letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; }
.h3 { font-size: clamp(21px, 3vw, 30px); font-weight: 700; letter-spacing: -0.015em; }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--ink-3); line-height: 1.5; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.accent { color: var(--accent); }
.dot-accent { color: var(--accent); }

/* ------------------------------------------------------------------ Бейджи / плашки */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
  padding: 7px 13px;
  border: 1px solid var(--line-12);
  border-radius: var(--r-pill);
  background: var(--surface);
}
.badge--accent { color: var(--accent); border-color: var(--accent-soft); background: var(--accent-soft); }

/* ------------------------------------------------------------------ Кнопки */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 16px; line-height: 1;
  padding: 15px 24px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: var(--btn-bg);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--accent); color: var(--accent-ink); font-weight: 700; }
.btn--accent:hover { --btn-bg: #ff6a50; }
.btn--ghost { border-color: var(--line-18); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink-3); background: var(--line-08); }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn .arw { transition: transform var(--dur) var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

/* ------------------------------------------------------------------ Карточки / хайрлайны */
.card {
  background: var(--surface);
  border: 1px solid var(--line-10);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 30px);
}
.card--raised { background: var(--surface-2); border-color: var(--line-12); }
.hr { height: 1px; background: var(--line-10); border: 0; }

/* ------------------------------------------------------------------ Фокус / a11y */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--r-md); font-weight: 700;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ================================================================== NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line-08);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 66px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.logo b { color: var(--accent); font-weight: 800; }
.nav__meta { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav__meta .q { color: var(--ink-3); }
.nav__cta { display: inline-flex; }
@media (max-width: 720px) { .nav__meta { display: none; } }

/* ================================================================== HERO */
.hero { position: relative; padding-top: clamp(48px, 8vw, 96px); padding-bottom: var(--section-y); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle, var(--line-10) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 72%);
  opacity: .7;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; top: -20%; left: 50%; transform: translateX(-50%);
  width: min(900px, 90vw); height: 520px;
  background: radial-gradient(closest-side, rgba(255,84,54,.16), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__col > * + * { margin-top: 22px; }
.hero__sub { max-width: 40ch; }
.hero__cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero__note { color: var(--muted); font-size: 14px; }
.hero__quote {
  position: relative; padding-left: 26px;
  color: var(--ink-3); font-size: 16px; line-height: 1.55; max-width: 46ch;
}
.hero__quote::before {
  content: "\201C"; position: absolute; left: 0; top: 2px;
  color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: .7;
}
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ================================================================== ЧАТ-ДЕМО */
.chat {
  background: var(--surface); border: 1px solid var(--line-12); border-radius: var(--r-lg);
  padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.chat__head { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.chat__head::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.msg { max-width: 82%; padding: 11px 14px; border-radius: 14px; font-size: 15px; line-height: 1.4; }
.msg time { display: block; margin-top: 5px; font-size: 11px; opacity: .7; }
.msg--client { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: var(--r-sm); }
.msg--bot { align-self: flex-start; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-10); border-bottom-left-radius: var(--r-sm); }
.chat__foot { color: var(--muted); font-size: 14px; padding-top: 4px; }

/* ================================================================== БОЛИ */
.pains__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain__stat { font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.pain p { margin-top: 10px; color: var(--ink-3); }
.pain-lead {
  display: inline-block; background: var(--surface); border: 1px solid var(--line-10);
  border-radius: var(--r-lg); border-bottom-left-radius: var(--r-sm);
  padding: 14px 18px; color: var(--ink-3); max-width: 52ch;
}
.pain-lead time { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .pains__grid { grid-template-columns: 1fr; } }

/* ================================================================== ЛИД-МАГНИТ / общие блоки */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-3); }
.checklist .n { font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: 14px; flex: none; width: 22px; }

/* ================================================================== ЧТО ТАКОЕ + КАРТА */
.card-emp { display: grid; gap: 2px; }
.card-emp__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line-08); }
.card-emp__row:last-child { border-bottom: 0; }
.card-emp__k { color: var(--muted); }
.card-emp__v { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.card-emp__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 6px; }

/* ================================================================== ВОЗМОЖНОСТИ */
.feat__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { position: relative; }
.feat__n { font-family: var(--font-display); font-weight: 800; color: var(--muted); font-size: 13px; letter-spacing: .05em; }
.feat h3 { margin-top: 12px; font-size: 19px; }
.feat p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.feat--wide { grid-column: span 2; }
@media (max-width: 980px) { .feat__grid { grid-template-columns: repeat(2, 1fr); } .feat--wide { grid-column: span 2; } }
@media (max-width: 560px) { .feat__grid { grid-template-columns: 1fr; } .feat--wide { grid-column: span 1; } }

/* ================================================================== СОЦДОК */
.proof { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px,4vw,48px); align-items: center; }
.proof__quote { font-size: clamp(19px, 2.4vw, 26px); line-height: 1.4; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.proof__note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.niche { display: grid; gap: 12px; }
.niche li { display: flex; gap: 12px; color: var(--ink-3); }
.niche .tick { color: var(--accent); flex: none; }
@media (max-width: 820px) { .proof { grid-template-columns: 1fr; } }

/* ================================================================== ТРИ ШАГА */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step__n { font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: 15px; }
.step h3 { margin-top: 10px; font-size: 20px; }
.step p { margin-top: 8px; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ================================================================== ТАРИФЫ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.plan { display: flex; flex-direction: column; height: 100%; }
.plan--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, 0 30px 60px -40px rgba(255,84,54,.5); }
.plan__tag { position: absolute; top: -11px; left: 24px; }
.plan { position: relative; }
.plan h3 { font-size: 24px; }
.plan__desc { color: var(--muted); margin-top: 8px; min-height: 44px; }
.plan__feats { display: grid; gap: 10px; margin: 20px 0; }
.plan__feats li { display: flex; gap: 10px; color: var(--ink-3); font-size: 15px; }
.plan__feats .tick { color: var(--accent); flex: none; }
.plan__price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-08); }
.plan__price b { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.plan__price small { display: block; color: var(--muted); margin-top: 6px; font-size: 13px; }
.plan__scarce { color: var(--accent); font-size: 13px; font-weight: 600; margin-top: 12px; }
.plan .btn { margin-top: 14px; }
.plans__note { color: var(--muted); font-size: 14px; margin-top: 18px; text-align: center; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan__desc { min-height: 0; } }

/* ================================================================== ГАРАНТИЯ */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px,4vw,44px); align-items: center; }
.guarantee__seal { text-align: center; }
.guarantee__pct { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 9vw, 92px); color: var(--accent); line-height: 1; letter-spacing: -0.03em; }
.guarantee__days { color: var(--ink-3); margin-top: 6px; }
@media (max-width: 700px) { .guarantee { grid-template-columns: 1fr; text-align: center; } }

/* ================================================================== FAQ (аккордеон) */
.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line-10); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-weight: 600; font-size: 17px;
}
.faq__q .pm { flex: none; color: var(--accent); font-size: 22px; line-height: 1; transition: transform var(--dur) var(--ease); }
.faq__q[aria-expanded="true"] .pm { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease); }
.faq__a > div { overflow: hidden; min-height: 0; padding: 0 20px; color: var(--muted); line-height: 1.55; }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__item.open .faq__a > div { padding-block: 2px 18px; }

/* ================================================================== ФОРМЫ */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line-18); border-radius: var(--r-md); transition: border-color var(--dur) var(--ease);
}
.field input::placeholder { color: var(--muted); }
.field input:focus { outline: none; border-color: var(--accent); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.consent a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
/* honeypot — вне экрана, не display:none (боты пропускают hidden) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { font-size: 14px; border-radius: var(--r-md); padding: 12px 14px; display: none; }
.form__msg--error { display: block; background: var(--err-bg); border: 1px solid var(--err-bd); color: var(--err-ink); }
.form__msg--ok { display: block; background: var(--ok-bg); border: 1px solid var(--ok-bd); color: var(--ok-ink); }
.form-card { background: var(--surface); border: 1px solid var(--line-12); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }

/* ================================================================== ФИНАЛ CTA */
.final { text-align: center; }
.final__grid { max-width: 560px; margin: 28px auto 0; text-align: left; }
.final__scarce { color: var(--muted); font-size: 14px; margin-top: 18px; }
.final__scarce b { color: var(--accent); }

/* ================================================================== FOOTER */
.footer { border-top: 1px solid var(--line-08); padding-block: 40px; color: var(--muted); }
.footer__row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.footer__meta { font-size: 14px; }
.footer__legal { font-size: 13px; color: var(--muted); max-width: 60ch; margin-top: 14px; }
.footer a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
.footer__links { display: flex; gap: 20px; font-size: 14px; }

/* ================================================================== Секция-заголовок */
.sec-head { max-width: 40ch; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-head .h2 + p { margin-top: 14px; }

/* ================================================================== LEGAL / PROSE */
.legal { max-width: 760px; margin-inline: auto; }
.legal h1 { font-size: clamp(28px, 5vw, 44px); letter-spacing: -0.02em; }
.legal h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 2.6vw, 24px); letter-spacing: -0.01em; margin-top: 36px; }
.legal p, .legal li { color: var(--ink-3); line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 8px; margin-top: 12px; padding-left: 20px; list-style: disc; }
.legal ul li { padding-left: 4px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: 10px; }
.legal .back { display: inline-flex; margin-bottom: 28px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 11px 12px; border: 1px solid var(--line-10); vertical-align: top; color: var(--ink-3); }
.legal th { background: var(--surface); color: var(--ink); font-weight: 600; }
.legal__wrap { overflow-x: auto; }

/* ------------------------------------------------------------------ Утилиты */
.mt-s { margin-top: 12px; } .mt-m { margin-top: 20px; } .mt-l { margin-top: 32px; }
.grid-gap { gap: 16px; }
.flex { display: flex; } .items-center { align-items: center; } .gap-12 { gap: 12px; } .wrap { flex-wrap: wrap; }
