/* ============================================================
   CULT вЂ” visual identity
   BLACK + CULT GREEN + WHITE
   EBENYA = РіРѕР»РѕСЃ CULT (Р·Р°РіРѕР»РѕРІРєРё) В· Jura = РёРЅС„РѕСЂРјР°С†РёСЏ CULT (С‚РµРєСЃС‚)
   С„РѕСЂРјСѓР»Р°: С‡С‘СЂРЅС‹Р№ = РїСЂРѕСЃС‚СЂР°РЅСЃС‚РІРѕ В· Р·РµР»С‘РЅС‹Р№ = СЌРЅРµСЂРіРёСЏ В· РґРІРёР¶РµРЅРёРµ = Р¶РёР·РЅСЊ СЃРёСЃС‚РµРјС‹
   ============================================================ */

/* ------- EBENYA: С„РёСЂРјРµРЅРЅС‹Р№ С€СЂРёС„С‚ Р·Р°РіРѕР»РѕРІРєРѕРІ (Р»РѕРєР°Р»СЊРЅС‹Р№ С„Р°Р№Р»).
   Р¤Р°Р№Р»С‹ РґРѕР»Р¶РЅС‹ Р»РµР¶Р°С‚СЊ РІ assets/fonts/ (EBENYA.woff2 / .otf / .ttf).
   РџРѕСЂСЏРґРѕРє src СѓС‡РёС‚С‹РІР°РµС‚: РїРµСЂРІС‹Рј РёР· СЂРµР°Р»СЊРЅРѕ РґРѕСЃС‚СѓРїРЅРѕРіРѕ.
   Р•СЃР»Рё С„Р°Р№Р»Р° РЅРµС‚ вЂ” Р±СЂР°СѓР·РµСЂ РёСЃРїРѕР»СЊР·СѓРµС‚ Jura РєР°Рє Р·Р°РїР°СЃРЅРѕР№. */
@font-face {
  font-family: "EBENYA";
  src: url("../fonts/EBENYA.woff2") format("woff2"),
       url("../fonts/EBENYA.otf") format("opentype"),
       url("../fonts/EBENYA.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* РµСЃР»Рё РµСЃС‚СЊ Р»РѕРєР°Р»СЊРЅС‹Р№ Jura.ttf вЂ” РёСЃРїРѕР»СЊР·СѓРµРј РµРіРѕ (РѕС„Р»Р°Р№РЅ-С„РѕР»Р±СЌРє);
   РІ РїСЂРѕС‚РёРІРЅРѕРј СЃР»СѓС‡Р°Рµ Jura Р±РµСЂС‘С‚СЃСЏ СЃ Google Fonts С‡РµСЂРµР· <link> РІ <head> */
@font-face {
  font-family: "Jura";
  src: url("../fonts/Jura.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- surfaces: РїРѕС‡С‚Рё РїРѕР»РЅРѕСЃС‚СЊСЋ С‡С‘СЂРЅС‹Рµ ---- */
  --bg:        #050706;   /* РіР»СѓР±РѕРєРёР№ С‡С‘СЂРЅС‹Р№, СЃР»РµРіРєР° Р·РµР»С‘РЅРѕ-С‡С‘СЂРЅС‹Р№ */
  --bg-raise:  #080b0a;
  --bg-panel:  #0b0f0d;
  --bg-line:   #141a17;
  --surface-1: #0e1311;
  --surface-2: #18201c;

  /* ---- text: Р±РµР»С‹Р№ Рё СЃРІРµС‚Р»Рѕ-СЃРµСЂС‹Р№ ---- */
  --text:        #f3f5f2;
  --text-soft:   #c4cbc6;
  --text-muted:  #8b938e;
  --text-faint:  #5b635e;

  /* ---- С„РёСЂРјРµРЅРЅС‹Р№ СЌР»РµРєС‚СЂРёС‡РµСЃРєРёР№ Р·РµР»С‘РЅС‹Р№ CULT ---- */
  --accent:      #41FD13;
  --accent-soft: #6eff4d;
  --accent-ink:  #04130b;   /* РїРѕС‡С‚Рё С‡С‘СЂРЅС‹Р№ С‚РµРєСЃС‚ РЅР° Р·РµР»С‘РЅРѕРј */
  --accent-dim:  rgba(65, 253, 19, 0.10);
  --accent-line: rgba(65, 253, 19, 0.28);

  /* РїСЂРѕРґСѓРєС‚РѕРІР°СЏ СЃРµРјСЊСЏ вЂ” Р·РµР»С‘РЅР°СЏ РіР°РјРјР°, Р±РµР· СЂР°РґСѓРіРё */
  --acc-club:   #2fe37f;
  --acc-stream: #27de7d;
  --acc-ai:     #43ee9b;
  --acc-amber:  #e8d27a;   /* РјСЏРіРєРёР№ С‚С‘РїР»С‹Р№ С‚РѕРЅ РґР»СЏ warning/СЃРєРѕСЂРѕ */
  --acc-mag:    #2ce37f;

  /* ---- СЃС‚Р°С‚СѓСЃС‹ ---- */
  --ok:     #16e47f;
  --warn:   #e8d27a;
  --lock:   #8b938e;

  /* ---- СЃРІРµС‡РµРЅРёРµ ---- */
  --glow:    0 0 26px rgba(14, 225, 122, 0.42);
  --glow-soft: 0 0 16px rgba(14, 225, 122, 0.25);
  --glow-text: 0 0 22px rgba(14, 225, 122, 0.55);

  /* ---- borders ---- */
  --border:      rgba(243, 245, 242, 0.10);
  --border-soft: rgba(243, 245, 242, 0.055);
  --hairline:    1px solid var(--border);
  --grid-line:   rgba(243, 245, 242, 0.045);
  --radius:      16px;    /* РјСЏРіРєРѕРµ СЃРєСЂСѓРіР»РµРЅРёРµ */
  --radius-sm:   9px;

  /* ---- С‚РёРїРѕРіСЂР°С„РёРєР°: EBENYA + Jura ---- */
  --font-display: "Jura", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-sans:    "Jura", -apple-system, "Segoe UI", system-ui, Arial, sans-serif;

  /* Jura: letter-spacing ~5% РїРѕ Р°Р№РґРµРЅС‚РёРєРµ; EBENYA: РїР»РѕС‚РЅР°СЏ РїРѕСЃР°РґРєР° */
  --ls-body:  0.035em;
  --ls-label: 0.12em;

  /* СЂРёС‚Рј */
  --space-0: 4px;  --space-1: 8px; --space-2: 16px; --space-3: 24px;
  --space-4: 40px; --space-5: 64px; --space-6: 96px; --space-7: 150px;

  --container: 1280px;
  --header-h: 74px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --speed: 0.55s;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: var(--ls-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
}
::selection { background: var(--accent); color: var(--accent-ink); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font-family: var(--font-sans); color: inherit; letter-spacing: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; box-shadow: var(--glow-soft); }

/* С‚РёС…Р°СЏ С†РёС„СЂРѕРІР°СЏ СЃРµС‚РєР° РІ С„РѕРЅРµ */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 130% 90% at 50% 0%, #000 20%, transparent 82%);
}
#app, .page { position: relative; z-index: 1; }

/* ---------- container ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-4); }
.section { padding: 40px 0; position: relative; }
.section--tight { padding: var(--space-5) 0; }

/* ============================================================
   Р¤РР РњР•РќРќРђРЇ Р¤Р•РќРћР’РђРЇ Р“Р РђР¤РРљРђ: Р°Р±СЃС‚СЂР°РєС‚РЅС‹Рµ С‚РµРєСѓС‡РёРµ Р·РµР»С‘РЅС‹Рµ СЃРІРµС‚РѕРІС‹Рµ С„РѕСЂРјС‹
   ============================================================ */
.aura {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: clip;
}
.aura__blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); mix-blend-mode: screen; will-change: transform, opacity;
  animation: auraDrift 20s var(--ease) infinite alternate;
}
.aura__blob--a { width: 55vmax; height: 55vmax; top: -22vmax; left: -12vmax;
  background: radial-gradient(circle, rgba(14,225,122,0.26), transparent 62%); }
.aura__blob--b { width: 44vmax; height: 44vmax; bottom: -18vmax; right: -10vmax;
  background: radial-gradient(circle, rgba(78,239,159,0.16), transparent 62%);
  animation-delay: -7s; }
.aura__blob--c { width: 26vmax; height: 26vmax; top: 8%; left: 52%;
  background: radial-gradient(circle, rgba(14,225,122,0.14), transparent 60%);
  animation-delay: -13s; }
.aura__thread {
  position: absolute; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5; filter: drop-shadow(0 0 6px var(--accent));
  animation: threadFlow 9s linear infinite;
  will-change: transform;
}
@keyframes auraDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(4vmax, -3vmax, 0) scale(1.06); }
  100% { transform: translate3d(-3vmax, 3vmax, 0) scale(0.98); }
}
@keyframes threadFlow {
  0%   { transform: translateX(-30vw) ; opacity: 0; }
  12%  { opacity: 0.5; }
  88%  { opacity: 0.5; }
  100% { transform: translateX(130vw); opacity: 0; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(14,225,122,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(14,225,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(14,225,122,0); }
}
@media (prefers-reduced-motion: reduce) {
  .aura__blob, .aura__thread { animation: none; }
}

/* ============================================================
   РўРРџРћР“Р РђР¤РРљРђ вЂ” EBENYA РіРѕР»РѕСЃ + Jura РёРЅС„РѕСЂРјР°С†РёСЏ
   ============================================================ */
/* EBENYA: Р±Р°Р·РѕРІС‹Р№ 30px / line-height 16px РґР»СЏ РѕРґРЅРѕСЃС‚СЂРѕС‡РЅС‹С… С„РёСЂРјРµРЅРЅС‹С… Р·Р°РіРѕР»РѕРІРєРѕРІ */
.ebenya {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 16px;
  letter-spacing: 0;
  text-transform: uppercase;
}
/* Р•СЃР»Рё Р·Р°РіРѕР»РѕРІРѕРє РїРµСЂРµРЅРѕСЃРёС‚СЃСЏ РЅР° РЅРµСЃРєРѕР»СЊРєРѕ СЃС‚СЂРѕРє вЂ” line-height Р°РґР°РїС‚РёСЂСѓРµС‚СЃСЏ,
   С‡С‚РѕР±С‹ СЃС‚СЂРѕРєРё РЅРµ РЅР°РєР»Р°РґС‹РІР°Р»РёСЃСЊ, СЃРѕС…СЂР°РЅСЏСЏ РјР°РєСЃРёРјР°Р»СЊРЅРѕ РїР»РѕС‚РЅСѓСЋ РїРѕСЃР°РґРєСѓ. */
.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}
.h-display--xl { font-size: clamp(2.6rem, 5.5vw, 4.6rem); line-height: 1.05; }
.h-section {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}
.lead {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 56ch;
}
.body { color: var(--text-soft); max-width: 62ch; line-height: 1.7; }

/* СЃРёСЃС‚РµРјРЅС‹Рµ/РјРѕРЅРѕ РѕР±РѕР·РЅР°С‡РµРЅРёСЏ РЅР° Jura (СѓР·РєР°СЏ, РєР°РїСЃ, С‚СЂРµРєРёРЅРі) */
.mono {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-muted);
}
.mono--accent { color: var(--accent); }
.mono--strong { color: var(--text-soft); }

