﻿:root {
  --canvas: oklch(0.985 0.004 85);
  --surface: #fff;
  --surface-2: oklch(0.975 0.005 85);
  --surface-3: oklch(0.965 0.008 85);
  --tint-cool: oklch(0.975 0.012 222);
  --ink: oklch(0.18 0.02 250);
  --ink-2: oklch(0.32 0.018 250);
  --muted: oklch(0.52 0.014 250);
  --faint: oklch(0.70 0.010 250);
  --hair: oklch(0.92 0.006 250);
  --hair-2: oklch(0.88 0.008 250);
  --hair-dark: oklch(0.80 0.010 250);
  --brand: oklch(0.48 0.13 222);
  --brand-ink: oklch(0.32 0.10 222);
  --brand-soft: oklch(0.92 0.04 222);
  --ai: oklch(0.78 0.13 78);
  --ai-ink: oklch(0.55 0.13 70);
  --ai-soft: oklch(0.96 0.05 80);
  --ai-glow: oklch(0.78 0.13 78 / 0.32);
  --ok: oklch(0.62 0.13 155);
  --ok-soft: oklch(0.94 0.05 155);
  --risk: oklch(0.62 0.18 25);
  --risk-soft: oklch(0.95 0.04 25);
  --f-ui: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-xs: 6px;
  --r-sm: 8px;
  --r: 12px;
  --r-md: 14px;
  --sh-1: 0 1px 0 oklch(0.92 0.006 250 / 0.8), 0 1px 2px oklch(0.18 0.02 250 / 0.04);
  --sh-2: 0 2px 6px oklch(0.18 0.02 250 / 0.06), 0 8px 24px oklch(0.18 0.02 250 / 0.06);
  --sh-ai: 0 0 0 1px oklch(0.78 0.13 78 / 0.45), 0 0 18px 2px oklch(0.78 0.13 78 / 0.26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--canvas); }
body {
  margin: 0;
  font-family: var(--f-ui);
  color: var(--ink);
  background: var(--canvas);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.02em; }
h1 { letter-spacing: -0.025em; }
p { text-wrap: pretty; }
body.nav-open { overflow: hidden; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { border: 0; }
section { scroll-margin-top: 88px; }
img, svg, video, canvas { max-width: 100%; }
.grid > *, .container > *, .card, .pill, .chip { min-width: 0; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: var(--r-sm);
}
.skip-link:focus { top: 16px; }

.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--hair);
  background: color-mix(in oklch, var(--canvas) 92%, white);
  backdrop-filter: blur(12px);
}
.nav-inner {
  min-height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-decoration: none;
}
.logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--ink);
  display: grid;
  place-items: center;
}
/* Logo lock-up: kicker «СТУДИЯ» + brand «Трофимов» */
.logo-kicker {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-right: 6px;
}
.footer .logo .logo-kicker { color: rgba(255, 255, 255, 0.55); }
@media (max-width: 480px) {
  /* Бренд остаётся цельным «СТУДИЯ Трофимов» — кикер сжимаем, но не прячем. */
  .top-nav .logo-kicker { font-size: 9px; margin-right: 4px; letter-spacing: 0.12em; }
  .top-nav .logo { gap: 6px; }
}
.logo-mark::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--ai);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-site-link {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.nav-cta {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
}
.top-nav.is-scrolled .nav-cta { opacity: 1; pointer-events: auto; transform: translateY(0); }
.menu-button { display: none; }
.mobile-menu { display: none; }

.container {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
}
.section {
  padding: 104px 0;
  border-bottom: 1px solid var(--hair);
}
.section.alt { background: var(--surface-2); }
.section.cool { background: var(--tint-cool); }
.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.08;
  font-weight: 680;
}
h1 { font-size: clamp(34px, 4vw, 48px); }
h2 { font-size: clamp(29px, 3.6vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0; }
.lead { color: var(--muted); font-size: 18px; }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.mono { font-family: var(--f-mono); letter-spacing: 0; }
.muted { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
  text-align: center;
  overflow-wrap: anywhere;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .08s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--hair-dark); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-ai { background: var(--ai); color: var(--ink); }
.btn-light { background: white; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--hair); }
.btn[aria-busy="true"] { cursor: wait; opacity: .74; }

.chip, .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 12px;
  padding: 5px 10px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.chip { font-family: var(--f-mono); font-size: 11px; }
.chip-brand { background: var(--brand-soft); color: var(--brand-ink); border-color: color-mix(in oklch, var(--brand) 22%, white); }
.chip-ai { background: var(--ai-soft); color: var(--ai-ink); border-color: color-mix(in oklch, var(--ai) 34%, white); }
.chip-risk { background: var(--risk-soft); color: var(--risk); border-color: color-mix(in oklch, var(--risk) 22%, white); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.card {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-1);
}
.grid { display: grid; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr); gap: 34px; align-items: start; }

.hero {
  padding: 76px 0 96px;
  background:
    linear-gradient(180deg, color-mix(in oklch, var(--tint-cool) 62%, transparent), transparent 70%),
    var(--canvas);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: 36px; align-items: center; }
.hero-eyebrow { display: inline-block; }
.hero h1 { margin: 22px 0 20px; max-width: 18ch; text-wrap: balance; }
.hero .lead { max-width: 56ch; margin-bottom: 28px; }
.hero-bullets { display: grid; gap: 12px; margin-bottom: 30px; max-width: 580px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1px solid var(--hair-dark);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 800;
  background: var(--surface);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.data-note { margin-top: 18px; color: var(--muted); font-family: var(--f-mono); font-size: 12px; }
.hero-credit {
  display: inline-flex;
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--faint);
}
.hero-credit a { color: var(--muted); text-underline-offset: 3px; }
.hero-visual {
  min-height: 490px;
  position: relative;
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--surface-2);
  box-shadow: var(--sh-2);
  overflow: hidden;
  padding: 0;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .5;
  mask-image: linear-gradient(180deg, transparent, black 24%, black 76%, transparent);
}
.hv-header,
.hv-body,
.hv-bottom { position: relative; z-index: 1; }
.hv-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--hair);
  background: var(--surface);
  color: var(--faint);
  font-family: var(--f-mono);
  font-size: 11px;
}
.hv-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); min-height: 380px; }
.hv-inbox { padding: 18px; border-right: 1px solid var(--hair); background: color-mix(in oklch, var(--surface-2) 90%, white); }
.hv-deal { padding: 18px; background: color-mix(in oklch, var(--surface) 94%, transparent); }
.hv-row {
  display: grid;
  grid-template-columns: 72px 1fr 44px;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--hair);
  color: var(--ink-2);
  font-size: 13px;
}
.hv-row span,
.hv-row em,
.hv-deal-head {
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 11px;
  font-style: normal;
}
.hv-row strong { font-size: 13px; font-weight: 650; }
.hv-row.is-active { padding-inline: 10px; border-radius: var(--r-xs); background: var(--surface); box-shadow: inset 2px 0 0 var(--ink); }
.hv-deal-head,
.hv-deal-foot,
.hv-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hv-deal-title { display: block; margin-top: 16px; font-size: 22px; line-height: 1.12; }
.hv-fields { margin-top: 14px; border-top: 1px solid var(--hair); }
.hv-deal-foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--hair); }
.hv-bottom {
  padding: 12px 18px;
  border-top: 1px solid var(--hair);
  background: var(--surface-2);
  font-size: 13px;
}
.visual-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.visual-row .chip { flex: 0 0 auto; white-space: nowrap; overflow-wrap: normal; }
.field { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--hair); }
.field:first-child { border-top: 0; }
.field-label { font-family: var(--f-mono); font-size: 10px; color: var(--muted); text-transform: uppercase; }
.field-value { font-size: 13px; }
.ai-fill { background: none; padding: 0; animation: none; }
.funnel-stage { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--hair); font-size: 12px; }
.funnel-stage:first-child { border-top: 0; }
.funnel-bar { flex: 1; height: 5px; border-radius: 999px; background: var(--hair); overflow: hidden; }
.funnel-bar i { display: block; height: 100%; background: var(--brand); border-radius: inherit; }

