/* ==========================================================================
   HealthyWolf — дизайн-система «Лабораторный отчёт».
   Единый CSS для всех страниц (RU в корне, EN в /en/).
   Тёплая бумага, чернила, единственный акцент — оранжевый (только по делу).
   ========================================================================== */

/* -------- токены -------- */
:root {
  --paper:   #F4F1EA;   /* фон — тёплая бумага */
  --paper-2: #EEEAE0;   /* чуть темнее для плашек */
  --ink:     #16150F;   /* текст — чернила */
  --ink-2:   #6F6B60;   /* вторичный текст (AA на бумаге ≈ 4.7:1) */
  --line:    #D8D3C6;   /* линии, волосяные разделители */
  --line-2:  #C7C1B2;   /* линии чуть контрастнее */
  --accent:  #E4572E;   /* ЕДИНСТВЕННЫЙ акцент */
  --cream:   #EFEBE0;   /* текст на тёмной секции */
  --cream-2: #A8A296;   /* вторичный текст на тёмной секции */

  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", var(--sans);

  --maxw: 1080px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 4px;
}

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

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

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

img { max-width: 100%; display: block; }
a { color: inherit; }

/* -------- типографика -------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}
h1 { font-size: clamp(32px, 8vw, 60px); }
h2 { font-size: clamp(26px, 6vw, 42px); }
h3 { font-size: clamp(20px, 4.5vw, 28px); }

p { margin: 0 0 1em; max-width: 62ch; }
strong, b { font-weight: 600; }
em { font-style: italic; }

.accent { color: var(--accent); }
em.accent, .accent em { font-style: italic; }

/* mono-лейбл / данные */
.mono {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
}
.mono.sm { font-size: 10.5px; letter-spacing: 0.16em; }

/* mono-штамп в тонкой рамке [ ... ] */
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 7px 12px;
  background: transparent;
}
.stamp .dot { color: var(--accent); }

/* линейка-разделитель с mono-подписью: —— 01 · РАЗДЕЛ —— */
.rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--ink-2);
  font-weight: 500;
}
.rule::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.rule .num { color: var(--accent); }

/* контурные (stroke-only) огромные цифры */
.ghost-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 14vw, 120px);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-2);
  letter-spacing: -0.02em;
}

/* -------- сетка / секции -------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { padding: clamp(56px, 11vw, 104px) 0; }
section.tight { padding: clamp(40px, 8vw, 72px) 0; }
.divider { border: none; border-top: 1px solid var(--line); margin: 0; }

/* -------- кнопки -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 500;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  -webkit-appearance: none;
  appearance: none;
}
.btn:hover { background: transparent; color: var(--ink); }

.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: transparent; color: var(--accent); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* ghost-кнопка на тёмной секции */
.dark .btn--ghost { color: var(--cream); border-color: var(--cream); }
.dark .btn--ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.btn--sm { padding: 11px 18px; font-size: 12px; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* на мобиле основные CTA — на всю ширину (отступы 20px даёт .wrap) */
@media (max-width: 480px) {
  .btn:not(.btn--sm) { width: 100%; justify-content: center; }
  .hero__cta { width: 100%; }
  .result__actions { flex-direction: column; }
}

/* текст-ссылка со стрелкой */
.tlink {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: border-color .18s;
}
.tlink:hover { border-color: var(--accent); }

/* -------- NAV -------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__in { max-width: var(--maxw); margin: 0 auto; padding: 12px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__ico { height: 28px; width: auto; display: block; }
.brand__name { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.brand__name b { font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 11.5px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: color .15s;
}
.nav__links a:hover { color: var(--ink); }

.lang {
  display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius);
  overflow: hidden; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
}
.lang a { padding: 5px 9px; text-decoration: none; color: var(--ink-2); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }

.burger { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); width: 40px; height: 38px; cursor: pointer; align-items: center; justify-content: center; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); }
.burger span::before { top: -5px; } .burger span::after { top: 5px; }

@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: 57px 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 20px; transform: translateY(-120%); transition: transform .25s ease;
    box-shadow: 0 12px 24px rgba(0,0,0,.06);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); font-size: 13px; }
  .nav__links .lang { margin-top: 14px; }
  .burger { display: inline-flex; }
}

/* -------- HERO -------- */
.hero { position: relative; padding-top: clamp(40px, 8vw, 72px); }
/* едва заметная миллиметровка */
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(120% 80% at 70% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 80% at 70% 20%, #000 0%, transparent 72%);
  opacity: 0.5;
}
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero h1 { margin: 20px 0 22px; max-width: 15ch; }
.hero__sub { font-size: 17px; color: var(--ink-2); max-width: 44ch; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 26px; }
.hero__facts { font-size: 10.5px; }

@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__sub { max-width: 52ch; }
}

