/* ============================================================
   Manager Quiz (mq.everyday-ai.ru)
   Дизайн-система everydayAI. Шрифты — САМОХОСТ (без Google CDN:
   из РФ он рендер-блокирует страницу, см. docs/performance-issues.md P1).
   ============================================================ */

/* ---------- Шрифты (копия блока из core/_design_tokens.html) ---------- */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;
  src:url(/fonts/inter-400-cyrillic.woff2) format('woff2');
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;
  src:url(/fonts/inter-400-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;
  src:url(/fonts/inter-500-cyrillic.woff2) format('woff2');
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;
  src:url(/fonts/inter-500-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;
  src:url(/fonts/inter-600-cyrillic.woff2) format('woff2');
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;
  src:url(/fonts/inter-600-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;
  src:url(/fonts/inter-700-cyrillic.woff2) format('woff2');
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;
  src:url(/fonts/inter-700-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;
  src:url(/fonts/manrope-700-cyrillic.woff2) format('woff2');
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;
  src:url(/fonts/manrope-700-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-weight:800;font-display:swap;
  src:url(/fonts/manrope-800-cyrillic.woff2) format('woff2');
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Manrope';font-style:normal;font-weight:800;font-display:swap;
  src:url(/fonts/manrope-800-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- Токены ---------- */
:root{
  --bg:#f5f6f7; --panel:#fff; --panel-soft:#f8fafc;
  --ink:#0f172a; --ink-strong:#0b1b3a; --muted:#64748b; --muted-soft:#94a3b8;
  --line:#e2e8f0; --line-strong:#d8dee8;
  --accent:#2563eb; --accent-ink:#fff; --accent-soft:#dbeafe;

  --green:#15803d; --green-soft:#dcfce7;
  --amber:#b45309; --amber-soft:#fef3c7;
  --red:#b91c1c;   --red-soft:#fee2e2;
  --blue:#2563eb;  --blue-soft:#dbeafe;
  /* расширение под 5 типов (в ядре не используется) */
  --violet:#6d28d9; --violet-soft:#ede9fe;

  --font-display:'Manrope','Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;

  --radius-sm:6px; --radius:10px; --radius-lg:14px; --pill:999px;
  --shadow-sm:0 1px 2px rgba(15,23,42,.06);
  --shadow:0 4px 16px rgba(15,23,42,.08);
  --shadow-lg:0 12px 40px rgba(15,23,42,.12);
  --ease:cubic-bezier(.25,.8,.25,1); --tr-fast:120ms; --tr:200ms; --tr-slow:320ms;
}

*,*::before,*::after{box-sizing:border-box}
/* Классы вроде .btn задают display и перебивают браузерное [hidden]{display:none}.
   Из-за этого «Назад» на первом вопросе оставался видимым, но нерабочим. */
[hidden]{display:none!important}
html,body{margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:var(--font-sans); color:var(--ink); background:var(--bg);
  font-size:16px; line-height:1.5; -webkit-font-smoothing:antialiased;
  min-height:100vh; min-height:100dvh;
}
button{font:inherit;color:inherit}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

/* ---------- Каркас ---------- */
.wrap{
  max-width:680px; margin:0 auto; padding:0 20px;
  min-height:100vh; min-height:100dvh;
  display:flex; flex-direction:column;
}
.screen{display:none; flex:1; flex-direction:column; padding:24px 0 40px}
.screen.is-active{display:flex; animation:screenIn var(--tr-slow) var(--ease)}
@keyframes screenIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* ---------- Шапка ---------- */
.topbar{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:16px 0 8px; min-height:56px;
}
.brand{display:flex;align-items:center;gap:9px;font-weight:700;font-size:14px;letter-spacing:-.01em}
.brand__mark{
  width:26px;height:26px;border-radius:8px;background:var(--ink-strong);color:#fff;
  display:grid;place-items:center;font-family:var(--font-display);font-size:12px;font-weight:800;
  flex:none;
}
.brand__text{color:var(--ink)}
.brand__sub{color:var(--muted-soft);font-weight:500}

/* ---------- Типографика ---------- */
h1,h2,h3{font-family:var(--font-display);letter-spacing:-.022em;margin:0;line-height:1.15}
.h-hero{font-size:34px;font-weight:800}
.h-q{font-size:23px;font-weight:700;line-height:1.25}
.h-res{font-size:30px;font-weight:800}
.h-sec{font-size:17px;font-weight:700;letter-spacing:-.01em}
.lead{font-size:17px;color:var(--muted);line-height:1.55;margin:14px 0 0}
.fine{font-size:12px;color:var(--muted-soft);line-height:1.5}

@media(min-width:640px){
  .h-hero{font-size:42px}
  .h-q{font-size:27px}
  .h-res{font-size:36px}
}

/* ---------- Бейдж-плашка ---------- */
.badge{
  display:inline-flex;align-items:center;gap:7px;
  padding:6px 12px;border-radius:var(--pill);
  background:var(--accent-soft);color:#1d4ed8;
  font-size:12px;font-weight:600;letter-spacing:.01em;
}
.badge__dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}

/* ---------- Кнопки ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:15px 24px;border:0;border-radius:var(--radius);
  background:var(--accent);color:var(--accent-ink);
  font-size:16px;font-weight:600;cursor:pointer;
  transition:transform var(--tr-fast) var(--ease),box-shadow var(--tr) var(--ease),background var(--tr) var(--ease);
  box-shadow:0 2px 8px rgba(37,99,235,.22);
  width:100%;
}
.btn:hover{background:#1d4ed8;box-shadow:0 6px 18px rgba(37,99,235,.28)}
.btn:active{transform:translateY(1px)}
.btn:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
.btn--ghost{
  background:transparent;color:var(--muted);box-shadow:none;
  border:1px solid var(--line-strong);width:auto;padding:10px 16px;font-size:14px;
}
.btn--ghost:hover{background:var(--panel);color:var(--ink);box-shadow:none}
@media(min-width:640px){.btn{width:auto;min-width:260px}}

/* ---------- Интро ---------- */
.intro{
  flex:1;display:flex;flex-direction:column;justify-content:center;
  padding:8px 0 32px;position:relative;
}
.intro > *{position:relative;z-index:1}
.intro .badge{align-self:flex-start;animation:riseIn 520ms var(--ease) both}
.intro .h-hero{margin-top:18px;animation:riseIn 520ms var(--ease) 80ms both}
.intro .lead{animation:riseIn 520ms var(--ease) 160ms both}
.intro__cta{margin-top:20px;text-align:center;animation:riseIn 520ms var(--ease) 320ms both}
.intro__note{margin-top:12px;text-align:center}
/* Главная кнопка шире дефолтной — это точка входа во всю воронку. */
@media(min-width:640px){.intro__cta .btn{min-width:360px;padding:17px 32px}}

@keyframes riseIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

/* мягкое акцентное свечение за заголовком */
.hero-glow{
  position:absolute;z-index:0;top:-40px;left:-70px;
  width:300px;height:300px;pointer-events:none;
  background:radial-gradient(circle,rgba(37,99,235,.20) 0%,rgba(37,99,235,0) 68%);
  filter:blur(18px);
  animation:drift 11s ease-in-out infinite;
}
@keyframes drift{
  0%,100%{transform:translate(0,0) scale(1)}
  50%{transform:translate(40px,26px) scale(1.14)}
}

/* стрелка-подсказка к кнопке */
.nudge{
  display:flex;justify-content:center;color:var(--accent);
  margin:18px 0 2px;animation:riseIn 520ms var(--ease) 280ms both;
}
.nudge svg{animation:bob 1.7s var(--ease) infinite}
@keyframes bob{
  0%,100%{transform:translateY(-3px);opacity:.3}
  50%{transform:translateY(4px);opacity:.85}
}
.btn__arrow{display:inline-block;animation:nudgeX 1.5s var(--ease) infinite}
@keyframes nudgeX{0%,100%{transform:translateX(0)}50%{transform:translateX(5px)}}

/* ---------- Гонка пяти столбцов ---------- */
.race{
  margin-top:24px;padding:18px 18px 16px;
  background:var(--panel);border:1px solid var(--line);
  border-radius:var(--radius-lg);box-shadow:var(--shadow);
  animation:riseIn 560ms var(--ease) 220ms both;
}
.race__cap{
  font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
  color:var(--muted-soft);
}
.race__chart{
  display:grid;grid-template-columns:repeat(5,1fr);gap:9px;
  align-items:end;height:132px;margin:14px 0 0;
}
/* Сетка, а не флекс: полоса живёт в своей дорожке (1fr) и её высота в % считается
   от дорожки, а не от всей колонки. Иначе флекс сжимал самые высокие полосы —
   и 39% оказывался НИЖЕ 25%. Ряд подписи фиксирован по высоте, чтобы дорожки
   у всех колонок совпадали и полосы были сравнимы между собой. */
.race__col{display:grid;grid-template-rows:1fr 19px;gap:7px;height:100%;justify-items:center}
/* Подпись едет над СВОИМ столбиком: абсолютная внутри дорожки, `bottom` задаёт JS
   по высоте полосы. Ставить её отдельным рядом сетки нельзя — тогда все подписи
   встают на один уровень. Наверху дорожки оставлен запас (BAR_MAX в app.js). */
.race__pct{
  position:absolute;left:0;right:0;bottom:0;
  font-family:var(--font-display);font-size:14px;font-weight:800;letter-spacing:-.02em;
  color:var(--muted-soft);text-align:center;line-height:1;opacity:0;
  transition:bottom 1000ms cubic-bezier(.16,1,.3,1),
             opacity 420ms var(--ease),
             color var(--tr) var(--ease),
             font-size var(--tr) var(--ease);
}
.race__col.is-shown .race__pct{opacity:1}
.race__col.is-win .race__pct{color:var(--accent);font-size:19px}
/* Полоса — абсолютная внутри дорожки. Как флекс-элемент её высоту определяла
   раскладка, а не свойство height, и анимация роста не запускалась вовсе. */
.race__barwrap{position:relative;width:100%;height:100%}
.race__bar{
  position:absolute;left:0;right:0;bottom:0;
  height:0;border-radius:7px 7px 3px 3px;
  background:var(--line-strong);
  transition:height 1000ms cubic-bezier(.16,1,.3,1),
             background 420ms var(--ease),
             box-shadow 420ms var(--ease),
             opacity 420ms var(--ease);
}
.race__col.is-win .race__bar{
  background:linear-gradient(180deg,#60a5fa 0%,#2563eb 100%);
  box-shadow:0 8px 22px rgba(37,99,235,.42);
}
.race__col.is-dim .race__bar{opacity:.5}
.race__mark{
  width:19px;height:19px;border-radius:50%;flex:none;
  background:var(--panel-soft);border:1px solid var(--line-strong);
  display:grid;place-items:center;
  font-size:11px;font-weight:700;color:var(--muted-soft);
  transition:all var(--tr) var(--ease);
}
.race__col.is-win .race__mark{
  background:var(--accent);border-color:var(--accent);color:#fff;
  transform:scale(1.12);
}
.race__legend{
  font-size:13.5px;line-height:1.55;color:var(--muted);
  margin-top:14px;padding-top:13px;border-top:1px solid var(--line);
  opacity:0;transition:opacity 520ms var(--ease);
}
.race__legend.is-shown{opacity:1}
.race__legend b{color:var(--ink);font-weight:600}

@media(min-width:560px){
  .race__chart{height:158px;gap:12px}
  .race__pct{font-size:15px}
  .race__col.is-win .race__pct{font-size:21px}
  .race__legend{font-size:14px}
}

.proof{
  display:grid;gap:1px;background:var(--line);border:1px solid var(--line);
  border-radius:var(--radius-lg);overflow:hidden;margin-top:32px;
}
.proof__item{background:var(--panel);padding:16px 18px}
.proof__num{font-family:var(--font-display);font-size:24px;font-weight:800;letter-spacing:-.02em;color:var(--ink-strong)}
.proof__cap{font-size:13px;color:var(--muted);margin-top:3px;line-height:1.4}
@media(min-width:560px){.proof{grid-template-columns:1fr 1fr 1fr}}

/* ---------- Прогресс ---------- */
.progress{padding:8px 0 22px}
.progress__meta{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:9px}
.progress__step{font-size:12px;font-weight:600;color:var(--muted);letter-spacing:.02em}
.progress__label{font-size:12px;color:var(--muted-soft)}
.progress__track{height:4px;background:var(--line);border-radius:var(--pill);overflow:hidden}
.progress__fill{
  height:100%;background:var(--accent);border-radius:var(--pill);
  transition:width var(--tr-slow) var(--ease);
}

/* ---------- Вопрос ---------- */
.q{flex:1;display:flex;flex-direction:column}
.q__title{margin-bottom:20px}
.q__hint{font-size:13px;color:var(--muted-soft);margin:-12px 0 20px}
.opts{display:flex;flex-direction:column;gap:9px}
.opt{
  display:flex;align-items:flex-start;gap:12px;width:100%;text-align:left;
  padding:15px 16px;background:var(--panel);border:1px solid var(--line);
  border-radius:var(--radius);cursor:pointer;
  font-size:15px;line-height:1.45;color:var(--ink);
  transition:border-color var(--tr) var(--ease),background var(--tr) var(--ease),
             transform var(--tr-fast) var(--ease),box-shadow var(--tr) var(--ease);
}
.opt:hover{border-color:var(--accent);box-shadow:var(--shadow-sm)}
.opt:active{transform:scale(.994)}
.opt.is-picked{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 1px var(--accent) inset}
.opt__key{
  flex:none;width:22px;height:22px;border-radius:6px;margin-top:0;
  border:1px solid var(--line-strong);background:var(--panel-soft);
  display:grid;place-items:center;font-size:11px;font-weight:700;color:var(--muted-soft);
  transition:all var(--tr) var(--ease);
}
.opt.is-picked .opt__key{background:var(--accent);border-color:var(--accent);color:#fff}
.q__back{margin-top:22px;align-self:flex-start}

/* ---------- Экран расчёта ---------- */
.calc{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:22px;text-align:center}
.calc__ring{
  width:46px;height:46px;border-radius:50%;
  border:3px solid var(--line);border-top-color:var(--accent);
  animation:spin .8s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}
.calc__lines{display:flex;flex-direction:column;gap:9px;align-items:center;min-height:76px}
.calc__line{font-size:14px;color:var(--muted);opacity:0;animation:lineIn var(--tr-slow) var(--ease) forwards}
@keyframes lineIn{to{opacity:1}}

/* ---------- Результат ---------- */
.res__badge{margin-bottom:14px}
.res__kicker{font-size:13px;font-weight:600;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}
.res__name{margin:8px 0 0;color:var(--type-color,var(--ink-strong))}
.res__tagline{font-size:17px;color:var(--muted);margin:12px 0 0;line-height:1.55}

.statcard{
  margin-top:22px;padding:18px 20px;border-radius:var(--radius-lg);
  background:var(--type-soft,var(--accent-soft));
  border:1px solid transparent;
}
.statcard__num{font-family:var(--font-display);font-size:38px;font-weight:800;line-height:1;color:var(--type-color,var(--accent));letter-spacing:-.03em}
.statcard__txt{font-size:14px;color:var(--ink);margin-top:8px;line-height:1.5}

/* распределение типов */
.dist{margin-top:26px;display:flex;flex-direction:column;gap:11px}
.dist__row{display:grid;grid-template-columns:1fr 42px;gap:12px;align-items:center}
.dist__label{font-size:13px;color:var(--muted);font-weight:500}
.dist__label.is-you{color:var(--ink);font-weight:700}
.dist__bartrack{grid-column:1/-1;display:block;height:8px;background:var(--line);border-radius:var(--pill);overflow:hidden;margin-top:-4px}
/* span по умолчанию inline — без display:block ширина не применяется вообще */
.dist__bar{display:block;height:100%;border-radius:var(--pill);width:0;transition:width 700ms var(--ease)}
.dist__pct{font-size:13px;font-weight:700;text-align:right;color:var(--ink)}

/* ---------- Форма ---------- */
.gate{
  margin-top:28px;padding:22px 20px;background:var(--panel);
  border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow);
}
.gate__title{margin-bottom:8px}
.gate__sub{font-size:14px;color:var(--muted);line-height:1.55;margin:0 0 18px}
.gate__list{margin:0 0 20px;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px}
.gate__list li{position:relative;padding-left:24px;font-size:14px;line-height:1.45;color:var(--ink)}
.gate__list li::before{
  content:'';position:absolute;left:5px;top:6px;width:5px;height:9px;
  border:solid var(--green);border-width:0 2px 2px 0;transform:rotate(45deg);
}
.field{margin-bottom:13px}
.field__label{display:block;font-size:13px;font-weight:600;color:var(--ink);margin-bottom:6px}
.input{
  width:100%;padding:13px 14px;border:1px solid var(--line-strong);border-radius:var(--radius);
  background:var(--panel);font-size:16px;color:var(--ink);font-family:inherit;
  transition:border-color var(--tr) var(--ease),box-shadow var(--tr) var(--ease);
}
.input::placeholder{color:var(--muted-soft)}
.input:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px rgba(37,99,235,.14)}
.input.is-bad{border-color:var(--red);box-shadow:0 0 0 3px rgba(185,28,28,.1)}
.field__err{font-size:12px;color:var(--red);margin-top:5px;display:none}
.field.has-err .field__err{display:block}

.consent{display:flex;gap:10px;align-items:flex-start;margin:16px 0 18px;cursor:pointer}
.consent input{
  flex:none;width:18px;height:18px;margin:1px 0 0;accent-color:var(--accent);cursor:pointer;
}
.consent span{font-size:12px;color:var(--muted);line-height:1.5}
.form__err{
  display:none;margin-bottom:14px;padding:11px 13px;border-radius:var(--radius-sm);
  background:var(--red-soft);color:var(--red);font-size:13px;line-height:1.45;
}
.form__err.is-on{display:block}

/* ---------- Полный разбор ---------- */
.block{margin-top:30px}
.block__head{display:flex;align-items:center;gap:9px;margin-bottom:12px}
.block__ico{
  width:24px;height:24px;border-radius:7px;flex:none;display:grid;place-items:center;
  font-size:13px;font-weight:800;font-family:var(--font-display);
}
.card{
  background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:18px 20px;box-shadow:var(--shadow-sm);
}
.card + .card{margin-top:10px}
.card p{margin:0;font-size:15px;line-height:1.6;color:var(--ink)}
.list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:13px}
.list li{font-size:15px;line-height:1.55;position:relative;padding-left:26px}
.list li b{font-weight:600}
.list--plus li::before{content:'+';position:absolute;left:6px;top:-1px;color:var(--green);font-weight:700}
.list--minus li::before{content:'–';position:absolute;left:6px;top:-1px;color:var(--amber);font-weight:700}
.list--num{counter-reset:s}
.list--num li{counter-increment:s;padding-left:32px}
.list--num li::before{
  content:counter(s);position:absolute;left:0;top:0;
  width:21px;height:21px;border-radius:50%;background:var(--ink-strong);color:#fff;
  font-size:11px;font-weight:700;display:grid;place-items:center;
}

.formula{
  background:var(--ink-strong);color:#fff;border-radius:var(--radius-lg);
  padding:22px 20px;margin-top:12px;
}
.formula h3{color:#fff;margin-bottom:6px}
.formula__sub{font-size:13px;color:#94a3b8;line-height:1.5;margin:0 0 18px}
.formula__row{
  display:flex;gap:14px;align-items:baseline;
  padding:13px 0;border-top:1px solid rgba(255,255,255,.1);
}
.formula__row:first-of-type{border-top:0;padding-top:0}
.formula__val{
  font-family:var(--font-display);font-size:21px;font-weight:800;color:#fff;
  flex:none;min-width:78px;letter-spacing:-.02em;
}
.formula__txt{font-size:14px;line-height:1.5;color:#cbd5e1}
.formula__txt b{color:#fff;font-weight:600}
.formula__src{font-size:11px;color:#64748b;margin-top:16px;line-height:1.5}

.cta{
  margin-top:34px;padding:26px 22px;border-radius:var(--radius-lg);
  background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);text-align:left;
}
.cta h2{margin-bottom:10px}
.cta p{font-size:15px;color:var(--muted);line-height:1.6;margin:0 0 20px}

.sources{margin-top:32px;padding-top:20px;border-top:1px solid var(--line)}
.sources h3{font-size:13px;font-weight:700;color:var(--muted);margin-bottom:10px}
.sources ol{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:7px}
.sources li{font-size:12px;color:var(--muted);line-height:1.5}

.footer{
  padding:28px 0 32px;margin-top:auto;border-top:1px solid var(--line);
  display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;
}
.footer a{font-size:12px;color:var(--muted)}

/* ---------- Успех отправки ---------- */
.sent{
  display:flex;align-items:center;gap:11px;padding:14px 16px;margin-top:22px;
  background:var(--green-soft);border-radius:var(--radius);
}
.sent__ico{
  width:24px;height:24px;border-radius:50%;background:var(--green);color:#fff;flex:none;
  display:grid;place-items:center;font-size:13px;font-weight:700;
}
.sent__txt{font-size:14px;color:#14532d;line-height:1.45}

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