.trust-strip { background: var(--surface-2); padding: 16px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.trust-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.trust-facts { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.trust-fact { display: inline-flex; align-items: center; gap: 12px; }
.trust-fact + .trust-fact::before { content: ""; width: 1px; height: 14px; background: var(--hair-2); }
.trust-fact strong { display: block; font-size: 13px; line-height: 1.2; color: var(--ink-2); }
.platforms { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.trust-site-link,
.site-pill {
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-pill:hover, .trust-site-link:hover { color: var(--brand-ink); }

.pain-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.pain-card { display: grid; grid-template-columns: 56px minmax(220px, .42fr) minmax(0, 1fr); gap: 22px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--hair); }
.pain-card:first-child { border-top: 0; }
.pain-card:nth-child(-n+2) { border-top: 2px solid var(--ink); }
.pain-card:first-child { border-top: 0; }
.pain-card > .mono {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 26px;
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
}
.pain-card h3 { font-size: 18px; margin: 0; }
.offer-list, .bullet-list { display: grid; gap: 10px; }
.offer-list { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
.offer-item { display: flex; gap: 8px; align-items: flex-start; }
.offer-item::before { content: "-"; color: var(--brand); }

.form-card { padding: 26px; box-shadow: var(--sh-2); }
.form-card header { display: flex; justify-content: flex-start; gap: 12px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); align-items: center; }
.form-kicker { font-size: 13px; font-weight: 650; color: var(--ink-2); }
.lead-form { display: grid; gap: 14px; }
.field-control { display: grid; gap: 6px; }
.field-control label, .choice-label {
  font-family: inherit;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
  text-transform: none;
  letter-spacing: 0;
}
.required { color: var(--risk); font-size: 12px; font-weight: 650; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--hair-2);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  min-height: 44px;
  padding: 10px 12px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ink) 10%, transparent);
}
textarea { min-height: 92px; resize: vertical; }
.error-text { min-height: 0; color: var(--risk); font-size: 12px; }
.has-error .error-text, [data-field].has-error > .error-text { min-height: 16px; }
.field-control.has-error input, .field-control.has-error textarea, .field-control.has-error select { border-color: var(--risk); background: var(--risk-soft); }
.choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chip {
  position: relative;
  display: inline-flex;
}
.choice-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice-chip span {
  position: relative;
  pointer-events: none;
  cursor: pointer;
}
.choice-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: white; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.consent-block { border-top: 1px solid var(--hair); padding-top: 16px; display: grid; gap: 10px; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 13px; }
.consent-row input { width: 18px; height: 18px; min-height: 18px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--ink); }
.form-note { font-family: var(--f-mono); font-size: 11px; color: var(--muted); text-align: center; }
.lead-form > .btn { justify-self: start; }
.form-status { border-radius: 8px; padding: 10px 12px; display: none; font-size: 14px; }
.form-status.is-error { display: block; background: var(--risk-soft); color: var(--risk); }
.form-status.is-success { display: block; background: var(--ok-soft); color: var(--ink); }
.success-panel { display: none; border: 1px solid color-mix(in oklch, var(--ok) 32%, white); border-radius: var(--r-sm); background: linear-gradient(180deg, var(--ok-soft), white); padding: 18px; }
.form-card.is-success .lead-form { display: none; }
.form-card.is-success .success-panel { display: block; }

.tripwire-layout { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 20px; }
.feature-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature { padding: 15px; background: var(--surface-2); border-radius: var(--r-sm); }
.feature strong { display: block; margin-bottom: 4px; }
.not-included { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--hair-2); }
.not-included strong { display: block; margin-bottom: 10px; font-size: 14px; }
.not-included ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; }
.not-included li::before { content: "×"; margin-right: 8px; color: var(--muted); }

.reanimator-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.step-card { padding: 14px; background: var(--surface-2); border: 1px solid var(--hair); border-radius: var(--r-sm); }
.step-card.highlight { background: var(--surface-2); border-color: var(--hair); }
.step-card.legal-step { border-left: 3px solid var(--ink); }
.legal-guard { margin: 0 0 18px; padding: 12px; display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border-radius: var(--r-sm); border: 1px solid var(--hair); }

.ladder { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--hair); border-radius: var(--r-sm); overflow: hidden; }
.ladder-step { position: relative; padding: 18px; border-right: 1px solid var(--hair); background: var(--surface); }
.ladder-step:not(:last-child)::after { content: "›"; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); color: var(--faint); background: var(--surface); padding: 0 3px; z-index: 1; }
.ladder-step:last-child { border-right: 0; }
.ladder-step h3 { font-size: 15px; margin: 8px 0 4px; color: inherit; }
.platform-summary {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 11px;
}
.ai-button-note { margin-top: 24px; padding: 20px; background: var(--surface-2); }

.scenario-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.scenario-group-label {
  margin: 0 0 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.scenario-group-label-compact { margin-top: 22px; }
.scenario-featured-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.scenario-compact-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.scenario-card { padding: 18px; display: flex; flex-direction: column; gap: 12px; min-height: 338px; }
.scenario-card h3 { font-size: 18px; }
.scenario-card .scenario-body { display: grid; gap: 10px; flex: 1; }
.scenario-card button { justify-content: space-between; width: 100%; margin-top: auto; }
.scenario-card-featured { min-height: 360px; padding: 24px; background: var(--surface); border-color: color-mix(in oklch, var(--brand) 16%, var(--hair)); }
.scenario-card-featured h3 { font-size: 23px; }

.runway { grid-template-columns: repeat(6, 1fr); gap: 12px; }
.run-step { display: grid; gap: 8px; }
.run-index { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--hair-dark); font-family: var(--f-mono); font-size: 12px; }
.run-step:nth-child(-n+2) .run-index { background: transparent; color: var(--ink); border-color: var(--hair-dark); }
.support-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.support-item { padding: 16px; }
.legal-modes { grid-template-columns: repeat(5, 1fr); gap: 10px; }
.legal-mode { padding: 16px; background: var(--surface); }
.legal-mode h3 { margin: 8px 0 6px; font-size: 17px; }
.legal-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.legal-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--hair-2); }

.faq-list { max-width: 900px; }
details { border-bottom: 1px solid var(--hair); padding: 18px 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--hair); display: grid; place-items: center; color: var(--muted); flex: 0 0 auto; }
details[open] summary::after { content: "×"; }
details p { max-width: 760px; margin-top: 12px; color: var(--muted); }

.final-cta, .footer { background: var(--ink); color: white; }
.final-cta { padding: 88px 0; background: var(--ink); border-top: 1px solid var(--hair); }
.final-cta h2 { color: white; max-width: 760px; }
.final-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: end; }
.final-actions { display: grid; gap: 12px; }
.footer { border-top: 1px solid rgba(255,255,255,.12); padding: 30px 0; color: rgba(255,255,255,.65); }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer a { text-decoration: underline; text-underline-offset: 4px; }
.footer .logo { text-decoration: none; }
.footer-copy,
.footer-meta { font-family: var(--f-mono); font-size: 12px; color: rgba(255,255,255,.65); }
.footer-meta { display: inline-flex; }

.draft-page { max-width: 860px; margin: 0 auto; padding: 64px 24px; }
.draft-page .card { padding: 24px; margin-top: 24px; }

