/* EXP. — сайт. Токены → база → блоки. Имена токенов общие с сайтом ADAT: green = синий S, red/orange = оранжевый F. */

:root {
  --bg: #f5f5f2;
  --paper: #ffffff;
  --ink: #121316;
  --ink-2: #4a4d52;
  --ink-3: #8b8e93;
  --line: rgba(18, 19, 22, .26);
  --dark: #121316;
  --dark-2: #1c1e22;
  --dark-line: rgba(255, 255, 255, .2);
  --green: #1d3b6e;
  --green-2: #2a5298;
  --green-l: #9cb7e8;
  --red: #c9411a;
  --red-l: #ff5b2e;
  --orange: #ff5b2e;

  --f-head: "Inter Tight", "Arial Black", system-ui, sans-serif;
  --f-body: "Manrope", "Helvetica Neue", Arial, system-ui, sans-serif;

  --wrap: 1290px;
  --gut: clamp(16px, 5vw, 75px);
  --r-xl: clamp(24px, 3vw, 44px);
  --r-l: 22px;
  --r-m: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--f-body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- типографика ---------- */
.h-display {
  font: 700 clamp(64px, 12vw, 180px)/.9 var(--f-head);
  letter-spacing: -.02em;
  margin: 0;
}
.h1 { font: 600 clamp(30px, 4.4vw, 60px)/1.08 var(--f-head); letter-spacing: -.01em; margin: 0; }
.h2 { font: 600 clamp(22px, 2.6vw, 34px)/1.15 var(--f-head); margin: 0; }
.h3 { font: 600 clamp(17px, 1.5vw, 20px)/1.3 var(--f-head); margin: 0; }
.label {
  font: 600 13px/1.35 var(--f-head);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0;
}
.lead { font: 500 clamp(17px, 1.6vw, 21px)/1.5 var(--f-body); color: var(--ink-2); margin: 0; }
.muted { color: var(--ink-2); }
.green { color: var(--green); }
.red { color: var(--red); }

/* тонкая линия над заголовком — главный приём insolver */
.rule { border: 0; border-top: 1px solid var(--line); margin: 0 0 18px; }
.on-dark .rule { border-color: var(--dark-line); }

/* двойная плашка из логотипа */
.bars { display: inline-flex; gap: 8px; align-items: flex-end; }
.bars::before, .bars::after { content: ""; display: block; height: 4px; border-radius: 2px; width: 44px; }
.bars::before { background: var(--red); }
.bars::after { background: var(--green); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent; background: none;
  font: 600 15px/1 var(--f-body); text-decoration: none;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-2); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .btn--ghost:hover, .hero .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--play { padding-left: 8px; gap: 14px; border-color: transparent; }
.btn--play .play {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; transition: transform .3s var(--ease);
}
.btn--play:hover .play { transform: scale(1.08); }
.btn--play .play svg { width: 14px; height: 14px; margin-left: 2px; }

/* ---------- шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: #fff;
  transition: background .35s, color .35s, box-shadow .35s;
}
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; min-width: 0; }
.brand svg { width: 118px; height: auto; flex: none; }
.brand svg .ink { fill: currentColor; transition: fill .35s; }
.brand__tag {
  font: 600 11px/1.3 var(--f-head); text-transform: uppercase; letter-spacing: .03em;
  padding-left: 16px; border-left: 1px solid currentColor; opacity: .9;
}
.nav { display: flex; gap: 8px; }
.nav a {
  font: 600 12px/1 var(--f-head); text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; padding: 9px 16px; border-radius: 999px;
  border: 1px solid currentColor; transition: background .25s, color .25s;
}
.nav a:hover { background: rgba(255, 255, 255, .16); }
.nav a[aria-current="page"] { background: #fff; color: var(--ink); border-color: #fff; }
.header.is-solid { background: rgba(236, 236, 236, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header.is-solid .nav a:hover { background: rgba(0, 0, 0, .06); }
.header.is-solid .nav a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.header--light { color: var(--ink); }
.header--light .nav a:hover { background: rgba(0, 0, 0, .06); }
.header--light .nav a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- заставка при входе ---------- */
html.intro-pending body { overflow: hidden; }
html.intro-pending::after { content: ""; position: fixed; inset: 0; z-index: 199; background: #000; }
.intro {
  position: fixed; inset: 0; z-index: 200; background: #000; color: #e9e9e9;
  display: grid; place-items: center; align-content: center; gap: 22px;
  transition: transform 1s cubic-bezier(.76, 0, .24, 1), border-radius 1s cubic-bezier(.76, 0, .24, 1);
}
.intro.is-out { transform: translateY(-104%); border-radius: 0 0 50% 50% / 0 0 14vh 14vh; }
.intro svg { width: min(460px, 66vw); overflow: visible; }
.intro__l { transform-box: fill-box; transform: translateY(115%); animation: intro-up .9s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .08s); }
.intro__sq { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); animation: intro-sy .7s var(--ease) .7s forwards; }
.intro__bar { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); animation: intro-sx .6s var(--ease) .95s forwards; }
.intro__tag {
  font: 600 12px/1 var(--f-head); letter-spacing: .32em; text-transform: uppercase; color: #8d918e;
  opacity: 0; transform: translateY(8px); animation: intro-fade .8s var(--ease) 1.15s forwards;
}
.intro__line { width: min(460px, 66vw); height: 1px; background: rgba(255, 255, 255, .18); transform-origin: left; transform: scaleX(0); animation: intro-sx 1.3s var(--ease) .2s forwards; }
@keyframes intro-up { to { transform: none; } }
@keyframes intro-sy { to { transform: none; } }
@keyframes intro-sx { to { transform: none; } }
@keyframes intro-fade { to { opacity: 1; transform: none; } }

