:root {
  --bg: #040616;
  --panel: rgba(80, 81, 107, 0.2);
  /* --panel-strong: rgba(13, 18, 44, 0.84); */
  --panel-strong: rgba(80, 81, 107, 0.2);
  --panel-soft: rgba(18, 23, 55, 0.88);
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #eeeeee;
  --muted: #a4a4a4;
  --accent: #4d61fe;
  --accent-2: #7d8bff;
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
  --blur: blur(24px);
  --radius: 20px;
  --container: min(88vw, 1165px);
  --gap: 200px;
  --font: "Involve", "Segoe UI", Arial, sans-serif;
}


/* @font-face {
    font-family: 'Involve';
    src: url('./assets/fonts/Involve-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap; 
}

@font-face {
    font-family: 'Involve';
    src: url('./assets/fonts/Involve-SemiBold.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap; 
} */

/* Подключение Medium */
@font-face {
  font-family: 'Involve';
  src: url('./assets/fonts/Involve-Medium.woff2') format('woff2'),
       url('./assets/fonts/Involve-Medium.ttf') format('truetype');
  font-weight: 500;    /* Medium соответствует weight 500 */
  font-style: normal;
  font-display: swap;  /* улучшает видимость текста во время загрузки */
}

/* Подключение SemiBold */
@font-face {
  font-family: 'Involve';
  src: url('./assets/fonts/Involve-SemiBold.woff2') format('woff2'),
       url('./assets/fonts/Involve-SemiBold.ttf') format('truetype');
  font-weight: 600;    /* SemiBold = 600 */
  font-style: normal;
  font-display: swap;
}

/* Если понадобится Regular */
@font-face {
  font-family: 'Involve';
  src: url('./assets/fonts/Involve-Regular.woff2') format('woff2'),
       url('./assets/fonts/Involve-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}



@font-face {
  font-family: 'Involve';
  src: local('Involve Bold'), local('Involve-Bold'),
  url('./assets/fonts/Involve-Bold.woff2') format('woff2'),
  url('./assets/fonts/Involve-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Involve Bold Oblique';
  src: local('Involve Bold Oblique'), local('Involve-BoldOblique'),
  url('./assets/fonts/Involve-BoldOblique.woff2') format('woff2'),
  url('./assets/fonts/Involve-BoldOblique.woff') format('woff');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Involve';
  src: local('Involve Medium'), local('Involve-Medium'),
  url('./assets/fonts/Involve-Medium.woff2') format('woff2'),
  url('./assets/fonts/Involve-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Involve Medium Oblique';
  src: local('Involve Medium Oblique'), local('Involve-MediumOblique'),
  url('./assets/fonts/Involve-MediumOblique.woff2') format('woff2'),
  url('./assets/fonts/Involve-MediumOblique.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Involve';
  src: local('Involve Oblique'), local('Involve-Oblique'),
  url('./assets/fonts/Involve-Oblique.woff2') format('woff2'),
  url('./assets/fonts/Involve-Oblique.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Involve';
  src: local('Involve Regular'), local('Involve-Regular'),
  url('./assets/fonts/Involve-Regular.woff2') format('woff2'),
  url('./assets/fonts/Involve-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Involve';
  src: local('Involve SemiBold'), local('Involve-SemiBold'),
  url('./assets/fonts/Involve-SemiBold.woff2') format('woff2'),
  url('./assets/fonts/Involve-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Involve SemiBold Oblique';
  src: local('Involve SemiBold Oblique'), local('Involve-SemiBoldOblique'),
  url('./assets/fonts/Involve-SemiBoldOblique.woff2') format('woff2'),
  url('./assets/fonts/Involve-SemiBoldOblique.woff') format('woff');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}




* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  font-size: 18px;
  font-weight: 400;   /* Medium */
  line-height: 1.5;   /* 150% от 18px = 27px */
  /*letter-spacing: 0%;*/
  letter-spacing: 0;

}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
button { cursor: pointer; }

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 12%, rgba(77, 97, 254, 0.12), transparent 28%),
    radial-gradient(circle at 78% 6%, rgba(122, 160, 255, 0.12), transparent 22%),
    radial-gradient(circle at 50% 40%, rgba(77, 97, 254, 0.06), transparent 32%);
}

.container { width: var(--container); margin: 0 auto; }
.section { padding: 0 0 var(--gap); position: relative; z-index: 1; }
.section-heading {
  margin: 0 0 40px;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.08;
  font-weight: 500;
  /*letter-spacing: -0.03em;*/
  letter-spacing: 0;
}
.section-heading--gradient,
.gradient-title span:last-child {
  background: linear-gradient(90deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-heading--center,
.section-caption { text-align: center; }
.section-caption {
  margin: -10px auto 50px;
  /* max-width: 620px; */
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.gradient-title {
  margin: 0;
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  /*letter-spacing: -0.035em;*/
  letter-spacing: 0;
  display: grid;
  gap: 8px;
}
.section-copy {
  margin: 22px 0 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 380px);
  align-items: center;
  /* min-height: 210px; */
}

.panel {
  border: 1px solid var(--stroke);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-radius: var(--radius);
}
.panel--soft {
  /* background: rgba(16, 20, 48, 0.88); */
  background: rgba(80, 81, 107, 0.2);
  border: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 400;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
/* .btn:hover { transform: translateY(-1px); } */
.btn--primary {
  background: var(--accent);
  color: var(--text);
  /* box-shadow: 0 10px 28px rgba(77, 97, 254, 0.32); */
}
.btn--primary:hover {
  background: #3C52FF;
}
.btn--primary:active {
  background: #334AFF;
}
/* .btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255,255,255,0.08);
  color: var(--text);
} */
.btn--wide { min-width: min(100%, 300px); }
.btn--center { display: flex; width: min(100%, 316px); margin: 28px auto 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  transition: padding 0.25s ease;
}
.header-shell {
  display: grid;
  /* grid-template-columns: auto 1fr auto; */
  grid-template-columns: 1fr auto 1fr;
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 16px;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 12px 20px;
  transition: background-color ease 0.35s , border-color ease 0.35s, backdrop-filter ease 0.35s, box-shadow ease 0.35s;
  
}
/* .site-header.is-scrolled .header-shell {
  background: rgba(10, 14, 33, 0.92);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.22);
} */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-name { font-size: 18px; font-weight: 400; white-space: nowrap; }
.brand-mark {
  position: relative;
  width: 44px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.brand-mark span {
  display: block;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #f6f8ff, #8ea1ff);
  box-shadow: 0 0 8px rgba(135, 157, 255, 0.45);
}
.brand-mark span:nth-child(1) { height: 12px; }
.brand-mark span:nth-child(2) { height: 20px; }
.brand-mark span:nth-child(3) { height: 26px; }
.brand-mark span:nth-child(4) { height: 20px; }
.brand-mark span:nth-child(5) { height: 12px; }
.main-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
}
.main-nav a { color: rgba(238,238,238,0.84); transition: color .2s ease; }
.main-nav a:hover { color: var(--accent); }
.header-actions { 
  display: flex; 
  gap: 12px; 
  align-items: center; 
  margin-left: auto;
}
.header-demo-btn { opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .25s ease, transform .25s ease; padding: 14px 30px;}
.site-header.is-scrolled .header-demo-btn { opacity: 1; pointer-events: auto; transform: translateY(0); }
.menu-toggle, .mobile-menu { display: none; }
.menu-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}
.menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--text); }
.mobile-menu {
  margin-top: 12px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(10,14,33,0.96);
  border: 1px solid rgba(255,255,255,.06);
}
.mobile-menu.is-open { display: grid; gap: 12px; }

.hero {
  margin-top: -92px;
  padding: 0 0 170px;
}
.hero-shell {
  position: relative;
  min-height: 730px;
  display: grid;
  grid-template-columns: minmax(360px, 480px) minmax(0, 1fr);
  align-items: center;
  padding: 120px calc((100% - var(--container)) / 2) 110px;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
  background:
    radial-gradient(circle at 68% 38%, rgba(140, 182, 255, 0.26), transparent 15%),
    radial-gradient(circle at 44% 50%, rgba(110, 130, 255, 0.18), transparent 26%),
    linear-gradient(90deg, rgba(4,6,22,0.95) 0%, rgba(5,8,29,0.72) 46%, rgba(11,18,52,0.7) 100%),
    var(--bg);
    width: 100%;
}
.hero-shell::before,
.hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-shell::before {
  background:
    linear-gradient(115deg, transparent 16%, rgba(255,255,255,0.06) 30%, rgba(102,130,255,0.12) 48%, transparent 60%),
    radial-gradient(circle at 70% 40%, rgba(144, 187, 255, 0.12), transparent 20%);
  transform: translateX(-22%);
  animation: heroSweep 8.5s linear infinite;
}
.hero-shell::after {
  background: linear-gradient(90deg, rgba(4,6,22,.45), transparent 35%, transparent 100%);
}
@keyframes heroSweep {
  0% { transform: translateX(-32%); }
  100% { transform: translateX(36%); }
}
.hero-copy { position: relative; z-index: 2; max-width: 700px; }
.hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(58px, 8vw, 72px);
  line-height: 1.02;
  font-weight: 500;
  /*letter-spacing: -0.055em;*/
  letter-spacing: 0;
}
.hero-tagline {
  margin: 0 0 34px;
  font-size: 24px;
  line-height: 1.2;
  /*letter-spacing: 0.02em;*/
  letter-spacing: 0;
}
.hero-meta {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  font-size: 14px;
}
.hero-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(238,238,238,0.86);
}
.hero-meta__item.is-muted { color: var(--muted); }
.hero-meta__icon {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(77,97,254,0.55), rgba(77,97,254,0.08));
}
.hero-meta__icon--outline { background: transparent; border-style: dashed; }
.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(100%, 590px);
  filter: drop-shadow(0 40px 90px rgba(0,0,0,0.36));
}
.hero-visual__bg {
  position: absolute;
  inset: 10% -6% 6% 14%;
  background:
    radial-gradient(circle at 45% 55%, rgba(198,216,255,0.24), rgba(77,97,254,0.12) 22%, transparent 50%),
    radial-gradient(circle at 66% 28%, rgba(77,97,254,0.26), transparent 42%),
    linear-gradient(90deg, transparent 0, rgba(255,255,255,0.04) 45%, transparent 100%);
  filter: blur(28px);
  animation: heroPulse 5s ease-in-out infinite;
}
@keyframes heroPulse {
  0%,100% { opacity: .85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  /* margin-top: -80px; */
  position: relative;
  z-index: 3;
  max-width: 1430px;
}
.stat-card {
  min-height: 154px;
  padding: 30px 34px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(18, 21, 49, 0.94), rgba(12,16,37,0.96));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 26px 50px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.stat-card strong { font-size: clamp(44px, 4vw, 52px); font-weight: 500; line-height: 1; }
.stat-card span { color: rgba(238,238,238,.82); font-size: 18px; }

.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(240px, 1fr));
  align-items: stretch;
  gap: 40px;
  isolation: isolate;
}
.why-card.why-tablet-only {
  display: none;
}
.why-card {
  position: relative;
  z-index: 1;
  min-height: 240px;
  /* padding: 34px 36px; */
  padding: 49px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 70px;
}
.why-card--left {
  text-align: left;
  padding-right: clamp(136px, 17vw, 200px);
}
.why-card--right {
  text-align: right;
  align-items: flex-end;
  padding-left: clamp(136px, 17vw, 200px);
}
.why-card h3 {
  margin: 0;
  max-width: 550px;
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1.14;
  font-weight: 500;
  /*letter-spacing: -0.03em;*/
  letter-spacing: 0;
}
.why-card p {
  margin: 0;
  max-width: 550px;
  /* color: rgba(238,238,238,0.8); */
  color: #EEEEEE;
  font-size: 18px;
  line-height: 1.58;
}
.why-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: clamp(280px, 28vw, 455px);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.why-center__shell {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-center__disc {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 50%;
  background: #040616;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-center__image-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: visible;
  /* background: rgba(255,255,255,0.03) url('./assets/uploaded/sphere-with-back.jpg') no-repeat center; */
}
.why-center__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  max-width: none;
}
/* временно меняю позиционирования для общего выравнивания, пока не понятно что с анимацией, можно ли уменьшить её */
section#sources  .section-heading {
  margin: 0; 
}
section#sources {
  padding-bottom: 150px;
}
section#sources .sources-layout {
  position: relative;
  top: -35px;
}



