/* ============================================================
   FoxChat — публичный лендинг
   Самостоятельный слой: панель (panel.css) сюда не заходит и наоборот.
   Стиль — «неоновый хайтек»: тёмная сцена, аврора и сетка на фоне,
   стеклянные панели, градиенты фиолетовый→бирюза, движение только на
   transform/opacity. Всё гасится по prefers-reduced-motion.
   ============================================================ */

.fx-landing {
  --fx-bg: var(--bg);
  --fx-violet: var(--primary);
  --fx-blue: #ff8e3c;
  --fx-cyan: var(--cyan);
  --fx-ink: var(--text);
  --fx-ink-2: var(--text-2);
  --fx-ink-3: var(--text-3);

  --fx-hair: rgb(var(--veil) / .075);
  --fx-hair-2: rgb(var(--veil) / .14);
  --fx-glass: rgb(var(--veil) / .032);
  --fx-glass-2: rgb(var(--veil) / .055);

  --fx-grad: linear-gradient(115deg, #ffd293 0%, var(--cyan) 38%, var(--primary) 100%);
  --fx-grad-btn: linear-gradient(120deg, #ff7f49, var(--primary) 52%, #e8571c);

  --fx-maxw: 1260px;
  --fx-nav-h: 68px;
  --fx-r: 4px;
  --fx-r-lg: 6px;
  --fx-r-xl: 8px;

  --fx-e: cubic-bezier(.22, .8, .28, 1);
  --fx-e-out: cubic-bezier(.16, 1, .3, 1);

  position: relative;
  min-height: 100vh;
  color: var(--fx-ink);
  background: var(--fx-bg);
  font-family: var(--font-body, Inter), system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

.fx-landing ::selection { background: rgba(255, 106, 43, .35); color: var(--text); }

/* ---------- 1. Фон: аврора + сетка + шум ---------- */

.fx-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.fx-bg-aurora { position: absolute; inset: -20% -10%; filter: blur(90px); opacity: .55; }
.fx-bg-aurora i {
  position: absolute;
  display: block;
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: transform;
}
.fx-bg-aurora i:nth-child(1) {
  width: 46vw; height: 46vw; left: -8vw; top: -6vw;
  background: radial-gradient(circle, rgba(255, 106, 43, .55), transparent 68%);
  animation: fx-drift-a 22s var(--fx-e) infinite alternate;
}
.fx-bg-aurora i:nth-child(2) {
  width: 40vw; height: 40vw; right: -6vw; top: 6vh;
  background: radial-gradient(circle, rgba(255, 180, 84, .34), transparent 68%);
  animation: fx-drift-b 27s var(--fx-e) infinite alternate;
}
.fx-bg-aurora i:nth-child(3) {
  width: 52vw; height: 38vw; left: 22vw; top: 52vh;
  background: radial-gradient(circle, rgba(110, 139, 255, .3), transparent 70%);
  animation: fx-drift-c 31s var(--fx-e) infinite alternate;
}

@keyframes fx-drift-a { to { transform: translate3d(8vw, 6vh, 0) scale(1.15); } }
@keyframes fx-drift-b { to { transform: translate3d(-7vw, 10vh, 0) scale(1.1); } }
@keyframes fx-drift-c { to { transform: translate3d(5vw, -8vh, 0) scale(.9); } }

/* Сетка — «пол» сцены: гаснет к низу экрана и медленно едет. */
.fx-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(var(--veil) / .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(var(--veil) / .055) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(120% 78% at 50% 0%, #000 12%, transparent 72%);
  mask-image: radial-gradient(120% 78% at 50% 0%, #000 12%, transparent 72%);
  animation: fx-grid-pan 26s linear infinite;
}
@keyframes fx-grid-pan { to { background-position: 58px 58px; } }

.fx-bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 90% at 50% 0%, transparent 40%, var(--bg) 100%);
}

/* Контент поднимаем над фиксированным фоном. Меню и скрим сюда не входят:
   у них своё position: fixed и свой слой, а position: relative его ломал. */
.fx-landing > main,
.fx-landing > header,
.fx-landing > footer { position: relative; z-index: 1; }

/* ---------- 2. Раскладка секций ---------- */

.fx-section {
  width: min(100%, var(--fx-maxw));
  margin: 0 auto;
  padding: clamp(44px, 5vw, 68px) 24px;
}

.fx-section-head {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto clamp(38px, 5vw, 62px);
  text-align: center;
}

.fx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 10px;
  border: 1px solid var(--fx-hair);
  border-radius: 999px;
  background: var(--fx-glass);
  color: var(--primary-soft);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.fx-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fx-cyan);
  box-shadow: 0 0 10px var(--fx-cyan);
}

.fx-h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.fx-lede {
  margin: 0;
  color: var(--fx-ink-2);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.62;
  text-wrap: pretty;
}

/* Градиентный текст — только в заголовках, один раз на секцию. */
.fx-grad-text {
  background-image: var(--fx-grad);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fx-grad-slide 9s ease-in-out infinite alternate;
}
@keyframes fx-grad-slide { to { background-position: 100% 0; } }

/* ---------- 3. Кнопки ---------- */

.fx-landing .button,
.fx-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--fx-r);
  color: var(--on-accent);
  background: var(--fx-grad-btn);
  box-shadow:
    0 10px 30px rgba(240, 147, 63, .34),
    inset 0 1px 0 rgb(var(--veil) / .22);
  font: 650 14.5px/1 Inter, system-ui, sans-serif;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s var(--fx-e), box-shadow .2s var(--fx-e), filter .2s var(--fx-e);
}

.fx-landing .button:hover,
.fx-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 42px rgba(240, 147, 63, .46),
    inset 0 1px 0 rgb(var(--veil) / .28);
  filter: saturate(1.1);
}
.fx-landing .button:active,
.fx-btn:active { transform: translateY(0); }

.fx-landing .button:disabled {
  background: var(--fx-glass-2);
  box-shadow: none;
  color: var(--fx-ink-3);
  cursor: not-allowed;
}

/* Блик пробегает по кнопке — только на главных CTA. */
.fx-shine::after {
  content: "";
  position: absolute;
  top: -140%;
  left: -60%;
  width: 34%;
  height: 380%;
  background: linear-gradient(90deg, transparent, rgb(var(--veil) / .32), transparent);
  transform: rotate(19deg);
  animation: fx-shine 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes fx-shine {
  0%, 62% { left: -60%; }
  92%, 100% { left: 150%; }
}

.fx-btn.is-ghost {
  background: var(--fx-glass);
  border: 1px solid var(--fx-hair-2);
  box-shadow: none;
  color: var(--fx-ink);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.fx-btn.is-ghost:hover {
  background: var(--fx-glass-2);
  border-color: rgb(var(--veil) / .26);
  box-shadow: none;
}

.fx-landing .button:focus-visible,
.fx-btn:focus-visible,
.fx-landing a:focus-visible,
.fx-landing button:focus-visible,
.fx-landing summary:focus-visible {
  outline: 2px solid var(--fx-cyan);
  outline-offset: 3px;
}

/* ---------- 4. Шапка ---------- */

.fx-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 22px;
  height: var(--fx-nav-h);
  padding-inline: max(24px, calc((100vw - var(--fx-maxw)) / 2));
  border-bottom: 1px solid transparent;
  transition: height .28s var(--fx-e), background .28s var(--fx-e), border-color .28s var(--fx-e);
}
.fx-nav.is-stuck {
  --fx-nav-h: 60px;
  border-bottom-color: var(--fx-hair);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
}

.fx-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
}
.fx-brand img {
  width: 34px;
  height: 34px;
  border-radius: 3px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(255, 107, 58, .4));
  transition: transform .35s var(--fx-e-out), filter .35s var(--fx-e-out);
}
.fx-brand:hover img { transform: rotate(-8deg) scale(1.08); }
.fx-brand b {
  background-image: var(--fx-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.fx-nav-links { display: flex; align-items: center; gap: 2px; }
.fx-nav-links a {
  position: relative;
  padding: 9px 13px;
  border-radius: 3px;
  color: var(--fx-ink-2);
  font-size: 13.5px;
  font-weight: 550;
  text-decoration: none;
  transition: color .18s var(--fx-e);
}
.fx-nav-links a:hover { color: var(--fx-ink); }
.fx-nav-links a::after {
  content: "";
  position: absolute;
  inset: auto 13px 5px;
  height: 1px;
  background: var(--fx-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s var(--fx-e);
}
.fx-nav-links a:hover::after { transform: scaleX(1); }

.fx-nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.fx-nav-actions .button { min-height: 42px; padding-inline: 18px; font-size: 13.5px; }

.fx-mod-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid color-mix(in srgb, var(--success) 34%, transparent);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(70, 210, 175, .14), rgba(150, 106, 40, .06));
  color: var(--success-soft);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: border-color .18s var(--fx-e), color .18s var(--fx-e), transform .18s var(--fx-e);
}
.fx-mod-link:hover { border-color: color-mix(in srgb, var(--success) 34%, transparent); color: var(--success-soft); transform: translateY(-1px); }

.fx-burger {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--fx-hair-2);
  border-radius: 3px;
  background: var(--fx-glass);
  color: var(--fx-ink-2);
  cursor: pointer;
}
.fx-burger:hover { color: var(--fx-ink); border-color: rgb(var(--veil) / .26); }

