/* ===== Revena — стили сайта ===== */

/* --- Шрифты (лежат локально в assets/fonts) --- */
@font-face {
  font-family: "Wix Madefor Display";
  src: url("../fonts/wix-madefor-cyrillic.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Wix Madefor Display";
  src: url("../fonts/wix-madefor-latin-ext.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+20A0-20AB, U+20AD-20C0, U+2113;
}
@font-face {
  font-family: "Wix Madefor Display";
  src: url("../fonts/wix-madefor-latin.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2212;
}

/* --- Переменные --- */
:root {
  --bg: #0B130F;
  --panel: #131D18;
  --panel-2: #192420;
  --panel-3: #224538;
  --green: #00FF94;
  --green-soft: #73FFC4;
  --green-deep: #0D3826;
  --on-green: #06281A;
  --text: #FFFFFF;
  --text-2: rgba(255, 255, 255, .7);
  --muted: #8FA097;
  --line: rgba(255, 255, 255, .08);

  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 20px;
  --wrap: 1280px;
  --pad: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Wix Madefor Display", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-num: "Outfit", "Wix Madefor Display", system-ui, sans-serif;
}

/* --- База --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--green); color: var(--on-green); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--tight { padding: clamp(32px, 5vw, 64px) 0; }

.h1 {
  font-size: clamp(36px, 6.2vw, 84px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -.025em;
  background: linear-gradient(100deg, #fff 30%, #B6D2C4);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(26px, 3.6vw, 48px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h3 { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.25; font-weight: 600; }
.lead { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.45; color: var(--text-2); font-weight: 500; max-width: 34em; }
.muted { color: var(--muted); }
.section-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 56px); }
.section-head .lead { flex-basis: 100%; }

/* --- Кнопки --- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 0 32px;
  border-radius: 40px;
  font-weight: 600; font-size: 16px; line-height: 1;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
  overflow: hidden;
}
.btn--green { background: var(--green); color: var(--on-green); }
.btn--white { background: #fff; color: #0B130F; }
.btn--dark { background: rgba(0, 0, 0, .35); color: #fff; }
.btn--sm { min-height: 48px; padding: 0 24px; }
.btn:hover { transform: translateY(-2px); }
.btn--green:hover { box-shadow: 0 10px 40px rgba(0, 255, 148, .35); }
.btn--white:hover { box-shadow: 0 10px 40px rgba(255, 255, 255, .18); }
.btn:active { transform: translateY(0) scale(.98); }
/* блик, пробегающий по зелёной кнопке */
.btn--green::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  transform: translateX(-120%);
}
.btn--green:hover::after { transform: translateX(120%); transition: transform .7s var(--ease); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* --- Шапка --- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 16px 0;
  transition: padding .3s var(--ease), background-color .3s, backdrop-filter .3s;
}
.header.is-scrolled {
  padding: 10px 0;
  background: rgba(11, 19, 15, .72);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 24px; width: auto; }
.nav {
  display: flex; align-items: center; gap: 2px;
  padding: 6px; border-radius: 54px;
  background: rgba(42, 59, 49, .7);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.nav a {
  padding: 12px 20px; border-radius: 40px;
  font-weight: 600; font-size: 15px; line-height: 20px; white-space: nowrap;
  transition: background-color .25s, color .25s;
}
.nav a:hover { background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { background: rgba(0, 0, 0, .4); color: var(--green); }
.header__cta { display: flex; align-items: center; gap: 12px; }
.burger {
  display: none; width: 48px; height: 48px; border-radius: 16px;
  background: rgba(42, 59, 49, .7);
  align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .3s var(--ease), background-color .2s;
}
.burger span { position: relative; }
.burger span::before { position: absolute; top: -7px; }
.burger span::after { position: absolute; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* мобильное меню */
.mobile-menu {
  position: fixed; z-index: 49; top: 76px; left: 16px; right: 16px;
  padding: 16px; border-radius: 24px;
  background: rgba(30, 44, 37, .92);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  display: grid; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-12px) scale(.98);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; justify-content: center;
  height: 48px; border-radius: 40px; background: rgba(0, 0, 0, .3);
  font-weight: 600;
}
.mobile-menu a[aria-current="page"] { color: var(--green); }
.mobile-menu .btn { margin-top: 8px; }

/* --- Первый экран --- */
.hero { position: relative; padding: clamp(120px, 14vw, 190px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero--page { padding-bottom: clamp(24px, 4vw, 48px); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.hero__bg::before, .hero__bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px);
}
.hero__bg::before {
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; right: -12%; top: -30%;
  background: radial-gradient(circle, rgba(0, 255, 148, .32), transparent 65%);
  animation: drift 16s ease-in-out infinite alternate;
}
.hero__bg::after {
  width: 45vw; height: 45vw; max-width: 700px; max-height: 700px; left: -15%; bottom: -30%;
  background: radial-gradient(circle, rgba(13, 120, 80, .45), transparent 65%);
  animation: drift 20s ease-in-out infinite alternate-reverse;
}
.hero__dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000, transparent 75%);
}
@keyframes drift { to { transform: translate3d(-6%, 8%, 0) scale(1.12); } }

.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__grid--single { grid-template-columns: minmax(0, 1fr); }
.hero__text > * + * { margin-top: clamp(20px, 2.4vw, 32px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }

.pay-badge {
  display: inline-flex; gap: 6px; padding: 6px; border-radius: 54px;
  background: rgba(42, 59, 49, .6);
}
.pay-badge span {
  display: flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 22px; border-radius: 200px; background: rgba(46, 83, 70, .75);
}
.pay-badge img { height: 22px; width: auto; }
.pay-badge span:first-child img { height: 28px; }

/* анимация появления первого экрана */
.js .hero [data-load] { opacity: 0; transform: translateY(28px); }
.js.is-loaded .hero [data-load] {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms + 100ms);
}

/* --- Орбита (визуал первого экрана) --- */
.orbit { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-left: auto; }
.orbit__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(0, 255, 148, .22);
  animation: spin 40s linear infinite;
}
.orbit__ring--2 { inset: 16%; border-color: rgba(0, 255, 148, .32); animation-duration: 28s; animation-direction: reverse; }
.orbit__ring--3 { inset: 31%; border-style: dashed; border-color: rgba(0, 255, 148, .4); animation-duration: 60s; }
.orbit__chip {
  position: absolute; top: 50%; left: 50%;
  width: 76px; height: 76px; margin: -38px;
  transform: rotate(var(--a)) translateX(var(--rad)) rotate(calc(var(--a) * -1));
}
.orbit__chip i {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; border-radius: 24px;
  background: rgba(25, 36, 32, .92); border: 1px solid rgba(0, 255, 148, .28);
  box-shadow: 0 0 32px rgba(0, 255, 148, .16);
  animation: spin 40s linear infinite reverse;
  font-style: normal;
}
.orbit__ring--2 .orbit__chip i { animation-duration: 28s; animation-direction: normal; }
.orbit__chip img { max-width: 52px; max-height: 34px; }
.orbit__chip b { font: 600 30px/1 var(--font-num); color: var(--green); }
.orbit__ring .orbit__chip { --rad: calc(min(520px, 100cqw) / 2); }
.orbit { container-type: inline-size; }
.orbit__ring--2 .orbit__chip { --rad: calc(min(520px, 100cqw) * .34); }
.orbit__core {
  position: absolute; inset: 31%; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #1d5b43, #0a2a1d 70%);
  box-shadow: 0 0 0 1px rgba(0, 255, 148, .35), 0 0 90px rgba(0, 255, 148, .4);
  animation: float 6s ease-in-out infinite;
}
.orbit__core img { position: absolute; width: 150%; max-width: none; left: -8%; top: 4%; }
.orbit__pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(0, 255, 148, .5);
  animation: pulse-in 3.6s cubic-bezier(.5, 0, .8, .5) infinite;
  opacity: 0;
}
.orbit__pulse:nth-of-type(2) { animation-delay: 1.2s; }
.orbit__pulse:nth-of-type(3) { animation-delay: 2.4s; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes pulse-in {
  0% { transform: scale(1.05); opacity: 0; }
  20% { opacity: .7; }
  100% { transform: scale(.38); opacity: 0; }
}

/* --- Карточки --- */
.card {
  position: relative; overflow: hidden;
  padding: clamp(20px, 2.6vw, 32px);
  border-radius: var(--r-xl);
  background: rgba(25, 36, 32, .8);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s;
}
/* подсветка, которая следует за курсором */
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 255, 148, .14), transparent 60%);
  transition: opacity .4s;
}
.card:hover { border-color: rgba(0, 255, 148, .28); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card--black { background: #000; }
.card--green { background: var(--green); color: var(--on-green); border-color: transparent; }
.card--grad { background: linear-gradient(135deg, rgba(25, 36, 32, .64), rgba(13, 56, 38, .8)); }

/* в SVG-иконках плитка 60px нарисована внутри поля 124px со свечением */
.icon-tile {
  width: 124px; height: 124px; max-width: none; flex: none; margin: -32px;
  transition: transform .5s var(--ease), filter .5s;
}
.card:hover .icon-tile { transform: translateY(-4px) rotate(-6deg); filter: drop-shadow(0 0 18px rgba(0, 255, 148, .45)); }

.features { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.features .card { grid-column: span 2; display: flex; flex-direction: column; gap: clamp(16px, 2.4vw, 32px); min-height: 180px; justify-content: space-between; }
.features .card:nth-child(n+4) { grid-column: span 3; }
.features--3 .card:nth-child(n+4) { grid-column: span 2; }
.features .card p { margin-top: 8px; color: var(--muted); font-weight: 500; }

/* --- Цифры --- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(200px, auto)); gap: clamp(12px, 1.6vw, 20px); }
.stat { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.stat__num { font: 400 clamp(36px, 4.6vw, 60px)/1.1 var(--font-num); letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat__label { font-weight: 500; font-size: clamp(14px, 1.5vw, 20px); color: var(--muted); }
.stat img { width: 80px; }
.stat--a { grid-area: 1 / 1; }
.stat--b { grid-area: 1 / 2 / 3 / 3; }
.stat--c { grid-area: 2 / 3; }
.stat--d { grid-area: 1 / 4 / 3 / 5; font-weight: 500; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.3; }
.stat--d .arrow { width: 72px; transition: transform .5s var(--ease); }
.stat--d:hover .arrow { transform: translate(6px, -8px); }
.rings-anim { animation: breathe 5s ease-in-out infinite; transform-origin: center; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }

/* --- Шаги --- */
.steps-panel {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(28px, 6vw, 96px) clamp(20px, 6vw, 96px);
  padding-bottom: clamp(56px, 9vw, 150px);
  background: linear-gradient(180deg, #0B130F 0%, #0A2A1D 45%, #0B6B45 72%, #00C774 90%, #73FFC4 100%);
}
.steps-panel::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -60%; height: 100%;
  background: radial-gradient(closest-side, rgba(115, 255, 196, .55), transparent);
  animation: drift 14s ease-in-out infinite alternate; pointer-events: none;
}
.steps-panel > * { position: relative; z-index: 1; }
.chip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 20px 8px 8px; border-radius: 50px; background: #000;
  font-weight: 500; font-size: 15px; line-height: 1.25;
}
.chip img { width: 28px; height: 28px; flex: none; }
.chip--fade { background: linear-gradient(90deg, #000, transparent); padding-right: 24px; width: 100%; min-height: 48px; }
.chip--fade img { width: auto; height: 32px; }

.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps::before, .steps::after {
  content: ""; position: absolute; top: 30px; left: 30px; right: 12%; height: 1px;
  background: rgba(255, 255, 255, .25);
}
.steps::after { background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 2s var(--ease) .3s; box-shadow: 0 0 12px var(--green); }
.steps.is-in::after { transform: scaleX(1); }
.steps li { position: relative; z-index: 1; counter-increment: step; display: flex; flex-direction: column; gap: 24px; font-weight: 600; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.25; padding-right: 12px; }
.steps li::before {
  content: "0" counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 20px; flex: none;
  background: var(--green); color: #000;
  font: 600 24px/1 var(--font-num);
}
.steps li span { display: block; margin-top: 8px; font-weight: 500; font-size: 15px; color: var(--text-2); }

/* --- Две колонки --- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.duo .card { padding: clamp(20px, 3.4vw, 48px); display: flex; flex-direction: column; gap: clamp(20px, 3vw, 40px); }
.duo .card > div > * + * { margin-top: 16px; }
.duo .btn { align-self: flex-start; margin-top: auto; }
.list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }

/* --- Условия --- */
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.terms .card { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 146px; }
.terms img:not(.icon-tile) { height: 72px; width: auto; flex: none; transition: transform .6s var(--ease); }
.terms .card:hover img:not(.icon-tile) { transform: scale(1.12) rotate(-6deg); }

/* --- Призыв --- */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 56px);
  background: linear-gradient(90deg, rgba(22, 33, 29, .9), rgba(13, 65, 43, .9));
  border: 1px solid var(--line);
  min-height: 340px;
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
}
.cta > * { position: relative; z-index: 1; max-width: 760px; }
.cta__coin { position: absolute; z-index: 0; right: -20px; bottom: 0; width: min(467px, 42%); max-width: none; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 0 60px rgba(0, 255, 148, .35)); }
.cta .hero__actions { padding-top: 16px; }

/* --- Вопросы --- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { border-radius: var(--r-lg); background: rgba(25, 36, 32, .8); border: 1px solid var(--line); transition: border-color .3s; }
.faq details[open] { border-color: rgba(0, 255, 148, .3); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; font-weight: 600; font-size: clamp(16px, 1.5vw, 20px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--panel-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300FF94' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 26px 24px; color: var(--text-2); font-weight: 500; max-width: 60ch; }

/* --- Мини-кабинет (иллюстрация) --- */
.cabinet { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.cabinet__text > * + * { margin-top: 20px; }
.mock { padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r-xl); background: #000; border: 1px solid var(--line); }
.mock__top { display: flex; gap: 8px; margin-bottom: 28px; }
.mock__top i { width: 12px; height: 12px; border-radius: 50%; background: var(--panel-3); }
.mock__title { display: flex; align-items: center; justify-content: space-between; font-weight: 600; margin-bottom: 20px; }
.mock__title span { font-size: 13px; color: var(--muted); font-weight: 500; }
.bars { display: flex; align-items: flex-end; gap: clamp(6px, 1.2vw, 14px); height: 200px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.bars i {
  flex: 1; height: var(--h); border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--green), rgba(0, 255, 148, .15));
  transform-origin: bottom; transform: scaleY(.04);
  transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms);
}
.mock.is-in .bars i { transform: scaleY(1); }
.rows { display: grid; gap: 10px; margin-top: 20px; }
.rows div { display: flex; align-items: center; gap: 12px; }
.rows b { width: 32px; height: 32px; border-radius: 10px; background: var(--panel-3); flex: none; }
.rows i { height: 10px; border-radius: 6px; background: var(--panel-2); flex: 1; }
.rows i:last-child { flex: 0 0 18%; background: rgba(0, 255, 148, .35); }

