* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  background: #0a0a0f;
  color: #fff;
  font-family: "Inter", sans-serif;
  display: block;
  padding: 24px 0;
  position: relative;
  overflow: visible;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 220px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(95px);
}

body::before {
  top: -120px;
  left: -140px;
  background: radial-gradient(circle, rgba(88, 129, 255, 0.2) 0%, rgba(88, 129, 255, 0) 70%);
}

body::after {
  right: -140px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(91, 210, 255, 0.16) 0%, rgba(91, 210, 255, 0) 72%);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 620px;
  height: 620px;
  margin-top: -310px;
  margin-left: -310px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transform: translate3d(-50vw, -50vh, 0);
  will-change: transform, opacity;
  transition: opacity 400ms ease;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 28%,
    rgba(255, 255, 255, 0.02) 55%,
    rgba(255, 255, 255, 0) 72%
  );
  mix-blend-mode: screen;
  filter: blur(18px);
}

.cursor-glow.is-visible {
  opacity: 1;
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .cursor-glow {
    display: none;
  }
}

.page {
  width: min(1204px, calc(100% - 32px));
  max-width: 1204px;
  margin: 0 auto;
  padding-top: 92px;
  position: relative;
  z-index: 1;
}

@media (min-width: 1236px) {
  html {
    overflow-x: hidden;
    overflow-y: auto;
  }
  body {
    display: block;
    padding: 0px 0;
    overflow: visible;
  }
  .page {
    width: 1204px;
    margin-left: auto;
    margin-right: auto;
  }
  body .main-header {
    width: 1204px;
    max-width: 1204px;
    left: calc(50% - 602px);
    right: auto;
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }
}

.page::before,
.page::after {
  content: none;
  display: none;
}

.main-hero {
  width: 100%;
  min-height: 760px;
  padding-top: 16px;
  background: transparent;
  
  overflow: visible;
  isolation: isolate;
}

.main-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -360px;
  right: -360px;
  bottom: -240px;
  background: url("../img/hero/back.svg") center top / 1600px auto no-repeat;
  -webkit-mask-image: radial-gradient(
    ellipse 58% 72% at 50% 42%,
    #000 22%,
    rgba(0, 0, 0, 0.92) 46%,
    rgba(0, 0, 0, 0.55) 68%,
    rgba(0, 0, 0, 0.18) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: radial-gradient(
    ellipse 58% 72% at 50% 42%,
    #000 22%,
    rgba(0, 0, 0, 0.92) 46%,
    rgba(0, 0, 0, 0.55) 68%,
    rgba(0, 0, 0, 0.18) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.main-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 180px;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0) 0%,
    rgba(10, 10, 15, 0.55) 55%,
    #0a0a0f 100%
  );
  pointer-events: none;
  z-index: 1;
}

.main-header { display: flex; width: 1204px; height: 76px; max-width: 1204px; padding: 16px 15px 16px 32px; justify-content: space-between; align-items: flex-start; border-radius: 16px; border: 1px solid rgba(255,255,255,.06); background: #0a0a0f; box-shadow: inset 0 1px 1px 1px rgba(255,255,255,.15); backdrop-filter: blur(2.5px); position: fixed; top: 24px; left: 0; right: 0; margin-left: auto; margin-right: auto; transform: none; z-index: 1000; }


.main-header__logo {
  color: #fff;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: 0.3px;
}

.main-header__nav {
  display: flex;
  gap: 32px;
  height: 100%;
  align-items: center;
  padding-top: 0;
}

.main-header__link {
  color: #9c9c9d;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.main-header__link:hover,
.main-header__link:focus-visible {
  color: #f2f2f3;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.32);
}

.main-header__burger {
  display: none;
}

.hero-stats-mobile {
  display: none;
}

.main-hero__subtitle-extra,
.team-tablet,
.final-hero__subtitle--tablet {
  display: none;
}

.agent-mobile-expand {
  display: none;
}

.anim-integ__caption--mobile,
.anim-integ__description--mobile {
  display: none;
}

.main-header__cta,
.main-hero__cta {
  width: 177px;
  height: 44px;
  width: 193px;
  display: inline-flex;
  min-height: 36px;
  padding: 14px 32px;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 8px;
  background: #e6e6e6;
  color: #2f3031;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 26px rgba(255, 255, 255, 0.08);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease;
}

.main-header__cta:hover,
.main-header__cta:focus-visible,
.main-hero__cta:hover,
.main-hero__cta:focus-visible,
.anim-integ__button:hover,
.anim-integ__button:focus-visible {
  transform: translateY(-2px);
  background: #f2f2f2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 14px 34px rgba(255, 255, 255, 0.14);
}

.main-header__cta:active,
.main-hero__cta:active,
.anim-integ__button:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 8px 18px rgba(255, 255, 255, 0.09);
}

.main-hero__cta {
  width: 260px;
  height: 48px;
  padding: 14px 40px;
  font-size: 15px;
  border-radius: 10px;
}

.main-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 176px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-hero__title {
  margin: 0 0 20px;
  color: #fff;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 64px;
  font-style: normal;
  font-weight: 600;
  line-height: 70px;
  letter-spacing: 0.401px;
}

.main-hero__subtitle {
  margin: 0 0 32px;
  color: #fff;
  text-align: center;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 22.4px;
  letter-spacing: 0.2px;
}

.main-hero__note {
  display: flex;
  width: 355px;
  height: 27px;
  margin: 16px 0 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0.2px;
}

.hero {
  width: 100%;
  background: #0a0a0f;
  border: 0.2px solid rgba(255, 255, 255, 0.38);
}

.hero--primary {
  margin-top: 350px;
}

.team-section {
  margin-top: 350px;
}

.hero--agents[data-active-agent="analyst"] .top-intro {
  color: #ffffff;
  transition: color 300ms ease;
}

.hero--agents[data-active-agent="assistant"] .top-intro {
  color: #ffffff;
  transition: color 300ms ease;
}

.chat-section {
  margin-top: 350px;
}

.integ-section {
  margin-top: 350px;
}

.external-block {
  margin-top: 350px;
  width: 100%;
}

.final-hero {
  width: 100%;
  min-height: 760px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

/* Тот же back.svg и маска, что у .main-hero::before, но отражение по вертикали */
.final-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -360px;
  right: -360px;
  background: url("../img/hero/back.svg") center top / 1600px auto no-repeat;
  transform: scaleY(-1);
  transform-origin: center center;
  -webkit-mask-image: radial-gradient(
    ellipse 58% 72% at 50% 58%,
    #000 22%,
    rgba(0, 0, 0, 0.92) 46%,
    rgba(0, 0, 0, 0.55) 68%,
    rgba(0, 0, 0, 0.18) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: radial-gradient(
    ellipse 58% 72% at 50% 58%,
    #000 22%,
    rgba(0, 0, 0, 0.92) 46%,
    rgba(0, 0, 0, 0.55) 68%,
    rgba(0, 0, 0, 0.18) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Зеркально к .main-hero::after: затемнение сверху блока */
.final-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  bottom: auto;
  height: 180px;
  background: linear-gradient(
    to top,
    rgba(10, 10, 15, 0) 0%,
    rgba(10, 10, 15, 0.55) 55%,
    #0a0a0f 100%
  );
  pointer-events: none;
  z-index: 1;
}


.final-hero__content {
  position: relative;
  z-index: 2;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.final-hero__title {
  margin: 0 0 24px;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 64px;
  font-style: normal;
  font-weight: 600;
  line-height: 70px;
  letter-spacing: 0.401px;
}

.final-hero__subtitle {
  margin: 0 0 28px;
  color: #fff;
  text-align: center;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px;
  letter-spacing: 0.2px;
}

.final-hero__note {
  margin: 14px 0 0;
  color: #9c9c9d;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px;
  letter-spacing: 0.2px;
}


.team-kicker {
  display: inline-block;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.68);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.team-title {
  display: flex;
  width: 100%;
  min-height: 113px;
  margin: 0;
  padding-bottom: 16px;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 56px;
  font-style: normal;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: 0.2px;
}

.team-text {
  margin: 0;
  padding-bottom: 64px;
  color: #9c9c9d;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22.4px;
}

.chat-mobile-break {
  display: none;
}

.chat-preview {
  width: 100%;
  height: 676px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, #05060a 0%, #03040a 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 40px rgba(35, 42, 80, 0.42);
}

/* Integrations carousel */
.anim-integ-stage {
  position: relative;
  width: 100%;
  padding: 56px 0 72px;
  background: transparent;
  isolation: isolate;
}

.anim-integ-stage::before {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1600px;
  height: 1400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(46, 75, 170, 0.22) 0%,
    rgba(46, 75, 170, 0.12) 22%,
    rgba(46, 75, 170, 0.05) 42%,
    rgba(46, 75, 170, 0.015) 62%,
    rgba(46, 75, 170, 0) 82%
  );
  pointer-events: none;
  z-index: -1;
}

.anim-integ {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.anim-integ__kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.anim-integ__viewport {
  position: relative;
  width: 100%;
  margin: 0 auto 96px;
  padding: 32px 64px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.45) 8%,
    #000 14%,
    #000 86%,
    rgba(0, 0, 0, 0.45) 92%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.45) 8%,
    #000 14%,
    #000 86%,
    rgba(0, 0, 0, 0.45) 92%,
    rgba(0, 0, 0, 0) 100%
  );
}

.anim-integ__rows {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.anim-integ__row {
  position: relative;
  min-height: 74px;
}

.anim-integ__row--mid {
  min-height: 86px;
}

.anim-integ__track {
  display: flex;
  width: max-content;
  flex-direction: row;
  flex-wrap: nowrap;
  will-change: transform;
}

.anim-integ__track--left {
  animation: anim-integ-marquee-left 68s linear infinite;
}

.anim-integ__track--right {
  animation: anim-integ-marquee-right 76s linear infinite;
}

.anim-integ__track--slow {
  animation-duration: 88s;
}

@keyframes anim-integ-marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes anim-integ-marquee-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.anim-integ__strip {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
}

.anim-integ__chip {
  flex: 0 0 auto;
  width: 78px;
  height: 78px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, rgba(99, 102, 241, 0.25), rgba(15, 23, 42, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.anim-integ__icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.anim-integ__row--mid .anim-integ__track {
  position: relative;
  z-index: 1;
}

.anim-integ__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55%);
  z-index: 4;
  min-width: 120px;
  height: 84px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background:
    linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.05) 45%,
      rgba(255, 255, 255, 0.09) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 10px 32px rgba(13, 20, 40, 0.35),
    0 0 36px rgba(56, 189, 248, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
  animation: anim-integ-logo-pulse 3.2s ease-in-out infinite;
}

.anim-integ__logo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0) 42%,
    rgba(165, 243, 252, 0) 58%,
    rgba(165, 243, 252, 0.22) 100%
  );
  pointer-events: none;
  z-index: -1;
  opacity: 0.85;
}

.anim-integ__logo::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -30%;
  width: 80%;
  height: 220%;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(18deg) translateX(-120%);
  pointer-events: none;
  z-index: -1;
  filter: blur(4px);
  animation: anim-integ-logo-shine 5.6s ease-in-out infinite;
}