mark { background: transparent; color: var(--accent); text-shadow: var(--glow-text); }

/* Р±Р»РѕС‡РЅС‹Р№ С‚РµС…РЅРёС‡РµСЃРєРёР№ РёРЅРґРµРєСЃ [ 01 / SYSTEM ] */
.badge-index {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.7rem; letter-spacing: 0.16em;
  color: var(--text-muted); text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.badge-index::before { content: "["; color: var(--text-faint); }
.badge-index::after  { content: "]"; color: var(--text-faint); }
.badge-index .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: var(--glow-soft);
}
.badge-index .dot.pulse { animation: pulse 2.4s infinite; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-muted);
}

/* ============================================================
   РљРќРћРџРљР вЂ” РєР°РїСЃСѓР»Р°, Р·РµР»С‘РЅС‹Р№ CTA, Р¶РёРІРѕР№ hover
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-sans);
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.04em;
  border-radius: 999px;               /* РєР°РїСЃСѓР»Р° РєР°Рє РІ РїСЂРёР»РѕР¶РµРЅРёРё */
  border: 1px solid var(--border);
  background: transparent; color: var(--text);
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease),
              border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), color var(--speed) var(--ease);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn .arrow { transition: transform var(--speed) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--sm { padding: 8px 18px; font-size: 0.82rem; }
.btn--primary {
  background: var(--accent); color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 0 0 0 0 rgba(14,225,122,0); 
}
.btn--primary:hover {
  background: var(--accent-soft);
  box-shadow: var(--glow);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--glow-soft);
  background: var(--accent-dim);
}
.btn--line { border-color: var(--border); }
.btn--block { width: 100%; }
.form .btn { justify-self: start; }
.btn--lg { padding: 17px 34px; font-size: 0.98rem; }
.btn .mono { color: inherit; letter-spacing: inherit; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h); display: flex; align-items: center;
  border-bottom: var(--hairline);
  backdrop-filter: blur(14px);
  background: rgba(5,7,6,0.72);
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.header__inner {
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-4);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
}
.brand { display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 400; letter-spacing: 0.08em; }
.brand__logo { display: block; width: 104px; height: auto; filter: drop-shadow(0 0 8px rgba(65, 253, 19, 0.45)); }
.lang { display: flex; gap: 4px; }
.lang button {
  font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.04em;
  padding: 8px 10px; border-radius: 999px; background: transparent; cursor: pointer;
  border: 1px solid transparent; color: var(--text-muted);
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.lang button:hover { color: var(--text); background: var(--bg-raise); }
.lang button.active { background: var(--accent-dim); color: var(--accent); font-weight: 600; }
.nav { display: flex; gap: var(--space-1); }
.nav a {
  font-family: var(--font-sans);
  font-size: 0.9rem; color: var(--text-soft);
  padding: 8px 14px; letter-spacing: 0.03em;
  border-radius: 999px; white-space: nowrap;
  transition: color var(--speed) var(--ease), background-color var(--speed) var(--ease);
}
.nav a:hover { color: var(--text); background: var(--bg-raise); }
.nav a.active { background: var(--accent-dim); color: var(--accent); font-weight: 600; }
.header__cta { display: flex; align-items: center; gap: var(--space-2); }
.header__side { display: flex; align-items: center; gap: var(--space-3); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); transition: var(--speed) var(--ease); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--space-3) var(--space-4);
  transform: translateY(-100%); transition: transform 0.5s var(--ease);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0;
  padding: var(--space-1) 0; color: var(--text-soft);
}
.mobile-nav a.active { color: var(--accent); text-shadow: var(--glow-text); }

/* ============================================================
   HERO
   ============================================================ */
.hero, .page-hero, .phero { position: relative; overflow: clip; }
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + var(--space-2)) 0 var(--space-6); }
.hero__meta { position: relative; z-index: 2; display: grid; gap: 0; }
/* в 1-м блоке (hero): расстояние от текста до кнопки — не более 20px */
.hero .hero__title { margin-top: var(--space-3); }
.hero .hero__sub { margin-top: var(--space-3); }
.hero .btn-row { margin-top: 20px; }
.hero__title { text-decoration: none; position: relative; }
.hero__title mark { display: inline-block; }
.hero__sub { max-width: 46ch; color: var(--text-soft);
  font-size: clamp(1rem, 1.9vw, 1.35rem); line-height: 1.55; }
.hero__foot {
  margin-top: calc(var(--space-6) + 40px); padding-top: var(--space-4); border-top: var(--hairline);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3);
  font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.12em;
  color: var(--text-muted); text-transform: uppercase;
}
.hero__foot span:first-child { color: var(--text-soft); }

.page-hero { padding: calc(var(--header-h) + var(--space-6)) 0 var(--space-6); }
.phero { min-height: 72svh; display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + var(--space-4)); }
.phero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-5); align-items: end; position: relative; z-index: 2; }

/* С„РёСЂРјРµРЅРЅС‹Рµ С‚РµРєСѓС‡РёРµ Р·РµР»С‘РЅС‹Рµ СЃРІРµС‚РѕРІС‹Рµ С„РѕСЂРјС‹ Р·Р° hero-Р±Р»РѕРєР°РјРё
   (Р°Р±СЃС‚СЂР°РєС‚РЅРѕ, СЌРЅРµСЂРіРёСЏ РІРЅСѓС‚СЂРё СЃРёСЃС‚РµРјС‹ вЂ” Р±РµР· РґРµРєРѕСЂР°С‚РёРІРЅРѕРіРѕ С€СѓРјР°) */