/* --- Калькулятор агента --- */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(12px, 1.6vw, 20px); }
.calc__in { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.calc__in label { font-weight: 500; color: var(--text-2); display: block; }
.calc__turn { font: 500 clamp(30px, 4.4vw, 56px)/1.1 var(--font-num); margin-top: 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__out { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.calc__sum { font: 600 clamp(36px, 5.4vw, 72px)/1 var(--font-num); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 10px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; margin: 0;
  background: linear-gradient(90deg, var(--green) var(--p, 50%), rgba(255, 255, 255, .12) var(--p, 50%));
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 8px solid var(--green);
  box-shadow: 0 0 0 6px rgba(0, 255, 148, .2); transition: box-shadow .2s;
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 8px solid var(--green);
  box-shadow: 0 0 0 6px rgba(0, 255, 148, .2);
}
input[type="range"]:hover::-webkit-slider-thumb { box-shadow: 0 0 0 10px rgba(0, 255, 148, .25); }

/* --- Контакты --- */
.tg-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: clamp(24px, 5vw, 64px); }
.tg-card__handle { font: 600 clamp(32px, 6vw, 76px)/1.05 var(--font-num); letter-spacing: -.02em; word-break: break-word; }
.tg-card__handle:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.tg-icon { width: clamp(96px, 14vw, 180px); aspect-ratio: 1; border-radius: 50%; background: var(--on-green); display: flex; align-items: center; justify-content: center; animation: float 6s ease-in-out infinite; }
.tg-icon svg { width: 52%; height: 52%; color: var(--green); margin-left: -6%; }

/* --- Подвал --- */
.footer { padding: 0 0 clamp(16px, 3vw, 40px); }
.footer__box { border-radius: var(--r-xl); background: #000; padding: clamp(24px, 4vw, 48px); display: grid; gap: clamp(28px, 4vw, 56px); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__nav a { padding: 12px 20px; border-radius: 40px; background: #1F2D28; font-weight: 600; transition: background-color .25s, color .25s; }
.footer__nav a:hover { background: var(--green); color: var(--on-green); }
.footer__contact small { display: block; color: #989898; font-size: 16px; font-weight: 500; }
.footer__contact a { font-weight: 500; font-size: clamp(24px, 3vw, 32px); line-height: 1.25; transition: color .25s; }
.footer__contact a:hover { color: var(--green); }
.footer__bottom { padding-top: 24px; border-top: 1px solid #242726; color: #989898; font-size: 14px; font-weight: 500; }

/* --- Появление при прокрутке --- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); }
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* --- Адаптив --- */
@media (max-width: 1080px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: flex; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .stat--a, .stat--b, .stat--c, .stat--d { grid-area: auto; min-height: 200px; }
  .stat--b img { width: 60px; }
  .steps, .steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .terms { grid-template-columns: 1fr; }
}
@media (min-width: 1081px) { .mobile-menu { display: none; } }
@media (max-width: 860px) {
  .hero__grid, .cabinet, .calc { grid-template-columns: minmax(0, 1fr); }
  .orbit { max-width: 340px; margin: 8px auto 0; }
  .orbit__chip { width: 56px; height: 56px; margin: -28px; }
  .orbit__chip i { border-radius: 18px; }
  .orbit__chip img { max-width: 36px; max-height: 24px; }
  .orbit__chip b { font-size: 22px; }
  .features .card, .features .card:nth-child(n+4) { grid-column: span 6; flex-direction: row; align-items: center; justify-content: flex-start; min-height: 0; border-radius: var(--r-lg); }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .card, .cta, .steps-panel, .footer__box, .mock { border-radius: 30px; }
  .cta__coin { width: 62%; opacity: .35; }
  .tg-card { grid-template-columns: minmax(0, 1fr); }
  .tg-icon { order: -1; }
}
@media (max-width: 560px) {
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat--a, .stat--b, .stat--c { flex-direction: row; align-items: flex-start; min-height: 0; }
  .stat--d { min-height: 0; flex-direction: row-reverse; align-items: flex-start; }
  .stat img, .stat--b img { width: 56px; }
  .stat--b img { width: auto; height: 56px; rotate: 90deg; margin: 0 28px 0 0; }
  .stat--d .arrow { width: 40px; }
  .steps, .steps--3 { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .steps li { flex-direction: row; align-items: center; gap: 16px; }
  .steps li::before { box-shadow: none; }
  .pay-badge span { height: 42px; padding: 0 18px; }
  .pay-badge img { height: 16px; }
  .pay-badge span:first-child img { height: 20px; }
  .chip--fade { min-height: 52px; }
}

/* --- Уважение к настройке «меньше движения» --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero [data-load] { opacity: 1; transform: none; }
  .steps::after { transform: scaleX(1); }
  .bars i { transform: none; }
}
