/* GymEcoSystem — Figma version (GES к конфе) */

:root {
  --bg: #191A1B;
  --text: #fff;
  --text-dim: rgba(255, 255, 255, 0.9);
  --text-mute: rgba(255, 255, 255, 0.6);
  --accent: #94bfe2;
  --blue-a: #01579c;
  --blue-b: #1d1aa4;
  --blue-text: #1d5894;
  --ok: #4a9a78;
  --font: "Inter Tight", sans-serif;
  --font-ui: "Geologica", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2 { margin: 0; }

.page {
  position: relative;
  min-height: 100svh;
  background: #191A1B;
}

/* ----- Announce strip ----- */

.announce {
  height: 4px;
  min-height: 4px;
  padding: 0;
  background: linear-gradient(90deg, #a6cd5f 0%, #4a9a78 48%, #2f7a58 100%);
}

/* ----- Header ----- */

.top {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  width: min(1600px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0;
}

.top__logo {
  justify-self: start;
}

.top__logo img {
  width: 148px;
  height: auto;
}

.top__nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: var(--font);
  font-weight: 400;
  font-size: 15px;
}

.top__nav i {
  width: 3px;
  height: 3px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.top__nav a {
  opacity: 0.92;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}

.top__nav a:hover { opacity: 1; }

.top__dropdown {
  position: relative;
}

.top__dropdown-toggle {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  opacity: 0.92;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s var(--ease);
}

.top__dropdown-toggle:hover,
.top__dropdown.is-open .top__dropdown-toggle {
  opacity: 1;
}

.top__dropdown-caret {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(213, 242, 204, 0.92);
  color: #191a1b;
  transition: transform 0.2s var(--ease);
}

.top__dropdown-caret::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  border-color: currentColor transparent transparent transparent;
}

.top__dropdown.is-open .top__dropdown-caret {
  transform: rotate(180deg);
}

.top__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 14px;
  min-width: 520px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), visibility 0.18s;
  z-index: 40;
}

.top__dropdown.is-open .top__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.top__dropdown-panel {
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e6e6e6;
  color: #111;
}

.top__dropdown-all {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: #f3faf6;
  border: 1px solid #c5e4d4;
  color: #1a3d2e !important;
  font-size: 14px;
  font-weight: 600;
  opacity: 1 !important;
}

.top__dropdown-all:hover {
  background: #eaf6ef;
}

.top__dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.top__dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 8px;
  opacity: 1;
  color: #222;
  font-size: 13px;
  line-height: 1.3;
  white-space: normal;
}

.top__dropdown-menu a:hover,
.top__dropdown-menu a[aria-current="page"] {
  background: #f5f5f5;
  color: #111;
}

.top__dropdown-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 6px;
  background: #4a9a78;
  color: #fff;
}

.top__dropdown-icon svg {
  width: 12px;
  height: 12px;
  display: block;
}

.top__nav-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 1;
}

.top__nav-accent-text {
  color: #d5f2cc;
}

.top__nav-accent-arrow {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #d5f2cc;
  color: #191a1b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.top__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.top__menu-btn {
  display: none;
  appearance: none;
  margin: 0;
  width: 40px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.top__menu-icon,
.top__menu-icon::before,
.top__menu-icon::after {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: #fff;
}

.top__menu-icon {
  position: relative;
}

.top__menu-icon::before,
.top__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.top__menu-icon::before { top: -5px; }
.top__menu-icon::after { top: 5px; }

.top__menu-btn[aria-expanded="true"] .top__menu-icon {
  background: transparent;
}

.top__menu-btn[aria-expanded="true"] .top__menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.top__menu-btn[aria-expanded="true"] .top__menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.top__drawer {
  display: none;
}

body.is-nav-open {
  overflow: hidden;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lead-modal[hidden] {
  display: none;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(4px);
}

.lead-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 28px 26px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e4e4e4;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  color: #111;
}

.lead-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #f3f4f6;
  color: #374151;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lead-modal__close:hover {
  background: #e5e7eb;
}

.lead-modal__eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a9a78;
}

.lead-modal__title {
  margin: 0 0 10px;
  max-width: 16em;
  font-family: var(--font);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lead-modal__text {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.68);
}

.lead-modal__form {
  display: grid;
  gap: 10px;
}

.lead-modal__field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d9dde2;
  border-radius: 8px;
  background: #f8f9fa;
  color: #111;
  font-family: var(--font-ui);
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.lead-modal__field input::placeholder {
  color: #333;
  opacity: 1;
}

.lead-modal__field input:focus {
  border-color: #4a9a78;
  background: #fff;
}

.lead-modal__phone {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px 0 12px;
  border: 1px solid #d9dde2;
  border-radius: 8px;
  background: #f8f9fa;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.lead-modal__phone:focus-within {
  border-color: #4a9a78;
  background: #fff;
}

.lead-modal__phone-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-right: 10px;
  border-right: 1px solid #e5e7eb;
  color: #374151;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.lead-modal__field--phone input {
  border: 0;
  background: transparent;
  min-height: 46px;
  box-shadow: none;
}

.lead-modal__field--phone input:focus {
  background: transparent;
}

.lead-modal__submit {
  appearance: none;
  border: 0;
  cursor: pointer;
  min-height: 50px;
  margin-top: 4px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--blue-a), var(--blue-b));
  color: #fff;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: filter 0.2s var(--ease);
}

.lead-modal__submit:hover {
  filter: brightness(1.06);
}

.lead-modal__free {
  margin: 2px 0 0;
  text-align: center;
  font-size: 13px;
  color: rgba(17, 17, 17, 0.5);
}

body.is-lead-open {
  overflow: hidden;
}

.btn--ghost {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-peek {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin: 12px 0 0;
  padding: 0;
}

.footer-peek__device {
  position: relative;
  width: min(1040px, calc(100% - 48px));
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.35);
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
  will-change: transform;
}

.footer-peek:hover .footer-peek__device {
  transform: translate3d(0, -36px, 0);
  box-shadow: 0 -32px 72px rgba(0, 0, 0, 0.45);
}

.footer-peek__chrome {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  background: #2a2a2a;
}

.footer-peek__chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.footer-peek__chrome span:nth-child(1) { background: #ff5f57; }
.footer-peek__chrome span:nth-child(2) { background: #febc2e; }
.footer-peek__chrome span:nth-child(3) { background: #28c840; }

.footer-peek__screen {
  height: 320px;
  overflow: hidden;
  background: #111;
}

.footer-peek__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.footer-peek__veil {
  position: absolute;
  inset: 28px 0 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.35) 0%, rgba(17, 17, 17, 0.62) 42%, rgba(17, 17, 17, 0.78) 100%);
  pointer-events: none;
}

.footer-peek__cta {
  position: absolute;
  z-index: 3;
  top: 42%;
  left: 50%;
  translate: -50% -50%;
  min-height: 52px;
  padding: 0 22px;
  gap: 10px;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.site-footer {
  position: relative;
  z-index: 3;
  background: #111;
  color: #fff;
  padding: 36px max(20px, calc((100% - 1480px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer__logo img {
  width: 132px;
  height: auto;
  opacity: 0.92;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-family: var(--font);
  font-size: 14px;
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s var(--ease);
}

.site-footer__nav a:hover {
  color: #fff;
}

.site-footer__nav a[href="#migrate"],
.site-footer__nav a[href*="#migrate"] {
  color: #d5f2cc;
  font-weight: 500;
}

/* ----- Buttons ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 27px;
  border-radius: 7px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  color: #fff;
  background: linear-gradient(90deg, var(--blue-a), var(--blue-b));
}

.btn--primary:hover {
  filter: brightness(1.08);
}

.btn--sm {
  min-height: 40px;
  padding: 0 14px 0 16px;
  gap: 8px;
  font-size: 12px;
  border-radius: 3px;
}

.btn__mark {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  background: #8ec8ff;
  -webkit-mask: url("assets/figma/mask-icon-sm.png") center / contain no-repeat;
  mask: url("assets/figma/mask-icon-sm.png") center / contain no-repeat;
}

.btn__funnel {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: #4a9a78;
  -webkit-mask: url("assets/figma/mask-icon.png") center / contain no-repeat;
  mask: url("assets/figma/mask-icon.png") center / contain no-repeat;
}

.btn--white {
  color: #111;
  background: #fff;
  gap: 9px;
  border-radius: 7px;
  min-height: 58px;
}

.btn--white:hover {
  filter: brightness(0.96);
}

.btn--white .btn__icons {
  color: #4a9a78;
}

.btn--green {
  color: #fff;
  background: linear-gradient(90deg, #4a9a78 0%, #99b373 100%);
  border-radius: 7px;
  min-height: 68px;
  padding: 0 20px;
}

.btn--green:hover {
  filter: brightness(1.06);
}

.btn--hero {
  min-height: 68px;
  padding: 0 20px;
  border-radius: 7px;
}

.btn--light {
  color: var(--blue-text);
  background: #fff;
  box-shadow: 0 0 28px rgba(21, 44, 162, 0.85);
}

.btn--light:hover {
  box-shadow: 0 0 36px rgba(21, 44, 162, 1);
}

.btn__icons {
  width: 20px;
  height: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

.btn--sm .btn__icons {
  width: 14px;
  height: 14px;
}

.btn__icons-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease);
}

.btn__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
}

.btn--sm .btn__icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

.btn__icon svg {
  width: 90%;
  height: 90%;
}

/* ----- Hero ----- */

.hero {
  position: relative;
  overflow: visible;
  width: min(1680px, calc(100% - 16px));
  margin: 0 auto;
  padding: 28px 0 48px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero__rounds {
  position: absolute;
  left: 50%;
  /* больше площади под дуги за CTA; низ по-прежнему обрезается */
  top: 16%;
  bottom: 0;
  width: min(1280px, 100%);
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__rounds img,
.hero__rounds svg {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  transform: translateX(-50%);
  opacity: 1;
}

.hero__tips {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.hero__tip {
  position: absolute;
  width: min(220px, 16vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.32));
}

.hero__tip--left {
  left: max(12px, 2vw);
  top: 22%;
  transform: rotate(-9deg);
}

.hero__tip--right {
  right: max(12px, 2vw);
  top: 28%;
  transform: rotate(8deg);
}

.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.decor--yoga {
  position: absolute;
  right: 8%;
  top: 40px;
  width: 160px;
  opacity: 0.85;
  transform: rotate(26deg);
  filter: drop-shadow(0 0 18px rgba(120, 80, 180, 0.35));
}

.decor--yoga2 {
  position: absolute;
  right: 10%;
  top: 56px;
  width: 150px;
  opacity: 0.55;
  transform: rotate(-178deg);
}

.decor--bars {
  position: absolute;
  width: 180px;
  height: 120px;
  opacity: 0.55;
  background:
    radial-gradient(circle at 30% 50%, transparent 0 8px, #5e5e5e 8.5px 10px, transparent 10.5px),
    linear-gradient(#5e5e5e, #5e5e5e) center / 70% 2px no-repeat;
}

.decor--bars-l {
  left: -20px;
  top: 70px;
  transform: rotate(-12deg);
  border: 0;
  background: none;
  box-shadow:
    0 0 0 1.5px #5e5e5e,
    18px -28px 0 -4px #5e5e5e,
    -18px 28px 0 -4px #5e5e5e;
  width: 70px;
  height: 14px;
  border-radius: 8px;
  opacity: 0.45;
}

.decor--bars-r {
  right: 12%;
  top: 280px;
  width: 70px;
  height: 14px;
  border-radius: 8px;
  box-shadow:
    0 0 0 1.5px #2e3895,
    22px -34px 0 -4px #2e3895,
    -22px 34px 0 -4px #2e3895;
  opacity: 0.55;
}

.decor--dot {
  position: absolute;
  right: 4%;
  top: 120px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #34154d;
  filter: blur(2px);
  opacity: 0.85;
}

.badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  box-shadow: none;
  margin-bottom: 28px;
  font-family: var(--font);
}

.badge span {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 13px;
  color: #111;
}

.badge img,
.badge__flag {
  width: 18px;
  height: 12px;
  border-radius: 1px;
  flex-shrink: 0;
  object-fit: cover;
  image-rendering: auto;
  filter: none;
  box-shadow: none;
}

.hero__title {
  position: relative;
  z-index: 1;
  max-width: 960px;
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.hero__title-row {
  display: block;
}

.hero__title-row--chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  row-gap: 10px;
}

.hero__title-row--chips > .hero__chip:first-of-type {
  margin-left: 18px;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 20px 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 0.78em;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  vertical-align: middle;
  background: transparent;
}

.hero__chip--dash {
  border-style: dashed;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.22);
}

.hero__chip img {
  width: 28px;
  height: 26px;
  flex-shrink: 0;
  object-fit: contain;
}

.hero__lead {
  position: relative;
  z-index: 1;
  max-width: 680px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-mute);
  margin-bottom: 14px;
}

.hero__plus {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 36px;
  max-width: 680px;
  font-size: 17px;
  line-height: 1.4;
  color: #d5f2cc;
  font-weight: 500;
  text-align: center;
}

.hero__plus-icon {
  width: 18px;
  height: 26px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.hero__cta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 88px;
}

.hero__cta .btn {
  flex: 1 1 280px;
  max-width: 420px;
  min-height: 68px;
  padding: 0 20px;
}

/* ----- Cards ----- */

.cards {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  text-align: center;
  align-items: stretch;
}

.card {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  min-height: 680px;
  padding: 0 10px 16px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: z-index 0s;
}

.card:has(.card__media:hover) {
  overflow: visible;
  z-index: 8;
}

.card__media {
  position: relative;
  display: grid;
  place-items: center;
  width: calc(100% + 20px);
  margin-left: -10px;
  margin-right: -10px;
  height: 480px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0;
  background-color: #1a1a1a;
  background-image: url("assets/figma/cards-panorama.jpg");
  background-repeat: no-repeat;
  background-size: 400% 100%;
}

.card__media--q1 { background-position: 0% 50%; }
.card__media--q2 { background-position: 33.333% 50%; }
.card__media--q3 { background-position: 66.666% 50%; }
.card__media--q4 { background-position: 100% 50%; }

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  pointer-events: none;
  z-index: 0;
}

.card__ui {
  position: relative;
  z-index: 1;
  width: 86%;
  max-height: 78%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.card__ui--full {
  width: 92%;
  max-height: 82%;
  object-fit: contain;
  background: transparent;
}

.card__preview {
  position: relative;
  z-index: 1;
  width: 90%;
  max-height: 82%;
  display: grid;
  place-items: center;
}

/* 3-я карточка — основной визуал чуть уже */
.card__preview--narrow {
  width: 78%;
}

.card__preview .card__ui {
  width: 100%;
  max-height: 100%;
  transform-origin: center center;
  transition: transform 0.18s var(--ease), filter 0.18s var(--ease);
  will-change: transform;
}

.card__tip {
  position: absolute;
  right: -14%;
  top: 28%;
  width: min(78%, 300px);
  height: auto;
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  pointer-events: none; /* не ловит ховер — нет залипания на зелёных плашках */
  z-index: 5;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.35));
  will-change: transform, opacity;
}

.card--analytics .card__tip {
  right: -10%;
  top: 24%;
  width: min(88%, 320px);
}

/* Ховер на весь фон-фото (media), не только на UI-превью */
.card__media:hover {
  overflow: visible;
  z-index: 4;
}

.card__media:hover .card__ui {
  transform: scale(0.94);
  filter: brightness(0.97);
}

.card__media:hover .card__tip {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.card__media--app {
  place-items: center;
}

.card__phone {
  position: relative;
  z-index: 1;
  width: 48%;
  aspect-ratio: 9 / 17;
  margin: 0;
  border-radius: 15px;
  overflow: hidden;
  transform: rotate(2.7deg);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.card__phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  display: grid;
  grid-template-rows: 14px auto 1fr;
  justify-items: center;
  align-content: start;
  gap: 12px;
  width: 100%;
  padding: 32px 6px 0;
  text-align: center;
}

.card__icon {
  width: 44px;
  height: 8px;
  object-fit: contain;
  object-position: center;
}

.card__title {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  max-width: 22ch;
  margin: 0;
  text-align: center;
  min-height: 2.4em;
}

.card__text {
  font-size: 14px;
  line-height: 1.35;
  color: var(--text-mute);
  width: min(100%, 36ch);
  max-width: 36ch;
  margin: 0;
  text-align: center;
}

.card__logo-tag {
  position: absolute;
  z-index: 2;
  left: 18%;
  bottom: 28%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #333;
  font-size: 11px;
  font-weight: 500;
}

/* ----- Responsive ----- */

@media (max-width: 1100px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top {
    grid-template-columns: 1fr auto;
  }

  .top__nav { display: none; }

  .top__menu-btn {
    display: inline-flex;
  }

  .top__drawer {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: fixed;
    z-index: 60;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100svh;
    margin: 0;
    padding: 18px 20px 28px;
    background: #151617;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -18px 0 48px rgba(0, 0, 0, 0.45);
    transform: translateX(105%);
    transition: transform 0.28s var(--ease);
    overflow-y: auto;
  }

  .top__drawer:not([hidden]) {
    transform: translateX(0);
  }

  .top__drawer[hidden] {
    display: flex !important;
    transform: translateX(105%);
    pointer-events: none;
  }

  .top__drawer-close {
    appearance: none;
    align-self: flex-end;
    margin: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
  }

  .top__drawer-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1 1 auto;
  }

  .top__drawer-links a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-decoration: none;
  }

  .top__drawer-cta {
    margin-top: 18px;
    padding: 14px 16px !important;
    border: 0 !important;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--blue-a), var(--blue-b));
    text-align: center;
  }

  .top__drawer-contacts {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .top__drawer-contacts-label {
    margin: 0 0 2px;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4a9a78;
  }

  .top__drawer-contacts a {
    color: rgba(255, 255, 255, 0.86);
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
  }

  .top__actions .btn--sm {
    padding: 0 10px;
    font-size: 11px;
  }
}

@media (max-width: 720px) {
  .top {
    width: calc(100% - 28px);
  }

  .hero:not(.hero--v2) {
    width: calc(100% - 28px);
  }

  .top__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__tips {
    display: none;
  }

  .hero__cta {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

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

  .card {
    min-height: 0;
  }

  .card {
    min-height: 0;
  }

  .card__media {
    height: 380px;
  }

  .card__title {
    min-height: 0;
  }

  .stack {
    padding: 28px 14px 80px;
  }

  .stack__card {
    position: relative;
    top: auto;
  }

  .stack__title {
    font-size: 24px;
  }

  .know__lead,
  .know__outro {
    font-size: 28px;
  }
}

/* ═══════════════════════════════════
   2. CTA — Figma green panel + form
   ═══════════════════════════════════ */
.cta-band {
  background: #191A1B;
  padding: 64px max(20px, calc((100% - 1240px) / 2)) 0;
}

.cta-band__card {
  max-width: 1189px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  padding: 8px 8px 8px 8px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  color: #111;
}

.cta-band__info {
  /* Слой 1 — неподвижный зелёный фон */
  position: relative;
  overflow: hidden;
  container-type: size;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: clamp(480px, 62vw, 560px);
  padding: 48px 40px 56px;
  border-radius: 10px;
  background: linear-gradient(155deg, #4A9A78 0%, #6FB06A 42%, #8CBE66 78%, #A6CD5F 100%);
  color: #fff;
  isolation: isolate;
}

/* Слой 2 — внешний: размер и положение; обрезка только overflow карточки */
.cta-band__orbit {
  position: absolute;
  left: 50%;
  /* Figma: cy чуть ниже низа (102.4%), r ≈ 68% высоты → дуга ≈ 34% */
  top: 102.4%;
  width: 119%;
  aspect-ratio: 1;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

@supports (width: 1cqh) {
  .cta-band__orbit {
    width: 136.13cqh;
    height: 136.13cqh;
  }
}

/* внутренний: только вращение; старт с тёмно-зелёным слева сверху */
.cta-band__orbit-spin {
  width: 100%;
  height: 100%;
  transform-origin: center center;
  transform: rotate(-100deg);
  animation: cta-orbit-spin 16s linear infinite;
  will-change: transform;
}

.cta-band__orbit-spin img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

@keyframes cta-orbit-spin {
  from { transform: rotate(-100deg); }
  to { transform: rotate(260deg); }
}

@media (prefers-reduced-motion: reduce) {
  .cta-band__orbit-spin {
    animation: none;
    transform: rotate(-100deg);
    will-change: auto;
  }
}

/* Слой 3 — неподвижный контент */
.cta-band__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 28ch;
}

.cta-band__title {
  margin: 0 0 22px;
  font-family: var(--font);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
}

.cta-band__custom {
  width: 78px;
  height: auto;
  margin: 0 0 18px;
  display: block;
}

.cta-band__subtitle {
  margin: 0 0 40px;
  font-family: var(--font);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 400;
  line-height: 1.05;
  color: #fff;
}

.cta-band__text {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: -0.01em;
}

.cta-band__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 28px 24px 8px;
  background: #fff;
}

.cta-band__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 360px;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-band__steps li {
  width: 100%;
  padding: 0 0 8px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #181818;
}

.cta-band__steps li:not(:last-child)::after {
  content: "↓";
  display: block;
  margin-top: 8px;
  font-size: 10px;
  color: var(--ok);
  transform: scaleX(1.1);
}

.cta-band__steps small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(24, 24, 24, 0.6);
}

.cta-band__step-access {
  display: flex;
  justify-content: center;
}

.cta-band__access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  max-width: 100%;
}

.cta-band__access-text {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #181818;
  white-space: nowrap;
}

.cta-band__access-pill {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding-top: 2px;
}

.cta-band__access-dots {
  display: block;
  width: 18px;
  height: 4px;
  padding-left: 2px;
}

.cta-band__access-dots::before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4a9a78;
  box-shadow: 7px 0 0 #4a9a78, 14px 0 0 #4a9a78;
}

.cta-band__access-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 4px;
  background: #4a9a78;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.cta-band__access-img {
  display: block;
  width: auto;
  height: 34px;
  max-width: 100%;
}