.sources-layout {
  display: grid;
  grid-template-columns: minmax(0, 961px) minmax(0, 610px);
  align-items: center;
  justify-content: center;
  /* gap: clamp(56px, 6vw, 113px); */
  gap: 6%;
}

.orbit-stage {
  --orbit-center-x: 356px;
  --orbit-center-y: 280px;
  --orbit-rx: 320px;
  --orbit-ry: 136px;
  --orbit-core-size: 500px;
  --orbit-logo-height: 40px;
  position: relative;
  width: 100%;
  min-height: 560px;
}
.orbit-backdrop {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 560px;
}
.orbit-core {
  position: absolute;
  left: calc(var(--orbit-center-x) - (var(--orbit-core-size) / 2));
  top: calc(var(--orbit-center-y) - (var(--orbit-core-size) / 2));
  width: var(--orbit-core-size);
  max-width: calc(100% - 24px);
  z-index: 4;
  filter: drop-shadow(0 26px 58px rgba(0,0,0,0.34));
}
.orbit-core .orbit-line{
  position: absolute;
  background-image: url(./assets/orb-line.svg);
  width: 150%;
  height: 100%;
  top: -16%;
  left: -28%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position-x: center;
  background-position-y: bottom;
  filter: drop-shadow(0 3px 6.5px #EEEEEE);

}
/* .orbit-ring {
  position: absolute;
  left: calc(var(--orbit-center-x) - var(--orbit-rx));
  top: calc(var(--orbit-center-y) - var(--orbit-ry));
  width: calc(var(--orbit-rx) * 2);
  height: calc(var(--orbit-ry) * 2);
  border-radius: 50%;
  border: 2px solid rgba(107,128,255,0.82);
  box-shadow: 0 0 20px rgba(77,97,254,0.22);
} */
.orbit-ring--front {
  z-index: 5;
  transform: rotate(-16deg);
  /* clip-path: polygon(0 56%, 100% 20%, 100% 100%, 0 100%); */
  clip-path: polygon(95% 40%, 67% 0.00%, 100.00% 0.00%, 100.00% 100.00%, 0.00% 100.00%, 0.00% 0.00%, 20.63% 0.00%);
}
.orbit-ring--back {
  z-index: 1;
  transform: rotate(-16deg);
  opacity: 0.34;
  filter: blur(1px);
  clip-path: polygon(0 0, 100% 0, 100% 44%, 0 68%);
}
.orbit-items {
  position: absolute;
  inset: 0;
}
.orbit-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  /* transition: transform .78s cubic-bezier(.22, .61, .36, 1), opacity .45s ease, filter .45s ease; */
  transition: transform 0.05s cubic-bezier(.22, .61, .36, 1), opacity 0.05s ease; 
  will-change: transform;
}
button.orbit-item.is-bottom-half {
  z-index: 10 !important;  
  filter: drop-shadow(4px -2px 26px rgba(0, 0, 0, 0.719));
}
.orbit-item span {
  font-size: 10px;
  font-weight: 700;
  /*letter-spacing: 0.06em;*/
  letter-spacing: 0;
}
.orbit-item img,
.orbit-item svg {
  width: auto;
  height: var(--orbit-logo-height);
  max-width: 100%;
  object-fit: contain;
}
.orbit-item svg {
  width: var(--orbit-logo-height);
}
.orbit-item.is-active {
  /* filter: drop-shadow(0 0 18px rgba(138, 171, 255, 0.22)); */
  filter: brightness(0) invert(1);
}
.source-panel {
  width: 100%;
  min-height: 330px;
  max-width: 610px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.source-panel__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.source-panel__brand-icon {
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.96);
}
.source-panel__brand-icon img,
.source-panel__brand-icon svg {
  width: auto;
  height: 40px;
  object-fit: contain;
}
.source-panel__brand-icon svg {
  width: 40px;
}
.source-panel__brand-name {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.05;
  /*letter-spacing: -0.03em;*/
  letter-spacing: 0;
}
.source-panel h3 {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(238,238,238,0.92);
  font-weight: 400;
}
.source-panel p { margin: 0; color: #EEEEEE; font-size: 18px; line-height: 1.6; }

.section-mobile-nav {
  display: none;
}


.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}
.slider-controls { display: flex; gap: 10px; }
.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04) url('./assets/paging-arrow.svg') no-repeat center;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}
.slider-btn--prev { 
  /* background: transparent;  */
  /* background: rgba(255,255,255,0.04) url('./assets/paging-arrow.svg') no-repeat center; */
  rotate: 180deg;
}
/* .slider-btn:hover {
  background: rgba(255,255,255,0.03) url('./assets/paging-arrow.svg') no-repeat center;
}
.slider-btn:active {
  background: rgba(255,255,255,0.02) url('./assets/paging-arrow.svg') no-repeat center;
} */

/* .slider-btn--prev:hover {
  background: rgba(255,255,255,0.01) url('./assets/paging-arrow.svg') no-repeat center;
} */
/* в макете так но анимация слайдера с закруглениями както ебано выглядит поэетому пока верну
section#cases .case-slide {
  padding: 40px;
  background: rgba(80, 81, 107, 0.2);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05)
} */

.cases-shell { 
  overflow: hidden; 
  /* padding: 26px;  */
}
.case-track {
  display: flex;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}
.case-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 485px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.case-card { padding: 22px; border-radius: 18px; background: rgba(18,22,48,0.7); border: 1px solid rgba(255,255,255,0.05); }
.case-card.case-info {
  background: rgba(80, 81, 107, 0.2);
}
.case-client {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 22px;
}
.case-client__mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #eef3ff, #4d61fe 70%, #0f1635 100%);
}
.case-info h3 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 500;
}
.case-info p {
  margin: 0;
  color: #EEEEEE;
  font-size: 18px;
  line-height: 1.58;
}
.case-info .btn { margin-top: 28px; }
.case-media {
  border-radius: 18px;
  background: rgba(18,22,48,0.7);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
.case-media img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  /* max-height: 524px; */
}

.solutions-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  min-height: 314px;
}
.solution-card {
  position: relative;
  padding: 24px 22px 20px;
  border-radius: 20px;
  /* border: 1px solid rgba(255,255,255,0.06); */
  /* background: rgba(17, 22, 52, 0.82); */
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(80, 81, 107, 0.2);
  box-shadow: 0 24px 48px rgba(0,0,0,0.18);
  transition: transform .45s cubic-bezier(.22,.61,.36,1), opacity .3s ease;
}
.solution-card.is-side {
  transform: scale(.92);
  opacity: .82;
}
.solution-card.is-center {
  padding: 28px 24px 22px;
  background: rgba(19, 25, 58, 0.95);
}
.solution-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), rgba(77,97,254,0.6));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}
.solution-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 500;
}
.solution-card ul {
  margin: 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 12px;
  /* color: rgba(238,238,238,0.82); */
  font-size: 15px;
  line-height: 1.5;
}
.solution-card .btn {
  width: 100%;
  margin-top: 20px;
  min-height: 42px;
  font-size: 12px;
  border-radius: 6px;
}
.solutions-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 24px;
}
.solution-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  padding: 0;
}
.solution-tab.is-active { color: var(--text); }