/* ---------- hero (главная): чертёж логотипа ---------- */
.hero { position: relative; height: 200vh; height: 200svh; background: #e7e7e6; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* сцена: перспектива → камера (скролл) → дрейф → плоскость с сеткой */
.bp { position: absolute; inset: 0; perspective: 1300px; perspective-origin: 50% 38%; }
.bp__cam, .bp__drift, .bp__plane { position: absolute; inset: 0; transform-style: preserve-3d; }
.bp__cam { translate: 12vw -20vh 0; scale: .8; transform:translate3d(0, calc(var(--p, 0) * -14%), calc(var(--p, 0) * 260px)) rotateZ(calc(var(--p, 0) * -7deg)); }
.bp__plane {
  left: 50%; top: 50%; width: 190vw; height: 120vw; margin: -60vw 0 0 -95vw;
  transform: rotateX(50deg) rotateZ(-15deg) translate3d(-6%, 4%, 0);
}
/* «пол» с сеткой лежит ниже всех слоёв; --spread (из JS) раздвигает слои по глубине */
.bp__floor {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: translateZ(calc(-105px * var(--spread, 1)));
  background-image:
    linear-gradient(rgba(22, 22, 22, .085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 22, 22, .085) 1px, transparent 1px);
  background-size: 6vw 6vw;
}
.bp__tile { position: absolute; opacity: 0; background: rgba(255, 255, 255, .8); animation: bp-tile var(--life, 2.4s) ease-in-out forwards; }
.bp__tile--dim { background: rgba(22, 22, 22, .045); }
@keyframes bp-tile { 30%, 55% { opacity: 1; } to { opacity: 0; } }.bp__layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: translateZ(calc(var(--z, 0px) * var(--spread, 1))); }
.bp__layer--shadow { --z: -90px; }
.bp__layer--echo2 { --z: -62px; }
.bp__layer--ghost { --z: -38px; }
.bp__layer--echo1 { --z: -16px; }
.bp__layer--top { --z: 0px; }
.bp__layer--lift { --z: 22px; }
/* постоянное движение внутри планов */
.bp-march > * { animation: bp-march var(--mt, 2.6s) linear infinite; }
@keyframes bp-march { to { stroke-dashoffset: var(--m, -.1); } }
.bp-wander { animation: bp-wander var(--wt, 5s) ease-in-out infinite alternate; }
@keyframes bp-wander { to { transform: translate(var(--dx, 0), var(--dy, 0)); } }
.bp-spin { transform-box: fill-box; transform-origin: center; animation: bp-spin 18s linear infinite; }
@keyframes bp-spin { to { transform: rotate(360deg); } }
/* рябь по заливке красного квадрата и зелёной плашки — только на крупном плане (data-shot из JS) */
.bp-ripple { opacity: 0; transition: opacity .8s ease; }
.bp[data-shot="2"] .bp-ripple { opacity: 1; }
/* точка → EXP·S → EXP·F → точка, пока длится крупный план (3,8 с) */
.bp-app > * { opacity: 0; transform-box: fill-box; transform-origin: center; }
.bp[data-shot="2"] .bp-app__s { animation: bp-app-s 3.8s ease both; }
.bp[data-shot="2"] .bp-app__f { animation: bp-app-f 3.8s ease both; }
@keyframes bp-app-s { 0%, 10% { opacity: 0; scale: .7; } 18%, 46% { opacity: 1; scale: 1; } 54%, 100% { opacity: 0; scale: 1; } }
@keyframes bp-app-f { 0%, 52% { opacity: 0; scale: .6; } 60%, 86% { opacity: 1; scale: 1; } 94%, 100% { opacity: 0; scale: 1; } }
.bp-ring { stroke: rgba(255, 255, 255, .55); stroke-width: .4; transform-box: fill-box; transform-origin: center; animation: bp-ring 3.9s cubic-bezier(.2, .6, .3, 1) var(--rd, 0s) infinite; }
@keyframes bp-ring { from { transform: scale(.12); opacity: .9; } to { transform: scale(2.3); opacity: 0; } }
.bp-sheen { animation: bp-sheen 5.5s ease-in-out var(--sd, 0s) infinite alternate; }
@keyframes bp-sheen { from { translate: 0 0; } to { translate: 62px 0; } }
.js .bp-line { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.bp__cons.is-draw .bp-line { animation: bp-draw var(--t, 1.6s) cubic-bezier(.45, .05, .2, 1) var(--d, 0s) forwards; }
.bp__cons.is-draw .bp-pop { animation: bp-pop .6s cubic-bezier(.3, 1.6, .5, 1) var(--d, 0s) forwards; }
/* «вспышка» для склеек между планами и ухода в белое в конце цикла */
.bp__flash { position: absolute; inset: 0; background: #f7f7f6; pointer-events: none; opacity: 0; }
.js .bp__flash { opacity: 1; }
.bp__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 42% 40%, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(140% 120% at 50% 50%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .16) 100%);
}