.cta-band__form {
  width: 100%;
  max-width: 394px;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-band__field {
  display: block;
}

.cta-band__field input {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1px solid #e3e3e3;
  border-radius: 5px;
  background: rgba(217, 217, 217, 0.2);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #111;
  outline: none;
}

.cta-band__field input::placeholder {
  color: #222;
  opacity: 1;
  text-transform: none;
}

.cta-band__field--phone input::placeholder {
  color: #222;
  opacity: 1;
}

.cta-band__field input:focus {
  border-color: #4a9a78;
}

/* Телефон: флаг + код + маска, как в Тильде */
.cta-band__phone {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 46px;
  border: 1px solid #e3e3e3;
  border-radius: 5px;
  background: rgba(217, 217, 217, 0.2);
  overflow: hidden;
}

.cta-band__phone:focus-within {
  border-color: #4a9a78;
}

.cta-band__phone-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 0 12px 0 14px;
  border-right: 1px solid #e3e3e3;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #111;
  user-select: none;
}

.cta-band__phone-code img {
  width: 18px;
  height: 13px;
  display: block;
  border-radius: 2px;
  object-fit: cover;
}

.cta-band__field--phone input {
  border: 0;
  border-radius: 0;
  background: transparent;
  height: 100%;
  padding-left: 12px;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.cta-band__field--phone input:focus {
  border-color: transparent;
}

.cta-band__submit {
  margin-top: 6px;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue-a), var(--blue-b));
  color: #fff;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: filter 0.2s var(--ease), transform 0.2s var(--ease);
}

.cta-band__submit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.cta-band__free {
  margin: 10px 0 0;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.45);
}

/* ═══════════════════════════════════
   3. Know — one logical block with stack
   ═══════════════════════════════════ */
.know {
  min-height: 0;
  background: #191A1B;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 148px 28px 24px;
  text-align: center;
}

.know__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.know__lead {
  margin: 0 0 18px;
  font-family: var(--font);
  font-size: 36px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

/* Apple-style: fixed triangles on accent row, text scrolls inside */
.know__stage {
  --wheel-line: 1.12em;
  display: grid;
  grid-template-columns: auto minmax(0, max-content) auto;
  align-items: start;
  justify-content: center;
  column-gap: 18px;
  width: 100%;
  max-width: 980px;
  font-family: var(--font);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: var(--wheel-line);
}

.know__tri {
  width: 0;
  height: 0;
  margin-top: calc((var(--wheel-line) - 14px) / 2);
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #d5f2cc;
  flex-shrink: 0;
}

.know__tri--r {
  border-width: 7px 12px 7px 0;
  border-color: transparent #d5f2cc transparent transparent;
}

.know__wheel {
  position: relative;
  min-width: 0;
  height: calc(var(--wheel-line) * 2.55);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 36%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0.16) 80%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 36%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0.16) 80%,
    transparent 100%
  );
}

.know__wheel-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}

.know__word {
  display: block;
  width: 100%;
  height: var(--wheel-line);
  white-space: nowrap;
  text-align: center;
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.35s ease;
}

.know__word b {
  font-weight: 500;
}

.know__word.is-near {
  color: rgba(255, 255, 255, 0.45);
}

.know__word.is-active {
  color: #fff;
}

.know__bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding-top: 12px;
}

.know__outro {
  margin: 0;
  font-family: var(--font);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
}

.know__outro-accent {
  color: #d5f2cc;
}

.review-mark {
  color: #c45c00;
  font-weight: 600;
  white-space: nowrap;
}

/* ═══════════════════════════════════
   4. Stack blocks — headline + sticky cards × 2
   ═══════════════════════════════════ */
.stack-block {
  background: #191A1B;
  padding: 56px 0 32px;
}

.know + .stack-block {
  padding-top: 20px;
}

.stack-block#earn {
  padding-bottom: 0;
}

.stack-block__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto 40px;
  max-width: 1480px;
  padding: 0 max(20px, calc((100% - 1480px) / 2));
  box-sizing: border-box;
}

.stack-block__ornament {
  position: relative;
  display: grid;
  place-items: center;
  width: min(560px, 92%);
  margin: -12px auto 6px;
  pointer-events: none;
  aspect-ratio: 480 / 210;
  mask-image: linear-gradient(180deg, transparent 0%, #000 38%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 38%, #000 100%);
}

.stack-block__orbit {
  position: absolute;
  inset: 0;
  transform-origin: 50% -9.5%;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.stack-block__orbit--outer {
  transform: rotate(var(--orbit-outer, 0deg));
}

.stack-block__orbit--inner {
  transform: rotate(var(--orbit-inner, 0deg));
}

.stack-block__ornament svg {
  display: block;
  width: 100%;
  height: auto;
}

.stack-block__title {
  margin: 0 auto 36px;
  max-width: 1480px;
  padding: 0 max(20px, calc((100% - 1480px) / 2));
  box-sizing: border-box;
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
}

.stack-block__title--center {
  margin: 0;
  padding: 0;
  max-width: 36ch;
  text-align: center;
  line-height: 1.22;
}

.stack-block__title--franchise {
  display: block;
  width: fit-content;
  margin: 0 auto 36px;
  padding: 0;
  max-width: none;
  text-align: center;
}

.br-m {
  display: none;
}

#franchise.stack-block {
  padding-top: 96px;
  padding-bottom: 72px;
}

.stack-block__lead {
  color: rgba(255, 255, 255, 0.42);
  font-weight: 400;
}

.stack-block__title span:not(.stack-block__lead) {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

/* ═══════════════════════════════════
   Pricing — стоимость GES (зелёная вставка)
   ═══════════════════════════════════ */
.pricing {
  position: relative;
  z-index: 3;
  background: #ececec;
  color: #fff;
  margin-top: -72px;
  padding: 0 max(20px, calc((100% - 1280px) / 2)) 72px;
}

.pricing__panel {
  position: relative;
  z-index: 3;
  padding: 48px 40px 40px;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(100deg, #2a6b4e 0%, #3d8f68 28%, #6aad6a 58%, #a3c46e 82%, #c5d67a 100%);
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.08);
}

.pricing__orbit {
  position: absolute;
  right: -18%;
  top: 42%;
  width: min(72%, 760px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.pricing__orbit-spin {
  width: 100%;
  height: 100%;
  transform-origin: center center;
  transform: rotate(-80deg);
  animation: cta-orbit-spin 18s linear infinite;
  will-change: transform;
}

.pricing__orbit-spin img {
  width: 100%;
  height: 100%;
  display: block;
}

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

.pricing__head {
  max-width: 42em;
  margin: 0 auto 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing__title {
  margin: 0 0 10px;
  font-family: var(--font);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
}

.pricing__micro {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 14px;
  font-family: var(--font);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
}

.pricing__micro-sum {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-weight: 650;
}

.pricing__note {
  margin: 0 auto;
  max-width: 46ch;
  font-family: var(--font);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 0;
}

.pricing__grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing__card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 168px;
  padding: 26px 24px 24px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 24px rgba(20, 40, 28, 0.12);
}

.pricing__grid--four .pricing__card {
  grid-column: auto;
}

.pricing__card-title {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font);
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #141414;
}

.pricing__card-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 5px;
  display: block;
  object-fit: contain;
}

.pricing__card-text {
  margin: 0;
  max-width: 38ch;
  padding-left: 24px;
  font-family: var(--font);
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 400;
  line-height: 1.45;
  color: #4f4f4f;
}

.pricing__cta-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  margin-top: 44px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.pricing__cta {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 7px;
  background: linear-gradient(90deg, var(--blue-a), var(--blue-b));
  color: #fff;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: filter 0.2s var(--ease);
  flex: 0 0 auto;
  white-space: nowrap;
}

.pricing__cta:hover {
  filter: brightness(1.08);
}

.pricing__contact {
  display: block;
  flex: 1 1 220px;
  min-width: min(220px, 100%);
}

.pricing__contact input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  box-sizing: border-box;
}

.pricing__contact input::placeholder {
  color: rgba(255, 255, 255, 0.88);
}

.pricing__contact input:focus {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.18);
}

.razbors {
  background: #f3f3f3;
  color: #111;
  padding: 72px max(20px, calc((100% - 1480px) / 2)) 88px;
}

.razbors__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

.razbor {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 24px 24px 0;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e4e4e4;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.razbor__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 18px 20px;
  align-items: start;
}

.razbor__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.razbor__media {
  width: 132px;
  height: 132px;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  justify-self: end;
}