/* -------- КАРТА-КВАДРАНТ (прибор — единственная «коробка») -------- */
.quad {
  border: 1px solid var(--ink); border-radius: var(--radius); background: var(--paper);
  padding: 16px; position: relative;
}
.quad__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.quad__plotwrap { display: grid; grid-template-columns: 15px 1fr; grid-template-rows: 1fr 15px; gap: 5px; }
.quad__plot { grid-column: 2; grid-row: 1; position: relative; aspect-ratio: 1 / 1; width: 100%; }
.quad__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.quad__label {
  position: absolute; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink); line-height: 1.22; max-width: 44%;
}
.quad__label small { display: block; color: var(--ink-2); letter-spacing: 0.05em; font-size: 8px; margin-top: 2px; text-transform: none; }
.quad__label.tl { top: 7px; left: 7px; }
.quad__label.tr { top: 7px; right: 7px; text-align: right; }
.quad__label.bl { bottom: 7px; left: 7px; }
.quad__label.br { bottom: 7px; right: 7px; text-align: right; }
.quad__axis-x, .quad__axis-y { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); align-self: center; justify-self: center; }
.quad__axis-x { grid-column: 2; grid-row: 2; }
.quad__axis-y { grid-column: 1; grid-row: 1; writing-mode: vertical-rl; rotate: 180deg; }

