/* Слайдыч — лендинг. Палитра и типографика по корпоративному шаблону Интер РАО. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-var.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #000f26;
  --navy-900: #001a3d;
  --navy-800: #00244f;
  --navy: #003264;
  --navy-500: #2a5c9a;
  --navy-300: #7fa2cc;
  --orange: #f18400;
  --orange-400: #ff9a1f;
  --orange-200: #ffc27a;
  --cyan: #1eb4e6;
  --ink: #0b1f3a;
  --muted: #56677f;
  --line: #e3e8f0;
  --bg: #f4f6fa;
  --white: #ffffff;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-lg: 0 30px 80px -24px rgba(0, 26, 61, 0.45);
  --shadow-md: 0 18px 40px -18px rgba(0, 26, 61, 0.28);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy-900);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--orange-200);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- Кнопки ---------- */

.btn {
  --btn-pad: 16px 28px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-pad);
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    background-color 0.25s;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease-out);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange-400), var(--orange));
  color: var(--white);
  box-shadow: 0 12px 30px -10px rgba(241, 132, 0, 0.75);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(241, 132, 0, 0.85);
}

.btn-orange:active {
  transform: translateY(0) scale(0.98);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-small {
  --btn-pad: 10px 20px;
  font-size: 14px;
}

/* Блик, пробегающий по кнопке */
.btn-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: shine 3.8s var(--ease-out) infinite 1.2s;
}

@keyframes shine {
  0%,
  55% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

/* ---------- Шапка ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition:
    background-color 0.35s,
    box-shadow 0.35s,
    backdrop-filter 0.35s;
}

.site-header.is-scrolled {
  background: rgba(0, 26, 61, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  height: 30px;
  width: auto;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav a:hover {
  color: var(--white);
}

.nav a:hover::after {
  transform: scaleX(1);
}

/* ---------- Типографика секций ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--orange-400);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.eyebrow-dark {
  color: var(--orange);
}

.text-gradient {
  background: linear-gradient(100deg, var(--orange-200) 0%, var(--orange-400) 45%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head h2,
.numbers h2,
.cta h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 800;
}

.section-lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

/* ---------- Появление при прокрутке ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

/* ---------- Герой ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 140px;
  color: var(--white);
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(30, 180, 230, 0.16), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(241, 132, 0, 0.12), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  overflow: hidden;
}

.wave-canvas {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.hero-wave {
  bottom: 0;
  height: min(46vh, 380px);
  opacity: 0.95;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: float 14s ease-in-out infinite;
}

.hero-glow-a {
  width: 420px;
  height: 420px;
  top: -120px;
  right: 8%;
  background: rgba(30, 180, 230, 0.18);
}

.hero-glow-b {
  width: 360px;
  height: 360px;
  bottom: 10%;
  left: -120px;
  background: rgba(241, 132, 0, 0.16);
  animation-delay: -7s;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(30px, -26px, 0);
  }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 68px);
  font-weight: 800;
}

.lead {
  margin-top: 24px;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.5vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(241, 132, 0, 0.18);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.scroll-hint span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--white);
  animation: scroll-dot 1.8s var(--ease-out) infinite;
}

@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Живой макет в герое ---------- */

.hero-stage {
  perspective: 1400px;
}

.stage {
  --rx: 0deg;
  --ry: -9deg;
  position: relative;
  display: grid;
  gap: 14px;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out);
}

.prompt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 88%;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateZ(40px);
}

.prompt-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--navy);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.prompt-avatar img {
  width: 20px;
}

.prompt-text {
  min-height: 2.9em;
  padding-top: 5px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.45;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--orange-400);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.plan {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  transform: translateZ(30px);
}

.plan span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(30, 180, 230, 0.14);
  box-shadow: inset 0 0 0 1px rgba(30, 180, 230, 0.4);
  color: #bfe9f8;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.6s var(--ease-spring);
}

.plan span:nth-child(2) {
  transition-delay: 0.12s;
}

.plan span:nth-child(3) {
  transition-delay: 0.24s;
}

.stage.s-plan .plan span {
  opacity: 1;
  transform: none;
}

.slide {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 6% 6.5% 0;
  border-radius: 16px;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.4);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.stage.s-slide .slide {
  opacity: 1;
  transform: none;
}

.slide-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.slide-title {
  font-size: clamp(13px, 1.55vw, 19px);
  font-weight: 700;
  line-height: 1.2;
}

