/* Layout: black trading floor; lime = open/free, gold = closed/VIP — the two logo colors carry meaning */
:root {
  --bg: #000;
  --surface: #0b0d08;
  --line: #1e2318;
  --fg: #f2f4ec;
  --muted: #9aa190;
  --lime: #b3fc12;
  --lime-dim: rgba(179, 252, 18, .12);
  --gold: #d9a52b;
  --gold-hi: #f3cf63;
  --gold-dim: rgba(217, 165, 43, .12);
  --down: #ff5a4e;

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5.25rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: 72.5rem;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 820px; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

h1, h2, h3 { font-family: var(--f-display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.5em;
  border-radius: 999px;
  font: 700 .95rem/1 var(--f-body);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .65em 1.15em; font-size: .85rem; }
.btn-green { background: var(--lime); color: #0a0d00; }
.btn-green:hover { box-shadow: 0 8px 28px rgba(179, 252, 18, .25); }
.btn-gold { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, #a87a14); color: #1a1200; }
.btn-gold:hover { box-shadow: 0 8px 28px rgba(217, 165, 43, .3); }
.btn-gold-outline { border-color: var(--gold); color: var(--gold-hi); }
.btn-gold-outline:hover { background: var(--gold-dim); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg);
}
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 3.5rem; height: auto; }
.brand b { display: block; font-family: var(--f-display); font-size: 1rem; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: .75rem; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .92rem; }
.nav a:hover { color: var(--fg); }
@media (max-width: 1040px) { .nav { display: none; } }

.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--fg); cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px;
  padding: .5em .8em; font: 600 .8rem/1 var(--f-mono); letter-spacing: .06em;
}
.lang-btn:hover { border-color: var(--muted); }
.lang-btn svg { width: 16px; height: 16px; color: var(--muted); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40;
  list-style: none; margin: 0; padding: 6px; min-width: 170px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .6);
}
.lang-menu button {
  width: 100%; text-align: left; background: none; border: 0; color: var(--fg);
  padding: 10px 12px; border-radius: 8px; font: 500 .92rem/1.2 var(--f-body); cursor: pointer;
}
.lang-menu button:hover { background: var(--lime-dim); }
.lang-menu button[aria-current="true"] { color: var(--lime); font-weight: 700; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-chart { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 25%, rgba(0,0,0,.55) 65%, rgba(0,0,0,.2));
}
.hero-in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px; align-items: center;
  padding-block: clamp(56px, 9vw, 120px);
}
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.sessions {
  background: rgba(11, 13, 8, .85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  backdrop-filter: blur(6px);
}
.sessions-head {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.sessions ul { list-style: none; margin: 0; padding: 0; }
.sessions li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
  padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .95rem;
}
.sessions li:last-child { border-bottom: 0; padding-bottom: 0; }
.sessions .hours { color: var(--muted); font-size: .8rem; }
.pill {
  font: 600 .7rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
  padding: .45em .7em; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
}
.pill.on { background: var(--lime-dim); border-color: transparent; color: var(--lime); }
.pill.on::before { content: "● "; }

/* ---------- blocks ---------- */
.block { padding-block: clamp(64px, 9vw, 112px); }
.block + .block { border-top: 1px solid var(--line); }
.block-head { display: grid; gap: 14px; margin-bottom: 40px; }

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(14.375rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.point { background: var(--bg); padding: 26px 24px; display: grid; gap: 10px; align-content: start; }
.point p { color: var(--muted); font-size: .95rem; }
.point .tick { font-family: var(--f-mono); color: var(--lime); font-size: .8rem; }

/* ---------- author ---------- */
.author { display: grid; grid-template-columns: minmax(0, 21.25rem) minmax(0, 1fr); gap: 56px; align-items: start; }
.author-photo {
  aspect-ratio: 4 / 5; max-width: 100%; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center;
}
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-photo span { font-family: var(--f-display); font-size: 6rem; color: var(--lime); }
.author-copy { display: grid; gap: 16px; min-width: 0; }
.author-role { color: var(--muted); }
.author-story { display: grid; gap: 12px; max-width: 62ch; }
.author-facts { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px; }
.author-facts li { display: grid; gap: 2px; }
.author-facts b { font-family: var(--f-display); font-size: 1.5rem; color: var(--lime); }
.author-facts span { color: var(--muted); font-size: .85rem; }
@media (max-width: 760px) { .author { grid-template-columns: 1fr; gap: 28px; } .author-photo { max-width: 320px; } }

/* ---------- stats ---------- */
.stats-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: 22px; display: grid; gap: 4px; }
.stat b { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--lime); }
.stat.neg b { color: var(--down); }
.stat span { color: var(--muted); font-size: .85rem; }
@media (max-width: 600px) { .stats-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stats-table { overflow-x: auto; margin-top: 24px; }
.stats-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.stats-table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.stats-table td { padding: 12px; border-bottom: 1px dashed var(--line); white-space: nowrap; }
.stats-empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 8px; max-width: 720px; }
.stats-empty b { font-family: var(--f-display); font-size: 1.1rem; }
.stats-empty p { color: var(--muted); }
.stats-meta { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.stats-meta a { color: var(--lime); }

/* ---------- money ---------- */
.money { display: grid; border-top: 1px solid var(--line); }
.money-row { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.money-row p { color: var(--muted); }
@media (max-width: 600px) { .money-row { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- principles ---------- */
.nots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); gap: 0 40px; }
.not { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.not > div { min-width: 0; display: grid; gap: 6px; align-content: start; }
.not p { color: var(--muted); font-size: .95rem; }
.not-mark {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--down); font-size: .85rem;
}

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr)); gap: 20px; }
.plan {
  position: relative;
  border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 28px; display: grid; gap: 20px; align-content: start;
  background: var(--surface);
  min-width: 0;
}
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-head img { width: 4rem; }
.badge {
  font: 700 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  padding: .55em .85em; border-radius: 999px;
}
.plan h3 { font-size: 1.4rem; }
.plan > p { color: var(--muted); }
.plan .price { font-family: var(--f-display); font-size: 1.6rem; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.plan li::before { content: "→"; font-family: var(--f-mono); }
.plan .btn { justify-self: start; margin-top: 4px; }

.plan-open .badge { background: var(--lime-dim); color: var(--lime); }
.plan-open li::before { color: var(--lime); }

.plan-vip {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(217, 165, 43, .16), transparent 60%),
    var(--surface);
}
.plan-vip .badge { background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: #1a1200; }
.plan-vip h3, .plan-vip .price { color: var(--gold-hi); }
.plan-vip li::before { color: var(--gold); }

/* ---------- socials ---------- */
.socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(13.75rem, 1fr)); gap: 14px; }
.social {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center;
  padding: 18px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; background: var(--surface);
  transition: border-color .15s ease, transform .15s ease;
}
.social:hover { border-color: var(--lime); transform: translateY(-2px); }
.social[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.social .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--lime-dim); color: var(--lime);
}
.social .ico svg { width: 24px; height: 24px; }
.social b { display: block; }
.social small { display: block; color: var(--muted); font-size: .85rem; }
.social .arrow { color: var(--muted); font-family: var(--f-mono); }

