/* AGAINIO landing — mobile-first, 360px и выше.
   Внешних шрифтов и CDN нет: строгий CSP и быстрый первый экран. */

:root {
  --ink: #0b0d0c;
  --ink-soft: #12150f14;
  --ink-panel: #141813;
  --ink-line: rgba(245, 246, 242, 0.12);
  --ink-line-strong: rgba(245, 246, 242, 0.22);

  --paper: #f5f6f2;
  --paper-panel: #ffffff;
  --paper-line: rgba(17, 19, 17, 0.12);

  --lime: #c9ff3d;
  --green: #70e38a;

  --text: #111311;
  --text-muted: rgba(17, 19, 17, 0.66);
  --on-dark: #f5f6f2;
  --on-dark-muted: rgba(245, 246, 242, 0.64);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --maxw: 1180px;
  --gutter: clamp(18px, 5vw, 40px);
  --section-y: clamp(56px, 9vw, 112px);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Атрибут hidden должен побеждать любой display у компонентов
   (success-state формы, панели демо, липкий CTA). */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 660;
  text-wrap: balance;
}

h1 {
  font-size: clamp(30px, 7.2vw, 58px);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(25px, 5.2vw, 42px);
}

h3 {
  font-size: clamp(18px, 2.6vw, 21px);
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(11, 13, 12, 0.4);
  border-radius: 6px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 90;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--lime);
  color: var(--ink);
  font-weight: 640;
  transition: top 0.18s ease;
}

.skip-link:focus-visible {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 820px;
}

/* ── типовые блоки ─────────────────────────────────────────────── */

.section {
  padding-block: var(--section-y);
}

.section--light {
  background: var(--paper);
  color: var(--text);
}

.section--dark {
  background: var(--ink);
  color: var(--on-dark);
}

.section--tight {
  padding-top: 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4.5vw, 52px);
}

.section-head--left {
  margin-bottom: 24px;
}

.kicker {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section--dark .kicker {
  color: var(--lime);
}

.section-lead {
  margin-top: 16px;
  font-size: clamp(16px, 2.2vw, 18px);
  color: var(--text-muted);
  max-width: 62ch;
}

.section--dark .section-lead {
  color: var(--on-dark-muted);
}

.note {
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 3px solid var(--paper-line);
  font-size: 14px;
  color: var(--text-muted);
  background: rgba(17, 19, 17, 0.03);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.note--dark {
  border-left-color: var(--ink-line-strong);
  background: rgba(245, 246, 242, 0.04);
  color: var(--on-dark-muted);
}

.note--inline {
  margin-top: 20px;
}

.callout {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-dark);
  font-size: clamp(16px, 2.4vw, 19px);
  font-weight: 560;
  line-height: 1.45;
  text-wrap: balance;
}

.check-list li,
.dash-list li {
  position: relative;
  padding-left: 26px;
  margin-top: 10px;
  font-size: 15px;
  color: var(--on-dark-muted);
}

.section--light .check-list li,
.section--light .dash-list li {
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg);
}

.dash-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 2px;
  background: var(--lime);
}

.check-list--lg li {
  font-size: 16px;
  margin-top: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 620;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.link-arrow::after {
  content: "→";
}

.link-back {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ── кнопки ────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 640;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
}

.btn-primary:hover {
  background: #d7ff6b;
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--ink-line-strong);
  color: var(--on-dark);
  background: transparent;
}

