/* ==========================================================================
   GERA ENERGY v2 — «тёмный изумруд + малахит + золото ар-деко + голограммы»
   Цвета сняты пипеткой: ферзь в hero (энергия), file_50/file_51 (фон, золото).
   ========================================================================== */
@property --ge-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --ge-p { syntax: '<percentage>'; inherits: false; initial-value: 0%; }

:root {
  /* фон: тёмный изумруд (file_50/51) */
  --ge-bg0: #020a07; --ge-bg1: #06110c; --ge-bg2: #0e201d; --ge-bg3: #18312c;
  /* энергия: ферзь (#03644f → #00c29b → #47d9ba → #78fffb → #c0ffff) */
  --ge-em-d: #03644f; --ge-em: #00c29b; --ge-aqua: #47d9ba; --ge-ice: #78fffb; --ge-white: #c0ffff;
  /* искры: голубые молнии hero */
  --ge-spark: #8fdcff;
  /* золото: hero/эталоны (#a67541 → #da9e4a → #ffebb4) */
  --ge-gold-d: #5e3f17; --ge-gold-m: #a67541; --ge-gold: #da9e4a; --ge-gold-l: #ffebb4;
  --ge-gold-grad: linear-gradient(105deg, #5e3f17 0%, #a67541 14%, #da9e4a 30%, #ffebb4 42%, #c8893b 55%, #f2c77a 70%, #8a5f28 86%, #5e3f17 100%);
  --ge-em-grad: linear-gradient(100deg, #03644f 0%, #00c29b 25%, #78fffb 45%, #c0ffff 50%, #47d9ba 58%, #00c29b 75%, #03644f 100%);
  --ge-malachite: url(img/malachite.webp?v=1);
  --ge-blueprint: url(img/blueprint.svg?v=1);
}

/* ---------- текст ---------- */
.ge-gold-text {
  background: linear-gradient(105deg, #c8893b 0%, #e6b062 25%, #ffebb4 45%, #da9e4a 62%, #f2c77a 80%, #c8893b 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: ge-sheen 9s ease-in-out infinite;
}
.ge-em-text {
  background: var(--ge-em-grad); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: ge-flow 6s linear infinite;
  filter: drop-shadow(0 0 14px rgba(0, 194, 155, .35));
}
@keyframes ge-sheen { 0%, 100% { background-position: 0% 0 } 50% { background-position: 100% 0 } }
@keyframes ge-flow { to { background-position: -260% 0 } }

/* ---------- голографическая панель ---------- */
.ge-holo {
  --r: 22px;
  position: relative; isolation: isolate; border-radius: var(--r);
  background:
    /* ар-деко уголки (золотые скобы) */
    linear-gradient(var(--ge-gold), var(--ge-gold)) left 12px top 12px / 22px 1px no-repeat,
    linear-gradient(var(--ge-gold), var(--ge-gold)) left 12px top 12px / 1px 22px no-repeat,
    linear-gradient(var(--ge-gold), var(--ge-gold)) right 12px top 12px / 22px 1px no-repeat,
    linear-gradient(var(--ge-gold), var(--ge-gold)) right 12px top 12px / 1px 22px no-repeat,
    linear-gradient(var(--ge-gold), var(--ge-gold)) left 12px bottom 12px / 22px 1px no-repeat,
    linear-gradient(var(--ge-gold), var(--ge-gold)) left 12px bottom 12px / 1px 22px no-repeat,
    linear-gradient(var(--ge-gold), var(--ge-gold)) right 12px bottom 12px / 22px 1px no-repeat,
    linear-gradient(var(--ge-gold), var(--ge-gold)) right 12px bottom 12px / 1px 22px no-repeat,
    /* подсветка курсором */
    radial-gradient(420px circle at var(--mx, 30%) var(--my, -10%), rgba(0, 194, 155, .16), transparent 62%),
    /* голографические строки */
    repeating-linear-gradient(0deg, rgba(120, 255, 251, .025) 0 1px, transparent 1px 4px),
    /* изумрудное стекло */
    linear-gradient(165deg, rgba(18, 62, 52, .70), rgba(5, 20, 16, .86) 60%, rgba(3, 14, 11, .92));
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 180, .14),
    inset 0 0 0 1px rgba(218, 158, 74, .20),
    inset 0 0 40px rgba(0, 194, 155, .06),
    0 40px 80px -40px rgba(0, 0, 0, .9),
    0 0 70px -24px rgba(0, 194, 155, .30);
  -webkit-backdrop-filter: blur(14px) saturate(1.25); backdrop-filter: blur(14px) saturate(1.25);
  overflow: hidden;
}
/* бегущий изумрудный луч по кромке (border beam) */
.ge-holo::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; z-index: 2; pointer-events: none;
  background: conic-gradient(from var(--ge-a),
      transparent 0 62%, rgba(0, 194, 155, .0) 64%, rgba(0, 194, 155, .9) 76%, #78fffb 82%, #ffebb4 84%, transparent 88% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: ge-beam var(--beam-t, 7s) linear infinite; animation-delay: var(--beam-d, 0s);
}
/* блик-перелив по стеклу */
.ge-holo::after {
  content: ""; position: absolute; inset: -1px; z-index: 1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 38%, rgba(192, 255, 255, .07) 46%, rgba(255, 235, 180, .10) 50%, transparent 58%);
  background-size: 250% 100%; background-position: 150% 0;
  animation: ge-shine var(--shine-t, 9s) ease-in-out infinite; animation-delay: var(--beam-d, 0s);
}
.ge-holo > * { position: relative; z-index: 3; }
@keyframes ge-beam { to { --ge-a: 360deg } }
@keyframes ge-shine { 0%, 62% { background-position: 150% 0 } 100% { background-position: -60% 0 } }

/* малахитовый «постамент» снизу панели */
.ge-plinth { position: relative; display: flex; flex-direction: column; }
.ge-plinth > .ge-holo { flex: 1; }
.ge-plinth::after {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -16px; height: 16px; z-index: -1;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .55)), var(--ge-malachite) center / cover;
  box-shadow: inset 0 1px 0 var(--ge-gold), inset 0 -1px 0 rgba(255, 235, 180, .35), 0 18px 40px -10px rgba(0, 194, 155, .25);
}