/* Мобильное меню: та же иерархия действий, что и на десктопе. */
.fx-menu {
  position: fixed;
  inset: var(--fx-nav-h) 0 auto 0;
  z-index: 39;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px max(20px, env(safe-area-inset-bottom));
  border-bottom: 1px solid var(--fx-hair);
  background: var(--bg);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}
.fx-menu.is-open { display: flex; animation: fx-menu-in .22s var(--fx-e-out); }
@keyframes fx-menu-in { from { opacity: 0; transform: translateY(-8px); } }

.fx-menu-links { display: grid; gap: 2px; }
.fx-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 3px;
  color: var(--fx-ink-2);
  font-size: 15.5px;
  font-weight: 550;
  text-decoration: none;
}
.fx-menu a:hover { background: var(--fx-glass); color: var(--fx-ink); }

.fx-menu-actions {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--fx-hair);
}
.fx-menu-actions .button { width: 100%; min-height: 52px; font-size: 15px; }
.fx-menu-actions .fx-mod-link { justify-content: center; width: 100%; min-height: 48px; }

.fx-scrim {
  position: fixed;
  inset: 0;
  z-index: 38;
  background: rgba(9, 6, 3, .7);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--fx-e);
}
.fx-scrim.is-open { opacity: 1; pointer-events: auto; }
body.fx-menu-open { overflow: hidden; }

/* ---------- 5. Первый экран ---------- */

.fx-hero {
  display: grid;
  grid-template-columns: minmax(460px, 1.02fr) minmax(470px, .98fr);
  align-items: center;
  gap: clamp(40px, 5vw, 78px);
  width: min(100%, 1360px);
  margin: 0 auto;
  padding: clamp(48px, 7vh, 92px) 24px clamp(70px, 9vh, 110px);
}

.fx-hero-copy { display: grid; justify-items: start; gap: 22px; }

.fx-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 6px 0 12px;
  border: 1px solid var(--fx-hair);
  border-radius: 999px;
  background: var(--fx-glass);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
}
.fx-status > i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}
.fx-status > i::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--success);
  opacity: 0;
  animation: fx-ping 2.4s var(--fx-e) infinite;
}
@keyframes fx-ping {
  0% { transform: scale(.6); opacity: .9; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}
.fx-status b {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(var(--veil) / .05);
  color: var(--success-soft);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}

.fx-hero h1 {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 850;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.fx-hero-copy > p {
  max-width: 54ch;
  margin: 0;
  color: var(--fx-ink-2);
  font-size: clamp(15.5px, 1.35vw, 18px);
  line-height: 1.62;
}

.fx-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.fx-hero-cta .button,
.fx-hero-cta .fx-btn { min-height: 54px; padding-inline: 26px; font-size: 15px; }

.fx-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 620px);
}
.fx-proof > span {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 1px 10px;
  min-height: 58px;
  padding: 9px 11px;
  border: 1px solid var(--fx-hair);
  border-radius: var(--fx-r);
  background: var(--fx-glass);
}
.fx-proof > span > i {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--primary) 13%, transparent);
  color: var(--primary-soft);
}
.fx-proof svg { width: 15px; height: 15px; }
.fx-proof b { color: var(--fx-ink); font-size: 13px; font-weight: 700; }
.fx-proof small { color: var(--fx-ink-3); font-size: 12px; }

/* ---------- 6. Сцена героя ---------- */

.fx-stage {
  position: relative;
  min-width: 0;
  perspective: 1600px;
}

.fx-stage-halo {
  position: absolute;
  inset: -12% -8%;
  z-index: 0;
  background:
    radial-gradient(46% 46% at 32% 24%, rgba(255, 106, 43, .34), transparent 70%),
    radial-gradient(42% 42% at 74% 76%, rgba(255, 180, 84, .22), transparent 72%);
  filter: blur(38px);
  pointer-events: none;
}

.fx-screen {
  position: relative;
  z-index: 1;
  border-radius: var(--fx-r-xl);
  background: linear-gradient(160deg, rgb(var(--veil) / .11), rgb(var(--veil) / .02) 42%, rgb(var(--veil) / .07));
  padding: 1px;
  box-shadow: 0 40px 90px rgb(var(--shade) / calc(.55 * var(--shadow-k))), 0 0 0 1px rgb(var(--veil) / .03);
  transform: rotateX(var(--fx-tx, 0deg)) rotateY(var(--fx-ty, 0deg));
  transform-style: preserve-3d;
  transition: transform .5s var(--fx-e-out);
}

.fx-screen-inner {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--fx-r-xl) - 1px);
  background: var(--bg);
}

.fx-screen-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--fx-hair);
  background: rgb(var(--veil) / .022);
}
.fx-screen-bar i { width: 9px; height: 9px; border-radius: 50%; }
.fx-screen-bar i:nth-child(1) { background: #ff6b8a; }
.fx-screen-bar i:nth-child(2) { background: #ffc35a; }
.fx-screen-bar i:nth-child(3) { background: #40e2a6; }
.fx-screen-bar b {
  margin-left: 8px;
  color: var(--fx-ink-3);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  font-weight: 500;
}
.fx-screen-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 4px 11px;
  border: 1px solid color-mix(in srgb, var(--success) 34%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--success) 13%, transparent);
  color: var(--success-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
}
.fx-screen-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 9px var(--success);
  animation: fx-blink 1.8s ease-in-out infinite;
}
@keyframes fx-blink { 50% { opacity: .35; } }

/* «Игра» под оверлеем — абстрактный кадр, а не скриншот чужого контента. */
.fx-screen-inner,
.fx-screen-scene { text-align: left; }
.fx-screen-scene {
  position: relative;
  height: clamp(330px, 38vw, 452px);
  background:
    radial-gradient(80% 60% at 22% 18%, rgba(232, 151, 78, .3), transparent 62%),
    radial-gradient(70% 70% at 82% 84%, rgba(152, 101, 24, .26), transparent 64%),
    linear-gradient(165deg, var(--bg), var(--bg) 62%, var(--bg));
}
.fx-screen-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(var(--veil) / .04) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(var(--veil) / .04) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%);
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

/* Чат: строки проявляются по очереди и уходят в цикле. */
.fx-chat {
  position: absolute;
  left: 18px;
  bottom: 62px;
  display: grid;
  gap: 7px;
  width: min(62%, 330px);
}
.fx-chat li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid var(--fx-hair);
  border-radius: 3px;
  background: rgba(18, 13, 9, .68);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  opacity: 0;
  transform: translateY(10px);
  animation: fx-chat-in .6s var(--fx-e-out) forwards;
  list-style: none;
}
.fx-chat li:nth-child(1) { animation-delay: .5s; }
.fx-chat li:nth-child(2) { animation-delay: 1.5s; }
.fx-chat li:nth-child(3) { animation-delay: 2.6s; }
.fx-chat li:nth-child(4) { animation-delay: 3.7s; }
@keyframes fx-chat-in { to { opacity: 1; transform: none; } }