.section--light .btn-ghost,
.form-success .btn-ghost {
  border-color: var(--paper-line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.form-success .btn-ghost:hover {
  color: var(--text);
  border-color: var(--text);
}

.btn-sm {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 14px;
}

.btn-wide {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* ── шапка ─────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  /* Фон непрозрачный: шапка стоит в потоке, а под ней светлый фон body. */
  background: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header[data-scrolled="true"] {
  border-bottom-color: var(--ink-line);
}

.site-header--static {
  position: static;
  border-bottom: 1px solid var(--ink-line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  color: var(--on-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--on-dark);
  margin-right: auto;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--lime);
  position: relative;
  flex: none;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px 7px auto 7px;
  height: 12px;
  border-radius: 2px;
  border-left: 3px solid var(--ink);
  border-right: 3px solid var(--ink);
}

.brand-name {
  font-size: 17px;
}

.site-nav {
  display: none;
  gap: 26px;
  font-size: 15px;
}

.site-nav a {
  color: var(--on-dark-muted);
  padding-block: 6px;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--on-dark);
}

.header-cta {
  display: none;
}

.locale-switcher {
  display: none;
  gap: 4px;
  font-size: 13px;
  color: var(--on-dark-muted);
}

.locale-switcher a {
  padding: 4px 8px;
  border-radius: 999px;
}

.locale-switcher a[aria-current="page"] {
  background: var(--ink-line);
  color: var(--on-dark);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  flex: none;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--on-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: relative;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 4px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav[data-open="true"] {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  flex-direction: column;
  gap: 0;
  padding: 8px var(--gutter) 20px;
  background: rgba(11, 13, 12, 0.98);
  border-bottom: 1px solid var(--ink-line);
}

.site-nav[data-open="true"] a {
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: 17px;
  color: var(--on-dark);
}

/* ── hero ──────────────────────────────────────────────────────── */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(40px, 7vw, 84px) clamp(48px, 7vw, 96px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 255, 61, 0.16), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: clamp(36px, 6vw, 56px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  margin-bottom: 22px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
}

.hero-lead {
  margin-top: 22px;
  font-size: clamp(16px, 2.6vw, 19px);
  color: var(--on-dark-muted);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions .btn {
  flex: 1 1 240px;
}

.hero-trust {
  margin-top: 22px;
  font-size: 14px;
  color: var(--on-dark-muted);
}

/* телефон */

.hero-visual {
  display: grid;
  gap: 22px;
  justify-items: center;
}

.phone {
  margin: 0;
  width: 100%;
  max-width: 320px;
}

.phone-frame {
  border: 1px solid var(--ink-line-strong);
  border-radius: 30px;
  background: linear-gradient(180deg, #181c17 0%, #0f120e 100%);
  padding: 10px 12px 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 255, 61, 0.06);
}

.phone-bar {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
}

.phone-notch {
  width: 66px;
  height: 5px;
  border-radius: 999px;
  background: rgba(245, 246, 242, 0.22);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px 14px;
  border-bottom: 1px solid var(--ink-line);
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  flex: none;
}

.chat-meta {
  display: grid;
  line-height: 1.3;
}

.chat-meta strong {
  font-size: 14px;
}

.chat-status {
  font-size: 12px;
  color: var(--green);
}

.chat-log {
  display: grid;
  gap: 9px;
  padding: 14px 4px 0;
}

.chat-msg {
  position: relative;
  max-width: 88%;
  padding: 10px 12px 16px;
  border-radius: 14px 14px 14px 4px;
  background: rgba(245, 246, 242, 0.07);
  border: 1px solid var(--ink-line);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--on-dark);
}

.chat-msg--user {
  margin-left: auto;
  border-radius: 14px 14px 4px 14px;
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  font-weight: 560;
}

.chat-time {
  position: absolute;
  right: 10px;
  bottom: 5px;
  font-size: 10.5px;
  opacity: 0.55;
}

.chat-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 14px 4px 0;
}

.chat-reply {
  padding: 8px 13px;
  border: 1px solid rgba(201, 255, 61, 0.45);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--lime);
}

/* схема пути клиента */

.hero-flow {
  width: 100%;
  max-width: 420px;
  padding: 18px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: rgba(245, 246, 242, 0.03);
}

.hero-flow-title {
  font-size: 11.5px;
  font-weight: 680;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 14px;
}

.flow-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  font-size: 12.5px;
  white-space: nowrap;
  background: rgba(11, 13, 12, 0.6);
}

.flow-step:last-child {
  border-color: rgba(201, 255, 61, 0.5);
  color: var(--lime);
}

.flow-index {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--ink-line);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--on-dark);
}

.flow-step:last-child .flow-index {
  background: var(--lime);
  color: var(--ink);
}

/* ── строка доверия ────────────────────────────────────────────── */

.trust-strip {
  background: var(--ink);
  border-top: 1px solid var(--ink-line);
  padding-block: clamp(26px, 4vw, 40px);
  color: var(--on-dark);
}

.trust-grid {
  display: grid;
  gap: 18px;
}

.trust-item {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid rgba(201, 255, 61, 0.6);
}

.trust-item strong {
  font-size: 15px;
  font-weight: 640;
}

.trust-item span {
  font-size: 13.5px;
  color: var(--on-dark-muted);
}

/* ── проблема ──────────────────────────────────────────────────── */

.problem-grid {
  display: grid;
  gap: 14px;
}