.razbor__media--a {
  background:
    radial-gradient(120% 90% at 12% 18%, rgba(213, 242, 204, 0.55) 0%, transparent 55%),
    linear-gradient(135deg, #4a9a78 0%, #2f6b55 48%, #193429 100%);
}

.razbor__media--b {
  background:
    radial-gradient(100% 80% at 88% 12%, rgba(166, 205, 95, 0.45) 0%, transparent 50%),
    linear-gradient(150deg, #a6cd5f 0%, #4a9a78 42%, #1f4738 100%);
}

.razbor__media--c {
  background:
    radial-gradient(90% 70% at 20% 90%, rgba(203, 230, 163, 0.4) 0%, transparent 48%),
    linear-gradient(160deg, #6fb06a 0%, #4a9a78 40%, #16352a 100%);
}

.razbor__media--d {
  background:
    radial-gradient(110% 85% at 70% 80%, rgba(213, 242, 204, 0.35) 0%, transparent 52%),
    linear-gradient(145deg, #8cbe66 0%, #3f8a68 45%, #122820 100%);
}

.razbor__eyebrow {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.48);
}

.razbor__eyebrow span {
  color: #01579c;
}

.razbor__title {
  margin: 0;
  max-width: none;
  text-align: left;
  font-family: var(--font);
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: #111;
}

.razbor__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.64);
}

.razbor__body {
  position: relative;
  margin: 8px -24px 0;
  padding: 8px 24px 84px;
}

.razbor__label {
  margin: 0 0 14px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.42);
}

.razbor__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 7.6em;
  overflow: hidden;
}

.razbor__points li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid #ececec;
  font-size: 16px;
  line-height: 1.3;
  color: #111;
}

.razbor__point-num {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(17, 17, 17, 0.4);
}

.razbor__point-text {
  font-weight: 500;
  letter-spacing: -0.01em;
}

.razbor__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.78) 36%, #fff 72%);
  pointer-events: none;
  z-index: 1;
}

.razbor__cta {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 7px;
  background: linear-gradient(90deg, var(--blue-a), var(--blue-b));
  color: #fff;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: filter 0.2s var(--ease);
}

.razbor__cta:hover {
  filter: brightness(1.08);
}

.contacts {
  background: #191a1b;
  color: #fff;
  padding: 64px max(20px, calc((100% - 1480px) / 2)) 0;
}

.contacts__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 36px 40px 0;
  border-radius: 16px 16px 0 0;
  background: #222325;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
}

.contacts__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
}

.contacts__eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a9a78;
}

.contacts__title {
  margin: 0 0 10px;
  font-family: var(--font);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
}

.contacts__text {
  margin: 0;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.contacts__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.contacts__tg {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.contacts__tg:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.contacts__tg picture,
.contacts__tg-photo {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.contacts__tg-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.contacts__tg-meta strong {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 650;
}

.contacts__tg-meta em {
  font-style: normal;
  font-family: var(--font-ui);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

.contacts__phone {
  font-family: var(--font-ui);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}

.contacts__phone:hover {
  color: #d5f2cc;
}

.contacts__mail {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 2px;
}

.contacts__mail:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.contacts__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 7px;
  background: linear-gradient(90deg, var(--blue-a), var(--blue-b));
  color: #fff;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: filter 0.2s var(--ease);
}

.contacts__cta:hover {
  filter: brightness(1.08);
}

.stack {
  --stack-gap: 16px;
  --stack-peek: 52px;
  background: transparent;
  padding: 0 max(20px, calc((100% - 1480px) / 2)) 48px;
  width: 100%;
  box-sizing: border-box;
}

.stack__card {
  --tint-bg: #f3faf6;
  --tint-border: #c5e4d4;
  --tint-icon: #4a9a78;
  --tint-micro: #4a9a78;
  position: sticky;
  top: calc(var(--stack-peek) * var(--i) + var(--stack-gap));
  z-index: calc(10 + var(--i));
  display: grid;
  grid-template-columns: minmax(340px, 1fr) 1.15fr;
  gap: 28px;
  align-items: stretch;
  height: 490px;
  max-width: 1480px;
  margin: 0 auto 24px;
  padding: 18px 11px 11px 36px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  font-family: var(--font);
}

.stack__card--violet,
.stack__card--blue,
.stack__card--green,
.stack__card--cyan {
  --tint-bg: #f3faf6;
  --tint-border: #c5e4d4;
  --tint-icon: #4a9a78;
  --tint-micro: #4a9a78;
}

.stack__card:last-child {
  margin-bottom: 0;
}

.stack__left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 4px 0 18px;
}

.stack__micro {
  margin: 0;
  min-height: 34px;
  display: flex;
  align-items: center;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tint-micro);
}

.stack__title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #141414;
  max-width: 28ch;
}

.stack__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stack__tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--tint-border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: #2a2a2a;
  background: var(--tint-bg);
}

.stack__tag-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.stack__tags svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--tint-icon);
}

.stack__tag-more {
  min-width: 40px;
  justify-content: center;
  letter-spacing: 0.12em;
}

.stack__tags-muted {
  border-color: #e4e4e4 !important;
  background: #f3f3f3 !important;
  color: #2a2a2a !important;
}

.stack__tags-muted .stack__tag-icon {
  opacity: 0.45;
  filter: grayscale(1);
}

.stack__note {
  margin: auto 0 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: #8a8a8a;
  max-width: 48ch;
}

.stack__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: fit-content;
  gap: 8px;
  margin-top: auto;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 7px;
  border: none;
  background: linear-gradient(90deg, var(--blue-a), var(--blue-b));
  color: #fff;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: none;
  transition: filter 0.2s var(--ease);
}

.stack__more:hover {
  filter: brightness(1.08);
}

.stack__tag {
  margin: 0;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 8px;
  background: #eef3fb;
  border: 1px solid #b7c9e8;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #01579c;
}

.stack__left:has(.stack__more) .stack__note,
.stack__left:has(.stack__more) .stack__tags {
  margin-bottom: 0;
}

/* Soft-corner media inset — half padding to card edges */
.stack__media {
  position: relative;
  align-self: stretch;
  min-height: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}

.stack__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.stack__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  pointer-events: none;
  z-index: 1;
}

.stack__ui {
  position: absolute;
  inset: 12% 18% 12% 18%;
  z-index: 2;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  background: #fff;
}

.stack__ui > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack__card--violet .stack__ui--access {
  inset: 6% 4% 8% 5%;
}

.stack__card--blue .stack__ui--franchise-drill {
  inset: 6% 4% 8% 5%;
}

.stack__ui--access picture,
.stack__ui--franchise-drill picture {
  display: block;
  width: 100%;
  height: 100%;
}

.stack__ui--access img,
.stack__ui--franchise-drill img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.stack__ui--franchise-drill img {
  object-position: 58% 42%;
}

.stack__ui--phone {
  inset: 10% 28% 10% 32%;
  border-radius: 12px;
}

.stack__card--blue .stack__ui--phones {
  inset: 6% 8% 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.stack__card--blue .stack__ui--integrations {
  inset: 4% 3% 5% 3%;
  display: grid;
  place-items: stretch;
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.ges-int {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.ges-int__core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(38%, 210px);
  aspect-ratio: 16 / 10;
  transform: translate(-50%, -52%);
  border-radius: 5px;
  overflow: hidden;
  background: #111;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ges-int__core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 12% 6%;
  display: block;
}

.ges-int__orbit {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.ges-int__chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 168px;
  padding: 9px 11px;
  border-radius: 6px;
  background: #f3faf6;
  border: 1px solid #c5e4d4;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  pointer-events: auto;
}

.ges-int__chip strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #2f6b55;
}

.ges-int__ico {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.ges-int__chip span {
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #3d4a44;
  padding-left: 19px;
}

.ges-int__chip--crm {
  top: 3%;
  left: 8%;
}

.ges-int__chip--pay {
  top: 3%;
  right: 6%;
  max-width: 158px;
}

.ges-int__chip--access {
  top: 36%;
  left: 1%;
  max-width: 178px;
}

.ges-int__chip--comms {
  top: 34%;
  right: 1%;
  max-width: 170px;
}

.ges-int__chip--site {
  bottom: 14%;
  left: 5%;
  max-width: 182px;
}

.ges-int__chip--acc {
  bottom: 12%;
  right: 4%;
  max-width: 168px;
}

.ges-int__chip--api {
  bottom: 1%;
  left: 50%;
  max-width: 170px;
  transform: translateX(-50%);
}

@media (max-width: 1100px) {
  .ges-int__chip {
    max-width: 140px;
    padding: 8px 9px;
  }

  .ges-int__chip span {
    font-size: 11px;
  }

  .ges-int__core {
    width: min(36%, 180px);
  }
}

@media (max-width: 900px) {
  #formats .stack__card--blue .stack__media {
    height: auto;
    min-height: 420px;
  }

  #earn .stack__card--blue .stack__media {
    height: 280px;
    min-height: 0;
  }

  .stack__card--blue .stack__ui--integrations {
    position: relative;
    inset: auto;
    height: auto;
    min-height: 0;
    padding: 10px 8px 12px;
    overflow: visible;
  }

  .ges-int {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
  }

  .ges-int__core {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
  }

  .ges-int__orbit {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .ges-int__chip {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    max-width: none;
    transform: none;
    padding: 8px 9px;
  }

  .ges-int__chip strong {
    font-size: 11px;
  }

  .ges-int__chip span {
    font-size: 10px;
    padding-left: 0;
  }
}

.stack__phone {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  max-width: 48%;
  margin: 0;
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.stack__phone picture {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
}

.stack__ui--phones img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28));
}

.stack__phone-tag {
  position: absolute;
  z-index: 3;
  left: -8%;
  top: 36%;
  margin: 0;
  max-width: 148px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #141414;
  transform: rotate(-8deg);
  pointer-events: none;
}

.stack__phone:last-child .stack__phone-tag {
  top: 44%;
  transform: rotate(-6deg);
}

/* Каталог: iframe с реальной вёрсткой/стилями из SingleFile */
.stack__card--violet .stack__ui--live.stack__ui--catalog {
  inset: 3% 2.5% 4% 3%;
  display: block;
  padding: 0;
  overflow: hidden;
  background: #1c1c1c;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.ges-cat__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f4f6f8;
  pointer-events: auto;
}

/* Аналитика: покупки после первого визита */
.stack__card--green .stack__ui--analytics {
  inset: 3% 2.5% 14% 3%;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: #1c1c1c;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.ges-an__rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 8px 12px;
  background: #121212;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.ges-an__rail-brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 2px 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-ui);
  line-height: 1.1;
}

.ges-an__rail-brand strong {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: #ffed00;
}

.ges-an__rail-brand span {
  font-size: 9px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.ges-an__rail-sec {
  margin: 4px 6px 2px;
  font-family: var(--font-ui);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.ges-an__rail-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ges-an__rail-nav span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 24px;
  padding: 0 7px;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ges-an__rail-nav span i {
  width: 12px;
  flex-shrink: 0;
  font-style: normal;
  font-size: 10px;
  text-align: center;
  opacity: 0.85;
}

.ges-an__rail-nav span.is-active {
  background: #2a2a2a;
  color: #ffed00;
  font-weight: 650;
}

.ges-an__workspace {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  min-height: 0;
  padding: 8px;
  overflow: auto;
  background: #f3f4f6;
}

.ges-an__top,
.ges-an__drill {
  background: #fff;
  border: 1px solid #e8eaee;
  border-radius: 6px;
  padding: 8px 9px 7px;
}

.ges-an__title {
  margin: 0 0 6px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1d21;
}

.ges-an__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 7px;
}

.ges-an__filter {
  height: 22px;
  padding: 0 8px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  font-family: var(--font);
  font-size: 9.5px;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
}

.ges-an__filter.is-active {
  background: #fff8e6;
  border-color: #f0d78c;
  color: #1a1d21;
}

.ges-an__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 7px;
}

.ges-an__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  margin: 0;
  padding: 6px 7px;
  border: 1px solid #e8eaee;
  border-radius: 7px;
  background: #fafbfc;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.ges-an__metric:hover {
  border-color: #d7dde6;
}

.ges-an__metric.is-active {
  background: #fff;
  border-color: #f0d78c;
  box-shadow: inset 0 0 0 1px #f0d78c;
}

.ges-an__metric-label {
  font-family: var(--font);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.25;
  color: #8b93a0;
}

.ges-an__metric-value {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #1a1d21;
  line-height: 1.1;
}

.ges-an__metric-value--ok { color: #2e7d32; }
.ges-an__metric-value--bad { color: #c62828; }

.stack__ui--analytics.is-hinting .ges-an__metric[data-metric="none"] {
  z-index: 2;
  border-color: #4a9a78;
  transform: scale(1.05);
  box-shadow: 0 0 0 3px rgba(74, 154, 120, 0.22), 0 8px 18px rgba(74, 154, 120, 0.28);
  animation: ges-field-hint 2.2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .stack__ui--analytics.is-hinting .ges-an__metric[data-metric="none"] {
    animation: none;
  }
}

.ges-an__section {
  margin: 0 0 5px;
  font-family: var(--font);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}

.ges-an__chart {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ges-an__row {
  display: grid;
  grid-template-columns: 54px 1fr 34px;
  gap: 6px;
  align-items: center;
}

.ges-an__row-label {
  font-family: var(--font);
  font-size: 9px;
  font-weight: 600;
  color: #4b5563;
}

.ges-an__bar {
  display: flex;
  height: 12px;
  overflow: hidden;
  border-radius: 4px;
  background: #f3f4f6;
}

.ges-an__bar-ok {
  background: #81c784;
}

.ges-an__bar-bad {
  background: #ef9a9a;
}

.ges-an__row-pct {
  font-family: var(--font);
  font-size: 9px;
  font-weight: 700;
  text-align: right;
  color: #1a1d21;
}

.ges-an__legend {
  display: flex;
  gap: 10px;
  margin-top: 5px;
  font-family: var(--font);
  font-size: 8.5px;
  font-weight: 500;
  color: #6b7280;
}

.ges-an__legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ges-an__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.ges-an__dot--ok { background: #66bb6a; }
.ges-an__dot--bad { background: #ef9a9a; }

.ges-an__drill-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.ges-an__drill-title {
  margin: 0;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  color: #1a1d21;
}

.ges-an__drill-sub {
  margin: 2px 0 0;
  font-family: var(--font);
  font-size: 8.5px;
  color: #9aa3af;
}

.ges-an__drill-total {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #c62828;
}

.ges-an__drill[data-view="bought"] .ges-an__drill-total {
  color: #2e7d32;
}

.ges-an__drill[data-view="visited"] .ges-an__drill-total {
  color: #1a1d21;
}

.ges-an__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font);
  font-size: 8.5px;
}

.ges-an__table th {
  padding: 3px 4px;
  border-bottom: 1px solid #eef0f3;
  font-weight: 600;
  text-align: left;
  color: #9aa3af;
  white-space: nowrap;
}

.ges-an__table td {
  padding: 4px;
  border-bottom: 1px solid #f3f4f6;
  color: #1a1d21;
  white-space: nowrap;
}

.ges-an__table a {
  color: #1565c0;
  font-weight: 600;
  text-decoration: none;
  pointer-events: none;
}

.ges-an__foot {
  margin: 5px 0 0;
  font-family: var(--font);
  font-size: 8.5px;
  color: #9aa3af;
}

@media (max-width: 900px) {
  .stack__card--green .stack__ui--analytics {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .ges-an__rail-nav span {
    font-size: 9px;
    min-height: 22px;
    padding: 0 6px;
  }
}

/* Финсверка — сжатый скрин (webp ~40 КБ) */
.stack__card--violet .stack__ui--reconcile {
  inset: 6% 4% 6% 5%;
  display: block;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border-radius: 8px;
}

.stack__ui--reconcile picture,
.stack__ui--reconcile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.ges-rec {
  --shell: #171717;
  --shell-2: #2a2a2a;
  --yellow: #ffed00;
  --canvas: #f5f6f8;
  --card: #fff;
  --text: #111;
  --mute: #6b7280;
  --line: #e5e7eb;
  --danger: #c62828;
  --ok: #2fa866;
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  height: 100%;
  overflow: hidden;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 11px;
  line-height: 1.25;
  box-sizing: border-box;
}

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

.ges-rec__side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px 8px;
  background: var(--shell);
  color: #f3f4f6;
  overflow: hidden;
}

.ges-rec__brand {
  margin-bottom: 12px;
  padding: 0 4px;
}
.ges-rec__brand strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
}
.ges-rec__brand strong span { color: var(--yellow); }
.ges-rec__brand small {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  color: rgba(243, 244, 246, 0.7);
}

.ges-rec__side-sec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 4px 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}
.ges-rec__side-sec i { font-style: normal; }

.ges-rec__side-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ges-rec__side-nav span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 0 7px;
  border-radius: 6px;
  color: #d1d5db;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ges-rec__side-nav span i {
  width: 12px;
  flex-shrink: 0;
  font-style: normal;
  font-size: 10px;
  text-align: center;
  opacity: 0.85;
}
.ges-rec__side-nav .is-on {
  background: var(--shell-2);
  color: var(--yellow);
  font-weight: 650;
}