.slide-eyebrow {
  margin-top: 6px;
  color: var(--orange);
  font-size: clamp(8px, 0.85vw, 11px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.slide-title,
.slide-eyebrow {
  opacity: 0;
  transform: translateX(-14px);
  transition:
    opacity 0.6s var(--ease-out) 0.25s,
    transform 0.7s var(--ease-out) 0.25s;
}

.slide-eyebrow {
  transition-delay: 0.4s;
}

.stage.s-slide .slide-title,
.stage.s-slide .slide-eyebrow {
  opacity: 1;
  transform: none;
}

/* Солнце-маркер в углу — абстрактная отсылка к фирменному стилю, не логотип */
.slide-mark {
  flex: none;
  width: clamp(18px, 2.3vw, 28px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--orange) 0 38%, transparent 40%),
    repeating-conic-gradient(var(--orange) 0 10deg, transparent 10deg 30deg);
  -webkit-mask: radial-gradient(circle, #000 0 68%, transparent 70%);
  mask: radial-gradient(circle, #000 0 68%, transparent 70%);
  animation: spin 18s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.slide-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4%;
  margin-top: 6%;
}

.kpi {
  padding-left: 9%;
  border-left: 2px solid var(--orange);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.6s var(--ease-spring);
}

.kpi:nth-child(2) {
  transition-delay: 0.12s;
}

.kpi:nth-child(3) {
  transition-delay: 0.24s;
}

.stage.s-kpi .kpi {
  opacity: 1;
  transform: none;
}

.kpi b {
  display: block;
  color: var(--orange);
  font-size: clamp(15px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.kpi span {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  font-size: clamp(7px, 0.75vw, 10px);
  font-weight: 600;
}

.slide-chart {
  display: flex;
  align-items: flex-end;
  gap: 5%;
  height: 28%;
  margin-top: 5%;
  padding: 0 1%;
}

.slide-chart i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--navy-500), var(--navy));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.9s var(--ease-spring);
  transition-delay: calc(var(--i) * 0.09s);
}

.slide-chart i:last-child {
  background: linear-gradient(180deg, var(--orange-400), var(--orange));
}

.stage.s-chart .slide-chart i {
  transform: scaleY(1);
}

.slide-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 16%;
}

.slide-wave circle {
  opacity: 0;
  transition: opacity 0.4s;
}

.stage.s-wave .slide-wave circle {
  opacity: 1;
}

.check-chip {
  position: absolute;
  right: -14px;
  bottom: -18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px) translateZ(70px) scale(0.85);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.7s var(--ease-spring);
}

.check-chip svg {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: #18a957;
  fill: none;
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage.s-check .check-chip {
  opacity: 1;
  transform: translateZ(70px);
}

.stage.s-out .prompt,
.stage.s-out .plan,
.stage.s-out .slide,
.stage.s-out .check-chip {
  opacity: 0;
  transition-duration: 0.6s;
  transition-delay: 0s;
}

/* ---------- Бегущая строка ---------- */

.marquee {
  position: relative;
  padding: 22px 0;
  background: var(--navy);
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 12%;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--navy), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--navy), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-group {
  display: flex;
  flex: none;
}

.marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-group span::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Цифры ---------- */

.stats {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  padding-left: 22px;
  border-left: 3px solid var(--orange);
}

.stat-value {
  color: var(--navy);
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- Возможности ---------- */

.features {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(30, 180, 230, 0.08), transparent 60%),
    var(--bg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  --mx: 50%;
  --my: 50%;
  --tx: 0deg;
  --ty: 0deg;
  position: relative;
  padding: 32px 30px 34px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(0, 26, 61, 0.25);
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--tx)) rotateY(var(--ty));
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out),
    opacity 0.9s var(--ease-out);
}

.card[data-reveal] {
  transform: perspective(900px) translateY(28px);
  transition-delay: var(--d, 0ms);
}

.card[data-reveal].is-visible {
  transform: perspective(900px) rotateX(var(--tx)) rotateY(var(--ty));
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(241, 132, 0, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card:hover {
  box-shadow: 0 1px 0 var(--line), var(--shadow-md);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-500), var(--navy));
  box-shadow: 0 10px 22px -10px rgba(0, 50, 100, 0.7);
  transition: transform 0.5s var(--ease-spring);
}

.card:hover .card-icon {
  transform: translateY(-3px) rotate(-6deg) scale(1.06);
}

.card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
}

.card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15.5px;
}

.card-accent {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 100%);
}

.card-accent h3 {
  color: var(--white);
}

.card-accent p {
  color: rgba(255, 255, 255, 0.76);
}

.card-accent .card-icon {
  background: linear-gradient(135deg, var(--orange-400), var(--orange));
  box-shadow: 0 10px 22px -10px rgba(241, 132, 0, 0.8);
}

.card-accent::before {
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(30, 180, 230, 0.22), transparent 60%);
}

/* ---------- Как это работает ---------- */

.how {
  padding: clamp(72px, 10vw, 128px) 0;
  background: var(--white);
}

.timeline {
  --progress: 0;
  position: relative;
}

.timeline-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-line {
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  z-index: 0;
}

.timeline-line i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--navy), var(--orange));
  transform: scaleX(var(--progress));
  transform-origin: left;
}

.step {
  position: relative;
  z-index: 1;
}

.step-dot {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  box-shadow: inset 0 0 0 3px var(--line);
  transition:
    background-color 0.5s,
    color 0.5s,
    box-shadow 0.5s,
    transform 0.6s var(--ease-spring);
}

.step.is-active .step-dot {
  background: var(--navy);
  color: var(--white);
  box-shadow:
    inset 0 0 0 3px var(--navy),
    0 0 0 8px rgba(241, 132, 0, 0.16);
  transform: scale(1.06);
}

