/* DEXO — чёрно-белый стиль, лаймовый акцент из логотипа, жидкое стекло как в iOS */
:root {
  --bg: #050505;
  --bg-2: #0b0b0b;
  --fg: #f4f4f0;
  --muted: rgba(244, 244, 240, 0.64);
  --faint: rgba(244, 244, 240, 0.38);
  --line: rgba(255, 255, 255, 0.09);
  --lime: #b8fd19;
  --lime-d: #8fd400;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --fd: "Unbounded", "Manrope", system-ui, sans-serif;
  --fb: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.55 var(--fb);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lime); color: #000; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Зерно и световое пятно за курсором */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor {
  position: fixed; left: 0; top: 0; z-index: 1; width: 560px; height: 560px; margin: -280px 0 0 -280px;
  border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(184, 253, 25, 0.1), transparent 62%);
  transition: opacity 0.6s;
  will-change: transform;
}
@media (pointer: fine) { .cursor.on { opacity: 1; } }

/* ---------- Жидкое стекло в духе iOS ----------
   Прозрачное, без матовости: фон за стеклом остаётся чётким. Объём дают блики
   по кромке от «источника света» (--ang поворачивается за курсором) и лёгкие
   внутренние тени. Преломление у краёв добавляет glass.js там, где браузер
   умеет SVG-фильтры в backdrop-filter (Chrome, Edge, Яндекс, Android). */
.lg {
  --ang: 315deg;
  position: relative;
  isolation: isolate;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.012) 45%, rgba(255, 255, 255, 0.035));
  -webkit-backdrop-filter: blur(2px) saturate(185%) brightness(1.08);
  backdrop-filter: blur(2px) saturate(185%) brightness(1.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 2px 2px 1.5px -1px rgba(255, 255, 255, 0.75),
    inset -2px -2px 1.5px -1px rgba(255, 255, 255, 0.32),
    inset 0 0 20px rgba(255, 255, 255, 0.05),
    0 14px 44px -14px rgba(0, 0, 0, 0.65);
}
/* Блик по кромке: яркая дуга со стороны света и слабее с противоположной */
.lg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang) at 50% 50%,
    rgba(255, 255, 255, 0.95) 0deg, rgba(255, 255, 255, 0.3) 45deg, rgba(255, 255, 255, 0) 95deg,
    rgba(255, 255, 255, 0) 150deg, rgba(255, 255, 255, 0.5) 180deg, rgba(255, 255, 255, 0.12) 225deg,
    rgba(255, 255, 255, 0) 275deg, rgba(255, 255, 255, 0.3) 320deg, rgba(255, 255, 255, 0.95) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
/* Мягкий отсвет внутри стекла под указателем */
.lg::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 25%) var(--my, -10%), rgba(255, 255, 255, 0.11), transparent 62%);
  transition: opacity 0.4s;
}
/* Меню при прокрутке темнее: пункты читаются над любым фоном (тон, а не размытие) */
.nav-wrap.scrolled .nav { background: linear-gradient(150deg, rgba(14, 14, 14, 0.7), rgba(8, 8, 8, 0.58)); }

/* Подложка под стеклом: сетка и мягкие пятна света. Стекло преломляет их,
   поэтому эффект виден по всей странице, а не только на первом экране. */
