/* ===========================================================
   AIEco — базовый слой: токены, типографика, компоненты
   Значения 1:1 с макетом (Claude Design «AIEco Site»).
   =========================================================== */

:root {
  /* поверхности */
  --bg: #070B0A;
  --bg-panel: #0A100E;
  --bg-deep: #04120C;
  --bg-card: rgba(255, 255, 255, .035);
  --bg-card-hi: rgba(255, 255, 255, .05);

  /* текст */
  --fg: #E7EFEB;
  --fg-strong: #fff;
  --fg-72: rgba(231, 239, 235, .72);
  --fg-62: rgba(231, 239, 235, .62);
  --fg-55: rgba(231, 239, 235, .55);
  --fg-45: rgba(231, 239, 235, .45);
  --fg-35: rgba(231, 239, 235, .35);

  /* акценты */
  --acc: #3FCF97;
  --acc-lt: #8FE7C4;
  --acc-pale: #9FE3C4;
  --acc-dk: #15604A;
  --gold: #D9A63A;
  --gold-lt: #EBC978;

  /* обводки */
  --line: rgba(255, 255, 255, .09);
  --line-soft: rgba(255, 255, 255, .07);
  --line-hi: rgba(255, 255, 255, .14);
  --line-acc: rgba(63, 207, 151, .3);

  /* шрифты */
  --f-display: 'Unbounded', 'Segoe UI', sans-serif;
  --f-body: 'Golos Text', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* ритм */
  --pad-x: clamp(20px, 4vw, 48px);
  --sec-y: clamp(72px, 9vw, 140px);
  --wrap: 1280px;

  /* кривые */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  font-family: var(--f-body);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

a { color: var(--acc); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--acc-lt); }

img, video, svg { display: block; max-width: 100%; }
input, button, textarea { font-family: inherit; }
button { border: none; background: none; color: inherit; cursor: pointer; }

::selection { background: rgba(63, 207, 151, .3); color: #fff; }

/* полоса прокрутки */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(63, 207, 151, .28); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: rgba(63, 207, 151, .5); }

/* ===========================================================
   ТИПОГРАФИКА
   =========================================================== */

.eyebrow {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 18px;
}

.h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 0;
  color: var(--fg-strong);
  text-wrap: pretty;
}

.h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(21px, 2.2vw, 30px);
  letter-spacing: -.035em;
  line-height: 1.15;
  margin: 14px 0 0;
  color: var(--fg-strong);
}

.lead {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--fg-62);
  margin: 18px 0 0;
}

.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.num {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  color: var(--fg-strong);
}

/* ===========================================================
   РАСКЛАДКА
   =========================================================== */

.wrap { max-width: var(--wrap); margin: 0 auto; }
.wrap--narrow { max-width: 1180px; }
.wrap--tight { max-width: 1080px; }

.sec {
  position: relative;
  padding: var(--sec-y) var(--pad-x);
}

.sec--top { border-top: 1px solid var(--line-soft); }
.sec--panel { background: var(--bg-panel); }
.sec--base { background: var(--bg); }

.grid { display: grid; gap: 16px; }
.grid--auto260 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.grid--auto280 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--auto290 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--auto320 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--auto210 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }

.split-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
}