/* штрихи рисуются через stroke-dashoffset (pathLength = 1) */
.js .bp-draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.js .bp-fade { opacity: 0; }
.js .bp-pop { transform-box: fill-box; transform-origin: center; transform: scale(0) rotate(-90deg); }
.js .bp-grow { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.js .bp-growx { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); }
/* камеру ведёт JS (main.js → планы); здесь только отрисовка, перезапускается каждый цикл */
.bp.is-play .bp-draw { animation: bp-draw var(--t, 1.8s) cubic-bezier(.45, .05, .2, 1) var(--d, 0s) forwards; }
.bp.is-play .bp-fade { animation: bp-fade 1.4s ease var(--d, 0s) forwards; }
.bp.is-play .bp-grow, .bp.is-play .bp-growx { animation: bp-grow .9s var(--ease) var(--d, 0s) forwards; }
@keyframes bp-draw { to { stroke-dashoffset: 0; } }
@keyframes bp-fade { to { opacity: 1; } }
@keyframes bp-pop { to { transform: none; } }
@keyframes bp-grow { to { transform: none; } }

.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(236, 236, 236, .96) 0%, rgba(236, 236, 236, .78) 26%, rgba(236, 236, 236, 0) 52%);
}
.hero__content {
  position: absolute; left: 0; right: 0; bottom: clamp(40px, 9vh, 104px);
  color: var(--ink);
  transform: translateY(calc(var(--p, 0) * -40px));
  opacity: calc(1 - var(--p, 0) * 1.6);
}
.js .hero__content > * { opacity: 0; transform: translateY(24px); }
.is-ready .hero__content > * { animation: intro-fade 1s var(--ease) forwards; animation-delay: calc(2.6s + var(--i, 0) * .12s); }
.hero__claims { margin: 0; display: grid; gap: 6px; font: 600 clamp(26px, 3.6vw, 52px)/1.12 var(--f-head); letter-spacing: -.01em; }
.hero__claim { display: block; padding-left: .4em; border-left: .14em solid; }
.hero__claim--green { border-color: var(--green-2); }
.hero__claim--red { border-color: var(--red-l); }
.hero__sub { margin: 20px 0 0; max-width: 520px; font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.hero .btn--play .play { background: var(--ink); color: #fff; }
.hero .btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero__scroll {
  position: absolute; right: var(--gut); bottom: clamp(40px, 9vh, 104px);
  color: var(--ink-3); font: 600 11px/1 var(--f-head); text-transform: uppercase; letter-spacing: .12em;
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px;
  opacity: calc(1 - var(--p, 0) * 3);
}
.hero__scroll::after { content: ""; width: 1px; height: 60px; background: currentColor; animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- слои со скруглением (наезжают друг на друга) ---------- */
.sheet {
  position: relative; z-index: 2;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: clamp(28px, 4vw, 56px) 0 clamp(80px, 10vw, 140px);
  margin-top: calc(var(--r-xl) * -1);
}
.sheet--light { background: var(--bg); }
.sheet--paper { background: #f6f6f5; }
.sheet--dark { background: var(--dark); color: #fff; }
.sheet--first { margin-top: -100vh; margin-top: -100svh; }
.sheet--after-hero { margin-top: calc(var(--r-xl) * -1); }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; align-items: start; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head .lead { max-width: 520px; }
.section-head--single { grid-template-columns: 1fr; }

/* ---------- манифест ---------- */
.manifest { padding: clamp(40px, 7vw, 100px) 0 clamp(48px, 7vw, 96px); }
.manifest__text { font: 600 clamp(24px, 3.2vw, 44px)/1.22 var(--f-head); letter-spacing: -.005em; margin: 0; max-width: 1060px; }
.manifest__text .soft { color: var(--ink-3); }
.pay-pill {
  display: inline-flex; align-items: center; gap: .35em; vertical-align: .12em;
  background: var(--red); color: #fff; border-radius: 999px;
  padding: .18em .62em; font-size: .62em; line-height: 1.2; letter-spacing: .03em; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(224, 38, 43, .35);
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--paper); border-radius: var(--r-l); padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.stat__num { font: 700 clamp(28px, 2.8vw, 40px)/1 var(--f-head); letter-spacing: -.01em; white-space: nowrap; }
.stat__num small { font-size: .55em; font-weight: 600; }
.stat__txt { font-size: 14px; line-height: 1.4; color: var(--ink-2); margin: 0; }
.stat::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--green); order: 1; }
.stat:nth-child(2)::before { background: var(--red); }
.stat .stat__txt { order: 2; }

/* ---------- как мы работаем (тёмная секция) ---------- */
.flow { display: grid; grid-template-columns: 3fr 1fr 1fr; gap: 18px; }
.flow__group { display: flex; flex-direction: column; gap: 14px; }
.flow__cap {
  display: flex; align-items: center; gap: 12px;
  font: 600 12px/1.2 var(--f-head); text-transform: uppercase; letter-spacing: .05em;
}
.flow__cap::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .45; }
.flow__cap--red { color: var(--red-l); }
.flow__cap--green { color: var(--green-l); }
.flow__cap--grey { color: rgba(255, 255, 255, .6); }
.flow__steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 18px; flex: 1; }
.step {
  position: relative; min-height: 340px; border-radius: var(--r-l); overflow: hidden;
  background: var(--dark-2); padding: 24px; display: flex; flex-direction: column;
  isolation: isolate;
}
.step__tex { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.step__tex svg { width: 100%; height: 100%; }
.step__num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font: 700 15px/1 var(--f-head); background: var(--red); color: #fff;
}
.step--adat .step__num { background: var(--green-2); }
.step--pay .step__num { background: #5a5f5b; }
.step__title { margin-top: auto; padding-bottom: 14px; border-bottom: 1px solid var(--dark-line); }
.step__text { margin: 14px 0 0; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .7); }
.step--adat { background: linear-gradient(160deg, #1d4a29 0%, #12261a 100%); }
.step--adat .step__title { border-color: rgba(171, 214, 150, .4); }

.compare { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1fr minmax(240px, 340px); gap: 28px; align-items: center; }
.compare__rows { display: grid; gap: 14px; }
.compare__cap { font: 600 12px/1 var(--f-head); text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .6); margin-bottom: 8px; }
.bar { height: 60px; border-radius: 12px; display: flex; overflow: hidden; font: 700 clamp(15px, 1.6vw, 22px)/1 var(--f-head); }
.bar > span { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; white-space: nowrap; }
.bar__before { background: linear-gradient(90deg, #b51c20, var(--red)); width: 100%; }
.bar__after { background: linear-gradient(90deg, #165c28, var(--green-2)); width: 70%; }
.bar__save { background: linear-gradient(90deg, var(--orange), #f5a04a); width: 30%; justify-content: center !important; position: relative; }
.bar__save em { font-style: normal; }
.bar .grow { transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease); }
.is-in .bar .grow { transform: scaleX(1); }
.is-in .bar .grow.d1 { transition-delay: .35s; }
.compare__legend { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.compare__legend span:last-child { width: 30%; text-align: center; }
.perk { border-radius: var(--r-l); background: var(--dark-2); padding: 22px; display: grid; gap: 8px; border: 1px solid var(--dark-line); }
.perk + .perk { margin-top: 14px; }
.perk__t { font: 600 15px/1.25 var(--f-head); }
.perk__t--orange { color: #f5a04a; }
.perk p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .72); }
.checks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--green-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; flex: none; }

/* ---------- CTA ---------- */
.cta {
  margin-top: clamp(40px, 6vw, 72px);
  border-radius: var(--r-l); padding: clamp(24px, 3.5vw, 44px);
  background: linear-gradient(110deg, #eef6ea 0%, #ffffff 55%, #fff4f3 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border: 1px solid rgba(31, 122, 54, .15);
}
.cta__t { font: 600 clamp(20px, 2.2vw, 30px)/1.2 var(--f-head); margin: 0; }
.cta p { margin: 6px 0 0; color: var(--ink-2); }

/* ---------- футер ---------- */
.footer { background: var(--bg); padding: 0 0 36px; position: relative; z-index: 3; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr auto; gap: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--green); }
.footer__nav a { font: 600 12px/1 var(--f-head); text-transform: uppercase; letter-spacing: .04em; }
.footer__contacts { font-size: 15px; }
.footer__contacts li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contacts svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--green); }
.footer__brand { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.footer__brand svg { width: 112px; }
.footer__copy { font: 600 11px/1.5 var(--f-head); text-transform: uppercase; letter-spacing: .04em; }
.footer__copy span { display: block; color: var(--ink-3); }

/* ---------- EXP: модули в тексте ---------- */
.mod { display: inline-block; padding: .02em .38em .06em; border-radius: .22em; color: #fff; letter-spacing: -.01em; }
.mod--s { background: var(--green); }
.mod--f { background: var(--orange); color: var(--ink); }

/* ---------- EXP: два приложения ---------- */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.app-card { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(26px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 18px; min-height: 560px; }
.app-card--s { background: linear-gradient(155deg, #24467f 0%, #1d3b6e 55%, #172f58 100%); color: #f5f5f2; }
.app-card--f { background: linear-gradient(155deg, #ff6a40 0%, #ff5b2e 55%, #f24e22 100%); color: var(--ink); }
.app-card__top { display: flex; align-items: center; gap: 22px; }
.app-card__name { font: 800 clamp(34px, 3.6vw, 52px)/1 var(--f-head); letter-spacing: -.02em; margin: 0; }
.app-card__kind { margin: 8px 0 0; font: 600 15px/1.3 var(--f-head); letter-spacing: .04em; text-transform: uppercase; opacity: .82; }
.app-card__text { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 440px; opacity: .92; }
.app-card__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.app-card__list li { font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.app-card--f .app-card__list li { background: rgba(18, 19, 22, .1); }
.app-ico { position: relative; flex: none; width: 96px; height: 96px; border-radius: 26px; display: grid; place-items: center; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.app-ico--s { background: #1d3b6e; color: #f5f5f2; border: 2px solid rgba(255, 255, 255, .25); }
.app-ico--f { background: #ff5b2e; color: #121316; border: 2px solid rgba(18, 19, 22, .2); }
.app-ico b { font: 800 56px/1 var(--f-head); margin-top: 14px; }
.app-ico small { position: absolute; left: 14px; top: 12px; font: 800 13px/1 var(--f-head); display: flex; align-items: center; gap: 4px; }
.app-ico small i { width: 5px; height: 5px; background: currentColor; display: block; }
/* условные экраны */
.mock { margin-top: auto; align-self: flex-end; width: min(380px, 100%); border-radius: 18px; background: #f5f5f2; box-shadow: 0 30px 60px rgba(0, 0, 0, .28); transform: rotate(-3deg) translateY(10px); transition: transform .6s var(--ease); }
.app-card:hover .mock { transform: rotate(-1deg) translateY(0); }
.mock--s { padding: 16px; display: grid; gap: 10px; }
.mock__bar { display: flex; gap: 6px; padding-bottom: 6px; }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6d7d2; }
.mock__bar i:first-child { background: #ff5b2e; }
.mock__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border-radius: 10px; }
.mock__row span { height: 9px; width: 58%; border-radius: 5px; background: #dfe1dc; }
.mock__row em { height: 9px; width: 20%; border-radius: 5px; background: #c4ccdb; }
.mock__total { display: flex; justify-content: space-between; align-items: center; padding: 14px; border-radius: 12px; background: #1d3b6e; color: #fff; font: 700 14px/1 var(--f-head); }
.mock__total b { height: 12px; width: 34%; border-radius: 6px; background: #ff5b2e; }
.mock--f { padding: 14px; border: 10px solid #121316; border-radius: 26px; }
.mock__room { position: relative; height: 210px; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, #e9e5dc 0%, #e9e5dc 68%, #cbbfae 68%, #b9ab98 100%); }
.mock__wall { position: absolute; left: 10%; top: 14%; width: 30%; height: 40%; border-radius: 4px; background: linear-gradient(160deg, #dfe6ef, #c3cfde); box-shadow: inset 0 0 0 5px #fff; }
.mock__item { position: absolute; left: 55%; top: 16%; width: 24%; height: 58%; border-radius: 4px; background: #121316; outline: 2px dashed #ff5b2e; outline-offset: 6px; animation: mock-fit 3.6s ease-in-out infinite alternate; }
.mock__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 32%; background: repeating-linear-gradient(100deg, rgba(0, 0, 0, .05) 0 2px, transparent 2px 28px); }
@keyframes mock-fit { from { background: #121316; } 50% { background: #8a6f55; } to { background: #f5f5f2; } }

/* ---------- EXP: три шага ---------- */
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step3 { position: relative; border-radius: var(--r-l); background: var(--dark-2); border: 1px solid var(--dark-line); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; min-height: 360px; }
.step3__n { font: 700 14px/1 var(--f-head); letter-spacing: .08em; color: rgba(255, 255, 255, .5); }
.step3__word { margin: auto 0 0; font: 800 clamp(40px, 4.6vw, 68px)/1 var(--f-head); letter-spacing: -.03em; }
.step3__tag { align-self: flex-start; font: 700 13px/1 var(--f-head); padding: 7px 12px; border-radius: 8px; background: rgba(255, 255, 255, .12); }
.step3__tag--s { background: #1d3b6e; }
.step3__tag--f { background: #ff5b2e; color: #121316; }
.step3 p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 16px; line-height: 1.5; }
.step3--accent { background: #f5f5f2; color: var(--ink); border-color: transparent; }
.step3--accent .step3__n { color: var(--ink-3); }
.step3--accent .step3__word { color: var(--orange); }
.step3--accent .step3__tag { background: var(--ink); color: #f5f5f2; }
.step3--accent p { color: var(--ink-2); }

/* ---------- EXP: контакты ---------- */
.contact2 { display: grid; grid-template-columns: 5fr 7fr; gap: 18px; }
.contact2__card { position: relative; background: var(--paper); border-radius: var(--r-xl); padding: clamp(26px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 10px; }
.contact2__accent { width: 44px; height: 4px; border-radius: 2px; background: var(--orange); margin-bottom: 14px; }
.contact2__name { margin: 0; font: 800 clamp(28px, 3vw, 40px)/1.1 var(--f-head); letter-spacing: -.02em; }
.contact2__role { margin: 0 0 18px; color: var(--ink-2); }
.contact2__list { margin: auto 0 0; display: grid; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact2__list dt { font: 700 12px/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.contact2__list dd { margin: 6px 0 0; font: 700 clamp(18px, 1.7vw, 22px)/1.2 var(--f-body); }
.contact2__list a { text-decoration: none; }
.contact2__list a:hover { color: var(--green-2); }
.contact2__cta { border-radius: var(--r-xl); background: var(--dark); color: #f5f5f2; padding: clamp(26px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 14px; justify-content: flex-end; min-height: 380px; position: relative; overflow: hidden; }
.contact2__cta::before { content: ""; position: absolute; right: clamp(26px, 3.4vw, 48px); top: clamp(26px, 3.4vw, 48px); width: 54px; height: 54px; border-radius: 12px; background: var(--orange); }
.contact2__big { margin: 0; font: 800 clamp(32px, 4vw, 58px)/1.05 var(--f-head); letter-spacing: -.03em; }
.contact2__big span { color: var(--orange); }
.contact2__cta p:not(.contact2__big) { margin: 0; color: rgba(245, 245, 242, .7); font-size: 18px; }
.contact2__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.contact2__cta .btn--ghost { color: #f5f5f2; }
.contact2__cta .btn--ghost:hover { background: #f5f5f2; color: var(--ink); border-color: #f5f5f2; }
.btn--light { background: #f5f5f2; color: var(--ink); }
.btn--light:hover { background: var(--orange); color: var(--ink); }

/* ---------- появление при скролле ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .rv { opacity: 1; transform: none; }
  .js .bp-draw { stroke-dashoffset: 0; }
  .js .bp-fade, .js .bp__plane, .js .hero__content > * { opacity: 1; transform: none; }
  .js .bp-pop, .js .bp-grow, .js .bp-growx { transform: none; }
  .js .bp__flash { opacity: 0; }
  .js .bp-line { stroke-dashoffset: 0; }
  .bp__tile { display: none; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow__group:first-child { grid-column: 1 / -1; }
  .results { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { min-height: 320px; }
  .focus { grid-template-columns: 1fr; }
  .year { grid-template-columns: 120px 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
}
@media (max-width: 860px) {
  .apps, .steps3, .contact2 { grid-template-columns: 1fr; }
  .app-card { min-height: 0; }
  .step3 { min-height: 0; }
  .step3__word { margin-top: 18px; }

  .brand__tag { display: none; }
  .section-head { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr; }
  .versus { grid-template-columns: 1fr; }
  .reg-top { grid-template-columns: 1fr; }
  .access { grid-template-columns: 1fr; }
  .app__kpis { grid-template-columns: repeat(2, 1fr); }
  .pains { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header__in { height: 68px; }
  .brand svg { width: 92px; }
  .nav { gap: 6px; }
  .nav a { padding: 8px 11px; font-size: 10.5px; }
  .nav a:not(:last-child) { display: none; }
  .hero__scroll { display: none; }
  .hero__shade { background: linear-gradient(0deg, rgba(236, 236, 236, .97) 0%, rgba(236, 236, 236, .86) 45%, rgba(236, 236, 236, 0) 70%); }
  .bp__plane { width: 300vw; height: 190vw; margin: -95vw 0 0 -150vw; }
  .bp__floor { background-size: 9vw 9vw; }
  .bp { perspective-origin: 50% 30%; }
  .bp__cam { translate: 12vw -18vh 0; scale: .64; }
  .hero__actions .btn { flex: 1 1 auto; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .why { grid-template-columns: 1fr; }
  .why__card { min-height: 0; }
  .stat { padding: 18px 16px; }
  .stat__num { font-size: 24px; }
  .flow { grid-template-columns: 1fr; }
  .flow__steps { grid-auto-flow: row; }
  .step { min-height: 220px; }
  .bar { height: 50px; font-size: 14px; }
  .bar > span { padding: 0 12px; }
  .kpis { grid-template-columns: 1fr; }
  .kpi { min-height: 0; }
  .chart__plot { min-height: 240px; }
  .chart__x { font-size: 11px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 260px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logos li { height: 84px; }
  .year { grid-template-columns: 1fr; }
  .year__stack { height: 220px; flex-direction: column; }
  .gauge__legend { grid-template-columns: 1fr; }
  .note { flex-direction: column; align-items: flex-start; }
  .app__bar { flex-wrap: wrap; gap: 10px 16px; }
  .app__user { margin-left: 0; }
  .app__head b { font-size: 20px; }
  .app__nav span { padding: 7px 9px; font-size: 12px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { flex-direction: column; align-items: flex-start; }
  .page-hero { padding-top: 120px; }
  .page-hero__bg { width: 110vw; right: -40%; top: 60px; opacity: .3; }
}