.bg-field { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-field::before {
  content: ""; position: absolute; inset: -2px;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
}
.bg-field i { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.bg-field i:nth-child(1) { width: 34vw; height: 34vw; left: -6vw; top: 18vh; background: rgba(184, 253, 25, 0.2); animation: drift 16s ease-in-out infinite alternate; }
.bg-field i:nth-child(2) { width: 28vw; height: 28vw; right: -4vw; top: 52vh; background: rgba(255, 255, 255, 0.1); animation: drift 19s ease-in-out infinite alternate-reverse; }
.bg-field i:nth-child(3) { width: 18vw; height: 18vw; left: 46vw; top: 70vh; background: rgba(184, 253, 25, 0.14); animation: drift 13s ease-in-out infinite alternate; }
main, .footer { position: relative; z-index: 1; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font: 700 15px/1 var(--fb); letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.btn .ico { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn-white { background: var(--fg); color: #050505; box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.45); }
.btn-white:hover { background: var(--lime); box-shadow: 0 12px 40px -10px rgba(184, 253, 25, 0.6); }
.btn-glass { color: var(--fg); border-radius: 999px; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores.center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 22px 0 16px;
  border-radius: 18px; color: var(--fg); cursor: default;
  transition: transform 0.35s var(--ease);
}
.store:hover { transform: translateY(-3px); }
.store .store-ico { width: 26px; height: 26px; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 10.5px; opacity: 0.72; letter-spacing: 0.02em; }
.store b { font: 700 18px/1.1 var(--fb); letter-spacing: -0.01em; }
.store.tap { animation: tap 0.4s var(--ease); }
@keyframes tap { 40% { transform: scale(0.95); } }

/* ---------- Навигация ---------- */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 var(--gutter); transition: transform 0.5s var(--ease); }
.nav-wrap.hide { transform: translateY(-130%); }
.nav {
  max-width: 1160px; margin: 0 auto; height: 64px; padding: 0 10px 0 22px;
  display: flex; align-items: center; gap: 18px; border-radius: 999px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.07));
  transition: background 0.4s;
}
.nav-logo img { width: 104px; height: auto; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a {
  position: relative; padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted);
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.07); }
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-links + .nav-right { margin-left: 0; }

.lang-switch { display: flex; padding: 4px; gap: 2px; border-radius: 999px; }
.lang-switch a {
  min-width: 38px; height: 32px; display: grid; place-items: center; border-radius: 999px;
  font: 700 12px/1 var(--fb); letter-spacing: 0.06em; color: var(--muted); transition: background 0.25s, color 0.25s;
}
.lang-switch a:hover { color: var(--fg); }
.lang-switch a.on { background: var(--fg); color: #050505; }

.nav-burger { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; }
.nav-burger .ico:last-child { display: none; }
.nav-burger[aria-expanded="true"] .ico:first-child { display: none; }
.nav-burger[aria-expanded="true"] .ico:last-child { display: block; }
.nav-sheet {
  max-width: 1160px; margin: 10px auto 0; padding: 12px; border-radius: 28px;
  display: flex; flex-direction: column; gap: 2px;
  background: linear-gradient(150deg, rgba(24, 24, 24, 0.88), rgba(10, 10, 10, 0.82));
}
.nav-sheet[hidden] { display: none; }
.nav-sheet a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 14px;
  font: 600 18px var(--fd); border-bottom: 1px solid var(--line);
  animation: sheetIn 0.5s var(--ease) both; animation-delay: calc(var(--i) * 40ms);
}
.nav-sheet a:not(.btn) .ico { color: var(--lime); }
.nav-sheet .btn { margin-top: 12px; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Подписи и заголовки ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  font: 700 12px/1 var(--fb); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(184, 253, 25, 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(184, 253, 25, 0); } 100% { box-shadow: 0 0 0 0 rgba(184, 253, 25, 0); } }
.h2 {
  font: 700 clamp(30px, 4.7vw, 66px)/1.02 var(--fd); letter-spacing: -0.035em;
  margin: 22px 0 22px; max-width: 17ch; text-wrap: balance;
}
.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); max-width: 60ch; line-height: 1.65; }
.section { position: relative; padding: clamp(96px, 12vw, 168px) 0; }