/* .implementation { padding-top: 10px; } */
.implementation-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  min-height: 68px;
  padding: 6px;
  border-radius: 15px;
  /* background: rgba(18, 23, 55, 0.9); */
  background: rgba(80, 81, 107, 0.2);
  border: 1px solid rgba(255,255,255,0.05);
  margin-top: 26px;
}
.implementation-tab {
  border: 0;
  background: transparent;
  color: rgba(238,238,238,0.86);
  border-radius: 11px;
  font-size: 18px;
}
.implementation-tab.is-active { background: var(--accent); color: var(--text); }
.implementation-panel { margin-top: 18px; }
.implementation-panel h3 {
  margin: 0 0 30px;
  text-align: center;
  font-size: 32px;
  line-height: 1.24;
  font-weight: 400;
}
.implementation-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
.implementation-steps.grid-steps-3 {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.step-card {
  position: relative;
  min-height: 232px;
  padding: 28px 24px 52px;
  /* background: rgba(18, 23, 55, 0.88); */
  background: rgba(80, 81, 107, 0.2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
}
  .step-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    max-width: 80%;
  }
.step-card h4 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.12;
  font-weight: 500;
  /*letter-spacing: -0.04em;*/
  letter-spacing: 0;
}
.step-card p {
  margin: 0;
  color: rgba(238,238,238,0.8);
  font-size: 16px;
  line-height: 1.55;
}
.step-card span {
  position: absolute;
  right: 20px;
  bottom: 14px;
  font-size: 42px;
  color: rgba(129,129,129,0.72);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.event-card {
  overflow: hidden;
  border-radius: 20px;
  /* background: rgba(18, 23, 55, 0.92); */
  background: rgba(80, 81, 107, 0.2);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 22px 46px rgba(0,0,0,0.22);
}
.event-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.event-card__image img { width: 100%; height: 100%; object-fit: cover; }
.event-card__body { padding: 18px 18px 20px; }
.event-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 12px;
}
.event-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  min-height: 25px;
  padding: 0 10px;
  border-radius: 3px;
  background: #ed7c31;
  color: var(--text);
  font-size: 10px;
}
.event-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -moz-box;
  -moz-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  box-orient: vertical;
}
.event-card__subtitle {
  margin-bottom: 8px;
  color: rgba(238,238,238,.82);
  font-size: 14px;
}
.event-card__description {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.event-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.event-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4d61fe;
}

.panel--search {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 18px;
  margin: 0;
  width: 320px;
  max-width: 100%;
}
.panel--search input {
  width: 100%;
  border: 0;
  background: transparent;
  /* color: var(--text); */
  color:#A4A4A4;
  outline: none;
  font-size: 16px;
}
.panel--search input::placeholder { color: var(--muted); }
.lesson-card {
  overflow: hidden;
  border-radius: 20px;
  /* background: rgba(18, 23, 55, 0.92); */
  background: rgba(80, 81, 107, 0.2);
  border: 1px solid rgba(255,255,255,0.05);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 378px;
}
.lesson-card__copy {
  padding: 24px 18px 18px 22px;
  display: flex;
  flex-direction: column;
}
.lesson-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 500;
}
.lesson-card .speaker { color: rgba(238,238,238,0.86); font-size: 16px; margin-bottom: 12px; }
.lesson-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
}
.lesson-card__media img { width: 100%; height: 100%; object-fit: cover; }
.lesson-card .btn { width: 120px; min-height: 38px; font-size: 12px; }

.form-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 36px;
  align-items: end;
}
.form-robot {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 520px;
}
.form-robot img { width: 100%; max-width: 280px; }
.lead-form {
  padding: 34px;
  display: grid;
  gap: 18px;
  backdrop-filter: blur(17px);
}
.lead-form label,
.field-group {
  display: grid;
  gap: 10px;
}
.lead-form span,
.field-group > span {
  color: rgba(238,238,238,.9);
  font-size: 16px;
}
.lead-form input {
  height: 60px;
  border-radius: 8px;
  border:1px solid rgba(238, 238, 238, 0.1);
  /* background: rgba(8, 12, 28, 0.74); */
  background: transparent;
  color: var(--text);
  padding: 0 18px;
  outline: none;
}
.lead-form input::placeholder, span.custom-select__value { 
  color: var(--muted); 
  font-size: 16px;
}
.lead-form input:focus,
.custom-select.is-open .custom-select__trigger {
  /* border-color: rgba(77,97,254,0.6);
  box-shadow: 0 0 0 3px rgba(77,97,254,0.16); */
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.custom-select {
  position: relative;
}
.custom-select__trigger {
  width: 100%;
  height: 60px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.custom-select__arrow { 
  width: 20px;
  height: 20px;
  margin-right: 2px;
  background: url('./assets/form-select-arrow.svg') no-repeat center;
 }
.custom-select__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  padding: 20px;
  border-radius: 12px;
  background: rgba(10,14,33,0.98);
  box-shadow: 0 22px 46px rgba(0,0,0,0.32);
  display: none;
  z-index: 4;
}
.custom-select.is-open .custom-select__menu { 
  display: flex; 
  flex-direction: column;
  gap: 30px; 
  border: 1px solid rgba(255,255,255,0.4);
}
.custom-select__option {
  border: none;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 0;
}

.custom-select__option.is-selected { 
  /* background: rgba(77,97,254,0.2);  */
  color: rgba(77, 97, 254, 1);
}
.custom-select__option:hover {
  color: #4D61FE;
}

span#contact-label {
  display: none;
}
.form-message { 
  min-height: 24px; 
  margin: 0; 
  color: var(--muted); 
  display: none;
}

.faq-list { display: grid; gap: 14px; }
.faq-item {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.05);
  /* background: rgba(18, 23, 55, 0.88); */
  background: rgba(80, 81, 107, 0.2);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  min-height: 74px;
  padding: 0 24px;
  border: 0;
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 24px;
  font-weight: 400;
  text-align: left;
}
.faq-question span:last-child {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: transform .25s ease, color .25s ease;
  transform: rotate(90deg);
  filter: brightness(0) invert(1);
}
.faq-item.is-open .faq-question span:last-child { 
  color: var(--accent); 
  transform: rotate(0deg);
  filter: none;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.faq-answer p {
  margin: 0;
  padding: 0 24px 24px;
  color: rgba(238,238,238,0.82);
  font-size: 18px;
  line-height: 1.6;
}

.site-footer {
  /* padding: 70px 0 28px; */
  padding: 49px 0 33px;
  background: rgba(10,14,33,0.98);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  /* grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px; */
  padding-bottom: 90px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid h3 { 
  margin: 0 0 20px;
  display: flex;
  height: 45px;
  align-items: center;
  font-size: 24px; 
  font-weight: 500; 
}
.footer-grid p,
.footer-grid a,
.footer-grid span { display: block; color: #eeeeee; line-height: 2; }
.footer-brand .brand a { 
  line-height: 1;
}
.footer-brand .brand { 
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px; 
}
.footer-brand {
  min-width: 17%;
}
.footer-brand .brand .brand-mark {
  width: 39px;
  height: 45px;
}
.footer-brand .brand h3 {
  margin: 0;
}
.socials { display: flex; gap: 12px; margin-top: 40px; }

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  flex-wrap: wrap;
  gap: 18px 36px;
  justify-content: space-between;
  padding-top: 20px;
  color: #EEEEEE;
}
.footer-bottom a {
  display: flex;
  justify-content: center;
}
.footer-bottom a:first-child {
  justify-content: start;
}
.footer-bottom a:last-child {
  justify-content: end;
}
.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 40;
}
.video-modal.is-open { display: grid; }
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28,29,37,0.7);
}
.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(88vw, 920px);
  /* padding: 24px; */
  border: none;
}
.video-modal__close {
  position: absolute;
  top: -70px;
  right: 0px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #FFFFFF1A;
  background: #50516B33 url(./assets/uploaded/video-close-icon.svg) no-repeat 52% 52%;
  color: var(--text);
  font-size: 24px;
}
.video-screen img { width: 100%; border-radius: 14px; }

@media (max-width: 1100px) {
  .main-nav, .header-actions { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .product-grid,
  .sources-layout,
  .case-slide,
  .form-layout,
  .footer-grid,
  .implementation-steps,
  .solutions-stage,
  .cards-grid { grid-template-columns: 1fr; }
  .hero-shell { grid-template-columns: 1fr; gap: 36px; padding-bottom: 120px; }
  .hero-visual { justify-content: center; min-height: 320px; }
  .hero-visual__bg { inset: 14% 2% 4%; }
  .hero-stats { grid-template-columns: 1fr; }
  .section { padding-bottom: 110px; }
  .why-grid {
    gap: 18px;
  }
  .why-card {
    min-height: 220px;
  }
  .why-card--left {
    padding-right: clamp(118px, 15vw, 180px);
  }
  .why-card--right {
    padding-left: clamp(118px, 15vw, 180px);
  }
  .why-center {
    width: clamp(240px, 30vw, 320px);
  }
  .sources-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
    gap: 40px;
  }
  .orbit-stage {
    min-height: 430px;
  }
  .orbit-backdrop {
    min-height: 430px;
  }
  .source-panel { min-height: auto; }
  .section-row { align-items: flex-start; flex-direction: column; }
  .implementation-panel h3 { font-size: 26px; }
  .step-card { min-height: auto; }
  .lesson-card { grid-template-columns: 1fr; }
  .form-robot { min-height: 0; order: 2; }
}