.fx-chat span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
}
.fx-chat li:nth-child(1) span { background: rgba(242, 104, 140, .18); color: var(--danger-soft); }
.fx-chat li:nth-child(2) span { background: color-mix(in srgb, var(--primary) 13%, transparent); color: var(--primary-soft); }
.fx-chat li:nth-child(3) span { background: rgba(255, 180, 84, .18); color: var(--cyan-soft); }
.fx-chat li:nth-child(4) span { background: rgba(240, 177, 83, .18); color: var(--warning-soft); }
.fx-chat div { min-width: 0; }
.fx-chat b { display: block; font-size: 12.5px; font-weight: 700; }
.fx-chat p { margin: 1px 0 0; color: var(--fx-ink-2); font-size: 12.5px; line-height: 1.4; }

/* Алерт выезжает поверх сцены и уходит — один цикл на 9 секунд. */
.fx-alert {
  position: absolute;
  top: 26px;
  right: 22px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: min(74%, 296px);
  padding: 13px 15px;
  border: 1px solid rgb(var(--veil) / .16);
  border-radius: var(--fx-r-lg);
  background: linear-gradient(140deg, var(--bg-subtle), var(--bg));
  box-shadow: 0 22px 50px rgb(var(--shade) / calc(.5 * var(--shadow-k))), inset 0 1px 0 rgb(var(--veil) / .09);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  animation: fx-alert-cycle 9s var(--fx-e-out) 1.9s infinite;
}
@keyframes fx-alert-cycle {
  0% { opacity: 0; transform: translateX(26px) scale(.96); }
  7%, 46% { opacity: 1; transform: none; }
  56%, 100% { opacity: 0; transform: translateX(26px) scale(.96); }
}
.fx-alert-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 3px;
  background: linear-gradient(140deg, rgba(242, 104, 140, .3), rgba(255, 106, 43, .24));
  color: var(--danger-soft);
}
.fx-alert-icon svg { width: 20px; height: 20px; }
.fx-alert small {
  display: block;
  color: #ef8fab;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
}
.fx-alert b { display: block; margin-top: 3px; font-size: 14px; font-weight: 750; letter-spacing: -.01em; }
.fx-alert p { margin: 2px 0 0; color: var(--fx-ink-2); font-size: 12.5px; }

/* Нижняя полоса статистики эфира. */
.fx-screen-bottom {
  position: absolute;
  inset: auto 18px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 15px;
  border: 1px solid var(--fx-hair);
  border-radius: var(--fx-r);
  background: rgba(18, 13, 9, .72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.fx-screen-bottom span { display: flex; align-items: baseline; gap: 7px; }
.fx-screen-bottom b { font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; }
.fx-screen-bottom small { color: var(--fx-ink-3); font-size: 12px; }
.fx-screen-bottom em {
  margin-left: auto;
  color: var(--success-soft);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
}

/* Карточки-события вокруг экрана. */
.fx-float {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgb(var(--veil) / .15);
  border-radius: var(--fx-r);
  background: var(--bg);
  box-shadow: 0 18px 42px rgb(var(--shade) / calc(.45 * var(--shadow-k))), inset 0 1px 0 rgb(var(--veil) / .07);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  pointer-events: none;
}
.fx-float > i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 3px;
}
.fx-float svg { width: 17px; height: 17px; }
.fx-float small {
  display: block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}
.fx-float b {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fx-float.is-donate {
  left: -6%;
  top: 24%;
  animation: fx-bob-a 7.4s var(--fx-e) infinite alternate;
}
.fx-float.is-donate > i { background: rgba(62, 207, 154, .16); color: var(--success-soft); }
.fx-float.is-donate small { color: var(--success-soft); }

.fx-float.is-bot {
  right: -5%;
  top: 60%;
  animation: fx-bob-b 8.2s var(--fx-e) .9s infinite alternate;
}
.fx-float.is-bot > i { background: color-mix(in srgb, var(--primary) 13%, transparent); color: var(--primary-soft); }
.fx-float.is-bot small { color: var(--primary-soft); }

@keyframes fx-bob-a { to { transform: translate3d(6px, -14px, 0); } }
@keyframes fx-bob-b { to { transform: translate3d(-7px, -12px, 0); } }

.fx-stage-note {
  position: relative;
  z-index: 3;
  margin: 22px 0 0;
  color: var(--fx-ink-3);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
}

/* ---------- 7. Бегущая строка интеграций ---------- */

.fx-marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--fx-hair);
  background: rgb(var(--veil) / .015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.fx-marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  padding: 18px 28px;
  animation: fx-marquee 34s linear infinite;
}
@keyframes fx-marquee { to { transform: translateX(-50%); } }
.fx-marquee:hover .fx-marquee-track { animation-play-state: paused; }

.fx-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fx-ink-3);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: color .2s var(--fx-e), filter .2s var(--fx-e);
}
.fx-marquee-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: grayscale(1) opacity(.55);
  transition: filter .2s var(--fx-e);
}
.fx-marquee-item:hover { color: var(--fx-ink); }
.fx-marquee-item:hover img { filter: none; }

/* ---------- 8. Бенто возможностей ---------- */

.fx-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.fx-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 12px;
  grid-column: span 2;
  padding: 26px 24px 28px;
  border: 1px solid var(--fx-hair);
  border-radius: var(--fx-r-lg);
  background: linear-gradient(180deg, rgb(var(--veil) / .04), rgb(var(--veil) / .012));
  transition: border-color .25s var(--fx-e), transform .25s var(--fx-e), background .25s var(--fx-e);
}
.fx-card:hover {
  transform: translateY(-3px);
  border-color: var(--fx-hair-2);
  background: linear-gradient(180deg, rgb(var(--veil) / .06), rgb(var(--veil) / .018));
}
.fx-card.is-wide { grid-column: span 3; }
.fx-card.is-full { grid-column: 1 / -1; }

/* Свет под курсором — координаты пишет JS в --fx-mx/--fx-my. */
.fx-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px 240px at var(--fx-mx, 50%) var(--fx-my, 0%), rgba(255, 106, 43, .16), transparent 70%);
  opacity: 0;
  transition: opacity .3s var(--fx-e);
  pointer-events: none;
}
.fx-card:hover::before { opacity: 1; }

.fx-card-num {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(255, 255, 255, .1);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
}

.fx-card-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--primary) 34%, transparent);
  border-radius: 4px;
  background: linear-gradient(150deg, rgba(255, 106, 43, .24), rgba(255, 106, 43, .06));
  color: var(--primary-soft);
}
.fx-card-ico svg { width: 21px; height: 21px; }
.fx-card-ico.is-cyan { border-color: color-mix(in srgb, var(--cyan) 34%, transparent); background: linear-gradient(150deg, rgba(255, 180, 84, .22), rgba(255, 180, 84, .05)); color: var(--cyan-soft); }
.fx-card-ico.is-pink { border-color: color-mix(in srgb, var(--danger) 34%, transparent); background: linear-gradient(150deg, rgba(242, 104, 140, .22), rgba(242, 104, 140, .05)); color: var(--danger-soft); }
.fx-card-ico.is-gold { border-color: color-mix(in srgb, var(--warning) 34%, transparent); background: linear-gradient(150deg, rgba(240, 177, 83, .22), rgba(240, 177, 83, .05)); color: var(--warning-soft); }
.fx-card-ico.is-blue { border-color: color-mix(in srgb, var(--info) 34%, transparent); background: linear-gradient(150deg, rgba(110, 139, 255, .22), rgba(110, 139, 255, .05)); color: var(--info-soft); }
.fx-card-ico.is-green { border-color: color-mix(in srgb, var(--success) 34%, transparent); background: linear-gradient(150deg, rgba(62, 207, 154, .22), rgba(62, 207, 154, .05)); color: var(--success-soft); }

.fx-card h3 {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.fx-card ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fx-card.is-wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.fx-card.is-full ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 20px; }
.fx-card li {
  position: relative;
  padding-left: 20px;
  color: var(--fx-ink-2);
  font-size: 13.5px;
  line-height: 1.5;
}
.fx-card li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fx-violet);
  box-shadow: 0 0 8px rgba(255, 106, 43, .8);
}

/* ---------- 9. Вкладки со сценариями ---------- */

.fx-tabs { display: grid; gap: 20px; }