/* ---------- Появление при прокрутке ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.js [data-reveal="zoom"] { transform: translateY(30px) scale(0.94); }
.js [data-reveal="mask"] { opacity: 1; transform: translateY(40%); clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.js [data-reveal="words"] { opacity: 1; transform: none; }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="mask"].in { clip-path: inset(-10% -10% -20% -10%); }
.js [data-reveal].settled { transition: transform 0.45s var(--ease), opacity 0.3s; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
.js .split.in .w > span { transform: none; }

/* ---------- Первый экран ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 110px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: -2px;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  mask: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  animation: gridMove 18s linear infinite;
}
@keyframes gridMove { to { background-position: 72px 72px, 72px 72px; } }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.b1 { width: 46vw; height: 46vw; right: -8vw; top: -10vw; background: rgba(184, 253, 25, 0.2); animation: drift 14s ease-in-out infinite alternate; }
.b2 { width: 36vw; height: 36vw; left: -12vw; bottom: -14vw; background: rgba(255, 255, 255, 0.07); animation: drift 18s ease-in-out infinite alternate-reverse; }
.b3 { width: 20vw; height: 20vw; left: 40%; top: 30%; background: rgba(184, 253, 25, 0.08); animation: drift 11s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-6vw, 5vw) scale(1.15); } }
.hero-word {
  position: absolute; left: 50%; bottom: -4.5vw; transform: translateX(-50%);
  font: 900 31vw/0.8 var(--fd); letter-spacing: -0.06em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  animation: wordFloat 16s ease-in-out infinite alternate;
}
@keyframes wordFloat { to { transform: translateX(-47%); } }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
.hero-title { margin: 26px 0 26px; font: 800 clamp(36px, 5.5vw, 80px)/0.96 var(--fd); letter-spacing: -0.045em; }
.hero-title .line { display: block; padding-bottom: 0.06em; }
.hero-title .accent { color: var(--lime); text-shadow: 0 0 60px rgba(184, 253, 25, 0.35); }
.hero-title .outline { background: linear-gradient(100deg, #fff 10%, rgba(255, 255, 255, 0.28) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); max-width: 52ch; line-height: 1.65; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 640px; perspective: 1400px; }
.phone { position: relative; z-index: 2; width: min(318px, 74vw); transform-style: preserve-3d; transition: transform 0.6s var(--ease); }
.phone-frame {
  position: relative; aspect-ratio: 9 / 19.4; border-radius: 54px; padding: 11px;
  background: linear-gradient(150deg, #2b2b2b, #0c0c0c 40%, #1b1b1b);
  box-shadow:
    0 0 0 1.5px #3a3a3a, inset 0 0 0 1.5px #000, inset 0 2px 1px rgba(255, 255, 255, 0.25),
    0 60px 120px -30px rgba(0, 0, 0, 0.9), 0 0 120px -20px rgba(184, 253, 25, 0.25);
}
.island { position: absolute; top: 22px; left: 50%; width: 31%; height: 26px; transform: translateX(-50%); background: #000; border-radius: 20px; z-index: 3; }
.screen {
  position: relative; height: 100%; border-radius: 44px; overflow: hidden; padding: 52px 16px 16px;
  background: radial-gradient(120% 60% at 80% 0%, rgba(184, 253, 25, 0.12), transparent 60%), #080808;
  display: flex; flex-direction: column; gap: 11px;
}
.app-top { display: flex; align-items: center; justify-content: space-between; font: 700 13px var(--fb); color: var(--muted); }
.app-top img { width: 62px; }
.ring-wrap { position: relative; width: 150px; height: 150px; margin: 2px auto 0; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: rgba(255, 255, 255, 0.08); }
.ring-fg { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2s var(--ease-out) 0.3s; filter: drop-shadow(0 0 8px rgba(184, 253, 25, 0.5)); }
.ring-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-val b { font: 800 30px/1 var(--fd); letter-spacing: -0.03em; }
.ring-val span { font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.macros { display: grid; gap: 7px; }
.macro { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; color: var(--muted); }
.macro i, .mini i { display: block; height: 6px; border-radius: 9px; background: rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; }
.macro i::after, .mini i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); border-radius: inherit; background: linear-gradient(90deg, #fff, var(--lime)); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease-out) 0.6s; }
.in .macro i::after, .in .mini i::after { transform: scaleX(1); }
.mini-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini { padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); display: grid; gap: 6px; }
.mini span { color: var(--lime); }
.mini .ico { width: 16px; height: 16px; }
.mini b { font-size: 11px; }
.mini-map { border-radius: 18px; background: #0f0f0f; border: 1px solid var(--line); overflow: hidden; }
.mini-map svg { width: 100%; height: 70px; }
.mm-route { fill: none; stroke: var(--lime); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.5s var(--ease) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 1; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.mini-map div { padding: 8px 12px 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mini-map b { font-size: 11.5px; }
.mini-map span { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: var(--lime); font-weight: 700; }
.mini-map span .ico { width: 12px; height: 12px; stroke-width: 2.6; }
.app-cta { margin-top: auto; height: 44px; border-radius: 14px; background: var(--lime); color: #050505; display: flex; align-items: center; justify-content: center; gap: 8px; font: 800 13px var(--fb); }
.app-cta .ico { width: 18px; height: 18px; stroke-width: 2.2; }

.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 20px; font: 700 13.5px var(--fb); white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.float .ico { width: 34px; height: 34px; padding: 7px; border-radius: 11px; background: var(--lime); color: #050505; stroke-width: 2; }
.f1 { left: -4%; top: 16%; }
.f2 { right: -6%; top: 42%; animation-delay: -2s; }
.f3 { left: 2%; bottom: 12%; animation-delay: -4s; }
@keyframes bob { 50% { translate: 0 -12px; } }


/* ---------- Бегущая строка ---------- */
.marquee { position: relative; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: #070707; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 800 clamp(28px, 4.6vw, 62px)/1 var(--fd); letter-spacing: -0.03em; text-transform: uppercase; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: rgba(255, 255, 255, 0.26); }
.mq-ico { width: clamp(22px, 2.6vw, 34px); height: clamp(22px, 2.6vw, 34px); color: var(--lime); stroke-width: 2.4; animation: spin 8s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- О DEXO ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.pillar { padding: 34px 30px 32px; border-radius: 30px; transition: transform 0.5s var(--ease); transform-style: preserve-3d; }
.pillar-n { display: block; font: 800 64px/1 var(--fd); color: transparent; background: linear-gradient(180deg, var(--lime), rgba(184, 253, 25, 0.12)); -webkit-background-clip: text; background-clip: text; margin-bottom: 40px; letter-spacing: -0.04em; }
.pillar h3 { font: 700 24px/1.1 var(--fd); letter-spacing: -0.02em; margin-bottom: 10px; }
.pillar p { color: var(--muted); }

/* ---------- Возможности ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.card { position: relative; overflow: hidden; padding: 30px; border-radius: 30px; min-height: 290px; display: flex; flex-direction: column; transition: transform 0.5s var(--ease); transform-style: preserve-3d; }
.card-food, .card-workout { grid-column: span 3; }
.card-map, .card-qr, .card-3d { grid-column: span 2; }
.card-life { grid-column: span 6; min-height: 230px; }
.card-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--lime); color: #050505; margin-bottom: 28px; box-shadow: 0 10px 30px -8px rgba(184, 253, 25, 0.55); }
.card-ico .ico { width: 26px; height: 26px; stroke-width: 2; }
.card h3 { font: 700 clamp(20px, 1.9vw, 26px)/1.1 var(--fd); letter-spacing: -0.02em; margin-bottom: 10px; max-width: 16ch; }
.card p { color: var(--muted); max-width: 40ch; position: relative; z-index: 1; }
.card-art { position: absolute; pointer-events: none; z-index: 0; }

.card-art-food { right: -40px; top: -40px; width: 230px; height: 230px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1); background: conic-gradient(from 0deg, rgba(184, 253, 25, 0.35) 0 22%, rgba(255, 255, 255, 0.14) 22% 52%, rgba(255, 255, 255, 0.05) 52% 100%); -webkit-mask: radial-gradient(circle, transparent 48%, #000 49%); mask: radial-gradient(circle, transparent 48%, #000 49%); animation: spin 22s linear infinite; }
.card-art-workout { right: 28px; top: 34px; display: flex; gap: 6px; align-items: flex-end; height: 90px; }
.card-art-workout::before, .card-art-workout::after { content: ""; }
.card-workout .card-art { background: repeating-linear-gradient(90deg, rgba(184, 253, 25, 0.85) 0 10px, transparent 10px 18px); width: 150px; height: 90px; -webkit-mask: linear-gradient(#000, #000); animation: eq 1.6s ease-in-out infinite alternate; transform-origin: bottom; clip-path: polygon(0 60%, 12% 20%, 24% 45%, 36% 0, 48% 30%, 60% 10%, 72% 50%, 84% 25%, 100% 40%, 100% 100%, 0 100%); opacity: 0.75; }
@keyframes eq { to { clip-path: polygon(0 20%, 12% 55%, 24% 5%, 36% 40%, 48% 0, 60% 45%, 72% 15%, 84% 55%, 100% 10%, 100% 100%, 0 100%); } }
.card-art-map { right: -10px; top: 20px; width: 200px; height: 120px; background: radial-gradient(circle at 85% 30%, var(--lime) 0 6px, transparent 7px), radial-gradient(circle at 12% 80%, #fff 0 5px, transparent 6px); }
.card-art-map::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'%3E%3Cpath d='M24 96 C 60 96 70 50 110 50 S 150 36 170 36' fill='none' stroke='%23b8fd19' stroke-width='2.5' stroke-dasharray='4 7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; animation: dash 3s linear infinite; }
@keyframes dash { to { transform: translateX(4px); } }
.card-art-qr { right: 26px; top: 28px; width: 84px; height: 84px; border-radius: 12px; background:
  linear-gradient(#050505 0 0) 8px 8px / 20px 20px no-repeat, linear-gradient(#050505 0 0) 56px 8px / 20px 20px no-repeat, linear-gradient(#050505 0 0) 8px 56px / 20px 20px no-repeat,
  repeating-conic-gradient(#050505 0 25%, transparent 0 50%) 0 0 / 14px 14px, #fff; opacity: 0.9; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06); }
.card-art-qr::after { content: ""; position: absolute; left: -6px; right: -6px; height: 2px; top: 0; background: var(--lime); box-shadow: 0 0 14px var(--lime); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 50% { top: calc(100% - 2px); } }
.card-art-3d { right: 40px; top: 40px; width: 70px; height: 70px; transform-style: preserve-3d; animation: cube 9s linear infinite; border: 1.5px solid rgba(184, 253, 25, 0.8); border-radius: 6px; box-shadow: 0 0 30px rgba(184, 253, 25, 0.25), inset 0 0 20px rgba(184, 253, 25, 0.15); }
.card-art-3d::before, .card-art-3d::after { content: ""; position: absolute; inset: -1.5px; border: 1.5px solid rgba(255, 255, 255, 0.35); border-radius: 6px; transform: rotateY(90deg); }
.card-art-3d::after { transform: rotateX(90deg); border-color: rgba(184, 253, 25, 0.5); }
@keyframes cube { from { transform: rotateX(-20deg) rotateY(0); } to { transform: rotateX(-20deg) rotateY(360deg); } }
.card-art-life { right: 0; left: 40%; top: 50%; height: 90px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 90'%3E%3Cpath d='M0 45h150l20-30 26 60 24-80 26 70 18-20h336' fill='none' stroke='%23b8fd19' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center / 100% 100%; -webkit-mask: linear-gradient(90deg, transparent, #000 30%); mask: linear-gradient(90deg, transparent, #000 30%); opacity: 0.8; }
/* Светящийся импульс бежит по самой линии пульса (маска — та же линия), без тёмных полос под прозрачным стеклом */
.card-art-life::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0 42%, #f4ffd0 50%, transparent 58% 100%) 0 0 / 300% 100% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 90'%3E%3Cpath d='M0 45h150l20-30 26 60 24-80 26 70 18-20h336' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 90'%3E%3Cpath d='M0 45h150l20-30 26 60 24-80 26 70 18-20h336' fill='none' stroke='%23000' stroke-width='4' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center / 100% 100%;
  filter: drop-shadow(0 0 6px rgba(184, 253, 25, 0.9));
  animation: pulseRun 2.6s linear infinite;
}
@keyframes pulseRun { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ---------- Залы и маршрут ---------- */
.gyms .h2, .food .h2 { font-size: clamp(28px, 3.8vw, 54px); }
.gyms-in { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.ticks { display: grid; gap: 14px; margin-top: 34px; }
.ticks li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 17px; }
.ticks .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgba(184, 253, 25, 0.14); color: var(--lime); stroke-width: 2.6; }
.map-card { position: relative; border-radius: 34px; overflow: hidden; padding: 0; }
.map-svg { width: 100%; height: auto; }
.route-shadow { fill: none; stroke: rgba(184, 253, 25, 0.22); stroke-width: 16; stroke-linecap: round; filter: blur(6px); opacity: 0; transition: opacity 1s 1.6s; }
.route { fill: none; stroke: var(--lime); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease) 0.4s; }
.in .route { stroke-dashoffset: 0; }
.in .route-shadow { opacity: 1; }
.pin-gym.ghost circle { fill: #fff; opacity: 0.35; }
.me-pulse { fill: rgba(255, 255, 255, 0.35); transform-origin: 92px 360px; animation: ping 2s ease-out infinite; }
@keyframes ping { to { transform: scale(3.2); opacity: 0; } }
.pin-main { opacity: 0; transition: opacity 0.6s 2.4s; }
.in .pin-main { opacity: 1; }
.pin-halo { fill: rgba(184, 253, 25, 0.25); animation: halo 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { to { transform: scale(1.8); opacity: 0; } }
.map-label { position: absolute; padding: 7px 12px; border-radius: 12px; font: 700 12px var(--fb); }
.me-label { left: 15%; top: 81.8%; transform: translate(-50%, -190%); }
.map-info { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 22px; max-width: calc(100% - 36px); opacity: 0; transform: translateY(16px); transition: opacity 0.8s 2.6s, transform 0.8s var(--ease) 2.6s; }
.in .map-info { opacity: 1; transform: none; }
.mi-ico img { width: 40px; height: 40px; border-radius: 12px; }
.map-info b { display: block; font-size: 14.5px; }
.map-info span { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--lime); font-weight: 700; }
.map-info span .ico { width: 14px; height: 14px; stroke-width: 2.6; }
.map-info em { font: 800 20px var(--fd); font-style: normal; margin-left: 10px; }

/* ---------- 3D-тренер: сцена с прокруткой ---------- */
.trainer { position: relative; overflow: hidden; }
.trainer-sticky { position: relative; }
.trainer-sticky::before { content: ""; position: absolute; width: 60vw; height: 60vw; left: 55%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(184, 253, 25, 0.12), transparent 60%); pointer-events: none; }
.trainer-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.trainer .h2 { font-size: clamp(28px, 3.6vw, 52px); max-width: 15ch; }
.t-steps { display: grid; gap: 6px; margin-top: 30px; }
.t-step { position: relative; width: 100%; text-align: left; display: grid; grid-template-columns: 50px 1fr; gap: 14px; padding: 18px 18px 20px; border-radius: 22px; opacity: 0.45; cursor: pointer; transition: opacity 0.35s, background 0.35s, transform 0.25s var(--ease); }
.t-step:hover { opacity: 0.85; background: rgba(255, 255, 255, 0.035); }
.t-step:active { transform: scale(0.985); }
.t-h { display: block; font: 700 19px/1.2 var(--fd); letter-spacing: -0.015em; }
.t-p { display: block; color: var(--muted); font-size: 15px; margin-top: 6px; }
.t-n { font: 800 14px var(--fd); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, 0.25); }
.t-bar { position: absolute; left: 18px; right: 18px; bottom: 6px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.t-bar::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform-origin: left; transform: scaleX(0); }
.t-step.run .t-bar::after { animation: tprog var(--dur, 6s) linear forwards; }
.trainer.paused .t-step.run .t-bar::after { animation-play-state: paused; }
@keyframes tprog { to { transform: scaleX(1); } }
.trainer[data-step="1"] .t-step[data-i="1"], .trainer[data-step="2"] .t-step[data-i="2"], .trainer[data-step="3"] .t-step[data-i="3"] { opacity: 1; background: rgba(255, 255, 255, 0.05); }
.trainer[data-step="1"] .t-step[data-i="1"] .t-n, .trainer[data-step="2"] .t-step[data-i="2"] .t-n, .trainer[data-step="3"] .t-step[data-i="3"] .t-n { background: var(--lime); color: #050505; border-color: var(--lime); }

.trainer-visual { display: grid; place-items: center; }
.device { position: relative; width: min(440px, 100%); aspect-ratio: 4 / 5; border-radius: 40px; overflow: hidden; }
.tv { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(0.96); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); pointer-events: none; }
.trainer[data-step="1"] .tv-qr, .trainer[data-step="2"] .tv-machine, .trainer[data-step="3"] .tv-3d { opacity: 1; transform: none; }