.ges-rec__side-foot {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 4px;
}
.ges-rec__side-foot em {
  font-style: normal;
  color: #9ca3af;
  font-size: 10px;
}
.ges-rec__side-foot b {
  color: #fff;
  font-size: 11px;
  font-weight: 650;
}

.ges-rec__app {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--canvas);
}

.ges-rec__top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px;
  background: #f5f6f8;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.ges-rec__top nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.ges-rec__top nav span {
  color: #374151;
  font-size: 10.5px;
  font-weight: 550;
  white-space: nowrap;
}
.ges-rec__search {
  flex: 1;
  min-width: 0;
  height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: #9ca3af;
  font-size: 10px;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ges-rec__top-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.ges-rec__clubchip,
.ges-rec__inclub {
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}
.ges-rec__inclub { background: #eef2f7; }

.ges-rec__page {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 10px 10px 8px;
}

.ges-rec__pagehead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.ges-rec__pagehead h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ges-rec__pagehead p {
  margin: 2px 0 0;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--mute);
}
.ges-rec__pageacts {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.ges-rec__ghost,
.ges-rec__yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.ges-rec__ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: #374151;
}
.ges-rec__yellow {
  border: 1px solid var(--yellow);
  background: var(--yellow);
  color: #111;
}

.ges-rec__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 7px;
  margin-bottom: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.ges-rec__filters label,
.ges-rec__filters > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.ges-rec__filters label > span,
.ges-rec__filters > div > span {
  font-size: 10px;
  font-weight: 550;
  color: var(--mute);
}
.ges-rec__box {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  font-style: normal;
  font-size: 11px;
  font-weight: 550;
  color: var(--text);
  white-space: nowrap;
}
.ges-rec__box--focus {
  border-color: #e6d35a;
  box-shadow: 0 0 0 1px rgba(255, 237, 0, 0.35);
}
.ges-rec__seg {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}
.ges-rec__seg--end { margin-left: auto; }
.ges-rec__seg button {
  min-height: 22px;
  padding: 0 8px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--mute);
  cursor: pointer;
  white-space: nowrap;
}
.ges-rec__seg button.is-on {
  background: #eef1f4;
  color: var(--text);
}
.ges-rec__seg button:disabled {
  opacity: 0.45;
  cursor: default;
}
.ges-rec__filters label[hidden] { display: none !important; }