.anim-integ__logo-text {
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.3px;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(165, 243, 252, 0.45);
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

@keyframes anim-integ-logo-shine {
  0% { transform: rotate(18deg) translateX(-120%); opacity: 0; }
  15% { opacity: 1; }
  55% { transform: rotate(18deg) translateX(220%); opacity: 1; }
  70%, 100% { transform: rotate(18deg) translateX(220%); opacity: 0; }
}

@keyframes anim-integ-logo-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06),
      0 10px 32px rgba(13, 20, 40, 0.35),
      0 0 30px rgba(56, 189, 248, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.4),
      inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.1),
      0 14px 40px rgba(13, 20, 40, 0.4),
      0 0 48px rgba(56, 189, 248, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.55),
      inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  }
}

.anim-integ__caption {

  margin: 0 auto 20px;
  text-align: center;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
  font-family: Inter, sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 19.71%, #ffffff 0%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.anim-integ__description {
  margin: 0 auto 28px;
  color: #fff;
  text-align: center;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px;
  letter-spacing: 0.2px;
  opacity: 0.5;
}

.anim-integ__button {
  width: 177px;
  height: 44px;
  display: inline-flex;
  min-height: 36px;
  padding: 14px 32px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 8px;
  background: #e6e6e6;
  color: #2f3031;
  font-family: Inter, sans-serif;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 26px rgba(255, 255, 255, 0.08);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease;
}

@media (prefers-reduced-motion: reduce) {
  .anim-integ__track--left,
  .anim-integ__track--right {
    animation: none !important;
    transform: none;
  }

  .anim-integ__logo {
    animation: none;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08),
      0 10px 32px rgba(13, 20, 40, 0.35),
      0 0 30px rgba(56, 189, 248, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.45);
  }
  .anim-integ__logo::after { animation: none; opacity: 0;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 406px 395px 401px;
  grid-template-rows: 54px auto 75px;
}

.top-intro {
  grid-column: 1 / 3;
  grid-row: 1;
  border-bottom: 0.2px solid rgba(255, 255, 255, 0.38);
  margin: 0;
  padding: 18px 24px;
  color: #929292;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 3px;
}

.left-column {
  grid-column: 1;
  grid-row: 2;
  border-right: 0.2px solid rgba(255, 255, 255, 0.38);
  display: grid;
  grid-template-rows: 240px 284px;
}

.hero-offer-mobile {
  display: none;
}

.lead-box {
  border-bottom: 0.2px solid rgba(255, 255, 255, 0.38);
  padding: 24px;
}

.lead-box h1 {
  margin: 0;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

.about-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  height: 120%;
}

.about-box__btn {
  margin-top: auto;
}

.about-box p {
  margin: 0;
  color: #9c9c9d;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0.3px;
}

.about-box__btn {
  display: inline-flex;
  min-height: 36px;
  padding: 10px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 0.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.2px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  transition: transform 160ms ease, box-shadow 220ms ease, background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.about-box__btn:hover,
.about-box__btn:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  outline: none;
}

.about-box__btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.05);
}

.hero--agents[data-active-agent="analyst"] .about-box__btn:hover,
.hero--agents[data-active-agent="analyst"] .about-box__btn:focus-visible {
  border-color: rgba(168, 215, 255, 0.55);
  box-shadow: 0 8px 22px rgba(120, 170, 255, 0.16), 0 0 0 1px rgba(168, 215, 255, 0.28) inset;
}

.hero--agents[data-active-agent="assistant"] .about-box__btn:hover,
.hero--agents[data-active-agent="assistant"] .about-box__btn:focus-visible {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.18), 0 0 0 1px rgba(16, 185, 129, 0.35) inset;
}

.lead-heading {
  margin: 0;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  text-shadow: 0 4px 24px rgba(255, 255, 255, 0.06);
}

.hero--agents .left-column {
  grid-template-rows: 1fr 1fr;
}

.hero--agents .hero-grid {
  grid-template-rows: 54px auto;
}

.lead-box--switcher,
.about-box--switcher {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.about-box--switcher {
  height: 100%;
}

.agent-detail-btn {
  display: inline-flex;
  min-height: 36px;
  padding: 10px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 0.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.2px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  transition: transform 160ms ease, box-shadow 220ms ease, background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.agent-detail-btn:hover,
.agent-detail-btn:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  outline: none;
}

.agent-detail-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.05);
}

.hero--agents[data-active-agent="analyst"] .lead-box--switcher .agent-detail-btn:hover,
.hero--agents[data-active-agent="analyst"] .lead-box--switcher .agent-detail-btn:focus-visible {
  border-color: rgba(168, 215, 255, 0.55);
  box-shadow: 0 8px 22px rgba(120, 170, 255, 0.16), 0 0 0 1px rgba(168, 215, 255, 0.28) inset;
}

.agent-switcher {
  all: unset;
  display: inline-block;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.28);
  font-family: Inter, sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  text-align: left;
  transition: color 260ms ease, text-shadow 260ms ease;
}

.agent-switcher:hover {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 4px 22px rgba(255, 255, 255, 0.14);
}

.agent-switcher:focus-visible {
  outline: none;
  color: #fff;
  text-shadow: 0 4px 22px rgba(255, 255, 255, 0.2);
}

.hero--agents[data-active-agent="analyst"] .agent-switcher[data-agent-tab="analyst"],
.hero--agents[data-active-agent="assistant"] .agent-switcher[data-agent-tab="assistant"] {
  color: #fff;
  cursor: default;
  text-shadow: 0 4px 24px rgba(255, 255, 255, 0.06);
}

.image-box {
  grid-column: 2;
  grid-row: 2;
  background: url("../img/ii-ivan/Rectangle 161.png") center bottom / cover no-repeat;
  background-color: #0a0a0f00;
}

.image-box--agents {
  position: relative;
  background-color: #0a0a0f;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  transition: background-image 400ms ease;
}

.hero--agents[data-active-agent="analyst"] .image-box--agents {
  background-image: url("../img/2block/analytic.png");
}

.hero--agents[data-active-agent="assistant"] .image-box--agents {
  background-image: url("../img/2block/assistennt.png");
}

.hero-bottom {
  grid-column: 1 / 4;
  grid-row: 3;
  display: grid;
  grid-template-columns: 406px 197.5px 198.5px 200px 201px;
  min-height: 75px;
  border-top: 0.2px solid rgba(255, 255, 255, 0.38);
}

.right-rail {
  grid-column: 3;
  grid-row: 1 / 3;
  display: grid;
  grid-template-rows: 54px auto;
  border-left: 0.2px solid rgba(255, 255, 255, 0.38);
}

.top-abilities {
  margin: 0;
  padding: 18px 24px;
  color: #9c9c9d;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-bottom: 0.2px solid rgba(255, 255, 255, 0.38);
}

.abilities {
  min-height: auto;
}

.anim-acc {
  width: 100%;
  height: 100%;
  font-size: 16px;
  border: none;
}

.anim-acc__item {
  border-bottom: 0.2px solid rgba(255, 255, 255, 0.38);
}

.anim-acc__item:last-child {
  border-bottom: none;
}

.anim-acc__row {
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 0;
  transition: box-shadow 0.22s ease, background-color 0.22s ease;
}

.anim-acc__row:hover {
  background-color: rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    0 0 12px rgba(255, 255, 255, 0.2);
}

.anim-acc__main {
  flex: 1;
  min-width: 0;
}

.anim-acc__header {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 68px;
  padding: 16px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  background: transparent;
  border: none;
  cursor: pointer;
}

.anim-acc__title {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.2px;
}

.anim-acc__panel-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.anim-acc__item.is-open .anim-acc__panel-wrap {
  grid-template-rows: 1fr;
  opacity: 1;
}

.anim-acc__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.anim-acc__text {
  margin: 0;
  padding: 0 24px 16px;
  color: #9c9c9d;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.2px;
}

.anim-acc__icon-btn {
  flex-shrink: 0;
  width: 68px;
  min-height: 68px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 23px;
  box-sizing: border-box;
  border: none;
  border-left: 0.2px solid rgba(255, 255, 255, 0.38);
  background: transparent;
  cursor: pointer;
}

.anim-acc__icon {
  position: relative;
  width: 22px;
  height: 22px;
}

.anim-acc__line {
  position: absolute;
  left: 50%;
  top: 50%;
  background: #d4d4d4;
  transform: translate(-50%, -50%);
}

.anim-acc__line--h {
  width: 20px;
  height: 1px;
}

.anim-acc__line--v {
  width: 1px;
  height: 20px;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease;
}