@media (max-width: 700px) {
  :root { --gap: 84px; }
  .site-header { padding-top: 10px; }
  .hero { padding-bottom: 120px; }
  .hero-shell { min-height: 620px; padding: 112px 20px 88px; border-radius: 0 0 28px 28px; }
  .hero-copy h1 { font-size: 48px; }
  .hero-tagline { font-size: 20px; }
  .stat-card { min-height: 132px; padding: 24px; }
  .stat-card strong { font-size: 42px; }
  .section-heading, .gradient-title { font-size: 34px; }
  .why-grid {
    display: block;
    position: relative;
    padding-top: 54px;
    min-height: 472px;
  }
  .why-card,
  .case-card,
  .lead-form,
  .cases-shell { padding: 18px; }
  .why-card {
    min-height: 320px;
    padding: 150px 20px 24px;
    display: none;
  }
  /* .why-card.is-active {
    display: flex;
  } */
  .why-card--left,
  .why-card--right {
    align-items: flex-start;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
  }
  .why-card h3 {
    max-width: none;
    font-size: 18px;
  }
  .why-card p {
    max-width: none;
    font-size: 14px;
    line-height: 1.52;
  }
  .why-center {
    top: 0;
    width: 206px;
    transform: translate(-50%, 0);
  }
  .why-center__shell {
    background: transparent;
  }
  .why-center__disc {
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
  .why-center__image-wrap {
    width: 100%;
    height: 100%;
  }
  .why-center__image {
    filter: drop-shadow(0 14px 28px rgba(0,0,0,0.24));
  }
  .section-mobile-nav {
    display: flex;
    justify-content: flex-end;
    margin-top: -64px;
    position: relative;
    z-index: 4;
    pointer-events: none;
  }
  .section-mobile-nav--sources {
    margin-top: -52px;
  }
  .section-mobile-nav__btn {
    pointer-events: auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: var(--text);
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 16px 28px rgba(0,0,0,0.24);
  }
  .section-mobile-nav--why .section-mobile-nav__btn:first-child,
  .section-mobile-nav--sources .section-mobile-nav__btn:first-child {
    display: none;
  }
  .sources-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .orbit-stage {
    min-height: 310px;
  }
  .orbit-backdrop {
    min-height: 310px;
  }
  .orbit-item {
    width: 52px;
    height: 26px;
  }
  .orbit-item img,
  .orbit-item svg {
    height: 26px;
  }
  .source-panel {
    position: relative;
    max-width: none;
    padding: 18px 18px 20px;
  }
  .source-panel__brand-icon {
    height: 26px;
  }
  .source-panel__brand-icon img,
  .source-panel__brand-icon svg {
    height: 26px;
  }
  .source-panel__brand-icon svg {
    width: 26px;
  }
  .source-panel__brand-name {
    font-size: 22px;
  }
  .source-panel h3 {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .source-panel p {
    font-size: 13px;
    line-height: 1.5;
  }
  .case-slide { gap: 14px; }
  .case-info h3, .solution-card h3, .event-card h3, .lesson-card h3 { font-size: 22px; }
  .implementation-tabs { grid-template-columns: 1fr; min-height: auto; }
  .implementation-tab { min-height: 48px; }
  .faq-question { font-size: 18px; padding: 0 18px; min-height: 64px; }
  .faq-answer p { padding: 0 18px 18px; font-size: 16px; }
}

/* v4: first two sections realigned to the reference */
:root {
  --side-pad: 6vw;
  --container: min(calc(100vw - (var(--side-pad) * 2)), 1690px);
  --gap: 200px;
  --stroke: rgba(255, 255, 255, 0.05);
  --blur: blur(50px);
}

body {
  background: #040616;
}

.section {
  /* padding-bottom: var(--gap); */
  padding-bottom: 150px;
}

.site-header {
  top: 30px;
}

.header-shell {
  min-height: 50px;
  gap: 32px;
}

.site-header:not(.is-scrolled) .brand-name {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

.site-header.is-scrolled .brand-name {
  opacity: 1;
  width: auto;
}

.site-header.is-scrolled .header-shell {
  min-height: 75px;
  padding: 12px 20px;
  background: rgba(80, 81, 107, 0.2);
  border-color: rgba(255,255,255,0.05);
  border-radius: 15px;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.24);
  /* transition: background-color ease 0.3s; */
}
/* .site-header.is-scrolled .header-shell {
  background: rgba(10, 14, 33, 0.92);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.22);
} */

.brand {
  gap: 14px;
}

.brand-mark {
  width: 28px;
  height: 37px;
  gap: 3px;
}

.brand-mark span {
  width: 3px;
  border-radius: 3px;
  background: #eeeeee;
  box-shadow: none;
}

.brand-mark span:nth-child(1) { height: 16px; }
.brand-mark span:nth-child(2) { height: 24px; }
.brand-mark span:nth-child(3) { height: 32px; }
.brand-mark span:nth-child(4) { height: 24px; }
.brand-mark span:nth-child(5) { height: 16px; }

.brand-name {
  font-size: 16px;
  font-weight: 400;
  transition: opacity .2s ease, width .2s ease;
}

.main-nav {
  gap: 28px;
  font-size: 16px;
  font-weight: 400;
}

.main-nav a {
  color: #eeeeee;
}

.header-actions .btn {
  min-width: 138px;
  min-height: 50px;
}

.site-header:not(.is-scrolled) a.btn.btn--primary.header-demo-btn {
  display: none;position: absolute;   /* вырываем из потока — не влияет на соседей */
  left: 0;              /* позиционируем там, где нужно (можно top, right, bottom) */
  top: 100%;            /* например, под родителем */
  /* или left: 50%; transform-origin: top left; */

  transform: scale(0);  /* визуально сжата до нуля */
  opacity: 0;           /* полностью прозрачна */
  visibility: hidden;   /* гарантия: не получает события мыши, невидима */
  transition: all 0.3s ease-out; 
}
.site-header:not(.is-scrolled) a.btn.btn--primary.header-demo-btn {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
}


.btn--ghost {
  background: rgba(80, 81, 107, 0.2);
  border-color: rgba(255,255,255,0.05);
  color: var(--text);
  padding: 14px 35px;
}
.btn--ghost:hover {
  background: rgba(80, 81, 107, 0.3);
}
.btn--ghost:active {
  background: rgba(80, 81, 107, 0.4);
}
.hero {
  margin-top: -78px;
  padding-bottom: 0;
}

.hero-shell {
  min-height: 70vh;
  grid-template-columns: minmax(540px, 1.05fr) minmax(620px, 0.95fr);
  align-items: start;
  padding: 120px calc(6%) 126px;
  border-radius: 0 0 40px 40px;
  background:
    radial-gradient(circle at 40% 60%, rgba(230, 243, 255, 0.18), transparent 11%),
    radial-gradient(circle at 79% 18%, rgba(85, 110, 255, 0.16), transparent 26%),
    linear-gradient(90deg, rgba(4, 6, 22, 0.96) 0%, rgba(4, 6, 22, 0.88) 24%, rgba(9, 20, 59, 0.56) 65%, rgba(9, 26, 74, 0.68) 100%),
    #040616;
}

.hero-shell::before {
  background:
    radial-gradient(circle at 70% 50%, rgba(255,255,255,0.10), transparent 15%),
    linear-gradient(90deg, transparent 10%, rgba(68, 103, 255, 0.10) 38%, rgba(255,255,255,0.06) 46%, rgba(68, 103, 255, 0.10) 53%, transparent 72%);
  opacity: .9;
  animation: heroSweep 9s linear infinite;
}

.hero-shell::after {
  background:
    linear-gradient(90deg, rgba(4, 6, 22, 0.28) 0%, transparent 16%, transparent 100%),
    radial-gradient(circle at 88% 50%, rgba(79, 104, 255, 0.14), transparent 28%);
}

.hero-copy {
  max-width: 610px;
  /* padding-top: 56px; */
}

.hero-copy h1 {
  margin-bottom: 16px;
  font-size: clamp(72px, 5vw, 96px);
  line-height: 1;
  font-weight: 500;
  /*letter-spacing: -0.055em;*/
  letter-spacing: 0;
}

.hero-tagline {
  margin: 0 0 40px;
  font-size: clamp(30px, 2.8vw, 52px);
  line-height: 1.16;
  font-weight: 400;
  /*letter-spacing: -0.03em;*/
  letter-spacing: 0;
  text-transform: none;
}

.btn--wide {
  width: min(100%, 500px);
}

.hero-meta {
  margin-top: 24px;
  gap: 14px;
  font-size: 16px;
}

.hero-meta__item {
  color: #eeeeee;
}

.hero-meta__item.is-muted {
  color: #a4a4a4;
}

.hero-meta__icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
}

.hero-meta__icon--outline {
  background: transparent;
  position: relative;
}

.hero-meta__icon--outline::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 2px;
  border: 1.5px solid rgba(255,255,255,0.32);
}

.hero-visual {
  min-height: 560px;
  align-items: flex-start;
  padding-top: 10px;
}

.hero-visual img {
  width: min(100%, 760px);
}

.hero-visual__bg {
  inset: 6% -8% 8% 10%;
  background:
    radial-gradient(circle at 38% 58%, rgba(221, 238, 255, 0.22), rgba(77,97,254,0.12) 20%, transparent 40%),
    radial-gradient(circle at 62% 24%, rgba(77,97,254,0.18), transparent 32%),
    linear-gradient(90deg, transparent 0, rgba(255,255,255,0.04) 46%, transparent 100%);
  filter: blur(36px);
}

.hero-stats {
  margin-top: -150px;
  gap: 28px;
}

.stat-card {
  position: relative;
  min-height: 220px;
  padding: 40px;
  background: rgba(80, 81, 107, 0.2);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: none;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 48%);
  pointer-events: none;
}

