/* «Тендерный блок» — свои блоки поверх _kit/v1 (тема Softjet). Анимация — tenders.js и @keyframes ниже.
   Анимируются только transform / translate / opacity. Параллакс — свойство `translate` (его пишет JS), а появление
   и «парение» — `transform`, поэтому они не мешают друг другу. Без JS, при prefers-reduced-motion и в браузере
   под автоматом (tools/shots.sh) всё стоит в конечном виде. Пути — относительные, кроме /_kit/ и /forms/. */

:root {
  --t-notice: #97daff;   /* извещение */
  --t-tz: #8fb1ff;       /* ТЗ */
  --t-contract: #c3a6ff; /* проект контракта */
  --t-smeta: #7ee0b0;    /* смета */
  --t-nmck: #ffcf6e;     /* НМЦК */
  --t-red: #ff7a59;
  --t-yellow: #ffcf6e;
  --t-green: #7ee0b0;
  --t-hl: rgba(91, 141, 255, .32);
  --t-card: #353535;
  --t-paper: #f3f4f6;
  --t-ink: #2f2f2f;
  --t-accent: #e84513;   /* красный бренда — как на картинках */
  --t-ease: cubic-bezier(.2, .75, .25, 1);
  --t-pop: cubic-bezier(.3, 1.6, .5, 1);
}

.tb-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
img { max-width: 100%; }

/* ---------- первый экран ---------- */
.tb-hero-wrap { overflow: clip; }
.tb-hero { display: grid; gap: 32px clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 1024px) { .tb-hero { grid-template-columns: 1fr 1.08fr; } }
.tb-eyebrow { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--sky); max-width: 520px; }
.tb-hero h1 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(42px, 5.6vw, 76px); line-height: .93; margin: 12px 0 18px; }
.tb-hero h1 em { font-style: normal; color: var(--mint); }
.tb-hero .kit-btns--pair { grid-template-columns: 1.45fr 1fr; max-width: 620px; }
@media (max-width: 400px) { .tb-hero .kit-btns--pair { grid-template-columns: 1fr; } }

/* текст первого экрана выезжает при загрузке (только CSS — работает и до tenders.js) */
@keyframes tb-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.tb-js .tb-in { animation: tb-rise .9s var(--t-ease) both; animation-delay: calc(var(--d, 0) * 1ms); }

/* окно сервиса: иллюстрация — шапкой карточки, конвейер — под ней. Ничего не наезжает: всё внутри одной карточки,
   параллакс — только внутри шапки (у картинки запас по краям) */
.tb-art { position: relative; min-width: 0; }
.tb-art__glow { position: absolute; left: -8%; right: -8%; top: 10%; bottom: -6%; pointer-events: none; z-index: 0;
  background: radial-gradient(45% 40% at 25% 70%, rgba(91, 141, 255, .3), transparent 70%),
              radial-gradient(35% 30% at 85% 25%, rgba(232, 69, 19, .2), transparent 70%); }
.tb-anim .tb-art__glow { animation: tb-breathe 6s ease-in-out infinite; }
@keyframes tb-breathe { 0%, 100% { opacity: .65; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
.tb-win { position: relative; z-index: 2; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #363636, #2b2b2b); border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.tb-anim .tb-win { animation: tb-rise 1s var(--t-ease) .35s both; }
.tb-layer { will-change: translate; }
.tb-win__band { position: relative; height: 150px; overflow: hidden; background: #eceef1; }
@media (min-width: 560px) { .tb-win__band { height: 190px; } }
.tb-win__band > img { position: absolute; left: -5%; top: -14%; width: 110%; max-width: none; height: 128%; object-fit: cover;
  object-position: 50% 32%; display: block; }
.tb-win__band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42px; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(54, 54, 54, 0), #363636); }
.tb-art__sweep { position: absolute; inset: 0; pointer-events: none; opacity: .8; z-index: 1;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .7) 50%, transparent 62%); transform: translateX(-110%); }
.tb-anim .tb-art__sweep { animation: tb-sweep 7s ease-in-out 1.6s infinite; }
@keyframes tb-sweep { 0% { transform: translateX(-110%); } 35%, 100% { transform: translateX(110%); } }
.tb-win__docs { position: absolute; z-index: 3; right: 3%; top: 6%; width: 22%; max-width: 116px; pointer-events: none; }
.tb-win__docs img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .3)); }
.tb-anim .tb-win__docs img { animation: tb-drop 1s var(--t-ease) .9s both, tb-float 7s ease-in-out 1.9s infinite; }
@keyframes tb-drop { from { opacity: 0; transform: translate(30px, -40px) rotate(14deg) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes tb-float { 0%, 100% { transform: none; } 50% { transform: translateY(-8px) rotate(-3deg); } }
.tb-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px 5px 5px;
  border-radius: 100px; background: rgba(30, 30, 30, .88); border: 1px solid var(--line-strong); font-size: 12px; color: var(--text-2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3); pointer-events: none; white-space: nowrap; }
.tb-chip b { font-size: 10px; padding: 4px 6px; border-radius: 6px; background: var(--t-notice); color: #102030; }
.tb-chip--a { left: 12px; top: 12px; }
.tb-chip--b { right: 12px; bottom: 16px; } .tb-chip--b b { background: var(--t-smeta); }
.tb-anim .tb-chip--a { animation: tb-rise .8s var(--t-ease) 1.1s both, tb-float 6s ease-in-out 2s infinite; }
.tb-anim .tb-chip--b { animation: tb-rise .8s var(--t-ease) 1.4s both, tb-float 8s ease-in-out 2.3s infinite reverse; }

/* ---------- сцена-конвейер (нижняя часть окна) ---------- */
.tb-stage { position: relative; height: 470px; padding: 6px 14px 12px; }
@media (min-width: 560px) { .tb-stage { height: 490px; padding: 8px 20px 14px; } }
/* смена сцены — вспышка линии по верхнему краю */
.tb-stage::after { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 2px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--sky), transparent); transition: opacity .9s ease; }
.tb-stage.is-flash::after { opacity: 1; transition: opacity .15s ease; }

.tb-strip { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin: 0 0 14px; }
.tb-strip__line { position: absolute; left: 8.3%; right: 8.3%; top: 14px; height: 2px; background: var(--line-strong); border-radius: 2px; }
.tb-strip__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--sky), var(--mint));
  transform-origin: left center; transform: scaleX(1); transition: transform .9s var(--t-ease); border-radius: 2px; }
.tb-st { position: relative; display: grid; justify-items: center; gap: 5px; border: 0; background: none; padding: 0;
  cursor: pointer; color: var(--muted); font: 600 11px/1.1 var(--font-text); min-width: 0; }
.tb-st b { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #2a2a2a;
  border: 1.5px solid var(--line-strong); color: var(--text-2); font: 700 15px/1 var(--font-display);
  transition: background-color .35s ease, border-color .35s ease, color .35s ease, transform .35s ease; }