/* ---------- живая иконка ---------- */
.ge-ico { --s: 56px; position: relative; display: inline-grid; place-items: center; width: var(--s); height: var(--s); flex: none; }
.ge-ico svg { width: 100%; height: 100%; overflow: visible; }
.ge-ico .t { transform-origin: 32px 32px; animation: ge-spin 40s linear infinite; }
.ge-ico .c { transform-origin: 32px 32px; animation: ge-spin 3.6s linear infinite; }
.ge-ico .halo { animation: ge-pulse 3.2s ease-in-out infinite; transform-origin: 32px 32px; }
.ge-ico .g { filter: drop-shadow(0 0 4px rgba(0, 194, 155, .8)); }
.ge-ico .sp { opacity: 0; animation: ge-zap 7s steps(1) infinite; animation-delay: var(--zd, 0s); }
@keyframes ge-zap { 0%, 86% { opacity: 0 } 87% { opacity: 1 } 88% { opacity: .2 } 90% { opacity: 1 } 93%, 100% { opacity: 0 } }
.ge-ico:nth-child(2n) .c { animation-duration: 4.4s; animation-direction: reverse; }
@keyframes ge-spin { to { transform: rotate(360deg) } }
@keyframes ge-pulse { 0%, 100% { opacity: .35; transform: scale(.92) } 50% { opacity: .85; transform: scale(1.06) } }

/* ---------- армиллярная сфера (рисуется в одном canvas, см. energy.js) ---------- */
.ge-arm { --size: 460px; position: relative; width: var(--size); aspect-ratio: 1; }
.ge-arm canvas.sphere { position: absolute; inset: -10%; width: 120%; height: 120%; pointer-events: none; }
.ge-arm .axis { position: absolute; left: 50%; top: -4%; bottom: -4%; width: 3px; margin-left: -1.5px; border-radius: 3px;
  background: linear-gradient(90deg, #5e3f17, #ffebb4 45%, #a67541); box-shadow: 0 0 10px rgba(255, 235, 180, .35); }
.ge-arm .axis::before, .ge-arm .axis::after { content: ""; position: absolute; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3cf, #da9e4a 45%, #5e3f17); }
.ge-arm .axis::before { top: -7px } .ge-arm .axis::after { bottom: -7px }
.ge-arm .glow { position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle, rgba(0, 194, 155, .3) 18%, rgba(0, 194, 155, .1) 40%, transparent 66%); animation: ge-pulse 6s ease-in-out infinite; }
.ge-arm .reflect { position: absolute; left: 10%; right: 10%; bottom: -16%; height: 18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 194, 155, .24), rgba(218, 158, 74, .07) 60%, transparent); }

/* ---------- энергодуга (canvas) ---------- */
.ge-arc { display: block; width: 100%; height: 140px; pointer-events: none; }