.stat-card strong {
  position: relative;
  z-index: 1;
  font-size: clamp(58px, 3.8vw, 64px);
  line-height: 1;
  /*letter-spacing: -0.05em;*/
  letter-spacing: 0;
}

.stat-card span {
  position: relative;
  z-index: 1;
  color: #eeeeee;
  font-size: 24px;
  line-height: 1.5;
}

.product {
  padding-top: 150px;
}

.product-grid {
  /* min-height: 232px; */
  grid-template-columns: minmax(0, 790px) minmax(340px, 520px);
  gap: 88px;
  align-items: center;
}

.gradient-title {
  gap: 0;
  font-size: clamp(46px, 3.8vw, 60px);
  line-height: 1.2;
}

.gradient-title span:last-child {
  display: inline-block;
}

.section-copy {
  margin: 24px 0 0 auto;
  color: #a4a4a4;
  font-size: 18px;
  line-height: 1.5;
}

.lessons .section-row {
  margin: 0;
}
.lessons-controls-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

@media (max-width: 1280px) {
  :root {
    --container: min(calc(100vw - 64px), 1480px);
  }

  .main-nav {
    gap: 18px;
    font-size: 14px;
  }

  .hero-shell {
    grid-template-columns: minmax(420px, 1fr) minmax(460px, 1fr);
    padding-inline: 36px;
  }

  .hero-copy h1 {
    font-size: clamp(64px, 5.5vw, 84px);
  }

  .hero-tagline {
    font-size: clamp(28px, 2.4vw, 40px);
  }

  .stat-card {
    min-height: 180px;
    padding: 32px;
  }

  .stat-card span {
    font-size: 20px;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
    gap: 56px;
  }
}

@media (max-width: 1100px) {
  .site-header {
    padding-top: 14px;
  }

  .site-header:not(.is-scrolled) .brand-name {
    opacity: 1;
    width: auto;
  }

  .hero {
    margin-top: -70px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 108px 24px 108px;
  }

  .hero-copy {
    max-width: 100%;
    /* padding-top: 16px; */
  }

  .hero-visual {
    min-height: 360px;
    justify-content: center;
  }

  .hero-stats {
    margin-top: -32px;
    gap: 16px;
  }

  .stat-card {
    min-height: 150px;
    padding: 28px;
  }

  .stat-card strong {
    font-size: 52px;
  }

  .stat-card span {
    font-size: 18px;
  }

  .product {
    padding-top: 150px;
  }

  .product-grid {
    gap: 24px;
    min-height: auto;
  }

  .section-copy {
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  :root {
    --container: calc(100vw - 32px);
    --gap: 96px;
  }

  .site-header {
    padding-top: 8px;
  }

  .hero {
    margin-top: -62px;
  }

  .hero-shell {
    padding: 92px 16px 84px;
    border-radius: 0 0 28px 28px;
  }

  .hero-copy h1 {
    font-size: 52px;
  }

  .hero-tagline {
    font-size: 22px;
  }

  .hero-meta {
    font-size: 14px;
  }

  .hero-visual {
    min-height: 240px;
  }

  .hero-visual img {
    width: min(100%, 420px);
  }

  .stat-card {
    min-height: 132px;
    padding: 24px;
  }

  .stat-card strong {
    font-size: 42px;
  }

  .stat-card span {
    font-size: 16px;
  }

  .product {
    padding-top: 112px;
  }

  .gradient-title,
  .section-heading {
    font-size: 34px;
  }
}

/* v5: hero rebuilt with uploaded GIF and real uploaded icons */
.brand {
  min-width: auto;
}

.brand-mark {
  width: 44px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.brand-full {
  width: 119px;
  height: 20px;
  object-fit: contain;
  display: block;
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: opacity .2s ease, width .2s ease;
}

.site-header.is-scrolled .brand-full {
  opacity: 1;
  width: 119px;
}

.site-header:not(.is-scrolled) .brand-full {
  opacity: 0;
  width: 0;
}

.brand-name {
  display: none !important;
}

.hero {
  margin-top: -78px;
  padding-bottom: 0;
}

.hero-shell {
  display: block;
  min-height: 834px;
  padding: 120px calc((100% - var(--container)) / 2) 132px;
  border-radius: 0 0 40px 40px;
  background: none;
  /* background-image:
    linear-gradient(90deg, rgba(4, 6, 22, 0.96) 0%, rgba(4, 6, 22, 0.88) 18%, rgba(4, 6, 22, 0.52) 36%, rgba(4, 6, 22, 0.18) 58%, rgba(4, 6, 22, 0.34) 100%),
    linear-gradient(180deg, rgba(4, 6, 22, 0.08) 0%, rgba(4, 6, 22, 0.08) 100%),
    url('assets/hero-bg.gif');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat; */
}

.hero-shell::before,
.hero-shell::after,
.hero-visual,
.hero-visual__bg {
  display: none !important;
  animation: none !important;
  content: none !important;
}

.hero-copy {
  max-width: 700px;
  /* padding-top: 78px; */
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: 96px;
  line-height: 1;
  /*letter-spacing: -0.055em;*/
  letter-spacing: 0;
  font-weight: 500;
}

.hero-tagline {
  margin: 0 0 34px;
  font-size: 48px;
  line-height: 1.2;
  /*letter-spacing: -0.04em;*/
  letter-spacing: 0;
  font-weight: 400;
  text-transform: none;
}


.btn--wide {
  width: min(100%, 500px);
}

.hero-meta {
  margin-top: 28px;
  gap: 14px;
  font-size: 16px;
}

.hero-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #EEEEEE;
}

.hero-meta__item.is-muted {
  color: #A4A4A4;
}

.hero-meta__icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.hero-meta__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.hero-stats {
  margin-top: -150px;
  gap: 28px;
}

.stat-card {
  min-height: 166px;
  padding: 40px;
  background: rgba(80, 81, 107, 0.2);
  border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  box-shadow: none;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 45%);
}

.stat-card strong {
  font-size: 64px;
  line-height: 1;
  font-weight: 500;
}

.stat-card span {
  font-size: 24px;
  line-height: 1.5;
  color: #EEEEEE;
}


.product-grid {
  grid-template-columns: minmax(0, 860px) minmax(0, 1fr);
  gap: 40px 120px;
  align-items: center;
}

.gradient-title {
  font-size: 60px;
  line-height: 1.2;
}

.section-copy {
  margin-top: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #A4A4A4;
}

@media (max-width: 1280px) {
  .hero-shell {
    min-height: 720px;
    padding: 124px 40px 120px;
    background-position: center right;
  }

  .hero-copy {
    max-width: 560px;
  }

  .hero-copy h1 {
    font-size: 76px;
  }

  .hero-tagline {
    font-size: 38px;
  }

  .stat-card {
    padding: 32px;
  }

  .stat-card strong {
    font-size: 56px;
  }

  .stat-card span {
    font-size: 20px;
  }

  .product-grid {
    gap: 40px 72px;
  }
}