.tb-st span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 560px) { .tb-st { font-size: 12px; } }
.tb-st.is-done b { background: #2b3550; border-color: var(--mint); color: var(--sky); }
.tb-st.is-cur b { background: var(--mint); border-color: var(--mint); color: #fff; transform: scale(1.12); }
.tb-st.is-cur { color: var(--text); }
.tb-st b::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--mint); opacity: 0; pointer-events: none; }
.tb-anim .tb-st.is-cur b::after { animation: tb-ping 1.8s ease-out infinite; }
@keyframes tb-ping { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }

.tb-scenes { position: absolute; left: 14px; right: 14px; top: 58px; bottom: 34px; }
@media (min-width: 560px) { .tb-scenes { left: 20px; right: 20px; top: 62px; bottom: 36px; } }
.tb-scene { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.tb-scene.is-on { opacity: 1; visibility: visible; transition: opacity .45s ease .1s, visibility 0s; }
.tb-js:not(.tb-ready) .tb-scene { visibility: hidden; }
.tb-stage__note { position: absolute; left: 14px; right: 14px; bottom: 10px; margin: 0; font-size: 11px; color: var(--muted);
  display: flex; justify-content: space-between; gap: 10px; white-space: nowrap; overflow: hidden; }
@media (min-width: 560px) { .tb-stage__note { left: 20px; right: 20px; font-size: 12px; } }
.tb-stage__note b { color: var(--text-2); font-weight: 600; }
.tb-pause { border: 0; background: none; color: var(--muted); font: inherit; cursor: pointer; padding: 0; text-decoration: underline;
  text-underline-offset: 2px; }
.tb-static .tb-pause { display: none; }

/* анимации внутри сцены идут только при .is-play; без него элементы мгновенно в начальной позиции */
.tb-a { opacity: 0; transform: translateY(12px); }
.is-play .tb-a { opacity: 1; transform: none; transition: opacity .5s ease, transform .6s var(--t-ease);
  transition-delay: calc(var(--d, 0) * 1ms); }
.tb-scene > * { min-width: 0; max-width: 100%; }

/* сцена 1 — письмо */
.tb-mail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.tb-mail__bar { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.tb-mail__row { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px;
  border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: 13px; color: var(--muted); min-width: 0; }
.tb-mail__row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tb-ava { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #444; color: var(--text-2);
  font: 700 15px/1 var(--font-display); }
.tb-mail__new { position: relative; padding: 14px; border-radius: 14px; background: var(--t-card); border: 1px solid rgba(91, 141, 255, .5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3); display: grid; gap: 6px; min-width: 0; }
.tb-mail__new.tb-a { transform: translateX(48px); }
.is-play .tb-mail__new.tb-a { transform: none; }
.tb-mail__from { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.tb-mail__from b { color: var(--text); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.tb-mail__from b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(91, 141, 255, .25); }
.tb-mail__subj { font-weight: 700; font-size: 15px; line-height: 1.3; }
.tb-mail__txt { font-size: 13px; color: var(--text-2); line-height: 1.45; }
.tb-att { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 8px 12px 8px 8px; border-radius: 10px;
  background: #2b2b2b; border: 1px dashed var(--line-strong); font-size: 13px; font-weight: 600; justify-self: start; max-width: 100%; }
.tb-att small { color: var(--muted); font-weight: 400; }
.tb-att .tb-zipic { flex: none; }
.tb-att.tb-a { transform: scale(.85); }
.is-play .tb-att.tb-a { transform: none; }
.tb-zipic { width: 30px; height: 34px; border-radius: 6px; background: var(--t-nmck); color: #3a2a00; display: grid; place-items: center;
  font: 700 11px/1 var(--font-text); }
.tb-out { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(126, 224, 176, .12);
  border: 1px solid rgba(126, 224, 176, .4); font-size: 13px; color: var(--text); }
.tb-out i { font-style: normal; color: var(--t-green); font-weight: 700; }
.tb-out span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* сцена 2 — документы разлетаются по типам */
.tb-zip { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 12px; background: var(--t-card);
  border: 1px solid var(--line); font-size: 13px; font-weight: 600; width: max-content; max-width: 100%; margin: 0 auto 12px; position: relative; z-index: 2; }
.tb-zip small { color: var(--muted); font-weight: 400; }
.is-play .tb-zip { animation: tb-shake .5s ease 1; }
@keyframes tb-shake { 0%, 100% { transform: none; } 25% { transform: rotate(-3deg) scale(1.04); } 60% { transform: rotate(2deg) scale(1.04); } }
.tb-docs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.tb-doc { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: 13px; min-width: 0;
  opacity: 0; transform: translate(var(--fx, 0px), var(--fy, -60px)) scale(.35) rotate(var(--rot, -8deg)); }
.is-play .tb-doc { opacity: 1; transform: none;
  transition: transform .75s var(--t-ease), opacity .3s ease; transition-delay: calc(350ms + var(--i) * 170ms); }
.tb-doc__ic { width: 34px; height: 26px; border-radius: 6px; display: grid; place-items: center; background: #444; font: 700 10px/1 var(--font-text);
  color: var(--text-2); }
.tb-doc__n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.tb-tag { font-style: normal; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 100px; white-space: nowrap;
  color: #1d1d1d; background: var(--c, var(--sky)); }
.tb-doc .tb-tag { opacity: 0; transform: scale(.6); }
.is-play .tb-doc .tb-tag { opacity: 1; transform: none; transition: opacity .3s ease, transform .45s var(--t-pop);
  transition-delay: calc(1100ms + var(--i) * 170ms); }
.is-play .tb-doc { border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.tb-more { margin: 10px 0 0; font-size: 12px; color: var(--muted); text-align: center; }

/* сцена 3 — факты с цитатами */
.tb-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.tb-fact { position: relative; padding: 9px 12px 9px 14px; border-radius: 12px; background: var(--t-card); border: 1px solid var(--line);
  display: grid; gap: 2px; min-width: 0; }
.tb-fact::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--c, var(--mint)); }
.tb-fact__k { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.tb-fact__k cite { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--sky); white-space: nowrap; }
.tb-fact b { font-size: 14px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 26px; }
.tb-q { font-size: 12px; color: var(--text-2); font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-q::before { content: "«"; } .tb-q::after { content: "»"; }
.tb-q mark { color: inherit; background: linear-gradient(var(--t-hl), var(--t-hl)) no-repeat 0 0 / 0% 100%; border-radius: 3px; padding: 0 1px; }
.is-play .tb-q mark { background-size: 100% 100%; transition: background-size .7s ease; transition-delay: calc(500ms + var(--i) * 420ms); }
.tb-fact--red { --c: var(--t-red); } .tb-fact--red b { color: #ffb19c; }
.tb-ok { position: absolute; right: 10px; top: 24px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--t-green); color: #10301f; font: 700 12px/1 var(--font-text); font-style: normal; opacity: 0; transform: scale(.4); }
.is-play .tb-ok { opacity: 1; transform: none; transition: opacity .25s ease, transform .4s var(--t-pop);
  transition-delay: calc(2300ms + var(--i) * 160ms); }

/* сцена 4 — расчёт и цена против НМЦК */
.tb-calc-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12px; color: var(--muted); }
.tb-calc-h b { color: var(--text); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tb-calc-h span { white-space: nowrap; }
.tb-rows { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.tb-rows li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dashed rgba(255, 255, 255, .08); min-width: 0; }
.tb-rows li > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.tb-rows li small { color: var(--muted); }
.tb-rows .is-total { margin-top: 6px; padding: 8px 10px; border: 0; border-radius: 10px; background: rgba(91, 141, 255, .16);
  font-weight: 700; font-size: 14px; }
.tb-rows .is-total > span:first-child { color: var(--text); }
.tb-rows .is-total .tb-num { color: var(--sky); }
.tb-rows li.tb-a { transform: translateX(-10px); }
.is-play .tb-rows li.tb-a { transform: none; }
.tb-bars { display: grid; gap: 8px; margin-top: 12px; }
.tb-bar { display: grid; gap: 4px; font-size: 12px; }
.tb-bar > div { display: flex; justify-content: space-between; gap: 8px; color: var(--text-2); min-width: 0; }
.tb-bar > div span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-bar > div b { color: var(--text); }
.tb-bar__track { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.tb-bar__track i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: #6b6b6b; transform-origin: left center; transform: scaleX(0); }
.tb-bar--our .tb-bar__track i { background: linear-gradient(90deg, var(--mint-deep), var(--sky)); }
.tb-static .tb-bar__track i, .tb-nojs .tb-bar__track i { transform: none; }
.is-play .tb-bar__track i { transform: none; transition: transform 1.1s var(--t-ease); transition-delay: calc(var(--d, 0) * 1ms); }
.tb-sheet { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--text-2); }
.tb-sheet i { width: 18px; height: 18px; border-radius: 4px; background: #1fa463; flex: none;
  background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff); background-size: 10px 1.5px, 1.5px 10px;
  background-position: center, center; background-repeat: no-repeat; }
.tb-sheet b { color: var(--t-green); }

/* сцена 5 — поставщики: письмо улетает, ответ возвращается с ценой */
.tb-sup { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tb-sup li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px;
  border-radius: 12px; background: var(--t-card); border: 1px solid var(--line); font-size: 13px; overflow: hidden; min-width: 0; }
.tb-sup__n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.tb-sup__n small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.tb-sup__st { position: relative; display: grid; justify-items: end; flex: none; }
.tb-sup__st em { grid-area: 1 / 1; font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 100px; white-space: nowrap; }
.tb-sent { color: var(--muted); border: 1px dashed var(--line-strong); }
.tb-reply { color: #10301f; background: var(--t-green); opacity: 0; transform: scale(.5); }
.tb-sup--wait .tb-reply { background: rgba(255, 207, 110, .16); color: var(--t-yellow); border: 1px dashed rgba(255, 207, 110, .5); }
.tb-static .tb-sent, .tb-nojs .tb-sent { opacity: 0; }
.tb-static .tb-reply, .tb-nojs .tb-reply { opacity: 1; transform: none; }
.is-play .tb-sent { opacity: 0; transition: opacity .3s ease; transition-delay: calc(1500ms + var(--i) * 380ms); }
.is-play .tb-reply { opacity: 1; transform: none; transition: opacity .3s ease, transform .45s var(--t-pop);
  transition-delay: calc(1650ms + var(--i) * 380ms); }
.tb-plane { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.tb-plane::before { content: ""; position: absolute; left: 10px; top: 50%; width: 16px; height: 12px; margin-top: -6px; background: var(--sky);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 28% 50%); }
.tb-anim .is-play .tb-plane { animation: tb-fly 1.1s ease-in-out both; animation-delay: calc(500ms + var(--i) * 380ms); }
@keyframes tb-fly { 0% { opacity: 0; transform: translateX(0); } 15%, 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(88%); } }
.tb-best { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px;
  background: rgba(126, 224, 176, .1); border: 1px solid rgba(126, 224, 176, .35); font-size: 13px; color: var(--text-2); }
.tb-best span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-best b { color: var(--t-green); white-space: nowrap; }

/* сцена 6 — КП с эскизом и счёт для 1С */
.tb-out2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 10px; align-items: start; }
.tb-kp, .tb-inv { position: relative; background: var(--t-paper); color: var(--t-ink); border-radius: 10px; padding: 10px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .35); min-width: 0; }
.tb-kp.tb-a { transform: translateY(26px) rotate(-4deg); }
.tb-inv.tb-a { transform: translateY(26px) rotate(4deg); }
.is-play .tb-kp.tb-a, .is-play .tb-inv.tb-a { transform: none; }
.tb-kp__h { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-bottom: 6px; border-bottom: 2px solid var(--t-accent);
  padding-bottom: 4px; }
.tb-kp__h b { font: 700 18px/1 var(--font-display); letter-spacing: .03em; }
.tb-kp__h span { font-size: 10px; color: #6b6f76; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tb-sk { display: block; width: 100%; height: auto; color: #3a3d42; }
.tb-sk__dim { stroke: var(--t-accent); }
.tb-sk__wall { fill: #a3a8b0; }
.tb-sk__p { opacity: 0; }
.is-play .tb-sk__p { opacity: 1; transition: opacity .5s ease; transition-delay: calc(var(--d, 0) * 1ms); }
.tb-kp__cap { display: flex; justify-content: space-between; gap: 6px; margin-top: 4px; font-size: 10px; color: #6b6f76; }
.tb-kp__cap span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-ln { display: block; height: 6px; width: var(--w); border-radius: 3px; background: #d5d8dd; margin: 7px 0; }
.tb-inv__sum { display: flex; justify-content: space-between; gap: 6px; margin-top: 10px; padding-top: 6px; border-top: 1px solid #d5d8dd;
  font-size: 11px; color: #6b6f76; align-items: baseline; flex-wrap: wrap; }
.tb-inv__sum b { color: var(--t-ink); font-size: 13px; }
.tb-stamp { position: absolute; right: 8px; top: 44px; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--t-accent);
  box-shadow: inset 0 0 0 3px var(--t-paper), inset 0 0 0 4px rgba(232, 69, 19, .6); opacity: 0; transform: scale(1.8) rotate(-30deg); }
.is-play .tb-stamp { opacity: .9; transform: rotate(-12deg); transition: opacity .2s ease, transform .4s var(--t-pop); transition-delay: 2000ms; }
.tb-static .tb-stamp, .tb-nojs .tb-stamp { opacity: .9; transform: rotate(-12deg); }
.tb-1c { margin-top: 8px; display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 100px;
  background: #dff5ea; color: #15603a; white-space: nowrap; }
.tb-checks { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tb-checks li { font-size: 12px; padding: 5px 10px; border-radius: 100px; border: 1px solid var(--line-strong); color: var(--text-2); white-space: nowrap; }
.tb-checks .ok { border-color: rgba(126, 224, 176, .5); color: var(--t-green); }
.tb-checks .ok::before { content: "✓ "; }
.tb-checks .soon { border-style: dashed; color: var(--muted); }

/* ---------- появление при прокрутке: сдвиг + масштаб ---------- */
.tb-js .tb-rv { opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .8s ease, transform .9s var(--t-ease);
  transition-delay: calc(var(--d, 0) * 1ms); }
.tb-js .tb-rv--l { transform: translateX(-48px) rotate(-3deg); }
.tb-js .tb-rv--r { transform: translateX(48px) rotate(3deg); }
.tb-js .tb-rv--zoom { transform: scale(.9); }
.tb-js .tb-rv.is-in { opacity: 1; transform: none; }
.tb-static .tb-rv { opacity: 1 !important; transform: none !important; }
/* браузер под автоматом (tools/shots.sh) — сразу конечный вид, см. tenders.js */
.tb-shot *, .tb-shot *::before, .tb-shot *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .tb-js .tb-in, .tb-anim .tb-win, .tb-anim .tb-win__docs img, .tb-anim .tb-chip--a, .tb-anim .tb-chip--b, .tb-js .tb-ticks i { animation: none; }
}

/* ---------- как это работает: 6 шагов лентой ---------- */
.tb-sum { margin: -14px 0 32px; font-size: 16px; color: var(--text-2); }
.tb-sum b { font: 700 30px/1 var(--font-display); color: var(--text); margin-right: 2px; }
.tb-sum .tb-ok-c { color: var(--t-green); }
.tb-line { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.tb-line__rail { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--line); border-radius: 2px; }
.tb-line__fill { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(180deg, var(--sky), var(--mint));
  transform-origin: top center; transform: scaleY(var(--p, 1)); }
.tb-js .tb-line__fill { transform: scaleY(var(--p, 0)); }
.tb-s { position: relative; display: grid; align-content: start; grid-template-columns: 44px minmax(0, 1fr) 92px; gap: 0 14px; align-items: start; }
.tb-s__n { grid-column: 1; grid-row: 1; position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-alt); border: 2px solid var(--line-strong); color: var(--muted); font: 700 20px/1 var(--font-display);
  transition: background-color .4s ease, border-color .4s ease, color .4s ease, transform .4s var(--t-pop); }
.tb-s.is-passed .tb-s__n { border-color: var(--mint); color: #fff; background: var(--mint-deep); transform: scale(1.08); }
.tb-s--soon.is-passed .tb-s__n { background: var(--bg-alt); color: var(--sky); border-style: dashed; transform: none; }
.tb-static .tb-s .tb-s__n, .tb-nojs .tb-s .tb-s__n { border-color: var(--mint); color: #fff; background: var(--mint-deep); }
.tb-static .tb-s--soon .tb-s__n, .tb-nojs .tb-s--soon .tb-s__n { background: var(--bg-alt); color: var(--sky); border-style: dashed; }
.tb-s__t { grid-column: 2; grid-row: 1; min-width: 0; }
.tb-s h3 { font: 700 clamp(24px, 2.2vw, 28px)/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em; margin: 10px 0 6px; }
.tb-s p { margin: 0 0 10px; color: var(--text-2); font-size: 15px; }

/* картинка шага «собирается»: подложка → вырезка → ярлык */
.tb-pic { grid-column: 3; grid-row: 1; position: relative; height: 92px; transition: transform .4s var(--t-ease); }
.tb-pic__plate { position: absolute; inset: 0; border-radius: 16px; background: radial-gradient(circle at 50% 35%, #fdfdfe, #e3e6ea 75%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
.tb-pic__px { position: absolute; inset: 8px; display: block; transition: scale .5s var(--t-ease); }
.tb-pic img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--t-ease); }
.tb-pic__chip { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px; background: #222; color: #fff; border: 1px solid rgba(232, 69, 19, .7); white-space: nowrap; display: none; }
.tb-s--soon .tb-pic__px { filter: grayscale(1); opacity: .55; }
.tb-s--soon .tb-pic__plate { background: transparent; border: 2px dashed var(--line-strong); box-shadow: none; }
.tb-s--soon .tb-pic__chip { border-color: var(--line-strong); color: var(--muted); }
.tb-js .tb-s .tb-pic__plate { opacity: 0; transform: scale(.8) rotate(-4deg); }
.tb-js .tb-s .tb-pic img { opacity: 0; transform: translateY(26px) scale(.82); }
.tb-js .tb-s .tb-pic__chip { opacity: 0; transform: translate(-50%, 10px); }
.tb-js .tb-s.is-in .tb-pic__plate { opacity: 1; transform: none; transition: opacity .6s ease, transform .8s var(--t-pop);
  transition-delay: calc(var(--d, 0) * 1ms + 150ms); }
.tb-js .tb-s.is-in .tb-pic img { opacity: 1; transform: none; transition: opacity .6s ease, transform .9s var(--t-ease);
  transition-delay: calc(var(--d, 0) * 1ms + 400ms); }
.tb-js .tb-s.is-in .tb-pic__chip { opacity: 1; transform: translate(-50%, 0); transition: opacity .4s ease, transform .5s var(--t-pop);
  transition-delay: calc(var(--d, 0) * 1ms + 800ms); }
.tb-static .tb-s .tb-pic__plate, .tb-static .tb-s .tb-pic img { opacity: 1; transform: none; }
.tb-static .tb-s .tb-pic__chip { opacity: 1; transform: translateX(-50%); }
@media (hover: hover) {
  .tb-s:hover .tb-pic { transform: translateY(-6px); }
  .tb-s:hover .tb-pic__px { scale: 1.07; }
}
@media (min-width: 560px) {
  .tb-s { grid-template-columns: 44px minmax(0, 1fr) 150px; gap: 0 20px; }
  .tb-pic { height: 130px; }
  .tb-pic__chip { display: block; }
}
/* широкий экран — одна горизонтальная лента из 7 шагов */
@media (min-width: 1280px) {
  .tb-line { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 18px; }
  .tb-line__rail { left: 22px; right: calc((100% - 108px) / 7 - 22px); top: 194px; bottom: auto; width: auto; height: 2px; }
  .tb-line__fill { background: linear-gradient(90deg, var(--sky), var(--mint)); transform-origin: left center; transform: scaleX(var(--p, 1)); }
  .tb-js .tb-line__fill { transform: scaleX(var(--p, 0)); }
  .tb-s { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tb-pic { grid-column: 1; grid-row: 1; height: 150px; margin-bottom: 22px; }
  .tb-s__n { grid-column: 1; grid-row: 2; }
  .tb-s__t { grid-column: 1; grid-row: 3; }
  .tb-s h3 { font-size: 22px; margin-top: 14px; }
  .tb-s p { font-size: 14px; }
}


/* ---------- FAQ и форма ---------- */
.tb-faq-wrap .kit-faq { max-width: 900px; }
.tb-faq__pic { display: none; }
@media (min-width: 1024px) {
  .tb-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: center; }
  .tb-faq__pic { display: block; } .tb-faq__pic img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
  .tb-anim .tb-faq__pic.is-in img { animation: tb-float 7s ease-in-out 1s infinite; }
}
.tb-cta-text { margin: 0 0 16px; color: #eef2ff; }
.tb-cta-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: #eef2ff; font-size: 15px; }
.tb-cta-list li::before { content: "→ "; color: var(--sky); font-weight: 700; }
.tb-cta__pic { margin-top: 22px; max-width: 220px; }
.tb-cta__pic img { width: 100%; height: auto; filter: drop-shadow(0 16px 26px rgba(10, 30, 90, .35)); }
.tb-anim .tb-cta.is-in .tb-cta__pic img { animation: tb-float 6s ease-in-out 1.2s infinite; }
@media (max-width: 767px) { .tb-cta__pic { max-width: 150px; margin-inline: auto; } }

@media (max-width: 380px) {
  .tb-fact b { font-size: 13px; }
  .tb-hero h1 { font-size: 40px; }
}

/* =====================================================================================================
   Продающая версия (22.10.2026, вечер): буллеты первого экрана, боли, входы, результат, форма
   ===================================================================================================== */

/* ---------- первый экран: слова заголовка проявляются по одному, буллеты с галочками ---------- */
.tb-js .tb-words:not(.is-split) { opacity: 0; }
.tb-words .w { display: inline-block; }
.tb-anim .tb-words .w { animation: tb-word .7s var(--t-ease) both; animation-delay: calc(var(--i) * 70ms + 80ms); }
@keyframes tb-word { from { opacity: 0; transform: translateY(.45em) rotate(3deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.tb-hero h1 { font-size: clamp(40px, 5vw, 70px); }
.tb-ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; max-width: 560px; }
.tb-ticks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 16px; line-height: 1.35; color: var(--text-2); }
.tb-ticks b { color: var(--text); font-weight: 700; }
.tb-s__t p b { color: var(--text); font-weight: 700; }
.tb-ticks i { position: relative; width: 22px; height: 22px; margin-top: 0; border-radius: 50%; background: rgba(126, 224, 176, .16);
  border: 1.5px solid rgba(126, 224, 176, .6); }
.tb-ticks i::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid var(--t-green);
  border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tb-js .tb-ticks i { animation: tb-tick .5s var(--t-pop) both; animation-delay: calc(var(--d, 0) * 1ms + 300ms); }
@keyframes tb-tick { from { transform: scale(0) rotate(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
.tb-pdf { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; font-size: 13px; font-weight: 700; color: var(--sky);
  text-decoration: none; white-space: nowrap; border-bottom: 1px dashed currentColor; }
.tb-pdf::before { content: "PDF"; font-size: 9px; padding: 2px 4px; border-radius: 4px; background: var(--t-accent); color: #fff; letter-spacing: .04em; }
.tb-pdf:hover { color: #fff; }
.tb-hero__note { margin: 14px 0 0; font-size: 14px; color: var(--muted); max-width: 520px; }
@media (min-width: 1024px) { .tb-hero { align-items: start; } .tb-art { margin-top: 18px; } }

/* ---------- боли: карточки раздаются из колоды (широкий экран) или влетают с боков (телефон) ---------- */
.tb-pain__head { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 8px 16px; align-items: center; }
@media (min-width: 768px) { .tb-pain__head { grid-template-columns: minmax(0, 1fr) 220px; } }
.tb-pain__head .kit-lead { margin-bottom: 0; }
.tb-pain__art { display: block; align-self: start; }
.tb-pain__art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .35)); }
.tb-deck { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 640px) { .tb-deck { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tb-deck { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.tb-pc { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 18px 14px; transition: translate .35s var(--t-ease), border-color .35s ease; }
.tb-pc h3 { font: 700 26px/1.08 var(--font-display); text-transform: uppercase; letter-spacing: .01em; margin: 0 0 12px; }
.tb-pc h3 span { background: linear-gradient(rgba(232, 69, 19, .5), rgba(232, 69, 19, .5)) no-repeat 0 88% / 100% 30%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 2px; }
.tb-pc blockquote { margin: 0 0 12px; padding: 0 0 0 12px; border-left: 3px solid var(--t-accent); font-size: 15px; font-style: italic;
  color: var(--text-2); line-height: 1.45; flex: 1; }
.tb-src { font-size: 12px; color: var(--muted); text-decoration: none; align-self: flex-start; }
.tb-src::after { content: " ↗"; }
.tb-src:hover { color: var(--text); }
@media (hover: hover) { .tb-pc:hover { translate: 0 -5px; border-color: rgba(232, 69, 19, .5); } }
.tb-js .tb-pc { opacity: 0; transform: translate(var(--fx, -40px), var(--fy, 30px)) rotate(var(--fr, -6deg)) scale(.92); }
.tb-js .tb-pc:nth-child(even) { --fx: 40px; --fr: 6deg; }
.tb-js .tb-pc.is-in { opacity: 1; transform: none; transition: opacity .45s ease, transform .85s var(--t-ease), translate .35s var(--t-ease), border-color .35s ease;
  transition-delay: calc(var(--dl, 0) * 1ms), calc(var(--dl, 0) * 1ms), 0s, 0s; }
.tb-js .tb-pc h3 span { background-size: 0% 30%; }
.tb-js .tb-pc.is-in h3 span { background-size: 100% 30%; transition: background-size .7s ease; transition-delay: calc(var(--dl, 0) * 1ms + 650ms); }
.tb-static .tb-pc { opacity: 1 !important; transform: none !important; }
.tb-static .tb-pc h3 span { background-size: 100% 30% !important; }

.tb-pay { margin-top: 26px; padding: 22px 20px; border-radius: 20px; border: 1px solid rgba(232, 69, 19, .45);
  background: linear-gradient(135deg, rgba(232, 69, 19, .2), rgba(232, 69, 19, .04) 70%); }
.tb-pay p { margin: 0; }
.tb-pay__k { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff9a76; }
.tb-pay__v { font: 700 clamp(40px, 7vw, 72px)/1 var(--font-display); margin: 6px 0 12px !important; color: #fff; }
.tb-pay__v span { display: block; font: 600 15px/1.3 var(--font-text); color: var(--text-2); margin-top: 6px; }
@media (min-width: 640px) { .tb-pay__v span { display: inline; margin-left: 8px; } }
.tb-pay__bar { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .07); overflow: hidden; margin-bottom: 12px; }
.tb-pay__bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #6b6b6b, var(--t-accent));
  transform-origin: left center; transform: scaleX(1); }
.tb-js .tb-pay__bar i { transform: scaleX(0); }
.tb-js .tb-pay.is-in .tb-pay__bar i { transform: scaleX(1); transition: transform 1.4s var(--t-ease) .5s; }
.tb-static .tb-pay__bar i { transform: none !important; }
.tb-pay__t { font-size: 16px; color: var(--text); }
.tb-pay__q { margin-top: 10px !important; font-size: 13px; color: var(--muted); font-style: italic; }
.tb-pay__q a { color: var(--muted); }
@media (min-width: 1024px) { .tb-pay { display: grid; grid-template-columns: auto 1fr; gap: 6px 40px; align-items: center; padding: 28px 32px; }
  .tb-pay__k, .tb-pay__v { grid-column: 1; } .tb-pay__bar, .tb-pay__t, .tb-pay__q { grid-column: 2; }
  .tb-pay__bar { grid-row: 1; margin: 0; } .tb-pay__t { grid-row: 2; } .tb-pay__q { grid-row: 3; } .tb-pay__v { grid-row: 2 / span 2; } }

/* ---------- как это работает: дополнение ---------- */
.tb-s__more { margin: -4px 0 10px !important; }
.tb-s__more .tb-pdf { margin-left: 0; }

/* ---------- результат: шкала «до 80 %» заполняется, зарплата зачёркивается ---------- */
@property --g { syntax: "<number>"; inherits: true; initial-value: 0; }
.tb-res { display: grid; gap: 30px; margin-top: 6px; }
@media (min-width: 1024px) { .tb-res { grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; } }
.tb-gauge { display: grid; justify-items: center; text-align: center; gap: 4px; }
.tb-gauge__ring { position: relative; width: min(240px, 64vw); aspect-ratio: 1; display: grid; place-items: center; --g: .8; }
.tb-js .tb-gauge__ring { --g: 0; }
.tb-js .tb-gauge.is-in .tb-gauge__ring { --g: .8; transition: --g 1.8s var(--t-ease) .3s; }
.tb-static .tb-gauge__ring { --g: .8 !important; }
.tb-gauge__ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(var(--t-accent) calc(var(--g) * 1turn), rgba(255, 255, 255, .08) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 13px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 13px)); }
.tb-gauge__ring img { width: 64%; height: auto; display: block; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .35)); }
.tb-anim .tb-gauge.is-in .tb-gauge__ring img { animation: tb-float 6s ease-in-out 2s infinite; }
.tb-gauge__v { margin: 6px 0 0; font: 700 clamp(56px, 8vw, 80px)/1 var(--font-display); color: #fff; }
.tb-gauge__v b { color: #ff8a5c; }
.tb-gauge__t { margin: 0; max-width: 30ch; color: var(--text-2); font-size: 15px; }
.tb-fork { display: grid; gap: 14px; }
@media (min-width: 640px) { .tb-fork { grid-template-columns: 1fr 1fr; } }
.tb-way { position: relative; padding: 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.tb-way p { margin: 0 0 10px; font-size: 15px; color: var(--text-2); }
.tb-way__k { font-size: 12px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky) !important; margin-bottom: 6px !important; }
.tb-way h3 { font: 700 28px/1 var(--font-display); text-transform: uppercase; margin: 0 0 10px; }
.tb-strike { margin-top: auto !important; padding-top: 6px; font-weight: 700; }
.tb-strike s { position: relative; text-decoration: none; color: var(--muted); }
.tb-strike s::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 2.5px; border-radius: 2px; background: var(--t-accent);
  transform-origin: left center; transform: rotate(-2deg); }
.tb-js .tb-strike s::after { transform: scaleX(0) rotate(-2deg); }
.tb-js .tb-way.is-in .tb-strike s::after { transform: scaleX(1) rotate(-2deg); transition: transform .7s var(--t-ease) 1.1s; }
.tb-static .tb-strike s::after { transform: rotate(-2deg) !important; }
.tb-way__ctrl { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: auto; padding: 12px;
  border-radius: 12px; background: rgba(91, 141, 255, .12); border: 1px solid rgba(91, 141, 255, .3); }
.tb-way__ctrl p { margin: 0; font-size: 14px; color: var(--text-2); }
.tb-way__ctrl b { color: var(--text); }
.tb-way__pic img { display: block; width: 60px; height: auto; }
.tb-anim .tb-way.is-in .tb-way__pic img { animation: tb-float 5s ease-in-out 1.4s infinite; }

/* ---------- вопросы: ответ раскрывается с подъёмом ---------- */
.tb-faq details[open] > div { animation: tb-rise .45s var(--t-ease); }
.tb-faq summary { transition: color .25s ease; }
@media (hover: hover) { .tb-faq summary:hover { color: var(--sky); } }

/* ---------- форма: сияние за формой, второй шаг раскрывается полями по одному ---------- */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.tb-cta { overflow: clip; }
.tb-formbox { position: relative; }
.tb-formbox__glow { position: absolute; inset: -6px; border-radius: 26px; z-index: 0; opacity: .75; filter: blur(16px); pointer-events: none;
  background: conic-gradient(from var(--a), #5b8dff, #e84513, #7ee0b0, #97daff, #5b8dff); }
.tb-anim .tb-formbox__glow { animation: tb-spin 9s linear infinite; }
@keyframes tb-spin { to { --a: 360deg; } }
.tb-formbox > [data-sj-form] { position: relative; z-index: 1; padding: 22px 18px; border-radius: 20px; background: #262626;
  border: 1px solid rgba(255, 255, 255, .12); max-width: none; }
@media (min-width: 640px) { .tb-formbox > [data-sj-form] { padding: 28px; } }
.sj-form__step2 > * { animation: tb-rise .6s var(--t-ease) both; }
.sj-form__step2 > :nth-child(2) { animation-delay: .08s; } .sj-form__step2 > :nth-child(3) { animation-delay: .25s; }
.sj-form__step2 > :nth-child(4) { animation-delay: .4s; } .sj-form__step2 > :nth-child(5) { animation-delay: .55s; }
.sj-form__step2 > :nth-child(n+6) { animation-delay: .7s; }
@media (prefers-reduced-motion: reduce) {
  .tb-anim .tb-words .w, .sj-form__step2 > *, .tb-faq details[open] > div, .tb-anim .tb-formbox__glow { animation: none; }
}
/* форма на тёмной панели внутри синего блока: кнопка и выбранный вариант — снова акцентные */
.tb-formbox .kit-btn { --btn-bg: var(--grad-cta); --btn-fg: #fff; }
.tb-formbox .sj-choice input:checked + span { background: var(--mint); border-color: var(--mint); color: #fff; }
.tb-formbox .sj-hint { color: var(--sky); }

/* =====================================================================================================
   Второй проход (23.10.2026): источники чипами, «у первого клиента», контроль тендерщика, «кому подойдёт»
   ===================================================================================================== */

/* боли: источник — только значок ↗ */
.tb-src { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong);
  font-size: 12px; }
.tb-src::after { content: "↗"; }

/* шаг 1: откуда тендеры — чипами */
.tb-srcs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tb-srcs li { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 100px; white-space: nowrap; }
.tb-srcs .ok { background: rgba(126, 224, 176, .14); color: var(--t-green); }
.tb-srcs .ok::before { content: "● "; font-size: 9px; vertical-align: 1px; }
.tb-srcs .soon { border: 1px dashed var(--line-strong); color: var(--muted); white-space: normal; }
.tb-js .tb-s .tb-srcs li { opacity: 0; transform: scale(.7); }
.tb-js .tb-s.is-in .tb-srcs li { opacity: 1; transform: none; transition: opacity .3s ease, transform .45s var(--t-pop); }
.tb-js .tb-s.is-in .tb-srcs li:nth-child(1) { transition-delay: .7s; } .tb-js .tb-s.is-in .tb-srcs li:nth-child(2) { transition-delay: .85s; }
.tb-js .tb-s.is-in .tb-srcs li:nth-child(3) { transition-delay: 1s; }
.tb-js .tb-s.is-in .tb-srcs li:nth-child(4) { transition-delay: 1.15s; } .tb-js .tb-s.is-in .tb-srcs li:nth-child(5) { transition-delay: 1.3s; }
.tb-js .tb-s.is-in .tb-srcs li:nth-child(n+6) { transition-delay: 1.45s; }
.tb-static .tb-s .tb-srcs li { opacity: 1; transform: none; }
.tb-hero__note { color: var(--text-2); }

/* ---------- у первого клиента: лента с таймером, точки загораются по прокрутке ---------- */
.tb-case { display: grid; gap: 28px; margin-top: 26px; }
@media (min-width: 1024px) { .tb-case { grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; } }
.tb-tl { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tb-tl__rail { position: absolute; left: 35px; top: 18px; bottom: 18px; width: 2px; background: var(--line); border-radius: 2px; }
.tb-tl__rail i { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(180deg, var(--sky), var(--mint));
  transform-origin: top center; transform: scaleY(var(--p, 1)); }
.tb-js .tb-tl__rail i { transform: scaleY(var(--p, 0)); }
.tb-tl__i { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; }
.tb-tl__t { position: relative; z-index: 1; justify-self: center; min-width: 64px; padding: 6px 8px; border-radius: 100px; text-align: center;
  background: var(--bg-alt); border: 1.5px solid var(--line-strong); color: var(--muted); font: 700 13px/1 var(--font-text); white-space: nowrap;
  transition: background-color .4s ease, border-color .4s ease, color .4s ease, transform .45s var(--t-pop); }
.tb-tl__i > div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line);
  transition: border-color .4s ease, opacity .5s ease, transform .6s var(--t-ease); }
.tb-tl__i b { font-size: 15px; color: var(--text); }
.tb-tl__i span { font-size: 13px; color: var(--text-2); }
.tb-tl__i em { font-style: normal; font-weight: 700; color: #ff9a76; }
.tb-tl__i.is-passed .tb-tl__t, .tb-static .tb-tl__t, .tb-nojs .tb-tl__t { background: var(--mint-deep); border-color: var(--mint); color: #fff; }
.tb-js .tb-tl__i > div { opacity: .35; transform: translateX(14px); }
.tb-js .tb-tl__i.is-passed > div { opacity: 1; transform: none; }
.tb-static .tb-tl__i > div { opacity: 1 !important; transform: none !important; }
.tb-tl__i--hot.is-passed .tb-tl__t, .tb-static .tb-tl__i--hot .tb-tl__t { background: var(--t-accent); border-color: var(--t-accent); transform: scale(1.12); }
.tb-anim .tb-tl__i--hot.is-passed .tb-tl__t { animation: tb-ring 1.6s ease-out .3s 2; }
@keyframes tb-ring { 0% { box-shadow: 0 0 0 0 rgba(232, 69, 19, .6); } 100% { box-shadow: 0 0 0 14px rgba(232, 69, 19, 0); } }
.tb-tl__i--warn.is-passed > div, .tb-static .tb-tl__i--warn > div { border-color: rgba(255, 154, 118, .55); }
.tb-anim .tb-tl__i--warn.is-passed > div { animation: tb-warn .7s ease .4s 2; }
@keyframes tb-warn { 50% { background: rgba(232, 69, 19, .16); } }
.tb-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tb-stat { padding: 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.tb-stat b { font: 700 clamp(34px, 4vw, 46px)/1 var(--font-display); color: #fff; white-space: nowrap; }
.tb-stat > span { font-size: 13px; color: var(--text-2); line-height: 1.35; }
.tb-case__kp { margin-top: 14px; width: 100%; }
.tb-case__pic { display: flex; justify-content: center; margin-top: 18px; }
.tb-case__pic img { width: auto; max-height: 340px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.tb-anim .tb-case__pic.is-in img { animation: tb-float 7s ease-in-out 1s infinite; }
@media (max-width: 1023px) { .tb-case__pic img { max-height: 220px; } }

/* ---------- контроль тендерщика: отчёт «печатается» строками ---------- */
.tb-ctl { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .tb-ctl { grid-template-columns: 1fr 1fr; gap: 56px; } }
.tb-ctl__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; color: var(--text-2); font-size: 15px; }
.tb-ctl__list li { display: flex; gap: 10px; }
.tb-ctl__list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--sky); }
.tb-rep { position: relative; padding: 18px 18px 14px; border-radius: 18px; background: var(--t-paper); color: var(--t-ink);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45); max-width: 520px; width: 100%; justify-self: center; }
.tb-rep__h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 8px; margin-bottom: 4px;
  border-bottom: 2px solid var(--t-accent); }
.tb-rep__h b { font: 700 24px/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.tb-rep__h span { font-size: 11px; color: #6b6f76; white-space: nowrap; }
.tb-rep__rows { list-style: none; margin: 0; padding: 0; }
.tb-rep__rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0;
  border-bottom: 1px dashed #d5d8dd; font-size: 14px; }
.tb-rep__rows li span { min-width: 0; }
.tb-rep__rows small { color: #6b6f76; }
.tb-rep__rows b { font: 700 22px/1 var(--font-display); white-space: nowrap; }
.tb-rep__rows .is-bad { color: #c2380c; }
.tb-rep__rows .is-bad span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%;
  background: var(--t-accent); vertical-align: 1px; }
.tb-js .tb-rep__rows li { opacity: 0; transform: translateX(-12px); }
.tb-js .tb-rep.is-in .tb-rep__rows li { opacity: 1; transform: none; transition: opacity .4s ease, transform .5s var(--t-ease);
  transition-delay: calc(400ms + var(--i) * 160ms); }
.tb-static .tb-rep__rows li { opacity: 1 !important; transform: none !important; }
.tb-anim .tb-rep.is-in .is-bad span::before { animation: tb-ring 1.4s ease-out 1.6s infinite; }

/* ---------- кому подойдёт: карточки поворачиваются, значки прощёлкиваются ---------- */
.tb-fit { display: grid; gap: 14px; margin-top: 8px; perspective: 1200px; }
@media (min-width: 768px) { .tb-fit { grid-template-columns: 1.2fr 1fr; gap: 18px; } }
.tb-fit__c { padding: 22px 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.tb-fit__c--yes { border-color: rgba(126, 224, 176, .45); }
.tb-fit__c--no { border-style: dashed; border-color: var(--line-strong); }
.tb-fit__c h3 { font: 700 28px/1 var(--font-display); text-transform: uppercase; margin: 0 0 14px; }
.tb-fit__c { position: relative; }
.tb-fit__pic { position: absolute; right: 10px; top: -22px; width: 84px; height: auto; pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
.tb-anim .tb-fit__c.is-in .tb-fit__pic { animation: tb-float 6s ease-in-out 1.2s infinite; }
@media (min-width: 768px) { .tb-fit__c { padding-right: 150px; } .tb-fit__pic { width: 130px; top: -34px; right: 14px; } }
.tb-fit__c--yes h3 { color: var(--t-green); } .tb-fit__c--no h3 { color: #ff9a76; }
.tb-fit__c ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tb-fit__c li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; font-size: 15px; color: var(--text-2); line-height: 1.4; }
.tb-fit__c li::before { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 700 12px/1 var(--font-text); }
.tb-fit__c--yes li::before { content: "✓"; background: rgba(126, 224, 176, .18); color: var(--t-green); }
.tb-fit__c--no li::before { content: "✕"; background: rgba(232, 69, 19, .16); color: #ff9a76; }
.tb-js .tb-fit__c--yes.tb-rv { transform: rotateY(18deg) translateX(-20px); transform-origin: left center; }
.tb-js .tb-fit__c--no.tb-rv { transform: rotateY(-18deg) translateX(20px); transform-origin: right center; }
.tb-js .tb-fit__c.tb-rv.is-in { transform: none; }
.tb-js .tb-fit__c li::before { transform: scale(0); }
.tb-js .tb-fit__c.is-in li::before { transform: none; transition: transform .45s var(--t-pop); transition-delay: calc(500ms + var(--i) * 180ms); }
.tb-static .tb-fit__c li::before { transform: none !important; }

/* ---------- решение о подаче: полоска зон и ползунок (как в карточке тендера сервиса, D-057) ---------- */
.tb-dec { display: grid; gap: 28px clamp(28px, 4vw, 56px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
@media (min-width: 960px) { .tb-dec { grid-template-columns: 1fr 1.05fr; } }
.tb-dec .kit-h3 { margin-bottom: 18px; }
.tb-dec__list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.tb-dec__list li { position: relative; padding-left: 26px; color: var(--text-2); line-height: 1.45; }
.tb-dec__list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 12px; border-radius: 50%;
  background: conic-gradient(var(--t-red) 0 25%, var(--t-yellow) 0 50%, #bfe9d2 0 75%, var(--t-green) 0); }
.tb-dec__list b { color: var(--text); }
.tb-dec__hint { margin: 0; font-size: 14px; color: var(--muted); }
.tb-plan { display: inline-block; font: 700 11px/1.6 var(--font-text); letter-spacing: .04em; text-transform: uppercase;
  color: #d8c7ff; background: rgba(167, 139, 250, .16); border: 1px solid rgba(167, 139, 250, .4); border-radius: 6px;
  padding: 0 6px; vertical-align: 1px; }
.tb-dec__card { background: var(--t-card); border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 2.4vw, 26px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.tb-dec__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.tb-dec__head b { color: var(--text); }
.tb-dec__verdict { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 16px 0 14px; }
.tb-vb { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 10px; border-radius: 100px;
  font: 700 22px/1 var(--font-display); letter-spacing: .03em; text-transform: uppercase; transition: background .3s, color .3s; }
.tb-vb i { width: 12px; height: 12px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.tb-vb.v-go { color: var(--t-green); background: rgba(126, 224, 176, .14); }
.tb-vb.v-warn { color: var(--t-yellow); background: rgba(255, 207, 110, .14); }
.tb-vb.v-no, .tb-vb.v-loss { color: var(--t-red); background: rgba(255, 122, 89, .15); }
.tb-vb.is-pop { animation: tb-vpop .35s var(--t-pop); }
@keyframes tb-vpop { 50% { transform: scale(1.08); } }
.tb-dec__margin { color: var(--muted); font-size: 15px; } .tb-dec__margin b { color: var(--text); font-size: 18px; }
.tb-dec__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.tb-dec__nums div { background: rgba(255, 255, 255, .05); border-radius: 10px; padding: 10px 12px; }
.tb-dec__nums span { display: block; font-size: 13px; color: var(--muted); }
.tb-dec__nums b { font: 700 26px/1.1 var(--font-display); letter-spacing: .02em; }
.tb-dec__nums b.neg { color: var(--t-red); }
.tb-dec__bar { position: relative; display: flex; height: 26px; border-radius: 8px; overflow: hidden; }
.tb-dec__bar .z-loss { background: rgba(255, 122, 89, .55); } .tb-dec__bar .z-low { background: rgba(255, 207, 110, .55); }
.tb-dec__bar .z-mid { background: rgba(126, 224, 176, .3); } .tb-dec__bar .z-ok { background: rgba(126, 224, 176, .62); }
.tb-dec__hist { position: absolute; top: 0; bottom: 0; border-left: 1px dashed rgba(255, 255, 255, .7);
  border-right: 1px dashed rgba(255, 255, 255, .7); background: repeating-linear-gradient(135deg, rgba(255,255,255,.14) 0 4px, transparent 4px 8px); }
.tb-dec__mark { position: absolute; top: -3px; bottom: -3px; width: 4px; margin-left: -2px; background: #fff; border-radius: 3px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .35), 0 0 14px rgba(255, 255, 255, .6); transition: left .12s linear; }
.tb-dec__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin: 6px 0 14px; }
.tb-dec__slide { display: block; font-size: 14px; color: var(--text-2); }
.tb-dec__slide b { color: var(--text); margin-left: 4px; }
.tb-dec__slide input { display: block; width: 100%; margin-top: 8px; accent-color: var(--mint); cursor: pointer; }
.tb-dec__floor { margin-top: 12px; font-size: 14px; color: var(--text-2); }
.tb-dec__floor b { color: var(--text); }
.tb-dec__costs { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.tb-dec__costs div { display: flex; justify-content: space-between; gap: 12px; }
.tb-dec__costs b { color: var(--text-2); font-weight: 600; }
.tb-dec__win { margin-top: 14px; font-size: 13.5px; line-height: 1.45; color: var(--text-2); background: rgba(167, 139, 250, .08);
  border: 1px solid rgba(167, 139, 250, .25); border-radius: 10px; padding: 10px 12px; }
.tb-dec__win b { color: var(--text); }