.scan-frame { position: relative; width: 58%; aspect-ratio: 1; padding: 6%; }
.qr-svg { width: 100%; height: 100%; border-radius: 10px; }
.c { position: absolute; width: 22%; height: 22%; border: 3px solid var(--lime); }
.c.tl { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 18px 0 0 0; }
.c.tr { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 18px 0 0; }
.c.bl { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 18px; }
.c.br { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 18px 0; }
.scan-frame .c { animation: breathe 2s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(0.93); } }
.scan-line { position: absolute; left: 6%; right: 6%; top: 6%; height: 3px; border-radius: 3px; background: var(--lime); box-shadow: 0 0 18px 2px rgba(184, 253, 25, 0.8); animation: scan2 2.2s ease-in-out infinite; }
@keyframes scan2 { 50% { top: 93%; } }
.tv-label { position: absolute; bottom: 9%; font: 700 14px var(--fb); color: var(--muted); display: flex; gap: 6px; align-items: center; }
.dots { display: inline-flex; gap: 3px; }
.dots b { width: 4px; height: 4px; border-radius: 50%; background: var(--lime); animation: blink 1.2s infinite; }
.dots b:nth-child(2) { animation-delay: 0.2s; }
.dots b:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 50% { opacity: 0.2; } }

.machine-card { width: 74%; padding: 30px 26px; border-radius: 30px; text-align: center; }
.mc-ico { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center; background: var(--lime); color: #050505; box-shadow: 0 0 50px rgba(184, 253, 25, 0.45); }
.mc-ico .ico { width: 36px; height: 36px; stroke-width: 2; }
.machine-card h4 { font: 800 26px/1.1 var(--fd); letter-spacing: -0.02em; margin-bottom: 14px; }
.mc-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.mc-tags span { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(184, 253, 25, 0.14); color: var(--lime); }
.mc-lines { position: absolute; inset: 0; pointer-events: none; }
.mc-lines i { position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(184, 253, 25, 0.18); transform: translate(-50%, -50%) scale(0.6); animation: wave 3s ease-out infinite; }
.mc-lines i:nth-child(2) { animation-delay: 1s; }
.mc-lines i:nth-child(3) { animation-delay: 2s; }
@keyframes wave { to { transform: translate(-50%, -50%) scale(1.3); opacity: 0; } }

.stage { position: relative; height: 72%; aspect-ratio: 200 / 440; perspective: 900px; margin-top: -22%; }
.spin { height: 100%; transform-style: preserve-3d; animation: turn 7s ease-in-out infinite alternate; }
@keyframes turn { from { transform: rotateY(-26deg); } to { transform: rotateY(26deg); } }
.body-svg { height: 100%; width: auto; margin: 0 auto; overflow: visible; }
.muscles .m { animation: musc 1.8s ease-in-out infinite alternate; }
.muscles .m-glute { animation-delay: 0.4s; }
@keyframes musc { from { opacity: 0.55; } to { opacity: 1; } }
.turntable { position: absolute; left: 50%; bottom: -3%; width: 170%; height: 16%; transform: translateX(-50%); border-radius: 50%; border: 1.5px solid rgba(184, 253, 25, 0.45); box-shadow: 0 0 40px rgba(184, 253, 25, 0.25), inset 0 0 30px rgba(184, 253, 25, 0.15); }
.callout {
  position: absolute; padding: 7px 12px 7px 24px; border-radius: 12px; font: 700 12.5px var(--fb); color: var(--lime);
  background: radial-gradient(circle at 12px 50%, var(--lime) 0 3.5px, transparent 4.5px), linear-gradient(150deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035) 46%, rgba(255, 255, 255, 0.075));
}
.c1 { left: 6%; top: 46%; }
.c2 { right: 6%; top: 34%; }
.tip { position: absolute; left: 6%; right: 6%; bottom: 5%; padding: 14px 16px 16px; border-radius: 20px; display: grid; gap: 3px; overflow: hidden; }
.tip small { font-size: 11px; font-weight: 700; color: var(--lime); letter-spacing: 0.06em; text-transform: uppercase; }
.tip span { font-weight: 700; font-size: 14.5px; }
.tip-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--lime); transform-origin: left; animation: tipbar 4s linear infinite; }
@keyframes tipbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Питание: светлая секция ---------- */
.light { background: #f2f2ee; color: #0a0a0a; --muted: rgba(10, 10, 10, 0.62); --line: rgba(0, 0, 0, 0.08); }
.light .lg {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.28));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    inset 2px 2px 1.5px -1px #fff,
    inset -2px -2px 1.5px -1px rgba(255, 255, 255, 0.8),
    0 24px 60px -24px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}