@keyframes flowPulse { 0% { opacity: .12; transform: scaleX(.5); } 65% { opacity: .5; transform: scaleX(1); } 100% { opacity: .24; transform: scaleX(1); } }
@keyframes softFill { 0% { background: var(--surface-2); color: transparent; } 55%, 100% { background: var(--ai-soft); color: var(--ink); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.flow-line { display: none; }
.visual-task { animation: none; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-button { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--hair); border-radius: 8px; }
  .mobile-menu { display: none; position: fixed; inset: 72px 0 auto 0; background: var(--canvas); border-bottom: 1px solid var(--hair); padding: 20px 24px 28px; box-shadow: var(--sh-2); }
  body.nav-open .mobile-menu { display: grid; gap: 14px; }
  .mobile-menu a { text-decoration: none; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
  .hero-grid, .two-col, .tripwire-layout, .final-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; max-width: 620px; }
  .pain-grid, .scenario-featured-grid, .scenario-compact-grid { grid-template-columns: repeat(2, 1fr); }
  .scenario-card-featured .scenario-body { grid-template-columns: 1fr; }
  .ladder, .runway, .legal-modes { grid-template-columns: repeat(3, 1fr); }
  .reanimator-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { width: min(100% - 40px, 1120px); }
  .section { padding: 58px 0; }
  .hero { padding: 36px 0 46px; }
  h1 { font-size: 34px; line-height: 1.08; }
  h2 { font-size: 28px; }
  .lead { font-size: 15px; }
  .hero-actions .btn, .final-actions .btn { width: 100%; }
  .hero-grid { gap: 24px; }
  .hero-visual { min-height: auto; }
  .hv-body { grid-template-columns: 1fr; min-height: auto; }
  .hv-inbox { border-right: 0; border-bottom: 1px solid var(--hair); }
  .hv-row { grid-template-columns: 64px 1fr; }
  .hv-row em { display: none; }
  .hv-bottom { align-items: flex-start; flex-direction: column; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-inner, .trust-facts { align-items: flex-start; }
  .trust-inner { display: grid; }
  .trust-fact + .trust-fact::before { display: none; }
  .pain-grid, .offer-list, .feature-grid, .scenario-featured-grid, .scenario-compact-grid, .support-grid, .legal-modes, .form-grid { grid-template-columns: 1fr; }
  .pain-card { grid-template-columns: 42px 1fr; gap: 10px 16px; }
  .pain-card p { grid-column: 2; }
  .form-card { padding: 20px; }
  .lead-form > .btn { justify-self: stretch; width: 100%; }
  .ladder, .runway { grid-template-columns: 1fr; }
  .ladder-step { border-right: 0; border-bottom: 1px solid var(--hair); }
  .ladder-step:last-child { border-bottom: 0; }
  .ladder-step:not(:last-child)::after { content: "↓"; right: 18px; top: auto; bottom: -12px; transform: none; }
  .reanimator-steps { grid-template-columns: 1fr; }
  .scenario-card { min-height: auto; }
  .scenario-card-featured .scenario-body { grid-template-columns: 1fr; }
  .legal-links { display: grid; }
  .footer-inner { display: grid; }
  .footer-links { display: grid; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav-inner { padding: 0 14px; }
  h1 { font-size: 31px; }
  .hero-visual { min-height: auto; padding: 0; }
  .form-card { padding: 18px; }
}

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


/* Restored pre-Open Design pass styles */
.hero-stack { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; max-width: 620px; }
.data-note a { color: var(--muted); text-underline-offset: 3px; }
.check-icon { border: 0; border-radius: 6px; background: var(--brand-soft); color: var(--brand-ink); }
.hero-visual { padding: 18px; background: radial-gradient(520px 260px at 58% 38%, var(--ai-glow), transparent 62%), linear-gradient(180deg, var(--surface), var(--surface-2)); }
.hero-visual::before { inset: 18px; background-size: 44px 44px; opacity: .34; }
.hero-stage { position: relative; z-index: 1; min-height: 452px; }
.deal-card { position: absolute; left: 50%; top: 50%; width: min(390px, 86%); transform: translate(-50%, -50%); padding: 20px; z-index: 2; }
.satellite-card { position: absolute; padding: 16px; width: 220px; z-index: 3; }
.satellite-incoming { left: 18px; top: 34px; }
.satellite-risk { right: 20px; top: 118px; }
.satellite-task { right: 34px; bottom: 34px; width: 236px; }
.ai-aura::after { content: ""; position: absolute; inset: -10px; border-radius: inherit; pointer-events: none; box-shadow: var(--sh-ai); opacity: .58; }
.ai-fill { background: var(--ai-soft); padding: 2px 6px; border-radius: 6px; animation: softFill .9s ease-out .35s both; }
.form-card header { justify-content: space-between; }
.field-control label, .choice-label { font-family: var(--f-mono); color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.step-card.highlight { background: var(--ai-soft); border-color: color-mix(in oklch, var(--ai) 35%, white); }
.legal-guard { margin: 18px 0 0; }
.ladder-step.ink-fill { background: var(--ink); color: white; }
.ladder-step.ink-fill h3, .ladder-step.ink-fill .muted { color: white; }
.final-cta { background: radial-gradient(400px 200px at 90% 0%, var(--ai-glow), transparent 60%), var(--ink); }
@media (max-width: 1080px) { .hero-stage { min-height: 430px; } .satellite-risk { position: relative; right: auto; top: auto; margin: 300px auto 0; width: min(100%, 320px); } }
@media (max-width: 720px) { .hero-stack { display: grid; } .hero-visual { padding: 14px; } .hero-stage { min-height: auto; display: grid; gap: 12px; } .deal-card, .satellite-card, .satellite-risk { position: relative; inset: auto; transform: none; display: block; width: 100%; margin: 0; } }

/* === Utilities (spacing) === */
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 10px; }
.mt-4 { margin-top: 12px; }
.mt-5 { margin-top: 14px; }
.mt-6 { margin-top: 16px; }
.mt-7 { margin-top: 22px; }
.pt-3 { padding-top: 12px; }
.border-top { border-top: 1px solid var(--hair); }
.card-pad-l { padding: 24px; }
.grid-mt-4 { margin-top: 16px; }
.dim { color: rgba(255, 255, 255, .62); }
.btn-ghost-light { color: white; border-color: rgba(255, 255, 255, .28); }

/* === Hero visual deal-card === */
.deal-card-divider { margin-top: 14px; border-top: 1px solid var(--hair); padding-top: 12px; }
.deal-card-body { margin-top: 14px; }
.deal-card-meta strong { display: block; margin-top: 4px; }

/* === Legal page === */
.legal-page { padding: 40px 0 64px; background: var(--canvas); min-height: calc(100vh - 200px); }
.legal-article { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.legal-article h1 { margin-top: 16px; font-size: 30px; line-height: 1.2; }
.legal-article h2 { margin-top: 36px; font-size: 20px; line-height: 1.3; }
.legal-article .lead { margin-top: 12px; }
.legal-article section { margin-top: 24px; }
.legal-article p, .legal-article ul, .legal-article ol { margin: 12px 0; line-height: 1.65; }
.legal-article ul, .legal-article ol { padding-left: 22px; }
.legal-article li { margin: 6px 0; }
.legal-article code, .legal-article [data-bind] { font-family: var(--f-mono); font-size: .92em; background: var(--surface-3); padding: 1px 6px; border-radius: 4px; }
.legal-article [data-bind] { background: transparent; padding: 0; }
.legal-article a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-back { margin-top: 48px; }

/* =====================================================================
 * v3 Polish overlays — visual upgrades that override base where needed.
 * Keep at bottom so cascade wins.
 * ===================================================================== */

/* Hero — radial gradients + grid pattern */
.hero { position: relative; overflow: hidden; padding: 88px 0 80px;
  background:
    radial-gradient(800px 400px at 92% 10%, oklch(0.96 0.04 80 / 0.60), transparent 60%),
    radial-gradient(900px 500px at 8% 20%, oklch(0.96 0.04 222 / 0.55), transparent 60%),
    var(--canvas);
  border-bottom: 1px solid var(--hair);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--hair) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center;
  opacity: .35;
  mask-image: radial-gradient(800px 600px at 70% 60%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(800px 600px at 70% 60%, black, transparent 80%);
}
.hero .container, .hero .hero-grid { position: relative; z-index: 2; }

/* Hero typography + gradient em */
.hero h1 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.05;
  max-width: 18ch;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand), oklch(0.55 0.14 200));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero .lead { max-width: 48ch; margin-bottom: 28px; font-size: 16px; }

/* Hero CTA size up */
.hero-actions .btn { padding: 14px 22px; font-size: 15px; min-height: 50px; }
.btn .arr { font-family: var(--f-mono); font-weight: 400; opacity: .9; transition: transform .15s; margin-left: 4px; }
.btn:hover .arr { transform: translateX(2px); }

/* Hero visual — AI ring on deal-card + connector lines on satellites */
.deal-card { box-shadow: 0 8px 16px -4px oklch(0.18 0.02 250 / 0.06), 0 32px 64px -16px oklch(0.18 0.02 250 / 0.12); }
.deal-card.ai-aura::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  box-shadow:
    0 0 0 1px color-mix(in oklch, var(--ai) 22%, transparent),
    0 0 40px -4px oklch(0.78 0.13 78 / 0.25);
  pointer-events: none; opacity: .85;
}
.satellite-card { position: absolute; }
.satellite-incoming::after,
.satellite-task::before,
.satellite-risk::after {
  content: ""; position: absolute; top: 50%; width: 36px; height: 1px;
}
.satellite-incoming::after { right: -34px; background: linear-gradient(90deg, var(--hair-2), transparent); }
.satellite-task::before    { left: -34px;  background: linear-gradient(90deg, transparent, var(--hair-2)); }

/* Trust — slim strip between hero and pains */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--hair); padding: 0; }
.trust-strip .trust-inner { padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.trust-strip .trust-facts { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-strip .trust-fact { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.trust-strip .trust-fact strong { font-weight: 600; color: var(--ink); }
.trust-strip .platforms { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.trust-strip .platforms .pill { padding: 3px 9px; border-radius: 6px; background: var(--surface-2); font-family: var(--f-mono); font-size: 11px; color: var(--muted); border: 1px solid var(--hair); }

/* Pains — typography 2-col instead of card grid */
.pain-grid { grid-template-columns: repeat(2, 1fr); column-gap: 56px; row-gap: 0; }
.pain-card {
  display: block !important;           /* override base grid 3-col → typography flow */
  grid-template-columns: none !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--hair) !important;
  border-radius: 0 !important;
  padding: 26px 0 26px 56px !important;
  position: relative;
  box-shadow: none !important;
}
.pain-card:nth-child(1), .pain-card:nth-child(2) { border-top-color: var(--ink) !important; }
.pain-card .tiny.mono.muted {
  position: absolute; left: 0; top: 28px;
  font-family: var(--f-mono); font-size: 12px; color: var(--faint); letter-spacing: .04em;
  display: block;
}
.pain-card h3 { font-size: 17px; margin: 0 0 6px; line-height: 1.25; max-width: none; }
.pain-card p { font-size: 14px; color: var(--muted); margin: 0; max-width: none; grid-column: auto; }

@media (max-width: 720px) {
  .pain-card { padding: 22px 0 22px 36px !important; }
  .pain-card .tiny.mono.muted { top: 24px; }
}

/* Scenarios — flagship gets AI badge + hover lift */
.scenario-card-featured {
  position: relative; transition: transform .2s, box-shadow .2s, border-color .2s;
  border-radius: 14px;
}
.scenario-card-featured:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--hair-2); }
.scenario-card-featured::before {
  content: "AI"; position: absolute; top: 16px; right: 16px;
  padding: 3px 8px; border-radius: 999px;
  background: var(--ai-soft); color: var(--ai-ink);
  border: 1px solid color-mix(in oklch, var(--ai) 28%, white);
  font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: .04em;
}
.scenario-card .btn-secondary { transition: border-color .15s, color .15s; }
.scenario-card:hover { border-color: var(--hair-2); }
.scenario-card:hover .btn-secondary { border-color: var(--ink); }

/* Section spacing */
.section { padding: 96px 0; }
@media (max-width: 920px) { .section { padding: 64px 0; } .hero { padding: 56px 0 56px; } }

/* Filter pills in scenarios */
.scenario-tools .platforms .pill { padding: 7px 14px; border-radius: 999px; font-family: var(--f-mono); font-size: 12px; cursor: default; transition: background .15s, color .15s, border-color .15s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .scenario-card-featured:hover { transform: none; }
  .btn:hover .arr { transform: none; }
}

/* =====================================================================
 * v4 Polish — calm CRM operating system direction
 * Mood: Linear / Notion / Stripe Dashboard. Не AI-витрина, не sci-fi.
 * Источник: docs/intake/2026-05-23-v4-polish/claude-design-result/
 * Принимается merge от 2026-05-23.
 * ===================================================================== */

/* --- Tokens additions --- */
:root {
  --tint-warm: oklch(0.974 0.018 75);
}

/* --- Global form labels (главная правка v4: снять mono-uppercase) --- */
.field-control label,
.choice-label {
  font-family: inherit;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.required {
  color: var(--risk);
  font-size: 12px;
  font-weight: 600;
}

/* --- Input focus ring --- */
input, textarea, select { border: 1px solid var(--hair-2); }
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ink) 10%, transparent);
}