.fx-tabs-nav {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 6px;
  border: 1px solid var(--fx-hair);
  border-radius: 999px;
  background: var(--fx-glass);
  justify-self: center;
}
.fx-tabs-nav button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fx-ink-2);
  font: 650 13.5px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
  transition: color .2s var(--fx-e), background .2s var(--fx-e);
}
.fx-tabs-nav button svg { width: 16px; height: 16px; }
.fx-tabs-nav button:hover { color: var(--fx-ink); }
.fx-tabs-nav button.is-active {
  color: #16110b;
  background: var(--primary);
  box-shadow: none;
}

.fx-pane {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--fx-hair);
  border-radius: var(--fx-r-xl);
  background: linear-gradient(160deg, rgb(var(--veil) / .045), rgb(var(--veil) / .012));
  animation: fx-pane-in .35s var(--fx-e-out);
}
@keyframes fx-pane-in { from { opacity: 0; transform: translateY(10px); } }
/* display:grid перебивает [hidden] — гасим явно. */
.fx-pane[hidden] { display: none; }

.fx-pane-copy { display: grid; gap: 14px; align-content: start; }
.fx-pane-copy h3 { margin: 0; font-size: clamp(21px, 2.2vw, 27px); font-weight: 750; letter-spacing: -.025em; }
.fx-pane-copy > p { margin: 0; color: var(--fx-ink-2); font-size: 14.5px; line-height: 1.6; }
.fx-pane-copy ul { display: grid; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.fx-pane-copy li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  color: var(--fx-ink-2);
  font-size: 13.5px;
  line-height: 1.5;
}
.fx-pane-copy li svg { width: 16px; height: 16px; margin-top: 2px; color: var(--cyan-soft); }

.fx-pane-visual { min-width: 0; }

/* Живое демо: iframe грузится лениво, до этого — заглушка с кнопкой. */
.fx-live {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--fx-hair-2);
  border-radius: var(--fx-r-lg);
  background: var(--bg);
  box-shadow: 0 26px 60px rgb(var(--shade) / calc(.45 * var(--shadow-k)));
}
.fx-live-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--fx-hair);
  background: rgb(var(--veil) / .022);
}
.fx-live-bar i { width: 9px; height: 9px; border-radius: 50%; }
.fx-live-bar i:nth-child(1) { background: #ff6b8a; }
.fx-live-bar i:nth-child(2) { background: #ffc35a; }
.fx-live-bar i:nth-child(3) { background: #40e2a6; }
.fx-live-bar b {
  margin-left: 8px;
  color: var(--fx-ink-3);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  font-weight: 500;
}
.fx-live-frame { position: relative; height: 430px; }
.fx-live-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--bg); pointer-events: none; }

.fx-live-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}
.fx-live-placeholder strong { font-size: 15px; font-weight: 700; }
.fx-live-placeholder p { margin: 0; max-width: 40ch; color: var(--fx-ink-3); font-size: 13px; line-height: 1.5; }

/* Логотипы сервисов (общая разметка brandLogo). */
.fx-landing .integration-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 3px;
  background: rgb(var(--veil) / .05);
  color: var(--fx-ink-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.fx-landing .integration-logo.is-img { background: transparent; }
.fx-landing .integration-logo img { width: 100%; height: 100%; object-fit: contain; }
.fx-marquee-item .integration-logo { width: 24px; height: 24px; border-radius: 2px; }
.fx-marquee-item .integration-logo img { filter: grayscale(1) opacity(.55); transition: filter .2s var(--fx-e); }
.fx-marquee-item:hover .integration-logo img { filter: none; }
.fx-int .integration-logo { width: 38px; height: 38px; border-radius: 3px; }
.fx-flow-node .integration-logo { width: 32px; height: 32px; background: transparent; }

/* ---------- 10. Поток данных ---------- */

.fx-flow {
  display: grid;
  grid-template-columns: 150px minmax(70px, 1fr) 190px minmax(70px, 1fr) 220px;
  align-items: center;
  gap: 18px;
  padding: clamp(28px, 4vw, 46px) clamp(20px, 3vw, 36px);
  border: 1px solid var(--fx-hair);
  border-radius: var(--fx-r-xl);
  background: linear-gradient(160deg, rgb(var(--veil) / .04), rgb(var(--veil) / .01));
}

.fx-flow-node {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}
.fx-flow-node > span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid var(--fx-hair-2);
  border-radius: 2px;
  background: rgb(var(--veil) / .04);
}
.fx-flow-node img { width: 30px; height: 30px; object-fit: contain; }
.fx-flow-node b { font-size: 14.5px; font-weight: 700; }
.fx-flow-node small { color: var(--fx-ink-3); font-size: 12px; }

.fx-flow-core > span {
  width: 84px;
  height: 84px;
  border-color: rgba(255, 106, 43, .4);
  background: radial-gradient(circle at 50% 40%, rgba(255, 106, 43, .3), rgb(var(--veil) / .03));
  box-shadow: 0 0 46px rgba(255, 106, 43, .3);
  animation: fx-breathe 4.4s ease-in-out infinite;
}
.fx-flow-core img { width: 44px; height: 44px; }
@keyframes fx-breathe {
  50% { transform: scale(1.05); box-shadow: 0 0 62px rgba(255, 106, 43, .44); }
}

.fx-flow-line {
  position: relative;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 106, 43, .1), rgba(255, 106, 43, .55), rgba(255, 180, 84, .2));
}
.fx-flow-line i {
  position: absolute;
  top: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-soft);
  box-shadow: 0 0 10px rgba(255, 216, 180, .9);
  animation: fx-particle 2.6s linear infinite;
}
.fx-flow-line i:nth-child(2) { animation-delay: -.9s; }
.fx-flow-line i:nth-child(3) { animation-delay: -1.8s; }
@keyframes fx-particle {
  from { left: 0; opacity: 0; }
  14%, 84% { opacity: 1; }
  to { left: 100%; opacity: 0; }
}

.fx-flow-targets { display: grid; gap: 8px; }
.fx-flow-targets > span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid var(--fx-hair);
  border-radius: var(--fx-r);
  background: var(--fx-glass);
  font-size: 13px;
  font-weight: 650;
}
.fx-flow-targets svg { width: 17px; height: 17px; color: var(--cyan-soft); flex: 0 0 auto; }

/* ---------- 11. Шаги запуска ---------- */

.fx-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.fx-steps::before {
  content: "";
  position: absolute;
  inset: 42px 8% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 43, .5), rgba(255, 180, 84, .35), transparent);
}

.fx-step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px 20px 26px;
  border: 1px solid var(--fx-hair);
  border-radius: var(--fx-r-lg);
  background: linear-gradient(180deg, rgb(var(--veil) / .04), rgb(var(--veil) / .012));
}
.fx-step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid color-mix(in srgb, var(--primary) 34%, transparent);
  border-radius: 3px;
  background: color-mix(in srgb, var(--primary) 13%, transparent);
  color: var(--primary-soft);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 14px;
  font-weight: 700;
}
.fx-step h3 { margin: 4px 0 0; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.fx-step p { margin: 0; color: var(--fx-ink-2); font-size: 13.5px; line-height: 1.55; }

/* ---------- 12. Сетка интеграций ---------- */

.fx-int-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.fx-int {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 26px 18px;
  border: 1px solid var(--fx-hair);
  border-radius: var(--fx-r-lg);
  background: var(--fx-glass);
  text-align: center;
  transition: border-color .22s var(--fx-e), transform .22s var(--fx-e), background .22s var(--fx-e);
}
.fx-int:hover { transform: translateY(-3px); border-color: var(--fx-hair-2); background: var(--fx-glass-2); }
.fx-int img { width: 36px; height: 36px; object-fit: contain; }
.fx-int strong { font-size: 14.5px; font-weight: 700; }
.fx-int span { color: var(--fx-ink-3); font-size: 12.5px; line-height: 1.45; }

/* ---------- 19. Визуалы вкладок ---------- */

/* 19.1 Колода уведомлений: четыре события с разными появлениями. */
.fx-alert-deck { display: grid; gap: 11px; }

.fx-deck-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--fx-hair);
  border-radius: var(--fx-r-lg);
  background: linear-gradient(140deg, rgb(var(--veil) / .055), rgb(var(--veil) / .014));
  opacity: 0;
  animation: fx-deck-in .7s var(--fx-e-out) forwards;
}
.fx-deck-card:nth-child(1) { animation-delay: .05s; animation-name: fx-deck-slide; }
.fx-deck-card:nth-child(2) { animation-delay: .2s; animation-name: fx-deck-pop; }
.fx-deck-card:nth-child(3) { animation-delay: .35s; animation-name: fx-deck-drop; }
.fx-deck-card:nth-child(4) { animation-delay: .5s; animation-name: fx-deck-flip; }