.quad__pt { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); transform: translate(-50%, 50%); }
.quad__pt::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--accent); opacity: .5; animation: pulse 2.6s ease-out infinite; }
.quad__pt.sample { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.quad__pt.sample::after { display: none; }
.quad__note { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-top: 10px; text-align: center; }

@keyframes pulse { 0% { transform: scale(.7); opacity: .7; } 70% { transform: scale(1.9); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .quad__pt::after { animation: none; } }

/* -------- 2 колонки (интро основателя, «сейчас/обычно») -------- */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (max-width: 800px) {
  .cols2 { grid-template-columns: 1fr; }
  .cols2.rev > *:first-child { order: 2; }
  /* на мобиле портрет основателя компактный и по центру колонки */
  .cols2 .photo { max-width: 280px; }
}

.lead {
  font-family: var(--display); font-weight: 500; font-size: clamp(19px, 3vw, 23px);
  line-height: 1.3; color: var(--ink); margin: 0 0 18px; max-width: 26ch;
}

/* фото в рамке (разрешённая «коробка») — портрет «голова и плечи» */
.photo { border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--paper-2); max-width: 360px; margin-inline: auto; }
.photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 15%; display: block; }
.photo__cap { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); padding: 10px 12px; border-top: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* -------- слот под видео -------- */
.videoslot {
  border: 1.5px dashed var(--line-2); border-radius: var(--radius); aspect-ratio: 16 / 9;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: var(--ink-2); background: var(--paper-2);
}
.videoslot .play { width: 54px; height: 54px; border: 1.5px solid var(--ink-2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.videoslot .play svg { width: 20px; height: 20px; }

/* -------- ЛЕДЖЕР (списки-строки вместо карточек) -------- */
.ledger { border-top: 1px solid var(--line); }
.ledger__row { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ledger__i { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.05em; }
.ledger__row h3 { font-size: clamp(17px, 3vw, 20px); font-family: var(--display); font-weight: 500; }
.ledger__row p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.ledger--tick .ledger__i { color: var(--accent); }

/* галочки-список */
.checks { list-style: none; padding: 0; margin: 18px 0 28px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.checks li::before { content: ""; }
.check-ic { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }

/* -------- ТЁМНАЯ секция (враг) -------- */
.dark { background: var(--ink); color: var(--cream); }
.dark h2 { color: var(--cream); }
.dark .rule { color: var(--cream-2); }
.dark .rule::after { background: #3a382e; }
.dark .stamp { color: var(--cream-2); border-color: #3a382e; }
.dark .enemy-line { font-family: var(--display); font-weight: 600; color: var(--accent); font-size: clamp(24px, 5vw, 34px); margin: 6px 0 18px; }
.dark p { color: var(--cream-2); }

/* -------- МЕТОД: 3 колонки с вертикальными линиями -------- */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 32px; }
.cols3 > div { padding: 4px clamp(16px, 3vw, 30px); border-left: 1px solid var(--line); }
.cols3 > div:first-child { border-left: none; padding-left: 0; }
.cols3 h3 { margin: 14px 0 6px; font-family: var(--display); font-weight: 500; }
.cols3 p { color: var(--ink-2); font-size: 15px; margin: 0; }
@media (max-width: 760px) {
  .cols3 { grid-template-columns: 1fr; }
  .cols3 > div { border-left: none; border-top: 1px solid var(--line); padding: 22px 0; }
  .cols3 > div:first-child { border-top: none; padding-top: 0; }
}

/* -------- ИСТОРИЯ (editorial с левой линией) -------- */
.story { max-width: 68ch; }
.story__body { border-left: 1px solid var(--line-2); padding-left: clamp(18px, 4vw, 34px); }
.story__body p { font-size: 16.5px; line-height: 1.75; max-width: 60ch; color: var(--ink); }
.story__body p:first-child::first-letter {
  font-family: var(--display); font-weight: 600; font-size: 3.1em; line-height: .8;
  float: left; margin: 6px 10px 0 0; color: var(--accent);
}

/* -------- FOOTER -------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.footer__in { display: flex; flex-wrap: wrap; gap: 22px 40px; justify-content: space-between; align-items: flex-start; }
.footer__brand { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; color: var(--ink-2); }
.footer__soc { display: flex; gap: 16px; align-items: center; }
.footer__soc a { color: var(--ink-2); transition: color .15s; }
.footer__soc a:hover { color: var(--accent); }
.footer__soc svg { width: 20px; height: 20px; display: block; }
.footer__legal { display: flex; gap: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer__legal a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid transparent; }
.footer__legal a:hover { border-color: var(--line-2); }

/* -------- fade-up при скролле (только если есть JS; иначе контент виден) -------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   ВОРОНКА ТЕСТА (/test/, /test/quiz/, /test/result/)
   ========================================================================== */
.funnel { min-height: 100vh; display: flex; flex-direction: column; }
.funnel .wrap { width: 100%; }
.center-narrow { max-width: 620px; margin: 0 auto; text-align: center; }

/* превью квадранта с 4 состояниями (на /test/) */
.quad-preview { max-width: 420px; margin: 32px auto 0; }
.type-list { list-style: none; padding: 0; margin: 26px 0 0; text-align: left; }
.type-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.type-list .tname { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; }
.type-list .tform { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); }

/* -------- QUIZ -------- */
.quiz { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.quiz__bar { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; margin-bottom: 40px; }
.quiz__bar > i { display: block; height: 100%; background: var(--accent); width: 0; transition: width .35s ease; }
.quiz__meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 30px; }
.quiz__count { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.quiz__count b { color: var(--accent); }
.quiz__layer { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.quiz__frame { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.quiz__word { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 9vw, 56px); line-height: 1.05; margin-bottom: 34px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale button {
  font-family: var(--mono); font-size: 18px; font-weight: 600; padding: 18px 0;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper);
  color: var(--ink); cursor: pointer; transition: all .14s ease;
}
.scale button:hover, .scale button:focus-visible { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--paper)); outline: none; }
.scale button.sel { background: var(--accent); border-color: var(--accent); color: #fff; }
.scale__ends { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.quiz__back { margin-top: 30px; background: none; border: none; cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); padding: 6px 0; }
.quiz__back:hover { color: var(--ink); }

/* -------- RESULT -------- */
.result__stamps { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.result__type { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 13vw, 88px); line-height: .95; letter-spacing: -0.02em; margin: 8px 0 10px; }
.result__form { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.result__gist { font-size: 18px; max-width: 46ch; color: var(--ink); }
.fig-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }

/* лестница состояний */
.ladder { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ladder__step { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); position: relative; }
.ladder__step:last-child { border-bottom: none; }
.ladder__step .s-i { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.ladder__step .s-name { font-family: var(--display); font-weight: 600; font-size: 17px; }
.ladder__step .s-form { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); }
.ladder__step.on { background: color-mix(in srgb, var(--accent) 8%, var(--paper)); }
.ladder__step.on .s-name { color: var(--accent); }
.ladder__you { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.ladder__you .d { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); position: relative; }
.ladder__you .d::after { content: ""; position: absolute; inset: -5px; border: 1px solid var(--accent); border-radius: 50%; animation: pulse 2.6s ease-out infinite; }

/* таблица баллов */
.scoretable { width: 100%; border-collapse: collapse; font-family: var(--mono); }
.scoretable th, .scoretable td { border: 1px solid var(--line); padding: 12px 14px; text-align: right; font-size: 13px; }
.scoretable th { text-transform: uppercase; letter-spacing: 0.1em; font-size: 10.5px; color: var(--ink-2); font-weight: 500; }
.scoretable td:first-child, .scoretable th:first-child { text-align: left; }
.scoretable tbody th { text-align: left; }
.scoretable .hi { color: var(--accent); }
.scoretable__note { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-top: 10px; }

/* разбор A–D */
.breakdown h3 { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 4vw, 26px); margin: 0 0 12px; }
.breakdown .sec { padding: 30px 0; border-top: 1px solid var(--line); }
.breakdown .sec:first-child { border-top: none; }
.breakdown p { color: var(--ink); }
.step-list { display: grid; gap: 20px; margin-top: 18px; }
.step-list .step { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.step-list .step .n { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: .9; color: transparent; -webkit-text-stroke: 1.4px var(--accent); }
.step-list .step p { margin: 0; color: var(--ink-2); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
.compare .cell { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.compare .cell .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.compare .cell .v { font-family: var(--display); font-weight: 700; font-size: 30px; margin-top: 6px; }
@media (max-width: 600px) { .compare { grid-template-columns: 1fr 1fr; } }

/* email-гейт: размытый тизер разбора + CTA-карточка со ссылкой на форму */
.gate { position: relative; }
.gate__locked { filter: blur(7px); pointer-events: none; user-select: none; }
.gate__lockbadge { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 3; }
.gate__card {
  position: absolute; top: 40px; left: 50%; transform: translateX(-50%);
  width: min(460px, 92%); z-index: 4; background: var(--paper);
  border: 1px solid var(--ink); border-radius: var(--radius); padding: 26px 24px; text-align: center;
  box-shadow: 0 20px 50px rgba(22,21,15,.14);
}
.gate__title { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 8px; text-wrap: balance; }
.gate__sub { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); margin: 0 0 18px; }
.gate__legal { font-size: 9.5px; line-height: 1.5; letter-spacing: 0.05em; text-transform: none; color: var(--ink-2); margin: 12px 0 0; }
.gate__legal a { color: var(--ink-2); text-decoration: underline; }
.gate__legal a:hover { color: var(--ink); }
/* вторичный CTA — текстовая ссылка, отделена волосяным разделителем */
.gate__apply { display: block; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 11.5px; line-height: 1.4; letter-spacing: 0.02em; text-transform: none;
  color: var(--ink-2); text-decoration: none; transition: color .15s ease; }
.gate__apply:hover { color: var(--ink); text-decoration: underline; }

.result__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* -------- юридические страницы -------- */
.legal { max-width: 720px; }
.legal h1 { font-size: clamp(28px, 6vw, 40px); margin-bottom: 8px; }
.legal h2 { font-size: clamp(19px, 3vw, 24px); margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink); font-size: 15.5px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal .updated { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 30px; }

/* -------- утилиты -------- */
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }
.muted { color: var(--ink-2); }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; position: fixed; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; border-radius: var(--radius); }