.light .lg::before {
  background: conic-gradient(from var(--ang) at 50% 50%, #fff 0deg, rgba(255, 255, 255, 0.4) 60deg, rgba(0, 0, 0, 0.06) 140deg, rgba(255, 255, 255, 0.7) 180deg, rgba(0, 0, 0, 0.05) 260deg, #fff 360deg);
}
.light .lg::after { background: radial-gradient(260px circle at var(--mx, 25%) var(--my, -10%), rgba(184, 253, 25, 0.22), transparent 62%); }
.light .eyebrow { color: #0a0a0a; }
.food-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px 56px; align-items: center; }
.food-visual { position: relative; display: grid; place-items: center; }
.plate-scan { position: relative; width: min(380px, 80vw); aspect-ratio: 1; padding: 9%; }
.plate { width: 100%; height: 100%; border-radius: 50%; position: relative; background: radial-gradient(circle, #fff 0 54%, #e9e9e4 55% 62%, #fff 63%); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(0, 0, 0, 0.05); }
.pl { position: absolute; border-radius: 50%; filter: saturate(1.1); }
.pl.a { width: 42%; height: 40%; left: 18%; top: 22%; background: radial-gradient(circle at 35% 35%, #d8ff7a, #8fd400 70%); }
.pl.b { width: 38%; height: 36%; right: 16%; top: 30%; background: radial-gradient(circle at 40% 30%, #3a3a3a, #0d0d0d 72%); }
.pl.c { width: 34%; height: 30%; left: 34%; bottom: 16%; background: radial-gradient(circle at 40% 35%, #fff, #d9d9d2 70%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.plate-scan .c { border-color: #0a0a0a; animation: breathe 2.4s ease-in-out infinite; }
.plate-scan .scan-line { background: #0a0a0a; box-shadow: 0 0 16px rgba(0, 0, 0, 0.35); }
.kcal-pill { position: absolute; right: 2%; bottom: 10%; padding: 14px 18px; border-radius: 22px; display: flex; align-items: baseline; gap: 6px; animation: bob 5s ease-in-out infinite; }
.kcal-pill b { font: 800 30px/1 var(--fd); letter-spacing: -0.03em; }
.kcal-pill span { font-weight: 700; color: var(--muted); }
.food-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.fcard { padding: 26px; border-radius: 26px; transition: transform 0.5s var(--ease); }
.fcard-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #0a0a0a; color: var(--lime); margin-bottom: 20px; }
.fcard h3 { font: 700 19px/1.2 var(--fd); letter-spacing: -0.015em; margin-bottom: 6px; }
.fcard p { color: var(--muted); font-size: 15px; }

/* ---------- Как это работает ---------- */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.how-card { padding: 30px 26px; border-radius: 28px; min-height: 250px; display: flex; flex-direction: column; transition: transform 0.5s var(--ease); }
.how-n { font: 900 86px/0.9 var(--fd); color: transparent; background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.06)); -webkit-background-clip: text; background-clip: text; margin-bottom: auto; transition: opacity 0.4s; }
.how-card:hover .how-n { background-image: linear-gradient(180deg, var(--lime), rgba(184, 253, 25, 0.1)); }
.how-card h3 { font: 700 20px/1.15 var(--fd); margin: 26px 0 8px; letter-spacing: -0.015em; }
.how-card p { color: var(--muted); }

/* ---------- Основатели ---------- */
.f-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.founder { padding: 40px 28px 34px; border-radius: 32px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform 0.5s var(--ease); }
.mono { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 26px; }
.mono span { font: 800 42px/1 var(--fd); letter-spacing: -0.04em; background: linear-gradient(160deg, #fff, rgba(255, 255, 255, 0.5)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.founder.is-main .mono { box-shadow: 0 0 0 2px var(--lime), 0 0 60px -6px rgba(184, 253, 25, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.founder.is-main .mono span { background: linear-gradient(160deg, #eaff9e, var(--lime)); -webkit-background-clip: text; background-clip: text; }
.f-role { font: 700 12px/1 var(--fb); letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); margin-bottom: 12px; }
.founder h3, .founder .f-name { font: 700 clamp(20px, 2vw, 26px)/1.15 var(--fd); letter-spacing: -0.02em; }
.f-org { margin-top: 10px; color: var(--faint); font-size: 14px; font-weight: 600; }
.f-bio { margin-top: 14px; color: var(--muted); font-size: 15px; }
.more-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; font-weight: 700; color: var(--lime); }
.more-link .ico { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.more-link:hover .ico { transform: translateX(5px); }

/* ---------- Вопросы ---------- */
.faq-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq-in > div:first-child { position: sticky; top: 120px; }
.faq-list { display: grid; gap: 10px; }
.qa { border-radius: 24px; }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; cursor: pointer; font: 700 clamp(16px, 1.4vw, 19px)/1.3 var(--fb); }
.qa summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, 0.08); transition: transform 0.4s var(--ease), background 0.3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; }
.plus::after { transform: rotate(90deg); transition: transform 0.4s var(--ease); }
.qa[open] .plus { background: var(--lime); color: #050505; transform: rotate(180deg); }
.qa[open] .plus::after { transform: rotate(0); }
.qa-a { padding: 0 24px 22px; color: var(--muted); }
.qa[open] .qa-a { animation: qaIn 0.5s var(--ease); }
@keyframes qaIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Скачать ---------- */
.dl { position: relative; overflow: hidden; text-align: center; padding: clamp(56px, 8vw, 96px) var(--gutter); border-radius: 44px; display: flex; flex-direction: column; align-items: center; }
.dl-glow { position: absolute; left: 50%; top: 100%; width: 90%; aspect-ratio: 1; transform: translate(-50%, -40%); background: radial-gradient(circle, rgba(184, 253, 25, 0.3), transparent 60%); z-index: -1; animation: glow 6s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-50%, -48%) scale(1.1); } }
.dl-logo { width: min(320px, 70%); margin-bottom: 18px; }
.dl .h2 { margin-inline: auto; text-align: center; }
.dl .lead { margin: 0 auto 34px; }

/* ---------- Подвал ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.footer-logo { width: 150px; }
.footer-tag { color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; }
.footer-link { color: var(--muted); font-weight: 600; font-size: 14px; transition: color 0.25s; }
.footer-link:hover { color: var(--lime); }
.footer-small { color: var(--faint); font-size: 13px; max-width: 70ch; }

/* ---------- Страница основателей и 404 ---------- */
.fp { padding-top: 120px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.back .ico { transform: rotate(180deg); width: 18px; height: 18px; }
.back:hover { color: var(--lime); }
.nf { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; text-align: center; padding: 24px; }
.nf h1 { font: 900 clamp(96px, 22vw, 220px)/0.9 var(--fd); color: transparent; -webkit-text-stroke: 1.5px var(--lime); }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  .nav-right { margin-left: auto; }
  .float { font-size: 12.5px; }
}
@media (max-width: 960px) {
  .hero { padding-top: 120px; }
  .hero-in, .gyms-in, .food-in, .faq-in { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; padding: 30px 0 10px; }
  .f1 { left: 0; } .f2 { right: 0; } .f3 { left: 4%; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-food, .card-workout, .card-map, .card-qr, .card-3d { grid-column: span 1; }
  .card-life { grid-column: span 2; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-in > div:first-child { position: static; }
  .food-visual { order: -1; }
  .trainer-sticky { padding: 0; }
  .trainer-in { grid-template-columns: 1fr; gap: 18px; }
  .trainer .h2 { margin: 14px 0 6px; font-size: clamp(24px, 6.4vw, 36px); }
  .t-steps { margin-top: 10px; gap: 0; }
  .t-step { padding: 10px 12px 14px; grid-template-columns: 38px 1fr; }
  .t-step .t-n { width: 32px; height: 32px; font-size: 12px; }
  .t-h { font-size: 15px; }
  .t-p { display: none; }
  .trainer[data-step="1"] .t-step[data-i="1"] .t-p, .trainer[data-step="2"] .t-step[data-i="2"] .t-p, .trainer[data-step="3"] .t-step[data-i="3"] .t-p { display: block; font-size: 13.5px; margin-top: 4px; }
  /* На телефоне картинка между заголовком и пунктами: нажал — сразу видно результат */
  .trainer-copy { display: contents; }
  .trainer .eyebrow { justify-self: start; }
  .trainer-in { gap: 12px; }
  .trainer-visual { order: 2; }
  .t-steps { order: 3; }
  .device { width: min(360px, 88vw); aspect-ratio: 1 / 1; height: auto; }
  .stage { height: 70%; margin-top: -20%; }
}
@media (max-width: 640px) {
  .nav { height: 58px; padding: 0 8px 0 18px; gap: 8px; }
  .nav-logo img { width: 88px; }
  .nav-cta { display: none; }
  .lang-switch a { min-width: 32px; height: 30px; font-size: 11px; }
  .hero-title { font-size: clamp(34px, 11.2vw, 52px); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .stores { justify-content: stretch; }
  .store { flex: 1; justify-content: center; }
  .btn-glass { width: 100%; }
  .float { padding: 9px 12px 9px 9px; border-radius: 16px; font-size: 11.5px; gap: 8px; }
  .store { height: 54px; padding: 0 14px 0 12px; gap: 10px; }
  .store b { font-size: 15.5px; white-space: nowrap; }
  .store .store-ico { width: 22px; height: 22px; }
  .callout { display: none; }
  .trainer .h2 { font-size: clamp(22px, 6vw, 30px); }
  .float .ico { width: 28px; height: 28px; padding: 6px; }
  .pillars, .bento, .how-grid, .f-grid, .food-grid { grid-template-columns: 1fr; }
  .card-life { grid-column: span 1; }
  .card { min-height: 0; padding: 26px; }
  .card-ico { margin-bottom: 70px; }
  .card-art-food { width: 170px; height: 170px; right: -36px; top: -36px; }
  .card-art-map, .card-art-workout { transform: scale(0.8); transform-origin: top right; }
  .card-art-life { left: 0; top: 18px; transform: none; height: 60px; opacity: 0.5; }
  .card-life .card-ico { margin-bottom: 70px; }
  .pillar-n { margin-bottom: 22px; font-size: 52px; }
  .map-info { left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; }
  .map-info em { font-size: 16px; }
  .me-label { display: none; }
  .how-card { min-height: 0; }
  .how-n { font-size: 64px; }
  .dl { border-radius: 32px; }
  .stores.center { flex-direction: column; width: 100%; }
}

/* Меньше движения — для тех, кому так комфортнее */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .js [data-reveal], .js .split .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html { scroll-behavior: auto; }
}