@keyframes fx-deck-in { to { opacity: 1; transform: none; } }
@keyframes fx-deck-slide { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes fx-deck-pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes fx-deck-drop { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: none; } }
@keyframes fx-deck-flip { from { opacity: 0; transform: perspective(600px) rotateX(38deg); } to { opacity: 1; transform: none; } }

.fx-deck-card > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 4px;
}
.fx-deck-card svg { width: 20px; height: 20px; }
.fx-deck-card small {
  display: block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fx-deck-card b { display: block; margin-top: 4px; font-size: 14.5px; font-weight: 750; letter-spacing: -.015em; }
.fx-deck-card p { margin: 3px 0 0; color: var(--fx-ink-2); font-size: 13px; line-height: 1.45; }

.fx-deck-card.is-follow > span { background: rgba(242, 104, 140, .16); color: var(--danger-soft); }
.fx-deck-card.is-follow small { color: #ef8fab; }
.fx-deck-card.is-sub > span { background: color-mix(in srgb, var(--primary) 13%, transparent); color: var(--primary-soft); }
.fx-deck-card.is-sub small { color: var(--primary-soft); }
.fx-deck-card.is-donation > span { background: rgba(62, 207, 154, .16); color: var(--success-soft); }
.fx-deck-card.is-donation small { color: var(--success-soft); }
.fx-deck-card.is-raid > span { background: rgba(240, 177, 83, .16); color: var(--warning-soft); }
.fx-deck-card.is-raid small { color: #e0b26a; }

/* 19.2 Пост в Telegram. */
.fx-tg-post {
  --fx-tg: #2aabee;
  display: grid;
  gap: 14px;
  max-width: 460px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(42, 171, 238, .22);
  border-radius: var(--fx-r-lg);
  background: linear-gradient(170deg, rgba(42, 171, 238, .09), rgb(var(--veil) / .015));
  box-shadow: 0 22px 50px rgb(var(--shade) / calc(.35 * var(--shadow-k)));
}
.fx-tg-head { display: flex; align-items: center; gap: 12px; }
.fx-tg-head > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(140deg, #2aabee, #c4821f);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}
.fx-tg-head strong { display: block; font-size: 14.5px; font-weight: 700; }
.fx-tg-head small { display: block; margin-top: 2px; color: var(--fx-ink-3); font-size: 12px; }
.fx-tg-text {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--fx-r);
  background: rgb(var(--veil) / .035);
  color: var(--fx-ink);
  font-size: 14px;
  line-height: 1.6;
}
.fx-tg-button {
  display: block;
  padding: 12px;
  border-radius: var(--fx-r);
  background: rgba(42, 171, 238, .18);
  color: var(--info-soft);
  font-size: 13.5px;
  font-weight: 650;
  text-align: center;
}

/* 19.3 Аналитика. */
.fx-analytics {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--fx-hair);
  border-radius: var(--fx-r-lg);
  background: linear-gradient(170deg, rgb(var(--veil) / .05), rgb(var(--veil) / .014));
}
.fx-analytics-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.fx-analytics-head small {
  display: block;
  color: var(--fx-ink-3);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.fx-analytics-head b { display: block; margin-top: 3px; font-size: 17px; font-weight: 750; letter-spacing: -.02em; }
.fx-analytics-head > span { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--fx-hair); border-radius: 999px; background: var(--fx-glass); }
.fx-analytics-head i {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--fx-ink-3);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
}
.fx-analytics-head i.is-active { background: color-mix(in srgb, var(--primary) 13%, transparent); color: var(--primary-soft); }

.fx-analytics-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fx-analytics-kpis article {
  display: grid;
  gap: 3px;
  padding: 13px 14px;
  border: 1px solid var(--fx-hair);
  border-radius: var(--fx-r);
  background: var(--fx-glass);
}
.fx-analytics-kpis small { color: var(--fx-ink-3); font-size: 12px; }
.fx-analytics-kpis b { font-size: 21px; font-weight: 780; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fx-analytics-kpis em { color: var(--success-soft); font-size: 12px; font-style: normal; }

.fx-analytics-chart { display: block; width: 100%; height: 150px; }
.fx-chart-grid { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.fx-chart-area { fill: url(#fx-chart-fill); stroke: none; }
.fx-chart-line { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fx-chart-line.is-peak { stroke: var(--cyan); stroke-dasharray: 5 5; opacity: .8; }

/* 19.4 Заглушка живого демо, пока iframe не загружен. */
.fx-live-frame:empty {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(255, 106, 43, .16), transparent 70%),
    var(--bg);
}
.fx-live-frame:empty::before {
  content: "";
  width: 34px;
  height: 34px;
  border: 2px solid rgb(var(--veil) / .14);
  border-top-color: var(--primary-soft);
  border-radius: 50%;
  animation: fx-spin .9s linear infinite;
}
.fx-live-frame:empty::after {
  content: "Загружаем настоящий оверлей…";
  color: var(--fx-ink-3);
  font-size: 13px;
}
@keyframes fx-spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .fx-analytics-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-analytics-head > span { display: none; }
  .fx-deck-card { grid-template-columns: 38px minmax(0, 1fr); gap: 11px; padding: 12px 13px; }
  .fx-deck-card > span { width: 38px; height: 38px; border-radius: 3px; }
}

/* ---------- 13. FAQ ---------- */

.fx-faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.fx-faq details {
  border: 1px solid var(--fx-hair);
  border-radius: var(--fx-r-lg);
  background: var(--fx-glass);
  transition: border-color .2s var(--fx-e), background .2s var(--fx-e);
}
.fx-faq details[open] { border-color: rgba(255, 106, 43, .3); background: var(--fx-glass-2); }
.fx-faq summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 16px 20px;
  border-radius: var(--fx-r-lg);
  color: var(--fx-ink);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.015em;
  list-style: none;
  cursor: pointer;
}
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-left: auto;
  border-right: 1.6px solid var(--fx-ink-3);
  border-bottom: 1.6px solid var(--fx-ink-3);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .24s var(--fx-e), border-color .24s var(--fx-e);
}
.fx-faq details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
  border-color: var(--primary-soft);
}
.fx-faq p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--fx-ink-2);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- 14. Финальный CTA ---------- */

.fx-final {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(48px, 7vw, 82px) clamp(24px, 4vw, 56px);
  border: 1px solid rgba(255, 106, 43, .26);
  border-radius: var(--fx-r-xl);
  background:
    radial-gradient(70% 120% at 50% -10%, rgba(255, 106, 43, .26), transparent 62%),
    linear-gradient(160deg, rgb(var(--veil) / .05), rgb(var(--veil) / .012));
  text-align: center;
}
.fx-final::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto;
  height: 200%;
  background-image:
    linear-gradient(to right, rgb(var(--veil) / .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(var(--veil) / .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(60% 40% at 50% 32%, #000, transparent 72%);
  mask-image: radial-gradient(60% 40% at 50% 32%, #000, transparent 72%);
  pointer-events: none;
}
.fx-final > * { position: relative; }
.fx-final-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 106, 43, .4);
  border-radius: 24px;
  background: rgba(255, 106, 43, .14);
  box-shadow: 0 0 50px rgba(255, 106, 43, .3);
}
.fx-final-mark img { width: 42px; height: 42px; object-fit: contain; }
.fx-final h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 820;
  line-height: 1.06;
  letter-spacing: -.04em;
}
.fx-final p { margin: 0; max-width: 52ch; color: var(--fx-ink-2); font-size: 15.5px; line-height: 1.6; }
.fx-final .button { min-height: 56px; padding-inline: 30px; font-size: 15.5px; }

/* ---------- 15. Подвал ---------- */

.fx-footer {
  border-top: 1px solid var(--fx-hair);
  background: rgb(var(--veil) / .012);
}
.fx-footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  width: min(100%, var(--fx-maxw));
  margin: 0 auto;
  padding: 30px 24px;
}
.fx-footer-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; letter-spacing: -.03em; }
.fx-footer-brand img { width: 28px; height: 28px; object-fit: contain; }
.fx-footer-brand b {
  background-image: var(--fx-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fx-footer-note { margin: 0; color: var(--fx-ink-3); font-size: 13px; }
.fx-footer-author { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-left: auto; color: var(--fx-ink-3); font-size: 13px; }
.fx-footer-author strong { color: var(--fx-ink-2); }
/* Пара «подпись + пилюля»: канал проекта и автор переносятся целиком (18.09.2026). */
.fx-footer-pair { display: inline-flex; align-items: center; gap: 8px; }
.fx-footer .footer-social { display: flex; gap: 8px; }
.fx-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--fx-hair);
  border-radius: 999px;
  color: var(--fx-ink-2);
  font-size: 12.5px;
  font-weight: 650;
  text-decoration: none;
  transition: border-color .18s var(--fx-e), color .18s var(--fx-e);
}
.fx-footer .footer-social .tg-link { border-color: color-mix(in srgb, var(--info) 34%, transparent); color: var(--info-soft); }
.fx-footer .footer-social .tg-link:hover { border-color: color-mix(in srgb, var(--info) 34%, transparent); color: var(--info-soft); }
.fx-footer .footer-social .twitch-link { border-color: color-mix(in srgb, var(--primary) 34%, transparent); color: var(--primary-soft); }
.fx-footer .footer-social .twitch-link:hover { border-color: rgba(255, 106, 43, .66); color: var(--text-2); }