.problem-card {
  padding: 24px 22px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  background: var(--paper-panel);
}

.problem-index {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.problem-card h3 {
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 15px;
  color: var(--text-muted);
}

.bridge {
  position: relative;
  margin-top: clamp(28px, 4vw, 44px);
  padding-left: 20px;
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 620;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.bridge-line {
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: var(--lime);
}

/* ── сценарии ──────────────────────────────────────────────────── */

.scenario-grid {
  display: grid;
  gap: 16px;
}

.scenario-card {
  padding: 26px 22px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(245, 246, 242, 0.06), rgba(245, 246, 242, 0.02));
}

.scenario-card:first-child {
  border-color: rgba(201, 255, 61, 0.35);
}

.scenario-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scenario-card:last-child .scenario-tag {
  background: var(--green);
}

.scenario-card h3 {
  margin-bottom: 10px;
}

.scenario-card > p {
  font-size: 15px;
  color: var(--on-dark-muted);
  margin-bottom: 18px;
}

/* ── шесть шагов ───────────────────────────────────────────────── */

.steps {
  display: grid;
  gap: 0;
  position: relative;
}

.step {
  position: relative;
  padding: 0 0 26px 46px;
}

.step::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: -2px;
  width: 2px;
  background: var(--paper-line);
}

.step:last-child {
  padding-bottom: 0;
}

.step:last-child::before {
  display: none;
}

.step-index {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
}

.step h3 {
  padding-top: 4px;
  margin-bottom: 6px;
}

.step p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ── персонализация ────────────────────────────────────────────── */

.pz {
  padding: 20px 18px 24px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(245, 246, 242, 0.05), rgba(245, 246, 242, 0.015));
}

.pz-ask {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pz-ask-avatar {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}

.pz-ask-text {
  padding: 11px 14px;
  border-radius: 14px 14px 14px 4px;
  background: rgba(245, 246, 242, 0.07);
  border: 1px solid var(--ink-line);
  font-size: 14.5px;
}

.pz-hint {
  margin: 16px 0 10px;
  font-size: 12.5px;
  color: var(--on-dark-muted);
}

.pz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.pz-chip {
  padding: 10px 16px;
  min-height: 44px;
  border: 1px solid var(--ink-line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark);
  font: inherit;
  font-size: 14px;
  font-weight: 560;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.pz-chip:hover {
  border-color: var(--lime);
}

.pz-chip[aria-selected="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  font-weight: 660;
}

.pz-cards {
  display: grid;
  gap: 12px;
}

.pz-card {
  padding: 18px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: rgba(11, 13, 12, 0.55);
}

.pz-card h3 {
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 14px;
}

.pz-rows {
  display: grid;
  gap: 2px;
}

.pz-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: 14px;
}

.pz-row:last-child {
  border-bottom: 0;
}

.pz-row dt {
  color: var(--on-dark-muted);
}

.pz-row dd {
  font-weight: 620;
  text-align: right;
}

.pz-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 660;
  margin-bottom: 12px;
}

.pz-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.pz-status--match {
  background: rgba(201, 255, 61, 0.16);
  color: var(--lime);
}

.pz-status--partial {
  background: rgba(112, 227, 138, 0.16);
  color: var(--green);
}

.pz-status--skip {
  background: rgba(245, 246, 242, 0.09);
  color: var(--on-dark-muted);
}

.pz-message {
  font-size: 14px;
  line-height: 1.5;
  color: var(--on-dark-muted);
}

.pz-card--campaign .pz-message {
  padding: 12px 14px;
  border-left: 2px solid var(--ink-line-strong);
  background: rgba(245, 246, 242, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.pz-audience {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-line);
}

.pz-audience-title {
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 12px;
}

.pz-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.pz-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px dashed var(--ink-line-strong);
  background: rgba(245, 246, 242, 0.04);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pz-dot.is-on {
  background: var(--lime);
  border: 1px solid var(--lime);
}

.pz-audience-note {
  font-size: 13.5px;
  color: var(--on-dark-muted);
}

.signals {
  margin-top: clamp(28px, 4vw, 44px);
}

.signals-title {
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 14px;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.signal-list li {
  padding: 8px 14px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--on-dark-muted);
}

/* ── выгоды ────────────────────────────────────────────────────── */

.benefit-grid {
  display: grid;
  gap: 14px;
}

.benefit-card {
  padding: 22px 20px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  background: var(--paper-panel);
}

.benefit-tick {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  border-radius: 9px;
  background: var(--lime);
  position: relative;
}

.benefit-tick::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 9px;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}