/* ===========================================================
   КНОПКИ
   =========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background .3s var(--ease-out), color .3s var(--ease-out),
              box-shadow .4s var(--ease-out), transform .5s var(--ease-out);
}

.btn__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex: none;
  transition: transform .45s var(--ease-out), background .3s ease, color .3s ease;
}

.btn--primary {
  padding: 18px 24px 18px 28px;
  background: var(--acc);
  color: var(--bg-deep);
  font-size: 16.5px;
  box-shadow: 0 16px 40px rgba(63, 207, 151, .35);
}
.btn--primary .btn__dot { width: 32px; height: 32px; background: var(--bg-deep); color: var(--acc); font-size: 15px; }
.btn--primary:hover { background: var(--acc-lt); color: var(--bg-deep); box-shadow: 0 22px 56px rgba(63, 207, 151, .48); }

.btn--ghost {
  padding: 18px 26px;
  justify-content: center;
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--fg);
  font-size: 15px;
  font-weight: 500;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: var(--fg-strong); }

.btn--light {
  padding: 15px 20px 15px 24px;
  background: var(--fg);
  color: #06110D;
  font-size: 15px;
}
.btn--light .btn__dot { width: 28px; height: 28px; background: #06110D; color: var(--acc); }
.btn--light:hover { background: var(--acc); color: var(--bg-deep); }

.btn--nav {
  padding: 9px 16px;
  background: var(--fg);
  color: #06110D;
  font-size: 13px;
}
.btn--nav:hover { background: var(--acc); }

.btn--case {
  align-self: flex-start;
  padding: 14px 22px 14px 24px;
  background: var(--acc);
  color: var(--bg-deep);
  font-size: 14.5px;
  margin-top: 4px;
}
.btn--case .btn__dot { width: 32px; height: 32px; background: var(--bg-deep); color: var(--acc); font-size: 14px; }
.btn--case:hover { background: var(--acc-lt); }

.btn--pill-lg {
  padding: 9px 9px 9px 24px;
  background: var(--fg);
  color: var(--bg-deep);
  font-size: 15px;
}
.btn--pill-lg .btn__dot { width: 38px; height: 38px; background: var(--bg-deep); color: var(--acc); }
.btn--pill-lg:hover { background: var(--acc); }

/* стрелка уезжает вправо и возвращается */
.btn:hover .btn__dot--arrow { transform: translateX(4px); }
.btn:hover .btn__dot--down { transform: translateY(4px); }

/* ===========================================================
   НАВИГАЦИЯ
   =========================================================== */

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 14px 16px;
  transition: padding .5s var(--ease-out);
}

.navbar.is-stuck { padding-top: 8px; }

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 14px 10px 22px;
  border-radius: 999px;
  background: rgba(10, 17, 15, .55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .12);
  max-width: 100%;
  transition: background .5s var(--ease-out), box-shadow .5s var(--ease-out),
              border-color .5s var(--ease-out);
}

.navbar.is-stuck .nav {
  background: rgba(7, 11, 10, .82);
  border-color: rgba(63, 207, 151, .22);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .14);
}

.nav__brand { display: flex; align-items: center; gap: 9px; color: #fff; }
.nav__brand:hover { color: #fff; }

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--acc), var(--acc-dk));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--bg-deep);
  flex: none;
}

