/* ==========================================================================
   Exton — стили сайта
   Макет: Figma «New Exton» (десктоп 1440, мобайл 360)
   ========================================================================== */

:root {
  --blue: #10a5f5;
  --dark: #08202d;
  --gray: #7c94a6;
  --muted: #a0acb3;
  --bg: #f2f6f9;
  --line: #e3eaf0;
  --green: #2cb37c;
  --red: #dc5d78;
  --orange: #ff843f;

  --glass: rgba(255, 255, 255, 0.4);
  --shadow: 0 4px 64px rgba(0, 0, 0, 0.03);
  --zebra: rgba(124, 148, 166, 0.08);

  --font: "Google Sans", "Google Sans Flex", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1110px;
  --container-wide: 1280px;
  --pad: 15px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.26;
  letter-spacing: -0.04em;
  color: var(--dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: inherit; font-size: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.page { position: relative; overflow-x: clip; }
.page--soft { background: var(--bg); }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typography ---------- */
.t-blue { color: var(--blue); }
.t-gray { color: var(--gray); }
.t-muted { color: var(--muted); }
.t-dark { color: var(--dark); }
.t-medium { font-weight: 500; }

.h2 {
  font-size: 48px;
  line-height: 52px;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: #000;
}
.text { font-size: 16px; color: var(--gray); }
.text p + p { margin-top: 20px; }

.lead-center {
  max-width: 930px;
  margin: 0 auto;
  font-size: 38px;
  line-height: 1.26;
  text-align: center;
  color: #000;
}

/* eyebrow — голубая подпись с двойной стрелкой */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 500;
  color: var(--blue);
}
.eyebrow__icon { width: 20px; height: 20px; flex: none; }
.eyebrow--sm { font-size: 16px; }
.eyebrow--light { color: rgba(255, 255, 255, 0.6); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  height: 52px;
  padding: 0 24px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .2s, box-shadow .2s, transform .2s, color .2s;
}
.btn img { width: 24px; height: 24px; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #0b96e2; box-shadow: 0 8px 24px rgba(16, 165, 245, .3); }
.btn--ghost {
  min-width: 163px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, .7);
  color: var(--gray);
  font-weight: 500;
  box-shadow: var(--shadow);
}
.btn--ghost:hover { background: #fff; color: var(--dark); }
.btn--sm { height: 40px; padding: 4px 24px; font-size: 14px; font-weight: 500; }

/* ---------- Glass card / icon box / tags ---------- */
.glass {
  background: var(--glass);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px;
}
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__body { display: flex; flex-direction: column; gap: 12px; }
.card__title { font-size: 20px; font-weight: 500; color: var(--dark); }
.card__text { font-size: 16px; color: var(--gray); }
.card__num { font-size: 20px; font-weight: 500; color: var(--blue); }
.card__title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.icon-box {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border: 1px solid #fff;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(150, 202, 243, .2), rgba(16, 165, 245, .2));
}
.icon-box img { width: 24px; height: 24px; }
.icon-box--lg img { width: 28px; height: 28px; }
.icon-box--gray { background: linear-gradient(180deg, rgba(199, 206, 212, .02), rgba(124, 148, 166, .2)); }
.icon-box--silver { background: linear-gradient(180deg, rgba(214, 220, 224, .2), rgba(163, 167, 168, .2)); }

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 11px;
  border: 1px solid #fff;
  border-radius: 42px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--blue);
  background: linear-gradient(180deg, rgba(150, 202, 243, .2), rgba(16, 165, 245, .2));
}
.tag--md { font-size: 14px; }
.tag--lg { font-size: 16px; font-weight: 400; }
.tag--gray { color: var(--gray); background: linear-gradient(180deg, rgba(199, 206, 212, .02), rgba(124, 148, 166, .2)); }
.tag--silver { color: var(--gray); background: linear-gradient(180deg, rgba(214, 220, 224, .2), rgba(163, 167, 168, .2)); }
.tag--steel { color: #a3a7a8; background: linear-gradient(180deg, rgba(199, 206, 212, .02), rgba(124, 148, 166, .2)); }
.tag--green { color: var(--green); background: linear-gradient(180deg, rgba(193, 232, 206, .2), rgba(44, 179, 124, .2)); }
.tag--orange { color: var(--orange); background: linear-gradient(180deg, rgba(255, 227, 211, .2), rgba(255, 132, 63, .2)); }
.tag--red { color: var(--red); background: linear-gradient(180deg, rgba(255, 201, 213, .2), rgba(220, 93, 120, .2)); }
.tag--pink { color: var(--red); background: linear-gradient(180deg, rgba(212, 180, 187, .09), rgba(220, 93, 120, .2)); }
.tag--sky { color: var(--blue); background: linear-gradient(180deg, rgba(181, 229, 255, .2), rgba(16, 165, 245, .2)); }

/* Декоративные размытые круги */
.blob {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: #96caf3;
  filter: blur(217px);
  pointer-events: none;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 100;
  width: min(1155px, calc(100% - 30px));
  transform: translateX(-50%);
}
.header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 12px 30px;
  border-radius: 80px;
  background: rgba(255, 255, 255, .4);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  transition: background-color .3s;
}
.header.is-scrolled .header__bar { background: rgba(255, 255, 255, .75); }