.hero::before, .page-hero::before, .phero::before {
  content: ""; position: absolute; z-index: 0; top: -26vmax; left: -12vmax;
  width: 62vmax; height: 62vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,225,122,0.20), transparent 60%);
  filter: blur(60px); pointer-events: none;
  animation: auraDrift 20s var(--ease) infinite alternate;
}
.hero::after, .page-hero::after, .phero::after {
  content: ""; position: absolute; z-index: 0; bottom: -18vmax; right: -12vmax;
  width: 48vmax; height: 48vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(78,239,159,0.12), transparent 60%);
  filter: blur(60px); pointer-events: none;
  animation: auraDrift 26s var(--ease) infinite alternate;
}
.hero .container, .page-hero .container, .phero .container { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .hero::before, .page-hero::before, .phero::before,
  .hero::after, .page-hero::after, .phero::after { animation: none; }
}

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   РЎР•РљР¦РР / РљРђР РўРћР§РљР вЂ” С‚С‘РјРЅР°СЏ РїРѕРІРµСЂС…РЅРѕСЃС‚СЊ, РјСЏРіРєРѕРµ СЃРєСЂСѓРіР»РµРЅРёРµ,
   РјРёРЅРёРјР°Р»СЊРЅС‹Р№ РєРѕРЅС‚СѓСЂ, Р·РµР»С‘РЅС‹Р№ active state
   ============================================================ */
.section-head { margin-bottom: var(--space-5); position: relative; z-index: 2; }
.section-head--compact { margin-bottom: var(--space-2); }
.section-head .lead { margin-top: var(--space-2); }
.section-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-3); flex-wrap: wrap; }

/* РјР°РЅРёС„РµСЃС‚ */
.manifesto-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); position: relative; z-index: 2; }
.m-block {
  border: var(--hairline); background: var(--bg-panel);
  padding: var(--space-4); border-radius: var(--radius);
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  position: relative; overflow: hidden;
}
.m-block::before { content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--accent); box-shadow: var(--glow);
  transform: scaleX(0); transform-origin: left; transition: transform var(--speed) var(--ease); }
.m-block:hover { background: var(--bg-raise); box-shadow: var(--glow-soft); }
.m-block:hover::before { transform: scaleX(1); }
.m-block__num { font-family: var(--font-sans); color: var(--accent);
  font-size: 0.72rem; letter-spacing: 0.15em; }
.m-block h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem;
  margin: var(--space-2) 0; text-transform: uppercase; letter-spacing: 0; }
.m-block p { color: var(--text-soft); }

/* РіРѕСЂРёР·РѕРЅС‚Р°Р»СЊРЅС‹Р№ РєР°С‚Р°Р»РѕРі */
.h-scroll { display: flex; gap: var(--space-3); overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 8px 0 var(--space-3);
  position: relative; z-index: 2; }
.h-scroll::-webkit-scrollbar { height: 6px; }
.h-scroll::-webkit-scrollbar-track { background: transparent; }
.h-scroll::-webkit-scrollbar-thumb { background: rgba(65, 253, 19, 0.55); border-radius: 6px; }

.product-card {
  flex: 0 0 clamp(240px, 24vw, 330px); scroll-snap-align: start;
  border: var(--hairline); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-panel), var(--bg));
  padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2);
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  position: relative; overflow: hidden;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--accent-line); box-shadow: var(--glow-soft); }
.product-card--locked { opacity: 0.72; }
.product-card--locked:hover { opacity: 1; }
.product-card--locked .product-card__desc { filter: blur(4px); }
.product-card--locked .product-card__foot { opacity: 0.75; }
.product-card--available { border-color: var(--accent-line); }
.product-card__media {
  position: relative;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  border: var(--hairline);
  background: var(--bg-panel);
  line-height: 0;
}
.product-card__media img {
  width: 100%; height: 100%; display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.product-card--available:hover .product-card__media img { filter: saturate(1.1); }
.product-card__top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); }
.product-card__media {
  position: relative;
  width: 100%;
  margin-top: 8px;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  border: var(--hairline);
  background: var(--bg-panel);
  line-height: 0;
}
.product-card__media img { width: 100%; height: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.product-card__media.is-missing { display: none; }
.product-card__name { font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: 0.01em; text-transform: uppercase; line-height: 1; }
.product-card__desc { color: var(--text-muted); flex: 1; }
.product-card__foot { display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--space-2); }
.mono--muted { color: var(--text-muted); }
.product-card__disabled { opacity: 0.6; cursor: default; }

/* СЃС‚Р°С‚СѓСЃ */
.status { display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 0.66rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-muted); }
.status .sdot { width: 7px; height: 7px; border-radius: 50%; background: var(--lock); }
.status--ok .sdot { background: var(--ok); box-shadow: 0 0 9px rgba(22,228,127,0.8); }
.status--ok { color: var(--ok); }
.status--soon .sdot { background: var(--warn); box-shadow: 0 0 8px rgba(232,210,122,0.6); }
.status--soon { color: var(--warn); }
.status--locked { color: var(--text-muted); }

/* СЂРѕР»Рё */
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); position: relative; z-index: 2; }
.role-tile { border: var(--hairline); border-radius: var(--radius); padding: var(--space-4);
  background: var(--bg-panel); transition: transform var(--speed) var(--ease),
  border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease); }
.role-tile:hover { transform: translateY(-5px); border-color: var(--accent-line); box-shadow: var(--glow-soft); }
.role-tile__code { font-family: var(--font-sans); font-size: 0.68rem; color: var(--text-faint); letter-spacing: 0.12em; }
.role-tile h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem;
  margin: var(--space-1) 0; text-transform: uppercase; letter-spacing: 0; }
.role-tile__desc { color: var(--text-muted); margin-bottom: var(--space-3); }

/* Р»СЋРґРё */
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); position: relative; z-index: 2; }
.person-card { border: var(--hairline); border-radius: var(--radius); overflow: hidden;
  background: var(--bg-panel); display: flex; flex-direction: column; transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease); }
.person-card:hover { transform: translateY(-5px); box-shadow: var(--glow-soft); }
.person-card__photo { aspect-ratio: 3/4; background: linear-gradient(135deg, var(--surface-2), var(--bg-raise));
  display: grid; place-items: center; font-family: var(--font-sans); font-size: 2.2rem; color: var(--text-faint); }
.person-card__photo.placeholder {
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 22px 22px; }
.person-card__body { padding: var(--space-3); display: flex; flex-direction: column; gap: 2px; flex: 1; }
.person-card__name { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0; }
.person-card__role { font-size: 0.78rem; color: var(--text-muted); }
.person-card__handle { font-family: var(--font-sans); font-size: 0.72rem; color: var(--accent); }

/* замок — временно недоступно */
.locked-badge { display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-soft); border-radius: 999px;
  padding: 6px 14px; background: var(--bg-raise);
  font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; }