.fx-footer .footer-version {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--fx-hair);
  border-radius: 999px;
  background: transparent;
  color: var(--fx-ink-2);
  font: 600 12.5px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
  transition: border-color .18s var(--fx-e), color .18s var(--fx-e);
}
.fx-footer .footer-version:hover { border-color: var(--fx-hair-2); color: var(--fx-ink); }
.fx-footer .footer-version b { color: var(--fx-ink); font-weight: 750; }
.fx-footer .footer-version span { color: var(--fx-ink-3); }
.fx-footer .footer-version svg { width: 14px; height: 14px; }

/* ---------- 16. Появление по скроллу ---------- */

[data-fx-reveal] {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(9px);
  transition: opacity .72s var(--fx-e-out), transform .72s var(--fx-e-out), filter .62s var(--fx-e-out);
  transition-delay: var(--fx-delay, 0ms);
}
[data-fx-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }

/* ---------- 17. Адаптив ---------- */

@media (max-width: 1180px) {
  .fx-hero { grid-template-columns: minmax(390px, 1fr) minmax(420px, 1fr); }
  .fx-flow { grid-template-columns: 130px minmax(50px, 1fr) 170px minmax(50px, 1fr) 220px; }
  .fx-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fx-card, .fx-card.is-wide, .fx-card.is-full { grid-column: span 2; }
  .fx-card.is-full ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-int-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .fx-hero {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-top: clamp(40px, 6vh, 64px);
    text-align: center;
  }
  .fx-hero-copy { justify-items: center; }
  .fx-hero h1 { max-width: 18ch; }
  .fx-stage { width: min(100%, 720px); margin: 0 auto; }
  .fx-float.is-donate { left: 0; }
  .fx-float.is-bot { right: 0; }
  .fx-pane { grid-template-columns: 1fr; }
  .fx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-steps::before { display: none; }
  .fx-flow { grid-template-columns: 1fr; gap: 12px; justify-items: center; }
  .fx-flow-line { width: 2px; height: 56px; background: linear-gradient(180deg, rgba(255, 106, 43, .12), rgba(255, 106, 43, .6), rgba(255, 180, 84, .2)); }
  .fx-flow-line i { top: 0; left: -2px; animation-name: fx-particle-y; }
  .fx-flow-targets { width: min(100%, 420px); }
  @keyframes fx-particle-y {
    from { top: 0; opacity: 0; }
    14%, 84% { opacity: 1; }
    to { top: 100%; opacity: 0; }
  }
}

@media (max-width: 860px) {
  .fx-nav-links { display: none; }
  .fx-burger { display: grid; }
  .fx-nav-actions .fx-mod-link { display: none; }
}