.brand-name {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.nav__links {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13.5px;
  color: var(--fg-62);
}

.nav__link { position: relative; color: inherit; padding: 2px 0; }
.nav__link:hover { color: #fff; }
.nav__link.is-active { color: #fff; }

.nav__toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 15px;
  height: 1.5px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .4s var(--ease-out), opacity .3s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* мобильное меню */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(4, 9, 8, .92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 96px var(--pad-x) 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease-out), visibility .45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--f-display);
  font-size: clamp(26px, 7vw, 40px);
  font-weight: 500;
  letter-spacing: -.035em;
  color: var(--fg);
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a:hover { color: var(--acc); }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav { gap: 14px; padding: 8px 8px 8px 18px; }
  .nav .btn--nav { display: none; }
}

/* ===========================================================
   HERO
   =========================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(104px, 13vh, 150px) 0 clamp(36px, 5vw, 72px);
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .72;
  will-change: transform;
}

.hero__scrim,
.hero__glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__scrim { background: linear-gradient(180deg, rgba(4,9,8,.78) 0%, rgba(4,9,8,.35) 38%, rgba(4,9,8,.92) 88%); }
.hero__glow { background: radial-gradient(120% 80% at 50% 110%, rgba(63,207,151,.22) 0%, rgba(7,11,10,0) 60%); }

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--acc-pale);
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc);
  display: inline-block;
  flex: none;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--acc);
  animation: ping 2.2s ease-out infinite;
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(38px, 7.4vw, 104px);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 22px 0 0;
  padding-top: .06em;
  max-width: 1050px;
  color: #fff;
  text-wrap: pretty;
}

.grad-text {
  background: linear-gradient(120deg, var(--acc) 0%, var(--acc-pale) 55%, var(--gold) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__sub {
  max-width: 600px;
  margin: clamp(22px, 2.6vw, 32px) 0 0;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--fg-72);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: clamp(26px, 3vw, 38px);
}
.hero__actions-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--fg-45);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  margin-top: clamp(34px, 4vw, 60px);
  border-top: 1px solid var(--line-hi);
}
.stat-strip > div { padding: 18px 20px 0; border-left: 1px solid rgba(255, 255, 255, .10); }
.stat-strip > div:first-child { padding: 18px 20px 0 0; border-left: none; }

.stat-strip__val {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -.03em;
  color: #fff;
}
.stat-strip__val--acc { color: var(--acc); }
.stat-strip__cap {
  font-family: var(--f-mono);
  font-size: 10.5px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--fg-45);
  margin-top: 7px;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-35);
  pointer-events: none;
}
.scroll-hint__rail {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, rgba(63,207,151,.6), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-hint__rail::after {
  content: '';
  position: absolute;
  left: 0; top: -40%;
  width: 100%; height: 40%;
  background: var(--acc);
  animation: railrun 2.4s var(--ease-io) infinite;
}

/* ===========================================================
   БЕГУЩАЯ СТРОКА
   =========================================================== */

.marquee {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: #080D0B;
  overflow: hidden;
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__row {
  display: flex;
  gap: 44px;
  padding-right: 44px;
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(231, 239, 235, .34);
  white-space: nowrap;
}
.marquee__row i { color: var(--acc); font-style: normal; }

/* ===========================================================
   КАЛЬКУЛЯТОР
   =========================================================== */

.sec--calc {
  background:
    radial-gradient(80% 60% at 80% 10%, rgba(217,166,58,.12) 0%, rgba(7,11,10,0) 60%),
    var(--bg-panel);
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 18px;
  margin-top: clamp(32px, 4vw, 52px);
  align-items: stretch;
}

.calc-panel {
  padding: clamp(24px, 2.6vw, 38px);
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, .10);
}

.calc-panel--out {
  background: linear-gradient(150deg, rgba(63,207,151,.18), rgba(4,9,8,.5) 60%);
  border: 1px solid var(--line-acc);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.field { display: block; }
.field + .field { margin-top: 28px; }
.field__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  color: rgba(231, 239, 235, .75);
}
.field__val {
  font-family: var(--f-display);
  font-size: 20px;
  color: #fff;
  font-variant-numeric: tabular-nums;
  transition: color .25s ease;
}
.field.is-dragging .field__val { color: var(--acc); }

.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  margin-top: 12px;
  height: 22px;
  background: transparent;
  cursor: grab;
}
.range:active { cursor: grabbing; }
.range::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--acc) 0 var(--fill, 0%), rgba(255,255,255,.10) var(--fill, 0%) 100%);
}
.range::-moz-range-track {
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--acc) 0 var(--fill, 0%), rgba(255,255,255,.10) var(--fill, 0%) 100%);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6.5px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--acc);
  box-shadow: 0 0 0 0 rgba(63, 207, 151, .35);
  transition: box-shadow .3s ease, transform .2s var(--ease-out);
}
.range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--acc);
  box-shadow: 0 0 0 0 rgba(63, 207, 151, .35);
  transition: box-shadow .3s ease, transform .2s var(--ease-out);
}
.range:hover::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(63, 207, 151, .16); }
.range:hover::-moz-range-thumb { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(63, 207, 151, .16); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 10px rgba(63, 207, 151, .22); }

.calc-note {
  margin: 26px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-45);
}

.out-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--acc-pale);
}
.out-big {
  font-family: var(--f-display);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -.045em;
  color: #fff;
  line-height: 1.05;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.out-big--acc { color: var(--acc); font-size: clamp(30px, 4.4vw, 58px); }
.out-sub { font-size: 15px; color: rgba(231, 239, 235, .65); margin-top: 8px; }
.out-block + .out-block { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .15); }
.out-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.out-payback { font-family: var(--f-mono); font-size: 12px; color: rgba(231, 239, 235, .5); }

/* ===========================================================
   ПРОБЛЕМА
   =========================================================== */