/* ---------- mini app ---------- */
.app {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center;
  border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 5vw, 56px);
  background: radial-gradient(90% 90% at 0% 100%, rgba(179, 252, 18, .08), transparent 60%), var(--surface);
}
.app-copy { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li::before { content: "✓  "; color: var(--lime); font-weight: 700; }

.phone {
  justify-self: center; width: 15rem; max-width: 100%; aspect-ratio: 9 / 18;
  border: 2px solid var(--line); border-radius: 34px; padding: 10px; background: #050604;
}
.phone-screen { height: 100%; border-radius: 26px; background: var(--bg); padding: 16px 12px; display: grid; gap: 10px; align-content: start; overflow: hidden; }
.phone-bar { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: .78rem; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.phone-bar img { width: 34px; }
.phone-card { border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; gap: 7px; }
.phone-card span { font-size: .68rem; }
.phone-card i { display: block; height: 6px; border-radius: 3px; background: var(--line); }
.phone-card i.short { width: 60%; }
.up { color: var(--lime); }
.down { color: var(--down); }

/* ---------- faq ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 20px 0; font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--lime); font-size: 1.3rem; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; max-width: 65ch; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); }
.foot-in { display: grid; gap: 28px; padding-block: 48px 32px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.foot-top .brand { margin-right: auto; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; }
.foot-nav a:hover { color: var(--fg); }
.foot-socials { display: flex; gap: 10px; }
.foot-social {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--muted); transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.foot-social svg { width: 18px; height: 18px; }
.foot-social:hover { color: #0a0d00; background: var(--lime); border-color: var(--lime); }
.foot-contacts { display: flex; flex-wrap: wrap; gap: 8px 32px; color: var(--muted); font-size: .92rem; }
.foot-contacts a { color: var(--lime); text-decoration: none; }
.foot-contacts a:hover { text-decoration: underline; }
.foot-legal { display: grid; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-age { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; }
.foot-age b {
  font: 700 .78rem/1 var(--f-mono); color: var(--fg); padding: .45em .6em;
  border: 1px solid var(--muted); border-radius: 6px;
}
.foot-indep { color: var(--muted); font-size: .85rem; max-width: 80ch; }
.foot-copy { color: var(--muted); font-size: .8rem; }
.disclaimer { color: var(--muted); font-size: .75rem; line-height: 1.55; max-width: 80ch; opacity: .7; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero-in, .app { grid-template-columns: 1fr; }
  .phone { width: 200px; }
}
@media (max-width: 420px) {
  .plans { grid-template-columns: 1fr; }
  .top .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .social { transition: none; }
}

@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ============================================================
   АНИМАЦИИ
   ============================================================ */

/* шапка: темнее при прокрутке + полоса прогресса */
.top { transition: background .3s ease, border-color .3s ease; }
.top.scrolled { background: rgba(0, 0, 0, .92); }
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--lime), var(--gold));
  transform-origin: 0 50%; transform: scaleX(0);
}
.nav a { position: relative; transition: color .2s ease; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--lime); transform: scaleX(0); transition: transform .25s ease;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--fg); }