.ges-rec__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 8px;
}
.ges-rec__kpis > div {
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.ges-rec__kpis span {
  display: block;
  font-size: 10px;
  font-weight: 550;
  color: var(--mute);
}
.ges-rec__kpis strong {
  display: block;
  margin-top: 3px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.ges-rec__kpis .is-bad { color: var(--danger); }

.ges-rec__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 7px;
  min-height: 0;
}

.ges-rec__panel,
.ges-rec__detail {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.ges-rec__panel { overflow: auto; }

.ges-rec__panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
}
.ges-rec__panel th,
.ges-rec__panel td {
  padding: 6px 7px;
  border-bottom: 1px solid #edf0f3;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  vertical-align: middle;
}
.ges-rec__panel thead th {
  font-size: 10px;
  font-weight: 650;
  color: var(--mute);
  background: #fafbfc;
  border-bottom: 1px solid var(--line);
}
.ges-rec__panel tbody th,
.ges-rec__panel thead th:first-child {
  text-align: left;
  font-weight: 650;
  color: var(--text);
  position: sticky;
  left: 0;
  background: #fff;
}
.ges-rec__panel thead th:first-child { background: #fafbfc; }
.ges-rec__panel .is-ok { color: var(--ok); font-weight: 700; }
.ges-rec__panel .is-good { color: var(--ok); font-weight: 700; }
.ges-rec__panel .is-bad { color: var(--danger); font-weight: 700; }
.ges-rec__panel .is-mute { color: var(--mute); font-size: 10px; }
.ges-rec__panel .is-dash { color: #9ca3af; }
.ges-rec__panel .is-warn {
  display: inline-flex;
  padding: 1px 5px;
  border-radius: 4px;
  background: #fff6d6;
  color: #9a6b00;
  font-size: 10px;
  font-weight: 700;
}

.ges-rec__detail {
  padding: 9px;
}
.ges-rec__detail h4 {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
}
.ges-rec__detail p {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--mute);
}

/* Анимация непродлений → CRM (earn green card) */
.stack__card--green .stack__ui--renewal {
  inset: 6% 7% 6% 8%;
  display: block;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.ges-renewal {
  height: 100%;
  padding: 12px;
  overflow: auto;
  background: #f4f6f8;
  color: #0f172a;
  font-family: var(--font);
  font-size: 12px;
  box-sizing: border-box;
}

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

.ges-renewal__source {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  padding: 11px;
}

.ges-renewal__crm {
  background: #e8f2fb;
  border: 1px solid #c5daf0;
  border-radius: 8px;
  padding: 11px;
}

.ges-renewal__top,
.ges-renewal__line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.ges-renewal__top > b {
  font-size: 16px;
  font-weight: 750;
}

.ges-renewal__top > span {
  font-size: 11px;
  font-weight: 500;
}

.ges-renewal__amo {
  color: #2879cc !important;
}

.ges-renewal__sync {
  color: #238b57 !important;
  font-size: 11px;
}

.ges-renewal__muted {
  margin-top: 4px;
  font-size: 10px;
  color: #64748b;
}

.ges-renewal__line {
  border-top: 1px solid #e5e7eb;
  margin-top: 10px;
  padding-top: 10px;
  font-size: 11px;
}

.ges-renewal__expired {
  background: #e8f6ee;
  color: #1a7a4a;
  border: 1px solid #b7dfc4;
  padding: 4px 7px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
}

.ges-renewal__connector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 36px;
  font-size: 10px;
  color: #64748b;
}

.ges-renewal__connector i {
  position: relative;
  width: 1px;
  height: 24px;
  background: #aebbc8;
}

.ges-renewal__connector i::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2fa866;
  animation: ges-renewal-pulse 10s infinite;
}

.ges-renewal__columns {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
  min-height: 168px;
}

.ges-renewal__lane {
  min-width: 0;
  padding: 6px;
  border-radius: 5px;
  background: #f1f3f5;
}

.ges-renewal__lane-title {
  padding: 3px 1px 7px;
  border-bottom: 3px solid;
  font-size: 11px;
  font-weight: 700;
}

.ges-renewal__lane-title--ok { border-color: #92c2a4; }
.ges-renewal__lane-title--bad { border-color: #e8a2a2; }

.ges-renewal__other {
  margin-top: 7px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #dce1e6;
  border-radius: 5px;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
}

.ges-renewal__moving {
  position: absolute;
  top: 72px;
  left: 6px;
  z-index: 1;
  width: calc(50% - 14px);
  padding: 9px;
  border: 1px solid #c8cdd4;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
  color: #0f172a;
  font-size: 11px;
  animation: ges-renewal-move 10s infinite;
}

.ges-renewal__moving > b {
  font-size: 12px;
  font-weight: 750;
}

.ges-renewal__task {
  margin-top: 8px;
  padding: 7px;
  border: 1px solid #ebd879;
  border-radius: 4px;
  background: #fff5cf;
  font-size: 10px;
  animation: ges-renewal-task 10s infinite;
}

.ges-renewal__task > b {
  font-weight: 750;
}

.ges-renewal__success {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 600;
  color: #238b57;
}

.ges-renewal__timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 14px;
  text-align: center;
}

.ges-renewal__timeline > div {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 12px;
  border-top: 1px solid #cbd5e1;
  font-size: 10px;
}

.ges-renewal__timeline b {
  font-weight: 700;
}

.ges-renewal__timeline span {
  color: #64748b;
  font-size: 9px;
}

.ges-renewal__timeline i {
  position: absolute;
  top: -5px;
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2fa866;
  box-shadow: 0 0 0 3px #f4f6f8;
}

.ges-renewal__dot--2 { animation: ges-renewal-day2 10s infinite; }
.ges-renewal__dot--3 { animation: ges-renewal-day3 10s infinite; }

@keyframes ges-renewal-move {
  0%, 20% { transform: translate(0, 0); }
  32%, 100% {
    transform: translate(calc(100% + 20px), -52px);
    border-color: #d1b94d;
  }
}

@keyframes ges-renewal-task {
  0%, 48% {
    visibility: hidden;
    max-height: 0;
    margin: 0;
    padding: 0;
    border-width: 0;
    overflow: hidden;
  }
  49%, 100% {
    visibility: visible;
    max-height: 200px;
  }
}

@keyframes ges-renewal-pulse {
  0%, 20% { top: 0; }
  32%, 100% { top: 17px; }
}

@keyframes ges-renewal-day2 {
  0%, 31% { background: #cbd5e1; }
  32%, 100% { background: #2fa866; }
}

@keyframes ges-renewal-day3 {
  0%, 48% { background: #cbd5e1; }
  49%, 100% { background: #2fa866; }
}

@media (prefers-reduced-motion: reduce) {
  .ges-renewal__moving {
    animation: none;
    transform: translate(calc(100% + 20px), -52px);
    border-color: #d1b94d;
  }

  .ges-renewal__task,
  .ges-renewal__timeline i,
  .ges-renewal__connector i::after {
    animation: none;
  }

  .ges-renewal__task {
    visibility: visible;
    max-height: none;
    margin-top: 8px;
    padding: 7px;
    border-width: 1px;
  }
}

/* Автопродление подписки (earn cyan card) */
.stack__card--cyan .stack__ui--sub {
  inset: 7% 10% 7% 12%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  background: transparent;
  box-shadow: none;
}

.ges-sub {
  width: 100%;
  max-width: 370px;
  margin: auto;
  padding: 12px;
  border-radius: 10px;
  background: #f4f6f8;
  color: #0f172a;
  font-family: var(--font-ui);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  box-sizing: border-box;
}

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

.ges-sub__payment,
.ges-sub__membership {
  padding: 12px;
  border: 1px solid #dce1e6;
  border-radius: 6px;
  background: #fff;
}

.ges-sub__top,
.ges-sub__amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ges-sub__muted {
  color: #64748b;
  font-size: 11px;
}

.ges-sub__amount {
  margin-top: 9px;
}

.ges-sub__amount strong {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.6px;
}

.ges-sub__status {
  position: relative;
  width: 86px;
  height: 25px;
}

.ges-sub__status span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 11px;
}

.ges-sub__pending {
  background: #f1f3f5;
  color: #64748b;
  animation: ges-sub-wait 7s infinite;
}

.ges-sub__paid {
  background: #e5f5eb;
  color: #238b57;
  font-weight: 600;
  animation: ges-sub-paid 7s infinite;
}

.ges-sub__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 32px;
  color: #64748b;
  font-size: 10px;
}

.ges-sub__connector i {
  position: relative;
  width: 1px;
  height: 26px;
  background: #b8c2ce;
}

.ges-sub__connector i::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2fa866;
  animation: ges-sub-signal 7s infinite;
}

.ges-sub__ges {
  padding: 4px 7px;
  border-radius: 3px;
  background: #ffed00;
  font-size: 11px;
  font-weight: 800;
  color: #111;
}

.ges-sub__name {
  margin-top: 3px;
}

.ges-sub__label {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  font-size: 11px;
  color: #64748b;
}

.ges-sub__dates {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin-top: 4px;
  white-space: nowrap;
}

.ges-sub__old {
  font-size: 20px;
  font-weight: 600;
  animation: ges-sub-old 7s infinite;
}

.ges-sub__arrow {
  color: #94a3b8;
  animation: ges-sub-show 7s infinite;
}

.ges-sub__new {
  padding: 4px 5px;
  border-radius: 3px;
  background: #fff08b;
  font-size: 20px;
  font-weight: 650;
  animation: ges-sub-show 7s infinite;
}

.ges-sub__done {
  margin-top: 8px;
  color: #238b57;
  font-size: 11px;
  animation: ges-sub-done 7s infinite;
}

.ges-sub__history {
  margin-top: 12px;
  margin-bottom: 5px;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  font-size: 12px;
  font-weight: 600;
}

.ges-sub__tr {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.85fr;
  gap: 5px;
  padding: 8px 5px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 11px;
}

.ges-sub__tr span:last-child {
  text-align: right;
}

.ges-sub__tr--head {
  background: #f5f6f8;
  color: #64748b;
  font-size: 10px;
}

.ges-sub__green {
  color: #238b57;
}

.ges-sub__tr--recent {
  background: #edf8f0;
  animation: ges-sub-recent 7s infinite;
  overflow: hidden;
}

@keyframes ges-sub-wait {
  0%, 19% { visibility: visible; }
  20%, 100% { visibility: hidden; }
}

@keyframes ges-sub-paid {
  0%, 19% { visibility: hidden; }
  20%, 100% { visibility: visible; }
}

@keyframes ges-sub-signal {
  0%, 20% { top: 0; visibility: hidden; }
  21% { top: 0; visibility: visible; }
  39% { top: 20px; visibility: visible; }
  40%, 100% { top: 20px; visibility: hidden; }
}

@keyframes ges-sub-old {
  0%, 39% { font-size: 20px; color: #0f172a; text-decoration: none; }
  40%, 100% { font-size: 14px; color: #94a3b8; text-decoration: line-through; }
}

@keyframes ges-sub-show {
  0%, 39% { visibility: hidden; }
  40%, 100% { visibility: visible; }
}

@keyframes ges-sub-done {
  0%, 49% { visibility: hidden; }
  50%, 100% { visibility: visible; }
}

@keyframes ges-sub-recent {
  0%, 49% {
    visibility: hidden;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
  }
  50%, 100% {
    visibility: visible;
    max-height: 35px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ges-sub *,
  .ges-sub *::after {
    animation: none !important;
  }

  .ges-sub__pending { visibility: hidden; }
  .ges-sub__old {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
  }
}

/* Кейсы доработок (cyan card) — статичные */
.stack__card--cyan .stack__ui--cases {
  inset: 8% 6% 8% 7%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.ges-case {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 16px 16px 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.ges-case__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin: 0;
  padding: 4px 10px;
  border-radius: 4px;
  background: #a6cd5f;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.ges-case__title {
  margin: 0;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #141414;
}

.stack__aside-note.stack__tag {
  gap: 8px;
  margin: -2px 0 0;
}

.stack__aside-note .stack__tag-icon {
  width: 14px;
  height: 14px;
  filter: none;
  opacity: 1;
}

.ges-case__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ges-case__days {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #c5e4d4;
  border-radius: 8px;
  background: #f3faf6;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  color: #2a2a2a;
}

.ges-case__sub {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #b7c9e8;
  background: #eef3fb;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #01579c;
}

.ges-case__ask {
  margin: 0;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: #8a8a8a;
}

.ges-case__ask span {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #4a9a78;
}

.ges-case__box {
  display: flex;
  flex-direction: column;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.ges-case__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 11px 12px;
  border: 0;
  background: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: #2a2a2a;
  text-align: left;
}

button.ges-case__row {
  cursor: pointer;
  transition: background 0.15s var(--ease);
}

button.ges-case__row:hover {
  background: #f7f8f9;
}

button.ges-case__row.is-on {
  background: #f3faf6;
}

.ges-case__row + .ges-case__row,
.ges-case__row + .ges-case__ok {
  border-top: 1px solid #ececec;
}

.ges-case__row em {
  font-style: normal;
  font-weight: 500;
  color: #8a8a8a;
}

.ges-case__row strong {
  font-weight: 500;
  color: #141414;
}

.ges-case__select {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 62px;
  height: 28px;
  padding: 0 22px 0 10px;
  border-radius: 5px;
  border: 1px solid #d7d7d7;
  background:
    linear-gradient(45deg, transparent 50%, #8a8a8a 50%) calc(100% - 11px) calc(50% - 2px) / 5px 5px no-repeat,
    linear-gradient(135deg, #8a8a8a 50%, transparent 50%) calc(100% - 7px) calc(50% - 2px) / 5px 5px no-repeat,
    #f3f3f3;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.01em;
  color: #5a5a5a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.ges-case__row.is-on .ges-case__select,
.ges-case__select--on {
  border-color: #b7d7c7;
  background:
    linear-gradient(45deg, transparent 50%, #4a9a78 50%) calc(100% - 11px) calc(50% - 2px) / 5px 5px no-repeat,
    linear-gradient(135deg, #4a9a78 50%, transparent 50%) calc(100% - 7px) calc(50% - 2px) / 5px 5px no-repeat,
    #f3faf6;
  color: #2f6b55;
}

.ges-case__send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid #d4d4d4;
  background: #ececec;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #7a7a7a;
  pointer-events: none;
  user-select: none;
}

.ges-case__ok {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 12px;
  background: #f3faf6;
}

.ges-case__ok strong {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: #4a9a78;
}

.ges-case__ok span {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  color: #8a8a8a;
}

.ges-case__foot {
  margin: auto 0 0;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #8a8a8a;
}

.stack__plaque {
  position: absolute;
  z-index: 4;
  left: 4%;
  bottom: 16%;
  margin: 0;
  max-width: 220px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #141414;
  transform: rotate(-7deg);
  pointer-events: none;
}

.stack__plaque-wrap {
  position: absolute;
  z-index: 4;
  left: 4%;
  bottom: 12%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  transform: rotate(-6deg);
  pointer-events: none;
}

.stack__plaque-wrap .stack__plaque {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
}

.stack__plaque--btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #9fd4b0;
  max-width: none;
  padding: 10px 14px 10px 16px;
  border-radius: 10px;
  background: #ffed00;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: left;
  color: #141414;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.stack__plaque-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: block;
}

.stack__plaque-hint {
  margin-right: 4px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #2fa866;
}

.stack__plaque--btn:hover {
  background: #ffe34d;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

.stack__plaque--btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

.stack__video {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px 0 14px;
  border-radius: 7px;
  border: none;
  background: linear-gradient(90deg, var(--blue-a), var(--blue-b));
  color: #fff;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
  transition: filter 0.2s var(--ease);
}

.stack__video:hover {
  filter: brightness(1.08);
}

.stack__video-play {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.stack__video-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
}

.stack__video-time {
  font-weight: 600;
  opacity: 0.92;
}

/* ═══════════════════════════════════
   5. Migrate — green panel + quiz + case (ref)
   ═══════════════════════════════════ */
.migrate {
  /* половина чёрного (от earn) + серый как у analytics */
  background:
    linear-gradient(#191A1B, #191A1B) top / 100% 42% no-repeat,
    #f3f3f3;
  padding: 48px max(20px, calc((100% - 1280px) / 2)) 40px;
}

.migrate--fit {
  background: #f3f3f3;
}

.migrate__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(220px, 0.52fr);
  gap: 24px;
  align-items: end;
  min-height: 580px;
  padding: 48px 28px 18px 52px;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(100deg, #2a6b4e 0%, #3d8f68 28%, #6aad6a 58%, #a3c46e 82%, #c5d67a 100%);
}

/* Круг как в демо — справа, обрезка панелью */
.migrate__orbit {
  position: absolute;
  right: -22%;
  top: 48%;
  width: min(88%, 920px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

.migrate__orbit-spin {
  width: 100%;
  height: 100%;
  transform-origin: center center;
  transform: rotate(-100deg);
  animation: cta-orbit-spin 16s linear infinite;
  will-change: transform;
}

.migrate__orbit-spin img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .migrate__orbit-spin {
    animation: none;
  }
}

.migrate__main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  gap: 40px;
  min-width: 0;
  padding: 4px 0 8px;
}

.migrate__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px 36px;
  align-items: start;
}

.migrate__title {
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(28px, 2.9vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.migrate__title-white {
  display: block;
  color: #fff;
}

.migrate__title-row {
  display: block;
}

.migrate__title-salad {
  display: block;
  color: #d5f28a;
}

.migrate__accent {
  color: #dff6a8;
}

.migrate__fast {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
}

.migrate__clock {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}

.migrate__desc {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
  max-width: 34ch;
}

.migrate__quiz {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px 28px;
  color: #111;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.migrate__quiz-step[hidden] {
  display: none;
}

.migrate__quiz-note {
  margin: -6px 0 16px;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(17, 17, 17, 0.68);
}

.migrate__phone {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 52px;
  border: 1.5px solid #e2e2e2;
  border-radius: 12px;
  background: #f7f7f7;
  overflow: hidden;
}

.migrate__phone-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-right: 1px solid #e2e2e2;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}

.migrate__phone input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 15px;
  outline: none;
}

.migrate__quiz-nav {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.migrate__next {
  appearance: none;
  border: 0;
  cursor: pointer;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  background: #4a9a78;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: filter 0.2s var(--ease);
}

.migrate__next:hover {
  filter: brightness(1.06);
}

.migrate__options--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.migrate__q {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.migrate__q-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #4a9a78;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.migrate__options {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.migrate__opt {
  appearance: none;
  margin: 0;
  min-height: 84px;
  padding: 12px 8px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: #ececec;
  color: #222;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.migrate__opt-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: block;
  object-fit: contain;
}

.migrate__opt:hover {
  background: #e3e3e3;
}

.migrate__opt.is-active {
  background: #d8f0cf;
  border-color: #4a9a78;
  color: #1a3d2e;
}

.migrate__case {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  max-width: 260px;
  margin: 40px 0 0 auto;
  padding: 28px 22px 24px;
  border-radius: 16px;
  background: #0a0a0a;
  color: #fff;
  min-height: 420px;
  align-self: end;
  justify-self: end;
  overflow: visible;
}

.migrate__badge {
  position: absolute;
  top: 16px;
  right: -10px;
  padding: 6px 14px;
  border-radius: 6px;
  background: #9bc96a;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  z-index: 2;
}

.migrate__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.migrate__logo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  padding: 8px;
  box-sizing: border-box;
}

.migrate__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.migrate__logo--ges {
  width: 88px;
  padding: 12px 8px;
}

.migrate__logo--ges img {
  width: 100%;
  height: auto;
  filter: brightness(0);
}

.migrate__plus {
  font-size: 24px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.migrate__case-text {
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-align: center;
}

.migrate__case-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--blue-a), var(--blue-b));
  color: #fff;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  transition: filter 0.2s var(--ease), transform 0.2s var(--ease);
}

.migrate__case-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.migrate__person {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

.migrate__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #d9d9d9;
  flex-shrink: 0;
}

.migrate__steps {
  margin: 0;
  padding: 0 0 0 1.15em;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.migrate__steps li::marker {
  color: #b6d35e;
}

.migrate__pain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.migrate__pain-opt {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  min-height: 148px;
  padding: 14px 14px 14px 12px;
  text-align: left;
  font-family: var(--font);
  color: #222;
  background: #f5f5f5;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.migrate__pain-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.migrate__pain-check {
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1.5px solid #bdbdbd;
  background: #fff;
}

.migrate__pain-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s var(--ease);
}

.migrate__pain-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.migrate__pain-body strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #111;
}

.migrate__pain-body > span {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(17, 17, 17, 0.68);
}

.migrate__pain-opt:hover {
  background: #eef6ef;
  border-color: #cfe6cc;
}

.migrate__pain-opt:has(.migrate__pain-input:checked) {
  color: #111;
  background: #dff2e1;
  border-color: #4a9a78;
}

.migrate__pain-opt:has(.migrate__pain-input:checked) .migrate__pain-check {
  background: #4a9a78;
  border-color: #4a9a78;
}

.migrate__pain-opt:has(.migrate__pain-input:checked) .migrate__pain-check::after {
  transform: rotate(45deg) scale(1);
}

.migrate__pain-opt--custom {
  grid-column: 1 / -1;
  min-height: 0;
  align-items: center;
}

.migrate__pain-custom {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  font-family: var(--font);
  font-size: 13px;
  color: #111;
  outline: none;
}

.migrate__pain-custom:focus {
  border-color: #4a9a78;
}

.migrate__range {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 4px 4px;
}

.migrate__range-value {
  font-family: var(--font);
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: #111;
  line-height: 1.1;
}

.migrate__range-value small {
  display: inline-block;
  margin-left: 6px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.55);
}

.migrate__range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4a9a78 0%, #a6cd5f var(--range-pct, 40%), #e5e5e5 var(--range-pct, 40%));
  outline: none;
  cursor: pointer;
}

.migrate__range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #4a9a78;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

.migrate__range-input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #4a9a78;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

.migrate__range-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(17, 17, 17, 0.45);
}

.migrate--fit .migrate__panel {
  grid-template-columns: 1fr;
  align-items: start;
  padding-top: 28px;
}

.migrate--fit .migrate__main {
  gap: 22px;
  padding-top: 0;
}

.migrate--fit .migrate__quiz {
  max-width: none;
  width: 100%;
}

.migrate--fit .migrate__quiz-nav {
  justify-content: flex-start;
}

.migrate--fit .migrate__next {
  min-width: 140px;
  background: linear-gradient(90deg, var(--blue-a), var(--blue-b));
}

.migrate__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 18px;
  min-height: 40px;
  min-width: 140px;
  width: auto;
  max-width: max-content;
  padding: 0 22px;
  border-radius: 8px;
  border: none;
  background: #111;
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: none;
  transition: filter 0.2s var(--ease);
}

.migrate__cta--blue {
  background: linear-gradient(90deg, var(--blue-a), var(--blue-b));
  border-radius: 7px;
}

.migrate__cta:hover {
  filter: brightness(1.08);
}

/* ═══════════════════════════════════
   6. Analytics — 2×2
   ═══════════════════════════════════ */
.analytics {
  background: #f3f3f3;
  padding: 64px max(20px, calc((100% - 1480px) / 2)) 72px;
  color: #111;
}

.analytics__title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0 auto 36px;
}

.analytics__title-icon {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
  overflow: visible;
}

.analytics__title {
  margin: 0;
  max-width: 22em;
  text-align: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #111;
}

.analytics__title-line {
  display: block;
  white-space: nowrap;
}

.analytics__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1480px;
  margin: 0 auto;
}

.analytics__wide {
  max-width: 1480px;
  margin: 20px auto 0;
  padding: 32px 28px 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e4e4e4;
}

.analytics__wide-ornament {
  display: flex;
  justify-content: center;
  margin: 0 auto 8px;
  width: min(360px, 72%);
  pointer-events: none;
}

.analytics__wide-ornament svg {
  display: block;
  width: 100%;
  height: auto;
}

.analytics__wide-lead {
  margin: 0 auto 36px;
  max-width: 38ch;
  text-align: center;
  font-family: var(--font);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #111;
}

.analytics__wide-accent {
  color: #4a9a78;
  font-weight: 600;
}

.analytics__wide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.analytics__insight {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 22px 26px;
  border-radius: 16px;
  background: #f8f8f8;
  border: 1px solid #ececec;
  min-height: 520px;
  box-shadow: none;
}

.analytics__insight:has(.analytics__chip-example:hover),
.analytics__insight:has(.analytics__chip-example:focus-within) {
  overflow: visible;
  z-index: 5;
}

/* Одна непрерывная залитая волна через 3 карточки */
.analytics__insight-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.analytics__insight-wave svg {
  position: absolute;
  left: var(--wave-shift, 0%);
  bottom: 0;
  width: 300%;
  height: 100%;
  display: block;
}

.analytics__insight-wave-fill {
  fill: #eaf6ef;
}

.analytics__insight-wave-line {
  stroke: #c5e4d4;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.analytics__insight > *:not(.analytics__insight-wave) {
  position: relative;
  z-index: 1;
}

.analytics__insight .analytics__num {
  align-self: center;
}

.analytics__insight .analytics__heading {
  max-width: 22ch;
  margin-top: 4px;
  text-align: center;
  font-family: var(--font);
  font-size: clamp(22px, 2.05vw, 28px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #111;
}

.analytics__insight-body {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  align-items: center;
}

.analytics__insight .analytics__text {
  margin: 0;
  max-width: 36ch;
  text-align: center;
}

.analytics__roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  text-align: left;
}

.analytics__role {
  padding: 12px 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(74, 154, 120, 0.18);
}

.analytics__role-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  color: #111;
}

.analytics__role-mark {
  display: block;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background: #4a9a78;
}

.analytics__role-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #2a2a2a;
}

.analytics__chips {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin-top: auto;
  padding: 8px 4px 2px;
  gap: 10px;
}

.analytics__chips > span,
.analytics__chip {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  width: fit-content;
  max-width: 78%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #c5e4d4;
  box-shadow: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: #222;
  text-align: left;
  transform: rotate(var(--r, 0deg));
  transform-origin: center center;
}

.analytics__chip--example {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  z-index: 6;
}

.analytics__chip-text {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.analytics__chip-example {
  position: relative;
  display: inline-flex;
  margin: 0 0 0 20px;
}

.analytics__chip-btn {
  appearance: none;
  margin: 0;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #01579c;
  background: #01579c;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.analytics__chip-btn:hover,
.analytics__chip-example:focus-within .analytics__chip-btn {
  background: #0277bd;
  border-color: #0277bd;
  color: #fff;
}

.analytics__chip-hover {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  transform: translateY(-4px) rotate(calc(var(--r, 0deg) * -1));
  width: min(280px, 72vw);
  padding: 6px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e4e4e4;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  z-index: 20;
}

.analytics__chip-example:hover .analytics__chip-hover,
.analytics__chip-example:focus-within .analytics__chip-hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) rotate(calc(var(--r, 0deg) * -1));
}

.analytics__chip-hover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.analytics__chip-key {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-top: 2px;
  display: block;
  object-fit: contain;
}

.analytics__chips > :nth-child(1) { z-index: 1; align-self: flex-start; margin-left: 0; }
.analytics__chips > :nth-child(2) { z-index: 6; align-self: flex-end; }
.analytics__chips > :nth-child(3) { z-index: 3; align-self: flex-start; margin-left: 6%; }
.analytics__chips > :nth-child(4) { z-index: 4; align-self: flex-end; margin-right: 4%; }
.analytics__chips > :nth-child(5) { z-index: 5; align-self: center; }

.analytics__card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 32px 28px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e4e4e4;
  min-height: 640px;
}