.prob-card {
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--line);
}
.prob-card--acc {
  background: linear-gradient(180deg, rgba(63,207,151,.14), rgba(63,207,151,.03));
  border: 1px solid rgba(63, 207, 151, .30);
}
.prob-card__num {
  font-family: var(--f-display);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -.04em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.prob-card--acc .prob-card__num { color: var(--acc); }
.prob-card__title { font-size: 16px; font-weight: 600; margin-top: 12px; color: #fff; }
.prob-card__text { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--fg-55); }
.prob-card--acc .prob-card__text { color: rgba(231, 239, 235, .65); }

/* ===========================================================
   ЭКОСИСТЕМА
   =========================================================== */

.sec--eco {
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(21,96,74,.28) 0%, rgba(7,11,10,0) 65%),
    var(--bg);
}

.eco-layout { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: clamp(36px, 4.5vw, 64px); }

.mod {
  text-align: left;
  padding: 22px;
  border-radius: 20px;
  font: inherit;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: none;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out),
              box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
}
.mod:hover { border-color: rgba(63, 207, 151, .55); }
.mod.is-on {
  background: linear-gradient(180deg, rgba(63,207,151,.16), rgba(63,207,151,.04));
  border-color: rgba(63, 207, 151, .55);
  box-shadow: 0 20px 50px rgba(63, 207, 151, .12);
}
.mod__code { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--acc); }
.mod__title {
  display: block;
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 500;
  margin-top: 10px;
  color: #fff;
  letter-spacing: -.02em;
}
.mod__text { display: block; font-size: 14px; line-height: 1.5; margin-top: 8px; color: var(--fg-55); }