@media (max-width: 1100px) {
  .site-header:not(.is-scrolled) .brand-full {
    opacity: 1;
    width: 119px;
  }

  .hero-shell {
    min-height: 640px;
    padding: 112px 28px 110px;
    background-position: 68% center;
  }

  .hero-copy {
    max-width: 540px;
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: 64px;
  }

  .hero-tagline {
    font-size: 30px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: -26px;
  }

  .stat-card {
    min-height: 150px;
    padding: 28px;
  }

  .stat-card strong {
    font-size: 52px;
  }

  .stat-card span {
    font-size: 18px;
  }

  .product {
    padding-top: 150px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 700px) {
  .brand-full,
  .site-header.is-scrolled .brand-full,
  .site-header:not(.is-scrolled) .brand-full {
    width: 104px;
  }

  .hero {
    margin-top: -62px;
  }

  .hero-shell {
    min-height: 560px;
    padding: 96px 16px 92px;
    border-radius: 0 0 28px 28px;
    background-position: 73% center;
  }

  .hero-copy {
    max-width: 100%;
    padding-top: 24px;
  }

  .hero-copy h1 {
    font-size: 52px;
  }

  .hero-tagline {
    font-size: 22px;
    margin-bottom: 26px;
  }

  .hero-meta {
    font-size: 14px;
  }

  .hero-stats {
    margin-top: -18px;
  }

  .stat-card {
    min-height: 132px;
    padding: 24px;
  }

  .stat-card strong {
    font-size: 42px;
  }

  .stat-card span {
    font-size: 16px;
  }

  .product {
    padding-top: 112px;
  }

  .gradient-title,
  .section-heading {
    font-size: 34px;
  }
}

.video-screen iframe { width: 100%; min-height: 580px; border: 0; border-radius: 16px; }

video {
  width: 100%;
  height: auto;
}


/* v6: forms and lessons refined to the latest layout */
.section-caption:empty,
.lead-form label > span:empty,
.field-group > span:empty {
  display: none;
}

.cards-grid--lessons {
  align-items: stretch;
}

.lesson-card {
  position: relative;
  min-height: 515px;
  padding: 34px 34px 0;
  display: block;
  overflow: hidden;
}

.lesson-card__inner,
.lesson-card__body {
  position: relative;
  min-height: 100%;
}

.lesson-card__title,
.lesson-card h3 {
  position: relative;
  z-index: 2;
  max-width: 60%;
  margin: 0 0 30px;
  font-size: clamp(24px, 1.85vw, 32px);
  line-height: 1.15;
  /*letter-spacing: -0.04em;*/
  letter-spacing: 0;
}

.lesson-card__copy {
  position: relative;
  z-index: 2;
  width: 60%;
  min-height: 382px;
  padding-bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lesson-card .speaker {
  max-width: 100%;
  margin-bottom: 22px;
  color: rgba(238, 238, 238, 0.9);
  font-size: 18px;
  line-height: 1.42;
}

.lesson-card p {
  max-width: 100%;
  margin: 0 0 24px;
  color: #A4A4A4;
  font-size: 18px;
  line-height: 1.58;
  flex: 1;
}

.lesson-card__button,
.lesson-card .btn.lesson-card__button {
  width: 250px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 16px;
  gap: 10px;
}

.lesson-card__button-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  /* background: rgba(255, 255, 255, 0.92); */
  background: #EEEEEE url('./assets/view-arrow.svg') no-repeat;
  background-position: 57% 50%;
  background-size: 7px 8px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
  flex: 0 0 auto;
}

.lesson-card__media {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: min(40%, 252px);
  height: 377px;
  /* display: flex; */
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.lesson-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
  display: block;
}

.form-layout {
  position: relative;
  grid-template-columns: minmax(320px, 526px) minmax(0, 800px);
  justify-content: center;
  align-items: end;
  gap: 0;
  max-width: 1286px;
  margin: 34px auto 0;
}

.form-robot {
  position: relative;
  z-index: 1;
  width: min(100%, 526px);
  min-height: 640px;
  margin-right: -48px;
  justify-self: end;
  align-self: end;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.form-robot img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
}

.lead-form {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  padding: 40px;
  display: grid;
  gap: 20px;
}

@media (max-width: 1280px) {
  .form-layout {
    grid-template-columns: minmax(280px, 460px) minmax(0, 760px);
    max-width: 1180px;
  }

  .form-robot {
    width: min(100%, 460px);
    min-height: 560px;
  }

  .lead-form {
    max-width: 760px;
    padding: 36px;
  }
}

@media (max-width: 1100px) {
  .form-layout {
    grid-template-columns: 1fr;
    max-width: 800px;
    gap: 18px;
  }

  .form-robot {
    order: 2;
    width: min(56vw, 340px);
    min-height: 0;
    margin: 0 auto -44px;
    justify-self: center;
  }

  .lead-form {
    max-width: 100%;
    padding: 30px;
  }

  .lesson-card {
    min-height: 480px;
  }

  .lesson-card__title,
  .lesson-card h3,
  .lesson-card__copy {
    width: 58%;
    max-width: 58%;
  }
}

@media (max-width: 700px) {
  .why-grid {
    padding-top: 98px;
  }

  .why-card {
    min-height: 340px;
    padding-top: 168px;
  }

  .why-center {
    width: 232px;
    top: 18px;
  }

  .form-layout {
    margin-top: 18px;
    gap: 14px;
  }

  .form-robot {
    width: min(72vw, 312px);
    margin: 0 auto -58px;
  }

  .lead-form {
    padding: 24px;
  }

  .lesson-card {
    min-height: 420px;
    padding: 24px 20px 0;
  }

  .lesson-card__title,
  .lesson-card h3 {
    width: calc(100% - 92px);
    max-width: calc(100% - 92px);
    margin-bottom: 18px;
    font-size: 22px;
  }

  .lesson-card__copy {
    width: calc(100% - 112px);
    max-width: calc(100% - 112px);
    min-height: 0;
    padding-bottom: 22px;
  }

  .lesson-card .speaker {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .lesson-card p {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.52;
  }

  .lesson-card__button,
  .lesson-card .btn.lesson-card__button {
    width: 152px;
    min-height: 52px;
    padding: 0 16px;
    font-size: 14px;
  }

  .lesson-card__button-icon {
    width: 18px;
    height: 18px;
    font-size: 8px;
  }

  .lesson-card__media {
    width: min(41%, 168px);
    height: 248px;
    right: -4px;
  }
}


/* v7: asset names normalized, contact layout overlap refined */
.form-section-shell {
  position: relative;
}
.form-section-shell .form-layout {
  position: relative;
  isolation: isolate;
}
@media (max-width: 1100px) {
  .form-layout {
    align-items: start;
  }
  .lead-form {
    order: 3;
  }
  .form-robot {
    order: 2;
    position: relative;
    z-index: 1;
  }
}
@media (max-width: 700px) {
  .form-layout {
    padding-top: 0;
  }
  .form-robot {
    margin-bottom: -72px;
  }
  .lead-form {
    position: relative;
    z-index: 2;
  }
  .lesson-card__copy {
    width: 100%;
    max-width: none;
    min-height: auto;
    padding-bottom: 112px;
  }
  .lesson-card__media {
    width: min(38%, 144px);
    height: 216px;
    right: -4px;
  }
}

/* v8: lessons cards pinned photo + search icon */
.panel--search {
  width: calc((100% - 80px) / 3);
  padding: 0 20px;
  gap: 20px;
  border-radius: 10px;
}
.search-shell__icon {
  flex: 0 0 auto;
  width: 15x;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}
.search-shell__icon img {
  width: 100%;
  height: 100%;
  display: block;
}
.panel--search input {
  min-width: 0;
}

.lesson-card {
  min-height: 515px;
  padding: 40px 0 0 40px;
}
.lesson-card__inner {
  position: relative;
  min-height: 481px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.lesson-card__title,
.lesson-card h3 {
  max-width: 66%;
  margin: 0 0 28px;
}
.lesson-card__body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}
.lesson-card__copy {
  position: relative;
  z-index: 2;
  width: 60%;
  height: 100%;
  min-height: 0;
  padding: 0 5% 40px 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
  gap: 0;
}
.lesson-card .speaker {
  margin: 0 0 20px;
}
.lesson-card p {
  margin: 0;
  padding: 0;
  max-width: 100%;
  align-self: start;
}
.lesson-card__button,
.lesson-card .btn.lesson-card__button {
  margin-top: 24px;
}
.lesson-card__media {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: min(50%, 320px);
  height: auto;
  /* display: flex; */
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}
.lesson-card__media img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  object-position: bottom right;
  display: block;
}

@media (max-width: 1100px) {
  .panel--search {
    width: min(100%, 360px);
  }
  .lesson-card {
    min-height: 500px;
    padding: 30px 0 0 30px;
  }
  .lesson-card__inner {
    min-height: 470px;
  }
  .lesson-card__title,
  .lesson-card h3 {
    max-width: 64%;
  }
  .lesson-card__copy {
    width: 62%;
    padding-right: 3%;
  }
  .lesson-card__media {
    width: min(46%, 300px);
  }
  .lesson-card__media img {
    max-height: 410px;
  }
}

@media (max-width: 700px) {
  .panel--search {
    width: 100%;
    height: 56px;
    padding: 0 18px;
    gap: 10px;
  }
  .search-shell__icon {
    width: 18px;
    height: 18px;
  }
  .lesson-card {
    min-height: 420px;
    padding: 24px 0 0 20px;
  }
  .lesson-card__inner {
    min-height: 396px;
  }
  .lesson-card__title,
  .lesson-card h3 {
    max-width: calc(100% - 88px);
    margin-bottom: 18px;
  }
  .lesson-card__copy {
    width: 60%;
    max-width: none;
    min-height: 0;
    padding: 0 18px 18px 0;
    grid-template-rows: auto 1fr auto;
  }
  .lesson-card .speaker {
    margin-bottom: 14px;
  }
  .lesson-card p {
    margin: 0;
  }
  .lesson-card__button,
  .lesson-card .btn.lesson-card__button {
    margin-top: 18px;
  }
  .lesson-card__media {
    width: 44%;
    max-width: 190px;
    right: 0;
  }
  .lesson-card__media img {
    max-height: 290px;
  }
}

.brand-box {
  display: flex;
  align-items: center;
}

/* v-final: combined fixes for cases, solutions, events, footer */
.brand--footer .brand-name {
  display: none !important;
}
.site-header .brand > span {
  display: none;
}
.site-header.is-scrolled .brand > span {
  display: flex;
}
.site-header .brand-mark,
.brand--footer .brand-mark {
  width: 44px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.brand--footer {
  gap: 0;
}

.socials {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
}


.socials a img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}
.socials a:hover {
  filter: brightness(1.2);
}

.socials a span {
  font-size: 10px;
}

.footer-bottom a[href="#top"] {
  display: none !important;
}

.event-card--link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.event-card--link:hover {
  transform: translateY(-4px);
  /* border-color: rgba(77,97,254,0.28); */
  box-shadow: 0 26px 56px rgba(0,0,0,0.26);
}

.event-card--link .event-card__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 188px;
}

.event-card--link .event-status {
  margin-top: auto;
}

.cases-shell {
  /* padding: 26px 0; */
  padding-top: 26px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.case-slide {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.case-card,
.case-media {
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(18,23,55,0.92), rgba(15,19,45,0.96));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 24px 56px rgba(0,0,0,0.18);
}

.case-card {
  padding: 24px;
}

/* .case-media img {
  max-height: 460px;
} */



section#solutions .section-row {
  margin: 0;
}

/* .solutions-stage {
  /* display: grid;
  grid-template-columns: 3fr 4fr 3fr; */
  /* display: flex; */
  /* gap: 40px;
  align-items: stretch;
  min-height: 352px;
  margin: 0 110px;
  display: grid;
  grid-template-columns: 3fr 4fr 3fr; 
  grid-template-rows: auto auto auto;   три строки, высота по содержимому
  gap: 40px;
} */
.solution-title-box {
  display: flex;
  gap: 26px;
  align-items: center;
}

section#solutions .swiper-wrapper {
  align-items: center;
}
/* 
.solutions-carousel .swiper-slide-prev, .solutions-carousel .swiper-slide-next{
  transition: transform .45s cubic-bezier(.22,.61,.36,1), opacity .3s ease, border-color .3s ease, box-shadow .3s ease;
} */