.analytics__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.analytics__num {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #4a9a78;
}

.analytics__mark {
  width: 44px;
  height: 8px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.analytics__card .analytics__heading {
  margin: 0;
  max-width: 28ch;
  font-family: var(--font);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: #111;
  text-align: center;
}

.analytics__card .analytics__text {
  margin: 0;
  max-width: 48ch;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.72);
  text-align: center;
}

.analytics__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.analytics__tag {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.analytics__tag--green {
  gap: 6px;
  background: #111;
  border: 1px solid #111;
  color: #fff;
}

.analytics__tag-flame {
  font-size: 15px;
  line-height: 1;
}

.analytics__tag--blue {
  background: #eef3fb;
  border: 1px solid #b7c9e8;
  color: #01579c;
}

.analytics__title-icon {
  overflow: visible;
}

.analytics__compare {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.analytics__compare-col {
  padding: 16px 14px 14px;
  border-radius: 14px;
  background: #f5f7f5;
  border: 1px solid #e4e4e4;
  text-align: left;
}

.analytics__compare-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4a9a78;
}

.analytics__compare-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.analytics__compare-col li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: #222;
}

.analytics__compare-col em {
  font-style: normal;
  font-weight: 600;
  color: #111;
}

/* Скрины: поворот + маска */
.analytics__shot {
  position: relative;
  margin-top: auto;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  background: #eef2ef;
  -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
}

.analytics__shot img {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 108%;
  max-width: none;
  height: auto;
  display: block;
  object-fit: cover;
  transform: translate(-50%, -50%) rotate(var(--shot-r, -5deg));
  transform-origin: center center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  border-radius: 10px;
}

.analytics__shot--a { --shot-r: -5deg; }
.analytics__shot--a img { object-position: 18% 8%; width: 112%; }

.analytics__shot--drill img {
  object-position: 58% 42%;
  width: 114%;
  top: 48%;
}

.analytics__shot picture {
  position: absolute;
  inset: 0;
  display: block;
}

.analytics__shot picture img {
  position: absolute;
}

.analytics__shot--b { --shot-r: 4deg; }
.analytics__shot--b img {
  object-position: 88% 72%;
  width: 128%;
  top: 34%;
  left: 36%;
}

.analytics__shot--c { --shot-r: -3deg; }
.analytics__shot--c img { object-position: 22% 8%; width: 112%; }

.analytics__shot--d { --shot-r: 3deg; }
.analytics__shot--d img {
  object-position: 50% 42%;
  width: 108%;
  top: 50%;
  left: 50%;
}

/* viz 01 — drill */
.viz-drill {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: #f7f7f7;
  border: 1px solid #ececec;
}

.viz-drill__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #8a8a8a;
}

.viz-drill__crumbs span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
}

.viz-drill__crumbs span.is-on {
  background: #dff2e1;
  color: #1a3d2e;
  font-weight: 600;
}

.viz-drill__crumbs i {
  font-style: normal;
  color: #b0b0b0;
}

.viz-drill__panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.viz-drill__panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #ececec;
  min-height: 0;
}

.viz-drill__panel.is-focus {
  background: #e7f3e6;
  border-color: #cfe6cc;
}

.viz-drill__panel header {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.viz-drill__bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
}

.viz-drill__bars span {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #8fc46a, #4a9a78);
}

.viz-drill__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.viz-drill__rows div {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
}

.viz-drill__rows em {
  font-style: normal;
  font-weight: 600;
  color: #1a3d2e;
}

.viz-drill__panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.viz-drill__panel li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  line-height: 1.25;
  color: #333;
}

.viz-drill__panel li span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4a9a78;
  flex-shrink: 0;
}

/* viz 02 — custom */
.viz-custom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.viz-custom article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7f7f7;
  border: 1px solid #ececec;
}

.viz-custom span {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  color: #4a9a78;
  flex-shrink: 0;
}

.viz-custom h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* viz 03 — dual lens */
.viz-lens {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: #f7f7f7;
  border: 1px solid #ececec;
}

.viz-lens__source {
  align-self: center;
  padding: 8px 14px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
}

.viz-lens__arms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.viz-lens__arm {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ececec;
}

.viz-lens__arm:first-child {
  background: #eef6ff;
  border-color: #d7e6f5;
}

.viz-lens__arm:last-child {
  background: #e7f3e6;
  border-color: #cfe6cc;
}

.viz-lens__label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.viz-lens__arm ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.viz-lens__arm li {
  padding: 6px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  color: #333;
}

.viz-lens__foot {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed #b6d35e;
  background: #f4faef;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #1a3d2e;
}

/* viz 04 — recon */
.viz-recon {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: #f7f7f7;
  border: 1px solid #ececec;
}

.viz-recon__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.viz-recon__head em {
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  color: #8a8a8a;
}

.viz-recon__table {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
}

.viz-recon__row {
  display: grid;
  grid-template-columns: 0.7fr 1fr 0.9fr 0.9fr 0.7fr;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 7px;
  background: #fff;
  align-items: center;
}

.viz-recon__row--head {
  background: transparent;
  color: #8a8a8a;
  font-weight: 500;
  padding-top: 0;
  padding-bottom: 2px;
}

.viz-recon__row.is-alert {
  background: #fdeceb;
  outline: 1px solid #f0b4ae;
}

.viz-recon__row .ok { color: #4a9a78; font-weight: 600; }
.viz-recon__row .bad { color: #c0392b; font-weight: 700; }

.viz-recon__detail {
  padding: 10px 12px;
  border-radius: 10px;
  background: #111;
  color: #fff;
}

.viz-recon__detail-label {
  margin: 0 0 3px;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.viz-recon__detail p:last-child {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
}

/* ═══════════════════════════════════
   Features page — полный перечень
   ═══════════════════════════════════ */
.features-page {
  background: #f3f3f3;
  color: #111;
  padding: 56px max(20px, calc((100% - 1480px) / 2)) 64px;
}

.features-page__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a9a78;
}

.features-page__title {
  margin: 0 0 16px;
  max-width: 18ch;
  font-family: var(--font);
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.features-page__lead {
  margin: 0 0 48px;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.68);
}

.features-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.features-page__card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 40px 44px 36px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e4e4e4;
  scroll-margin-top: 96px;
}

.features-page__heading {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #111;
}

.features-page__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 12px;
  width: 100%;
  max-width: 62rem;
}

.features-page__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  flex: 0 0 auto;
  padding: 8px 12px 8px 10px;
  border-radius: 8px;
  background: #f3faf6;
  border: 1px solid #c5e4d4;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  color: #2a2a2a;
  white-space: nowrap;
}

.features-page__list li::before {
  content: "";
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  background: url("assets/figma/icon-points.svg") center / contain no-repeat;
}

.features-page__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.features-page + .cta-band {
  margin-top: 0;
}

/* ═══════════════════════════════════
   Case page — Lifestyle
   ═══════════════════════════════════ */
.case-page {
  --case-max: 1320px;
  --case-gutter: max(20px, calc((100% - var(--case-max)) / 2));
  background: #fcfcfc;
  color: #111;
  padding: 0 0 72px;
}

.case-hero {
  margin: 0 0 48px;
  padding: 56px var(--case-gutter) 48px;
  background: #191a1b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.case-section {
  padding-left: var(--case-gutter);
  padding-right: var(--case-gutter);
}

.case-cta {
  margin-left: var(--case-gutter);
  margin-right: var(--case-gutter);
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

.case-hero__eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d5f2cc;
}

.case-hero__logos {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.case-hero__plus {
  font-size: 22px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
}

.case-hero__ges {
  width: auto;
  height: 28px;
}

.case-hero__title {
  margin: 0 0 18px;
  max-width: 22ch;
  font-family: var(--font);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
}

.case-hero__lead {
  margin: 0 0 24px;
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.case-hero__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(213, 242, 204, 0.12);
  border: 1px solid rgba(213, 242, 204, 0.28);
  font-size: 14px;
  font-weight: 500;
  color: #e8f6e4;
}

.case-hero__meta li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #4a9a78 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.2 8.2l2.3 2.3 5.3-5.3' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.case-section {
  margin-bottom: 64px;
}

.case-section__title {
  margin: 0 0 28px;
  font-family: var(--font);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.case-transfer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.case-transfer__card {
  padding: 26px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e4e4e4;
}

.case-transfer__heading {
  margin: 0 0 18px;
  max-width: 14em;
  font-family: var(--font);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #141414;
}

.case-transfer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-transfer__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
  font-size: 15px;
  line-height: 1.4;
  color: #2a2a2a;
}

.case-transfer__list li::before {
  content: "";
  position: static;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.15em;
  border-radius: 50%;
  background: #4a9a78 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.2 8.2l2.3 2.3 5.3-5.3' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.case-change {
  margin-bottom: 28px;
  padding: 32px 28px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e4e4e4;
  box-shadow:
    0 1px 2px rgba(17, 17, 17, 0.04),
    0 10px 28px rgba(17, 17, 17, 0.07);
}

.case-change:nth-child(even) {
  background: #f7faf8;
  border-color: #d9e8df;
}

.case-change__num {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  background: #4a9a78 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.8 8.2l2.6 2.6 5.8-5.8' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  border-radius: 50%;
}

.case-change__title {
  margin: 0 0 24px;
  max-width: 36ch;
  font-family: var(--font);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.case-change__cols {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 0;
}

.case-change__col {
  padding: 22px 20px;
  border-radius: 12px;
}

.case-change__col p,
.case-change__col li {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
  color: #2a2a2a;
}

.case-change__col p:last-child,
.case-change__col li:last-child {
  margin-bottom: 0;
}

.case-change__col ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-change__col ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.case-change__col ul li::before {
  content: "";
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-top: 0.35em;
  background: url("assets/figma/icon-points.svg") center / contain no-repeat;
}

.case-change__defs li strong {
  font-weight: 600;
  color: #1a3d2e;
}

.case-change__cols-list {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.case-change__cols-list li {
  min-width: 0;
}

.case-change__col--was {
  background: #f5f5f5;
  border: 1px solid #e4e4e4;
}

.case-change__col--now {
  display: flex;
  flex-direction: column;
  background: #eef7f2;
  border: 1px solid #b7dfc4;
  box-shadow: inset 0 0 0 1px rgba(74, 154, 120, 0.08);
}

.case-change__label {
  margin: 0 0 12px !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.45) !important;
}

.case-change__col--now .case-change__label {
  color: #4a9a78 !important;
}

.case-change__example,
.case-change__highlight {
  margin-top: 12px !important;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-left: 3px solid #4a9a78;
}

.case-change__highlight {
  font-size: 18px !important;
  font-weight: 500;
  line-height: 1.4 !important;
  letter-spacing: -0.02em;
  color: #141414 !important;
}

.case-change__example-title {
  margin: 0 0 10px !important;
  font-family: var(--font);
  font-size: 17px !important;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #141414 !important;
}

.case-change__levels {
  list-style: none;
  margin: 8px 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-change__levels li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 !important;
  padding: 0;
  font-size: 15px !important;
  line-height: 1.45;
}

.case-change__levels li::before {
  content: "";
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-top: 0.35em;
  background: url("assets/figma/icon-points.svg") center / contain no-repeat;
}

.case-change__levels li strong {
  font-weight: 600;
  color: #1a3d2e;
}

.case-change__extra {
  margin-top: 22px !important;
}

.case-viz {
  margin: 0;
}

.case-viz--in-col {
  margin-top: 18px;
}

.case-viz--lead {
  margin: 4px 0 28px;
}

.case-viz--lead .case-viz__shot img {
  max-height: 460px;
}

.case-viz figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(17, 17, 17, 0.5);
}

.case-viz__note {
  color: rgba(17, 17, 17, 0.42);
}

.case-viz__shot {
  position: relative;
  overflow: visible;
  border-radius: 10px;
  border: 1px solid #d7e5dd;
  background: #111;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.case-viz__shot picture,
.case-viz__shot img {
  display: block;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.case-viz__shot img {
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: top left;
}

.case-viz__stamp {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #f1b0b0;
  background: rgba(255, 236, 236, 0.94);
  box-shadow: 0 6px 16px rgba(140, 30, 30, 0.12);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #b42318;
  white-space: nowrap;
}

.case-viz__stage {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  padding: 22px;
  border-radius: 12px;
  background: #f3faf6;
  border: 1px solid #c5e4d4;
}

.case-viz__stage--pair {
  align-items: center;
}

.case-viz__panel {
  flex: 1;
  min-width: 0;
  padding: 16px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e4e4e4;
}

.case-viz__panel--wide {
  flex: 1.4;
}

.case-viz__panel p {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 500;
}

.case-viz__badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 4px;
  background: #4a9a78;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-viz__hint {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: #4a9a78;
  font-weight: 600;
}

.case-viz__hint--bad {
  color: #c62828;
}

.case-viz__arrow {
  font-size: 22px;
  color: #4a9a78;
  font-weight: 600;
}

.case-viz__tips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.case-viz__tips span {
  padding: 6px 10px;
  border-radius: 6px;
  background: #eaf6ef;
  border: 1px solid #c5e4d4;
  font-size: 12px;
  font-weight: 500;
  color: #1a3d2e;
}

.case-viz__table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e4e4e4;
  background: #fff;
}

.case-viz__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.case-viz__table th,
.case-viz__table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.case-viz__table th {
  background: #f8f8f8;
  font-weight: 600;
  color: #555;
}

.case-viz__table tr:last-child td {
  border-bottom: none;
}

.case-viz__status {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 4px;
  background: #fff4e5;
  color: #9a5b00;
  font-size: 12px;
  font-weight: 600;
}

.case-viz__stage--phones {
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 12px 16px;
}

.case-viz__device {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  max-width: 34%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.case-viz__device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  background: #fff;
}

.case-viz__device figcaption {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.5);
}

.case-viz__device--focus {
  max-width: 38%;
  transform: translateY(-8px);
}

.case-viz__device--focus img {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.case-viz__phone {
  width: 140px;
  min-height: 220px;
  padding: 18px 14px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.case-viz__phone span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.45);
}

.case-viz__phone p {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.case-viz__phone--focus {
  width: 160px;
  min-height: 260px;
  border-color: #4a9a78;
  background: #eaf6ef;
}

.case-viz__stage--drill {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 12px;
  font-size: 14px;
  font-weight: 600;
}

.case-viz__stage--drill > span:nth-child(odd) {
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #c5e4d4;
}

.case-viz__note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e4e4e4;
  font-size: 14px;
}