@media (max-width: 760px) {
  .fx-nav { padding-inline: 16px; gap: 12px; }
  .fx-nav-actions { gap: 8px; }
  .fx-nav-actions .button { min-height: 40px; padding-inline: 15px; font-size: 13px; }
  .fx-nav-actions .button::after { display: none; }

  .fx-section { padding: clamp(58px, 11vw, 84px) 18px; }
  .fx-hero { padding: 42px 18px 62px; }
  .fx-hero h1 { font-size: clamp(38px, 11.5vw, 54px); }
  .fx-hero-cta { width: 100%; }
  .fx-hero-cta .button, .fx-hero-cta .fx-btn { flex: 1 1 220px; }
  .fx-proof { grid-template-columns: 1fr; width: min(100%, 420px); }
  .fx-proof > span { text-align: left; }

  .fx-screen-scene { height: clamp(300px, 68vw, 360px); }
  .fx-chat { width: min(72%, 300px); left: 14px; bottom: 58px; }
  .fx-chat li:nth-child(4) { display: none; }
  .fx-alert { right: 14px; top: 18px; width: min(80%, 268px); }
  .fx-screen-bottom { inset: auto 14px 12px; gap: 12px; }
  .fx-screen-bottom span:nth-child(3) { display: none; }
  .fx-float { display: none; }

  .fx-bento { grid-template-columns: 1fr; }
  .fx-card, .fx-card.is-wide, .fx-card.is-full { grid-column: auto; }
  .fx-card.is-wide ul, .fx-card.is-full ul { grid-template-columns: 1fr; }
  .fx-tabs-nav { align-self: stretch; justify-self: stretch; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .fx-tabs-nav::-webkit-scrollbar { display: none; }
  .fx-tabs-nav button { flex: 0 0 auto; }
  .fx-pane { padding: 20px; }
  .fx-live-frame { height: 340px; }
  .fx-steps { grid-template-columns: 1fr; }
  .fx-int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-final .button { width: 100%; }
  .fx-footer-inner { gap: 14px; }
  .fx-footer-author { margin-left: 0; flex: 1 1 100%; }
}

@media (max-width: 480px) {
  /* Подпись окна переносится и упирается в бейдж LIVE — на узком экране
     достаточно точек и самого бейджа. */
  .fx-screen-bar b { display: none; }
  .fx-chat { width: min(78%, 300px); }
  .fx-screen-bottom span:nth-child(2) { display: none; }
  .fx-status b { display: none; }
}

/* Ниже 380px подпись рядом с логотипом и бургером не помещается.
   Прячем её визуально, доступное имя ссылки остаётся. */
@media (max-width: 380px) {
  .fx-brand { font-size: 17px; }
  .fx-brand img { width: 30px; height: 30px; }
  .fx-nav-actions .button { width: 42px; min-width: 42px; padding: 0; }
  .fx-nav-actions .button > span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ---------- 18. Уважение к reduced-motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .fx-landing *,
  .fx-landing *::before,
  .fx-landing *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .fx-screen { transform: none !important; }
  .fx-chat li { opacity: 1 !important; transform: none !important; }
  .fx-alert { opacity: 1 !important; transform: none !important; }
  [data-fx-reveal] { opacity: 1 !important; transform: none !important; }
  .fx-marquee-track { animation: none !important; }
  .fx-bg-aurora { opacity: .38; }
}

/* ---- Кадр сцены в мокапе OBS ----
   Пузыри чата и панель статистики — оверлей поверх «игры»: их подложка
   тёмная в обеих темах, значит и содержимое всегда светлое. Значения —
   литералы тёмной палитры, за токенами темы им следовать нельзя. */
.fx-chat li { border-color: rgb(255 255 255 / .08); }
.fx-chat b { color: #f9f5f1; }
.fx-chat p { color: #ccbfb3; }
.fx-chat li:nth-child(1) span { color: #f5a3b6; }
.fx-chat li:nth-child(2) span { color: #ffaf8a; }
.fx-chat li:nth-child(3) span { color: #ffd293; }
.fx-chat li:nth-child(4) span { color: #f0c98a; }
.fx-screen-bottom { border-color: rgb(255 255 255 / .08); }
.fx-screen-bottom b { color: #f9f5f1; }
.fx-screen-bottom small { color: #8b8499; }
.fx-screen-bottom em { color: #8ce8c6; }

/* ================================================================
   Лендинг-2026: интро, каскад героя, атмосфера.

   Слой поверх базового лендинга. Правило слоя: всё, что скрывает
   контент, включается ТОЛЬКО классом из JS (.is-armed) и снимается
   таймаутом-страховкой — страница не имеет права остаться пустой,
   если скрипт упал или его отключили.
   ================================================================ */

/* ---------- Интро-штора ---------- */
.fx-intro {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
  transition: clip-path .72s cubic-bezier(.76, 0, .24, 1), visibility 0s .72s;
}
.fx-intro.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
body.fx-intro-lock { overflow: hidden; }

.fx-intro-core { position: relative; display: grid; place-items: center; width: 132px; height: 132px; }
.fx-intro-core img {
  width: 54px;
  height: 54px;
  animation: fx-intro-breathe 1.05s var(--fx-e) infinite alternate;
}
.fx-intro-core i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
}
.fx-intro-core i:nth-of-type(1) {
  border-top-color: var(--primary);
  border-right-color: color-mix(in srgb, var(--primary) 30%, transparent);
  animation: fx-orbit 1s linear infinite;
}
.fx-intro-core i:nth-of-type(2) {
  inset: 13px;
  border-bottom-color: var(--cyan);
  border-left-color: color-mix(in srgb, var(--cyan) 25%, transparent);
  opacity: .85;
  animation: fx-orbit 1.7s linear infinite reverse;
}
.fx-intro-core b {
  position: absolute;
  bottom: -34px;
  color: var(--fx-ink-3);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  animation: fx-intro-word .9s var(--fx-e-out) both;
}
@keyframes fx-orbit { to { transform: rotate(1turn); } }
@keyframes fx-intro-breathe { from { transform: scale(.94); opacity: .82; } to { transform: scale(1.05); opacity: 1; } }
@keyframes fx-intro-word { from { opacity: 0; letter-spacing: .6em; } to { opacity: 1; } }

/* ---------- Каскад героя ----------
   .is-armed прячет, .is-enter отпускает по ступеням. Оба класса ставит
   JS; без него герой виден сразу — это страховка, а не недоработка. */
.fx-hero.is-armed .fx-hero-copy > *,
.fx-hero.is-armed .fx-stage {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(10px);
}
.fx-hero.is-enter .fx-hero-copy > *,
.fx-hero.is-enter .fx-stage {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition:
    opacity .8s var(--fx-e-out),
    transform .8s var(--fx-e-out),
    filter .7s var(--fx-e-out);
  transition-delay: calc(var(--fx-i, 0) * 95ms);
}
.fx-hero.is-armed .fx-stage { transform: translateY(38px) scale(.965); }
.fx-hero.is-enter .fx-stage { transition-duration: 1s; transition-delay: 240ms; }

/* ---------- Атмосфера ---------- */
/* Зерно: без него градиенты выглядят «постером из генератора». */
.fx-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  opacity: .045;
  mix-blend-mode: overlay;
}
/* Медленный луч-прожектор через сцену. */
.fx-bg::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: conic-gradient(from 190deg at 72% -8%,
    transparent 42%,
    color-mix(in srgb, var(--primary) 9%, transparent) 50%,
    color-mix(in srgb, var(--cyan) 6%, transparent) 55%,
    transparent 63%);
  animation: fx-beam 16s var(--fx-e) infinite alternate;
}
@keyframes fx-beam { to { transform: rotate(9deg) translateX(-4%); } }

/* Градиентный текст медленно дышит. */
.fx-grad-text { background-size: 190% 100%; animation: fx-grad-drift 7s ease-in-out infinite alternate; }
@keyframes fx-grad-drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* Свет за сценой OBS. */
.fx-stage { position: relative; }
.fx-stage::before {
  content: "";
  position: absolute;
  inset: 6% -6% -4%;
  z-index: 0;
  background: radial-gradient(58% 52% at 55% 42%,
    color-mix(in srgb, var(--primary) 22%, transparent),
    transparent 72%);
  filter: blur(30px);
  animation: fx-stage-glow 9s ease-in-out infinite alternate;
}
@keyframes fx-stage-glow { to { opacity: .65; transform: scale(1.06); } }

/* ---------- Скролл ---------- */
/* Полоса прочитанного: чистый CSS по scroll-timeline, без него — ничего. */
@supports (animation-timeline: scroll()) {
  .fx-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 116;
    height: 2px;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: var(--fx-grad);
    animation: fx-progress linear both;
    animation-timeline: scroll();
  }
  @keyframes fx-progress { to { transform: scaleX(1); } }
}

.fx-marquee:hover .fx-marquee-track { animation-play-state: paused; }

/* ---------- Финальный CTA: бегущая по периметру искра ---------- */
@property --fx-ring { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.fx-final::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--fx-ring),
    transparent 0 32%,
    color-mix(in srgb, var(--primary) 85%, transparent) 47%,
    color-mix(in srgb, var(--cyan) 70%, transparent) 53%,
    transparent 68% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: fx-ring-run 7s linear infinite;
  pointer-events: none;
}
@keyframes fx-ring-run { to { --fx-ring: 1turn; } }
.fx-final > * { position: relative; z-index: 1; }

/* ---------- Тишина для тех, кто просил меньше движения ---------- */
@media (prefers-reduced-motion: reduce) {
  .fx-intro { display: none; }
  .fx-bg::before, .fx-stage::before, .fx-grad-text, .fx-final::before { animation: none; }
  .fx-hero.is-armed .fx-hero-copy > *,
  .fx-hero.is-armed .fx-stage { opacity: 1; transform: none; filter: none; }
}


/* ============================================================
   Эмбер-разметка лендинга (2026-08-29) — по макету «Лендинг»
   с канваса FoxChat Ember: герой «ТВОЙ ЭФИР. ТВОЙ ПУЛЬТ.»,
   моно-тикер, карточки F.01–F.06, шаги, CTA-полоса, футер.
   Шрифтовые токены приходят из theme-ember.css.
   ============================================================ */

.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.em-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono, ui-monospace);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
}
.em-eyebrow > span { color: var(--text-3); letter-spacing: .14em; }
.em-ticks { flex: 1; max-width: 320px; height: 8px; background: repeating-linear-gradient(90deg, rgb(var(--veil) / .22) 0, rgb(var(--veil) / .22) 1px, transparent 1px, transparent 14px); }

.em-h1 {
  margin: 18px 0 0;
  font-family: var(--font-display, 'Arial Black');
  font-size: clamp(42px, 4.6vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}
.em-h1 .em-accent { color: var(--primary); }
.em-h1 .em-accent i { font-style: normal; color: var(--cyan); }

.em-stats { display: flex; gap: 22px; margin-top: 20px; font-size: 13px; color: var(--text-3); flex-wrap: wrap; }
.em-stats b { color: var(--cyan); font-weight: 600; }

/* --- OBS-окно героя --- */
.em-obs {
  width: 100%;
  max-width: 470px;
  justify-self: end;
  align-self: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: color-mix(in srgb, var(--bg) 86%, #000);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.em-obs-head { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.em-obs-dots { display: flex; gap: 5px; }
.em-obs-dots i { width: 8px; height: 8px; border-radius: 50%; }
.em-obs-dots i:nth-child(1) { background: var(--danger); }
.em-obs-dots i:nth-child(2) { background: var(--warning); }
.em-obs-dots i:nth-child(3) { background: var(--success); }
.em-obs-title { font-family: var(--font-mono, ui-monospace); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.em-obs-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono, ui-monospace); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.em-obs-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px var(--primary); }
.em-obs-body { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.em-obs-msg { padding: 8px 11px; border: 1px solid var(--line); border-radius: 3px; background: rgb(var(--veil) / .035); font-size: 12.5px; color: var(--text-2); }
.em-obs-msg b { font-weight: 700; }
.em-obs-msg.is-first { border-color: color-mix(in srgb, var(--primary) 35%, transparent); background: color-mix(in srgb, var(--primary) 7%, transparent); }
.em-obs-chip { display: inline-block; margin-right: 8px; font-family: var(--font-mono, ui-monospace); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.em-obs-event {
  padding: 9px 11px;
  border: 1px solid color-mix(in srgb, var(--cyan) 40%, transparent);
  border-left: 2px solid var(--cyan);
  border-radius: 3px;
  background: color-mix(in srgb, var(--cyan) 8%, transparent);
  font-size: 12.5px;
  color: var(--text);
}
.em-obs-kicker { display: block; margin-bottom: 3px; font-family: var(--font-mono, ui-monospace); font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-soft); }
.em-obs-follow { padding: 2px 2px 0; font-family: var(--font-mono, ui-monospace); font-size: 10px; letter-spacing: .1em; color: var(--text-3); }
.em-emote { display: inline-block; width: 16px; height: 16px; margin-left: 4px; border-radius: 3px; vertical-align: -3px; }

/* --- Моно-тикер интеграций: бегущая строка с логотипами --- */
.em-ticker {
  position: relative;
  display: block;
  max-width: none;
  margin: 34px auto 0;
  padding: 0;
  border-block: 1px solid var(--line);
  background: rgb(var(--veil) / .02);
}
.em-ticker .fx-marquee-track { gap: 46px; padding: 17px 28px 17px 170px; animation-duration: 42s; }
.em-ticker .fx-marquee-item {
  font-family: var(--font-mono, ui-monospace);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.em-ticker .fx-marquee-item .integration-logo { width: 24px; height: 24px; }
.em-ticker-label {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0 46px 0 24px;
  background: linear-gradient(90deg, var(--bg) 55%, transparent);
  font-family: var(--font-mono, ui-monospace);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary);
}

/* --- Секции: шапка слева, как на макете --- */
.em-section-head { max-width: 840px; margin: 0 0 34px; text-align: left; }
.em-h2 { margin: 16px 0 10px; font-family: var(--font-display, 'Arial Black'); font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: 0; }
.em-lede { margin: 0; max-width: 560px; color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* --- Карточки возможностей F.01–F.06 --- */
.em-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.em-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  transition: border-color .18s ease, transform .18s ease;
}
.em-card:hover { border-color: color-mix(in srgb, var(--primary) 45%, transparent); transform: translateY(-2px); }
.em-card-idx { display: block; margin-bottom: 12px; font-family: var(--font-mono, ui-monospace); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); }
.em-card h3 { margin: 0 0 8px; font-size: 15.5px; font-weight: 700; }
.em-card p { margin: 0; color: var(--text-2); font-size: 13px; line-height: 1.55; }

/* --- Шаги --- */
.em-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.em-step { padding-top: 16px; border-top: 1px solid var(--line-strong); }
.em-step-num { display: block; margin-bottom: 10px; font-family: var(--font-mono, ui-monospace); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); }
.em-step h3 { margin: 0 0 8px; font-size: 15.5px; font-weight: 700; }
.em-step p { margin: 0; color: var(--text-2); font-size: 13px; line-height: 1.55; }

/* --- CTA-полоса --- */
.em-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 38px 44px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: linear-gradient(180deg, var(--surface-3), var(--surface));
}
.em-band-copy h2 { margin: 0 0 10px; font-family: var(--font-display, 'Arial Black'); font-size: clamp(24px, 2.4vw, 34px); font-weight: 900; letter-spacing: 0; }
.em-band-copy p { margin: 0; max-width: 520px; color: var(--text-2); font-size: 14px; line-height: 1.55; }

/* --- Футер --- */
.em-footer { border-top: 1px solid var(--line); }
.em-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  max-width: var(--fx-maxw);
  margin: 0 auto;
  padding: 22px 24px;
}
.em-footer-brand { display: flex; align-items: center; gap: 10px; }
.em-footer-name { font-family: var(--font-display, 'Arial Black'); font-size: 13px; font-weight: 900; letter-spacing: .04em; }
.em-footer-meta { font-family: var(--font-mono, ui-monospace); font-size: 10px; letter-spacing: .08em; color: var(--text-3); }

@media (max-width: 900px) {
  .em-grid, .em-steps { grid-template-columns: 1fr; }
  .em-band { padding: 26px; }
  .em-obs { justify-self: stretch; max-width: none; }
}

/* Демо-табы лендинга — квадратный эмбер вместо пилюли-градиента. */
.fx-tabs-nav { border-radius: 4px; }
.fx-tabs-nav button { border-radius: 3px; min-height: 38px; }
/* Поток данных лендинга — ровные узлы, линии по центру иконок. */
.fx-flow { align-items: start; }
.fx-flow-node { border-radius: 4px; }
.fx-flow-node > span { width: 56px; height: 56px; border-radius: 3px; }
.fx-flow-node img { width: 28px; height: 28px; }
.fx-flow-node b { font-size: 13.5px; }
.fx-flow-node small { max-width: 180px; font-size: 11px; line-height: 1.4; }
.fx-flow-core { box-shadow: none; }
.fx-flow-core > span {
  width: 56px;
  height: 56px;
  border-radius: 3px;
  border-color: rgba(255, 106, 43, .5);
  background: rgba(255, 106, 43, .12);
  box-shadow: 0 0 26px rgba(255, 106, 43, .28);
  animation: fx-breathe 4.4s ease-in-out infinite;
}
.fx-flow-core img { width: 30px; height: 30px; }
.fx-flow-line { align-self: start; margin-top: 27px; }
.fx-flow-line i { background: var(--primary); }
.fx-flow-targets { align-self: start; margin-top: 2px; }
.fx-flow-targets span {
  border-radius: 2px;
  font-family: var(--font-mono, ui-monospace);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (max-width: 860px) {
  .fx-flow { align-items: center; }
  .fx-flow-line { align-self: center; margin-top: 0; }
  .fx-flow-targets { align-self: center; margin-top: 0; }
}

/* --- Живой кадр героя: сообщения въезжают, LED дышит, донат бликует --- */
@keyframes em-obs-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.em-obs-body > * { animation: em-obs-in .5s var(--fx-e, ease-out) both; }
.em-obs-body > *:nth-child(1) { animation-delay: .8s; }
.em-obs-body > *:nth-child(2) { animation-delay: 1.15s; }
.em-obs-body > *:nth-child(3) { animation-delay: 1.5s; }
.em-obs-body > *:nth-child(4) { animation-delay: 1.85s; }
.em-obs-body > *:nth-child(5) { animation-delay: 2.2s; }
.em-obs-body > *:nth-child(6) { animation-delay: 2.55s; }
@keyframes em-led { 50% { opacity: .35; } }
.em-obs-live i { animation: em-led 1.6s ease-in-out infinite; }
.em-obs-event { position: relative; overflow: hidden; }
.em-obs-event::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 180, 84, .13) 50%, transparent 68%);
  transform: translateX(-130%);
  animation: em-sheen 6s ease-in-out 3s infinite;
  pointer-events: none;
}
@keyframes em-sheen { 0% { transform: translateX(-130%); } 34%, 100% { transform: translateX(130%); } }

/* --- Появление карточек и шагов с каскадом при скролле --- */
[data-fx-reveal] .em-card,
[data-fx-reveal] .em-step,
[data-fx-reveal] .fx-faq details {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--fx-e, ease-out) var(--fx-delay, 0ms), transform .55s var(--fx-e, ease-out) var(--fx-delay, 0ms);
}
[data-fx-reveal].is-in .em-card,
[data-fx-reveal].is-in .em-step,
[data-fx-reveal].is-in .fx-faq details { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .em-obs-body > *, .em-obs-live i, .em-obs-event::after { animation: none !important; }
  [data-fx-reveal] .em-card,
  [data-fx-reveal] .em-step,
  [data-fx-reveal] .fx-faq details { opacity: 1 !important; transform: none !important; transition: none !important; }
}
/* Project news is visible before scrolling, including on mobile. */
.fx-community-link { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 18px 0 0; color: inherit; font-size: 14px; text-decoration: none; line-height: 1.5; }
.fx-community-link svg { width: 20px; height: 20px; flex-shrink: 0; }
.fx-community-link b { display: inline-block; color: #ff8a4c; }
.fx-community-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.fx-community-link:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; border-radius: 3px; }