/* ---------- чертёжный фон + дымка + боке ---------- */
.ge-scene { position: relative; isolation: isolate; }
.ge-bp {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.ge-bp i { position: absolute; display: block; border-radius: 50%; pointer-events: none; }
/* фон статичный: чертёж не вращается, туман без blur (мягкость — в самом градиенте); двигаются только искорки (transform/opacity — на композиторе) */
.ge-bp .bp { width: 980px; height: 980px; left: var(--bx, 62%); top: var(--by, 50%); margin: -490px 0 0 -490px; background: var(--ge-blueprint) center / contain no-repeat; opacity: .5; transform: rotate(-8deg);
  /* маска на статичном чертеже, а не на всём слое: иначе анимированные искорки заставляют пересчитывать маску каждый кадр */
  -webkit-mask: radial-gradient(closest-side, #000 55%, transparent); mask: radial-gradient(closest-side, #000 55%, transparent); }
.ge-bp .fog { width: 70vw; height: 50vw; left: -10vw; top: 10%; background: radial-gradient(closest-side, rgba(24, 80, 66, .3), rgba(24, 80, 66, .12) 55%, transparent); }
.ge-bp .fog + .fog { left: auto; right: -15vw; top: 45%; background: radial-gradient(closest-side, rgba(10, 60, 48, .34), rgba(10, 60, 48, .13) 55%, transparent); }
.ge-bp .bk { width: var(--d, 8px); height: var(--d, 8px); left: var(--x); top: var(--y); background: radial-gradient(circle, rgba(255, 220, 150, .9), rgba(218, 158, 74, .25) 45%, transparent 70%); animation: ge-float var(--ft, 9s) ease-in-out infinite alternate; opacity: .7; }
@keyframes ge-float { to { transform: translate3d(0, -24px, 0); opacity: .25 } }

/* ар-деко разделитель */
.ge-deco { display: flex; align-items: center; gap: 14px; color: var(--ge-gold); }
.ge-deco::before, .ge-deco::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--ge-gold) 40%, var(--ge-gold-l)); }
.ge-deco::after { transform: scaleX(-1) }

/* вне экрана — анимации на паузе */
.ge-off, .ge-off * { animation-play-state: paused !important; }
.ge-ico .g path { filter: none; }

@media (prefers-reduced-motion: reduce) {
  .ge-holo::before, .ge-holo::after, .ge-ico *, .ge-arm *, .ge-bp *, .ge-gold-text, .ge-em-text { animation: none !important; }
}

/* ==========================================================================
   ПРИМЕНЕНИЕ К СТРАНИЦЕ (ниже hero; hero и его молнии не трогаем)
   ========================================================================== */
main { overflow-x: clip; }
main > section:not(.hero) { isolation: isolate; }
.section > .ge-bp, .gauges > .ge-bp { z-index: -1; }
.section::after { display: none; }

/* фоновые ореолы секций: изумруд вместо голубой плазмы */
.how { background: radial-gradient(42% 50% at 85% 35%, rgba(0, 194, 155, .13), transparent 70%), radial-gradient(40% 40% at 8% 92%, rgba(218, 158, 74, .06), transparent 70%); }
.features { background: radial-gradient(55% 35% at 50% 0%, rgba(0, 194, 155, .14), transparent 70%), linear-gradient(180deg, transparent, rgba(14, 32, 29, .5) 40%, transparent); }
.roles { background: radial-gradient(50% 50% at 50% 60%, rgba(0, 194, 155, .09), transparent 70%); }
.trust { background: radial-gradient(45% 55% at 50% 50%, rgba(0, 194, 155, .12), transparent 70%), radial-gradient(50% 60% at 50% 50%, rgba(24, 49, 44, .55), transparent 75%); }
.pricing { background: radial-gradient(55% 45% at 50% 55%, rgba(0, 194, 155, .11), transparent 75%), radial-gradient(60% 50% at 50% 55%, rgba(24, 49, 44, .55), rgba(24, 49, 44, 0) 100%); }
.final { background: radial-gradient(40% 50% at 50% 40%, rgba(0, 194, 155, .10), transparent 70%); }
.final::before { opacity: .12; }