.core {
  position: relative;
  padding: clamp(26px, 3vw, 44px);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(63,207,151,.16), rgba(7,11,10,.6) 55%, rgba(217,166,58,.12));
  border: 1px solid var(--line-acc);
  overflow: hidden;
}
.core__aura {
  position: absolute;
  inset: -40% 40% 40% -10%;
  background: radial-gradient(closest-side, rgba(63,207,151,.35), transparent);
  animation: glowpulse 6s ease-in-out infinite;
  pointer-events: none;
}
.core__body {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.core__main { max-width: 560px; }
.core__title {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -.035em;
  color: #fff;
  margin-top: 12px;
  line-height: 1.15;
}
.core__text { margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--fg-72); }
.core__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--fg-72);
  transition: border-color .3s ease, color .3s ease, background .3s ease;
}
.chip:hover { border-color: rgba(63, 207, 151, .5); color: #fff; background: rgba(63, 207, 151, .08); }

.core__metric {
  min-width: 230px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(4, 9, 8, .55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .12);
  animation: drift 9s ease-in-out infinite;
}
.core__metric-label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(231, 239, 235, .5);
}
.core__metric-val {
  font-family: var(--f-display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -.04em;
  color: var(--acc);
  margin-top: 10px;
  line-height: 1;
}
.core__metric-text { font-size: 14px; line-height: 1.5; color: rgba(231, 239, 235, .65); margin-top: 8px; }

/* ===========================================================
   КЕЙСЫ
   =========================================================== */

.tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(28px, 3vw, 42px) 0 0;
}
.tab {
  position: relative;
  z-index: 1;
  padding: 13px 24px;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  background: rgba(255, 255, 255, .04);
  color: var(--fg-72);
  border: 1px solid var(--line-hi);
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out),
              background .3s var(--ease-out), transform .3s var(--ease-out);
}
.tab:hover { border-color: rgba(63, 207, 151, .5); color: #fff; }
.tab.is-on { background: var(--acc); color: var(--bg-deep); border-color: var(--acc); }

.case {
  margin-top: 22px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
}
.case__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.case__left { padding: clamp(26px, 3vw, 46px); border-right: 1px solid rgba(255, 255, 255, .08); }
.case__right {
  padding: clamp(26px, 3vw, 46px);
  background: rgba(4, 9, 8, .35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}
.case__tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}

.ba { display: flex; gap: 14px; margin-top: 26px; }
.ba__rail { display: flex; flex-direction: column; align-items: center; padding-top: 5px; }
.ba__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.ba__dot--before { background: var(--gold); }
.ba__dot--after { background: var(--acc); }
.ba__line { width: 2px; flex: 1; margin: 4px 0; background: linear-gradient(180deg, rgba(217,166,58,.5), rgba(63,207,151,.5)); }
.ba__label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ba__label--before { color: var(--gold); }
.ba__label--after { color: var(--acc); }
.ba__text { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: rgba(231, 239, 235, .65); }
.ba__text--after { color: var(--fg-72); }

.ring-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.ring { position: relative; width: 128px; height: 128px; flex: none; }
.ring__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.ring__val {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.ring__cap {
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: .04em;
  color: rgba(231, 239, 235, .5);
  text-align: center;
  line-height: 1.35;
}
.ring-row__head { font-family: var(--f-display); font-size: 15px; font-weight: 500; color: #fff; }

.kpis { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 14px; }
.kpis--wide { gap: 28px; align-items: baseline; margin-top: 0; }
.kpi__val {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.kpi__val--acc { color: var(--acc); }
.kpi__val--xl { font-size: 36px; letter-spacing: -.03em; color: var(--acc); }
.kpi__cap { font-size: 12.5px; color: rgba(231, 239, 235, .5); margin-top: 2px; }

.bar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(231, 239, 235, .5);
  margin-bottom: 6px;
}
.bar-label + .bar-label { margin-top: 14px; }
.bar { height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar--thin { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); }
.bar__fill { height: 100%; border-radius: inherit; width: 0; }
.bar__fill--muted { background: #5C6B65; }
.bar__fill--acc { background: var(--acc); }
.bar__fill--grad { background: linear-gradient(90deg, var(--gold), var(--acc)); }

.ticker-row { display: flex; align-items: baseline; gap: 14px; }
.ticker {
  font-family: var(--f-display);
  font-size: 56px;
  font-weight: 600;
  color: var(--acc);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.ticker-row span { font-size: 15px; color: var(--fg-55); }

.econ {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(63, 207, 151, .10);
  border: 1px solid rgba(63, 207, 151, .25);
}
.econ__label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--acc-pale);
}
.econ__text { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--fg); }

/* ===========================================================
   ЛЕСТНИЦА ШАГОВ
   =========================================================== */

.step {
  padding: 26px 24px;
  border-radius: 22px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, .10);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 230px;
  transition: transform .5s var(--ease-out), border-color .4s ease, box-shadow .5s var(--ease-out);
}
.step--acc-strong { background: linear-gradient(160deg, rgba(63,207,151,.22), rgba(255,255,255,.03) 70%); border-color: rgba(63, 207, 151, .4); }
.step--acc-soft { background: rgba(63, 207, 151, .07); border-color: rgba(63, 207, 151, .22); }
.step--gold { background: linear-gradient(160deg, rgba(217,166,58,.14), rgba(255,255,255,.03) 70%); border-color: rgba(217, 166, 58, .3); }
.step__top { display: flex; align-items: center; justify-content: space-between; }
.step__num {
  font-family: var(--f-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--fg-35);
}
.step__num--acc { color: var(--acc); }
.step__num--gold { color: var(--gold); }
.step__badge {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--fg-55);
}
.step__badge--acc { background: rgba(63, 207, 151, .18); color: var(--acc-pale); }
.step__badge--gold { background: rgba(217, 166, 58, .16); color: var(--gold-lt); }
.step__title { font-family: var(--f-display); font-size: 17px; font-weight: 500; color: #fff; letter-spacing: -.02em; }
.step__text { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: rgba(231, 239, 235, .58); }
.step--acc-strong .step__text,
.step--acc-soft .step__text,
.step--gold .step__text { color: var(--fg-72); }

/* ===========================================================
   ДОВЕРИЕ
   =========================================================== */

.trust {
  position: relative;
  padding: 30px;
  border-radius: 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .4s ease, transform .5s var(--ease-out);
}
.trust--gold { background: rgba(217, 166, 58, .10); border-color: rgba(217, 166, 58, .28); }
.trust__title { font-family: var(--f-display); font-size: 18px; font-weight: 500; color: #fff; letter-spacing: -.02em; }
.trust__text { margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; color: rgba(231, 239, 235, .58); }
.trust--gold .trust__text { color: rgba(231, 239, 235, .68); }

/* ===========================================================
   КОНТАКТ
   =========================================================== */

.sec--contact {
  background: linear-gradient(180deg, var(--bg), var(--bg-deep));
  overflow: hidden;
}
.sec--contact::before {
  content: '';
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(63,207,151,.22), transparent);
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.contact-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.06;
  letter-spacing: -.04em;
  margin: 0;
  color: #fff;
  text-wrap: pretty;
}
.contact-text { margin: 20px 0 0; font-size: 17px; line-height: 1.6; color: rgba(231, 239, 235, .66); max-width: 460px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(231, 239, 235, .65);
  transition: border-color .3s ease, color .3s ease;
}
.tag:hover { border-color: rgba(63, 207, 151, .45); color: #fff; }

.form-card {
  position: relative;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: 24px;
  background: var(--bg-card-hi);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-hi);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.form-card__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--acc-pale);
}
.input {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  background: rgba(4, 9, 8, .5);
  border: 1px solid var(--line-hi);
  color: var(--fg);
  font-size: 15px;
  outline: none;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.input::placeholder { color: rgba(231, 239, 235, .38); }
.input:focus { border-color: var(--acc); box-shadow: 0 0 0 4px rgba(63, 207, 151, .12); background: rgba(4, 9, 8, .7); }
.input:first-of-type { margin-top: 18px; }
.input + .input { margin-top: 12px; }
.input.is-invalid { border-color: rgba(255, 120, 100, .7); box-shadow: 0 0 0 4px rgba(255, 120, 100, .1); }

.submit {
  width: 100%;
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: var(--acc);
  color: var(--bg-deep);
  font-size: 15.5px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: background .3s ease, box-shadow .4s var(--ease-out), transform .3s var(--ease-out);
}
.submit:hover { background: var(--acc-lt); box-shadow: 0 14px 34px rgba(63, 207, 151, .3); }
.submit:active { transform: scale(.985); }

.form-fine { font-size: 12.5px; line-height: 1.5; color: rgba(231, 239, 235, .42); margin-top: 12px; }

.form-done { text-align: center; padding: 26px 8px; }
.form-done__title {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--acc);
  letter-spacing: -.03em;
}
.form-done__text { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: rgba(231, 239, 235, .7); }