.step:last-child.is-active .step-dot {
  background: var(--orange);
  box-shadow:
    inset 0 0 0 3px var(--orange),
    0 0 0 8px rgba(241, 132, 0, 0.2);
}

.step-body {
  margin-top: 22px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Сверка цифр ---------- */

.numbers {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
  color: var(--white);
  background:
    radial-gradient(700px 420px at 90% 50%, rgba(241, 132, 0, 0.14), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  overflow: hidden;
}

.numbers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}

.numbers-copy p:not(.eyebrow) {
  margin-top: 22px;
  max-width: 500px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.check-table {
  padding: 10px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-lg);
  font-size: 15px;
}

.check-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.8fr;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 12px;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.5s;
}

.check-row + .check-row {
  border-top: 1px solid var(--line);
}

.check-row span:nth-child(2) {
  font-weight: 700;
}

.check-head {
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.check-row.is-checked {
  background: rgba(24, 169, 87, 0.07);
}

.check-mark {
  position: relative;
  justify-self: start;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--line);
  transition:
    background-color 0.4s,
    box-shadow 0.4s,
    transform 0.5s var(--ease-spring);
}

.check-mark::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  width: 7px;
  height: 12px;
  border: solid var(--white);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.4s var(--ease-spring) 0.1s;
}

.check-row.is-checked .check-mark {
  background: #18a957;
  box-shadow: none;
  transform: scale(1.08);
}

.check-row.is-checked .check-mark::after {
  transform: rotate(45deg) scale(1);
}

.check-summary {
  margin: 10px 8px 6px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.check-summary b {
  color: var(--navy);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

/* ---------- Финальный призыв ---------- */

.cta {
  position: relative;
  padding: clamp(96px, 14vw, 170px) 0 clamp(150px, 18vw, 220px);
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(900px 500px at 50% 30%, rgba(241, 132, 0, 0.16), transparent 65%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  overflow: hidden;
}

.cta-wave {
  bottom: -30px;
  height: min(44vh, 360px);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta p:not(.cta-note) {
  margin-top: 20px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.cta-button-wrap {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 48px;
}

.btn-huge {
  --btn-pad: 24px 54px;
  font-size: clamp(19px, 2vw, 23px);
  box-shadow:
    0 22px 60px -14px rgba(241, 132, 0, 0.85),
    inset 0 -3px 0 rgba(0, 0, 0, 0.12);
  will-change: transform;
}

.btn-huge svg {
  width: 24px;
  height: 24px;
}

.cta-ring {
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  border: 2px solid rgba(241, 132, 0, 0.55);
  animation: ring 2.8s var(--ease-out) infinite;
  pointer-events: none;
}

.cta-ring-2 {
  animation-delay: 1.4s;
}

@keyframes ring {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.45, 1.9);
  }
}

.cta-note {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.62);
  text-shadow: 0 2px 12px rgba(0, 15, 38, 0.9);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Переход на slidych.ru: волна заливает экран из точки клика */
.launch-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), var(--orange) 0, var(--navy) 45%, var(--navy-950) 100%);
  clip-path: circle(0 at var(--x, 50%) var(--y, 50%));
  transition: clip-path 0.75s cubic-bezier(0.7, 0, 0.3, 1);
}

.launch-overlay.is-active {
  clip-path: circle(150vmax at var(--x, 50%) var(--y, 50%));
}

/* ---------- Подвал ---------- */

.site-footer {
  padding: 32px 0 calc(32px + env(safe-area-inset-bottom));
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-inner img {
  height: 24px;
  width: auto;
  opacity: 0.85;
}

/* ---------- Адаптивность ---------- */

@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 170px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    max-width: 560px;
    width: 100%;
    margin: 12px auto 0;
  }

  .stage {
    --ry: 0deg;
  }

  .numbers-grid {
    grid-template-columns: 1fr;
  }

  /* Шаги — вертикальной лентой */
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .timeline-line {
    top: 28px;
    bottom: 28px;
    left: 26px;
    right: auto;
    width: 3px;
    height: auto;
  }

  .timeline-line i {
    transform: scaleY(var(--progress));
    transform-origin: top;
    background: linear-gradient(180deg, var(--navy), var(--orange));
  }

  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    align-items: start;
  }

  .step-body {
    margin-top: 6px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  :root {
    --header-h: 64px;
  }

  .brand img {
    height: 26px;
  }

  .eyebrow {
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .eyebrow::before {
    width: 20px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 32px);
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 26px 22px 28px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 18px;
  }

  .stat {
    padding-left: 14px;
  }

  .stat-label {
    font-size: 13.5px;
  }

  .prompt {
    width: 100%;
  }

  .check-chip {
    right: 8px;
    bottom: -16px;
    font-size: 12px;
  }

  .check-row {
    padding: 13px 12px;
    font-size: 14px;
    grid-template-columns: 1.5fr 1fr 0.6fr;
  }

  .btn-huge {
    --btn-pad: 22px 40px;
  }

  .br-desktop {
    display: none;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  .scroll-hint {
    display: none;
  }
}

/* Для тех, кто отключил анимации: всё на месте, ничего не движется */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