.locked-badge .mono { font-size: 0.66rem; letter-spacing: 0.16em; }
.person-card--locked { opacity: 0.82; filter: saturate(0.65); position: relative; }
.person-card--locked .person-card__handle,
.person-card--locked .person-card__role { color: var(--text-muted); }
.card-lock { position: absolute; top: 12px; right: 12px; z-index: 3;
  display: grid; place-items: center; width: 30px; height: 30px;
  border: 1px solid #6b6f6c; border-radius: 8px;
  background: #363a3e; font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  filter: grayscale(1); }

/* команды — переворот карточек */
.team-flip { perspective: 1200px; cursor: pointer; outline: none; }
.guarantee-grid .team-flip { font-size: 0.8rem; }
.guarantee-grid .team-flip__front > .person-card__photo { aspect-ratio: 4 / 3; font-size: 1.6rem; }
.guarantee-grid .team-flip__front .person-card__body { padding: var(--space-2); }
.guarantee-grid .person-card__name { font-size: 1rem; }
.guarantee-grid .person-card__role { font-size: 0.68rem; }
.guarantee-grid .team-back { padding: var(--space-3); gap: 8px; }
.guarantee-grid .team-back .person-card__name { font-size: 1rem; }
.guarantee-grid .team-back__text { font-size: 0.8rem; }
.team-flip:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.team-flip__inner { position: relative; transform-style: preserve-3d;
  transition: transform 0.65s var(--ease); }
.team-flip.is-flipped .team-flip__inner { transform: rotateY(180deg); }
.team-flip__face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.team-flip__front { position: relative; }
.team-flip__front > img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.team-flip__front .person-card__body { padding: var(--space-3); }
.team-flip__front.is-blurred { overflow: hidden; }
.team-flip__front.is-blurred .person-card__photo,
.team-flip__front.is-blurred > img { filter: blur(8px) saturate(0.5) brightness(0.85); transform: scale(1.15); }
.team-blur { position: absolute; inset: 0; z-index: 2; display: grid;
  place-items: center; background: radial-gradient(circle at center,
  rgba(10,12,14,0.1) 0%, rgba(10,12,14,0.45) 100%); }
.team-flip__back { position: absolute; inset: 0; transform: rotateY(180deg);
  border: 1px solid var(--accent); border-radius: var(--radius); overflow: hidden;
  background: var(--accent); display: flex; align-items: stretch; }
.team-flip__back .person-card__name { color: var(--accent-ink); }
.team-back { width: 100%; display: flex; flex-direction: column; justify-content: center;
  gap: 14px; padding: var(--space-4); }
.team-back .person-card__name + * { margin-top: 2px; }
.team-back--top { justify-content: flex-start; gap: 2px; padding: var(--space-3) 18px 0; }
.team-back__label { color: var(--accent-ink); opacity: 0.75; letter-spacing: 0.16em; }
.team-cities { list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0; }
.team-cities li { display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; padding: 0; font-family: var(--font-display); text-transform: uppercase;
  font-size: 0.92rem; color: var(--accent-ink); }
.team-city__name { font-weight: 600; }
.team-city__date { font-size: 0.82rem; color: var(--accent-ink); opacity: 0.7;
  white-space: nowrap; letter-spacing: 0.04em; }
.team-back__text { color: var(--accent-ink); font-size: 0.92rem; line-height: 1.6; }

/* фото — колода карт: раскладывается и снова собирается при скролле */
.card-deal { position: relative; width: 100%; aspect-ratio: 15 / 4; perspective: 1200px; }
.card-deal.reveal { opacity: 1; transform: none; }
.card-deal.reveal.is-in { opacity: 1; transform: none; }
.card-deal .card {
  position: absolute; top: 0; width: 20%; aspect-ratio: 3 / 4;
  left: 50%;
  transform: translateX(calc(-50% + var(--dx, 0px))) translateY(var(--dy, 0px)) rotate(var(--srot));
  border: var(--hairline); border-radius: calc(var(--radius) * 0.8); overflow: hidden;
  background: var(--bg-panel); box-shadow: 0 14px 34px rgba(0,0,0,.35);
  cursor: pointer;
}
.card-deal .card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card--1 { --srot: 10deg; --dx: 3px;  --dy: 18px; --cx: 10%; }
.card--2 { --srot: 5deg;  --dx: -3px; --dy: 13px; --cx: 30%; }
.card--3 { --srot: 0deg;  --dx: 0px;  --dy: 8px;  --cx: 50%; }
.card--4 { --srot: -5deg; --dx: 3px;  --dy: 4px;  --cx: 70%; }
.card--5 { --srot: -10deg;--dx: -3px; --dy: 0px;  --cx: 90%; }
.card-deal.is-in .card {
  animation: card-cycle 6s var(--ease) infinite;
}
@keyframes card-cycle {
  0%   { left: 50%; transform: translateX(calc(-50% + var(--dx,0px))) translateY(var(--dy,0px)) rotate(var(--srot)); }
  18%  { left: var(--cx); transform: translateX(-50%) rotate(0deg); }
  58%  { left: var(--cx); transform: translateX(-50%) rotate(0deg); }
  75%  { left: 50%; transform: translateX(calc(-50% + var(--dx,0px))) translateY(var(--dy,0px)) rotate(var(--srot)); }
  100% { left: 50%; transform: translateX(calc(-50% + var(--dx,0px))) translateY(var(--dy,0px)) rotate(var(--srot)); }
}
@media (max-width: 640px) {
  .card-deal { aspect-ratio: 10 / 4; }
}
.person-card__slot { margin-top: auto; padding-top: var(--space-2); }
.person-card--you { border-style: dashed; border-color: var(--accent);
  align-items: center; justify-content: center; text-align: center; background: var(--accent-dim); }
.person-card--you .big { font-family: var(--font-display); font-weight: 400;
  font-size: 1.8rem; color: var(--accent); text-shadow: var(--glow-text); }

/* РєР»СѓР±С‹: РІРѕР·РјРѕР¶РЅРѕСЃС‚Рё */
.club-features { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.club-features li { font-size: 0.72rem; color: var(--text-muted); }
.club-features li .check { color: var(--acc-club); }

/* РєР°СЂС‚Р° РјРёСЂР° */
.world-map { position: relative; border: var(--hairline); border-radius: var(--radius);
  background: var(--bg-panel); aspect-ratio: 16 / 9; overflow: hidden; }
.world-map--img { background: url("../img/products/world-map.jpg") center / cover no-repeat; }
.world-map__placeholder { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  color: var(--text-muted); font-size: 0.72rem; white-space: nowrap; }
.world-map__svg { width: 100%; height: 100%; display: block; }
.world-map__marker circle.world-map__dot { fill: var(--acc-club); stroke: #05120b; stroke-width: 1.5; }
.world-map__marker circle.world-map__pulse { fill: none; stroke: var(--acc-club); stroke-width: 1.2;
  animation: wmpulse 2.2s ease-out infinite; transform-origin: center; }
.world-map__marker text.world-map__label { fill: var(--text-soft); font-family: var(--font-sans);
  font-size: 17px; letter-spacing: 0.03em; paint-order: stroke;
  stroke: var(--bg-panel); stroke-width: 4px; stroke-linejoin: round; }
.world-map__hint { margin-top: 10px; color: var(--text-muted); font-size: 0.7rem; }
.tech-map__img { display: block; width: 100%; height: auto; object-fit: contain; }
.tech-map.has-img { min-height: 0; }
.tech-map__open {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: none;
  cursor: zoom-in; border-radius: var(--radius); overflow: hidden;
}
.tech-map__open .tech-map__img { transition: opacity .3s var(--ease), transform .5s var(--ease); }
.tech-map__open:hover .tech-map__img, .tech-map__open:focus-visible .tech-map__img { opacity: .92; transform: scale(1.012); }
.tech-map__hint {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); background: color-mix(in srgb, var(--bg) 82%, transparent);
  border: 1px solid var(--accent-line); border-radius: 999px; backdrop-filter: blur(6px);
  box-shadow: var(--glow-soft); pointer-events: none;
}

/* ---- Технологическая карта: мобильный. Высота — по содержимому,
   никаких растягиваний/большого min-height; небольшой нижний отступ. ---- */
@media (max-width: 640px) {
  .tech-map.has-img { min-height: 0; }
  .tech-map { min-height: 0; margin-bottom: 24px; }
}

/* ---- Lightbox технологической карты ---- */
.tech-lightbox {
  position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column;
  background: color-mix(in srgb, #040405 94%, transparent);
  backdrop-filter: blur(10px);
}
.tech-lightbox[hidden] { display: none; }
.tech-lightbox__bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px;
  border-bottom: 1px solid var(--border-soft); background: var(--bg);
}
.tech-lightbox__title { font-size: .72rem; letter-spacing: .16em; color: var(--text-faint); margin-right: auto; }
.tech-lightbox__zoom { display: inline-flex; align-items: center; gap: 6px; }
.tech-lightbox__zoom button, .tech-lightbox__close {
  min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 8px; background: var(--bg-panel); color: var(--text);
  font-size: 1.1rem; font-family: var(--font-mono, var(--font-sans)); transition: border-color .2s var(--ease), color .2s var(--ease);
}
.tech-lightbox__zoom button:hover, .tech-lightbox__close:hover { border-color: var(--accent-line); color: var(--accent); }
.tech-lightbox__pct { min-width: 52px; text-align: center; font-size: .72rem; letter-spacing: .06em; color: var(--text-muted); }
.tech-lightbox__close { font-size: 1.3rem; }
.tech-lightbox__back {
  min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--accent-line); border-radius: 10px; background: var(--bg-panel); color: var(--accent);
  font-family: var(--font-mono, var(--font-sans));
  box-shadow: var(--glow-soft); cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.tech-lightbox__back:hover, .tech-lightbox__back:focus-visible {
  border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--bg-panel));
  box-shadow: 0 0 18px rgba(65, 253, 19, .35);
}
.tech-lightbox__stage { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; display: flex; align-items: flex-start; }
.tech-lightbox__stage img { display: block; max-width: none; width: 100%; height: auto; margin: 0 auto; }
body.tech-lightbox--open { overflow: hidden; }
@keyframes wmpulse { 0% { transform: scale(0.4); opacity: 0.9; } 70% { transform: scale(1.6); opacity: 0; } 100% { transform: scale(1.6); opacity: 0; } }
.world-map__marker.is-planned .world-map__dot { fill: var(--text-muted); }
.world-map__marker.is-planned .world-map__pulse { display: none; }