.header__left { display: flex; align-items: center; gap: 50px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 500; color: var(--dark); }
.logo img { width: 26px; height: 26px; }

.nav { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.nav__link { color: var(--gray); transition: color .2s; }
.nav__link:hover { color: var(--dark); }
.nav__link.is-active { color: var(--dark); }
.nav__dot { width: 25px; display: flex; justify-content: center; }
.nav__dot::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: #cdd4d8; }

.header__right { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background: rgba(255, 255, 255, .5);
}
.burger { position: relative; }
.burger img { width: 20px; height: 20px; transition: opacity .2s; }
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  margin: -0.75px 0 0 -8px;
  border-radius: 2px;
  background: var(--dark);
  opacity: 0;
  transition: opacity .2s, transform .3s;
}
.header.is-open .burger img { opacity: 0; }
.header.is-open .burger::before { opacity: 1; transform: rotate(45deg); }
.header.is-open .burger::after { opacity: 1; transform: rotate(-45deg); }

.header__menu {
  display: none;
  margin-top: 8px;
  padding: 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 12px 40px rgba(8, 32, 45, .08);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.header__menu a {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 16px;
  color: var(--gray);
}
.header__menu a.is-active { color: var(--dark); background: var(--zebra); }

/* ==========================================================================
   Hero (главная)
   ========================================================================== */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 856px;
  z-index: 0;
  pointer-events: none;
}
.hero-bg__fill { position: absolute; inset: 0; background: linear-gradient(180deg, #f2f6f9 44.743%, rgba(242, 246, 249, 0)); }
.hero-bg__blob1 { left: calc(50% + 187px); top: -107px; width: 391px; height: 391px; }
.hero-bg__blob2 { left: -11px; top: 678px; width: 241px; height: 241px; }
.hero-bg__x {
  position: absolute;
  left: calc(50% - 230px);
  top: -303px;
  width: 1134px;
  height: 1134px;
  max-width: none;
  mix-blend-mode: soft-light;
}

.hero { position: relative; z-index: 1; padding-top: 136px; }
.hero__label { display: flex; align-items: center; gap: 12px; }
.hero__label span { width: 165px; color: var(--blue); }
.hero__title {
  width: 992px;
  max-width: 100%;
  margin: 67px 0 0 118px;
  font-size: 84px;
  line-height: 90px;
  font-weight: 400;
  letter-spacing: -0.04em;
  text-indent: 262px;
}
.hero__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-top: 165px;
}
.hero__desc { max-width: 406px; }
.hero__actions { display: flex; gap: 16px; margin-top: 8px; }

.stats {
  display: flex;
  justify-content: space-between;
  width: 1058px;
  max-width: 100%;
  margin: 250px auto 0;
}
.stats__item { display: flex; flex-direction: column; gap: 16px; }
.stats__num { font-size: 84px; line-height: 90px; letter-spacing: -0.04em; }
.stats__cap { max-width: 178px; }

/* ==========================================================================
   Секция с центрированным заголовком и фоновой картинкой
   ========================================================================== */
.showcase { position: relative; }
.showcase__head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}
.showcase__bg {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.showcase__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.showcase__tint { position: absolute; inset: 0; background: var(--blue); mix-blend-mode: color; }
.showcase__fade-top { position: absolute; left: 0; right: 0; top: 0; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0)); }
.showcase__fade-bottom { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, #fff 10.165%, rgba(255, 255, 255, 0)); }

/* --- «Обычный кошелёк — это ключ» --- */
.rules { margin-top: 210px; height: 863px; }
.rules .showcase__bg { top: 180px; height: 683px; }
.rules .showcase__fade-top { height: 364px; }
.rules .showcase__fade-bottom { height: 238px; }
.rules__cards { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.rules__card {
  position: absolute;
  width: 291px;
  pointer-events: auto;
  transform: translate(-50%, -50%) rotate(var(--r));
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s;
}
.rules__card:hover { transform: translate(-50%, -54%) rotate(0deg); box-shadow: 0 12px 64px rgba(8, 32, 45, .08); }
.rules__card--1 { left: calc(50% - 375.78px); top: 563px; --r: 7.42deg; }
.rules__card--2 { left: calc(50% + 0.2px); top: 621px; --r: -7.32deg; }
.rules__card--3 { left: calc(50% + 387.48px); top: 585px; --r: 5.64deg; }

/* --- Обновление без переезда --- */
.upgrade { position: relative; margin-top: 40px; }
.upgrade__inner { position: relative; height: 640px; }
.upgrade__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 422px;
  padding-top: 64px;
}
.section-head { display: flex; flex-direction: column; gap: 12px; }
.bullets { display: flex; flex-direction: column; gap: 28px; }
.bullets li { display: flex; align-items: center; gap: 12px; color: var(--dark); }
.bullets img { width: 24px; height: 24px; flex: none; }

.upgrade__visual {
  position: absolute;
  z-index: 1;
  top: 7px;
  left: 360px;
  width: 822px;
  height: 633px;
}
.upgrade__img { position: absolute; inset: 0; overflow: hidden; }
.upgrade__img img { width: 100%; height: 100%; object-fit: cover; }
.upgrade__img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #96caf3; mix-blend-mode: hue; }
.upgrade__img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, #fff 0, rgba(255, 255, 255, 0) 135px),
    linear-gradient(0deg, #fff 0, rgba(255, 255, 255, 0) 271px),
    linear-gradient(90deg, #fff 0, rgba(255, 255, 255, 0) 135px),
    linear-gradient(270deg, #fff 0, rgba(255, 255, 255, 0) 135px);
}

.addr-card {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 32px;
}
.addr-card--std { left: 165px; top: 343px; }
.addr-card--exton { left: 313px; top: 472px; }
.addr-card__row { display: flex; align-items: center; gap: 12px; font-size: 20px; white-space: nowrap; }
.addr-card__row img { width: 24px; height: 24px; }

/* --- MultiSig --- */
.split {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.split__text { display: flex; flex-direction: column; gap: 28px; padding-top: 20px; }
.split__cards { display: flex; flex-direction: column; gap: 20px; width: 531px; flex: none; }

.multisig { margin-top: 200px; }
.multisig .split__text { width: 433px; }

.oauth {
  position: relative;
  margin-top: 120px;
  height: 431px;
  border-radius: 30px;
  overflow: hidden;
}
.oauth__img { position: absolute; inset: 0; }
.oauth__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.oauth__img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(131.15deg, rgba(255, 255, 255, 0) 37.315%, #f1f9fd 87.558%);
}
.oauth__img::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--blue); mix-blend-mode: hue; }
.oauth__text {
  position: absolute;
  z-index: 3;
  top: 74px;
  left: 611px;
  width: 443px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.oauth__title { font-size: 33px; font-weight: 400; letter-spacing: -0.04em; }

/* --- Плагины (карусель) --- */
.plugins { margin-top: 200px; height: 863px; }
.plugins .showcase__bg { top: 180px; height: 683px; }
.plugins .showcase__fade-top { height: 306px; }
.plugins .showcase__fade-bottom { height: 260px; }

.carousel { position: absolute; left: 0; right: 0; top: 412px; z-index: 2; }
.carousel__track {
  display: flex;
  gap: 20px;
  padding: 0 30px 36px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 30px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.plugin-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: none;
  width: 250px;
  padding: 22px 24px;
  scroll-snap-align: start;
  transition: transform .3s, background-color .3s;
}
.plugin-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .6); }
.plugin-card .card__title { font-size: 18px; }
.plugin-card .card__text { font-size: 14px; }

.carousel__nav { display: flex; justify-content: center; gap: 20px; }
.round-btn {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50px;
  background: var(--glass);
  box-shadow: var(--shadow);
  transition: background-color .2s, opacity .2s;
}
.round-btn:hover { background: rgba(255, 255, 255, .8); }
.round-btn img { width: 24px; height: 24px; }
.round-btn--prev img { transform: rotate(180deg); }
.round-btn:disabled { opacity: .5; cursor: default; }

/* --- Аккаунты + Подбор адресов --- */
.duo { margin-top: 100px; display: flex; align-items: stretch; }
.duo__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  border-radius: 30px;
  padding: 60px 70px;
}
.accounts {
  position: relative;
  z-index: 2;
  width: 640px;
  flex: none;
  overflow: hidden;
  color: #fff;
}
.accounts__bg { position: absolute; inset: 0; z-index: -1; }
.accounts__bg { overflow: hidden; border-radius: inherit; }
.accounts__bg img { position: absolute; max-width: none; left: -1.87%; top: -45.86%; width: 103.75%; height: 191.71%; }
.accounts .h2 { color: #fff; }
.accounts__list { display: flex; flex-direction: column; gap: 8px; }
.accounts__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .15);
  color: #fff;
}
.accounts__row span:first-child { color: rgba(255, 255, 255, .8); }
.accounts__row--hidden { background: #fff; }
.accounts__row--hidden span:first-child { color: #9eb0bb; }
.accounts__row--hidden span:last-child { color: var(--blue); font-weight: 500; }
.accounts__note { color: rgba(255, 255, 255, .6); }

.vanity {
  position: relative;
  z-index: 1;
  width: 698px;
  flex: none;
  margin-left: -58px;
  padding-left: 110px;
  background: radial-gradient(331px 254px at 50% 62%, rgba(241, 249, 253, 0), #f1f9fd);
}
.vanity .h2 { color: var(--dark); }
.pills {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 191px;
  transform: rotate(-5.55deg);
}
.pills__row { display: flex; width: 390px; }
.pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-radius: 52px;
  white-space: nowrap;
  transition: transform .3s;
}
.pill:hover { transform: translateY(-3px); }
.pill--outline { border: 1px solid #dee9ee; }
.pill--blue { background: var(--blue); color: #fff; filter: drop-shadow(0 4px 12px rgba(16, 165, 245, .4)); }
.pill--blue .pill__pre { color: rgba(255, 255, 255, .5); }
.pill--dark { flex: none; width: 215px; background: var(--dark); color: #fff; }

/* --- Exton Connect --- */
.connect { position: relative; margin-top: 200px; padding-bottom: 120px; }
.connect__bg {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 835px;
  background: linear-gradient(0deg, #f2f6f9 44.743%, rgba(242, 246, 249, 0));
  z-index: 0;
}
.connect .split__text { width: 512px; padding-top: 0; }
.connect .blob { left: -11px; top: 0; width: 241px; height: 241px; }

/* --- Сравнение --- */
.compare { margin-top: 114px; min-height: 1090px; }
.compare .showcase__bg { top: 230px; height: 860px; }
.compare .showcase__fade-top { height: 306px; }
.compare .showcase__fade-bottom { height: 483px; }
.compare__body { position: relative; z-index: 2; padding-top: 70px; }

.ctable {
  padding: 4px 12px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .8);
  box-shadow: var(--shadow);
}
.ctable__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 12px;
}
.ctable__row:nth-child(even) { background: var(--zebra); }
.ctable__row > * { padding: 20px 24px; }
.ctable__row > :nth-child(2) { text-align: center; color: var(--gray); }
.ctable__row > :nth-child(3) { text-align: right; color: var(--blue); font-weight: 500; }
.ctable__row--head > * { color: var(--gray) !important; font-weight: 400 !important; }

.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }

/* --- DApps баннер --- */
.dapps {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 507px;
  padding-left: 80px;
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.dapps__bg { position: absolute; inset: 0; z-index: -1; }
.dapps__bg { overflow: hidden; border-radius: inherit; }
.dapps__bg img { position: absolute; max-width: none; left: -1.87%; top: -45.86%; width: 103.75%; height: 191.71%; }
.dapps__text { flex: 1; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.dapps__text .h2 { color: #fff; }
.dapps__visual {
  position: relative;
  flex: none;
  width: 562px;
  height: 507px;
  overflow: hidden;
  mix-blend-mode: hard-light;
}
.dapps__visual img {
  position: absolute;
  max-width: none;
  width: 209.04%;
  height: 231.94%;
  left: -41.31%;
  top: -85.47%;
}
.dapps-wrap { margin-top: 40px; }
.page--soft .dapps-wrap { margin-top: 200px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding-block: 80px 100px; }
.page--soft .footer { padding-top: 160px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 20px; }
.footer__logo { gap: 12px; font-size: 24.6px; }
.footer__logo img { width: 32px; height: 32px; }
.footer__about { width: 309px; line-height: 23px; color: var(--gray); }
.footer__cols { display: flex; gap: 110px; }
.footer__col { display: flex; flex-direction: column; gap: 20px; }
.footer__col:first-child { width: 116px; }
.footer__col:last-child { width: 152px; }
.footer__heading { font-size: 12px; text-transform: uppercase; color: var(--gray); }
.footer__col a { white-space: nowrap; transition: color .2s; }
.footer__col a:hover { color: var(--blue); }

/* ==========================================================================
   Документация / Дорожная карта — общий каркас
   ========================================================================== */
.docs-hero-bg { height: 856px; }

.docs-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 278px 814px;
  column-gap: 40px;
  max-width: 1185px;
  margin: 0 auto;
  padding: 96px 15px 0;
}

.toc {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 24px;
}
.toc__title { margin-bottom: 19px; font-size: 14px; text-transform: uppercase; color: var(--gray); }
.toc__list { display: flex; flex-direction: column; gap: 19px; }
.toc__link { display: flex; gap: 12px; color: var(--gray); transition: color .2s; }
.toc__link span { color: #b8ccdb; transition: color .2s; }
.toc__link:hover,
.toc__link.is-active { color: var(--dark); }
.toc__link.is-active span { color: var(--blue); }
.toc--plain .toc__list { gap: 19px; }

.docs-main { padding-top: 157px; min-width: 0; }

.doc-intro { display: flex; flex-direction: column; gap: 39px; scroll-margin-top: 110px; }
.doc-intro__head { display: flex; flex-direction: column; gap: 23px; max-width: 719px; }
.doc-intro__title { font-size: 62px; line-height: 70px; font-weight: 400; letter-spacing: -0.04em; }
.doc-intro__lead { max-width: 691px; color: var(--gray); }

.facts { display: flex; gap: 8px; }
.fact { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px 20px; min-width: 0; }
.fact__label { color: var(--gray); }
.fact__value { font-size: 20px; font-weight: 500; }

.doc-body { display: flex; flex-direction: column; gap: 100px; margin-top: 151px; }

.dsec { display: flex; flex-direction: column; gap: 28px; scroll-margin-top: 110px; }
.dsec__top { display: flex; flex-direction: column; gap: 24px; }
.dsec__bar { display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.dsec__bar > :first-child { color: var(--blue); }
.dsec__bar > :last-child { color: var(--gray); }
.dsec__line { height: 1px; background: var(--line); }
.dsec__intro { display: flex; flex-direction: column; gap: 12px; }
.dsec__title { font-size: 40px; font-weight: 400; line-height: 1.26; letter-spacing: -0.04em; }
.dsec__lead { color: var(--gray); line-height: 24px; }
.dsec__lead p + p { margin-top: 24px; }

.dsub { display: flex; flex-direction: column; gap: 8px; }
.dsub + .dtable-wrap { margin-top: 16px; }
.dsub__title { font-size: 20px; font-weight: 500; }
.dsub__text { color: var(--gray); line-height: 24px; }
.dsub__text p + p { margin-top: 24px; }
.dsub__text b, .dsub__text strong { font-weight: 500; color: var(--dark); }
.dgroup { display: flex; flex-direction: column; gap: 24px; }
.dgroup--tight { gap: 12px; }

.dlist { list-style: disc; padding-left: 24px; color: var(--gray); line-height: 24px; }
.dlist b { font-weight: 500; color: var(--dark); }

/* Таблицы */
.dtable-wrap { position: relative; }
.dtable-scroll { overflow-x: auto; scrollbar-width: none; }
.dtable-scroll::-webkit-scrollbar { display: none; }
.dtable-progress { display: none; }

.dtable {
  padding: 4px 12px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .8);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 500;
}
.dtable__row {
  display: grid;
  grid-template-columns: var(--cols, 1fr 1fr);
  align-items: center;
  min-height: 46px;
  border-radius: 12px;
}
.dtable__row:nth-child(even) { background: var(--zebra); }
.dtable__row > * { padding: 14px 16px 14px 0; }
.dtable__row > :first-child { padding-left: 16px; }
.dtable__row--head { color: var(--gray); }
.dtable--keys .dtable__row > :first-child { color: var(--gray); }
.dtable .c { text-align: center; }
.dtable .r { text-align: right; display: flex; justify-content: flex-end; }
.dtable .two { display: flex; flex-direction: column; gap: 6px; }
.dtable .two small { font-size: 14px; font-weight: 400; color: var(--gray); }
.dtable--tall .dtable__row { min-height: 70px; }

/* Callout */
.callout {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  line-height: 24px;
}
.callout::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/img/callout-bg.webp") center / cover no-repeat;
}
.callout::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(16, 165, 245, .4); }
.callout--green::before { background-image: url("../assets/img/callout-green.webp"); }
.callout--green::after { background: rgba(44, 179, 124, .4); }
.callout--orange::before { background-image: url("../assets/img/callout-orange.webp"); }
.callout--orange::after { background: rgba(255, 132, 63, .5); }
.callout__title { display: flex; align-items: center; gap: 12px; font-weight: 500; line-height: 1.26; color: rgba(255, 255, 255, .9); }
.callout__title img { width: 20px; height: 20px; }
.callout p + p { margin-top: 24px; }

.dnote { color: var(--gray); line-height: 24px; }
.dnote b { font-weight: 500; color: var(--dark); }

/* Схема «Как части связаны» */
.flow { position: relative; display: flex; flex-direction: column; gap: 12px; padding-left: 32px; }
.flow::before {
  content: "";
  position: absolute;
  left: 9.5px;
  top: 25px;
  bottom: 30px;
  width: 1px;
  background: var(--line);
}
.flow__item { position: relative; align-self: flex-start; }
.flow__item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 10px;
  background: #e3eaf0 url("../assets/icons/alt-arrow.svg") center / 12px no-repeat;
}
.flow__item--root::before { background: url("../assets/icons/ellipse4.svg") center / 20px no-repeat; }
.flow__item:not(.flow__item--root)::before { top: 28px; margin-top: 0; }
.flow__root {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 20px;
  background: var(--blue);
  color: #fff;
  font-weight: 500;
  filter: drop-shadow(0 4px 32px rgba(0, 0, 0, .03));
}
.flow__root img { width: 24px; height: 24px; }
.flow__card { display: flex; flex-direction: column; gap: 8px; padding: 16px 40px 16px 20px; }
.flow__line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-weight: 500; }
.flow__line img { width: 24px; height: 24px; }
.flow__sub { color: var(--gray); }

/* ==========================================================================
   Дорожная карта
   ========================================================================== */
.rsec-top { display: flex; flex-direction: column; gap: 23px; }
.rsec-top .dsec__line { margin-top: 1px; }

.stepper { display: flex; align-items: center; margin-top: 23px; }
.stepper__btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 60px;
  background: rgba(227, 234, 240, .7);
  font-size: 12px;
  font-weight: 500;
  color: var(--gray);
  transition: background .25s, color .25s, transform .2s;
}
.stepper__btn:hover { transform: scale(1.08); }
.stepper__btn.is-done,
.stepper__btn.is-active {
  background: linear-gradient(180deg, rgba(150, 202, 243, .2), rgba(16, 165, 245, .2));
  color: var(--blue);
}
.stepper__btn.is-active { box-shadow: 0 0 0 1px #fff inset; }
.stepper__line { flex: 1; min-width: 8px; height: 1px; background: rgba(227, 234, 240, .7); }

.slider { position: relative; display: flex; align-items: center; margin-top: 20px; }
.slider__tab {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 274px;
  background: #e7eef3;
  transition: background-color .2s;
}
.slider__tab:hover { background: #dce6ed; }
.slider__tab img { width: 16px; height: 16px; }
.slider__tab--prev { border-radius: 20px 0 0 20px; }
.slider__tab--prev img { transform: rotate(180deg); }
.slider__tab--next { border-radius: 0 20px 20px 0; }
.slider__tab:disabled { opacity: .45; cursor: default; }

.slider__viewport { flex: 1; min-width: 0; }
.stage {
  display: none;
  flex-direction: column;
  gap: 16px;
  min-height: 382px;
  padding: 28px;
  background: rgba(255, 255, 255, .6);
  animation: stage-in .35s ease;
}
.stage.is-active { display: flex; }
@keyframes stage-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.stage__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; padding-bottom: 32px; }
.stage__head .tag { height: 36px; padding: 4px 16px; font-size: 14px; }
.stage__num { font-weight: 500; color: var(--blue); }
.stage__title { font-size: 24px; font-weight: 500; letter-spacing: -0.04em; }
.stage__text { color: var(--gray); line-height: 24px; }
.stage__text p + p { margin-top: 24px; }
.stage__h { font-size: 20px; font-weight: 500; margin-top: 8px; }
.stage__next { padding: 14px 16px; border-radius: 12px; background: var(--zebra); }
.stage__next b { font-weight: 500; }
.stage .dlist { margin-top: 0; }

.slider__mobile-nav { display: none; }

/* Схема распределения в этапе — разметкой, а не картинкой: цифры правятся в тексте */
.flowbox {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1.2fr);
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  background: var(--zebra);
}
.flowbox__node {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.flowbox__node--accent { box-shadow: inset 0 0 0 1px var(--blue), var(--shadow); }
.flowbox__label { font-size: 14px; color: var(--gray); }
.flowbox__value { font-size: 24px; font-weight: 500; letter-spacing: -0.04em; }
.flowbox__node--accent .flowbox__value { color: var(--blue); }
.flowbox__arrow { width: 24px; height: 24px; }
.flowbox__out { display: flex; flex-direction: column; gap: 8px; }

/* ==========================================================================
   Адаптив: 1024–1439 — поджимаем десктоп
   ========================================================================== */
@media (max-width: 1439px) {
  .hero-bg__x { left: auto; right: -200px; }
}

@media (max-width: 1279px) {
  :root { --pad: 32px; }
  .hero__title { margin-left: 0; font-size: 72px; line-height: 78px; text-indent: 200px; }
  .stats__num { font-size: 72px; line-height: 78px; }
  .upgrade__visual { left: auto; right: -60px; width: 700px; height: 540px; }
  .addr-card--std { left: 100px; top: 290px; }
  .addr-card--exton { left: 220px; top: 400px; }
  .upgrade__inner { height: 580px; }
  .oauth__text { left: auto; right: 48px; width: 400px; }
  .split__cards { width: 480px; }
  .duo { flex-direction: column; gap: 20px; }
  .accounts, .vanity { width: 100%; margin-left: 0; }
  .vanity { padding-left: 70px; }
  .dapps { padding-left: 56px; }
  .dapps__visual { width: 440px; }
  .docs-layout { grid-template-columns: 240px minmax(0, 1fr); column-gap: 32px; }
  .rules__card--1 { left: calc(50% - 320px); }
  .rules__card--3 { left: calc(50% + 330px); }
}

/* ==========================================================================
   Мобильная версия (макет 360px)
   ========================================================================== */
@media (max-width: 1023px) {
  :root { --pad: 15px; }

  .h2 { font-size: 32px; line-height: 36px; }
  .lead-center { font-size: 24px; }

  /* header */
  .header__bar { padding: 12px 20px; }
  .nav, .header__right .nav { display: none; }
  .burger { display: grid; }
  .header.is-open .header__menu { display: block; animation: stage-in .25s ease; }

  /* hero */
  .hero-bg__blob1 { left: calc(50% + 7px); }
  .hero-bg__x { left: -114px; right: auto; top: -207px; width: 762px; height: 762px; }
  .hero { padding-top: 116px; }
  .hero__title { width: auto; margin: 125px 0 0; font-size: 38px; line-height: 1.26; text-indent: 24px; }
  .hero__row { flex-direction: column; gap: 28px; margin-top: 31px; }
  .hero__desc { max-width: 297px; }
  .hero__actions { flex-direction: column; width: 100%; margin-top: 0; }
  .hero__actions .btn { width: 100%; }
  .stats { flex-direction: column; align-items: center; gap: 84px; width: 100%; margin-top: 62px; text-align: center; }
  .stats__item { align-items: center; }
  .stats__num { font-size: 54px; line-height: 1; }

  /* showcase */
  .showcase__head { gap: 16px; }
  .showcase__head .eyebrow { flex-direction: column; font-size: 16px; text-align: center; }
  .showcase__head .eyebrow__icon { transform: rotate(90deg); }

  .rules { margin-top: 123px; height: auto; padding-bottom: 60px; }
  .rules .showcase__bg { top: 270px; height: 683px; }
  .rules__cards {
    position: relative;
    display: flex;
    gap: 20px;
    margin-top: 52px;
    padding: 0 var(--pad) 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    pointer-events: auto;
  }
  .rules__cards::-webkit-scrollbar { display: none; }
  .rules__card,
  .rules__card:hover {
    position: relative;
    left: auto; top: auto;
    flex: none;
    width: 250px;
    transform: none;
    scroll-snap-align: center;
  }

  /* upgrade */
  .upgrade { margin-top: 60px; }
  .upgrade__inner { height: auto; }
  .upgrade__text { width: 100%; padding-top: 0; }
  .bullets { gap: 20px; }
  .upgrade__visual {
    position: relative;
    left: auto; right: auto; top: auto;
    width: calc(100% + var(--pad) * 2);
    height: auto;
    margin: 32px calc(var(--pad) * -1) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .upgrade__img { position: relative; width: 100%; height: 300px; }
  .addr-card { position: relative; left: auto; top: auto; padding: 16px 20px; }
  .addr-card--std { margin-top: -120px; align-self: flex-start; margin-left: var(--pad); }
  .addr-card--exton { margin-top: 12px; align-self: flex-end; margin-right: var(--pad); }
  .addr-card__row { font-size: 16px; gap: 8px; }
  .addr-card__row img { width: 20px; height: 20px; }
  .addr-card .tag--lg { font-size: 12px; }

  /* split */
  .split { flex-direction: column; gap: 40px; }
  .split__text, .multisig .split__text, .connect .split__text { width: 100%; padding-top: 0; }
  .split__cards { width: 100%; }
  .multisig { margin-top: 100px; }

  .oauth { height: auto; display: flex; flex-direction: column; }
  .oauth__img { position: relative; height: 260px; }
  .oauth__img img { object-position: 10% 30%; }
  .oauth__text { position: relative; top: auto; left: auto; right: auto; width: 100%; padding: 8px 24px 32px; background: #f1f9fd; }
  .oauth__title { font-size: 26px; }

  .plugins { margin-top: 100px; height: auto; padding-bottom: 20px; }
  .plugins .showcase__bg { top: 300px; height: 520px; }
  .carousel { position: relative; top: auto; margin-top: 52px; }
  .carousel__track { padding: 0 var(--pad) 24px; scroll-padding: 0 var(--pad); }
  .carousel__nav { margin-top: 16px; }

  .duo { margin-top: 100px; }
  .duo__card { padding: 32px 20px; }
  .vanity { padding-left: 20px; }
  .pills { height: 150px; margin: 0 -20px; transform: rotate(-5.55deg) scale(.74); }
  .accounts__row { padding: 14px 16px; font-size: 14px; }

  .connect { margin-top: 100px; padding-bottom: 80px; }

  .compare .showcase__bg { top: 230px; }
  .compare__body { padding-top: 40px; }
  .ctable { padding: 4px 8px 12px; font-size: 12px; }
  .ctable__row > * { padding: 16px 12px; }
  .platforms { grid-template-columns: 1fr; }

  .dapps { flex-direction: column-reverse; align-items: stretch; height: auto; padding: 0 20px 32px; gap: 0; }
  .dapps__visual { width: calc(100% + 40px); height: 320px; margin: 0 -20px; }
  .dapps__visual img { width: 150%; height: 170%; left: -10%; top: -45%; }

  .footer { padding-block: 60px; }
  .page--soft .footer { padding-top: 60px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 40px; }
  .footer__cols { gap: 40px; }
  .footer__about { width: auto; max-width: 309px; }

  /* docs */
  .docs-layout { display: block; padding-top: 0; }
  .toc { display: none; }
  .docs-main { padding-top: 159px; }
  .doc-intro__title { font-size: 40px; line-height: 45px; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; }
  .fact { padding: 16px; }
  .fact__value { white-space: nowrap; font-size: clamp(16px, 5vw, 20px); }
  .doc-body { margin-top: 100px; gap: 80px; }
  .dsec__title { font-size: 28px; }

  .dtable-scroll { margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 12px; }
  .dtable { width: max-content; min-width: 100%; }
  .dtable__row { grid-template-columns: var(--cols-m, var(--cols)); }
  .dtable-progress {
    display: block;
    width: 100%;
    height: 4px;
    margin-top: 4px;
    border-radius: 4px;
    background: var(--line);
    overflow: hidden;
  }
  .dtable-progress i { display: block; height: 100%; width: 30%; border-radius: 4px; background: var(--blue); transition: transform .1s; }

  .flow { padding-left: 28px; }
  .flow__card { padding: 14px 16px; }

  /* roadmap */
  .stepper { overflow-x: auto; margin: 23px calc(var(--pad) * -1) 0; padding: 0 var(--pad); scrollbar-width: none; }
  .stepper::-webkit-scrollbar { display: none; }
  .stepper__line { flex: none; width: 16px; }
  .slider__tab { display: none; }
  .stage { padding: 24px 20px; min-height: 0; }
  .stage__head { padding-bottom: 20px; }
  .stage__title { font-size: 22px; }
  .slider__mobile-nav { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }
  .flowbox { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .flowbox__arrow { justify-self: center; transform: rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Перенос строки только на мобильных */
.br-m { display: none; }
@media (max-width: 1023px) { .br-m { display: inline; } }

/* ==========================================================================
   Liquid Glass — стекло для шапки, карточек и круглых кнопок
   Слои: размытие фона + насыщенность, светлая заливка сверху,
   градиентная кромка (::before) и блик (::after).
   ========================================================================== */
.glass,
.header__bar,
.round-btn,
.btn--ghost {
  --lg-radius: 20px;
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .28) 45%, rgba(255, 255, 255, .38) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(170%) brightness(1.04);
  backdrop-filter: blur(18px) saturate(170%) brightness(1.04);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .95),
    inset 0 -1px 1px rgba(255, 255, 255, .35),
    inset 0 0 24px rgba(255, 255, 255, .28),
    0 10px 40px rgba(8, 32, 45, .06),
    0 1px 2px rgba(8, 32, 45, .03);
}

/* Градиентная кромка: ярче сверху-слева, мягче снизу-справа */
.glass::before,
.header__bar::before,
.round-btn::before,
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(145deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, .45) 30%,
    rgba(255, 255, 255, .08) 55%,
    rgba(255, 255, 255, .5) 85%,
    rgba(255, 255, 255, .9) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

/* Блик в верхней части стекла */
.glass::after,
.header__bar::after,
.round-btn::after,
.btn--ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(120% 60% at 20% 0%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(80% 50% at 100% 100%, rgba(150, 202, 243, .12) 0%, rgba(150, 202, 243, 0) 70%);
  pointer-events: none;
  transition: opacity .3s;
}

.header__bar { background: linear-gradient(160deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .3)); }
.header.is-scrolled .header__bar { background: linear-gradient(160deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .6)); }
.header__bar::after { background: radial-gradient(60% 120% at 15% 0%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 70%); }

/* Абсолютные элементы сохраняют своё позиционирование */
.rules__card,
.addr-card { position: absolute; }
.toc { position: sticky; }

/* Живое стекло при наведении: кромка и блик ярче */
.glass:is(.card, .plugin-card, .addr-card, .flow__card):hover,
.round-btn:hover,
.btn--ghost:hover {
  background: linear-gradient(160deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .4) 50%, rgba(255, 255, 255, .5) 100%);
  box-shadow:
    inset 0 1px 1px #fff,
    inset 0 -1px 1px rgba(255, 255, 255, .5),
    inset 0 0 28px rgba(255, 255, 255, .4),
    0 16px 48px rgba(8, 32, 45, .09),
    0 1px 2px rgba(8, 32, 45, .04);
}
.glass.card,
.glass.addr-card,
.glass.flow__card { transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, background .3s; }

/* Иконки в стеклянных плашках — тоже с кромкой */
.icon-box { box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9), 0 4px 12px rgba(16, 165, 245, .08); }

@media (max-width: 1023px) {
  .addr-card { position: relative; }
  .rules__card { position: relative; }
}

/* Фолбэк для браузеров без backdrop-filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .header__bar, .round-btn, .btn--ghost { background: rgba(255, 255, 255, .85); }
}

/* Текст слева «едет» вместе с карточками и держится по центру экрана */
@media (min-width: 1024px) {
  .split__text[data-sticky] {
    position: sticky;
    top: var(--sticky-top, 120px);
    align-self: flex-start;
  }
}

/* Текст «проявляется» из серого в чёрный при прокрутке */
.reveal-word { color: inherit; transition: color .35s ease; }
.reveal-word.is-on { color: #000; }

/* Счётчик в hero: ширина фиксируется, цифры не прыгают */
.stats__num[data-count] { display: inline-block; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Карточки адресов в блоке «Обновление без переезда»: всплывают при наведении */
.glass.addr-card {
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, background .35s;
  will-change: transform;
}
.glass.addr-card--std:hover { transform: translateY(-10px) rotate(-2deg); }
.glass.addr-card--exton:hover { transform: translateY(-10px) rotate(2deg); }
.addr-card__row img { transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.addr-card:hover .addr-card__row img { transform: translateX(4px); }

@media (hover: none) {
  .glass.addr-card--std:hover,
  .glass.addr-card--exton:hover { transform: none; }
}

/* Дорожная карта: боковые стрелки слайдера едут вместе с длинной карточкой этапа */
@media (min-width: 1024px) {
  .slider { align-items: stretch; }
  .slider__tab {
    position: sticky;
    top: max(110px, calc(50vh - 137px));
    align-self: flex-start;
    margin-block: 54px;
  }
}

/* ==========================================================================
   Hero: лёгкая анимация появления и «дыхание» фона
   ========================================================================== */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes x-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(-10px, -22px, 0) rotate(1.8deg); }
}
@keyframes blob-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(30px, 20px, 0) scale(1.15); }
}