.check {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(63, 207, 151, .45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.check svg { width: 26px; height: 26px; }
.check path {
  stroke: var(--acc);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}

/* ===========================================================
   ПОДВАЛ
   =========================================================== */

.footer {
  padding: clamp(40px, 5vw, 64px) var(--pad-x);
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer__top {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer__about { max-width: 320px; }
.footer__about p { margin: 14px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--fg-45); }
.footer__cols { display: flex; flex-wrap: wrap; gap: 44px; }
.footer__col { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.footer__col-title {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-35);
}
.footer__col a { position: relative; width: fit-content; }
.footer__col a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__bottom {
  max-width: var(--wrap);
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: rgba(231, 239, 235, .32);
}

/* ===========================================================
   СТРАНИЦЫ КЕЙСОВ
   =========================================================== */

body.case-page, body.case-page html { background: var(--bg-deep); }
.case-page-root { background: var(--bg-deep); }

.chero { height: 100vh; height: 100svh; min-height: 560px; padding: clamp(10px, 1.2vw, 20px); }
.chero__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: clamp(20px, 2.4vw, 34px);
  overflow: hidden;
  background: var(--bg-panel);
}
.chero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.noise {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .55;
  mix-blend-mode: overlay;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.chero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,18,12,.55) 0%, rgba(4,18,12,.12) 40%, rgba(4,18,12,.92) 100%);
  pointer-events: none;
}