.solutions-carousel .solution-card {
  position: relative;
  display: flex;
  /* flex: 3 1 0; 3 части из 10 — 30% */
  min-width: 0;
  gap: 20px;
  flex-direction: column;
  min-height: 400px;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  /* background: linear-gradient(180deg, rgba(18,23,55,0.92), rgba(14,18,43,0.98)); */
  box-shadow: 0 24px 56px rgba(0,0,0,0.18);  
  font-size: 14px;
  color: rgba(238, 238, 238, 1);
}

.swiper {
  display: flex !important;
  align-items: center;
  min-height: 570px;
}
.swiper-slide {
  transition: all 0.15s ease-out;
}

.swiper-slide.swiper-slide-active .solution-card {
  box-shadow: 0 30px 72px rgba(0,0,0,0.24);
  min-height: 570px;
  gap: 30px;
  font-size: 18px;
  padding: 53px 40px;
  transition: all 0.4s ease-out;
}

.swiper-slide.swiper-slide-active {
  font-size: 18px; 
}
.swiper-slide.swiper-slide-active .solution-card h3 {
  font-size: 32px;
}

.solution-card__icon {
  width: 46px;
  height: 50px;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.solution-card__icon img,
.solution-card__icon svg {
  width: 46px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.solution-card__icon span {
  width: 46px;
  height: 50px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(77,97,254,0.14);
  border: 1px solid rgba(77,97,254,0.18);
  font-size: 13px;
  font-weight: 500;
}

.solution-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 500;
  /*letter-spacing: -0.04em;*/
  letter-spacing: 0;
}

.solution-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  /* color: rgba(238,238,238,0.82); */
  font-size: 15px;
  line-height: 1.5;
}
.swiper-slide.swiper-slide-active ul {
  gap: 30px;
}

.solution-card ul li {
  position: relative;
  padding-left: 24px;
}
.swiper-slide.swiper-slide-active ul li {
  padding-left: 30px;
  font-size: 18px;
}

.solution-card ul li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #4d61fe url('./assets/solution-marker.svg') no-repeat 55% 55% / 45%;
}

.swiper-slide.swiper-slide-active ul li::before {
  width: 20px;
  height: 20px;
}
.solution-card .btn {
  width: 100%;
  min-height: 40px;
  margin-top: auto;
  border-radius: 6px;
  font-size: 12px;
}
.swiper-slide.swiper-slide-active .btn {
  font-size: 16px;
  min-height: 50px;
  border-radius: 8px;
}

/* .solutions-carousel .swiper-slide {
  width: 33.333%;          три одинаковых слайда в ряд
  transition: transform 0.3s ease, opacity 0.3s ease;
} */
.mobile-btn {
  display: none;
}

@media (min-width: 1025px) {
  .swiper-slide.swiper-slide-active {
    width: calc((100% - 80px) * 0.4) !important; 
  }
  .swiper-slide.swiper-slide-prev, .swiper-slide.swiper-slide-next {
    width: calc((100% - 80px) * 0.3)   !important;
  }
}


.solutions-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 25px;
  margin-top: 40px;
  padding: 0 10%;
}

.solution-tab {
  position: relative;
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(164, 164, 164, 1);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  /*letter-spacing: -3%;*/
  letter-spacing: 0;
  transition: color .2s ease;
}

.solution-tab.is-active {
  color: #fff;
}

@media (max-width: 700px) {
  .slider-controls {
    display: none;
  }
  .swiper.solutions-carousel.swiper-initialized.swiper-horizontal {
    /* overflow: visible; */
    width: 100%;
  }
  .mobile-btn {
    display: flex;
  }
  button.mobile-btn.slider-btn {
    position: absolute;
    top: 50%;
    background: #1f1f2d url('./assets/paging-arrow.svg') no-repeat center;
  }
  button.mobile-btn.slider-btn.slider-btn--prev {
    left: -14px;
  }
  button.mobile-btn.slider-btn.slider-btn--next {
    right: -14px;
  }
}



@media (max-width: 1100px) {
  .case-slide {
    grid-template-columns: 1fr;
  }

  .solutions-stage {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .solution-card.is-prev,
  .solution-card.is-next {
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .site-header .brand-mark,
  .brand--footer .brand-mark {
    width: 110px;
    height: 18px;
  }

  .cases-shell {
    padding: 18px 0;
  }

  .case-slide {
    gap: 16px;
  }

  .solution-card {
    min-height: 0;
    padding: 20px 18px 18px;
  }

  .solution-card h3 {
    font-size: 22px;
  }

  /* .solutions-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  } */

  /* .solution-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  } */
}



/* последние костыльные адаптивы */
.place-box {
  display: none;
}


@media (max-width: 1600px) {
  .product-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    gap: 40px;
  }
  .why-card {
    gap: 40px;
  }
  .why-center {
    width: 25%;
  }
  .why-card--left {
    padding-right: 23%;
  }
  .why-card--right {
    padding-left: 23%;
  }

  .step-card h4 {
    font-size: 22px;
  }
  .solutions-carousel .solution-card {
    padding: 30px;
    min-height: 550px;
    transition: transform .2s cubic-bezier(.22, .61, .36, 1), opacity .3s ease;
  }
  .swiper-slide.swiper-slide-active .solution-card {
    min-height: 700px;
  }
  .footer-grid h3 {
    font-size: 20px;
  }
  .footer-grid p, .footer-grid a, .footer-grid span {
    font-size: 16px;
  }
  
}

/* @media (max-width: 1100px) {
  .container.header-shell {
    display: flex;
  }
  button.menu-toggle {
    display: flex;
    gap: 6;
  }
  .menu-toggle span {
    width: 45px;
    height: 5px;
  }
  section#sources .sources-layout {
    top: -25px;
    grid-template-columns: 5fr 4fr;
  }
  .source-panel {
    position: relative;
    top: 40px;
    min-height: auto;
    padding: 20px 30px;
  }
  .source-panel__brand-name {
    font-size: 24px;
  }
  .source-panel p {
    font-size: 16px;
    line-height: 1.3;
  }
  .step-card span {
    font-size: 36px;
  }
  .solutions-carousel .solution-card {
    padding: 20px;
    font-size: 16px;
    gap: 12px;
    line-height: 1.2;
    color: #EEEEEE;
  }
  .solution-title-box {
    gap: 10px;
  }
  .swiper-slide .solution-card {
    font-size: 16px;
  }
  .swiper-slide.swiper-slide-active .solution-card {
    padding: 30px;
    font-size: 18px;
  }
  .solution-card h3 {
    font-size: 20px;
  }
  .swiper-slide.swiper-slide-active .solution-card h3 {
    font-size: 24px;
  }
  .solution-card .btn {
    text-align: center;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
  }
  .footer-grid h3 {
    font-size: 18px;
  }
  .footer-brand .brand h3 {
    min-width: fit-content;
  }
}
@media (max-width: 845px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
} */
@media (max-width: 1024px) {
  .section {
    padding-bottom: 150px;
  }
  .section-heading {
    font-size: 60px;
  }

  .container.header-shell {
    display: flex;
  }
  .menu-toggle span {
    width: 27px;
    height: 3px;
    background: #EEEEEE;
  }

  .menu-toggle {
    display: flex;
    gap: 5px;
  }

  .hero-shell {
    min-height: 640px;
    padding: 112px 28px 146px;
    margin: 0;
    border-radius: 0;
    background-image: linear-gradient(180deg, rgba(4, 6, 21, 0) 0%, rgba(4, 6, 21, 0.7) 100%), url(assets/hero-bg.gif);
    background-position: 85% 20%;
    background-size: 270%;
  }

  .hero-copy {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-copy h1 {
    font-size: 96px;
  }
  .hero-tagline {
    font-size: 48px;
    margin-bottom: 235px;
  }
  .hero-meta {
    margin-top: 40px;
    gap: 20px;
  }
  .hero-stats {
    gap: 20px;
    margin-top: -106px;
  }
  .stat-card {
    min-height: 150px;
    padding: 55px 40px;
    gap: 30px;
  }
  .stat-card strong {
    font-size: 64px;
  }
  .stat-card span {
    font-size: 24px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  div#why-grid {
    display: block;
  }
  .why-us article {
    display: none;
  }
  .why-center {
    width: 455px;
    top: 0;
  }
  .why-card.why-tablet-only {
    display: block;
    margin-top: 235px;
    padding: 240px 45px 50px;
    background-color: #50516B33;
    border-radius: 16px;
 }
  .why-card.why-tablet-only p {
    font-size: 18px;
    line-height: 150%;
  } 
  .why-card.why-tablet-only h3 {
    margin: 0 0 70px;
    font-size: 32px;
  }
  .why-center__image-wrap {
    background-color: #040616;
  }
  
  .orbit-core .orbit-line {
    filter: drop-shadow(0 2px 2px #EEEEEE);
  }


  section#sources .sources-layout {
    position: relative;
    top: -100px;
    grid-template-columns: 1fr;
    gap: 23%;
    width: 100%;
  }
  .source-panel {
    min-width: 100%;
    min-height: 330px;
    padding: 50px 40px;
    gap: 40px;
    width: 100%;
    justify-content: start;
  }
  .implementation-tabs {
    padding: 0;
    overflow: auto;
  }
  .implementation-tab {
    border-radius: 0;
  }
  .implementation-tab:first-child {
    border-right: 1px solid #FFFFFF0D;
  }
  .implementation-tab:last-child {
    border-left: 1px solid #FFFFFF0D;
  }
  .implementation-steps.grid-steps-3 {
    grid-template-columns: 1fr;
  }
  .implementation-steps {
    gap: 20px;
  }
  .implementation-panel h3 {
    font-size: 32px;
    margin: 40px;
  }
  .step-card h4 {
    font-size: 32px;
    margin: 0 0 30px;
  }
  .step-card p {
    color:  #EEEEEE;
    font-size: 18px;
    max-height: 85%;
  }
  .step-card span {
    right: 40px;
    bottom: 40px;
    line-height: 40px;
    font-size: 40px;
  }
  .implementation-panel .btn--center {
    width: 550px;
    height: 50px;
    margin-top: 40px;
  }
    #solutions .container {
    display: flex;
    flex-direction: column;
  }
  .slider-controls {
    display: none;
  }
  .solutions-tabs {
    order: 2;
  }
  .solutions-carousel {
    order: 3;
  }
  .swiper.solutions-carousel.swiper-initialized.swiper-horizontal {
    width: 100%;
  }
   .solutions-tabs {
    margin: 0 0 40px 0;
    padding: 0;
    gap: 15px 11px;
  }
  .solutions-tabs .solution-tab {
    font-size: 18px;
  }
  .swiper-slide .solution-card, .swiper-slide.swiper-slide-active .solution-card {
    padding: 40px;
    min-height: auto;
  }
  .swiper-slide.swiper-slide-active .solution-card p {
    margin: 0;
  }
  .solution-card__icon, .solution-card__icon img, .solution-card__icon svg {
    width: 59px; height: 65px;
  }
  .solution-title-box {
    gap: 34px;
  }
  .events .section-row {
    margin: 0;
  }
  .event-card__image {
    aspect-ratio: 23 / 11;
  }
  .event-meta {
    font-size: 16px;
    margin-bottom: 20px;
    gap: 20px;
  }
  .event-type {
    background: #B95028;
  }
  .event-card--link .event-card__body  {
    padding: 20px 40px 40px;
    min-height: auto;
  }
  .event-card h3 {
    margin: 0 0 20px;
  }
  .event-card--link .event-status {
      margin-top: 0;
  }
  .lesson-card, .lesson-card__inner {
    min-height: auto;
    padding: 40px 0 0 40px;
  }
  .lesson-card__copy {
    width: 100%;
    max-width: 100%;
  }
  .lesson-card__title, .lesson-card h3 {
    font-size: 32px;
    max-width: 100%;
    width: 100%;
  }
  .lesson-card .btn.lesson-card__button {
    margin-top: 40px;
    width: 60%;
  }
  .form-robot {
    display: none;
  }
  .form-section .section-heading {
    margin-bottom: 20px;
    line-height: 150%;
  }
 .section-caption {
    margin: 0 0 40px;
    color: #eee;
  } 
  .lead-form {
    padding: 40px;
  }
  .faq-item {
    padding: 27px 40px;
  }
  .faq-question, .faq-answer p {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 300;
    padding: 0;
    color: #EEEEEE;
  }
  .faq-question span:first-child {
    width: calc(100% - 40px);
  }









  .footer-grid {
    display: grid;
    grid-template-columns: 4fr 3fr;
    gap: 40px;
  }
  .footer-grid h3 {
    font-size: 24px;
  }
  .footer-grid p, .footer-grid a, .footer-grid span {
    font-size: 18px;
  }
.footer-bottom {
    display: flex;
  }
}





@media (max-width: 820px) {
  .site-header {
    padding-top: 0;
    top: 0;
  }
  section#sources .sources-layout {
    gap: 85px;
  }
  .hero {
      margin-top: -85px;
  }
  .why-center {
    top: -15px;
  }
  .why-us button.section-mobile-nav__btn, .section-mobile-nav.section-mobile-nav--sources {
    display: none;
  }
  .source-panel {
    margin-top: 40px;
  }
  

}