/* РєР°СЂС‚РѕС‡РєРё РєР»СѓР±РѕРІ */
.clubs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: var(--space-4); }
.club-card { position: relative; min-height: 360px; border: var(--hairline); border-radius: var(--radius);
  background: var(--bg-panel); overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.club-card:hover { transform: translateY(-6px); border-color: var(--acc-club); box-shadow: var(--glow-soft); }
.club-card__mediawrap { position: relative; aspect-ratio: 16 / 6; overflow: hidden; background: var(--bg-raise);
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px; }
.club-card__media { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.club-card__media--blank { width: 100%; height: 100%; min-height: 90px; background: var(--bg-raise);
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px; }
.club-card__body { padding: var(--space-3); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.club-card__title { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem;
  text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; }
.club-card__addr { font-size: 0.82rem; color: var(--text-muted); }
.club-card__pcs { font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--acc-club); margin-top: 4px; }
.club-card__spec { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.club-card__spec li { font-size: 0.78rem; color: var(--text-soft); }
.club-card__open { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.06em; margin-top: auto; }
.club-card__cta { margin-top: auto; padding-top: 14px; }
.club-btn__want { width: 100%; justify-content: center; }

/* Р·Р°Р±Р»РѕРєРёСЂРѕРІР°РЅРЅС‹Рµ РєР°СЂС‚РѕС‡РєРё (С‚РѕР»СЊРєРѕ РіРѕСЂРѕРґ) */
.club-card--planned { min-height: 360px; justify-content: space-between; align-items: stretch; }
.club-card--planned .club-card__media--blank { position: absolute; inset: 0; min-height: 0; filter: blur(5px);
  transform: scale(1.05); opacity: 0.7; }
.club-card--planned .club-card__title { position: relative; z-index: 1; padding: var(--space-3)
  var(--space-3) 0; filter: none; }
.club-card--planned .club-card__cta { position: relative; z-index: 1; padding: var(--space-4); }
.club-card--planned::after { content: "СКОРО"; position: absolute; top: 14px; right: 16px; z-index: 2;
  font-family: var(--font-sans); font-size: 0.62rem; letter-spacing: 0.18em; color: var(--text-muted); }
.club-card--empty { min-height: 360px; border-style: dashed; border-color: var(--accent-line); }

/* РїСЂРµРґР»РѕР¶РёС‚СЊ СЃРІРѕР№ РіРѕСЂРѕРґ */
.suggest-city { border: var(--hairline); border-radius: var(--radius);
  background: radial-gradient(120% 150% at 0% 0%, var(--accent-dim), transparent 60%), var(--bg-panel);
  padding: var(--space-5); }
.suggest-city .h-section { max-width: none; }
.suggest-city .body { max-width: 46ch; }

@media (max-width: 640px) {
  .clubs-grid { grid-template-columns: 1fr; }
  .club-card__title { font-size: 1.35rem; line-height: 1.15; }
}

.partner-banner { border: var(--hairline); border-radius: var(--radius);
  background: radial-gradient(120% 150% at 0% 0%, var(--accent-dim), transparent 60%), var(--bg-panel);
  padding: var(--space-5); position: relative; overflow: hidden; }
.partner-banner .h-section { max-width: 22ch; }

/* Р°РЅС‚РёС„СЂР°РЅС€РёР·Р° */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: var(--hairline);
  border-radius: var(--radius); overflow: hidden; position: relative; z-index: 2; }
.compare-col { padding: var(--space-5); }
.compare-col--franchise { background: var(--bg-raise); border-right: var(--hairline); }
.compare-col--cult { background: radial-gradient(120% 120% at 100% 0%, var(--accent-dim), transparent 60%), var(--bg); }
.compare-col h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem;
  text-transform: uppercase; margin-bottom: var(--space-2); letter-spacing: 0; }
.compare-col--cult h3 { color: var(--accent); text-shadow: var(--glow-text); }
.compare-col li { display: flex; gap: 12px; padding: var(--space-2) 0;
  border-top: var(--border-soft); color: var(--text-soft); align-items: flex-start; }
.compare-col--franchise li .x { color: var(--text-faint); }
.compare-col--cult li .check { color: var(--accent); }
.compare-quote { margin-top: var(--space-5); padding: var(--space-4);
  border: var(--hairline); border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.05; }

/* timeline */
.timeline { position: relative; padding-left: var(--space-4); position: relative; z-index: 2; }
.timeline__rail { position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: var(--bg-line); }
.timeline__rail-fill { position: absolute; left: 0; top: 0; width: 2px; height: 0;
  background: var(--accent); box-shadow: var(--glow); }
.timeline__item { position: relative; padding-bottom: var(--space-6); }
.timeline__item:last-of-type { padding-bottom: 0; }
.timeline__item .node { position: absolute; left: calc(-1 * var(--space-4)); top: 6px;
  width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--bg-line); background: var(--bg); }
.timeline__item.done .node { border-color: var(--accent); background: var(--accent); box-shadow: var(--glow); }
.timeline__item .year { font-family: var(--font-sans); font-size: 0.74rem; color: var(--accent);
  letter-spacing: 0.16em; text-transform: uppercase; }
.timeline__item h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem;
  margin: 6px 0 8px; text-transform: uppercase; letter-spacing: 0; }
.timeline__item p { color: var(--text-muted); max-width: 52ch; }

/* РїР°СЂС‚РЅС‘СЂСЃРєРёРµ РїСѓС‚Рё */
.paths { display: grid; gap: var(--space-2); position: relative; z-index: 2; }
.path { display: grid; grid-template-columns: 260px 1fr auto; gap: var(--space-4); align-items: center;
  border: var(--hairline); border-radius: var(--radius); padding: var(--space-4);
  background: var(--bg-panel); transition: background var(--speed) var(--ease),
  border-color var(--speed) var(--ease), transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease); }
.path:hover { background: var(--bg-raise); border-color: var(--accent-line); box-shadow: var(--glow-soft); }
.path__code { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem;
  color: var(--accent); text-transform: uppercase; letter-spacing: 0.02em; }
.path__code small { display: block; color: var(--text-muted); font-family: var(--font-sans);
  font-weight: 400; font-size: 0.7rem; margin-top: 4px; letter-spacing: 0.08em; text-transform: uppercase; }
.path__desc { color: var(--text-soft); }
.path__price { font-family: var(--font-sans); font-size: 0.76rem; color: var(--text-muted); white-space: nowrap; }

/* РіР°СЂР°РЅС‚РёРё */
.guarantee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); position: relative; z-index: 2; }
.g-card { border: var(--hairline); border-radius: var(--radius); padding: var(--space-4); background: var(--bg-panel); }
.g-card--locked { opacity: 0.72; filter: saturate(0.5) blur(2px); }
.g-card--locked h3 { margin-bottom: 0; }
.offer-card { position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: 150px; gap: var(--space-3); overflow: hidden; filter: none; }
.offer-card::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("../img/teams/offer.png") center/cover no-repeat;
  filter: blur(8px) saturate(0.6) brightness(0.6);
  transform: scale(1.15); }
.offer-card--2::before { background-image: url("../img/teams/offer-2.png"); }
.offer-card--3::before { background-image: url("../img/teams/offer-3.png"); }
.offer-card > * { position: relative; z-index: 1; }
.offer-card__lock { position: absolute; top: 12px; right: 12px; }
.offer-card h3 { padding-right: 34px; }
.offer-cta { display: flex; justify-content: flex-start; margin-top: 28px; position: relative; z-index: 2; }
.g-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem;
  margin-bottom: var(--space-2); display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 0; }