.case-viz__note span {
  font-size: 12px;
  color: rgba(17, 17, 17, 0.5);
}

.case-viz__stage--network {
  align-items: stretch;
}

.case-viz__branches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.case-viz__branches span {
  padding: 8px 12px;
  border-radius: 8px;
  background: #eaf6ef;
  border: 1px solid #c5e4d4;
  font-size: 13px;
  font-weight: 500;
}

.case-viz__timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.case-viz__tl-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e4e4e4;
}

.case-viz__tl-item span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.4);
}

.case-viz__tl-item strong {
  font-size: 14px;
  font-weight: 600;
}

.case-viz__tl-item em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #4a9a78;
}

.case-result {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.case-result__item {
  padding: 22px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e4e4e4;
}

.case-result__item--wide {
  grid-column: 1 / -1;
}

.case-result__item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.case-result__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.68);
}

.case-person {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
  padding: 22px 24px;
  border-radius: 14px;
  background: #111;
  color: #fff;
}

.case-person__brand {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94bfe2;
}

.case-person__name {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.case-person__link {
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  color: #a6cd5f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.case-cta {
  padding: 36px 32px;
  border-radius: 16px;
  background: #eaf6ef;
  border: 1px solid #c5e4d4;
}

.case-cta__title {
  margin: 0 0 14px;
  max-width: 28ch;
  font-family: var(--font);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.case-cta__text {
  margin: 0 0 12px;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.72);
}

.case-cta .btn {
  margin-top: 16px;
}

.case-page + .cta-band {
  margin-top: 0;
}

.top__nav a[aria-current="page"] {
  color: #fff;
  opacity: 1;
}

/* ═══════════════════════════════════
   8. Rules — configure under processes
   ═══════════════════════════════════ */
.rules {
  background: #f3f3f3;
  color: #111;
  padding: 72px max(20px, calc((100% - 1480px) / 2)) 88px;
}

.rules__title {
  margin: 0 auto 28px;
  max-width: 28em;
  text-align: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.rules__title-line {
  display: block;
}

.rules__title-line:first-child {
  font-size: 0.62em;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: rgba(17, 17, 17, 0.7);
  margin-bottom: 0.35em;
}

.rules__title-accent {
  color: #4a9a78;
}

.rules__text {
  margin: 0 auto 40px;
  max-width: 82ch;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.72);
}

.rules__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rules__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 22px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e4e4e4;
}

.rules__heading {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font);
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #111;
}

.rules__heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  flex-shrink: 0;
  border-radius: 6px;
  background: #4a9a78;
}

.rules__heading-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.rules__heading-text {
  display: block;
  min-width: 0;
}

.rules__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rules__tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #c5e4d4;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: #2a2a2a;
  background: #f3faf6;
}

.rules__tag-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.rules__card-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.68);
}

/* ═══════════════════════════════════
   9a. Support — direct team contact
   ═══════════════════════════════════ */
.support {
  margin-top: 48px;
  padding: 44px 48px 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.support__mark {
  background: #ffed00;
  color: #16385f;
  padding: 0 0.2em;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.support__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a6cd5f;
  text-align: center;
}

.support__title {
  margin: 0 auto 16px;
  max-width: 28ch;
  font-family: var(--font);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  text-align: center;
}

.support__lead {
  margin: 0 auto 32px;
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.support__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.support__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px 22px;
  border-radius: 12px;
  background: #222325;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.support__icon {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.support__heading {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}

.support__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.support__chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.support__msg {
  max-width: 64%;
  padding: 12px 14px 10px;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(10px);
  animation: support-msg-cycle 6.5s ease-in-out infinite;
}

.support__msg-name {
  display: block;
  margin: 0 0 4px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: -0.01em;
  opacity: 0.72;
}

.support__msg p {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

@keyframes support-msg-cycle {
  0%,
  3% {
    opacity: 0;
    transform: translateY(8px);
  }
  8%,
  78% {
    opacity: 1;
    transform: translateY(0);
  }
  84%,
  100% {
    opacity: 0;
    transform: translateY(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .support__msg {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.support__msg time {
  display: block;
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.72;
}

.support__msg--in {
  align-self: flex-start;
  background: #eef3fb;
  border: 1px solid #b7c9e8;
  border-bottom-left-radius: 4px;
  color: #16385f;
}

.support__msg--in .support__msg-name,
.support__msg--in time {
  color: rgba(22, 56, 95, 0.55);
}

.support__msg--out {
  align-self: flex-end;
  background: #e7f6ea;
  border: 1px solid #b7dfc4;
  border-bottom-right-radius: 4px;
  color: #1a3d2e;
  animation-delay: 0.55s;
}

.support__msg--out .support__msg-name,
.support__msg--out time {
  color: rgba(26, 61, 46, 0.55);
}

/* ═══════════════════════════════════
   9. Trust — Belarus / data protection
   ═══════════════════════════════════ */
.trust {
  background: #191A1B;
  color: #fff;
  padding: 120px max(20px, calc((100% - 1480px) / 2)) 100px;
}

.trust__title {
  margin: 0 auto 48px;
  max-width: 18em;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-align: center;
}

.trust__flag {
  display: inline-block;
  width: 1.05em;
  height: auto;
  margin: 0 0.12em -0.08em;
  border-radius: 2px;
  vertical-align: baseline;
  object-fit: cover;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 24px;
  margin-bottom: 28px;
}

.trust__link {
  color: #b6d35e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trust__link:hover {
  color: #d5f28a;
}

.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: center;
}

.trust__icon {
  width: 44px;
  height: 8px;
  display: block;
  object-fit: contain;
  overflow: visible;
}

.trust__heading {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.trust__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
  max-width: 36ch;
}

.trust__wide {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px 48px;
  align-items: start;
  padding: 32px 36px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.trust__wide-title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.trust__wide-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust__wide-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

/* ═══════════════════════════════════
   8. Roles — title + tabs + 3 cards
   ═══════════════════════════════════ */
.roles {
  background: #ececec;
  padding: 40px max(20px, calc((100% - 1180px) / 2)) 0;
  overflow: visible;
}

.roles__scroll {
  position: relative;
}

.roles__pin {
  position: sticky;
  top: 36px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 40px 0 28px;
  background: #ececec;
}

.roles__title {
  margin: 0;
  max-width: 18ch;
  text-align: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #111;
}

.roles__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.roles__tab {
  appearance: none;
  margin: 0;
  padding: 12px 26px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  color: #6b6b6b;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.roles__tab.is-active {
  color: #111;
  background: #dff2e1;
  border-color: #4a9a78;
}

.roles__mobile {
  display: none;
}

.roles__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 12px;
}

.roles__card {
  position: relative;
  height: 530px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 22px 0;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 16px;
  text-align: center;
  overflow: hidden;
}

.roles__card--feature {
  position: relative;
  background: #e7f3e6;
  border-color: #d7ead5;
}

.roles__wl {
  display: none;
  position: absolute;
  z-index: 5;
  left: 8px;
  bottom: 16%;
  max-width: 148px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #ffed00;
  border: 1px solid #e6d600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #141414;
  transform: rotate(-7deg);
  pointer-events: none;
}

.roles__card--feature .roles__wl:not([hidden]) {
  display: inline-block;
}

.roles__card--panel {
  overflow: visible;
  padding-left: 22px;
  padding-right: 22px;
  padding-bottom: 8px;
}

.roles__num {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #4a9a78;
}

.roles__card-title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #111;
}

.roles__card-note {
  display: inline-flex;
  align-items: center;
  margin: -4px 0 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.roles__card-note[hidden] {
  display: none;
}

.roles__card-text {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(17, 17, 17, 0.72);
  max-width: none;
  white-space: normal;
}

.roles__card-text[hidden] {
  display: none;
}

.roles__phone {
  position: relative;
  width: min(72%, 210px);
  height: 168px;
  margin: auto auto 0;
  border-radius: 22px 22px 0 0;
  border: 2px solid #d8d8d8;
  border-bottom: 0;
  background: #111;
  overflow: hidden;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}

.roles__phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transform: translateX(-50%);
}

.roles__phone img {
  width: 100%;
  height: 200%;
  object-fit: cover;
  object-position: center top;
}

.roles__phone--device {
  width: min(94%, 300px);
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  margin: 6px auto 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.roles__phone--device::before {
  display: none;
}

.roles__phone--device img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.roles__phone--panel {
  width: calc(100% - 12px);
  max-width: none;
  height: auto;
  margin: auto 6px 20px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.1);
  overflow: visible;
}

.roles__phone--panel::before {
  display: none;
}

.roles__phone--panel img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  object-position: center center;
  transform-origin: center center;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.roles__card:nth-child(1) .roles__phone--panel {
  transform: rotate(-1.2deg);
}

.roles__card:nth-child(2) .roles__phone--panel {
  transform: rotate(1deg);
}

.roles__card:nth-child(3) .roles__phone--panel {
  transform: rotate(-0.8deg);
}

.roles__card:nth-child(3) .roles__phone--panel img {
  max-height: 300px;
}

.roles__phone--mock {
  width: calc(100% - 12px);
  max-width: none;
  height: auto;
  min-height: 0;
  margin: auto 6px 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.roles__phone--mock::before {
  display: none;
}

.roles__phone--mock img {
  display: none;
}

.adm-mock {
  --shell: #171717;
  --shell-2: #2a2a2a;
  --yellow: #ffed00;
  --canvas: #f5f6f8;
  --card: #fff;
  --text: #111;
  --mute: #6b7280;
  --line: #e5e7eb;
  --ok: #2fa866;
  --ok-bg: #e8f6ee;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow:
    0 1px 2px rgba(17, 17, 17, 0.04),
    0 10px 24px rgba(17, 17, 17, 0.1);
  text-align: left;
  font-family: var(--font-ui);
  font-size: 11px;
  line-height: 1.25;
  color: var(--text);
  transform-origin: center center;
}

.roles__card:nth-child(1) .adm-mock {
  transform: rotate(-1.6deg);
}

.roles__card:nth-child(2) .adm-mock {
  transform: rotate(1.3deg);
}

.roles__card:nth-child(3) .adm-mock {
  transform: rotate(-1deg);
}

.adm-mock button,
.adm-mock a {
  pointer-events: none;
}

.adm-mock svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  fill: currentColor;
}

.adm-mock__actions {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.adm-mock__actions .adm-mock__btn:nth-child(1),
.adm-mock__actions .adm-mock__btn:nth-child(2) {
  grid-column: span 3;
}

.adm-mock__actions .adm-mock__btn:nth-child(n + 3) {
  grid-column: span 2;
}

.adm-mock__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--card);
  color: #374151;
  font: 650 11px/1.2 var(--font-ui);
  white-space: nowrap;
}

.adm-mock__btn--primary {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #111;
}

.adm-mock__btn--muted {
  background: #eef2f7;
  border-color: var(--line);
  color: #374151;
}

.adm-mock__btn--hot {
  box-shadow: 0 0 0 2px rgba(255, 237, 0, 0.45);
}

.adm-mock__tip {
  position: absolute;
  top: -4px;
  right: 14px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--shell);
  border: 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  font-size: 10px;
  font-weight: 550;
  color: #fff;
  white-space: nowrap;
}

.adm-mock__tip::after {
  content: "";
  position: absolute;
  left: 58%;
  bottom: -3px;
  width: 7px;
  height: 7px;
  background: var(--shell);
  border: 0;
  transform: rotate(45deg);
}

.adm-mock__cursor {
  position: absolute;
  right: 8px;
  bottom: -4px;
  width: 15px;
  height: 19px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M4 2l1 20 5-4 3.5 7.5 2.5-1.2L12.8 17 20 16z' fill='%23fff' stroke='%23111' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}

.adm-mock__cursor--dark {
  right: 4px;
  bottom: -8px;
}

.adm-mock--renew {
  padding-top: 20px;
  background: var(--canvas);
}

.adm-mock--access {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--canvas);
}

.adm-mock__head,
.adm-mock__member {
  display: flex;
  align-items: center;
  gap: 8px;
}

.adm-mock__avatar {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239ca3af'%3E%3Cpath d='M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8V22h19.2v-2.8c0-3.2-6.4-4.8-9.6-4.8z'/%3E%3C/svg%3E")
    center 60% / 18px no-repeat #fff;
  flex-shrink: 0;
}

.adm-mock__who {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.adm-mock__who strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.adm-mock__who a,
.adm-mock__who span {
  font-size: 10px;
  font-weight: 550;
  color: var(--mute);
}

.adm-mock__who a {
  color: #2563eb;
  text-decoration: underline;
  width: fit-content;
}

.adm-mock__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 5px;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.adm-mock__badge--ok {
  background: var(--ok-bg);
  border-color: #c9ebd7;
  color: #1b7a45;
}

.adm-mock__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.adm-mock__chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 10px;
  font-weight: 550;
  color: #374151;
}

.adm-mock__chip--warn {
  border-color: #f0d84a;
  background: #fff8c7;
  color: #5c4a00;
}

.adm-mock__tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 7px);
  transform: translateX(-50%);
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--shell);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 550;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.adm-mock__tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 7px;
  height: 7px;
  background: var(--shell);
  transform: translateX(-50%) rotate(45deg);
}

.adm-mock__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.adm-mock__tags span {
  padding: 4px 8px;
  border-radius: 5px;
  background: var(--ok-bg);
  border: 1px solid #c9ebd7;
  color: #1b7a45;
  font-size: 10px;
  font-weight: 650;
}

.adm-mock__history {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.adm-mock__history strong {
  margin-right: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}

.adm-mock__history span {
  padding: 3px 7px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 10px;
  font-weight: 550;
  color: #374151;
}

.adm-mock--search {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--canvas);
}

.adm-mock__searchrow {
  display: flex;
  gap: 6px;
}

.adm-mock__search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 0 9px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 550;
}

.adm-mock__search span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-mock__scan {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: #374151;
  font: 650 10px/1 var(--font-ui);
  white-space: nowrap;
}