/* --- Form note мягче --- */
.form-note {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--faint);
  text-align: left;
  line-height: 1.5;
  max-width: 56ch;
}

/* --- Form kicker (заменяет mono+chip header) --- */
.form-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--hair);
  border-top: 0;
}
.form-kicker .title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.form-kicker .meta {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.04em;
}

/* --- Submit row --- */
.form-submit-row {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.form-submit-row .btn { min-width: 200px; }

/* --- Form success (заменяет старый success-panel визуально, но класс .success-panel остаётся для JS) --- */
.form-card.is-success .success-panel,
.form-card.is-success .form-success {
  display: grid;
  gap: 16px;
  padding: 28px;
  text-align: center;
  background: linear-gradient(180deg, var(--ok-soft), var(--surface) 75%);
  border: 1px solid color-mix(in oklch, var(--ok) 30%, white);
  border-radius: var(--r-md);
}
.success-panel .check,
.form-success .check {
  width: 56px; height: 56px; margin: 0 auto;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--ok);
  display: grid; place-items: center;
  color: var(--ok); font-size: 26px; font-weight: 700;
  box-shadow: 0 0 0 6px color-mix(in oklch, var(--ok) 12%, transparent);
}

/* --- Choice chip cleaner (uses plain span instead of pill nested) --- */
.choice-chip span {
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--hair-2); background: var(--surface);
  font-size: 13px; color: var(--ink-2);
  transition: border-color .12s, background .12s, color .12s;
}
.choice-chip:hover span { border-color: var(--ink-2); }
.choice-chip input:checked + span {
  background: var(--ink); color: white; border-color: var(--ink);
}

/* =====================================================================
 * v4 · #lead-magnet — 7 зон + quiet callout
 * ===================================================================== */