.hero__label   { animation: hero-in .9s cubic-bezier(.2, .8, .2, 1) .05s both; }
.hero__word    { display: inline-block; text-indent: 0; animation: hero-in .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.2s + var(--i) * .07s); }
.hero__desc    { animation: hero-in .9s cubic-bezier(.2, .8, .2, 1) .55s both; }
.hero__actions { animation: hero-in .9s cubic-bezier(.2, .8, .2, 1) .7s both; }
.stats         { animation: hero-in 1s cubic-bezier(.2, .8, .2, 1) .85s both; }

.hero-bg__x {
  translate: var(--px, 0px) var(--py, 0px);
  transition: translate .8s cubic-bezier(.2, .8, .2, 1);
  animation: hero-fade 1.6s ease both, x-float 10s ease-in-out 1.6s infinite;
}
.hero-bg__blob1 { animation: blob-drift 14s ease-in-out infinite; }
.hero-bg__blob2 { animation: blob-drift 18s ease-in-out -6s infinite reverse; }

/* Документация и дорожная карта: такое же появление шапки, как на главной */
@keyframes toc-in {
  from { opacity: 0; transform: translateX(-20px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.doc-intro .eyebrow   { animation: hero-in .9s cubic-bezier(.2, .8, .2, 1) .05s both; }
.doc-intro__lead      { animation: hero-in .9s cubic-bezier(.2, .8, .2, 1) .6s both; }
.facts .fact          { animation: hero-in .9s cubic-bezier(.2, .8, .2, 1) both; }
.facts .fact:nth-child(1) { animation-delay: .75s; }
.facts .fact:nth-child(2) { animation-delay: .85s; }
.facts .fact:nth-child(3) { animation-delay: .95s; }
.facts .fact:nth-child(4) { animation-delay: 1.05s; }
.toc                  { animation: toc-in 1s cubic-bezier(.2, .8, .2, 1) .3s both; }
.fact__value[data-count] { display: inline-block; font-variant-numeric: tabular-nums; }