/* появление при прокрутке */
html.anim .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
html.anim .reveal.in { opacity: 1; transform: none; }

/* первый экран: заголовок и кнопки появляются по очереди */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
html.anim .hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
html.anim .hero-copy > :nth-child(1) { animation-delay: .05s; }
html.anim .hero-copy > :nth-child(2) { animation-delay: .15s; }
html.anim .hero-copy > :nth-child(3) { animation-delay: .3s; }
html.anim .hero-copy > :nth-child(4) { animation-delay: .45s; }
html.anim .sessions { animation: rise .9s .55s cubic-bezier(.2, .7, .2, 1) both; }
html.anim .hero-chart { animation: fade 1.6s .2s ease both; }

/* смена языка */
@keyframes swap { from { opacity: .25; transform: translateY(6px); } to { opacity: 1; transform: none; } }
main.lang-swap { animation: swap .45s ease; }

/* карточки: отклик на наведение */
.point { transition: background .25s ease; }
.point:hover { background: var(--surface); }
.not-mark { transition: transform .3s ease, border-color .3s ease; }
.not:hover .not-mark { transform: rotate(90deg); border-color: var(--down); }
.plan { transition: transform .7s cubic-bezier(.2, .7, .2, 1), border-color .8s ease, box-shadow .8s ease; }
.plan:hover { transform: translateY(-4px); }
/* рамка карточки появляется только при наведении: зелёная у открытого канала, золотая у VIP */
.plan-open:hover, .plan-open:focus-within { border-color: rgba(179, 252, 18, .5); box-shadow: 0 18px 50px -20px rgba(179, 252, 18, .25); }
.plan-vip:hover, .plan-vip:focus-within { border-color: rgba(217, 165, 43, .6); box-shadow: 0 18px 50px -20px rgba(217, 165, 43, .3); }
.social .ico { transition: background .25s ease, color .25s ease; }
.social:hover .ico { background: var(--lime); color: #0a0d00; }
.social .arrow { transition: transform .25s ease, color .25s ease; }
.social:hover .arrow { transform: translate(3px, -3px); color: var(--lime); }
.faq summary { transition: color .2s ease; }
.faq summary:hover { color: var(--lime); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq details[open] p { animation: faqIn .35s ease; }

@media (prefers-reduced-motion: no-preference) {
  /* живая точка у открытой сессии */
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
  .pill.on::before { display: inline-block; margin-right: .35em; content: "●"; animation: pulse 1.6s ease-in-out infinite; }

  /* бегущий блик по рамке — только при наведении */
  @keyframes orbit { to { --a: 360deg; } }
  .plan::before {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
    background: conic-gradient(from var(--a), transparent 0 62%, var(--glint) 78%, transparent 92%);
    opacity: 0; transition: opacity .9s ease;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: orbit 5s linear infinite;
  }
  .plan-open { --glint: var(--lime); }
  .plan-vip { --glint: var(--gold-hi); }
  .plan:hover::before, .plan:focus-within::before { opacity: 1; }

  /* блеск на золотой кнопке */
  .btn-gold { position: relative; overflow: hidden; }
  .btn-gold::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
    animation: shine 4.5s ease-in-out infinite;
  }
  @keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

  /* телефон мини-приложения парит, сигналы появляются по очереди */
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  .phone { animation: float 6s ease-in-out infinite; }
  @keyframes feed {
    0%, 8% { opacity: 0; transform: translateY(10px); }
    16%, 86% { opacity: 1; transform: none; }
    100% { opacity: 0; }
  }
  .phone-card { animation: feed 7s ease-in-out infinite both; }
  .phone-card:nth-child(3) { animation-delay: .6s; }
  .phone-card:nth-child(4) { animation-delay: 1.2s; }
}

/* ============================================================
   ПЕРВЫЙ ЭКРАН: слайдер, 3D-логотип, сессии полосой
   ============================================================ */
.hero-in { padding-block: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 48px); }
.stack { display: grid; }
.stack > span { grid-area: 1 / 1; }
.stack > .ghost { visibility: hidden; }
#hero-sub .live, #hero-eyebrow .live { transition: opacity .26s ease, filter .26s ease, transform .26s ease; }
#hero-sub .live.out, #hero-eyebrow .live.out { opacity: 0; filter: blur(8px); transform: translateY(6px); }
#hero-title .live { min-height: 1em; }