.g-card li { padding: var(--space-1) 0; color: var(--text-soft); display: flex; gap: 10px; border-top: var(--border-soft); align-items: baseline; }
.g-card li .check {
  color: var(--accent);
  display: inline-block;
  font-size: 0.82rem;
  line-height: 1;
  text-shadow: var(--glow-soft);
}

/* ============================================================
   Р¤РћР РњР« вЂ” РёРЅС‚РµСЂС„РµР№СЃ CULT
   ============================================================ */
.form { border: var(--hairline); border-radius: var(--radius);
  background: var(--bg-panel); padding: var(--space-4); display: grid; gap: var(--space-3);
  position: relative; z-index: 2; }
.form__field { display: grid; gap: 8px; }
.form__label { font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted); }
.form__input, .form__select, .form__textarea { background: var(--bg-raise);
  border: var(--hairline); border-radius: var(--radius-sm); padding: 13px 14px;
  color: var(--text); font-size: 0.92rem; transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease); width: 100%; }
.form__input:focus, .form__select:focus, .form__textarea:focus { border-color: var(--accent); box-shadow: var(--glow-soft); outline: none; }
.form__textarea { resize: vertical; min-height: 96px; }
.form__select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }

.segment { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1);
  border: var(--hairline); border-radius: 999px; padding: 6px; background: var(--bg-raise); }
.segment button { flex: 0 1 auto; padding: 10px 16px; border-radius: 999px; font-family: var(--font-sans);
  font-size: 0.82rem; color: var(--text-muted); text-align: center;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  white-space: nowrap; }
.segment button.active { background: var(--accent); color: var(--accent-ink);
  font-weight: 600; box-shadow: var(--glow-soft); }
.form-dynamic { transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.form-dynamic[hidden] { display: none; }

/* ============================================================
   MODAL — предложить
   ============================================================ */
.modal-overlay { position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; padding: var(--space-3);
  background: rgba(5,6,8,0.72); backdrop-filter: blur(6px);
  animation: modal-fade 0.25s var(--ease); }
.modal { position: relative; width: 100%; max-width: 520px;
  border: 1px solid var(--accent); border-radius: var(--radius);
  background: var(--bg-panel); padding: var(--space-5);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: modal-pop 0.3s var(--ease); }
.modal__close { position: absolute; top: 14px; right: 16px; z-index: 2;
  font-size: 1.5rem; line-height: 1; color: var(--text-muted); cursor: pointer; }
.modal__close:hover { color: var(--accent); }
.modal__title { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem;
  margin: 8px 0 var(--space-3); text-transform: uppercase; letter-spacing: 0; }
.modal .form { border: none; padding: 0; }
.modal .form__input[readonly] { opacity: 0.6; }
.modal__success { text-align: center; padding: 8px 0; display: grid; gap: 14px; }
.modal__success h3 { font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0; }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ============================================================
   SOCIAL / CULTCOIN / APP
   ============================================================ */
.social-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-2); position: relative; z-index: 2; }
.social-card { border: var(--hairline); border-radius: var(--radius); padding: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-2); background: var(--bg-panel);
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease),
  transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease); }
.social-card:hover { border-color: var(--accent-line); transform: translateY(-4px); box-shadow: var(--glow-soft); }
.social-card__name { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: 0; }
.social-card__role { font-size: 0.8rem; color: var(--text-muted); flex: 1; }
.social-card__arrow { color: var(--accent); font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.1em; }

.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); position: relative; z-index: 2; }
.use-item { border: var(--border-soft); border-radius: var(--radius-sm); padding: var(--space-3);
  background: var(--bg-raise); color: var(--text-soft); display: flex; gap: 12px; align-items: center; }
.use-item .mono { color: var(--accent); }

.app-panel { border: var(--hairline); border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: 1fr; background: var(--bg-panel); position: relative; z-index: 2; }
.app-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
.app-tiles .app-panel { display: flex; flex-direction: column; }
.app-tiles .app-panel__main { display: flex; flex-direction: column; flex: 1; }
.app-tiles .app-panel__main .btn-row { margin-top: auto; padding-top: var(--space-2);
  display: flex; align-items: flex-start; }
.app-tiles .app-panel__main .btn-row .btn { width: 150px; min-width: 150px;
  height: 44px; padding-top: 0; padding-bottom: 0; }
.app-panel__main { padding: var(--space-4); }
.app-roles { display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: var(--space-2); }
.app-roles__nums { font-family: var(--font-sans); font-size: 0.82rem;
  color: var(--accent); letter-spacing: 0.08em; }
.app-panel__side { background: radial-gradient(120% 120% at 100% 0%, var(--accent-dim), transparent 60%), var(--bg-raise);
  border-left: var(--hairline); display: grid; place-items: center; padding: var(--space-5); }
.qr { width: 180px; height: 180px; background: #eef; border-radius: 12px; display: grid;
  place-items: center; padding: 14px; position: relative; }
.qr--placeholder { font-family: var(--font-sans); font-size: 0.66rem; letter-spacing: 0.1em;
  color: #10222a; text-align: center; line-height: 1.5; }
.qr::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(0,0,0,0.15);
  background-image: linear-gradient(45deg, #0a3 25%, transparent 25%, transparent 75%, #0a3 75%),
    linear-gradient(45deg, #0a3 25%, transparent 25%, transparent 75%, #0a3 75%);
  background-size: 14px 14px; background-position: 0 0, 7px 7px; opacity: 0.85; }
.qr--placeholder span { position: relative; z-index: 1; background: #eef; padding: 4px 8px; border-radius: 4px; }

/* ============================================================
   РџР РћР”РЈРљРўР« / Р¤Р›РћРЈ / AI
   ============================================================ */
.flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-3); align-items: stretch; }
.flow__node { border: var(--hairline); border-radius: var(--radius); padding: var(--space-3);
  background: var(--bg-panel); text-align: center; }
.flow__link { display: grid; place-items: center; color: var(--accent);
  font-family: var(--font-sans); font-size: 0.8rem; text-shadow: var(--glow-text); }
.flow__node small { display: block; margin-top: 6px; color: var(--text-muted);
  font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.06em; }

.compare-cost { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-3); align-items: center; position: relative; z-index: 2; }
.cost-box { border: var(--hairline); border-radius: var(--radius); padding: var(--space-4);
  background: var(--bg-raise); height: 100%; }
.cost-box--cult { border-color: var(--accent); background: var(--accent-dim); box-shadow: var(--glow-soft); }
.cost-box h4 { font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.12em;
  color: var(--text-muted); text-transform: uppercase; margin-bottom: var(--space-2); }
.cost-box .big { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; }
.cost-box--cult .big { color: var(--accent); text-shadow: var(--glow-text); }
.cost-box p { color: var(--text-soft); margin-top: var(--space-2); }
.vs { font-family: var(--font-sans); color: var(--text-faint); }

.ai-frame { border: var(--hairline); border-radius: var(--radius); overflow: hidden;
  background: var(--bg-panel); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8); }
.ai-frame__bar { display: flex; gap: var(--space-1); padding: 12px 16px; border-bottom: var(--hairline); align-items: center; }
.ai-frame__bar .traffic { display: flex; gap: 6px; }
.ai-frame__bar .traffic i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); }
.ai-frame__bar .t { flex: 1; text-align: center; }
.ai-frame__body { padding: var(--space-4); display: grid; gap: var(--space-3); }
.bubble { border: var(--border-soft); border-radius: var(--radius); padding: var(--space-2) var(--space-3);
  color: var(--text-soft); font-size: 0.88rem; max-width: 80%; }
.bubble--user { justify-self: end; background: var(--accent-dim); border-color: transparent; color: var(--text); }
.bubble--model { justify-self: start; }

/* ============================================================
   РўРђР‘Р« / РЁРђР“Р / РЎРўРђРўРРЎРўРРљРђ
   ============================================================ */
.tabs { display: flex; gap: var(--space-1); overflow-x: auto; border-bottom: var(--hairline);
  margin-bottom: var(--space-4); position: relative; z-index: 2; }