.anim-acc__item.is-open .anim-acc__line--v {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.stats-label {
  padding: 24px;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-right: 0.2px solid rgba(255, 255, 255, 0.38);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.stats-item {
  border-right: 0.2px solid rgba(255, 255, 255, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.stats-item:last-child {
  border-right: none;
}

.stats-item span {
  display: flex;
  width: 100%;
  height: 75px;
  padding: 23px 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #9c9c9d;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.stats-item:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background-color: rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.36),
    0 0 14px rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) and (max-width: 1024px) {
  :root {
    --tablet-page-width: min(769px, calc(100vw - 32px));
  }

  html,
  body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background: #0a0a0f;
  }

  body {
    padding: 0;
  }

  body::before,
  body::after {
    display: none;
  }

  .page {
    width: var(--tablet-page-width);
    max-width: var(--tablet-page-width);
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .main-header {
    position: absolute;
    left: 50%;
    right: auto;
    top: 32px;
    width: var(--tablet-page-width);
    max-width: var(--tablet-page-width);
    height: 58px;
    min-height: 58px;
    padding: 0 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 58px auto auto;
    align-items: center;
    align-content: start;
    transform: translateX(-50%);
    overflow: hidden;
    border-radius: 6px;
    row-gap: 0;
  }

  .main-header__logo {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    font-size: 20px;
    line-height: 22px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
  }

  .main-header__burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
    grid-row: 1;
    width: 24px;
    height: 19px;
    padding: 0;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .main-header__burger svg {
    display: block;
    width: 24px;
    height: 19px;
  }

  .main-header__nav {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      max-height 260ms ease,
      opacity 220ms ease,
      transform 220ms ease;
  }

  .main-header__link {
    display: block;
    padding: 8px 0;
    color: #fff;
    font-size: 14px;
    line-height: 18px;
    opacity: 0.9;
  }

  .main-header__cta {
    grid-column: 1 / -1;
    display: inline-flex;
    width: 100%;
    max-width: 100%;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      max-height 260ms ease,
      opacity 220ms ease,
      transform 220ms ease;
  }

  .main-header.is-open {
    height: auto;
    padding: 0 18px 12px;
    row-gap: 8px;
    overflow: visible;
  }

  .main-header.is-open .main-header__nav {
    max-height: 220px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-header.is-open .main-header__cta {
    max-height: 44px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 40ms;
  }

  .main-hero {
    order: 1;
    min-height: 982px;
    padding-top: 0;
  }

  .main-hero::before {
    left: calc((100vw - var(--tablet-page-width)) / -2);
    right: calc((100vw - var(--tablet-page-width)) / -2);
    bottom: -260px;
    background-size: 1500px auto;
  }

  .main-hero::after {
    left: calc((100vw - var(--tablet-page-width)) / -2);
    right: calc((100vw - var(--tablet-page-width)) / -2);
    height: 210px;
  }

  .main-hero__content {
    padding-top: 288px;
  }

  .main-hero__title {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: 64px;
    line-height: 70px;
    letter-spacing: 0.4px;
  }

  .main-hero__desktop-break {
    display: none;
  }

  .main-hero__subtitle {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 32px;
    font-size: 18px;
    line-height: 22.4px;
  }

  .main-hero__subtitle-extra {
    display: inline;
  }

  .main-hero__cta {
    width: 194px;
    height: 44px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 14px;
  }

  .main-hero__note {
    width: auto;
    height: auto;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.42);
    font-weight: 300;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.2px;
    text-align: center;
  }

  .hero--primary {
    order: 2;
    margin-top: 0;
    border: none;
    background: transparent;
  }

  .hero--primary .hero-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .hero--primary .top-intro {
    order: 1;
    display: flex;
    align-items: center;
    min-height: 75px;
    padding: 18px 24px;
    border: 0.2px solid rgba(255, 255, 255, 0.75);
    color: #929292;
    text-transform: uppercase;
  }

  .hero--primary .top-intro br {
    display: none;
  }

  .hero--primary .left-column {
    order: 2;
    display: block;
    border: none;
  }

  .hero--primary .lead-box {
    min-height: 168px;
    padding: 24px;
    border: 0.2px solid rgba(255, 255, 255, 0.75);
    border-top: none;
  }

  .hero--primary .lead-box h1 {
    max-width: 650px;
    font-size: 40px;
    line-height: 1.05;
    letter-spacing: 0.2px;
  }

  .hero--primary .hero-offer-mobile {
    display: none;
  }

  .hero--primary .about-box {
    height: auto;
    min-height: 93px;
    padding: 24px;
    gap: 0;
    border: 0.2px solid rgba(255, 255, 255, 0.75);
    border-top: none;
  }

  .hero--primary .about-box p {
    max-width: 680px;
    font-size: 16px;
    line-height: 22.4px;
  }

  .hero--primary .about-box p br {
    display: none;
  }

  .hero--primary .about-box__btn {
    display: none;
  }

  .hero--primary .image-box {
    order: 3;
    width: 100%;
    height: 342px;
    border: 0.2px solid rgba(255, 255, 255, 0.75);
    border-top: none;
    background:
      url("../img/mock1024/image0_651_37126.png") center 8px / 640px auto no-repeat,
      #0a0a0f00;
  }

  .hero--primary .right-rail {
    order: 4;
    display: block;
    border-left: none;
  }

  .hero--primary .top-abilities {
    display: flex;
    align-items: center;
    min-height: 75px;
    margin: 0;
    padding: 18px 24px;
    border: 0.2px solid rgba(255, 255, 255, 0.75);
    border-top: none;
    color: #9c9c9d;
    font-size: 16px;
    line-height: 22.4px;
  }

  .hero--primary .abilities {
    width: 100vw;
    max-width: 100vw;
    margin: 16px 0 0;
    margin-left: calc((100vw - var(--tablet-page-width)) / -2);
    overflow: visible;
  }

  .hero--primary .anim-acc {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    height: auto;
    padding-left: calc((100vw - var(--tablet-page-width)) / 2);
    padding-right: calc((100vw - var(--tablet-page-width)) / 2);
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .hero--primary .anim-acc::-webkit-scrollbar {
    display: none;
  }

  .hero--primary .anim-acc__item {
    flex: 0 0 328px;
    width: 328px;
    min-height: 165px;
    padding: 24px;
    border: 0.2px solid rgba(255, 255, 255, 0.75);
    background: #0a0b12;
    scroll-snap-align: start;
  }

  .hero--primary .anim-acc__row,
  .hero--primary .anim-acc__row:hover {
    display: block;
    margin: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero--primary .anim-acc__main {
    display: contents;
  }

  .hero--primary .anim-acc__icon-btn {
    display: none;
  }

  .hero--primary .anim-acc__panel-wrap,
  .hero--primary .anim-acc__item.is-open .anim-acc__panel-wrap {
    display: block;
    grid-template-rows: none;
    opacity: 1;
  }

  .hero--primary .anim-acc__panel-inner {
    overflow: visible;
  }

  .hero--primary .anim-acc__header {
    min-height: 0;
    padding: 0;
    margin: 0 0 18px;
    cursor: default;
  }

  .hero--primary .anim-acc__title {
    font-size: 16px;
    line-height: 19px;
  }

  .hero--primary .anim-acc__text {
    padding: 0;
    color: #9c9c9d;
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
  }

  .hero--primary .hero-bottom {
    order: 5;
    display: grid;
    grid-template-columns: 160px 1fr 1fr 1fr 1fr;
    min-height: 49px;
    margin-top: 16px;
    border: 0.2px solid rgba(255, 255, 255, 0.75);
    border-right: none;
    width: 100%;
  }

  .hero--primary .stats-label {
    min-height: 49px;
    padding: 12px 14px;
    font-size: 11px;
    border-right: 0.2px solid rgba(255, 255, 255, 0.75);
  }

  .hero--primary .stats-item {
    min-height: 49px;
    border-right: 0.2px solid rgba(255, 255, 255, 0.75);
    overflow: hidden;
  }

  .hero--primary .stats-item span {
    height: auto;
    min-height: 49px;
    padding: 6px 6px;
    font-size: 11px;
    line-height: 13px;
    white-space: normal;
    word-break: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-stats-mobile {
    display: none;
  }

  .team-section {
    order: 3;
    margin-top: 150px;
  }

  .team-kicker {
    padding-bottom: 22px;
  }

  .team-title {
    max-width: 760px;
    min-height: 0;
    padding-bottom: 18px;
    font-size: 34px;
    line-height: 48px;
  }

  .team-text {
    max-width: 680px;
    padding-bottom: 64px;
    font-size: 16px;
    line-height: 22.4px;
  }

  .hero--agents {
    display: none;
  }

  .team-tablet {
    display: block;
    width: 100%;
    border: 0.2px solid rgba(255, 255, 255, 0.75);
    background: #0a0a0f;
  }

  .team-tablet__head,
  .team-tablet__row {
    display: flex;
    align-items: center;
    min-height: 70px;
    padding: 0 24px;
    border-bottom: 0.2px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
  }

  .team-tablet__head {
    background: #131822;
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.18);
  }

  .team-tablet__active {
    display: grid;
    grid-template-columns: 452px 1fr;
    grid-template-rows: 418px 73px;
    border-bottom: 0.2px solid rgba(255, 255, 255, 0.28);
  }

  .team-tablet__copy {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 16px 28px;
    border-right: 0.2px solid rgba(255, 255, 255, 0.2);
  }

  .team-tablet__number {
    margin-bottom: 42px;
    color: #fff;
    font-size: 56px;
    font-weight: 300;
    line-height: 1;
  }

  .team-tablet__role {
    margin: 0 0 16px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
  }

  .team-tablet__text {
    max-width: 260px;
    margin: 0;
    color: #9c9c9d;
    font-size: 16px;
    font-weight: 500;
    line-height: 22.4px;
  }

  .team-tablet__button {
    width: 144px;
    height: 44px;
    margin-top: auto;
    border: none;
    border-radius: 8px;
    background: #e6e6e6;
    color: #2f3031;
    font: 500 14px/16px Inter, sans-serif;
    cursor: pointer;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      0 10px 26px rgba(255, 255, 255, 0.16);
  }

  .team-tablet__photo {
    background:
      radial-gradient(circle at center, rgba(31, 50, 94, 0.22), rgba(10, 10, 15, 0) 66%),
      url("../img/mock1024/image1_651_37126.png") center bottom / 306px auto no-repeat,
      #0a0a0f;
  }

  .team-tablet__metrics {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 184px 268px 1fr;
    min-height: 73px;
    border-top: 0.2px solid rgba(255, 255, 255, 0.2);
  }

  .team-tablet__metrics span {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 0.2px solid rgba(255, 255, 255, 0.2);
    color: #9c9c9d;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 3px;
  }

  .team-tablet__metrics span:last-child {
    border-right: none;
  }


  .team-tablet__row:last-child {
    border-bottom: none;
  }

  .chat-section {
    order: 4;
    margin-top: 142px;
  }

  .chat-section .team-kicker,
  .chat-section .team-title,
  .chat-section .team-text {
    text-align: left;
  }

  .chat-section .team-title {
    font-size: 34px;
    line-height: 48px;
    padding-bottom: 8px;
  }

  .chat-section .team-text {
    padding-bottom: 52px;
  }

  .chat-mobile-break {
    display: none;
  }

  .chat-preview {
    position: relative;
    height: 473px;
    overflow: hidden;
    border-radius: 12px;
    border: 0.5px solid rgba(255, 255, 255, 0.48);
    background:
      radial-gradient(circle at 50% 74%, rgba(69, 93, 172, 0.22), rgba(6, 7, 12, 0) 56%),
      linear-gradient(180deg, #07080c 0%, #03040a 100%);
    box-shadow:
      inset 0 0 0 6px rgba(255, 255, 255, 0.13),
      0 0 42px rgba(30, 39, 80, 0.44);
  }

  .chat-preview::before {
    content: "";
    position: absolute;
    left: 144px;
    right: 144px;
    top: 96px;
    height: 244px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 36px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 36%, rgba(255, 255, 255, 0.13) 36% 37%, rgba(255, 255, 255, 0.05) 37% 100%),
      #202020;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.52);
  }

  .chat-preview::after {
    content: "";
    position: absolute;
    left: 278px;
    right: 278px;
    bottom: 74px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 18%, transparent 18% 23%, rgba(255, 255, 255, 0.18) 23% 41%, transparent 41% 46%, rgba(255, 255, 255, 0.18) 46% 64%, transparent 64% 69%, rgba(255, 255, 255, 0.18) 69% 86%, transparent 86%),
      rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
  }

  .integ-section {
    order: 5;
    margin-top: 200px;
  }

  .anim-integ-stage {
    padding: 0;
  }

  .anim-integ {
    max-width: 769px;
  }

  .anim-integ__kicker {
    margin-bottom: 54px;
  }

  .anim-integ__viewport {
    margin-bottom: 72px;
    padding: 0 58px;
  }

  .anim-integ__rows {
    gap: 24px;
  }

  .anim-integ__caption {
    margin-bottom: 30px;
    font-size: 34px;
    line-height: 42px;
  }

  .anim-integ__description {
    max-width: 520px;
    margin-bottom: 44px;
    color: #9c9c9d;
    font-size: 18px;
    line-height: 24px;
    opacity: 1;
  }

  .external-block {
    order: 6;
    margin-top: 180px;
  }

  .final-hero {
    order: 7;
    min-height: 760px;
    margin-top: 230px;
  }

  .final-hero::before {
    left: calc((100vw - var(--tablet-page-width)) / -2);
    right: calc((100vw - var(--tablet-page-width)) / -2);
    top: 0;
    bottom: 0;
    height: auto;
    background:
      radial-gradient(ellipse at 50% 58%, rgba(54, 92, 184, 0.22) 0%, rgba(54, 92, 184, 0.1) 34%, transparent 72%),
      linear-gradient(90deg, rgba(10, 12, 18, 0.98) 0%, rgba(10, 12, 18, 0.18) 16%, rgba(10, 12, 18, 0.18) 84%, rgba(10, 12, 18, 0.98) 100%),
      url("../img/group.svg") center 18px / cover no-repeat;
    transform: none;
    opacity: .94;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.82) 9%,
      #000 18%,
      #000 78%,
      rgba(0, 0, 0, 0.78) 90%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.82) 9%,
      #000 18%,
      #000 78%,
      rgba(0, 0, 0, 0.78) 90%,
      transparent 100%
    );
  }

  .final-hero::after {
    content: none;
    display: none;
  }

  .final-hero__content {
    min-height: 760px;
    justify-content: center;
  }

  .final-hero__title {
    margin-bottom: 18px;
    font-size: 64px;
    line-height: 70px;
  }

  .final-hero__subtitle--tablet {
    display: block;
    margin-bottom: 30px;
  }

  .final-hero__note {
    max-width: 320px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 18px;
  }

}


@media (max-width: 767px) {
  :root {
    --hero-mobile-bg-x: -76px;
    --hero-mobile-bg-y: 100px;
    --final-hero-mobile-bg-x: -76px;
    --final-hero-mobile-bg-y: 100px;
  }
 
  html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
    background: #0c1018;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
  }
  body {
    width: 100%;
    max-width: 100vw;
    min-height: 100%;
    display: block;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #0c1018;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
  }
  body::before,
  body::after {
    display: none;
  }

  .page {
    width: 100%;
    max-width: 100vw;
    padding: 74px 16px 0;
    margin: 0;
    overflow-x: hidden;
    overflow-y: visible;
    touch-action: auto;
  }

  /* Safety: prevent horizontal overflow anywhere inside the page */
  .page > * {
    max-width: 100%;
  }
  .anim-integ-stage {
    overflow-y: visible;
    isolation: auto;
  }

  .page::before,
  .page::after {
    display: none;
  }

  /* ===== HEADER ===== */
  .main-header {
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 56px auto auto;
    height: 56px;
    min-height: 56px;
    padding: 0 16px;
    top: 32px;
    transform: none;
    align-items: center;
    box-sizing: border-box;
    align-content: start;
    row-gap: 0;
    overflow: hidden;
  }

  .main-header__logo {
    font-size: 20px;
    line-height: 22px;
    text-transform: none;
  }

  .main-header__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    grid-column: 1 / -1;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      max-height 260ms ease,
      opacity 220ms ease,
      transform 220ms ease;
  }
  .main-header__link {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    line-height: 18px;
    color: #fff;
    opacity: 0.9;
  }
  .main-header__cta {
    display: inline-flex;
    width: 100%;
    max-width: 100%;
    grid-column: 1 / -1;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    overflow: hidden;
    transition:
      max-height 260ms ease,
      opacity 220ms ease,
      transform 220ms ease;
  }
  .main-header.is-open {
    height: auto;
    padding: 0 16px 12px;
    row-gap: 8px;
    overflow: visible;
  }
  .main-header.is-open .main-header__nav {
    max-height: 220px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-header.is-open .main-header__cta {
    max-height: 44px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 40ms;
  }

  .main-header__burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
    grid-row: 1;
    width: 24px;
    height: 19px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fff;
    align-self: center;
  }
  .main-header__burger svg {
    display: block;
    width: 24px;
    height: 19px;
  }
  .main-header__logo {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  /* ===== MAIN HERO ===== */
  .main-hero {
    width: 100%;
    min-height: auto;
    padding-top: 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  .main-hero::before {
    left: 0;
    right: 0;
    bottom: -140px;
    background:
      url("../img/hero/heromobile/vector.svg") center -10px / 100% 328px no-repeat,
      url("../img/hero/heromobile/hero_mobile.png") var(--hero-mobile-bg-x) var(--hero-mobile-bg-y) / 136% auto no-repeat;
    -webkit-mask-image: none;
    mask-image: none;
    filter: none;
  }
  .main-hero::after {
    height: 140px;
    background: linear-gradient(
      180deg,
      rgba(10, 10, 15, 0) 0%,
      rgba(10, 10, 15, 0.32) 62%,
      #0a0a0f 100%
    );
  }
  .main-hero__content {
    padding-top: 173px;
  }
  .main-hero__title {
    width: 100%;
    max-width: 100%;
    padding: 0;
    font-size: 24px;
    line-height: 26px;
    font-weight: 600;
    letter-spacing: 0.1px;
    margin-bottom: 14px;
    text-align: center;
    white-space: normal;
  }
  .main-hero__title br { display: block; }

  .main-hero__subtitle {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 10px;
    font-family: Inter, sans-serif;
    font-size: 12px;
    line-height: 100%;
    font-weight: 400;
    letter-spacing: 0.2px;
    margin-bottom: 24px;
    text-align: center;
  }
  .main-hero__subtitle br { display: none; }
  .main-hero__subtitle span { display: inline; }
  .main-hero__subtitle-extra { display: inline; }

  .main-hero__cta {
    width: 100%;
    max-width: 100%;
    height: 34px;
    padding: 0 32px;
    font-size: 12px;
    border-radius: 6px;
  }

  .main-hero__note {
    width: auto;
    height: auto;
    margin-top: 21px;
    color: rgba(255, 255, 255, 0.42);
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.2px;
    text-align: center;
  }

  /* ===== SPACING BETWEEN BLOCKS ===== */
  .team-section,
  .chat-section,
  .integ-section,
  .external-block,
  .final-hero {
    margin-top: 96px;
  }

  .hero--primary {
    margin-top: 120px;
  }

  /* ===== HERO --PRIMARY (Ivan, restructured) ===== */
  .hero {
    width: 100%;
    border: none;
    background: transparent;
  }

  .hero--primary .hero-grid {
    display: block;
    width: 100%;
    grid-template-columns: none;
    grid-template-rows: none;
  }

  .hero--primary .top-intro {
    display: flex;
    width: 100%;
    min-height: 75px;
    height: auto;
    padding: 14px 16px;
    align-items: center;
    gap: 10px;
    border: 0.2px solid #fff;
    margin: 0;
    color: #929292;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 1.5px;
    text-transform: none;
  }

  .hero--primary .left-column {
    border: none;
    display: block;
    grid-template-rows: none;
  }

  .hero--primary .lead-box {
    display: none;
  }

  .hero--primary .hero-offer-mobile {
    display: flex;
    width: 100%;
    min-height: 0;
    padding: 17px 16px;
    align-items: center;
    gap: 10px;
    border: 0.2px solid #fff;
    border-top: none;
    margin: 0;
  }
  .hero--primary .hero-offer-mobile p {
    margin: 0;
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
  }

  .hero--primary .about-box {
    width: 100%;
    min-height: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border: 0.2px solid #fff;
    border-top: none;
    margin: 0;
  }
  .final-hero {
    margin-top: 120px;
  }
  .hero--primary .about-box p {
    font-family: Inter, sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 12.1px;
    letter-spacing: 0.2px;
    color: #9c9c9d;
  }
  .hero--primary .about-box p br { display: inline; }

  .hero--primary .about-box__btn {
    display: none;
  }

  .hero--primary .image-box {
    display: flex;
    width: 100%;
    height: 220px;
    padding-top: 10px;
    justify-content: center;
    align-items: flex-end;
    gap: 8.684px;
    border: 0.2px solid #fff;
    border-top: none;
    background-size: 52% auto;
    background-position: center 64%;
    background-repeat: no-repeat;
  }

  .hero--primary .hero-bottom {
    display: none;
  }

  /* Right rail: Суперспособности + slider */
  .hero--primary .right-rail {
    grid-column: auto;
    grid-row: auto;
    border-left: none;
    display: block;
    margin-top: 16px;
  }

  .hero--primary .top-abilities {
    margin: 0 0 16px;
    padding: 0;
    border: none;
    color: #9c9c9d;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 22.4px;
    letter-spacing: 0.3px;
  }

  .hero--primary .abilities {
    margin: 0 -16px;
    padding: 0;
    margin-left: 0px;
  }

  .hero--primary .anim-acc {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: visible;
    touch-action: auto;
    overscroll-behavior-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 4px 16px;
    width: 100%;
    height: auto;
    border: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .hero--primary .anim-acc::-webkit-scrollbar {
    display: none;
  }

  .hero--primary .anim-acc__item {
    flex: 0 0 307px;
    width: 307px;
    min-height: 180px;
    border: 0.179px solid #fff;
    background: #0C1018;
    box-shadow: 0 0 16.4px 0 rgba(157, 157, 157, 0.45);
    padding: 16px;
    position: relative;
    scroll-snap-align: start;
  }

  .hero--primary .anim-acc__item .anim-acc__row {
    display: block;
    margin-bottom: 16px;
    background: transparent;
    box-shadow: none;
  }
  .hero--primary .anim-acc__item .anim-acc__row:hover {
    background: transparent;
    box-shadow: none;
  }

  .hero--primary .anim-acc__item .anim-acc__main {
    display: contents;
  }

  .hero--primary .anim-acc__item .anim-acc__icon-btn {
    display: none;
  }

  .hero--primary .anim-acc__item .anim-acc__panel-wrap,
  .hero--primary .anim-acc__item.is-open .anim-acc__panel-wrap {
    display: block;
    grid-template-rows: none;
    opacity: 1;
    overflow: visible;
  }

  .hero--primary .anim-acc__item .anim-acc__panel-inner {
    overflow: visible;
  }

  .hero--primary .anim-acc__item .anim-acc__text {
    margin: 0;
    padding: 0;
    color: #9C9C9D;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0.179px;
  }

  .hero--primary .anim-acc__item .anim-acc__header {
    position: static;
    width: auto;
    min-height: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
  }

  .hero--primary .anim-acc__item .anim-acc__title {
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 12px;
    padding-bottom: 32px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.179px;
  }

  
  .hero-stats-mobile__label {
    display: flex;
    width: 100%;
    padding: 16px;
    align-items: center;
    gap: 10px;
    border: 0.2px solid #fff;
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
  }
  .hero-stats-mobile__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 0;
  }
  .hero-stats-mobile__item {
    min-height: 56px;
    height: auto;
    border: 0.2px solid #fff;
    border-top: none;
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
  }
  .hero-stats-mobile__item:nth-child(2n) {
    border-right: 0.2px solid #fff;
  }
  .hero-stats-mobile__item span {
    color: #9C9C9D;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0.15px;
  }

  /* ===== Agents section (tap-expand) ===== */
  .hero--agents .hero-grid {
    display: block;
    grid-template-columns: none;
    grid-template-rows: none;
  }
  .hero--agents .top-intro {
    width: 100%;
    border: 0.2px solid #fff;
  }
  .hero--agents .left-column {
    display: flex;
    flex-direction: column;
    border: none;
  }
  .hero--agents .lead-box--switcher,
  .hero--agents .about-box--switcher {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 16px;
    height: auto;
    border: 0.2px solid #fff;
    border-top: none;
  }
  .hero--agents .agent-switcher {
    font-size: 20px;
    line-height: 110%;
    text-align: left;
  }
  .hero--agents .agent-switcher br { display: none; }

  .hero--agents .lead-box--switcher .agent-detail-btn,
  .hero--agents .about-box--switcher .agent-detail-btn {
    display: none;
  }

  .hero--agents .image-box--agents {
    display: none;
  }
  .hero--agents .right-rail {
    display: none;
  }

  /* Default: collapsed state — expansions hidden until user taps */
  .agent-mobile-expand {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    margin-top: 0;
    border-top: 0.2px solid rgba(255, 255, 255, 0.38);
  }

  .hero--agents.is-mobile-activated[data-active-agent="analyst"]
    .lead-box--switcher .agent-mobile-expand,
  .hero--agents.is-mobile-activated[data-active-agent="assistant"]
    .about-box--switcher .agent-mobile-expand {
    display: flex;
  }

  .agent-mobile-expand__photo {
    width: 100%;
    height: 300px;
    background-color: #0c1018;
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
  }
  [data-agent-mobile="analyst"] .agent-mobile-expand__photo {
    background-image: url("../img/2block/analytic.png");
  }
  [data-agent-mobile="assistant"] .agent-mobile-expand__photo {
    background-image: url("../img/2block/assistennt.png");
  }

  .agent-mobile-expand__title {
    margin: 0;
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0.3px;
  }
  .agent-mobile-expand__text {
    margin: 0;
    color: #9C9C9D;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0.3px;
  }
  .agent-mobile-expand__btn {
    display: inline-flex;
    align-self: flex-start;
    min-height: 36px;
    padding: 10px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: 0.5px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0.2px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
  }
  .agent-mobile-expand__btn:hover,
  .agent-mobile-expand__btn:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
  }

  /* ===== team / chat / integ / final / footer ===== */
  .team-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }
  .team-title {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: 22px;
    line-height: 26px;
    min-height: 0;
    padding-bottom: 14px;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  .team-text {
    padding-bottom: 28px;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .team-text {
    margin: 0;
    color: #9c9c9d;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
  }
  .chat-section .team-kicker,
  .chat-section .team-title,
  .chat-section .team-text {
    text-align: center;
  }
  .chat-mobile-break {
    display: inline;
  }

  .chat-preview {
    width: 100%;
    height: auto;
    aspect-ratio: 343/420;
    min-height: 360px;
    touch-action: pan-y pinch-zoom;
  }

  .chat-section {
    touch-action: pan-y pinch-zoom;
  }

  .anim-integ__caption--desktop,
  .anim-integ__description--desktop {
    display: none;
  }
  .anim-integ__caption--mobile {
    display: block;
  }
  .anim-integ__description--mobile {
    display: block;
  }

  .anim-integ__caption {
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: normal;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.80) 0%,
      #fff 49.71%,
      rgba(255, 255, 255, 0.81) 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .anim-integ__description {
    text-align: center;
    color: #fff;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 22.4px;
    letter-spacing: 0.2px;
  }

  .anim-integ__button {
    width: 100%;
    max-width: 100%;
  }
  .anim-integ__strip {
    gap: 16px;
    padding-right: 16px;
  }
  .anim-integ__viewport {
    touch-action: pan-y pinch-zoom;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 36px;
    padding: 24px 0 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.35) 6%,
      #000 18%,
      #000 82%,
      rgba(0, 0, 0, 0.35) 94%,
      rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.35) 6%,
      #000 18%,
      #000 82%,
      rgba(0, 0, 0, 0.35) 94%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .anim-integ__track,
  .anim-integ__strip,
  .anim-integ__chip {
    pointer-events: none;
  }

  .anim-integ__track {
    will-change: transform;
  }

  .anim-integ__track--left {
    animation: anim-integ-marquee-left 58s linear infinite;
  }

  .anim-integ__track--right {
    animation: anim-integ-marquee-right 64s linear infinite;
  }

  .anim-integ__track--slow {
    animation-duration: 72s;
  }

  .anim-integ__strip {
    gap: 16px;
    padding-right: 16px;
  }

  .anim-integ__logo {
    min-width: 72px;
    width: 72px;
    height: 72px;
    padding: 0;
    border-radius: 20px;
    transform: translate(-50%, -50%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: linear-gradient(180deg, #162035 0%, #111729 52%, #160c22 100%);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.12),
      0 0 36px rgba(80, 120, 255, 0.16);
  }

  .anim-integ__logo::before,
  .anim-integ__logo::after {
    display: none;
  }

  .anim-integ__logo-text {
    display: none;
  }

  .integ-section {
    position: relative;
    isolation: auto;
  }
  .external-block {
    width: 100%;
    height: auto;
    min-height: 0;
    display: block;
    overflow: visible;
    margin-bottom: 0;
  }

  .final-hero {
    width: 100%;
    min-height: 360px;
    overflow: visible;
    isolation: isolate;
    background: transparent;
  }
  .final-hero::before {
    top: -53px;
    left: -16px;
    right: -16px;
    bottom: -107px;
    background-color: #0b122400;
    background-image:
      radial-gradient(1.8px 1.8px at 14% 22%, #6ed0ff 60%, transparent 100%),
      radial-gradient(1.4px 1.4px at 18% 26%, #6ed0ff 60%, transparent 100%),
      radial-gradient(1.2px 1.2px at 22% 24%, #6ed0ff 60%, transparent 100%),
      radial-gradient(1.8px 1.8px at 82% 78%, #6ed0ff 60%, transparent 100%),
      radial-gradient(1.4px 1.4px at 86% 82%, #6ed0ff 60%, transparent 100%),
      radial-gradient(1.2px 1.2px at 88% 80%, #6ed0ff 60%, transparent 100%),
      radial-gradient(ellipse at 50% 60%, rgba(57, 96, 191, 0.32) 0%, rgba(57, 96, 191, 0.14) 40%, transparent 75%),
      linear-gradient(rgba(31, 29, 29, 0.315) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size:
      100% 100%, 100% 100%, 100% 100%,
      100% 100%, 100% 100%, 100% 100%,
      100% 100%,
      120px 120px, 120px 120px;
    background-position: 0 0;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.72) 10%,
      #000 18%,
      #000 72%,
      rgba(0, 0, 0, 0.72) 86%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.72) 10%,
      #000 18%,
      #000 72%,
      rgba(0, 0, 0, 0.72) 86%,
      transparent 100%
    );
    filter: none;
    transform: none;
    transform-origin: center center;
    z-index: 0;
  }
  .final-hero::after {
    content: none;
    display: none;
  }
  .final-hero__content {
    position: relative;
    min-height: 360px;
  }
  .final-hero__content::before,
  .final-hero__content::after {
    content: none;
    display: none;
  }
  .final-hero__content > * {
    position: relative;
    z-index: 2;
  }
  .final-hero__title {
    font-size: 28px;
    line-height: 1.1;
  }
  .final-hero__subtitle {
    font-size: 14px;
  }
  .final-hero__note {
    font-size: 12px;
  }
  .final-hero__subtitle--tablet {
    display: block;
  }

  /* Mobile alignment overrides to match the SVG */
  .hero--agents {
    display: none;
  }

  .team-tablet {
    display: block;
    width: 100%;
    border: 0.2px solid rgba(255, 255, 255, 0.75);
    background: #0c1018;
  }

  .team-tablet__head,
  .team-tablet__row {
    display: flex;
    align-items: center;
    min-height: 49px;
    padding: 0 12px;
    border-bottom: 0.2px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
  }

  .team-tablet__head {
    background: #0c1018;
    box-shadow: none;
  }

  .team-tablet__active {
    display: flex;
    flex-direction: column;
    border-bottom: 0.2px solid rgba(255, 255, 255, 0.24);
  }

  .team-tablet__photo {
    order: 1;
    height: 280px;
    border-top: 0.2px solid rgba(255, 255, 255, 0.24);
    border-bottom: 0.2px solid rgba(255, 255, 255, 0.24);
    background:
      radial-gradient(circle, rgba(255, 255, 255, 0) 1px, transparent 1.4px) 0 0 / 12px 12px,
      radial-gradient(circle at center, rgba(31, 50, 94, 0.18), rgba(10, 10, 15, 0) 66%),
      url("../img/mock1024/image1_651_37126.png") center 20px / 270px auto no-repeat,
      #0c1018;
  }

  .team-tablet__metrics {
    order: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 50px;
    border-top: none;
  }

  .team-tablet__metrics span {
    min-width: 0;
    padding: 17px 8px;
    border-right: 0.2px solid rgba(255, 255, 255, 0.24);
    color: #9c9c9d;
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 0.15px;
    text-align: center;
  }

  .team-tablet__metrics span:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
    border-right: none;
  }

  .team-tablet__metrics span:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }

  .team-tablet__copy {
    order: 3;
    padding: 16px 12px 20px;
    border-right: none;
  }

  .team-tablet__number {
    display: none;
  }

  .team-tablet__role {
    margin: 0 0 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 18px;
  }

  .team-tablet__text {
    max-width: none;
    color: #9c9c9d;
    font-size: 12px;
    font-weight: 500;
    line-height: 110%;
  }

  .team-tablet__button {
    width: auto;
    min-width: 108px;
    height: 36px;
    margin-top: 16px;
    padding: 0 20px;
    border-radius: 8px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      0 8px 18px rgba(255, 255, 255, 0.12);
  }

  .team-tablet__row:last-child {
    border-bottom: none;
  }

  .anim-integ__logo {
    min-width: 72px;
    width: 100px;
    height: 72px;
    padding: 0;
    border-radius: 20px;
    transform: translate(-50%, -50%);
  }

  .anim-integ__logo-text {
    display: contents;
  }
}



@media (max-width: 430px) {
  :root {
    --hero-mobile-bg-x: -88px;
    --hero-mobile-bg-y: 12px;
    --final-hero-mobile-bg-x: -88px;
    --final-hero-mobile-bg-y: 100px;
  }
}
@media (max-width: 414px) {
  :root {
    --hero-mobile-bg-x: -84px;
    --hero-mobile-bg-y: 18px;
    --final-hero-mobile-bg-x: -88px;
    --final-hero-mobile-bg-y: 100px;
  }
}
@media (max-width: 390px) {
  :root {
    --hero-mobile-bg-x: -80px;
    --hero-mobile-bg-y: 29px;
    --final-hero-mobile-bg-x: -76px;
    --final-hero-mobile-bg-y: 100px;
  }
}
@media (max-width: 375px) {
  :root {
    --hero-mobile-bg-x: -76px;
    --hero-mobile-bg-y: 40px;
    --final-hero-mobile-bg-x: -76px;
    --final-hero-mobile-bg-y: 100px;
  }
}

/* Final shared header/footer from comparison mockup */
.main-header__link[aria-current="page"] {
  color: #f2f2f3;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.32);
}

.main-header__cta {
  text-decoration: none;
}

@media (min-width: 768px) {
  body .main-header,
  .main-header {
    width: min(1204px, calc(100% - 40px));
    height: 76px;
    max-width: 1204px;
    padding: 16px 15px 16px 32px;
    align-items: flex-start;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 10, 15, 0.88);
    box-shadow: inset 0 1px 1px 1px rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    top: 24px;
  }

  .main-header__logo {
    font-size: 30px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: 0.3px;
    text-decoration: none;
    text-transform: none;
  }

  .main-header__nav {
    gap: 32px;
    height: 100%;
    align-items: center;
    padding-top: 0;
  }

  .main-header__cta {
    width: 177px;
    height: 44px;
  }

}

@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: #0c1018;
  }

  .page {
    width: 100%;
    max-width: 100%;
    padding: 104px 16px 0;
    box-sizing: border-box;
  }

  body .main-header,
  .main-header {
    position: fixed;
    top: 32px;
    left: 16px;
    right: 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 58px auto auto;
    width: auto;
    max-width: none;
    height: 58px;
    min-height: 58px;
    padding: 0 16px;
    align-items: center;
    align-content: start;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: #090b12;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.38);
    backdrop-filter: none;
    transform: none;
  }

  body .main-header__logo,
  .main-header__logo {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 22px;
    letter-spacing: 0.2px;
    text-decoration: none;
    text-transform: none;
  }

  body .main-header__burger,
  .main-header__burger {
    position: static;
    z-index: auto;
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    width: 24px;
    height: 19px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  body .main-header__burger svg,
  .main-header__burger svg {
    display: block;
    width: 24px;
    height: 19px;
  }

  body .main-header__nav,
  .main-header__nav {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease;
  }

  body .main-header__link,
  .main-header__link {
    display: block;
    padding: 6px 0;
    color: #fff;
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    opacity: 0.92;
  }

  body .main-header__cta,
  .main-header__cta {
    grid-column: 1 / -1;
    display: inline-flex;
    width: 100%;
    max-width: 100%;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease;
  }

  .main-header.is-open {
    height: auto;
    padding: 0 12px 12px;
    row-gap: 10px;
    overflow: visible;
  }

  .main-header.is-open .main-header__nav {
    max-height: 260px;
    padding: 10px 16px 0;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-header.is-open .main-header__cta {
    max-height: 44px;
    margin-top: 2px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-hero {
    width: 100%;
    min-height: 327px;
    padding-top: 0;
    overflow: visible;
    isolation: isolate;
  }

  .main-hero::before {
    top: -104px;
    left: -16px;
    right: -16px;
    bottom: -224px;
    background:
      url("../img/hero/heromobile/vector.svg") center 0 / 100% 328px no-repeat,
      radial-gradient(ellipse at 50% 78%, rgba(55, 86, 180, 0.58) 0%, rgba(30, 49, 105, 0.4) 36%, rgba(12, 16, 24, 0) 72%),
      url("../img/hero/heromobile/hero_mobile.png") var(--hero-mobile-bg-x) var(--hero-mobile-bg-y) / 136% auto no-repeat;
    -webkit-mask-image: none;
    mask-image: none;
    filter: none;
  }

  .main-hero::after {
    left: -16px;
    right: -16px;
    bottom: -224px;
    height: 220px;
    background: linear-gradient(180deg, rgba(12, 16, 24, 0) 0%, rgba(12, 16, 24, 0.24) 46%, #0c1018 100%);
  }

  .main-hero__content {
    width: 100%;
    padding-top: 143px;
    align-items: center;
  }

  .main-hero__title {
    width: 100%;
    max-width: 343px;
    margin: 0 auto 14px;
    padding: 0;
    font-size: 24px;
    line-height: 26px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    overflow-wrap: normal;
  }

  .main-hero__subtitle {
    width: 100%;
    max-width: 343px;
    margin: 0 auto 28px;
    padding: 0;
    font-size: 12px;
    line-height: 14px;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-align: center;
  }

  .main-hero__cta {
    width: 100%;
    max-width: 343px;
    height: 36px;
    min-height: 36px;
    margin: 0 auto;
    padding: 0 24px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 14px;
  }

  .main-hero__note {
    width: 100%;
    max-width: 343px;
    margin: 21px auto 0;
    color: rgba(255, 255, 255, 0.42);
    font-weight: 300;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.2px;
    text-align: center;
  }

  .hero--primary {
    margin-top: 204px;
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 767px) {
  .page {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    overflow-x: hidden;
  }

  body .main-header,
  .main-header {
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
  }

  .main-hero,
  .main-hero__content {
    width: 100%;
    max-width: 100%;
  }

  .main-hero::before {
    left: -16px;
    right: auto;
    width: 100vw;
  }

  .main-hero::after {
    left: -16px;
    right: auto;
    width: 100vw;
  }
}

.main-header { display: flex; width: 1204px; height: 76px; max-width: 1204px; padding: 16px 15px 16px 32px; justify-content: space-between; align-items: flex-start; border-radius: 16px; border: 1px solid rgba(255,255,255,.06); background: #0a0a0f; box-shadow: inset 0 1px 1px 1px rgba(255,255,255,.15); backdrop-filter: blur(2.5px); position: fixed; top: 24px; left: 0; right: 0; margin-left: auto; margin-right: auto; transform: none; z-index: 1000; }

.main-header__cta,
.big-button {
  display: inline-flex;
  min-height: 44px;
  padding: 14px 32px;
  width: 193px;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: #e6e6e6;
  color: #2f3031;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 26px rgba(255, 255, 255, 0.08);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease;
}

/* FIX DESKTOP FOOTER ONLY */
@media (min-width: 1181px) {
  .page {
    width: 1204px !important;
    max-width: 1204px !important;
    margin: 0 auto !important;
    padding-top: 92px !important;
    display: block !important;
  }

  .final-hero {
    margin-bottom: 520px !important;
  }
}

/* FIX HEADER: tablet + mobile как на integrations */

/* TABLET */
@media (min-width: 768px) and (max-width: 1100px) {
  body .main-header,
  .main-header {
    position: fixed !important;
    top: 32px !important;
    left: 50% !important;
    right: auto !important;

    width: min(769px, calc(100vw - 32px)) !important;
    max-width: min(769px, calc(100vw - 32px)) !important;

    height: 58px !important;
    min-height: 58px !important;

    margin: 0 !important;
    padding: 0 18px !important;

    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: 58px auto auto !important;

    align-items: center !important;
    align-content: start !important;
    justify-content: stretch !important;

    transform: translateX(-50%) !important;

    overflow: hidden !important;
    row-gap: 0 !important;

    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: #090b12 !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 10px 30px rgba(0, 0, 0, 0.38) !important;
    backdrop-filter: none !important;

    z-index: 1000 !important;
  }

  body .main-header__logo,
  .main-header__logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;

    color: #fff !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 22px !important;
    letter-spacing: 0.2px !important;
    text-transform: none !important;
    text-decoration: none !important;
  }

  body .main-header__burger,
  .main-header__burger {
    display: inline-flex !important;
    grid-column: 2 !important;
    grid-row: 1 !important;

    width: 24px !important;
    height: 19px !important;
    padding: 0 !important;

    align-items: center !important;
    justify-content: center !important;

    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    cursor: pointer !important;
  }

  body .main-header__burger svg,
  .main-header__burger svg {
    display: block !important;
    width: 24px !important;
    height: 19px !important;
  }

  body .main-header__nav,
  .main-header__nav {
    grid-column: 1 / -1 !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;

    width: 100% !important;
    height: auto !important;
    max-height: 0 !important;

    padding: 0 !important;
    overflow: hidden !important;

    opacity: 0 !important;
    transform: translateY(-8px) !important;
    pointer-events: none !important;

    transition:
      max-height 260ms ease,
      opacity 220ms ease,
      transform 220ms ease !important;
  }

  body .main-header__link,
  .main-header__link {
    display: block !important;
    padding: 6px 0 !important;

    color: #fff !important;
    font-size: 14px !important;
    line-height: 24px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-decoration: none !important;

    opacity: 0.92 !important;
  }

  body .main-header__cta,
  .main-header__cta {
    grid-column: 1 / -1 !important;

    display: inline-flex !important;
    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    max-height: 0 !important;
    min-height: 0 !important;

    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;

    overflow: hidden !important;
    opacity: 0 !important;
    transform: translateY(-8px) !important;
    pointer-events: none !important;

    transition:
      max-height 260ms ease,
      min-height 260ms ease,
      padding 260ms ease,
      opacity 220ms ease,
      transform 220ms ease !important;
  }

  body .main-header.is-open,
  .main-header.is-open {
    height: auto !important;
    min-height: 58px !important;
    padding: 0 18px 12px !important;
    row-gap: 8px !important;
    overflow: visible !important;
  }

  body .main-header.is-open .main-header__nav,
  .main-header.is-open .main-header__nav {
    max-height: 260px !important;
    padding: 10px 16px 0 !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  body .main-header.is-open .main-header__cta,
  .main-header.is-open .main-header__cta {
    max-height: 44px !important;
    min-height: 44px !important;
    margin-top: 2px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }
}

/* MOBILE */
@media (max-width: 767px) {
  body .main-header,
  .main-header {
    position: fixed !important;
    top: 32px !important;
    left: 16px !important;
    right: 16px !important;

    width: auto !important;
    max-width: none !important;

    height: 58px !important;
    min-height: 58px !important;

    margin: 0 !important;
    padding: 0 16px !important;

    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: 58px auto auto !important;

    align-items: center !important;
    align-content: start !important;
    justify-content: stretch !important;

    transform: none !important;

    overflow: hidden !important;
    row-gap: 0 !important;

    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: #090b12 !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 10px 30px rgba(0, 0, 0, 0.38) !important;
    backdrop-filter: none !important;

    z-index: 1000 !important;
  }

  body .main-header__logo,
  .main-header__logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;

    color: #fff !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 22px !important;
    letter-spacing: 0.2px !important;
    text-transform: none !important;
    text-decoration: none !important;
  }

  body .main-header__burger,
  .main-header__burger {
    display: inline-flex !important;
    grid-column: 2 !important;
    grid-row: 1 !important;

    width: 24px !important;
    height: 19px !important;
    padding: 0 !important;

    align-items: center !important;
    justify-content: center !important;

    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    cursor: pointer !important;
  }

  body .main-header__burger svg,
  .main-header__burger svg {
    display: block !important;
    width: 24px !important;
    height: 19px !important;
  }

  body .main-header__nav,
  .main-header__nav {
    grid-column: 1 / -1 !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;

    width: 100% !important;
    height: auto !important;
    max-height: 0 !important;

    padding: 0 !important;
    overflow: hidden !important;

    opacity: 0 !important;
    transform: translateY(-8px) !important;
    pointer-events: none !important;
  }

  body .main-header__cta,
  .main-header__cta {
    grid-column: 1 / -1 !important;

    width: 100% !important;
    max-width: 100% !important;

    max-height: 0 !important;
    min-height: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;

    overflow: hidden !important;
    opacity: 0 !important;
    transform: translateY(-8px) !important;
    pointer-events: none !important;
  }

  body .main-header.is-open,
  .main-header.is-open {
    height: auto !important;
    padding: 0 16px 12px !important;
    row-gap: 8px !important;
    overflow: visible !important;
  }

  body .main-header.is-open .main-header__nav,
  .main-header.is-open .main-header__nav {
    max-height: 260px !important;
    padding: 10px 16px 0 !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  body .main-header.is-open .main-header__cta,
  .main-header.is-open .main-header__cta {
    max-height: 44px !important;
    min-height: 44px !important;
    margin-top: 2px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }
}
/* ===== IMPORTED AGENTS BLOCK FROM DESKTOP SOURCE ===== */
.team-section {
  width: 100%;
  margin: 80px auto;
}

.team-section > .team-title {
  display: flex;
  width: 100%;
  min-height: 113px;
  margin: 0;
  padding-bottom: 16px;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  font-size: 56px;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: 0.2px;
}

.team-section > .team-text {
  max-width: 760px;
  margin: 0;
  padding-bottom: 64px;
  color: #9c9c9d;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
}

@media (min-width: 1025px) {
  .team-title {
    text-align: center;
    align-items: center;
    transform: translateX(0);
  }

  .team-text {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    transform: translateX(0);
  }
}

.team-section > .hero--agents {
  display: block;
  visibility: visible;
  width: 100%;
  background: #0a0a0f;
  border: 0.2px solid rgba(255, 255, 255, 0.38);
}

.hero--agents .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 406fr) minmax(0, 395fr) minmax(0, 401fr);
  grid-template-rows: 54px minmax(524px, auto);
}

.hero--agents .top-intro {
  grid-column: 1 / 3;
  grid-row: 1;
  margin: 0;
  padding: 18px 24px;
  border-bottom: 0.2px solid rgba(255, 255, 255, 0.38);
  color: #929292;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 3px;
}

.hero--agents .left-column {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-rows: 1fr 1fr;
  border-right: 0.2px solid rgba(255, 255, 255, 0.38);
}

.hero--agents .lead-box--switcher,
.hero--agents .about-box--switcher {
  display: flex;
  min-height: 262px;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.hero--agents .lead-box--switcher {
  border-bottom: 0.2px solid rgba(255, 255, 255, 0.38);
}

.hero--agents .agent-switcher {
  all: unset;
  display: inline-block;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.28);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.12;
  text-align: left;
  transition: color 260ms ease, text-shadow 260ms ease;
}

.hero--agents .agent-switcher:hover,
.hero--agents .agent-switcher:focus-visible {
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 4px 22px rgba(255, 255, 255, 0.16);
  outline: none;
}

.hero--agents[data-active-agent="analyst"] .agent-switcher[data-agent-tab="analyst"],
.hero--agents[data-active-agent="assistant"] .agent-switcher[data-agent-tab="assistant"] {
  color: #fff;
  cursor: default;
  text-shadow: 0 4px 24px rgba(255, 255, 255, 0.06);
}

.hero--agents .agent-detail-btn,
.hero--agents .agent-mobile-expand__btn {
  display: inline-flex;
  min-height: 36px;
  padding: 10px 24px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.2px;
  cursor: pointer;
  text-align: center;
  transition: transform 160ms ease, box-shadow 220ms ease, background-color 200ms ease, border-color 200ms ease;
}

.hero--agents .agent-detail-btn:hover,
.hero--agents .agent-detail-btn:focus-visible,
.hero--agents .agent-mobile-expand__btn:hover,
.hero--agents .agent-mobile-expand__btn:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  outline: none;
}

.hero--agents .image-box--agents {
  grid-column: 2;
  grid-row: 2;
  min-height: 524px;
  background-color: #0a0a0f;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  transition: background-image 400ms ease;
}

.hero--agents[data-active-agent="analyst"] .image-box--agents {
  background-image: url("../img/2block/analytic.png");
}

.hero--agents[data-active-agent="assistant"] .image-box--agents {
  background-image: url("../img/2block/assistennt.png");
}

.hero--agents .right-rail {
  grid-column: 3;
  grid-row: 1 / 3;
  display: grid;
  grid-template-rows: 54px auto;
  border-left: 0.2px solid rgba(255, 255, 255, 0.38);
}

.hero--agents .top-abilities {
  margin: 0;
  padding: 18px 24px;
  border-bottom: 0.2px solid rgba(255, 255, 255, 0.38);
  color: #9c9c9d;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.hero--agents .anim-acc {
  width: 100%;
  height: 100%;
  font-size: 16px;
}

.hero--agents .anim-acc__item {
  border-bottom: 0.2px solid rgba(255, 255, 255, 0.38);
}

.hero--agents .anim-acc__item:last-child {
  border-bottom: none;
}

.hero--agents .anim-acc__row {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: flex-start;
  transition: box-shadow 0.22s ease, background-color 0.22s ease;
}

.hero--agents .anim-acc__row:hover {
  background-color: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42), 0 0 12px rgba(255, 255, 255, 0.2);
}

.hero--agents .anim-acc__main {
  flex: 1;
  min-width: 0;
}

.hero--agents .anim-acc__header {
  display: flex;
  width: 100%;
  min-height: 68px;
  padding: 16px 24px;
  align-items: center;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.hero--agents .anim-acc__title {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.2px;
}

.hero--agents .anim-acc__panel-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.hero--agents .anim-acc__item.is-open .anim-acc__panel-wrap {
  grid-template-rows: 1fr;
  opacity: 1;
}

.hero--agents .anim-acc__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.hero--agents .anim-acc__text {
  margin: 0;
  padding: 0 24px 16px;
  color: #9c9c9d;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.2px;
}

.hero--agents .anim-acc__icon-btn {
  display: flex;
  flex-shrink: 0;
  width: 68px;
  min-height: 68px;
  align-self: stretch;
  padding: 23px;
  align-items: center;
  justify-content: center;
  border: none;
  border-left: 0.2px solid rgba(255, 255, 255, 0.38);
  background: transparent;
  cursor: pointer;
}

.hero--agents .agent-mobile-expand,
.hero--agents .mobile-abilities {
  display: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .team-section > .team-tablet,
  .team-tablet {
    display: none !important;
    visibility: hidden !important;
  }

  .hero--agents .image-box--agents {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 524px;
    background-image: none !important;
    background-color: #0a0a0f;
    background-position: center calc(100% - 302px);
    background-size: min(100%, 306px) auto;
  }

  .hero--agents[data-active-agent="analyst"] .image-box--agents {
    --agent-photo: url("../img/2block/analytic.png");
  }

  .hero--agents[data-active-agent="assistant"] .image-box--agents {
    --agent-photo: url("../img/2block/assistennt.png");
  }

  .hero--agents .image-box--agents::before,
  .hero--agents .image-box--agents::after {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    pointer-events: none;
  }

  .hero--agents .image-box--agents::before {
    z-index: 0;
    background-image: var(--agent-photo);
    background-position: center calc(100% - 302px);
    background-size: min(112%, 340px) auto;
    filter: blur(18px);
    opacity: 0.52;
    transform: scale(1.03);
  }

  .hero--agents .image-box--agents::after {
    z-index: 1;
    background-image: var(--agent-photo);
    background-position: center calc(100% - 302px);
    background-size: min(100%, 306px) auto;
  }
}

@media (max-width: 767px) {
  .team-section {
    margin: 64px auto 0;
  }

  .team-section > .team-title {
    min-height: 0;
    padding-bottom: 16px;
    font-size: 28px;
    line-height: 1.12;
  }

  .team-section > .team-text {
    padding-bottom: 32px;
    font-size: 12px;
    line-height: 22.4px;
  }

  .team-section > .hero--agents {
    display: block;
    visibility: visible;
    width: 100%;
    border: none;
    background: transparent;
  }

  .hero--agents .hero-grid {
    display: block;
  }

  .hero--agents .top-intro {
    width: 100%;
    margin: 0;
    padding: 23px 16px;
    border: 0.2px solid #fff;
  }

  .hero--agents .left-column {
    display: block;
    border: none;
  }

  .hero--agents .lead-box--switcher,
  .hero--agents .about-box--switcher {
    width: 100%;
    min-height: 0;
    padding: 16px;
    align-items: stretch;
    gap: 16px;
    border: 0.2px solid #fff;
    border-top: none;
    scroll-margin-top: 112px;
  }

  .hero--agents .agent-switcher {
    font-size: 20px;
    line-height: 110%;
  }

  .hero--agents .agent-switcher br {
    display: inline !important;
  }

  .hero--agents .agent-detail-btn,
  .hero--agents .image-box--agents,
  .hero--agents .right-rail {
    display: none;
  }

  .hero--agents .agent-mobile-expand {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 0.2px solid rgba(255, 255, 255, 0.38);
    scroll-margin-top: 112px;
  }

  .hero--agents.is-mobile-activated[data-active-agent="analyst"] .lead-box--switcher .agent-mobile-expand,
  .hero--agents.is-mobile-activated[data-active-agent="assistant"] .about-box--switcher .agent-mobile-expand {
    display: flex;
  }

  .hero--agents[data-active-agent="analyst"] .lead-box--switcher {
    order: 1;
  }

  .hero--agents[data-active-agent="analyst"] .about-box--switcher {
    order: 2;
  }

  .hero--agents[data-active-agent="assistant"] .about-box--switcher {
    order: 1;
  }

  .hero--agents[data-active-agent="assistant"] .lead-box--switcher {
    order: 2;
  }

  .hero--agents .agent-mobile-expand__photo {
    width: 100%;
    height: clamp(300px, 54vw, 430px);
    background-color: #0c1018;
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .hero--agents [data-agent-mobile="analyst"] .agent-mobile-expand__photo {
    background-image: url("../img/2block/analytic.png");
  }

  .hero--agents [data-agent-mobile="assistant"] .agent-mobile-expand__photo {
    background-image: url("../img/2block/assistennt.png");
  }

  .hero--agents .agent-mobile-expand__title {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0.3px;
  }

  .hero--agents .agent-mobile-expand__text {
    margin: 0;
    color: #9c9c9d;
    font-size: 12px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0.3px;
  }

  .hero--agents .agent-mobile-expand__btn {
    align-self: flex-start;
  }

  .hero--agents .mobile-abilities {
    display: block;
    width: calc(100% + 32px);
    margin: 4px -16px -16px;
  }

  .hero--agents .mobile-abilities .top-abilities {
    width: 100%;
    margin: 0;
    padding: 18px 24px;
    border-top: 0.2px solid #fff;
    border-right: none;
    border-bottom: 0.2px solid rgba(255, 255, 255, 0.38);
    border-left: none;
    color: #9c9c9d;
    background: transparent;
  }

  .hero--agents .mobile-abilities .anim-acc {
    width: 100%;
    height: auto;
    border-top: none;
    border-right: none;
    border-bottom: 0.2px solid #fff;
    border-left: none;
    background: transparent;
  }

  .hero--agents .mobile-abilities .anim-acc__item {
    border-bottom: 0.2px solid rgba(255, 255, 255, 0.38);
  }

  .hero--agents .mobile-abilities .anim-acc__item:has(+ .anim-acc__item.is-open) {
    border-bottom: none;
  }

  .hero--agents .mobile-abilities .anim-acc__header {
    min-height: 64px;
    padding: 16px 22px;
  }

  .hero--agents .mobile-abilities .anim-acc__title {
    font-size: 12px;
    line-height: 120%;
  }

  .hero--agents .mobile-abilities .anim-acc__text {
    padding: 0 22px 14px;
    font-size: 12px;
    line-height: 120%;
  }

  .hero--agents .mobile-abilities .anim-acc__icon-btn {
    width: 64px;
    min-height: 64px;
    padding: 21px;
  }
}

@media (max-width: 767px) {
  .team-section {
    margin-top: 70px;
  }
}

/* Header working-area alignment */
@media (min-width: 1025px) {
  body .main-header,
  .main-header {
    left: 50% !important;
    right: auto !important;
    display: flex !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    width: min(1204px, calc(100vw - 48px)) !important;
    max-width: min(1204px, calc(100vw - 48px)) !important;
    height: 76px !important;
    min-height: 76px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 16px 15px 16px 32px !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    overflow: visible !important;
    border-radius: 16px !important;
    transform: translateX(-50%) !important;
  }

  body .main-header__logo,
  .main-header__logo {
    grid-column: auto !important;
    grid-row: auto !important;
    align-self: auto !important;
    font-size: 30px !important;
    line-height: 32px !important;
    font-weight: 600 !important;
    letter-spacing: .3px !important;
  }

  body .main-header__nav,
  .main-header__nav {
    grid-column: auto !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 32px !important;
    width: auto !important;
    max-height: none !important;
    height: 100% !important;
    padding: 0 !important;
    align-items: center !important;
    overflow: visible !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  body .main-header__link,
  .main-header__link {
    display: inline-flex !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: normal !important;
    font-weight: 500 !important;
  }

  body .main-header__cta,
  .main-header__cta {
    grid-column: auto !important;
    display: inline-flex !important;
    width: 193px !important;
    max-width: 193px !important;
    max-height: none !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 14px 32px !important;
    overflow: visible !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  body .main-header__burger,
  .main-header__burger {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  body .main-header,
  .main-header {
    left: 24px !important;
    right: 24px !important;
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
  }
}

.main-header__cta,
.main-hero__cta,
.anim-integ__button,
.btn-light,
.team-tablet__button {
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease,
    opacity 0.24s ease !important;
}

.main-header__cta:hover,
.main-header__cta:focus-visible,
.main-hero__cta:hover,
.main-hero__cta:focus-visible,
.anim-integ__button:hover,
.anim-integ__button:focus-visible,
.btn-light:hover,
.btn-light:focus-visible,
.team-tablet__button:hover,
.team-tablet__button:focus-visible {
  opacity: .5 !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .18),
    0 0 30px rgba(255, 255, 255, .62),
    0 0 64px rgba(255, 255, 255, .22),
    inset 0 1px 0 rgba(255, 255, 255, .95) !important;
}

.main-header__cta:active,
.main-hero__cta:active,
.anim-integ__button:active,
.btn-light:active,
.team-tablet__button:active {
  transform: scale(.95) !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .final-hero {
    width: 100% !important;
    min-height: 760px !important;
    overflow: visible !important;
    isolation: isolate !important;
  }

  .final-hero::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    transform: translateX(-50%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
    opacity: 1 !important;
    background:
      linear-gradient(90deg, rgba(10, 12, 18, 0.98) 0%, rgba(10, 12, 18, 0.08) 14%, rgba(10, 12, 18, 0.08) 86%, rgba(10, 12, 18, 0.98) 100%),
      url("../img/group.svg") center 12px / 100vw auto no-repeat !important;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.82) 9%,
      #000 16%,
      #000 82%,
      rgba(0, 0, 0, 0.78) 91%,
      transparent 100%
    ) !important;
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.82) 9%,
      #000 16%,
      #000 82%,
      rgba(0, 0, 0, 0.78) 91%,
      transparent 100%
    ) !important;
  }
}

@media (min-width: 901px) and (max-width: 1024px) {
  body .main-header,
  .main-header {
    top: 10px !important;
    left: 50% !important;
    right: auto !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: 74px auto auto !important;
    width: min(770px, calc(100vw - 64px)) !important;
    max-width: min(770px, calc(100vw - 64px)) !important;
    height: 76px !important;
    min-height: 76px !important;
    margin: 0 !important;
    padding: 0 23px !important;
    align-items: center !important;
    align-content: start !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    background: rgba(9, 10, 16, 0.94) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(8px) !important;
    transform: translateX(-50%) !important;
  }

  body .main-header__logo,
  .main-header__logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
    font-size: 20px !important;
    line-height: 22px !important;
    font-weight: 800 !important;
  }

  body .main-header__burger,
  .main-header__burger {
    position: static !important;
    display: inline-flex !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 46px !important;
    height: 36px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    cursor: pointer !important;
  }

  body .main-header__burger svg,
  .main-header__burger svg {
    display: block !important;
    width: 46px !important;
    height: 36px !important;
  }

  body .main-header__nav,
  .main-header__nav {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    max-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transform: translateY(-8px) !important;
    pointer-events: none !important;
    transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease !important;
  }

  body .main-header__link,
  .main-header__link {
    display: block !important;
    padding: 8px 0 !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 18px !important;
    font-weight: 600 !important;
    text-align: center !important;
    opacity: 0.92 !important;
  }

  body .main-header__cta,
  .main-header__cta {
    grid-column: 1 / -1 !important;
    display: inline-flex !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 0 !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transform: translateY(-8px) !important;
    pointer-events: none !important;
    transition: max-height 260ms ease, min-height 260ms ease, padding 260ms ease, opacity 220ms ease, transform 220ms ease !important;
  }

  body .main-header.is-open,
  .main-header.is-open {
    height: auto !important;
    min-height: 76px !important;
    padding: 0 23px 14px !important;
    row-gap: 8px !important;
    overflow: visible !important;
  }

  body .main-header.is-open .main-header__nav,
  .main-header.is-open .main-header__nav {
    max-height: 220px !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  body .main-header.is-open .main-header__cta,
  .main-header.is-open .main-header__cta {
    max-height: 44px !important;
    min-height: 44px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    transition-delay: 40ms !important;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  body .main-header,
  .main-header {
    top: 14px !important;
    left: 50% !important;
    right: auto !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: 58px auto auto !important;
    width: min(720px, calc(100vw - 32px)) !important;
    max-width: min(720px, calc(100vw - 32px)) !important;
    height: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    align-items: center !important;
    align-content: start !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    background: rgba(9, 11, 18, 0.96) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.38) !important;
    backdrop-filter: blur(8px) !important;
    transform: translateX(-50%) !important;
  }

  body .main-header__logo,
  .main-header__logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
    font-size: 20px !important;
    line-height: 22px !important;
    font-weight: 800 !important;
  }

  body .main-header__burger,
  .main-header__burger {
    position: static !important;
    display: inline-flex !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 24px !important;
    height: 19px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    cursor: pointer !important;
  }

  body .main-header__burger svg,
  .main-header__burger svg {
    display: block !important;
    width: 24px !important;
    height: 19px !important;
  }

  body .main-header__nav,
  .main-header__nav {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    max-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transform: translateY(-8px) !important;
    pointer-events: none !important;
    transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease !important;
  }

  body .main-header__link,
  .main-header__link {
    display: block !important;
    padding: 8px 0 !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 18px !important;
    font-weight: 600 !important;
    text-align: center !important;
    opacity: 0.92 !important;
  }

  body .main-header__cta,
  .main-header__cta {
    grid-column: 1 / -1 !important;
    display: inline-flex !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 0 !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transform: translateY(-8px) !important;
    pointer-events: none !important;
    transition: max-height 260ms ease, min-height 260ms ease, padding 260ms ease, opacity 220ms ease, transform 220ms ease !important;
  }

  body .main-header.is-open,
  .main-header.is-open {
    height: auto !important;
    min-height: 58px !important;
    padding: 0 16px 12px !important;
    row-gap: 8px !important;
    overflow: visible !important;
  }

  body .main-header.is-open .main-header__nav,
  .main-header.is-open .main-header__nav {
    max-height: 220px !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  body .main-header.is-open .main-header__cta,
  .main-header.is-open .main-header__cta {
    max-height: 44px !important;
    min-height: 44px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    transition-delay: 40ms !important;
  }
}

@media (max-width: 767px) {
  body .main-header,
  .main-header {
    top: 32px !important;
    left: 16px !important;
    right: 16px !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: 58px auto auto !important;
    width: auto !important;
    max-width: none !important;
    height: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    align-items: center !important;
    align-content: start !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    background: rgba(9, 11, 18, 0.96) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.38) !important;
    backdrop-filter: blur(8px) !important;
    transform: none !important;
  }

  body .main-header__logo,
  .main-header__logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 22px !important;
    letter-spacing: 0.2px !important;
    text-transform: none !important;
  }

  body .main-header__burger,
  .main-header__burger {
    position: static !important;
    display: inline-flex !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 24px !important;
    height: 19px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    cursor: pointer !important;
  }

  body .main-header__burger svg,
  .main-header__burger svg {
    display: block !important;
    width: 24px !important;
    height: 19px !important;
  }

  body .main-header__nav,
  .main-header__nav {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    max-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transform: translateY(-8px) !important;
    pointer-events: none !important;
    transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease !important;
  }

  body .main-header__link,
  .main-header__link {
    display: block !important;
    padding: 8px 0 !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 18px !important;
    font-weight: 600 !important;
    text-align: center !important;
    opacity: 0.92 !important;
  }

  body .main-header__cta,
  .main-header__cta {
    grid-column: 1 / -1 !important;
    display: inline-flex !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 0 !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transform: translateY(-8px) !important;
    pointer-events: none !important;
    transition: max-height 260ms ease, min-height 260ms ease, padding 260ms ease, opacity 220ms ease, transform 220ms ease !important;
  }

  body .main-header.is-open,
  .main-header.is-open {
    height: auto !important;
    padding: 0 16px 12px !important;
    row-gap: 8px !important;
    overflow: visible !important;
  }

  body .main-header.is-open .main-header__nav,
  .main-header.is-open .main-header__nav {
    max-height: 220px !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  body .main-header.is-open .main-header__cta,
  .main-header.is-open .main-header__cta {
    max-height: 44px !important;
    min-height: 44px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    transition-delay: 40ms !important;
  }
}

/* Unified working-area header */
@media (min-width: 1025px) {
  body .main-header,
  .main-header {
    left: 50% !important;
    right: auto !important;
    width: min(1204px, calc(100vw - 48px)) !important;
    max-width: min(1204px, calc(100vw - 48px)) !important;
    transform: translateX(-50%) !important;
  }
}

@media (max-width: 1024px) {
  body .main-header,
  .main-header {
    left: 24px !important;
    right: 24px !important;
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
  }
}

.anim-integ__kicker {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.team-kicker {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.anim-integ__logo {
  left: 50% !important;
  right: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


.agent-detail-btn,
.agent-mobile-expand__btn,
.anim-integ__button,
.radar-info__btn {
  text-decoration: none !important;
}

.agent-detail-btn:visited,
.agent-detail-btn:hover,
.agent-detail-btn:focus,
.agent-detail-btn:active,
.agent-mobile-expand__btn:visited,
.agent-mobile-expand__btn:hover,
.agent-mobile-expand__btn:focus,
.agent-mobile-expand__btn:active,
.anim-integ__button:visited,
.anim-integ__button:hover,
.anim-integ__button:focus,
.anim-integ__button:active,
.radar-info__btn:visited,
.radar-info__btn:hover,
.radar-info__btn:focus,
.radar-info__btn:active {
  text-decoration: none !important;
}