.hero-dots { display: flex; gap: 8px; margin-top: 10px; }
.hero-dot {
  width: 44px; height: 18px; padding: 8px 0; border: 0; background: none; cursor: pointer;
}
.hero-dot { position: relative; }
.hero-dot::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; border-radius: 2px; background: var(--line); }
.hero-dot i {
  position: relative; display: block; height: 2px; border-radius: 2px; background: var(--lime);
  transform-origin: 0 50%; transform: scaleX(0);
}
.hero-dot:hover::before { background: var(--muted); }

.hero-visual {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 1; max-width: 100%; perspective: 900px;
}
.orb {
  position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(179, 252, 18, .22), rgba(179, 252, 18, 0) 62%);
  filter: blur(10px); transition: background .8s ease;
}
.logo3d {
  position: relative; width: 78%; aspect-ratio: 902 / 620;
  transform-style: preserve-3d; will-change: transform;
  transition: filter .7s ease;
}
.logo3d img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  transition: opacity .7s ease;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7));
}
.logo3d .l-gold { opacity: 0; }
.logo3d.is-gold .l-gold { opacity: 1; }
.logo3d.is-gold .l-green { opacity: 0; }
.logo3d::after {                       /* бегущий блик по металлу */
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay;
  background: linear-gradient(105deg, transparent calc(var(--shine, 50%) - 18%), rgba(255,255,255,.55) var(--shine, 50%), transparent calc(var(--shine, 50%) + 18%));
  -webkit-mask: url("assets/logo-green.webp") center / contain no-repeat;
  mask: url("assets/logo-green.webp") center / contain no-repeat;
  opacity: .6;
}
.logo3d.morph { filter: blur(6px) brightness(1.4); }
.hero-visual:has(.is-gold) .orb { background: radial-gradient(circle at 50% 45%, rgba(217, 165, 43, .26), rgba(217, 165, 43, 0) 62%); }
.floor {
  position: absolute; bottom: 10%; left: 20%; right: 20%; height: 18px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(179, 252, 18, .25), transparent 70%); filter: blur(6px);
}

.hero .sessions { position: relative; z-index: 1; margin-bottom: clamp(32px, 5vw, 56px); }
.hero .sessions ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
.hero .sessions li { border-bottom: 0; padding-bottom: 0; }
@media (max-width: 880px) {
  .hero-visual { order: -1; width: min(320px, 80%); justify-self: center; margin-bottom: -24px; }
  .hero .sessions ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .hero .sessions ul { grid-template-columns: 1fr; }
  .hero .sessions li { border-bottom: 1px dashed var(--line); padding-bottom: 11px; }
  .hero .sessions li:last-child { border-bottom: 0; }
}

/* ============================================================
   ПУТЬ КАЖДОЙ СДЕЛКИ (залипающий блок)
   ============================================================ */
.story { border-top: 1px solid var(--line); padding-top: clamp(64px, 9vw, 112px); }
.story-head { margin-bottom: 0; }
.story-track { position: relative; height: calc(var(--n, 5) * 80vh + 100vh); }
.story-pin {
  position: sticky; top: 4rem; height: calc(100vh - 4rem); height: calc(100svh - 4rem);
  display: grid; align-items: center; overflow: hidden;
}
.story-grid {
  width: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, .8fr); gap: 48px; align-items: center;
}
.story-left { display: grid; gap: 18px; align-content: center; min-width: 0; transition: opacity .22s ease, filter .22s ease, transform .22s ease; }
.story-left.swap { opacity: 0; filter: blur(10px); transform: translateY(8px); }
.story-num {
  font-family: var(--f-display); font-weight: 800; line-height: .9;
  font-size: clamp(5rem, 12vw, 10rem); color: var(--lime);
  text-shadow: 0 0 60px rgba(179, 252, 18, .25);
}
.story-copy { display: grid; gap: 10px; max-width: 44ch; }
.story-copy h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.story-copy p { color: var(--muted); }