.lm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
  gap: 48px;
  align-items: start;
}
.lm-zones {
  display: grid; gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--hair);
}
.lm-zone {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 16px; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
}
.lm-zone-num {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--faint); letter-spacing: 0.06em;
}
.lm-zone-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.lm-zone-kind {
  font-family: var(--f-mono); font-size: 10px;
  color: var(--muted);
  padding: 2px 7px; border-radius: 4px;
  background: var(--surface-2);
}
.lm-callout {
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 2px solid var(--brand);
  background: var(--surface);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 14px;
  color: var(--ink-2);
}

@media (max-width: 1080px) {
  .lm-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .lm-zone { grid-template-columns: 36px 1fr; }
  .lm-zone-kind { grid-column: 2; justify-self: start; margin-top: 2px; }
}

/* =====================================================================
 * v4 · #reanimator — pipeline + checkpoint + legal-guard glued
 * ===================================================================== */
#reanimator.section.cool,
#reanimator {
  background:
    radial-gradient(800px 400px at 90% -10%, oklch(0.96 0.05 80 / 0.4), transparent 55%),
    var(--tint-warm);
}
.re-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}
.re-head h2 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--ink), var(--brand) 80%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.re-cta-row { display: flex; justify-content: flex-end; }
.re-pipeline {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-md) var(--r-md) 0 0;
  padding: 32px;
  margin-bottom: -1px;
  box-shadow: var(--sh-1);
}
.re-pipeline-rail {
  position: absolute;
  top: 76px; left: 32px; right: 32px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--hair-2) 0 6px, transparent 6px 12px);
}
.re-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  position: relative;
}
.re-step { display: grid; gap: 10px; position: relative; }
.re-step-marker {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--hair-dark);
  display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 11px;
  color: var(--ink-2);
  position: relative; z-index: 1;
}
.re-step-card {
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  font-size: 13px; color: var(--ink-2);
  line-height: 1.4;
}
.re-step.checkpoint .re-step-marker {
  background: var(--ai);
  border-color: var(--ai-ink);
  color: var(--ink);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--ai) 18%, transparent);
}
.re-step.checkpoint .re-step-card {
  background: var(--ai-soft);
  border-color: color-mix(in oklch, var(--ai) 35%, white);
  position: relative;
}
.re-step.checkpoint .re-step-card::before {
  content: "контрольная точка";
  position: absolute;
  top: -8px; left: 12px;
  font-family: var(--f-mono); font-size: 10px;
  color: var(--ai-ink); background: var(--tint-warm);
  padding: 0 6px; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.re-guard {
  border: 1px solid var(--hair);
  border-top: 1px dashed var(--hair-2);
  border-radius: 0 0 var(--r-md) var(--r-md);
  padding: 20px 32px;
  background: var(--surface);
  margin-left: 32px; margin-right: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px; align-items: start;
}
.re-guard-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: var(--risk-soft); color: var(--risk);
  border: 1px solid color-mix(in oklch, var(--risk) 22%, white);
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.04em;
}
.re-guard p { font-size: 13px; color: var(--ink-2); line-height: 1.55; max-width: 64ch; }

@media (max-width: 1080px) {
  .re-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .re-cta-row { justify-content: flex-start; }
  .re-steps { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .re-pipeline-rail { display: none; }
}
@media (max-width: 720px) {
  .re-steps { grid-template-columns: 1fr; }
  .re-pipeline { padding: 20px; }
  .re-guard { margin: 0; grid-template-columns: 1fr; padding: 16px 20px; }
}

/* =====================================================================
 * v4 · #ladder — прогрессия фона + dashed rail + author aside
 * ===================================================================== */
.ladder-rail { position: relative; padding-top: 28px; }
.ladder-rail::before {
  content: "";
  position: absolute;
  top: 44px; left: 0; right: 0; height: 1px;
  background: repeating-linear-gradient(90deg, var(--hair-2) 0 4px, transparent 4px 8px);
}
.ladder-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
}
.ladder-row .ladder-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  padding: 18px;
  display: grid; gap: 8px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  color: inherit;
}
.ladder-row .ladder-step:hover { border-color: var(--ink-2); }
.ladder-row .ladder-step:nth-child(3),
.ladder-row .ladder-step:nth-child(4) { background: var(--surface-2); }
.ladder-row .ladder-step:nth-child(5) { background: var(--surface-3); }
.ladder-row .ladder-step:nth-child(6) {
  background: var(--ink); color: white;
  border-color: var(--ink);
  box-shadow: var(--sh-2);
}
.ladder-row .ladder-step:nth-child(6):hover { transform: translateY(-2px); }
.ladder-row .ladder-step h3 { font-size: 15px; line-height: 1.25; color: inherit; }
.ladder-row .ladder-step .mono.tiny { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--faint); }
.ladder-row .ladder-step:nth-child(6) .mono.tiny { color: rgba(255, 255, 255, 0.55); }
.ladder-row .ladder-step p { font-size: 12px; color: var(--muted); line-height: 1.4; }
.ladder-row .ladder-step:nth-child(6) p { color: rgba(255, 255, 255, 0.7); }
.ladder-row .ladder-step::before {
  content: "";
  position: absolute;
  top: -32px; left: 24px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--hair-dark);
}
.ladder-row .ladder-step:nth-child(6)::before {
  background: var(--ai); border-color: var(--ai-ink);
}

.ladder-aside {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  border-left: 3px solid var(--brand);
}
.ladder-aside-author { display: flex; align-items: center; gap: 16px; }
.ladder-aside-author .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-soft), var(--brand) 200%);
  display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 13px; font-weight: 600;
  color: var(--brand-ink);
  border: 1px solid color-mix(in oklch, var(--brand) 22%, white);
}
.ladder-aside-author .avatar-photo {
  width: 96px; height: 112px;
  border-radius: 14px;
  object-fit: cover;
  object-position: 40% 28%;
  border: 1px solid color-mix(in oklch, var(--brand) 22%, white);
  box-shadow: 0 4px 12px -2px oklch(0.18 0.02 250 / 0.12), 0 1px 2px oklch(0.18 0.02 250 / 0.06);
  flex-shrink: 0;
}
.ladder-aside-author .who { display: grid; gap: 2px; }
.ladder-aside-author .name { font-size: 13px; font-weight: 600; color: var(--ink); }
.ladder-aside-author .role { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; }
.ladder-aside p { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.ladder-aside p strong { color: var(--ink); font-weight: 600; }

@media (max-width: 1080px) {
  .ladder-row { grid-template-columns: repeat(3, 1fr); }
  .ladder-rail::before { display: none; }
  .ladder-row .ladder-step::before { display: none; }
}
@media (max-width: 720px) {
  .ladder-row { grid-template-columns: 1fr; }
  .ladder-aside { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
}

/* =====================================================================
 * v4 · #scenarios — статичные категории + compact footer
 * ===================================================================== */
.sc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.sc-tag {
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 11px;
  background: var(--surface); color: var(--muted);
  border: 1px solid var(--hair);
  letter-spacing: 0.02em;
}

/* Compact scenarios — expand-on-hover for "Что делаем" + "Результат" */
@media (hover: hover) and (pointer: fine) {
  .scenario-compact-grid .scenario-card .scenario-body p:nth-child(n+2) {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height .25s ease, opacity .18s ease, margin-top .18s ease;
  }
  .scenario-compact-grid .scenario-card:hover .scenario-body p:nth-child(n+2),
  .scenario-compact-grid .scenario-card:focus-within .scenario-body p:nth-child(n+2) {
    max-height: 140px;
    opacity: 1;
    margin-top: 8px;
  }
  .scenario-compact-grid .scenario-card .scenario-body { transition: margin-bottom .18s ease; }
}
@media (prefers-reduced-motion: reduce) {
  .scenario-compact-grid .scenario-card .scenario-body p:nth-child(n+2) { transition: none !important; }
}

/* =====================================================================
 * v4 · #how-we-run — track + anchor step
 * ===================================================================== */
.run-track { position: relative; padding-top: 36px; }
.run-track::before {
  content: "";
  position: absolute;
  top: 50px; left: 14px; right: 14px;
  height: 1px;
  background: linear-gradient(90deg, var(--hair) 0%, var(--hair-2) 80%, var(--ink) 100%);
}
.run-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
}
.run-grid .run-step { display: grid; gap: 10px; }
.run-marker {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--hair-dark);
  display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 12px;
  font-weight: 600; color: var(--ink-2);
  position: relative; z-index: 1;
}
.run-grid .run-step h3 { font-size: 15px; line-height: 1.25; }
.run-grid .run-step .meta {
  font-family: var(--f-mono); font-size: 10.5px;
  color: var(--faint); letter-spacing: 0.04em;
}
.run-grid .run-step p { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.run-grid .run-step.is-anchor .run-marker {
  background: var(--ink); color: white;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--ink) 12%, transparent);
}
.run-grid .run-step.is-anchor h3 { color: var(--ink); }