.cnav {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 94vw;
  gap: 8px clamp(14px, 2.4vw, 44px);
  padding: 11px clamp(16px, 2.4vw, 32px);
  background: var(--bg-deep);
  border-radius: 0 0 clamp(16px, 2vw, 26px) clamp(16px, 2vw, 26px);
  z-index: 3;
}
.cnav__brand { font-family: var(--f-display); font-size: 14px; font-weight: 600; color: #fff; letter-spacing: -.02em; }
.cnav__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px clamp(12px, 2vw, 28px);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-55);
}
.cnav__links a { color: inherit; }
.cnav__links a:hover { color: #fff; }

.chero__foot {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(20px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 26px);
  z-index: 2;
}
.chero__kicker {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acc-pale);
  margin-bottom: clamp(10px, 1.4vw, 20px);
}
.chero__title {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: .86;
  letter-spacing: -.055em;
  margin: 0;
  color: var(--fg);
}
.chero__title sup {
  position: absolute;
  top: .1em;
  font-size: .24em;
  color: var(--acc);
  letter-spacing: 0;
  line-height: 1;
}
.chero__row {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 32px);
}
.chero__row p { margin: 0; max-width: 460px; font-size: clamp(13px, 1.1vw, 16px); line-height: 1.45; color: var(--fg-72); }

.btn--chero {
  align-self: flex-start;
  padding: 9px 9px 9px 22px;
  background: var(--fg);
  color: var(--bg-deep);
  font-size: 14.5px;
}
.btn--chero .btn__dot { width: 36px; height: 36px; background: var(--bg-deep); color: var(--acc); font-size: 15px; }
.btn--chero:hover { background: var(--acc); }

.csec { padding: clamp(72px, 10vw, 150px) var(--pad-x); }
.csec--flush { padding: 0 var(--pad-x) clamp(72px, 10vw, 140px); }
.csec--result {
  padding: clamp(64px, 8vw, 120px) var(--pad-x);
  background: var(--bg-panel);
  border-top: 1px solid var(--line-soft);
}
.csec--cta { padding: clamp(56px, 7vw, 110px) var(--pad-x) clamp(72px, 9vw, 130px); }

.cpain { max-width: 940px; margin: 0 auto; text-align: center; }
.cpain__eyebrow { margin-bottom: 0; }
.cpain__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 5vw, 68px);
  line-height: .95;
  letter-spacing: -.045em;
  margin: clamp(18px, 2vw, 28px) 0 0;
  color: #fff;
}
.cbody {
  max-width: 620px;
  margin: clamp(26px, 3vw, 40px) auto 0;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.7;
  color: #DEE9E3;
}
.cbody--left { margin-left: 0; max-width: 660px; margin-top: clamp(30px, 3.6vw, 46px); }

.ch2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 44px);
  letter-spacing: -.04em;
  margin: 14px 0 0;
  color: #fff;
  line-height: 1.08;
}
.ch2--w720 { max-width: 720px; }