.adm-mock__member {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.adm-mock__bookrow {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.adm-mock__bookrow > .adm-mock__btn {
  flex: 1;
  min-height: 34px;
}

.adm-mock__popover {
  width: 156px;
  flex-shrink: 0;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.12);
}

.adm-mock__popover p {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 550;
  line-height: 1.3;
  color: #374151;
}

.adm-mock__popover .adm-mock__btn {
  width: 100%;
  min-height: 28px;
}

.adm-mock--access .adm-mock__head {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.adm-mock--access .adm-mock__chips,
.adm-mock--access .adm-mock__tags,
.adm-mock--access .adm-mock__history {
  padding-left: 2px;
  padding-right: 2px;
}

.adm-mock--renew .adm-mock__actions {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.roles__card-title,
.roles__card-text,
.roles__card-note,
.roles__num {
  transition: opacity 0.15s ease;
}

.roles__card.is-fading .roles__card-title,
.roles__card.is-fading .roles__card-text,
.roles__card.is-fading .roles__card-note,
.roles__card.is-fading .roles__num {
  opacity: 0;
}

.roles__pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.roles__pager i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.2);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.roles__pager i.is-active {
  background: #4a9a78;
  transform: scale(1.15);
}

.roles__scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  transform: translateX(-50%);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.roles__scroll-hint.is-on {
  opacity: 1;
  pointer-events: auto;
  animation: roles-hint-float 1.6s var(--ease) infinite;
}

.roles__scroll-hint i {
  width: 10px;
  height: 10px;
  border-right: 2px solid #4a9a78;
  border-bottom: 2px solid #4a9a78;
  transform: rotate(45deg);
  margin-top: -3px;
}

@keyframes roles-hint-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.roles__track {
  height: 180vh;
  pointer-events: none;
}

.roles__ui {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 72px 0 0;
  text-align: center;
  background: #ececec;
  overflow: visible;
}

.roles__ui-title {
  margin: 0 0 8px;
  max-width: 24ch;
  white-space: normal;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #111;
  text-align: center;
}

.roles__ui-accent {
  color: #4a9a78;
}

.roles__ui-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 920px;
  margin: 28px 0 0;
}

.roles__ui-tab {
  flex: 1 1 280px;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-family: var(--font);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.roles__ui-tab:hover {
  border-color: #b7b7b7;
}

.roles__ui-tab.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.roles__ui-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.roles__ui-stage {
  position: relative;
  width: 100%;
  margin-top: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  overflow: visible;
}

.roles__ui-shots {
  position: relative;
  width: 100%;
  min-height: 0;
}

.roles__ui-shot {
  margin: 0;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d8d8d8;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}

.roles__ui-shot.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.roles__ui-shot:not(.is-active) {
  position: absolute;
  inset: 0;
}

.roles__ui-shot picture,
.roles__ui-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.roles__ui-stage[data-ui-stage="analytics"] {
  grid-template-columns: 1fr;
}

.roles__ui-stage[data-ui-stage="analytics"] .roles__ui-phone {
  display: none;
}

.roles__ui-phone {
  position: relative;
  z-index: 5;
  margin: 0 0 -20px;
  flex-shrink: 0;
  overflow: visible;
  align-self: end;
  transform: translateY(-64px);
}

.roles__ui-phone-frame {
  position: relative;
  width: clamp(180px, 20vw, 260px);
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.roles__ui-phone-frame picture {
  display: block;
  width: 100%;
  height: auto;
}

.roles__ui-wl {
  position: absolute;
  z-index: 4;
  left: -18%;
  bottom: 18%;
  max-width: 148px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #ffed00;
  border: 1px solid #e6d600;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #141414;
  text-align: left;
  transform: rotate(-7deg);
  pointer-events: none;
}

.roles__ui-phone-frame::before {
  display: none;
}

.roles__ui-phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
  border-radius: 0;
  background: transparent;
}

.roles__features {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 36px;
  margin-top: 8px;
  padding: 36px 0 8px;
  color: #111;
  background: #ececec;
}

.roles__feat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roles__feat-title {
  margin: 0;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #111;
}

.roles__feat-list {
  margin: 0;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.58);
}

@media (max-width: 960px) {
  .cta-band {
    padding: 28px 14px 0;
  }

  .cta-band__card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cta-band__info {
    min-height: 420px;
    padding: 36px 24px;
  }

  .cta-band__panel {
    padding: 20px 16px 24px;
  }

  .cta-band__submit {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 13px;
    white-space: normal;
    line-height: 1.25;
    text-align: center;
  }

  .cta-band__title {
    font-size: clamp(22px, 6.5vw, 32px);
  }

  .cta-band__steps {
    gap: 12px;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero__title-row--chips > .hero__chip:first-of-type {
    margin-left: 10px;
  }

  .stack__card {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    height: auto;
    padding: 18px 11px 11px 20px;
    gap: 16px;
    border-radius: 8px;
  }

  .stack__media {
    height: 280px;
    border-radius: 8px;
    background: #1a1a1a;
  }

  .stack__bg {
    object-fit: cover;
    object-position: center top;
  }

  .stack__card--violet .stack__ui--live.stack__ui--catalog {
    inset: 4% 3% 4% 3%;
  }

  .stack__card--green .stack__ui--analytics {
    inset: 5% 4% 10% 4%;
    grid-template-columns: 88px minmax(0, 1fr);
    zoom: 0.88;
  }

  .ges-an__top {
    padding: 6px 7px 5px;
  }

  .ges-an__title {
    font-size: 10px;
    margin-bottom: 4px;
  }

  .ges-an__filter {
    height: 18px;
    padding: 0 6px;
    font-size: 8px;
  }

  .ges-an__metric {
    padding: 4px 5px;
  }

  .stack__card--cyan .stack__media {
    height: 300px;
  }

  .stack__card--cyan .stack__ui--cases {
    inset: 6% 0 6% 0;
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    padding: 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .stack__card--cyan .stack__ui--cases::-webkit-scrollbar {
    display: none;
  }

  .stack__card--cyan .ges-case {
    flex: 0 0 min(240px, 76%);
    scroll-snap-align: center;
    max-height: 100%;
    overflow: auto;
    gap: 7px;
    padding: 12px 12px 10px;
  }

  .stack__card--cyan .ges-case__title {
    font-size: 15px;
  }

  .stack__card--cyan .ges-case__days,
  .stack__card--cyan .ges-case__sub {
    padding: 6px 8px;
    font-size: 10px;
  }

  .stack__card--cyan .ges-case__ask {
    font-size: 11px;
    line-height: 1.35;
  }

  .stack__card--cyan .ges-case__row {
    padding: 7px 8px;
    font-size: 11px;
  }

  .stack__title {
    max-width: none;
  }

  .know {
    gap: 22px;
    padding: 72px 16px 16px;
  }

  .know__lead,
  .know__outro {
    font-size: clamp(22px, 6vw, 28px);
    max-width: 100%;
  }

  .know + .stack-block {
    padding-top: 12px;
  }

  .know__stage {
    column-gap: 10px;
    font-size: clamp(22px, 6.2vw, 32px);
    max-width: 100%;
  }

  .stack-block {
    padding: 40px 0 16px;
  }

  .stack-block__title {
    margin-bottom: 24px;
  }

  .pricing {
    margin-top: -64px;
    padding: 0 14px 36px;
    background: #ececec;
  }

  .pricing__panel {
    padding: 28px 18px 22px;
    border-radius: 12px;
  }

  .pricing__grid,
  .pricing__grid--four {
    grid-template-columns: 1fr;
  }

  .pricing__card,
  .pricing__grid--four .pricing__card {
    grid-column: auto;
  }

  .pricing__cta-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 32px;
  }

  .pricing__cta,
  .pricing__contact {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .pricing__cta {
    white-space: normal;
    text-align: center;
    min-height: 48px;
    padding: 12px 16px;
    line-height: 1.25;
  }

  .pricing__contact input {
    min-height: 48px;
  }

  #earn .stack__card--green .stack__media {
    height: 360px;
  }

  #earn .stack__card--cyan .stack__media {
    height: 380px;
  }

  #earn .stack__card--green .stack__ui--renewal {
    inset: 4% 3% 4% 3%;
    zoom: 0.78;
  }

  #earn .stack__card--cyan .stack__ui--sub {
    inset: 4% 3% 4% 3%;
    align-items: flex-start;
    zoom: 0.82;
  }

  .ges-sub__dates {
    flex-wrap: wrap;
    white-space: normal;
    gap: 4px 6px;
    min-height: 0;
  }

  .ges-sub__old,
  .ges-sub__new {
    font-size: 14px;
  }

  .ges-sub__new {
    padding: 3px 5px;
  }

  .ges-sub__amount strong {
    font-size: 18px;
  }

  .footer-peek {
    margin-top: 8px;
  }

  .footer-peek__device {
    width: 100%;
  }

  .footer-peek:hover .footer-peek__device {
    transform: translate3d(0, -24px, 0);
  }

  .footer-peek__screen {
    height: 220px;
  }

  .footer-peek__cta {
    top: 34%;
    width: auto;
    max-width: calc(100% - 48px);
    min-height: 42px;
    padding: 0 18px;
    font-size: 13px;
  }

  .br-m {
    display: block;
  }

  .stack-block__title--franchise {
    max-width: 16ch;
    line-height: 1.2;
  }

  .analytics__card {
    min-height: 0;
    gap: 14px;
    padding: 22px 18px 16px;
  }

  .analytics__shot {
    height: 200px;
    margin-top: 0;
    background: #e8ece9;
  }

  .analytics__shot--drill {
    height: 190px;
  }

  .analytics__shot--b img {
    width: 118%;
    top: 48%;
    left: 50%;
    object-position: center 30%;
  }

  .razbors {
    padding: 48px 20px 40px;
  }

  .contacts {
    padding: 0;
    background: #191a1b;
  }

  .contacts__inner {
    max-width: none;
    margin: 0;
    padding: 28px 20px 0;
    border-radius: 0;
    border: 0;
    background: #191a1b;
  }

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

  .support__msg {
    max-width: 88%;
    padding: 10px 11px 8px;
  }

  .support__msg p {
    font-size: 12px;
    line-height: 1.35;
  }

  .support__msg-name,
  .support__msg time {
    font-size: 10px;
  }

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

  .razbor {
    padding: 20px 18px 0;
  }

  .razbor__top {
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 14px;
  }

  .razbor__media {
    width: 96px;
    height: 96px;
    border-radius: 10px;
  }

  .razbor__body {
    margin: 6px -18px 0;
    padding: 8px 18px 80px;
  }

  .razbor__cta {
    white-space: normal;
    text-align: center;
    min-width: min(100%, 260px);
  }

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

  .analytics__insight {
    min-height: 420px;
  }

  .analytics__chips > span,
  .analytics__chip {
    max-width: 88%;
  }

  .analytics__chip-hover {
    width: min(280px, 90vw);
    left: auto;
    right: 0;
  }

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

  .migrate {
    padding: 28px 14px 32px;
  }

  .migrate__panel {
    grid-template-columns: 1fr;
    padding: 28px 20px 24px;
    border-radius: 12px;
    gap: 22px;
  }

  .migrate__intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .migrate__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .migrate__pain-opt {
    min-height: 0;
  }

  .migrate__panel {
    min-height: 0;
    padding: 32px 18px 18px;
  }

  .migrate__case {
    min-height: 0;
    max-width: none;
    margin-top: 24px;
  }

  .migrate__orbit {
    width: min(90%, 420px);
    right: -20%;
  }

  .migrate__person {
    justify-content: center;
  }

  .support__grid,
  .support__grid--two {
    grid-template-columns: 1fr;
  }

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

  .analytics__title-line {
    white-space: normal;
  }

  .features-page {
    padding: 36px 20px 64px;
  }

  .features-page__grid {
    grid-template-columns: 1fr;
  }

  .features-page__card {
    padding: 28px 22px 26px;
    gap: 18px;
  }

  .features-page__list {
    max-width: 100%;
    gap: 8px 10px;
  }

  .features-page__list li {
    white-space: normal;
    font-size: 12px;
    padding: 7px 10px 7px 8px;
  }

  .case-page {
    --case-gutter: 20px;
    padding: 0 0 56px;
  }

  .case-hero {
    padding-top: 40px;
    padding-bottom: 36px;
    margin-bottom: 36px;
  }

  .case-transfer,
  .case-change__cols,
  .case-result,
  .case-viz__timeline,
  .case-change__cols-list {
    grid-template-columns: 1fr;
  }


  .case-viz__stage--pair,
  .case-viz__stage--network {
    flex-direction: column;
    align-items: stretch;
  }

  .case-viz__stage--phones {
    flex-wrap: wrap;
    justify-content: center;
  }

  .case-viz__device,
  .case-viz__device--focus {
    max-width: 46%;
    transform: none;
  }

  .case-viz__phone,
  .case-viz__phone--focus {
    width: 100%;
    min-height: 160px;
  }

  .case-person__link {
    margin-left: 0;
  }

  .case-cta {
    padding: 28px 20px;
  }

  .viz-drill__panels {
    grid-template-columns: 1fr;
  }

  .roles__pin {
    position: relative;
    top: auto;
    gap: 18px;
    padding: 28px 0 12px;
  }

  .roles__tabs,
  .roles__cards,
  .roles__pager,
  .roles__track,
  .roles__scroll-hint {
    display: none !important;
  }

  .roles__mobile {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
  }

  .roles__mobile[hidden] {
    display: none !important;
  }

  .roles__mobile-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .roles__mobile-group + .roles__mobile-group {
    margin-top: 12px;
    padding-top: 8px;
  }

  .roles__mobile-heading {
    margin: 0;
    padding-top: 8px;
    font-family: var(--font);
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: #111;
    text-align: center;
  }

  .roles__mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .roles__mobile .roles__card {
    height: auto;
    min-height: 0;
    padding: 18px 16px 16px;
  }

  .roles__mobile .roles__card:has(.roles__phone--device) {
    min-height: 440px;
    padding-bottom: 0;
  }

  .roles__mobile .roles__phone {
    width: min(86%, 250px);
    height: auto;
    margin: 12px auto 0;
  }

  .roles__mobile .roles__phone--device {
    width: min(90%, 270px);
    height: 300px;
    margin: 12px auto 0;
    flex: 1 1 auto;
    align-items: flex-end;
  }

  .roles__mobile .roles__phone--device img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
  }

  .roles__mobile .roles__card--panel {
    padding: 18px 16px 16px;
  }

  .roles__mobile .roles__phone--panel,
  .roles__mobile .roles__phone--mock {
    width: 100%;
    height: auto;
    min-height: 0;
    flex: 0 0 auto;
    margin: 12px 0 0;
    border-radius: 12px;
    border: 1px solid #e4e4e4;
  }

  .roles__card:nth-child(n) .adm-mock,
  .roles__card:nth-child(n) .roles__phone--panel {
    transform: none;
  }

  .adm-mock__scan {
    padding: 0 8px;
    font-size: 0;
  }

  .adm-mock__scan svg {
    width: 16px;
    height: 16px;
  }

  .adm-mock__popover {
    width: 148px;
  }

  .roles__ui {
    padding-top: 36px;
  }

  .roles__features {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .roles__ui-stage {
    grid-template-columns: minmax(0, 1.55fr) minmax(88px, 0.5fr);
    align-items: end;
    gap: 8px;
    justify-items: stretch;
  }

  .roles__ui-shot {
    border-radius: 12px;
  }

  .roles__ui-shot img {
    width: 100%;
    height: auto;
    display: block;
  }

  .roles__ui-switch {
    flex-direction: column;
  }

  .roles__ui-tab {
    flex: 1 1 auto;
    width: 100%;
  }

  .roles__ui-phone {
    margin: 0;
    transform: none;
    align-self: end;
  }

  .roles__ui-stage[data-ui-stage="client"] .roles__ui-phone {
    margin: 0;
    transform: none;
  }

  .roles__ui-phone-frame {
    width: min(100px, 26vw);
    height: auto;
  }

  .roles__ui-wl {
    left: -10%;
    bottom: 12%;
    font-size: 8px;
    padding: 5px 7px;
    max-width: 96px;
    letter-spacing: 0.03em;
  }

  .rules {
    padding: 48px 20px 64px;
  }

  .rules__title-line {
    white-space: normal;
  }

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

  .trust {
    padding: 56px 20px 72px;
  }

  .support {
    margin-top: 36px;
    padding: 28px 18px 22px;
  }

  .trust__grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
  }

  .trust__text {
    max-width: none;
  }

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

  .trust__wide {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 16px;
  }
}