/* заголовки: перелив золота с изумрудной искрой */
.h2 em { background: linear-gradient(100deg, #c8893b 0%, var(--gold-hi) 26%, #fff3d6 40%, #e9fff8 46%, #fff3d6 50%, var(--gold-hi) 58%, #da9e4a 80%, var(--gold-hi) 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; }
/* ар-деко разделитель под заголовком: золотая нить, ромб-малахит, бегущий импульс энергии */
.sec-head .h2::after, .final .h2::after {
  width: 260px; height: 16px; margin-top: 22px; filter: none; animation: ge-pulse-line 5.5s cubic-bezier(.45, 0, .2, 1) infinite;
  background:
    linear-gradient(90deg, transparent, rgba(192, 255, 255, .95), transparent) 0 50% / 70px 2px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 16'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23da9e4a' stop-opacity='.15'/%3E%3Cstop offset='.45' stop-color='%23ffebb4'/%3E%3Cstop offset='.55' stop-color='%23ffebb4'/%3E%3Cstop offset='1' stop-color='%23da9e4a' stop-opacity='.15'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 8H112M148 8H260' stroke='url(%23g)' stroke-width='1'/%3E%3Cpath d='M104 5v6M156 5v6M98 6.5v3M162 6.5v3' stroke='%23da9e4a' stroke-width='1'/%3E%3Cpath d='M130 1l8 7-8 7-8-7z' fill='%2303644f' stroke='%23ffebb4' stroke-width='1'/%3E%3Cpath d='M130 4.5l4 3.5-4 3.5-4-3.5z' fill='%2378fffb'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  -webkit-mask: none; mask: none;
}
.sec-head--c .h2::after, .final .h2::after { margin-inline: auto; }
.sec-head:not(.sec-head--c) .h2::after {
  background:
    linear-gradient(90deg, transparent, rgba(192, 255, 255, .95), transparent) 0 50% / 70px 2px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 16'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23ffebb4'/%3E%3Cstop offset='.55' stop-color='%23da9e4a' stop-opacity='.75'/%3E%3Cstop offset='1' stop-color='%23da9e4a' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M20 8H260' stroke='url(%23g)' stroke-width='1.2'/%3E%3Cpath d='M28 5v6M34 6.5v3' stroke='%23da9e4a' stroke-width='1'/%3E%3Cpath d='M9 1l8 7-8 7-8-7z' fill='%2303644f' stroke='%23ffebb4' stroke-width='1'/%3E%3Cpath d='M9 4.5l4 3.5-4 3.5-4-3.5z' fill='%2378fffb'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
@keyframes ge-pulse-line { 0% { background-position: -80px 50%, 0 0 } 70%, 100% { background-position: 340px 50%, 0 0 } }

/* ---------- полоса показателей: малахитовый фриз в золотой оправе ---------- */
.gauges {
  background: linear-gradient(180deg, rgba(2, 10, 7, .68), rgba(2, 10, 7, .80)), var(--ge-malachite) center / cover;
  border-block: 0;
  box-shadow: inset 0 1px 0 rgba(255, 235, 180, .55), inset 0 3px 0 rgba(2, 10, 7, .9), inset 0 4px 0 rgba(218, 158, 74, .35),
              inset 0 -1px 0 rgba(255, 235, 180, .55), inset 0 -3px 0 rgba(2, 10, 7, .9), inset 0 -4px 0 rgba(218, 158, 74, .35);
}
.gauges::before { background: linear-gradient(90deg, transparent, var(--ge-em) 30%, var(--ge-gold-l) 50%, var(--ge-em) 70%, transparent); }
.gauge { border-left-color: rgba(218, 158, 74, .22); }
.gauge__ic { width: 64px; height: 64px; }
.gauge__ic::before { display: none; }
.gauge__ic.ge-ico { --s: 64px; }
.gauge b { text-shadow: 0 0 18px rgba(0, 194, 155, .25); }

/* ---------- как это работает: энергопоток по шагам ---------- */
.flow-wrap { position: relative; }
.flow-wrap > .flow__arc { position: absolute; left: -18px; top: 0; bottom: 0; width: 80px; height: 100%; z-index: 0; }
.flow-wrap .flow::before, .flow-wrap .flow::after { display: none; }
.flow__n { background: radial-gradient(circle at 35% 30%, #1d5a4a, #08201a 60%, #030c09); border-color: var(--ge-gold); box-shadow: inset 0 0 0 3px rgba(2, 10, 7, .9), inset 0 0 0 4px rgba(255, 235, 180, .35), 0 0 18px -2px rgba(0, 194, 155, .5); }
.flow__gate .flow__n { box-shadow: inset 0 0 0 3px rgba(2, 10, 7, .9), inset 0 0 0 4px rgba(120, 255, 251, .5), 0 0 26px rgba(0, 194, 155, .8); }
/* телефон: золотая оправа + изумрудное свечение и луч */
.phone { box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 110px -20px rgba(0, 194, 155, .45), 0 0 0 1px rgba(0, 0, 0, .5); }
.phone::after { background: conic-gradient(from var(--ang), transparent 0 74%, rgba(0, 194, 155, .7) 82%, #c0ffff 86%, #ffebb4 88%, transparent 92%); }

/* ---------- функции: голографические панели ---------- */
.fx__panel { background: linear-gradient(160deg, rgba(218, 158, 74, .45), rgba(218, 158, 74, .06) 30%, rgba(0, 194, 155, .10) 70%, rgba(218, 158, 74, .3)); box-shadow: 0 40px 100px -50px rgba(0, 0, 0, .9), 0 0 90px -40px rgba(0, 194, 155, .5); }
.fx__panel::before { background: conic-gradient(from var(--ang), transparent 0 70%, rgba(0, 194, 155, .8) 80%, #c0ffff 85%, #ffebb4 87%, transparent 91%); }
.fx__head, .fx__list { background:
    repeating-linear-gradient(0deg, rgba(120, 255, 251, .022) 0 1px, transparent 1px 4px),
    linear-gradient(165deg, rgba(18, 62, 52, .55), rgba(5, 20, 16, .9) 55%, rgba(3, 14, 11, .95)); }
.fx__head { position: relative; background:
    linear-gradient(var(--ge-gold), var(--ge-gold)) left 14px top 14px / 22px 1px no-repeat,
    linear-gradient(var(--ge-gold), var(--ge-gold)) left 14px top 14px / 1px 22px no-repeat,
    linear-gradient(var(--ge-gold), var(--ge-gold)) right 14px top 14px / 22px 1px no-repeat,
    linear-gradient(var(--ge-gold), var(--ge-gold)) right 14px top 14px / 1px 22px no-repeat,
    radial-gradient(60% 90% at 25% 50%, rgba(0, 194, 155, .14), transparent 70%),
    repeating-linear-gradient(0deg, rgba(120, 255, 251, .022) 0 1px, transparent 1px 4px),
    linear-gradient(165deg, rgba(18, 62, 52, .6), rgba(5, 20, 16, .9) 60%); }
.fx__img { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 235, 180, .45), 0 0 0 5px rgba(2, 10, 7, .8), 0 0 0 6px rgba(218, 158, 74, .35), 0 0 50px -10px rgba(0, 194, 155, .45); }
.fx__img img { animation: ge-kb 18s ease-in-out infinite alternate; }
@keyframes ge-kb { from { transform: scale(1.02) } to { transform: scale(1.09) translate3d(-1.5%, -1%, 0) } }
.fx__head h3 { text-shadow: 0 0 30px rgba(0, 194, 155, .25); }
.fx__kicker, .role__k { color: var(--ge-aqua); text-shadow: 0 0 12px rgba(0, 194, 155, .45); }
/* пункты — полноценные стеклянные карточки, единая живая иконка, ровные скругления */
.fx__list { gap: 14px; padding: 18px 22px 24px; }
.fx__list li, .fx__list li.hit {
  padding: 18px 20px 18px 74px; border-top: 0; border-radius: 16px; min-width: 0;
  background: linear-gradient(165deg, rgba(18, 62, 52, .35), rgba(4, 16, 12, .55));
  box-shadow: inset 0 0 0 1px rgba(218, 158, 74, .16), inset 0 1px 0 rgba(255, 235, 180, .07);
}
.fx__list li::before, .fx__list li.hit::before { display: none; }
.fx__list li > .fx__ico { position: absolute; left: 16px; top: 16px; --s: 44px; }
.fx__list li.hit h4 { color: var(--ivory); text-shadow: none; }
.fx__tab[aria-selected="true"] { background: linear-gradient(90deg, rgba(0, 194, 155, .16), rgba(218, 158, 74, .07)); border-color: rgba(0, 194, 155, .45); }
.fx__tabs { background: linear-gradient(165deg, rgba(18, 62, 52, .35), rgba(4, 16, 12, .6)); border-color: rgba(218, 158, 74, .22); }
.fx__note { padding: 0 8px; overflow-wrap: break-word; }

/* ---------- бегущая строка ---------- */
.integr { background: linear-gradient(180deg, rgba(2, 10, 7, .86), rgba(2, 10, 7, .9)), var(--ge-malachite) center / cover; border-color: rgba(218, 158, 74, .3); }
.integr__track li { border-color: rgba(218, 158, 74, .25); }
.integr__track li::before { background: var(--ge-ice); box-shadow: 0 0 6px var(--ge-white), 0 0 12px var(--ge-em); }

/* ---------- карточки (роли, шаги, тарифы): голопанели ---------- */
.role { background: linear-gradient(170deg, rgba(218, 158, 74, .5), rgba(218, 158, 74, .06) 40%, rgba(0, 194, 155, .18) 80%, rgba(218, 158, 74, .35)); }
.role__core, .step, .plan:not(.plan--main):not(.plan--free) {
  background:
    linear-gradient(var(--ge-gold), var(--ge-gold)) left 12px top 12px / 20px 1px no-repeat,
    linear-gradient(var(--ge-gold), var(--ge-gold)) left 12px top 12px / 1px 20px no-repeat,
    linear-gradient(var(--ge-gold), var(--ge-gold)) right 12px bottom 12px / 20px 1px no-repeat,
    linear-gradient(var(--ge-gold), var(--ge-gold)) right 12px bottom 12px / 1px 20px no-repeat,
    repeating-linear-gradient(0deg, rgba(120, 255, 251, .022) 0 1px, transparent 1px 4px),
    linear-gradient(165deg, rgba(18, 62, 52, .62), rgba(5, 20, 16, .9) 60%, rgba(3, 14, 11, .95));
}
.role::after, .step::after { background: conic-gradient(from var(--ang), transparent 0 70%, rgba(0, 194, 155, .85) 80%, #c0ffff 84%, #ffebb4 86%, transparent 90%); }
.step { border-color: rgba(218, 158, 74, .28); }
.step__n { background: radial-gradient(circle at 35% 30%, rgba(220, 255, 245, .35), transparent 30%), radial-gradient(circle, transparent 50%, rgba(0, 10, 6, .8)), var(--ge-malachite) center / 300px; border-color: var(--ge-gold); color: var(--ge-gold-l); }
.plan { border-color: rgba(218, 158, 74, .26); }
.plan--main {
  background: repeating-linear-gradient(0deg, rgba(120, 255, 251, .025) 0 1px, transparent 1px 4px), radial-gradient(120% 60% at 50% 0%, rgba(0, 194, 155, .22), transparent 70%), linear-gradient(180deg, #123a30, #0a1813);
  box-shadow: 0 30px 90px -20px rgba(0, 194, 155, .4), 0 0 0 1px rgba(255, 235, 180, .25);
}
.plan--main::before { opacity: 1; }
.plan--main > .btn--gold { position: relative; }
.plans .plan--main { margin-bottom: 18px; }
.plan--main .plan__ped { position: absolute; left: 8%; right: 8%; bottom: -18px; height: 18px; border-radius: 0 0 14px 14px; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .55)), var(--ge-malachite) center / 500px;
  box-shadow: inset 0 1px 0 var(--ge-gold), inset 0 -1px 0 rgba(255, 235, 180, .4), 0 18px 40px -10px rgba(0, 194, 155, .35); }
.plan--free { background: radial-gradient(120% 60% at 50% 0%, rgba(0, 194, 155, .18), transparent 70%), linear-gradient(180deg, #0d2420, #08140f); border-color: rgba(0, 194, 155, .4); }
.plan--free::after { background: conic-gradient(from var(--ang), rgba(0, 194, 155, .25) 0, #c0ffff 12%, #00c29b 22%, rgba(3, 100, 79, .6) 45%, rgba(0, 194, 155, .25) 70%, rgba(0, 194, 155, .25) 100%); }
.plan li::before { background: linear-gradient(135deg, var(--ge-gold-l), var(--ge-gold)); }
.plan--free li::before { background: var(--ge-aqua); box-shadow: 0 0 8px var(--ge-em); }
.plan__sparks { color: var(--ge-white); text-shadow: 0 0 12px rgba(0, 194, 155, .45); }
.btn--volt { color: #03140f; background: linear-gradient(180deg, #e2fff7, #7fe8cf 45%, #19b58f); }
.plan__badge--free { background: linear-gradient(180deg, #e2fff7, #5fe3c4); color: #03140f; }

/* ---------- контроль: армиллярная сфера вместо сейфа ---------- */
.vault { position: relative; display: grid; justify-items: center; gap: 44px; }
.vault .ge-arm { --size: min(380px, 100%); width: var(--size); max-width: 100%; }
.vault__lbl { font: 400 14px/1 var(--caps); letter-spacing: .24em; text-transform: uppercase; color: var(--ge-gold); text-shadow: 0 0 14px rgba(218, 158, 74, .35); }
.rules li::before { border-color: var(--ge-gold); box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 7px var(--ge-em), 0 0 14px var(--ge-em); }
.rules li { border-top-color: rgba(218, 158, 74, .22); }
.rules li:last-child { border-bottom-color: rgba(218, 158, 74, .22); }

/* ---------- день: поток по линии времени ---------- */
.day__arc { display: block; height: 72px; margin: 0 0 -70px; position: relative; z-index: 0; }
.day .timeline::before, .day .timeline::after, .day .timeline li:first-child::after { display: none; }
.timeline li::before { border-color: var(--ge-gold); background: radial-gradient(circle, #78fffb, #03644f 70%); box-shadow: 0 0 14px var(--ge-em); }
.timeline time { position: relative; z-index: 1; }

/* ---------- FAQ ---------- */
.faq__list details { border-top-color: rgba(218, 158, 74, .22); }
.faq__list details:last-child { border-bottom-color: rgba(218, 158, 74, .22); }
/* открытый вопрос — то же поле, что у hover строки: выступает на 12px левее линии, скруглено */
.faq__list details { position: relative; isolation: isolate; }
.faq__list details[open] { background: none; }
.faq__list details[open]::before { content: ""; position: absolute; inset: 0 0 0 -12px; z-index: -1; border-radius: 10px; pointer-events: none; background: linear-gradient(90deg, rgba(0, 194, 155, .07), transparent 70%); }
.faq__list details[open] summary { color: var(--ge-white); text-shadow: 0 0 18px rgba(0, 194, 155, .35); }

/* ---------- финал: портрет в золотом медальоне (растр-акцент) ---------- */
.final__av-wrap { position: relative; display: inline-grid; place-items: center; width: 470px; max-width: 100%; aspect-ratio: 1; margin-bottom: 8px; }
.final__av-wrap > picture, .final__av-wrap > .final__medal { grid-area: 1 / 1; }
.final__medal { width: 100%; height: 100%; object-fit: contain; animation: ge-medal 9s ease-in-out infinite alternate; filter: saturate(.8) brightness(.9) drop-shadow(0 0 40px rgba(0, 194, 155, .28)); }
.final__av-wrap > picture { position: relative; z-index: 1; }
.final__av-wrap > .final__medal-pic { display: block; width: 100%; height: 100%; z-index: 0; }
.final__av { width: 170px; height: 170px; box-shadow: 0 0 0 2px #ffebb4, 0 0 0 5px rgba(2, 10, 7, .8), 0 0 40px rgba(0, 194, 155, .55); }
.final__av-wrap::after { inset: 8%; background: radial-gradient(circle, rgba(0, 194, 155, .22), transparent 65%); }
@keyframes ge-medal { from { transform: translateY(-4px) } to { transform: translateY(6px) } }

/* ---------- разделители-энергопотоки между секциями ---------- */
.ge-divider { position: relative; z-index: 2; height: 120px; margin: -60px 0; pointer-events: none; }
.ge-divider canvas { width: 100%; height: 100%; }

@media (max-width: 1180px) {
  .day__arc { display: none; }
  .day .timeline::before, .day .timeline::after { display: block; }
  .fx__tabs { background: linear-gradient(165deg, rgba(12, 44, 37, .96), rgba(4, 14, 11, .97)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
@media (max-width: 860px) {
  .ge-bp .bp { width: 640px; height: 640px; margin: -320px 0 0 -320px; }
  .fx__list { padding: 12px 12px 14px; gap: 10px; }
  .fx__list li, .fx__list li.hit { padding: 16px 16px 16px 64px; }
  .fx__list li > .fx__ico { left: 12px; top: 14px; --s: 40px; }
  .vault .ge-arm { --size: min(300px, 86vw); }
  .final__av-wrap { width: min(380px, 100%); }
  .final__av { width: 138px; height: 138px; }
  .ge-divider { height: 90px; margin: -45px 0; }
  .plan--main .plan__ped { bottom: -14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx__img img, .final__medal, .sec-head .h2::after, .final .h2::after { animation: none !important; }
}

/* ==========================================================================
   АУДИТ 20.10 — производительность и единый hover
   ========================================================================== */
/* hover — только у кликабельного (кнопки, табы, строки FAQ, меню) и только на устройствах с мышью */
@media (hover: hover) {
  .faq__list summary:hover { background: linear-gradient(90deg, rgba(0, 194, 155, .07), transparent 70%); color: var(--ge-white); }
  .fx__tab:hover { color: var(--ivory); background: rgba(0, 194, 155, .07); }
}
.faq__list summary { border-radius: 10px; transition: background .3s var(--ease), color .3s var(--ease); }
.mnav__list a:active { background: rgba(0, 194, 155, .08); color: var(--arc); }
/* бегущие лучи по кромке (@property → перерисовка каждый кадр): крутятся только у главного тарифа и демо-телефона,
   у остальных карточек — статичный блик на том же месте */
.role::after, .step::after, .fx__panel::before, .plan--free::after, .final__av-wrap::before { animation: none; --ang: 200deg; }
/* телефон и узкие экраны: без лучей, переливов заголовков и вращения колец иконок */
@media (max-width: 860px), (pointer: coarse) {
  .role::after, .step::after, .fx__panel::before, .plan--free::after, .plan--main::after, .phone::after, .final__av-wrap::before { animation: none; --ang: 200deg; }
  .h2 em { animation: none; background-position: 30% 0; }
  .sec-head .h2::after, .final .h2::after { animation: none; }
  .ge-ico .t, .ge-ico .halo, .ge-ico .sp, .gauge__ic::before { animation: none; }
  .fx__img img, .final__medal { animation: none; }
}

/* тарифы: кнопки на одной линии, список без растяжения (п.13); ограничения Free — отдельной строкой (п.27) */
.plans .plan--main { margin-bottom: -12px; } /* карточка «Про» приподнята на 12px — удлиняем вниз, чтобы кнопки стояли на одной линии */
@media (max-width: 1180px) { .plans .plan--main { margin-bottom: 0; } }
.hero__facts { max-width: 640px; }
.plan ul { flex: 0 0 auto; align-content: start; margin-bottom: 24px; }
.plan > .btn { margin-top: auto; }
.plan__limits { margin: -8px 0 24px; font-size: 13.5px; line-height: 1.45; color: var(--soft); }
.plan li .tag { margin-left: 4px; }
/* типографика (п.14): тонкая Poiret — только для крупных заголовков; h3 карточек и вопросы FAQ — Alegreya Sans */
.flow h3, .rules h3, .timeline h3 { font: 500 22px/1.25 var(--sans); letter-spacing: 0; }
.role h3, .step h3 { font: 500 24px/1.2 var(--sans); letter-spacing: 0; }
.faq__list summary { font: 500 20px/1.3 var(--sans); padding: 20px 12px; margin: 0 -12px; }
.fx__tab small { font: 600 12px/1 var(--sans); letter-spacing: 0; color: var(--soft); }
/* табы демо — 44 px и на десктопе (п.30) */
.demo__tab { min-height: 44px; }
/* мелочи вёрстки (п.19) */
.nw { white-space: nowrap; }
.hero__lead, .lead { text-wrap: pretty; }
/* «скоро» — пояснение сразу под заголовком функций (п.23) */
.fx__soon { margin: 18px auto 0; max-width: 640px; text-align: center; font-size: 15px; color: var(--soft); }
.fx__soon .tag { margin: 0 4px 0 0; }
/* согласие у CTA и подвал с документами (п.4) */
.consent { margin-top: 18px; max-width: 520px; font-size: 13.5px; line-height: 1.45; color: var(--soft); }
.consent a, .foot__nav a { color: var(--gold-hi); text-underline-offset: 3px; }
.consent--c, .final .consent { margin-inline: auto; text-align: center; }
.ph { background: rgba(218, 158, 74, .18); color: var(--gold-hi); border-radius: 4px; padding: 0 4px; font-weight: 700; }
.foot__legal { display: grid; gap: 6px; }
.foot__legal p { margin: 0; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 0 18px; align-items: center; }
.foot__nav a { min-height: 32px; display: inline-flex; align-items: center; }
@media (max-width: 860px) {
  .faq__list summary { font-size: 18px; }
  .flow h3, .rules h3, .timeline h3 { font-size: 20px; }
  .role h3, .step h3 { font-size: 22px; }
  .foot__nav { justify-content: center; }
  .foot__nav a { min-height: 44px; }
}
/* Гера-секретарь (Telegram Business) — 21.10, функция «скоро» */
.secr { background: radial-gradient(40% 50% at 82% 46%, rgba(0, 194, 155, .12), transparent 70%), radial-gradient(36% 40% at 6% 20%, rgba(218, 158, 74, .06), transparent 70%); }
.secr__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 80px; align-items: center; }
.secr .sec-head { margin-bottom: 36px; }
.secr__soon { margin-top: 18px; font-size: 15px; color: var(--soft); }
.secr__soon .tag { margin: 0 6px 0 0; }
.secr__av { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(160deg, #2A3D33, #16241D); box-shadow: 0 0 0 1px var(--gold); font: 600 13px/1 var(--sans); letter-spacing: .04em; color: var(--gold-hi); }
.secr__priv { align-self: stretch; max-width: none; border-style: dashed; }
.secr__lbl { margin-bottom: 4px; font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.secr__call { background: #24473A; border: 1px solid rgba(0, 194, 155, .4); }
.secr__call small { color: #B9C7BE; overflow-wrap: anywhere; }
@media (max-width: 1180px) { .secr__in { gap: 48px; } }
@media (max-width: 860px) {
  .secr__in { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .secr__in > * { min-width: 0; }
}
/* Гера-привратник (Guard для групп и каналов) — 21.10, функция «скоро» */
.secr--rev { background: radial-gradient(40% 50% at 14% 50%, rgba(0, 194, 155, .12), transparent 70%), radial-gradient(36% 40% at 92% 20%, rgba(218, 158, 74, .06), transparent 70%); }
.secr--rev .secr__in { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.secr--rev .secr__demo { order: -1; }
.secr__more { margin-top: 24px; font-size: 15px; color: var(--soft); }
.secr__more b { color: var(--gold-hi); font-weight: 600; }
.grd__q { margin-top: 8px; font-size: 14px; }
.grd__q b { display: block; color: var(--gold-hi); font-weight: 600; }
.grd__why { margin-top: 10px; font-size: 13px; color: var(--soft); }
.secr--rev .ev__date { width: 52px; font-size: 9px; letter-spacing: .04em; }
@media (max-width: 860px) {
  .secr--rev .secr__in { grid-template-columns: minmax(0, 1fr); }
  .secr--rev .secr__demo { order: 0; }
}