.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: clamp(10px, 1vw, 14px);
  margin-top: clamp(30px, 4vw, 52px);
}
.flow__card {
  padding: 26px 24px;
  border-radius: 22px;
  background: #212121;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .4s var(--ease-out), transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.flow__card:hover { background: #282828; }
.flow__card--acc {
  background: linear-gradient(160deg, rgba(63,207,151,.2), #212121 70%);
  border: 1px solid rgba(63, 207, 151, .35);
}
.flow__card--gold { background: rgba(217, 166, 58, .12); border: 1px solid rgba(217, 166, 58, .32); }
.flow__n { font-family: var(--f-mono); font-size: 11px; color: var(--gold); }
.flow__card--acc .flow__n { color: var(--acc); }
.flow__title { font-family: var(--f-display); font-size: 18px; font-weight: 500; color: #fff; letter-spacing: -.025em; }
.flow__text { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: var(--fg-55); }
.flow__card--acc .flow__text { color: var(--fg-72); }
.flow__card--gold .flow__text { color: rgba(231, 239, 235, .65); }

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: clamp(30px, 4vw, 52px);
}
.shot__cap { font-size: 13px; color: rgba(231, 239, 235, .5); margin-top: 14px; }

.win {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.win--tilt-l { transform: rotate(-1.1deg); }
.win--tilt-r { transform: rotate(1deg); }
.win:hover { transform: rotate(0deg) scale(1.015); box-shadow: 0 40px 90px rgba(0, 0, 0, .55); }

.win__bar {
  flex: none;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  background: #F1F3F5;
  border-bottom: 1px solid #E5E7EB;
}
.win__dot { width: 9px; height: 9px; border-radius: 50%; }
.win__url {
  margin-left: 10px;
  font-family: -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 11.5px;
  color: #8A8F98;
}
.win__body {
  flex: 1;
  min-height: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #111827;
  overflow: hidden;
}

.res-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  margin-top: clamp(28px, 3.4vw, 44px);
  border-top: 1px solid var(--line-hi);
}
.res-grid > div { padding: 22px; border-left: 1px solid rgba(255, 255, 255, .10); }
.res-grid > div:first-child { padding: 22px 22px 0 0; border-left: none; }
.res__val {
  font-family: var(--f-display);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 600;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.res__val--acc { color: var(--acc); }
.res__val--sm { font-size: clamp(30px, 3.6vw, 52px); }
.res__cap {
  font-family: var(--f-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--fg-45);
  margin-top: 10px;
  line-height: 1.5;
}

.cta-band {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 56px);
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(63,207,151,.18), rgba(4,18,12,.5) 62%);
  border: 1px solid var(--line-acc);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: -.04em;
  margin: 0;
  color: #fff;
  max-width: 560px;
  line-height: 1.1;
  position: relative;
}
.case-links {
  max-width: 1180px;
  margin: 26px auto 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ===========================================================
   БАЗОВЫЕ КЕЙФРЕЙМЫ
   =========================================================== */

@keyframes ping {
  0%   { opacity: .55; transform: scale(1); }
  70%  { opacity: 0; transform: scale(2.4); }
  100% { opacity: 0; transform: scale(2.4); }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(0, -14px); }
}
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes glowpulse {
  0%, 100% { opacity: .35; }
  50%      { opacity: .75; }
}
@keyframes railrun {
  0%   { top: -40%; }
  100% { top: 100%; }
}

/* ===========================================================
   АДАПТИВ
   =========================================================== */

@media (max-width: 860px) {
  /* подсказка про скролл налезала на плашку статистики */
  .scroll-hint { display: none; }
}

@media (max-width: 720px) {
  .case__left { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .stat-strip > div { padding: 18px 0 0; border-left: none; border-top: 1px solid rgba(255, 255, 255, .08); }
  .stat-strip > div:first-child { border-top: none; }
  .res-grid > div { padding: 22px 0; border-left: none; border-top: 1px solid rgba(255, 255, 255, .08); }
  .res-grid > div:first-child { padding: 22px 0 0; border-top: none; }
  .core__metric { min-width: 0; width: 100%; }
  .footer__cols { gap: 28px; }
}

/* -----------------------------------------------------------
   Телефоны: длинные CTA переносятся, а не обрезаются;
   мокапы интерфейсов растут по контенту, а не режутся рамкой 4:3
   ----------------------------------------------------------- */
@media (max-width: 620px) {
  .btn {
    white-space: normal;
    max-width: 100%;
    line-height: 1.25;
  }
  .btn__dot { flex: none; }

  .btn--primary,
  .btn--light,
  .btn--ghost,
  .btn--pill-lg,
  .btn--chero {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }
  .btn--ghost { justify-content: center; text-align: center; }

  .btn--primary { padding: 15px 15px 15px 22px; font-size: 15.5px; }
  .btn--light   { padding: 14px 14px 14px 20px; }

  .hero__actions-row { flex-direction: column; align-items: stretch; }
  .out-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .out-payback { text-align: left; }

  .cta-band { flex-direction: column; align-items: flex-start; }

  /* окно-мокап: жёсткие 4:3 обрезали содержимое на узком экране */
  .win { aspect-ratio: auto; }
  .win__body { overflow: visible; }
  .win--tilt-l, .win--tilt-r { transform: none; }

  .chero__row { flex-direction: column; align-items: stretch; }
  .chero__row p { max-width: none; }

  .ring-row { gap: 20px; }
  .kpis, .kpis--wide { gap: 18px; }
}