.phone.big { width: 16.875rem; animation: none; }
.story-phone { position: relative; text-align: left; }
.scr .phone-bar b { white-space: nowrap; font-size: .72rem; }
.story-phone::before {
  content: ""; position: absolute; inset: -20%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(179, 252, 18, .12), transparent 65%);
}
.story .phone-screen { position: relative; padding: 0; }
.scr {
  position: absolute; inset: 0; padding: 16px 12px; display: grid; gap: 12px; align-content: start;
  opacity: 0; transform: scale(.94); filter: blur(12px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1), filter .5s ease;
}
.scr.on { opacity: 1; transform: none; filter: none; }
.scr .phone-bar em {
  margin-left: auto; font: 600 .6rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .4em .6em; font-style: normal;
}
.scr-label { font-family: var(--f-display); font-size: 1rem; }
.scr-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .75rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.check { font-style: normal; color: var(--lime); font-weight: 700; }
.scr-chart { border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 6px; }
.scr-chart span { font-size: .7rem; color: var(--muted); }
.scr-chart svg { width: 100%; height: 120px; }
.scr-chart .up { fill: var(--lime); stroke: var(--lime); }
.scr-chart .dn { fill: var(--gold); stroke: var(--gold); }
.scr-signal { border: 1px solid rgba(179, 252, 18, .35); border-radius: 14px; padding: 16px 14px; display: grid; gap: 10px; background: var(--lime-dim); }
.scr-signal > span { font-size: 1.3rem; font-weight: 600; }
.scr-signal b { font-family: var(--f-display); font-size: 1.4rem; }
.scr-row { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; }
.up { color: var(--lime); }
.dn { color: var(--down); }
.scr-risk { display: grid; gap: 14px; }
.scr-risk > div { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.scr-risk span { color: var(--muted); font-size: .78rem; }
.scr-risk b { font-size: 1rem; }
.scr-risk i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.scr-risk i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--lime); border-radius: 3px; }
.scr-results { display: grid; gap: 8px; }
.scr-results > div { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: .8rem; }
.scr-results b { font-family: var(--f-display); font-size: 1.1rem; }
.scr-bars { height: 150px; display: flex; align-items: flex-end; gap: 6px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.scr-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: var(--lime); transform-origin: bottom; }
.scr-bars i.dn { background: var(--down); }
.scr.on .scr-bars i { animation: grow .7s cubic-bezier(.2, .7, .2, 1) both; }
.scr.on .scr-bars i:nth-child(2n) { animation-delay: .08s; }
.scr.on .scr-bars i:nth-child(3n) { animation-delay: .16s; }
.scr.on .scr-risk i::after { animation: fill .9s .1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes fill { from { width: 0; } }

.story-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-width: 0; }
.story-steps li {
  display: grid; grid-template-columns: 2.2rem 1fr; gap: 10px; align-items: center; cursor: pointer;
  padding: 12px 14px; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.story-steps li span { font-size: .78rem; }
.story-steps li.done { color: var(--fg); opacity: .6; }
.story-steps li.on { color: var(--fg); background: var(--surface); border-color: var(--line); }
.story-steps li.on span { color: var(--lime); }
.story-steps li:hover { color: var(--fg); }

@media (max-width: 1040px) {
  .story-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .story-steps { display: none; }
}
@media (max-width: 700px) {
  .story-track { height: calc(var(--n, 5) * 70vh + 100vh); }
  .story-grid { grid-template-columns: 1fr; gap: 18px; justify-items: center; text-align: center; }
  .story-left { justify-items: center; gap: 8px; }
  .story-num { font-size: 4.2rem; }
  .story-copy p { font-size: .92rem; }
  .phone.big { width: min(220px, 58vw); }
}
@media (max-height: 700px) and (max-width: 700px) {
  .phone.big { width: 170px; }
  .story-copy p { display: none; }
}

/* ============================================================
   Капсульное меню и проявление заголовков из размытия
   ============================================================ */
.nav {
  padding: 8px 20px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(11, 13, 8, .7);
}
html.anim .block-head.reveal { filter: blur(12px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1), filter .9s ease; }
html.anim .block-head.reveal.in { filter: none; }

@media (prefers-reduced-motion: reduce) {
  .scr, .story-left, #hero-sub .live, #hero-eyebrow .live, .logo3d, .logo3d img { transition: none !important; }
  .scr.on .scr-bars i, .scr.on .scr-risk i::after { animation: none; }
}

@media (max-width: 880px) {
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.75) 45%, rgba(0,0,0,.85)); }
}
@media (max-width: 700px) {
  .scr .phone-bar b { display: none; }
}

/* шапка: логотип слева, меню по центру, язык и кнопка справа */
.top-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.brand { margin-right: 0; justify-self: start; }
.nav { justify-self: center; }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
@media (max-width: 1040px) { .top-in { grid-template-columns: minmax(0, 1fr) auto; } }

/* печатная машинка: мигающий курсор после заголовка */
#hero-title .live::after {
  content: ""; display: inline-block; width: .07em; height: .82em; margin-left: .06em;
  background: var(--lime); vertical-align: -.04em; animation: caret 1s steps(1) infinite;
}
#hero-title .live.typing::after { animation: none; }
@keyframes caret { 50% { opacity: 0; } }
.hero-visual { will-change: transform; }
@media (prefers-reduced-motion: reduce) { #hero-title .live::after { display: none; } }

/* ============================================================
   VIP: статус запуска, разборы, партнёр, компактные планы
   ============================================================ */
.plan-status {
  font-size: .88rem; color: var(--gold-hi); line-height: 1.5;
  padding: 10px 12px; border-radius: 10px; background: var(--gold-dim);
}

.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr)); gap: 20px; }
.case {
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
  padding: 20px; display: grid; gap: 12px; align-content: start; min-width: 0;
}
.case-img { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.case-img img { width: 100%; display: block; }
.case-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
.case-tag { font: 600 .7rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; padding: .45em .7em; border-radius: 999px; border: 1px solid var(--line); }
.case-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.case-line b { font-family: var(--f-display); font-size: 1.1rem; }
.case-res { font: 600 .75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; padding: .5em .8em; border-radius: 999px; }
.case.is-win .case-res { background: var(--lime-dim); color: var(--lime); }
.case.is-loss .case-res { background: rgba(255, 90, 78, .12); color: var(--down); }
.case p { color: var(--muted); }
.case-link { color: var(--lime); font-weight: 600; text-decoration: none; }
.case-link:hover { text-decoration: underline; }

.partner {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center;
  border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 48px); background: var(--surface);
}
.partner-copy { display: grid; gap: 16px; min-width: 0; }
.partner-note { color: var(--muted); font-size: .82rem; }
.partner-visual img { width: 100%; border-radius: 16px; }
.btn-ghost { border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--muted); }
@media (max-width: 760px) { .partner { grid-template-columns: 1fr; } }