.tab { padding: 12px 18px; font-family: var(--font-sans); font-size: 0.86rem;
  color: var(--text-muted); white-space: nowrap; border-bottom: 2px solid transparent;
  transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.role-panel { display: none; position: relative; z-index: 2; }
.role-panel.active { display: block; animation: fadeUp 0.6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.steps { display: grid; gap: var(--space-2); counter-reset: step; }
.step { display: flex; align-items: center; gap: var(--space-3); border: var(--hairline); border-radius: var(--radius);
  padding: var(--space-3); background: var(--bg-raise); }
.step__num { font-family: var(--font-display); color: var(--accent); font-size: 1.4rem;
  text-shadow: var(--glow-text); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); position: relative; z-index: 2; }
.stat { border: var(--hairline); border-radius: var(--radius); padding: var(--space-4); background: var(--bg-panel); }
.stat .n { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; letter-spacing: 0;
  color: var(--accent); text-shadow: var(--glow-text); }
.stat .l { color: var(--text-muted); font-size: 0.8rem; margin-top: 6px; }

/* ============================================================
   STORY / FILTERS
   ============================================================ */
.story-block { max-width: 22ch; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.8rem, 4.4vw, 3.4rem); line-height: 0.98; letter-spacing: 0; text-transform: uppercase; }
.story-block p { color: var(--text-muted); font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem); line-height: 1.6; text-transform: none;
  letter-spacing: var(--ls-body); font-weight: 400; margin-top: var(--space-3); max-width: 46ch; }
.story-gap { height: var(--space-7); }

.chips { display: flex; gap: var(--space-1); flex-wrap: wrap; margin-bottom: var(--space-4);
  position: relative; z-index: 2; }
.chip { padding: 9px 18px; border: var(--hairline); border-radius: 999px;
  font-family: var(--font-sans); font-size: 0.82rem; color: var(--text-muted);
  transition: var(--speed) var(--ease), box-shadow var(--speed) var(--ease); }
.chip:hover { color: var(--text); }
.chip.active { background: var(--accent); color: var(--accent-ink); font-weight: 600;
  border-color: var(--accent); box-shadow: var(--glow-soft); }

.side-note { position: sticky; top: calc(var(--header-h) + var(--space-4)); }
.divider { border: none; border-top: var(--hairline); margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: var(--hairline); padding: var(--space-6) 0 var(--space-4); background: var(--bg-raise); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-5); }
.footer h4 { font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--space-2); }
.footer a { color: var(--text-soft); display: block; padding: 4px 0; transition: color var(--speed) var(--ease); }
.footer a:hover { color: var(--accent); }
.footer .footer__link--off { color: var(--text-faint); display: block; padding: 4px 0; cursor: default; }
.footer__bottom { margin-top: var(--space-5); padding-top: var(--space-3); border-top: var(--hairline);
  display: flex; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap;
  font-family: var(--font-sans); font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.1em; }
.footer__slogan { font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.06em;
  color: var(--text-soft); text-transform: uppercase; }
.footer__year { font-family: var(--font-sans); font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.1em; }
.footer__meta { display: flex; align-items: center; gap: var(--space-3); }
.footer .footer__docs { color: var(--text-soft); font-size: 0.82rem; letter-spacing: 0.06em; display: inline;
  padding: 0; text-decoration: none;
  transition: color var(--speed) var(--ease); }
.footer .footer__docs:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* переключатель "показать ещё" ролей существует только для мобильного */
.roles-toggle { display: none; }
@media (max-width: 1000px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: repeat(3, 1fr); }
  .guarantee-grid { grid-template-columns: 1fr 1fr; }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .phero__grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .phero { padding-bottom: var(--space-5); }
  .path { grid-template-columns: 1fr; gap: var(--space-2); }
  .app-panel { grid-template-columns: 1fr; }
  .app-tiles { grid-template-columns: 1fr; }
  .app-panel__side { border-left: none; border-top: var(--hairline); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .use-grid { grid-template-columns: 1fr 1fr; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare-col--franchise { border-right: none; border-bottom: var(--hairline); }
  .flow { grid-template-columns: 1fr; }
  .flow__link { transform: rotate(90deg); padding: 4px; }
  .compare-cost { grid-template-columns: 1fr; }
  .vs { display: none; }
}
@media (max-width: 640px) {
  :root { --space-6: 76px; --space-7: 104px; }
  .container { padding: 0 var(--space-3); }

  /* ---- шапка на мобильном: компактнее лого, текст и иконки ---- */
  .header__inner { gap: 10px; padding: 0 var(--space-3); }
  .brand { gap: 8px; }
  .brand__logo { width: 82px; }
  .lang { gap: 2px; }
  .lang button { font-size: 0.72rem; padding: 6px 8px; }
  .header .header__cta .btn { padding: 8px 14px; font-size: 0.78rem; }
  .header__side { gap: 10px; }
  .nav-toggle { gap: 4px; padding: 6px; }
  .nav-toggle span { width: 18px; height: 2px; }

  .roles-grid, .people-grid, .guarantee-grid, .social-grid, .use-grid, .stats, .form__row, .form__grid { grid-template-columns: 1fr; }
  .h-scroll { margin-left: 0; padding-left: var(--space-3); padding-right: var(--space-3); }
  .partner-banner, .compare-col, .form { padding: var(--space-4); }

  /* ---- на мобильном убираем чрезмерно большие отступы по всей странице ---- */
  .section { padding: 26px 0; }
  .section--tight { padding: var(--space-3) 0; }
  .section-head, .cube-section .section-head, .cube-head { margin-bottom: var(--space-3); }
  #products .container + .container { margin-top: 8px !important; }
  .roles-grid { gap: var(--space-2); }
  .role-tile { padding: var(--space-3); }
  .app-panel__main { padding: var(--space-2); }
  .app-panel__side { padding: var(--space-2); }
  .app-roles { margin-bottom: var(--space-2); }
  /* на мобильном блок «Скачать приложение» идёт после «Точек входа» —
     уменьшаем отступ между ними */
  section#app.section { padding-top: 4px; }

  /* ---- кнопки на мобильном: компактнее ---- */
  .btn-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn-row .btn { width: auto; }
  .btn, .btn--lg { padding: 11px 20px; font-size: 0.88rem; }
  .hero .btn-row .btn--ghost { display: none; }
  .hero .btn-row .btn--primary { width: auto; }

  /* ---- hero-fut: убираем огромные отступы между LAT..ONLINE, плотно по строкам ---- */
  .hero { padding: calc(var(--header-h) + 16px) 0 var(--space-3); justify-content: flex-start; min-height: auto; }
  .hero__foot {
    flex-direction: column; align-items: flex-start; gap: 3px;
    margin-top: 80px;
    padding-top: var(--space-2);
  }

  /* ---- карточки продуктов: меньше текст и высота ---- */
  #product-catalog .product-card { flex-basis: 60vw; gap: 6px; padding: var(--space-2); }
  #product-catalog .product-card__name { font-size: 1.1rem; }
  #product-catalog .product-card__desc { font-size: 0.82rem; line-height: 1.4; }
  #product-catalog .product-card__foot { padding-top: 6px; }
  #product-catalog .status, #product-catalog .mono { font-size: 0.6rem; }

  /* ---- футер: одна колонка, заголовки на одном уровне, плотнее текст ---- */
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .footer { padding: var(--space-4) 0 var(--space-3); }
  .footer h4 { margin-bottom: 8px; }
  .footer a, .footer .footer__link--off { padding: 2px 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: var(--space-4); }

  /* ---- футер на мобильном: мельче текст ---- */
  .footer h4 { font-size: 0.62rem; }
  .footer a, .footer .footer__link--off { font-size: 0.82rem; }
  .footer .body { font-size: 0.84rem; line-height: 1.45; }
  .footer__slogan { font-size: 0.8rem; }

  .stat .n { font-size: 2rem; }
  .person-card--you { aspect-ratio: auto; min-height: 200px; }
  .h-display--xl { font-size: clamp(2.2rem, 8vw, 3.6rem); line-height: 1.05; }

  /* ---- Роли: на мобильном все роли скроллятся влево по горизонтали (без стрелки) ---- */
  .roles-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: var(--space-2);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    margin-right: calc(var(--space-3) * -1);
    padding-right: var(--space-3);
  }
  .roles-grid .role-tile {
    flex: 0 0 78vw;
    min-width: 240px;
    scroll-snap-align: start;
  }
  .roles-grid::-webkit-scrollbar { height: 6px; }
  .roles-grid::-webkit-scrollbar-track { background: transparent; }
  .roles-grid::-webkit-scrollbar-thumb { background: rgba(65, 253, 19, 0.55); border-radius: 6px; }
  .role-tile:hover { transform: none; }
}

/* ============================================================
   MOBILE TYPOGRAPHY
   На узких экранах компактные EBENYA-заголовки (line-height < 1)
   при переносе на несколько строк "слипаются". Разгоняем межстрочный
   интервал только для мобильного, сохраняя фирменную посадку на десктопе.
   ============================================================ */