@media (max-width: 1080px) {
  .run-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .run-track::before { display: none; }
}
@media (max-width: 720px) {
  .run-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* =====================================================================
 * v4 · #support — 3 уровня + future placeholder
 * ===================================================================== */
.sup-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}
.sup-left .lead { max-width: 32ch; margin: 14px 0 24px; }
.sup-tiers { display: grid; gap: 14px; }
.sup-tier {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px; align-items: start;
  transition: border-color .15s, box-shadow .15s;
}
.sup-tier:hover { border-color: var(--ink-2); box-shadow: var(--sh-1); }
.sup-tier-head { display: grid; gap: 6px; }
.sup-tier-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.06em; color: var(--muted);
}
.sup-tier-kicker .num {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface-2); color: var(--ink-2);
  font-size: 10px;
}
.sup-tier h3 { font-size: 17px; }
.sup-tier .desc { font-size: 13px; color: var(--ink-2); line-height: 1.5; max-width: 56ch; }
.sup-tier-meta { text-align: right; display: grid; gap: 4px; }
.sup-tier-meta .freq {
  font-family: var(--f-mono); font-size: 10.5px;
  color: var(--faint); letter-spacing: 0.04em;
}
.sup-tier-meta .level { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.sup-tier:nth-child(1) { border-left: 3px solid var(--hair-dark); }
.sup-tier:nth-child(2) { border-left: 3px solid var(--brand); }
.sup-tier:nth-child(3) {
  border-left: 3px solid var(--ai);
  background: linear-gradient(90deg, var(--surface) 78%, var(--ai-soft) 100%);
}
.sup-tier:nth-child(3) .sup-tier-kicker .num { background: var(--ai-soft); color: var(--ai-ink); }
.sup-tier.future {
  background: var(--surface-2);
  border: 1px dashed var(--hair-2);
  border-left: 1px dashed var(--hair-2);
  opacity: 0.78;
}
.sup-tier.future .desc::after {
  content: "скоро";
  display: inline-block; margin-left: 6px;
  padding: 2px 8px; border-radius: 999px;
  background: var(--surface); color: var(--muted);
  border: 1px solid var(--hair);
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.04em;
}

@media (max-width: 1080px) {
  .sup-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .sup-tier { grid-template-columns: 1fr; gap: 12px; }
  .sup-tier-meta { text-align: left; }
}

/* =====================================================================
 * v4 · #legal — legal-promise + 5 modes с цветовой температурой
 * ===================================================================== */
.legal-promise {
  margin-bottom: 32px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-left: 3px solid var(--ok);
  border-radius: var(--r-md);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px; align-items: start;
  box-shadow: var(--sh-1);
}
.legal-promise-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ok-soft); color: var(--ok);
  border: 1px solid color-mix(in oklch, var(--ok) 22%, white);
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.legal-promise-chip .dot { background: var(--ok); }
.legal-promise-body h3 { font-size: 17px; margin-bottom: 10px; }
.legal-promise-body .pills {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 12px;
}
.legal-promise-body .pills .pill { font-size: 12px; padding: 4px 10px; background: var(--surface-2); }

.legal-modes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
}
.legal-mode {
  padding: 22px 18px;
  border-right: 1px solid var(--hair);
  display: grid; gap: 10px;
  position: relative;
}
.legal-mode:last-child { border-right: 0; }
.legal-mode-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.06em; color: var(--muted);
  text-transform: uppercase;
}
.legal-mode-tag .marker { width: 8px; height: 8px; border-radius: 2px; }
.legal-modes .legal-mode:nth-child(1) .legal-mode-tag .marker { background: var(--ok); }
.legal-modes .legal-mode:nth-child(2) .legal-mode-tag .marker { background: color-mix(in oklch, var(--ok) 60%, var(--brand)); }
.legal-modes .legal-mode:nth-child(3) .legal-mode-tag .marker { background: var(--brand); }
.legal-modes .legal-mode:nth-child(4) .legal-mode-tag .marker { background: var(--brand-ink); }
.legal-modes .legal-mode:nth-child(5) .legal-mode-tag .marker { background: var(--ai-ink); }
.legal-mode h3 { font-size: 15px; color: var(--ink); }
.legal-mode p { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

.legal-mode-rail {
  display: flex; justify-content: space-between;
  padding: 12px 18px;
  font-family: var(--f-mono); font-size: 10.5px;
  color: var(--faint);
  background: var(--surface-2);
  border-radius: 0 0 var(--r-md) var(--r-md);
  margin-top: -1px;
  border: 1px solid var(--hair); border-top: 0;
}

.legal-links {
  margin-top: 24px;
  padding: 18px 0;
  border-top: 1px dashed var(--hair);
  display: flex; gap: 24px; flex-wrap: wrap; align-items: center;
}
.legal-links .label {
  font-family: var(--f-mono); font-size: 10.5px;
  color: var(--muted); letter-spacing: 0.04em;
  text-transform: uppercase;
}
.legal-links a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--ink); text-decoration: none;
  padding: 5px 0;
  border-bottom: 1px solid var(--hair-dark);
  transition: border-color .15s, color .15s;
}
.legal-links a:hover { border-color: var(--ink); }
.legal-links a .v {
  font-family: var(--f-mono); font-size: 10px;
  color: var(--faint); letter-spacing: 0.02em;
}
.legal-links .pending {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: var(--risk-soft); color: var(--risk);
  border: 1px solid color-mix(in oklch, var(--risk) 20%, white);
  font-family: var(--f-mono); font-size: 10.5px;
}

@media (max-width: 1080px) {
  .legal-modes { grid-template-columns: repeat(2, 1fr); }
  .legal-mode:nth-child(odd) { border-right: 1px solid var(--hair); }
  .legal-mode:nth-child(even) { border-right: 0; }
  .legal-mode:nth-child(-n+4) { border-bottom: 1px solid var(--hair); }
  .legal-mode:last-child { grid-column: span 2; border-bottom: 0; }
  .legal-mode-rail { display: none; }
}
@media (max-width: 720px) {
  .legal-promise { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .legal-modes { grid-template-columns: 1fr; }
  .legal-mode { border-right: 0; border-bottom: 1px solid var(--hair); }
  .legal-mode:last-child { border-bottom: 0; }
}

/* =====================================================================
 * v4 · #audit-form — sticky aside + 3 sections + gradient top
 * ===================================================================== */
.audit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: start;
}
.audit-left { position: sticky; top: 80px; }
.audit-left .lead { max-width: 36ch; margin-bottom: 24px; }
.audit-perks {
  display: grid; gap: 0;
  border-top: 1px solid var(--hair);
}
.audit-perk {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px; align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 13px;
}
.audit-perk-num {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--faint); letter-spacing: 0.04em;
}
.audit-perk-text { color: var(--ink-2); line-height: 1.45; }