.benefit-card h3 {
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ── примеры ───────────────────────────────────────────────────── */

.case-grid {
  display: grid;
  gap: 16px;
}

.case-card {
  padding: 26px 22px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  background: rgba(245, 246, 242, 0.04);
}

.case-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 11px;
  border: 1px solid var(--ink-line-strong);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.case-card h3 {
  margin-bottom: 16px;
  font-size: clamp(20px, 3.4vw, 26px);
}

.case-footnote {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--lime);
}

/* ── что входит ────────────────────────────────────────────────── */

.included-layout {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.included-list {
  display: grid;
  gap: 0;
}

.included-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--paper-line);
  font-size: 16px;
}

.included-list li:first-child {
  border-top: 1px solid var(--paper-line);
}

.included-tick {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 6px;
  background: var(--ink);
  position: relative;
}

.included-tick::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg);
}

/* ── цена ──────────────────────────────────────────────────────── */

.price-card {
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: 0 24px 60px rgba(11, 13, 12, 0.16);
}

.price-rows {
  display: grid;
  gap: 0;
}

.price-row {
  display: grid;
  gap: 3px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-line);
}

.price-row:first-child {
  padding-top: 0;
}

.price-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.price-label {
  font-size: 13px;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.price-value {
  font-size: clamp(30px, 6vw, 42px);
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--lime);
}

.price-from {
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  vertical-align: middle;
}

.price-currency {
  font-size: 0.5em;
}

.price-period {
  font-size: 13.5px;
  color: var(--on-dark-muted);
}

.price-note {
  margin: 22px 0;
  font-size: 14.5px;
  color: var(--on-dark-muted);
}

.addon {
  margin-top: 18px;
  padding: 22px;
  border: 1px dashed var(--paper-line);
  border-radius: var(--radius);
  background: rgba(17, 19, 17, 0.02);
}

.addon-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(17, 19, 17, 0.07);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.addon h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.addon p {
  font-size: 14.5px;
  color: var(--text-muted);
}

.addon .link-arrow {
  font-size: 14.5px;
}

/* ── форма и финальный CTA ─────────────────────────────────────── */

.section--audit {
  scroll-margin-top: 66px;
}

.audit-layout {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}

.direct-contacts {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--ink-line);
}

.direct-title {
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 12px;
}

.contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--ink-line-strong);
  border-radius: 999px;
  font-size: 14px;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.contact-pill:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.contact-pill-icon {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lime);
}

.audit-form-shell {
  position: relative;
}

.audit-form,
.form-success {
  padding: clamp(22px, 4vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.audit-form-title {
  margin-bottom: 22px;
  font-size: 20px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  font-size: 14px;
  font-weight: 620;
}

.field-optional {
  font-weight: 500;
  color: var(--text-muted);
}

.control {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm);
  background: var(--paper-panel);
  font: inherit;
  font-size: 16px;
  color: var(--text);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.control::placeholder {
  color: rgba(17, 19, 17, 0.38);
}

.control:hover {
  border-color: rgba(17, 19, 17, 0.28);
}

select.control {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%),
    linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 1px), calc(100% - 14px) calc(50% + 1px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.control[aria-invalid="true"] {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}

.field-error {
  font-size: 13px;
  color: #b3261e;
}

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

.field-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 22px;
}

.field-consent label {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-muted);
}

.field-consent label a {
  text-decoration: underline;
  color: var(--text);
}

.field-consent .field-error {
  grid-column: 1 / -1;
}

.checkbox {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--ink);
  flex: none;
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.form-error {
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: rgba(179, 38, 30, 0.09);
  color: #b3261e;
  font-size: 13.5px;
}

.form-success {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.form-success-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--lime);
  position: relative;
}

.form-success-mark::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 15px;
  width: 18px;
  height: 9px;
  border-left: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(-45deg);
}

.form-success p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ── FAQ ───────────────────────────────────────────────────────── */

.faq-list {
  border-top: 1px solid var(--paper-line);
}