@media (max-width: 640px) {
  .h-display,
  .h-display--xl,
  .h-section,
  .hero__title,
  .story-block,
  .mf__title,
  .mf__lead,
  .ec__title,
  .ec__lead,
  .ec__type-title { line-height: 1.12; }

  .h-display { font-size: clamp(2rem, 7.2vw, 3rem); }
  .h-display--xl { font-size: clamp(2rem, 7.6vw, 3.4rem); }
  .h-section { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .lead { font-size: clamp(0.98rem, 2.5vw, 1.12rem); }

  /* системные подписи: не даём им двоиться/ужиматься слишком сильно на мобильных */
  .hero__foot, .footer__bottom { font-size: 0.66rem; line-height: 1.5; letter-spacing: 0.1em; }
  .form__label { font-size: 0.66rem; }

  /* воздух и читаемость героя на мобильном: шаг между текстом и кнопкой <= 20px,
     строки переносятся естественно, без чрезмерных отступов */
  .hero .hero__title { margin-top: var(--space-2); }
  .hero .hero__sub { margin-top: var(--space-2); }
  .hero .btn-row { margin-top: 20px; }
  .hero .hero__title { text-wrap: balance; }
  .hero #hero-code { margin-top: 2px; }
}

/* ============================================================
   CHANNELS · INFINITE CURVED 3D CAROUSEL
   Карточки каналов: тёмные, матовые, с едва заметной сеткой и noise.
   Без фирменных цветов платформ — всё приведено к стилю CULT.
   ============================================================ */
.channels-carousel {
  position: relative;
  width: 100%;
  min-height: 680px;
  margin-top: var(--space-2);
  overflow: hidden;
  perspective: 1800px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.channels-carousel.is-dragging { cursor: grabbing; }

.channels-carousel .channel-card {
  position: relative;
  z-index: 100;
  pointer-events: auto !important;
  position: absolute;
  left: 50%;
  top: 50%;  width: min(420px, 84vw);
  height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-4) var(--space-3);
  background-color: var(--bg-panel);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 32px 32px, 32px 32px, 160px 160px;
  border: 1px solid var(--bg-line);
  border-radius: var(--radius);
  color: var(--text);
  opacity: 0.45;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transition: background-color var(--speed) var(--ease), border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.channels-carousel .channel-card.is-active {
  background-color: var(--surface-1);
  border-color: rgba(57, 255, 20, 0.15);
  box-shadow: 0 0 80px rgba(65, 253, 19, 0.06), 0 24px 48px rgba(0, 0, 0, 0.55);
  opacity: 1;
  cursor: pointer;
}

.channel-card {
  cursor: pointer;
  pointer-events: auto !important;
}

.channel-card * {
  pointer-events: none;
}

/* верх карточки: номер канала + декоративный системный маркер */
.channel-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
}
.channel-card__code {
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.12em;
}
.channels-carousel .channel-card.is-active .channel-card__code { color: var(--accent); }
.channel-card__deco { color: var(--bg-line); font-size: 0.7rem; letter-spacing: 0.2em; }
.channels-carousel .channel-card.is-active .channel-card__deco { color: var(--accent-soft); }

/* центр: название платформы через крупную типографику + описание */
.channel-card__mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}
.channel-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-soft);
}
.channels-carousel .channel-card.is-active .channel-card__name { color: var(--text); }
.channel-card__desc {
  margin-top: var(--space-2);
  color: var(--text-faint);
  font-size: 0.92rem;
  line-height: 1.55;
  text-transform: none;
  max-height: 1.6em;
  overflow: hidden;
  opacity: 0.65;
  transition: max-height var(--speed) var(--ease), color var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.channels-carousel .channel-card.is-active .channel-card__desc {
  max-height: 8em;
  color: var(--text-soft);
  opacity: 1;
}

/* низ: статус слева, open → справа */
.channel-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-2);
  border-top: 1px solid rgba(243, 245, 242, 0.05);
}
.channel-card__status { font-size: 0.72rem; color: var(--text-faint); letter-spacing: 0.1em; }
.channel-card__open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.channels-carousel .channel-card.is-active .channel-card__status { color: var(--accent); }
.channels-carousel .channel-card.is-active .channel-card__open { color: var(--accent); }
.channels-carousel .channel-card.is-active:hover {
  border-color: rgba(65, 253, 19, 0.28);
  box-shadow: 0 0 90px rgba(65, 253, 19, 0.10), 0 24px 48px rgba(0, 0, 0, 0.55);
}
.channels-carousel .channel-card.is-active:hover .channel-card__open .arrow { transform: translateX(5px); }
.channels-carousel .channel-card.is-active:hover .channel-card__name { letter-spacing: 0.04em; }
.channel-card__name { transition: letter-spacing var(--speed) var(--ease), color var(--speed) var(--ease); }
.channel-card__open .arrow { display: inline-block; transition: transform var(--speed) var(--ease); }

.channels-carousel .channel-card.is-off.is-active {
  border-color: var(--bg-line);
  box-shadow: none;
  cursor: default;
}
.channels-carousel .channel-card.is-off.is-active .channel-card__code,
.channels-carousel .channel-card.is-off.is-active .channel-card__deco,
.channels-carousel .channel-card.is-off.is-active .channel-card__status,
.channels-carousel .channel-card.is-off.is-active .channel-card__open { color: var(--text-faint); }
.channels-carousel .channel-card.is-off .channel-card__name { color: var(--text-faint); }
.channels-carousel .channel-card.is-off.is-active .channel-card__name { color: var(--text-soft); }
.channels-carousel .channel-card.is-off.is-active:hover { box-shadow: none; }
.channels-carousel .channel-card.is-off.is-active:hover .channel-card__name { letter-spacing: 0.02em; }

@media (max-width: 1024px) {
  .channels-carousel { min-height: 560px; }
  .channels-carousel .channel-card { height: 480px; padding: var(--space-3); }
}
@media (max-width: 640px) {
  .channels-carousel { min-height: 420px; }
  .channels-carousel .channel-card { width: min(272px, 70vw); height: 332px; padding: var(--space-3); }
  .channels-carousel .channel-card__name { font-size: 1.45rem; }
  .channels-carousel .channel-card__desc { font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .channels-carousel .channel-card { transition: none; }
}

/* ============================================================
   TEAMS · КОМАНДЫ CULT (mobile only)
   Те же desktop-карточки (team-flip / person-card), без изменения
   дизайна: только пропорционально уменьшенные и разложенные в
   горизонтальную swipe-карусель. Desktop-грид не трогаем.
   ============================================================ */
/* кастомный индикатор прокрутки — существует только на mobile */
.teams-scroll-trail {
  display: none;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 10px auto 0;
}
.teams-scroll-trail__cell {
  width: 26px;
  height: 6px;
  border-radius: 999px;
  background: #16191b;
  transition: background var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.teams-scroll-trail__cell.is-on {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(14, 225, 122, 0.45);
}

@media (max-width: 640px) {
  #teams-grid.people-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin-right: calc(var(--space-3) * -1);
    padding-right: var(--space-3);
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  /* скрываем системный ползунок: индикатор рисуем сами */
  #teams-grid.people-grid::-webkit-scrollbar { height: 0; display: none; }

  #teams-grid .team-flip {
    flex: 0 0 72vw;
    max-width: 280px;
    min-width: 0;
    scroll-snap-align: start;
  }

  /* показываем скруглённый фирменный scroll-индикатор */
  .teams-scroll-trail { display: flex; }

  /* на тач-экранах hover-подъём desktop-карточек не нужен */
  #teams-grid .person-card:hover { transform: none; box-shadow: none; }
}

/* ============================================================
   PARTNERS · колода карточек (mobile only)
   Чуть крупнее карточки (+~20%), компактнее вертикаль: без
   большого пустого промежутка до блока ENTRY PATHS. Desktop не трогаем.
   ============================================================ */
@media (max-width: 640px) {
  /* карточки крупнее, но по-прежнему полностью помещаются по ширине экрана */
  .card-deal .card { width: 24%; }

  /* высота секции определяется её содержимым: убираем лишний воздух
     под колодой и над следующим блоком (~32px в сумме вместо 52px) */
  section:has(.card-deal) { padding-bottom: 12px; }
  section:has(.card-deal) + section { padding-top: 20px; }
}