.audit-card {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  padding: 32px;
  box-shadow: var(--sh-2);
  position: relative;
}
.audit-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--ink) 70%, var(--ai) 100%);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.audit-form-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 20px; margin-bottom: 22px;
  border-bottom: 1px solid var(--hair);
}
.audit-form-head h3 { font-size: 16px; font-weight: 600; }
.audit-form-progress {
  display: flex; gap: 4px;
  font-family: var(--f-mono); font-size: 10.5px;
  color: var(--muted); letter-spacing: 0.04em;
}
.audit-form-progress .step {
  padding: 3px 8px; border-radius: 4px;
  background: var(--surface-2);
}
.audit-form-progress .step.is-current { background: var(--ink); color: white; }

.audit-form-section {
  padding-top: 22px;
  border-top: 1px dashed var(--hair);
  margin-top: 22px;
}
.audit-form-section:first-of-type {
  padding-top: 0; border-top: 0; margin-top: 0;
}
.audit-form-section .head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.audit-form-section .head .num {
  font-family: var(--f-mono); font-size: 10.5px;
  color: var(--muted); letter-spacing: 0.04em;
}
.audit-form-section h4 { font-size: 14px; font-weight: 600; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 1080px) {
  .audit-grid { grid-template-columns: 1fr; gap: 32px; }
  .audit-left { position: static; }
}
@media (max-width: 720px) {
  .audit-card { padding: 22px; }
  .field-row { grid-template-columns: 1fr; }
}

/* =====================================================================
 * v4 · #faq — mono counter + open state surface
 * ===================================================================== */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-list .faq-item {
  border-bottom: 1px solid var(--hair);
  padding: 4px 0;
}
.faq-list .faq-item:first-child { border-top: 1px solid var(--hair); }
.faq-list .faq-item summary {
  list-style: none;
  display: grid;
  grid-template-columns: 44px 1fr 32px;
  gap: 16px; align-items: center;
  padding: 22px 4px;
  cursor: pointer;
  transition: background .15s;
}
.faq-list .faq-item summary::-webkit-details-marker { display: none; }
.faq-list .faq-item summary:hover { background: oklch(0.97 0.005 85); }
.faq-list .faq-item .num {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--faint); letter-spacing: 0.06em;
}
.faq-list .faq-item .q {
  font-size: 16px; font-weight: 600; color: var(--ink);
  line-height: 1.35;
}
.faq-list .faq-item .toggle {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted);
  font-family: var(--f-mono); font-size: 18px;
  line-height: 1; font-weight: 400;
  transition: transform .2s, color .15s;
}
.faq-list .faq-item[open] .toggle { transform: rotate(45deg); color: var(--ink); }
.faq-list .faq-item[open] {
  background: oklch(0.985 0.006 250);
  border-radius: var(--r);
  border-bottom-color: transparent;
}
.faq-list .faq-item .a {
  padding: 0 4px 22px 64px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 64ch;
}

@media (max-width: 720px) {
  .faq-list .faq-item summary { grid-template-columns: 32px 1fr 26px; gap: 12px; padding: 18px 4px; }
  .faq-list .faq-item .a { padding-left: 44px; }
}

/* =====================================================================
 * v4 · #final-cta — grid pattern + gradient em + aside
 * ===================================================================== */
.final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 280px at 88% 18%, oklch(0.78 0.13 78 / 0.16), transparent 65%),
    radial-gradient(800px 400px at 8% 88%, oklch(0.48 0.13 222 / 0.12), transparent 65%),
    var(--ink);
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center;
  mask-image: radial-gradient(800px 600px at 50% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(800px 600px at 50% 50%, black, transparent 80%);
  pointer-events: none;
}
.final-cta .final-grid { position: relative; }
.final-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}
.final-eyebrow .dot { background: var(--ai); }
.final-cta h2 em {
  font-style: normal;
  background: linear-gradient(110deg, white, oklch(0.78 0.13 78) 80%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.final-actions .btn-ai {
  font-size: 15px; min-height: 52px;
  font-weight: 700;
  box-shadow: 0 8px 24px -8px oklch(0.78 0.13 78 / 0.5);
}
.final-actions .btn-light { color: var(--ink); }
.final-actions .btn-ghost-light {
  background: transparent; color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.final-actions .btn-ghost-light:hover { border-color: rgba(255, 255, 255, 0.5); }
.final-aside {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--f-mono);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

@media (max-width: 1080px) {
  .final-cta .final-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .final-cta { padding: 64px 0; }
  .final-actions .btn { width: 100%; }
}

/* =====================================================================
 * v4 · reduced motion — extend
 * ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .ladder-row .ladder-step:nth-child(6):hover { transform: none; }
  .sc-compact:hover .footer .arr { transform: none; }
}

/* =====================================================================
 * v4.1 Tripwire conversion — hybrid mode + post-submit pre-call
 * Источник: docs/intake/2026-05-23-conversion-assets/claude-design-result/
 * Tripwire Hybrid Flow.html. Принимается merge от 2026-05-23.
 * Inline styles из showcase перенесены в классы здесь.
 * ===================================================================== */

/* Head — 2-col: title + hybrid badge */
#tripwire .tw-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}
#tripwire .tw-head h2 { max-width: 24ch; margin-top: 14px; }
#tripwire .tw-head h2 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--ink) 30%, var(--brand) 95%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
#tripwire .tw-head .lead { margin-top: 14px; max-width: 56ch; font-size: 16px; }

.tw-head-side {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  border-left: 3px solid var(--brand);
  box-shadow: var(--sh-1);
}
.tw-head-side .price-mode-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--ai-soft);
  border: 1px solid color-mix(in oklch, var(--ai) 28%, white);
  color: var(--ai-ink);
  font-family: var(--f-mono); font-size: 10.5px;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.tw-head-side h3 { font-size: 15px; line-height: 1.3; max-width: 22ch; }
.tw-head-side .opts {
  display: grid; gap: 6px;
  padding-left: 4px; margin: 0;
  font-size: 13px;
  color: var(--ink-2);
  list-style: none;
}
.tw-head-side .opts li {
  display: grid; grid-template-columns: 14px 1fr; gap: 8px; align-items: baseline;
}
.tw-head-side .opts li::before {
  content: "→";
  font-family: var(--f-mono); color: var(--brand);
  font-weight: 700; font-size: 11px;
}
.tw-head-side .note {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed var(--hair-2);
  font-size: 11.5px;
  color: var(--muted);
  font-family: var(--f-mono); line-height: 1.55; letter-spacing: 0.02em;
}

/* Qualification flow (3 steps explainer) */
.qual-flow {
  margin-top: 4px;
  padding: 24px 28px;
  background:
    radial-gradient(700px 320px at 92% -10%, color-mix(in oklch, var(--brand-soft) 70%, transparent), transparent 60%),
    var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
}
.qual-flow .qf-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.qual-flow .qf-title { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.qual-flow .qf-meta {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.04em;
}
.qf-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
.qf-steps::before {
  content: "";
  position: absolute;
  top: 18px; left: 36px; right: 36px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--hair-2) 0 5px, transparent 5px 10px);
}
.qf-step { display: grid; gap: 10px; position: relative; }
.qf-step-marker {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--hair-dark);
  display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 12px; font-weight: 600;
  color: var(--ink-2);
  position: relative; z-index: 1;
}
.qf-step:last-child .qf-step-marker { background: var(--ink); color: var(--ai); border-color: var(--ink); }
.qf-step h4 { font-size: 14px; font-weight: 600; margin: 0; }
.qf-step p { font-size: 13px; color: var(--muted); line-height: 1.45; margin: 0; }
.qf-step .meta {
  font-family: var(--f-mono); font-size: 10.5px;
  color: var(--faint); letter-spacing: 0.04em;
}

