/* ==========================================================================
   Tegro Card — conversion landing (/card)
   Scoped under .tcard so it never leaks into other pages.
   Reuses theme tokens (--blue-gradient, --text-primary, --bg-primary).
   Accent: #00c9a7 (brand mint) → #1fb6ff (bridge to hero blue).
   ========================================================================== */

.tcard {
  --tc-accent: #00c9a7;
  --tc-accent-2: #1fb6ff;
  --tc-grad: linear-gradient(135deg, #00c9a7 0%, #1fb6ff 100%);
  --tc-ink: #020e21;
  --tc-muted: #515c6b;
  --tc-line: #e3eaf6;
  /* Поверхности вынесены в токены: тема переопределяет только их.
     Светлые значения = ровно то, что было захардкожено раньше (/card не меняется). */
  --tc-surface: #fff;
  --tc-surface-2: #f6faff;
  --tc-shadow: 0 18px 40px -28px rgba(8, 40, 80, .35);
  --tc-shadow-lg: 0 26px 50px -30px rgba(8, 40, 80, .45);
  --tc-dim: #c2ccd8;
  --tc-accent-soft: rgba(0, 201, 167, .06);
}

/* Тёмная тема сайта (body.dark, см. assets/tpay/js/theme.js).
   Палитра синхронизирована с app.css: --bg-cards/--bg-secondary/--bs-border-color. */
body.dark .tcard {
  --tc-ink: #f5f7fa;
  --tc-muted: #ced4de;
  --tc-line: #2e3c48;
  --tc-surface: #27333e;
  --tc-surface-2: #2a3641;
  --tc-shadow: 0 18px 40px -28px rgba(0, 0, 0, .6);
  --tc-shadow-lg: 0 26px 50px -30px rgba(0, 0, 0, .7);
  --tc-dim: #6b7a8a;
  --tc-accent-soft: rgba(0, 201, 167, .12);
}

/* ---------- Reveal-on-scroll ---------- */
.tcard .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.tcard .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .tcard .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Hero extras ---------- */
.tcard__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #d8fff6;
  background: rgba(0, 201, 167, .14);
  border: 1px solid rgba(0, 201, 167, .45);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.tcard__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--tc-accent);
  box-shadow: 0 0 0 0 rgba(0,201,167,.7);
  animation: tc-pulse 2s infinite;
}
@keyframes tc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,201,167,.6); }
  70% { box-shadow: 0 0 0 9px rgba(0,201,167,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,201,167,0); }
}
.tcard__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tcard__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 10px;
}
.tcard__pill i { color: var(--tc-accent); }
.text-lg-left .tcard__trust { justify-content: center; }
@media (min-width: 992px) { .text-lg-left .tcard__trust { justify-content: flex-start; } }