.faq-item {
  border-bottom: 1px solid var(--paper-line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-size: clamp(16px, 2.4vw, 18px);
  font-weight: 620;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-mark {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--paper-line);
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-mark {
  background: var(--lime);
  border-color: var(--lime);
}

.faq-item[open] .faq-mark::after {
  opacity: 0;
}

.faq-answer {
  padding: 0 40px 22px 0;
  font-size: 15.5px;
  color: var(--text-muted);
}

/* ── подвал ────────────────────────────────────────────────────── */

.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(40px, 5vw, 60px) 26px;
  border-top: 1px solid var(--ink-line);
}

.footer-grid {
  display: grid;
  gap: 30px;
}

.footer-tagline {
  margin-top: 14px;
  max-width: 40ch;
  font-size: 14.5px;
  color: var(--on-dark-muted);
}

.footer-col {
  display: grid;
  gap: 9px;
  align-content: start;
  font-size: 14.5px;
  color: var(--on-dark-muted);
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-col-title {
  font-size: 11.5px;
  font-weight: 680;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 2px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--ink-line);
  font-size: 12.5px;
  color: var(--on-dark-muted);
}

/* ── липкий CTA на мобильном ───────────────────────────────────── */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 13, 12, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--ink-line);
  transform: translateY(105%);
  transition: transform 0.24s ease;
}

.sticky-cta[data-visible="true"] {
  transform: translateY(0);
}

body[data-sticky-space="true"] {
  padding-bottom: 76px;
}

/* ── страница политики ─────────────────────────────────────────── */

.legal-page {
  padding-block: clamp(36px, 6vw, 72px);
}

.legal-page h1 {
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: 12px;
}

.legal-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.legal-notice {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(201, 255, 61, 0.22);
  border: 1px solid rgba(17, 19, 17, 0.1);
  font-size: 14.5px;
  margin-bottom: 34px;
}

.legal-section {
  margin-bottom: 26px;
}

.legal-section h2 {
  font-size: clamp(18px, 3vw, 22px);
  margin-bottom: 8px;
}

.legal-section p {
  color: var(--text-muted);
  font-size: 15.5px;
}

/* ── адаптив ───────────────────────────────────────────────────── */

@media (min-width: 560px) {
  .trust-grid,
  .problem-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pz-cards {
    grid-template-columns: 1fr 1fr;
  }

  .form-success {
    justify-items: start;
  }
}

@media (min-width: 760px) {
  .scenario-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 32px;
  }

  .step {
    padding-bottom: 30px;
  }

  /* В сетке вертикальная линия связала бы 1→3, а не 1→2 — убираем. */
  .step::before {
    display: none;
  }

  .included-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
  }

  .addon {
    margin-top: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 28px;
  }

  .addon-tag {
    grid-column: 1;
    justify-self: start;
  }

  .addon h3 {
    grid-column: 1;
  }

  .addon p {
    grid-column: 1;
  }

  .addon .link-arrow {
    grid-column: 2;
    grid-row: 2 / 4;
    margin-top: 0;
  }
}

@media (min-width: 900px) {
  html {
    scroll-padding-top: 96px;
  }

  .site-nav {
    display: flex;
  }

  .header-cta,
  .locale-switcher {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .header-inner {
    min-height: 78px;
    gap: 24px;
  }

  .brand {
    margin-right: 12px;
  }

  .site-nav {
    margin-right: auto;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }

  .hero-actions .btn {
    flex: 0 0 auto;
  }

  .hero-visual {
    justify-items: end;
  }

  .hero-flow {
    max-width: 320px;
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .problem-grid,
  .benefit-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 34px;
  }

  /* Коннектор живёт только в межколоночном отступе и не пересекает текст. */
  .step::before {
    display: block;
    left: 100%;
    right: auto;
    top: 15px;
    bottom: auto;
    width: 34px;
    height: 2px;
  }

  .step:nth-child(3n)::before,
  .step:last-child::before {
    display: none;
  }

  .pz {
    padding: 30px 28px 32px;
  }

  .audit-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .price-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 0 clamp(28px, 4vw, 56px);
    align-items: center;
  }

  .price-rows {
    grid-row: 1 / 3;
  }

  .price-note {
    margin: 0 0 20px;
    align-self: end;
  }

  .price-card .btn {
    align-self: start;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
    gap: 40px;
  }

  .footer-legal {
    justify-content: space-between;
  }

  .sticky-cta {
    display: none;
  }

  body[data-sticky-space="true"] {
    padding-bottom: 0;
  }
}

@media (min-width: 1100px) {
  .price-value {
    font-size: 46px;
  }

  .case-card {
    padding: 32px 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