/* Body grid (2-col) */
#tripwire .tw-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* Что входит */
.tw-includes {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
  display: flex; flex-direction: column;
}
.tw-includes-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--hair);
}
.tw-includes-head h3 { font-size: 17px; margin: 0; }
.tw-includes-head .duration {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--hair);
  font-family: var(--f-mono); font-size: 11px; font-weight: 600;
  color: var(--ink-2); letter-spacing: 0.02em;
}
.tw-includes-head .duration::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ai);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ai) 20%, transparent);
}
.tw-feature-list { display: grid; gap: 0; }
.tw-feature {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px; align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--hair);
}
.tw-feature:first-child { border-top: 0; padding-top: 0; }
.tw-feature.is-primary {
  margin: -4px 0 2px;
  padding: 16px;
  background: var(--surface-2);
  border-radius: var(--r);
  border-top: 0;
  position: relative;
}
.tw-feature.is-primary::after {
  content: "главное";
  position: absolute; top: -8px; right: 14px;
  font-family: var(--f-mono); font-size: 10px;
  padding: 1px 8px; border-radius: 999px;
  background: var(--ink); color: white;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.tw-feature .num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--hair-dark);
  display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 11px;
  color: var(--ink-2);
}
.tw-feature.is-primary .num { background: var(--ink); color: var(--ai); border-color: var(--ink); }
.tw-feature .body strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.tw-feature .body .desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

.tw-includes-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--hair-2);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.tw-includes-foot .tag {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--faint); letter-spacing: 0.04em;
}
.tw-includes-foot .tag strong { color: var(--ink-2); }

/* Form card (with post-submit) */
.tw-form-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  position: relative;
}
.tw-form-card.is-submitted .lead-form,
.tw-form-card.is-submitted > .form-kicker { display: none; }
.tw-form-card .post-submit { display: none; }
.tw-form-card.is-submitted .post-submit { display: block; animation: tw-riseIn .32s ease-out; }
@keyframes tw-riseIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .tw-form-card.is-submitted .post-submit { animation: none; }
}

/* Post-submit experience */
.ps-success-head {
  display: flex; gap: 14px; align-items: center;
  padding-bottom: 18px; margin-bottom: 20px;
  border-bottom: 1px solid var(--hair);
}
.ps-check {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ok-soft);
  border: 2px solid var(--ok);
  display: grid; place-items: center;
  color: var(--ok); font-size: 20px; font-weight: 700;
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--ok) 12%, transparent);
  flex: 0 0 44px;
}
.ps-success-head .info h3 { font-size: 16px; margin: 0; }
.ps-success-head .info p { font-size: 13px; color: var(--muted); margin: 2px 0 0; }

.ps-headline { margin-bottom: 18px; }
.ps-headline strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.ps-headline p { font-size: 13.5px; color: var(--muted); margin: 0; }

.ps-progress {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 4px; margin-bottom: 18px;
}
.ps-progress span {
  height: 4px; border-radius: 2px;
  background: var(--hair);
}
.ps-progress span.is-active { background: var(--brand); }
.ps-progress span.is-done { background: var(--ok); }

.ps-step { display: none; }
.ps-step.is-active { display: block; }

.ps-q { font-size: 16px; font-weight: 600; line-height: 1.3; margin: 0 0 4px; color: var(--ink); }
.ps-q-hint { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; }
.ps-q-label {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 8px 0 6px;
}
.ps-q-label.spaced { margin-top: 14px; }

.ps-options { display: grid; gap: 8px; }
.ps-option {
  width: 100%;
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: center;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--hair-2);
  border-radius: var(--r);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink); font-size: 14px;
  transition: border-color .15s, background .15s;
}
.ps-option:hover { border-color: var(--ink-2); background: var(--surface-2); }
.ps-option .marker {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--hair-dark);
  flex: 0 0 16px;
}
.ps-option.is-selected { border-color: var(--ink); background: color-mix(in oklch, var(--surface) 90%, var(--ai-soft)); }
.ps-option.is-selected .marker {
  border-color: var(--ink); background: var(--ink);
  box-shadow: inset 0 0 0 3px var(--surface);
}

.ps-time-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-bottom: 12px;
}
.ps-time-grid .ps-option {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 16px 10px;
  font-size: 13.5px;
  font-weight: 600;
}
.ps-time-grid .ps-option .marker { display: none; }
.ps-time-grid .ps-option .sub {
  display: block;
  font-family: var(--f-mono); font-size: 10.5px;
  font-weight: 500; color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: 4px;
}
.ps-time-grid .ps-option.is-selected .sub { color: var(--ai-ink); }

.ps-days-row {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.ps-day {
  flex: 1; min-width: 70px;
  padding: 12px 10px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--hair-2);
  cursor: pointer;
  display: grid; place-items: center; gap: 2px;
  font-family: var(--f-mono); font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  transition: border-color .15s, background .15s;
}
.ps-day:hover { border-color: var(--ink-2); background: var(--surface-2); }
.ps-day .num {
  font-size: 17px; font-weight: 700; color: var(--ink);
  font-family: var(--f-ui);
  letter-spacing: -0.02em;
}
.ps-day.is-selected { border-color: var(--ink); background: var(--ink); color: rgba(255,255,255,0.75); }
.ps-day.is-selected .num { color: white; }

.ps-textarea-row { margin-top: 14px; }
.ps-textarea-row .opt-lbl { font-weight: 400; font-size: 11px; color: var(--muted); }

.ps-step-nav {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.ps-skip {
  font-family: var(--f-mono); font-size: 11.5px;
  color: var(--faint); letter-spacing: 0.02em;
  cursor: pointer; background: none; border: 0; padding: 0;
}
.ps-skip:hover { color: var(--muted); }
.ps-back-arr { display: inline-block; transform: rotate(180deg); }

.ps-final {
  display: none;
  padding: 28px 24px;
  background: linear-gradient(180deg, var(--ok-soft), var(--surface) 80%);
  border: 1px solid color-mix(in oklch, var(--ok) 30%, white);
  border-radius: var(--r-md);
  text-align: center;
}
.ps-final.is-active { display: block; }
.ps-final .check {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--surface); border: 2px solid var(--ok);
  display: grid; place-items: center;
  color: var(--ok); font-size: 24px; font-weight: 700;
  box-shadow: 0 0 0 6px color-mix(in oklch, var(--ok) 12%, transparent);
}
.ps-final h3 { font-size: 18px; margin: 0 0 8px; }
.ps-final p { font-size: 14px; color: var(--ink-2); max-width: 44ch; margin: 0 auto; line-height: 1.55; }
.ps-final-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed color-mix(in oklch, var(--ok) 22%, var(--hair));
  font-family: var(--f-mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.02em;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.ps-final-links {
  margin-top: 16px;
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}

/* Promise strip */
.tw-promise {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  border-left: 3px solid var(--risk);
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
}
.tw-promise .chip { background: var(--risk-soft); color: var(--risk); border-color: color-mix(in oklch, var(--risk) 22%, white); }
.tw-promise p { font-size: 13px; color: var(--ink-2); line-height: 1.55; max-width: 72ch; margin: 0; }

@media (max-width: 1080px) {
  #tripwire .tw-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  #tripwire .tw-grid { grid-template-columns: 1fr; }
  .qf-steps { grid-template-columns: 1fr; }
  .qf-steps::before { display: none; }
}
@media (max-width: 720px) {
  #tripwire .tw-head h2 { font-size: 28px; }
  .qual-flow, .tw-includes, .tw-form-card { padding: 22px; }
  .tw-feature.is-primary { padding: 14px; }
  .ps-time-grid { grid-template-columns: 1fr; }
  .ps-day { min-width: 0; }
}