@media (max-width: 576px) {

  .container.header-shell {
    padding-top: 35px;
  }
  .mobile-menu.is-open {
    display: flex;
    justify-content: flex-start;
    position: absolute;
    top: 0;
    margin: 0;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100vh;
    backdrop-filter: blur(50px);
    padding: 35px 20px;
    gap: 20px;
  }
  .mobile-menu-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0 15px;
    margin-bottom: 20px;
  }
  .btn--ghost {
    margin-top: 20px;
    width: 100%;
    padding: 6px 35px;
  }
  .btn--primary {
    width: 100%;
  }
  .section {
    padding-bottom: 100px;
  }
 .section-heading {
    font-size: 32px;
    margin: 0 0 20px;
  }
  #hero .background-box {
    top: -91px;
  }
  .hero-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    gap: 10px;
    font-size: 12px;
  }
  .product-grid {
    gap: 20px;
  }
  .source-panel {
    padding: 27px;
    gap: 16px;
  }
  .source-panel__brand-name {
    font-size: 20px;
  }
  .source-panel p {
    font-size: 14px;
  }  
  .implementation-panel h3 {
    font-size: 20px;
    margin: 30px 0 23px;
  }

  #hero .hero-shell {
    padding-top: 103px;
    background-position: 85% 10%;
  }
  .hero-copy {
    padding-top: 0;
    text-align: center;
  }
  #hero .bg-video-mobile {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-position: center center;
    z-index: 0;
  }
  #hero .hero-overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .hero-copy h1 {
    font-size: 48px;
  }
  .hero-tagline {
    font-size: 20px;
  }
  .hero-stats {
    gap: 10px;
    margin-top: -106px;
  }
  .stat-card {
    width: 100%;
    min-height: 94px;
    padding: 22px 20px;
    gap: 15px;
  }
  .stat-card strong {
    font-size: 24px;
  }
  .stat-card span {
    font-size: 11px;
  }
  .implementation-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  button.implementation-tab {
    font-size: 14px;
    word-break: break-all;
    overflow-wrap: break-word;
    hyphens: none;
  }
  .implementation-panel .btn--center {
    display: none;
  }

  section.why-us {
    padding-bottom: 185px;
  }
  .why-center {
    width: 285px;
    top: -25px;
  }
  .why-center__image {
    width: 90%;
    height: 90%;
  }
 .why-card.why-tablet-only  {
    margin-top: 75px;
    padding: 123px 30px 40px;
  } 
  .why-card.why-tablet-only  h3 {
    margin: 0 0 26px;
    font-size: 20px;
    line-height: 24.16px;
  }
  .why-card.why-tablet-only  p {
    font-size: 14px;
  }

  .step-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 27px 22px 25px;
    min-height: 218px;
  }
  .step-card h4 {
    font-size: 20px;
  }
  .step-card p {
    font-size: 14px;
    width: 75%;
  }
  .step-card span {
    right: 20px;
    bottom: 20px;
  }
  .solutions-tabs {
    display: none;
  }
  .solutions .slider-controls {
    padding: 0 5px;
    display: flex;
    position: absolute;
    width: 100%;
    justify-content: space-between;
    left: 0;
    top: 40%;
    z-index: 100;
  }
  .slider-btn {
    width: 33px;
    height: 33px;
    background: #5D565633 url(./assets/paging-arrow.svg) no-repeat;
    background-size: 23%;
    background-position: 60% 50%;
  }
  .solution-card__icon, .solution-card__icon img, .solution-card__icon svg {
    width: 46px;
    height: 50px;
  }
  .swiper-slide .solution-card, .swiper-slide.swiper-slide-active .solution-card {
    padding: 30px 30px 36px;
    gap: 0;
  }
  .swiper-slide .solution-card h3, .swiper-slide.swiper-slide-active .solution-card h3 {
    font-size: 20px;
  }
  .swiper-slide .solution-title-box, .swiper-slide.swiper-slide-active .solution-title-box {
    gap: 16px;
    padding-bottom: 20px;
  }
  .swiper-slide .solution-card p, .swiper-slide.swiper-slide-active .solution-card p {
    margin-top: 0;
    margin-bottom: 12px;
  }
  .swiper-slide .solution-card, .swiper-slide.swiper-slide-active .solution-card,
  .swiper-slide ul li, .swiper-slide.swiper-slide-active ul li {
    font-size: 14px;
  }
  .swiper-slide ul, .swiper-slide.swiper-slide-active ul {
    gap: 20px;
  }
  .swiper-slide .btn, .swiper-slide.swiper-slide-active .btn {
    margin-top: 45px;
  }
  .swiper {
    min-height: auto;
  }
  .event-card__image {
      aspect-ratio: 7 / 5;
  }
  .event-meta, .event-status {
    display: none;
  }
  .event-card--link .event-card__body {
    padding: 20px 22px 25px;
  }
  .event-card h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
  }
  .lessons-controls-box {
    margin-bottom: 20px;
  }
  .lesson-card {
    padding: 0;
  }
  .lesson-card__inner {
    padding: 28px;
  }
  .lesson-card__title, .lesson-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .lesson-card .speaker {
    font-size: 16px;
    color: #EEEEEE;
    margin-bottom: 10px;
  }
  .lesson-card p {
    font-size: 14px;
  }
  .lesson-card .btn.lesson-card__button {
    font-size: 16px;
    width: 100%;
  }
  .lesson-card__copy {
    padding: 0;
  }
  .lesson-card__button-icon {
    width: 20px;
    height: 20px;
    background-position: 55% 51%;
  }

  .section-caption {
    font-size: 14px;
    margin: 0 0 18px;
  }
  .lead-form {
    padding: 31px 25px 36px;
  }
  .lead-form input {
    padding: 17px 10px 18px;
  }
  .custom-select__trigger {
    background: #50516B33;
    color: #EEEEEE1A;
  }


  .section-mobile-nav--why .section-mobile-nav__btn{
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .faq-item {
    padding: 25px;
  }
  .faq-question span:first-child {
    font-size: 20px;
  }
  .faq-question span:last-child {
    width: 21px;
    height: 21px;
    align-self: start;
  }

}