.plans-box {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center;
  border: 1px dashed var(--line); border-radius: 20px; padding: clamp(22px, 3.5vw, 36px);
}
.plans-copy { display: grid; gap: 10px; min-width: 0; }
.plans-copy h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.plans-copy .lead { font-size: .98rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; }
.chips li { font-size: .85rem; padding: .5em .9em; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
@media (max-width: 700px) { .plans-box { grid-template-columns: 1fr; } }
#app.block { padding-block: clamp(40px, 6vw, 72px); }

/* заголовки групп в FAQ */
.faq-group {
  font: 600 .78rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--lime);
  padding: 36px 0 14px; border-bottom: 1px solid var(--line);
}
.faq-group:first-child { padding-top: 0; }
.faq:has(.faq-group) { border-top: 0; }

/* ============================================================
   МИНИ-ПРИЛОЖЕНИЕ: телефон со свайпом экранов
   ============================================================ */
.mapp {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px 64px; align-items: center;
  border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4.5vw, 56px);
  background: radial-gradient(80% 90% at 100% 50%, rgba(179, 252, 18, .08), transparent 60%), var(--surface);
}
.mapp-copy { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.mapp-tabs { list-style: none; margin: 6px 0 4px; padding: 0; display: grid; gap: 4px; width: 100%; max-width: 26.25rem; }
.mapp-tabs li {
  display: grid; grid-template-columns: 2.2rem 1fr; gap: 10px; align-items: center; cursor: pointer;
  padding: 11px 14px; border-radius: 12px; color: var(--muted); font-weight: 600;
  border: 1px solid transparent; transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.mapp-tabs li span { font-size: .78rem; }
.mapp-tabs li:hover { color: var(--fg); }
.mapp-tabs li.on { color: var(--fg); background: var(--bg); border-color: var(--line); }
.mapp-tabs li.on span { color: var(--lime); }

.mapp-side { display: grid; justify-items: center; gap: 14px; }
.mapp-phone { width: 18.125rem; aspect-ratio: 9 / 18.5; }
.mapp-screen { display: grid; grid-template-rows: auto 1fr; padding: 14px 0 0; gap: 10px; text-align: left; }
.mapp-screen .phone-bar { margin: 0 12px; }
.mapp-screen .phone-bar b { white-space: nowrap; font-size: .72rem; }
.mapp-screen .phone-bar em {
  margin-left: auto; font: 600 .6rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .4em .6em; font-style: normal;
}
.mapp-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain; cursor: grab; touch-action: pan-x pan-y;
}
.mapp-track::-webkit-scrollbar { display: none; }
.mapp-track.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.mapp-scr {
  flex: 0 0 100%; scroll-snap-align: start; padding: 4px 12px 16px;
  display: grid; gap: 10px; align-content: start; min-width: 0;
}
.m-title { font-family: var(--f-display); font-size: 1rem; }
.m-sub { color: var(--muted); font: 600 .62rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; }
.m-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.m-sum div { border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: grid; gap: 2px; }
.m-sum b { font-size: 1.05rem; }
.m-sum span { color: var(--muted); font-size: .6rem; }
.m-journal { list-style: none; margin: 0; padding: 0; display: grid; }
.m-journal li {
  display: grid; grid-template-columns: 2.7rem 1fr auto 1rem; gap: 6px; align-items: center;
  padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .68rem;
}
.m-journal .t { color: var(--muted); }
.m-journal b { text-align: right; font-size: .9rem; }
.m-signal { border: 1px solid rgba(179, 252, 18, .35); border-radius: 14px; padding: 16px 14px; display: grid; gap: 12px; background: var(--lime-dim); }
.m-signal > span { font-size: 1.3rem; font-weight: 600; }
.m-signal > b { font-family: var(--f-display); font-size: 1.4rem; }
.m-row { display: flex; justify-content: space-between; align-items: baseline; color: var(--muted); font-size: .78rem; }
.m-row b { color: var(--fg); font-size: .95rem; }
.m-timer { color: var(--lime) !important; }
.m-note { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .72rem; }
.m-note i { font-style: normal; color: var(--lime); font-weight: 700; }
.m-calc { display: grid; gap: 8px; }
.m-field { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.m-field span { color: var(--muted); font-size: .72rem; }
.m-field b { font-size: .95rem; }
.m-field.hl { border-color: rgba(179, 252, 18, .4); background: var(--lime-dim); }
.m-field.hl b { color: var(--lime); }
.m-range, .m-learn i { grid-column: 1 / -1; display: block; height: 6px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.m-range s, .m-learn s { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--lime); border-radius: 3px; text-decoration: none; }
.m-big { display: flex; align-items: baseline; gap: 8px; }
.m-big b { font-size: 2.2rem; color: var(--lime); font-family: var(--f-display); }
.m-big span { color: var(--muted); font-size: .75rem; }
.m-bars { height: 150px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; align-items: end; }
.m-bars div { height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 6px; align-items: end; justify-items: center; }
.m-bars i { width: 100%; height: var(--h); border-radius: 5px 5px 0 0; background: var(--lime); transform-origin: bottom; }
.m-bars i.dn { background: var(--down); }
.m-bars span { color: var(--muted); font-size: .6rem; }
.m-learn { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.m-learn li { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; }
.m-learn li div { display: flex; justify-content: space-between; gap: 8px; font-size: .74rem; }
.m-learn em { font-style: normal; color: var(--lime); font-size: .64rem; white-space: nowrap; }
.mapp-scr.on .m-bars i { animation: grow .7s cubic-bezier(.2, .7, .2, 1) both; }
.mapp-scr.on .m-bars div:nth-child(2n) i { animation-delay: .08s; }
.mapp-scr.on .m-range s, .mapp-scr.on .m-learn s { animation: fill .9s .1s cubic-bezier(.2, .7, .2, 1) both; }
.mapp-scr.on .m-journal li { animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
.mapp-scr.on .m-journal li:nth-child(2) { animation-delay: .05s; }
.mapp-scr.on .m-journal li:nth-child(3) { animation-delay: .1s; }
.mapp-scr.on .m-journal li:nth-child(4) { animation-delay: .15s; }
.mapp-scr.on .m-journal li:nth-child(5) { animation-delay: .2s; }
.mapp-scr.on .m-journal li:nth-child(6) { animation-delay: .25s; }

.mapp-nav { display: flex; align-items: center; gap: 14px; }
.mapp-arrow {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  color: var(--fg); cursor: pointer; font-size: 1rem; transition: border-color .2s ease, background .2s ease;
}
.mapp-arrow:hover { border-color: var(--lime); background: var(--lime-dim); }
.mapp-dots { display: flex; gap: 6px; }
.mapp-dot { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .3s ease, background .3s ease; }
.mapp-dot.on { width: 22px; background: var(--lime); }
.mapp-hint { color: var(--muted); font-size: .8rem; transition: opacity .4s ease; }
.mapp-hint::after { content: "  →"; display: inline-block; animation: nudge 1.4s ease-in-out infinite; }
.mapp-hint.gone { opacity: 0; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

@media (max-width: 900px) {
  .mapp { grid-template-columns: 1fr; }
  .mapp-tabs { display: none; }
  .mapp-side { order: -1; }
}
@media (max-width: 400px) { .mapp-phone { width: min(270px, 78vw); } }
@media (prefers-reduced-motion: reduce) {
  .mapp-scr.on .m-bars i, .mapp-scr.on .m-range s, .mapp-scr.on .m-learn s, .mapp-scr.on .m-journal li, .mapp-hint::after { animation: none; }
}

/* журнал: кнопка добавления сделки */
.m-add {
  margin-top: 4px; text-align: center; padding: 10px; border-radius: 12px;
  background: var(--lime); color: #0a0d00; font-weight: 700; font-size: .78rem;
}
.m-journal li { padding: 7px 0; }

/* партнёр без картинки: карточка с логотипами и возможностями */
.partner { background: radial-gradient(80% 100% at 100% 50%, rgba(179, 252, 18, .07), transparent 60%), var(--surface); }
.partner-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: var(--bg);
  display: grid; gap: 22px;
}
.partner-logos { display: flex; align-items: center; gap: 14px; }
.partner-logos img { width: 4rem; }
.partner-logos .x { color: var(--muted); font-size: 1.4rem; }
.partner-logos b { font-family: var(--f-display); font-size: 1.4rem; }
.partner-card .chips { grid-column: auto; }
@media (max-width: 480px) { .mapp-screen .phone-bar b { display: none; } }
.phone.big.mapp-phone { width: 18.125rem; }
@media (max-width: 700px) { .phone.big.mapp-phone { width: min(280px, 80vw); } }
.partner-logos .partner-logo { width: auto; height: 3.25rem; object-fit: contain; margin-right: -4px; }
@media (max-width: 480px) { .partner-card { padding: 20px; } .partner-logos { gap: 10px; } .partner-logos img { width: 46px; } .partner-logos .partner-logo { height: 38px; width: auto; } .partner-logos b { font-size: 1.05rem; white-space: nowrap; } }

/* основатель идёт сразу под «О нас», как продолжение блока */
#about + #author { border-top: 0; padding-top: 0; }
.author.no-photo { grid-template-columns: auto minmax(0, 1fr); gap: 32px; }
.author.no-photo .author-photo {
  width: 6rem; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(179, 252, 18, .4);
  background: radial-gradient(circle at 50% 35%, rgba(179, 252, 18, .18), var(--surface) 70%);
}
.author.no-photo .author-photo span { font-size: 2rem; letter-spacing: .02em; }
@media (max-width: 760px) { .author.no-photo { grid-template-columns: 1fr; gap: 20px; } .author.no-photo .author-photo { width: 80px; } }


/* ============================================================
   КНОПКИ-ПЕРЕХОДЫ В РАЗДЕЛАХ
   ============================================================ */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.nots + .cta-row, .money + .cta-row { margin-top: 32px; }
.story-cta { padding-block: 8px clamp(48px, 7vw, 96px); }
.author-copy .cta-row { margin-top: 4px; }
.faq-more {
  margin-top: 40px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--surface);
}
.faq-more h3 { font-size: 1.15rem; margin-bottom: 6px; }
.faq-more p { color: var(--muted); max-width: 46ch; }
.faq-more .cta-row { margin-top: 0; }

/* плавающие кнопки */
.to-top {
  position: fixed; z-index: 25; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--fg); text-decoration: none; font-size: 1.2rem;
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s ease, transform .3s ease, border-color .2s ease;
}
.to-top:hover { border-color: var(--lime); color: var(--lime); }
.past-hero .to-top { opacity: 1; transform: none; pointer-events: auto; }
.m-cta { display: none; }
@media (max-width: 760px) {
  .m-cta {
    display: inline-flex; position: fixed; z-index: 25; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
    opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s ease, transform .3s ease;
  }
  .past-hero .m-cta { opacity: 1; transform: none; pointer-events: auto; }
  .to-top { right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .foot { padding-bottom: 80px; }
}

/* «Чего мы не делаем»: ровные ряды по 3 */
@media (min-width: 900px) { .nots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 600px) and (max-width: 899px) { .nots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* ============================================================
   ЭКРАНЫ BLACK DESK ACADEMY (в телефоне)
   ============================================================ */
.m-video {
  aspect-ratio: 16 / 9; border-radius: 12px; border: 1px solid var(--line); position: relative;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 50%, rgba(179, 252, 18, .14), transparent 70%), #050604;
}
.m-video i {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: #0a0d00; font-style: normal; font-size: .9rem; padding-left: 3px;
}
.m-video span { position: absolute; right: 8px; bottom: 6px; font-size: .6rem; color: var(--muted); }
.m-lesson { display: grid; gap: 7px; }
.m-lesson b { font-size: .82rem; }
.m-lesson i { display: block; height: 6px; border-radius: 3px; background: var(--line); }
.m-lesson i.short { width: 60%; }
.m-q { font-size: .8rem; font-weight: 600; line-height: 1.4; }
.m-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.m-opts li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .74rem; color: var(--muted);
}
.m-opts li.ok { border-color: rgba(179, 252, 18, .45); background: var(--lime-dim); color: var(--fg); }
.m-opts li b { color: var(--lime); }
.m-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.m-check li {
  display: grid; grid-template-columns: 1.4rem 1fr; gap: 10px; align-items: start;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: .74rem;
}
.m-check li > i {
  width: 1.4rem; height: 1.4rem; border-radius: 6px; border: 1px solid var(--line);
  display: grid; place-items: center; font-style: normal; color: #0a0d00; font-size: .7rem;
}
.m-check li.done > i { background: var(--lime); border-color: var(--lime); }
.m-check li div { display: grid; gap: 6px; }
.m-check em { font-style: normal; color: var(--lime); font-size: .66rem; }
.m-level {
  border: 1px solid rgba(179, 252, 18, .4); background: var(--lime-dim); border-radius: 14px; padding: 14px;
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
}
.m-level span { font-family: var(--f-display); font-size: .95rem; }
.m-level b { color: var(--lime); }
.mapp-scr.on .m-range s { animation: fill .9s .1s cubic-bezier(.2, .7, .2, 1) both; }

/* ============================================================
   КНОПКИ: единое выравнивание
   ============================================================ */
.hero-cta, .cta-row { align-items: center; }
@media (max-width: 480px) {
  /* на телефоне кнопки во всю ширину, пары — друг под другом одинаковой ширины */
  .hero-cta, .cta-row { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-cta .btn, .cta-row .btn, .plan .btn, .mapp-copy > .btn, .partner-copy .btn { width: 100%; justify-self: stretch; }
  .mapp-copy, .acad-copy { justify-items: stretch; }
  .faq-more .cta-row { width: 100%; }
}