/* ---------- Hero card mock-up (CSS-drawn, original brand asset) ---------- */
.tcard-mock {
  position: relative;
  width: 340px;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 1.585 / 1;
  border-radius: 20px;
  padding: 26px 28px;
  color: #fff;
  background:
    radial-gradient(120% 140% at 85% 15%, rgba(0,201,167,.55), transparent 55%),
    linear-gradient(135deg, #0b1f3a 0%, #0a2b4d 45%, #06375f 100%);
  box-shadow: 0 30px 60px -20px rgba(0, 80, 90, .55), inset 0 1px 0 rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  overflow: hidden;
  animation: tc-float 6s ease-in-out infinite;
}
.tcard-mock:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: tc-sheen 5s ease-in-out infinite;
}
@keyframes tc-sheen { 0%,55% { transform: translateX(-100%);} 80%,100% { transform: translateX(100%);} }
@keyframes tc-float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }
@media (prefers-reduced-motion: reduce) { .tcard-mock { animation: none; } .tcard-mock:before { animation: none; } }
.tcard-mock__top { display: flex; justify-content: space-between; align-items: center; }
.tcard-mock__brand { font-weight: 800; font-size: 19px; letter-spacing: .02em; }
.tcard-mock__net { font-weight: 800; font-style: italic; font-size: 22px; opacity: .95; }
.tcard-mock__chip {
  width: 46px; height: 34px; margin: 30px 0 18px;
  border-radius: 7px;
  background: linear-gradient(135deg, #f6d365, #d9a93b);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.tcard-mock__num { font-size: 19px; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.tcard-mock__row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 16px; }
.tcard-mock__label { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; opacity: .6; display: block; }
.tcard-mock__val { font-size: 13px; font-weight: 600; }
.tcard-mock__badge {
  position: absolute; top: 16px; right: -34px;
  transform: rotate(45deg);
  background: var(--tc-grad);
  color: #04261f; font-size: 11px; font-weight: 800;
  padding: 4px 40px; letter-spacing: .05em;
}

/* ---------- Stats strip ---------- */
.tcard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -42px;
  position: relative;
  z-index: 5;
}
@media (max-width: 767px) { .tcard-stats { grid-template-columns: repeat(2, 1fr); margin-top: 24px; } }
.tcard-stat {
  text-align: center;
  padding: 26px 16px;
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
  border-radius: 16px;
  box-shadow: var(--tc-shadow);
}
.tcard-stat__num {
  font-size: 38px; font-weight: 900; line-height: 1;
  background: var(--tc-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tcard-stat__label { margin-top: 8px; font-size: 14px; color: var(--tc-muted); }

/* ---------- Feature / step card lift ---------- */
.tcard .ucard { transition: transform .35s ease, box-shadow .35s ease; }
.tcard .ucard:hover { transform: translateY(-6px); box-shadow: var(--tc-shadow-lg); }

.tcard-step { position: relative; }
.tcard-step__badge {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  font-weight: 800; color: #fff;
  background: var(--tc-grad);
  border-radius: 12px;
  box-shadow: 0 8px 18px -8px rgba(0,201,167,.7);
}

/* ---------- Comparison ---------- */
.tcard-compare { max-width: 880px; margin: 0 auto; border: 1px solid var(--tc-line); border-radius: 18px; overflow: hidden; background: var(--tc-surface); }
.tcard-compare__row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; align-items: center; }
.tcard-compare__row + .tcard-compare__row { border-top: 1px solid var(--tc-line); }
.tcard-compare__row > div { padding: 16px 18px; font-size: 15px; }
.tcard-compare__head { background: var(--tc-surface-2); font-weight: 700; color: var(--tc-ink); }
.tcard-compare__head .tcard-compare__us { color: var(--tc-accent); }
.tcard-compare__feat { color: var(--tc-muted); }
.tcard-compare__us { font-weight: 700; background: var(--tc-accent-soft); color: var(--tc-ink); }
.tcard-compare__us i { color: var(--tc-accent); margin-right: 7px; }
.tcard-compare__them i { color: var(--tc-dim); margin-right: 7px; }
@media (max-width: 575px) { .tcard-compare__row > div { padding: 12px 10px; font-size: 13px; } }

/* ---------- Cashback tiers ---------- */
.tcard-tier {
  height: 100%;
  text-align: center;
  padding: 34px 22px;
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
  border-radius: 18px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.tcard-tier:hover { transform: translateY(-6px); box-shadow: var(--tc-shadow-lg); }
.tcard-tier--featured {
  border: 1.5px solid var(--tc-accent);
  box-shadow: 0 28px 56px -28px rgba(0,201,167,.5);
  position: relative;
}
.tcard-tier__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--tc-grad); color: #04261f;
  font-size: 12px; font-weight: 800; letter-spacing: .03em;
  padding: 5px 16px; border-radius: 999px;
  white-space: nowrap;
}
.tcard-tier__pct { font-size: 52px; font-weight: 900; line-height: 1; background: var(--tc-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tcard-tier__name { margin-top: 6px; font-weight: 700; color: var(--tc-ink); }
.tcard-tier__desc { margin-top: 10px; font-size: 14px; color: var(--tc-muted); }

/* ---------- FAQ accordion ---------- */
.tcard-faq { max-width: 820px; margin: 0 auto; }
.tcard-acc { border: 1px solid var(--tc-line); border-radius: 14px; background: var(--tc-surface); margin-bottom: 14px; overflow: hidden; }
.tcard-acc__q {
  width: 100%; text-align: left; border: 0; background: none;
  padding: 20px 22px; font-size: 17px; font-weight: 600; color: var(--tc-ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer;
}
.tcard-acc__q i { transition: transform .3s ease; color: var(--tc-accent); flex: none; }
.tcard-acc.is-open .tcard-acc__q i { transform: rotate(45deg); }
.tcard-acc__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.tcard-acc__a-in { padding: 0 22px 20px; color: var(--tc-muted); font-size: 15px; line-height: 1.6; }

/* ---------- Sticky CTA ---------- */
.tcard-sticky {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 700; color: #04261f; text-decoration: none;
  background: var(--tc-grad);
  box-shadow: 0 18px 40px -12px rgba(0,201,167,.7);
  opacity: 0; transform: translateY(20px) scale(.96); pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}
.tcard-sticky.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.tcard-sticky:hover { color: #04261f; filter: brightness(1.05); }
@media (max-width: 575px) { .tcard-sticky { right: 12px; bottom: 12px; padding: 12px 18px; font-size: 14px; } }

/* ---------- Lead form ---------- */
.tcard-form { max-width: 560px; margin: 0 auto; }
.tcard-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tcard-field { margin-bottom: 16px; }
.tcard-field label { display: block; font-size: 14px; font-weight: 600; color: var(--text-primary, #020e21); margin-bottom: 6px; }
.tcard-field input, .tcard-field textarea {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--tc-ink);
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.tcard-field textarea { resize: vertical; }
.tcard-field input:focus, .tcard-field textarea:focus {
  outline: none;
  border-color: var(--tc-accent);
  box-shadow: 0 0 0 3px rgba(0, 201, 167, .15);
}
.tcard-form .btn { width: 100%; }
.tcard-form__note { margin-top: 14px; text-align: center; font-size: 15px; min-height: 1.2em; }
.tcard-form__note.ok { color: #0a8f76; font-weight: 600; }
.tcard-form__note.err { color: #c0392b; }
.tcard-form.is-sent .tcard-field, .tcard-form.is-sent > .btn { display: none; }
.tcard-paybtn { display: none; margin-top: 8px; }
.tcard-form.is-sent .tcard-paybtn { display: inline-flex; }

/* ==========================================================================
   White-Label (/white-label) — секции, добавленные 2026-07-20.
   Всё на токенах .tcard → светлая и тёмная темы без дублей правил.
   ========================================================================== */

/* ---------- Универсальные примитивы ---------- */
.tc-panel {
  height: 100%;
  padding: 30px 28px;
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
  border-radius: 18px;
  box-shadow: var(--tc-shadow);
}
.tc-panel__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.tc-panel--bad .tc-panel__label { color: #c0392b; background: rgba(192,57,43,.10); }
.tc-panel--good { border-color: var(--tc-accent); box-shadow: 0 28px 56px -30px rgba(0,201,167,.45); }
.tc-panel--good .tc-panel__label { color: #0a8f76; background: rgba(0,201,167,.12); }
body.dark .tc-panel--bad .tc-panel__label { color: #ff8b7a; background: rgba(255,139,122,.12); }
body.dark .tc-panel--good .tc-panel__label { color: #4fe0c4; background: rgba(0,201,167,.16); }
.tc-panel__title { font-size: 21px; font-weight: 700; color: var(--tc-ink); margin-bottom: 10px; }
.tc-panel__desc { font-size: 15px; line-height: 1.65; color: var(--tc-muted); margin: 0; }

/* Цепочка шагов «было / стало» */
.tc-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 20px; }
.tc-flow__step {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; font-size: 14px; font-weight: 600;
  color: var(--tc-ink); background: var(--tc-surface-2);
  border: 1px solid var(--tc-line); border-radius: 12px;
}
.tc-flow__step i { color: var(--tc-muted); }
.tc-flow--good .tc-flow__step { border-color: rgba(0,201,167,.45); background: var(--tc-accent-soft); }
.tc-flow--good .tc-flow__step i { color: var(--tc-accent); }
.tc-flow__arrow { color: var(--tc-dim); font-size: 13px; }
.tc-cons { list-style: none; padding: 0; margin: 0; }
.tc-cons li {
  position: relative; padding-left: 26px; margin-bottom: 10px;
  font-size: 15px; line-height: 1.55; color: var(--tc-muted);
}
.tc-cons li:last-child { margin-bottom: 0; }
.tc-cons li:before {
  content: "\f00d"; font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free"; font-weight: 300;
  position: absolute; left: 0; top: 1px; color: #d9534f;
}
.tc-cons--good li:before { content: "\f00c"; color: var(--tc-accent); }
body.dark .tc-cons li:before { color: #ff8b7a; }
body.dark .tc-cons--good li:before { color: var(--tc-accent); }

/* ---------- Сегменты «кому подходит» ---------- */
.tc-seg {
  height: 100%;
  padding: 26px 24px;
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
  border-radius: 16px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.tc-seg:hover { transform: translateY(-6px); box-shadow: var(--tc-shadow-lg); border-color: rgba(0,201,167,.5); }
.tc-seg__ico {
  width: 46px; height: 46px; margin-bottom: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 19px; color: var(--tc-accent);
  background: var(--tc-accent-soft);
  border: 1px solid rgba(0,201,167,.28);
  border-radius: 13px;
}
.tc-seg__title { font-size: 17px; font-weight: 700; color: var(--tc-ink); margin-bottom: 7px; }
.tc-seg__desc { font-size: 14.5px; line-height: 1.6; color: var(--tc-muted); margin: 0; }

/* ---------- Живой конструктор бренда ---------- */
.tc-builder {
  display: grid; grid-template-columns: 1fr 380px; gap: 34px; align-items: center;
  padding: 34px;
  background: var(--tc-surface);
  border: 1px solid var(--tc-line);
  border-radius: 22px;
  box-shadow: var(--tc-shadow);
}
@media (max-width: 991px) { .tc-builder { grid-template-columns: 1fr; gap: 26px; padding: 24px; } }
.tc-builder__row { margin-bottom: 20px; }
.tc-builder__row:last-child { margin-bottom: 0; }
.tc-builder__lab {
  display: block; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--tc-muted); margin-bottom: 9px;
}
.tc-builder input[type="text"] {
  width: 100%; padding: 13px 16px; font: inherit; font-size: 15px; font-weight: 600;
  color: var(--tc-ink); background: var(--tc-surface-2);
  border: 1px solid var(--tc-line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.tc-builder input[type="text"]:focus {
  outline: none; border-color: var(--tc-accent); box-shadow: 0 0 0 3px rgba(0,201,167,.15);
}
.tc-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.tc-swatch {
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  border: 2px solid transparent; border-radius: 13px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
  transition: transform .2s ease, border-color .2s ease;
}
.tc-swatch:hover { transform: translateY(-3px); }
.tc-swatch.is-active { border-color: var(--tc-ink); transform: translateY(-3px); }
.tc-nets { display: flex; flex-wrap: wrap; gap: 10px; }
.tc-net {
  padding: 9px 16px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700;
  color: var(--tc-muted); background: var(--tc-surface-2);
  border: 1px solid var(--tc-line); border-radius: 11px;
  transition: color .2s, border-color .2s, background .2s;
}
.tc-net.is-active { color: var(--tc-ink); border-color: var(--tc-accent); background: var(--tc-accent-soft); }
.tc-builder__hint { margin: 18px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--tc-muted); }
.tc-builder .tcard-mock { animation: none; margin: 0 auto; }
.tc-builder .tcard-mock:before { animation: none; }

/* ---------- Таймлайн запуска ---------- */
.tc-time { position: relative; max-width: 860px; margin: 0 auto; padding-left: 40px; }
.tc-time:before {
  content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--tc-accent), rgba(31,182,255,.25));
}
.tc-time__item { position: relative; padding-bottom: 30px; }
.tc-time__item:last-child { padding-bottom: 0; }
.tc-time__dot {
  position: absolute; left: -40px; top: 2px;
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #04261f;
  background: var(--tc-grad);
  box-shadow: 0 0 0 5px var(--tc-surface-2);
}
.tc-time__day {
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--tc-accent); margin-bottom: 4px;
}
.tc-time__title { font-size: 18px; font-weight: 700; color: var(--tc-ink); margin-bottom: 6px; }
.tc-time__desc { font-size: 15px; line-height: 1.6; color: var(--tc-muted); margin: 0; }
.tc-time__who {
  display: inline-block; margin-top: 8px; padding: 4px 10px;
  font-size: 12px; font-weight: 700; border-radius: 999px;
  color: var(--tc-muted); background: var(--tc-surface-2); border: 1px solid var(--tc-line);
}

/* ---------- Калькулятор дохода ---------- */
.tc-calc {
  max-width: 900px; margin: 0 auto; padding: 34px;
  background: var(--tc-surface); border: 1px solid var(--tc-line);
  border-radius: 22px; box-shadow: var(--tc-shadow);
}
@media (max-width: 575px) { .tc-calc { padding: 22px 18px; } }
.tc-calc__ctrl + .tc-calc__ctrl { margin-top: 26px; }
.tc-calc__head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.tc-calc__lab { font-size: 14px; font-weight: 600; color: var(--tc-muted); }
.tc-calc__val { font-size: 20px; font-weight: 800; color: var(--tc-ink); font-variant-numeric: tabular-nums; }
.tc-calc input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 999px; background: var(--tc-line); outline: none;
}
.tc-calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%; cursor: pointer;
  background: var(--tc-grad); border: 3px solid var(--tc-surface);
  box-shadow: 0 4px 14px -4px rgba(0,201,167,.9);
}
.tc-calc input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; cursor: pointer;
  background: #00c9a7; border: 3px solid var(--tc-surface);
}
.tc-calc__out {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--tc-line);
}
@media (max-width: 575px) { .tc-calc__out { gap: 12px; } }
.tc-calc__cell { text-align: center; }
.tc-calc__cell-num {
  font-size: 30px; font-weight: 900; line-height: 1.1;
  background: var(--tc-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums;
}
.tc-calc__cell-lab { margin-top: 6px; font-size: 13.5px; color: var(--tc-muted); }

/* ---------- Что под капотом ---------- */
.tc-stack {
  height: 100%; padding: 24px;
  background: var(--tc-surface-2);
  border: 1px solid var(--tc-line);
  border-radius: 16px;
}
.tc-stack__title {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: var(--tc-ink); margin-bottom: 12px;
}
.tc-stack__title i { color: var(--tc-accent); }
.tc-stack ul { list-style: none; padding: 0; margin: 0; }
.tc-stack li {
  position: relative; padding-left: 20px; margin-bottom: 8px;
  font-size: 14.5px; line-height: 1.55; color: var(--tc-muted);
}
.tc-stack li:last-child { margin-bottom: 0; }
.tc-stack li:before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--tc-accent);
}

/* ---------- Финальный CTA-баннер ---------- */
.tc-cta {
  position: relative; overflow: hidden;
  padding: 52px 44px; border-radius: 24px; text-align: center;
  background: radial-gradient(120% 160% at 80% 10%, rgba(0,201,167,.35), transparent 60%),
              linear-gradient(135deg, #0b1f3a 0%, #0a2b4d 50%, #06375f 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 80px -40px rgba(0,80,90,.7);
}
@media (max-width: 575px) { .tc-cta { padding: 36px 22px; } }
.tc-cta__title { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.25; }
@media (max-width: 575px) { .tc-cta__title { font-size: 25px; } }
.tc-cta__desc { font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,.82); max-width: 640px; margin: 0 auto 26px; }
.tc-cta__row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Заметка-сноска ---------- */
.tc-note {
  max-width: 860px; margin: 26px auto 0; padding: 16px 20px;
  font-size: 13.5px; line-height: 1.6; color: var(--tc-muted);
  background: var(--tc-surface-2); border: 1px dashed var(--tc-line); border-radius: 14px;
}
.tc-note i { color: var(--tc-accent); margin-right: 7px; }

/* ---------- Доступность: видимый фокус с клавиатуры ----------
   app.css глобально гасит outline у button:focus — возвращаем его только
   для клавиатурной навигации (:focus-visible), не показывая на мышь. */
.tcard .tc-swatch:focus-visible,
.tcard .tc-net:focus-visible,
.tcard .tcard-acc__q:focus-visible,
.tcard .tcard-sticky:focus-visible,
.tcard .tc-calc input[type="range"]:focus-visible {
  outline: 3px solid var(--tc-accent);
  outline-offset: 3px;
  border-radius: 12px;
}
.tcard .tc-calc input[type="range"]:focus-visible { outline-offset: 6px; }

/* ---------- Мокап карты: длинное имя бренда не наезжает на сеть ---------- */
.tcard-mock__top { gap: 12px; min-width: 0; }
.tcard-mock__brand {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tcard-mock__net { flex: none; }
@media (max-width: 400px) {
  .tcard-mock__brand { font-size: 16px; }
  .tcard-mock__net { font-size: 18px; }
}

/* ---------- Цепочка шагов на узких экранах ----------
   Стрелки между шагами теряют смысл при переносе строк — на мобильных
   выкладываем шаги вертикально и убираем «висящие» стрелки. */
@media (max-width: 575px) {
  .tc-flow { flex-direction: column; align-items: stretch; gap: 8px; }
  .tc-flow__arrow { display: none; }
  .tc-flow__step { justify-content: flex-start; }
}

/* ---------- Мобильная доводка новых секций (≤575px) ---------- */
@media (max-width: 575px) {
  .tc-builder { padding: 20px 16px; }
  .tc-builder .tcard-mock { width: 100%; max-width: 320px; padding: 22px 20px; }
  .tc-panel { padding: 24px 20px; }
  .tc-cta__row .btn { width: 100%; }
  .tc-time { padding-left: 34px; }
  .tc-time__dot { left: -34px; width: 26px; height: 26px; }
}
@media (min-width: 481px) and (max-width: 767px) {
  .tc-calc__out { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .tc-calc__out { grid-template-columns: 1fr; }
  .tc-calc__head { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* Фолбэк для градиентного текста: если background-clip:text не поддержан,
   цифры не должны остаться прозрачными. */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .tcard-stat__num, .tcard-tier__pct, .tc-calc__cell-num {
    background: none; color: var(--tc-accent); -webkit-text-fill-color: currentColor;
  }
}

/* Уважаем prefers-reduced-motion в новых интерактивных блоках */
@media (prefers-reduced-motion: reduce) {
  .tc-seg, .tc-swatch, .tc-net { transition: none; }
  .tc-seg:hover, .tc-swatch:hover, .tc-swatch.is-active { transform: none; }
}
