.br-mobile-only { display: none; }
.br-desktop-only { display: inline; }

:root {
  --bg: #0a0a0f;
  --panel: rgba(12, 16, 24, 0.78);
  --panel-strong: rgba(15, 20, 31, 0.92);
  --line: rgba(255, 255, 255, 0.11);
  --line-soft: rgba(255, 255, 255, 0.055);
  --text: #f4f4f6;
  --muted: #9a9aa3;
  --muted-2: #696a74;
  --accent: #2a3972;
  --green: #22ff93;
  --mono: "Inter", sans-serif;
  --shell: min(1204px, calc(100vw - 32px));
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

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

body::before {
  width: 360px;
  height: 360px;
  top: -180px;
  left: -170px;
  background: rgba(58, 89, 180, 0.16);
}

body::after {
  width: 420px;
  height: 420px;
  right: -250px;
  bottom: 12vh;
  background: rgba(57, 91, 188, 0.12);
}

.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: 80;
  opacity: 0;
  transform: translate3d(-50vw, -50vh, 0);
  will-change: transform, opacity;
  transition: opacity 400ms ease;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, rgba(255,255,255,.06) 28%, rgba(255,255,255,.02) 55%, rgba(255,255,255,0) 72%);
  mix-blend-mode: screen;
  filter: blur(18px);
}
.cursor-glow.is-visible { opacity: 1; }


.line-grid {
  position: absolute;
  left: 50%;
  width: min(1536px, 100vw);
  transform: translateX(-50%);
  opacity: 0.58;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 240px 212px, 240px 212px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}
.line-grid--hero { top: 92px; height: 760px; }
.line-grid--mid { top: 1320px; height: 3140px; opacity: .5; }
.line-grid--bottom { top: 5600px; height: 1180px; opacity: .45; }

.dot-matrix {
  position: absolute;
  width: 220px;
  height: 220px;
  background-image: radial-gradient(circle, rgba(45, 119, 255, 0.48) 1px, transparent 1.2px);
  background-size: 10px 10px;
  opacity: .45;
}
.dot-matrix--left { left: calc(50% - 604px); top: 215px; }
.dot-matrix--right { right: calc(50% - 604px); top: 205px; }

.blue-shape--bottom {
  right: calc(50% - 1120px);
  top: 5890px;
  width: 1400px;
  height: 690px;
  clip-path: polygon(38% 0, 100% 45%, 54% 78%, 24% 90%, 19% 83%, 6% 32%);
  transform: rotate(-14deg);
}


.section-shell {
  width: var(--shell);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.integrations-header {
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  z-index: 30;
  width: var(--shell);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 15px 16px 32px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(10,10,15,.94);
  box-shadow: inset 0 1px 1px 1px rgba(255,255,255,.15), 0 18px 42px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}

.integrations-header__logo {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.integrations-header__nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 2.25vw, 42px);
  min-width: 0;
}

.integrations-header__nav a {
  color: rgba(255,255,255,.58);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: color .22s ease, text-shadow .22s ease;
}

.integrations-header__nav a:hover,
.integrations-header__nav a:focus-visible,
.integrations-header__nav a[aria-current="page"] {
  color: #fff;
  text-shadow: 0 0 16px rgba(255,255,255,.28);
  outline: none;
}

.integrations-header__burger { display: none; }

.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: #e7e7e8;
  color: #2e3034;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .005em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 11px 30px rgba(255,255,255,.07);
  transition: transform .22s ease, background-color .22s ease, color .22s ease, box-shadow .24s ease;
}

.ui-btn:hover,
.ui-btn:focus-visible {
  transform: translateY(-2px);
  background: #f7f7f8;
  color: #141519;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 15px 40px rgba(255,255,255,.15), 0 0 0 1px rgba(255,255,255,.18);
  outline: none;
}

.ui-btn:active {
  transform: translateY(0) scale(.985);
  background: #d7d8da;
  color: #1c1d20;
  box-shadow: inset 0 2px 5px rgba(0,0,0,.13), 0 6px 18px rgba(255,255,255,.08);
}

.integrations-header__cta {
  flex: 0 0 193px;
  width: 193px;
  height: 44px;
}

.integrations-page {
  position: relative;
  z-index: 1;
}

.hero-section {
  position: relative;
  min-height: 1118px;
  padding-top: 1px;
  overflow: visible;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(1536px, 100vw);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

.hero-section::before {
  top: 212px;
  height: 420px;
  background:
    linear-gradient(135deg, transparent calc(50% - .5px), rgba(255,255,255,.07) 50%, transparent calc(50% + .5px)),
    linear-gradient(45deg, transparent calc(50% - .5px), rgba(255,255,255,.07) 50%, transparent calc(50% + .5px));
  opacity: .45;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.hero-section::after {
  top: 632px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
}

.hero-section__inner {
  min-height: 1118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 300px;
}

.pill {
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(20, 24, 34, .94), rgba(10, 12, 19, .94));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 0 1px rgba(255,255,255,.03),
    0 10px 30px rgba(0,0,0,.22);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.hero-section h1 {
  margin: 0;
  color: #f4f4f6;
  font-family: Inter, sans-serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0.2px;
  text-align: center;
}

.hero-section h1 span { color: #96969d; }

.hero-section__lead {
  margin: 22px 0 0;
  color: rgba(255,255,255,.78);
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 22.4px;
  letter-spacing: 0.2px;
  text-align: center;
}

.hero-section__btn {
  margin-top: 74px;
  width: 250px;
  height: 44px;
}

.hero-section__note {
  margin: 16px 0 0;
  color: rgba(255,255,255,.34);
  font-size: 12px;
  font-weight: 500;
}

.hero-icons {
  margin-top: 84px;
  width: min(1120px, 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  opacity: .92;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
}

.hero-icon-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: max-content;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.hero-icon-item > span {
  display: inline;
  order: 2;
}

.hero-icon-item > img {
  order: 1;
}

.brand-icon.brand-icon--tiny {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  object-fit: cover;
  filter:
    brightness(1.1)
    saturate(1.15)
    drop-shadow(0 0 7px rgba(80, 150, 255, .75))
    drop-shadow(0 0 14px rgba(80, 150, 255, .32));
}

/* Чтобы hover не делал их слишком большими */
.hero-icons .brand-icon:hover,
.hero-icons .brand-icon:focus-visible {
  transform: none;
  filter:
    brightness(1.25)
    saturate(1.25)
    drop-shadow(0 0 9px rgba(110, 180, 255, .95))
    drop-shadow(0 0 18px rgba(110, 180, 255, .45));
}

.logo-row:hover .brand-icon,
.logo-row:focus-visible .brand-icon,
.hero-icons .brand-icon:hover,
.hero-icons .brand-icon:focus-visible {
  transform: translateZ(0) scale(1.05);
  filter: brightness(1.25) saturate(1.15) drop-shadow(0 0 22px rgba(123, 185, 255, .72));
}

.intro-section {
  min-height: 230px;
  text-align: center;
  padding-top: 22px;
}

.section-kicker,
.card-kicker {
  margin: 0;
  display: inline-flex;
  width: max-content;
  min-height: 36px;
  padding: 8px 16px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(20, 24, 34, .94), rgba(10, 12, 19, .94));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 0 1px rgba(255,255,255,.03),
    0 10px 30px rgba(0,0,0,.22);
  color: rgba(255,255,255,.74);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
}

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

.intro-section h2,
.chat-section h2,
.security-section h2,
.final-cta h2 {
  margin: 20px 0 0;
  color: #f4f4f6;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.04em;
}

.intro-section p:not(.section-kicker):not(.integration-kicker),
.chat-section__title p:not(.section-kicker):not(.integration-kicker),
.final-cta p {
  margin: 18px 0 0;
  color: rgba(255,255,255,.64);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}

.intro-section h2 {
  font-family: Inter, sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
}
.intro-section p:not(.section-kicker):not(.integration-kicker) {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 22.4px;
  letter-spacing: 0.2px;
  text-align: center;
}

.integration-map {
  padding-top: 28px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.integration-pair {
  display: grid;
  grid-template-columns: minmax(0, 510px) minmax(0, 653px);
  gap: 41px;
  min-height: 366px;
  align-items: stretch;
}

.integration-pair--reverse {
  grid-template-columns: minmax(0, 653px) minmax(0, 510px);
}

.data-card {
  position: relative;
  overflow: visible;
  min-height: 366px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(8, 13, 22, .46);
  backdrop-filter: blur(2px);
}

.data-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.052) 1px, transparent 1px);
  background-size: 137px 122px;
  opacity: .72;
  pointer-events: none;
}

.data-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 121px;
  height: 0px;
  background: rgba(255,255,255,.12);
  pointer-events: none;
}

.info-card {
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-card h3 {
  position: relative;
  z-index: 1;
  margin: 32px 0 auto;
  color: #f5f5f7;
  font-family: Inter, sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0.2px;
}

.info-card .card-kicker,
.info-card .integration-card-kicker {
  position: absolute;
  top: -34px;
  left: 0;
  color: rgba(255,255,255,.74);
}

.card-copy {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding-top: 0;
}

.card-copy p {
  margin: 0 0 10px;
  color: rgba(255,255,255,.43);
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 100%;
  letter-spacing: 0;
  vertical-align: middle;
}
.card-copy p:last-child { margin-bottom: 0; }

.logo-list {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.logo-row {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-height: 122px;
  display: flex;
  align-items: center;
  gap: 58px;
  padding: 24px 30px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.84);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -.01em;
  transition: color .22s ease, background-color .22s ease, text-shadow .22s ease;
}
.logo-row:last-child { border-bottom: 0; }
.logo-row:hover,
.logo-row:focus-visible {
  color: #fff;
  background: rgba(255,255,255,.035);
  text-shadow: 0 0 18px rgba(255,255,255,.22);
  outline: none;
}

.logo-list--single .logo-row { align-items: center; }
.logo-list--single .logo-row::after {
  content: "";
  position: absolute;
  inset: auto 0 121px 0;
  height: 1px;
  background: rgba(255,255,255,.07);
}

.chat-section {
  position: relative;
  padding: 42px 0 160px;
  z-index: 2;
}

.chat-section__shell { width: min(970px, calc(100vw - 32px)); }

.chat-section__title {
  text-align: center;
  margin-bottom: 62px;
}
.chat-section h2 {
  font-family: Inter, sans-serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: 0.2px;
  text-align: center;
}
.chat-section__title p:not(.section-kicker):not(.integration-kicker) {
  margin-top: 18px;
  color: rgba(255,255,255,.52);
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
  letter-spacing: 0;
  text-align: center;
}

.connect-flow {
  display: grid;
  grid-template-columns: 400px 490px;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.connect-steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.connect-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0;
  align-items: start;
}

.connect-steps__num {
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
}

.connect-steps h3 {
  margin: 0 0 14px;
  color: #f7f7f8;
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 22.4px;
  letter-spacing: 0.3px;
  vertical-align: middle;
}

.connect-steps p {
  margin: 0 0 10px;
  color: rgba(255,255,255,.56);
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
  letter-spacing: 0;
}

.chat-window-shell {
  position: relative;
  width: 490px;
  height: 690px;
  border-radius: 14px;
  border: 3px solid rgba(0, 0, 0, 0.596);
  background: #000;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 0 18px rgba(255, 255, 255, .06),
    0 0 40px rgba(255, 255, 255, .02),
    0 30px 80px rgba(0, 0, 0, .55);
  overflow: hidden;
}

.chat-frame::before,
.chat-frame::after {
  content: none !important;
  display: none !important;
}

.chat-window-shell::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  border-radius: inherit !important;
  background:
    radial-gradient(circle at top left, rgba(5, 7, 12, 0.96) 0 10px, transparent 11px) top left / 22px 22px no-repeat,
    radial-gradient(circle at top right, rgba(5, 7, 12, 0.96) 0 10px, transparent 11px) top right / 22px 22px no-repeat,
    radial-gradient(circle at bottom left, rgba(5, 7, 12, 0.96) 0 10px, transparent 11px) bottom left / 22px 22px no-repeat,
    radial-gradient(circle at bottom right, rgba(5, 7, 12, 0.96) 0 10px, transparent 11px) bottom right / 22px 22px no-repeat !important;
}

.chat-window-shell::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  pointer-events: none !important;
  border-radius: inherit !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
}

.chat-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.security-section {
  /* — Sliders for 2 solid horizontal lines (drag these to move) — */
  --security-solid-top:    169px;   /* верхняя сплошная линия (от верха секции) */
  --security-solid-bottom: 63px;   /* нижняя сплошная линия (от низа секции) */

  padding: 20px 0 60px;
  min-height: 420px;
  text-align: center;
  position: relative;
  isolation: isolate;
}
.security-section::before,
.security-section::after {
  content: none;
  display: none;
}
.security-section h2 {
  margin-top: 32px;
  font-family: Inter, sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
}

.security-grid {
  /* — Smell-controls for the EXTRA outer dashed lines (drag these to move) — */
  --security-extra-top:    -29px;  /* верхняя доп. линия (отрицательное — выше) */
  --security-extra-bottom: -29px;  /* нижняя доп. линия (отрицательное — ниже) */
  --security-extra-left:   -38px;  /* левая доп. линия (отрицательное — левее) */
  --security-extra-right:  -38px;  /* правая доп. линия (отрицательное — правее) */

  position: relative;
  margin: 54px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1204px;
  min-height: 188px;
  background: transparent;
}
.security-grid::before {
  content: none;
  display: none;
}
.security-grid::after {
  content: none;
  display: none;
}

.security-card {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 22px;
  border: 1px solid rgba(255,255,255,61%);
  background: rgba(11, 18, 29, .85);
  transition: border-color .22s ease, background .22s ease;
}
.security-card:hover {
  border-color: rgba(255,255,255,.55);
  background: rgba(15, 24, 38, .92);
}
.security-card svg {
  width: 26px;
  height: 26px;
  margin-bottom: 20px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(34,255,147,.28));
}
.security-card h3 {
  margin: 0;
  color: #f2f2f3;
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0.2px;
  text-align: center;
}
.security-card p {
  margin: 7px 0 0;
  color: rgba(255,255,255,.46);
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0;
  text-align: center;
}

.final-cta {
  min-height: 510px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: 130px;
  padding-bottom: 80px;
  position: relative;
  isolation: isolate;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: 80px;
  bottom: -120px;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(to right, transparent 0%, rgba(255,255,255,.18) 8%, rgba(255,255,255,.18) 92%, transparent 100%) left 0% / 100% 1px no-repeat,
    linear-gradient(to right, transparent 0%, rgba(255,255,255,.18) 8%, rgba(255,255,255,.18) 92%, transparent 100%) left 33.33% / 100% 1px no-repeat,
    linear-gradient(to right, transparent 0%, rgba(255,255,255,.18) 8%, rgba(255,255,255,.18) 92%, transparent 100%) left 66.66% / 100% 1px no-repeat,
    linear-gradient(to right, transparent 0%, rgba(255,255,255,.18) 8%, rgba(255,255,255,.18) 92%, transparent 100%) left 100% / 100% 1px no-repeat;
}

.cap-bg-arrow--cta {
  top: -120px;
  left: 70%;
  width: 1400px;
  height: 720px;
  transform: translateX(-50%);
  background-image: url("../img/svr3.svg");
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, #000 55%, transparent 95%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, #000 55%, transparent 95%);
}
.final-cta h2 {
  margin: 0;
  max-width: 900px;
  font-family: Inter, sans-serif;
  font-size: 64px;
  line-height: 70px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-align: center;
}
.final-cta__btn {
  margin-top: 36px;
  width: 250px;
  height: 44px;
}
.final-cta p {
  margin-top: 18px;
  color: rgba(255,255,255,.35);
  font-size: 12px;
}

.ui-btn,
.main-header__cta {
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease,
    opacity 0.24s ease !important;
}

.ui-btn:hover,
.ui-btn:focus-visible,
.main-header__cta:hover,
.main-header__cta: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;
}

.ui-btn:active,
.main-header__cta:active {
  transform: scale(.95) !important;
}

.integrations-footer {
  position: relative;
  z-index: 2;
  min-height: 176px;
  padding: 10px 12px 54px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  color: rgba(255,255,255,.58);
}
.integrations-footer__logo {
  align-self: start;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.integrations-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.integrations-footer__nav a,
.integrations-footer__support,
.integrations-footer__support a {
  color: rgba(255,255,255,.68);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 500;
  transition: color .22s ease, text-shadow .22s ease;
}
.integrations-footer__nav a:hover,
.integrations-footer__nav a:focus-visible,
.integrations-footer__support a:hover,
.integrations-footer__support a:focus-visible {
  color: #fff;
  text-shadow: 0 0 15px rgba(255,255,255,.25);
  outline: none;
}
.integrations-footer__copyright {
  position: absolute;
  left: 50%;
  bottom: 28px;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(255,255,255,.25);
  font-size: 11px;
}

@media (max-width: 1250px) {
  .integration-pair,
  .integration-pair--reverse {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
    gap: 28px;
  }
  .integration-pair--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); }
  .info-card h3 { font-size: clamp(34px, 3.3vw, 44px); }
  .logo-row { gap: 34px; }
  .connect-flow { grid-template-columns: minmax(330px, 400px) 490px; gap: 42px; }
}

@media (max-width: 1020px) {
  .integrations-header {
    height: 68px;
    padding: 14px 18px 14px 24px;
  }
  .integrations-header__nav { gap: 18px; }
  .integrations-header__nav a { font-size: 12px; }
  .integrations-header__cta { flex-basis: 160px; width: 160px; height: 40px; }
  .hero-section__inner { padding-top: 250px; }
  .hero-section h1 { font-size: clamp(46px, 7vw, 64px); }
  .connect-flow { grid-template-columns: 1fr; justify-items: center; }
  .connect-steps {
    width: min(640px, 100%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .connect-steps li { grid-template-columns: 34px 1fr; }
  .connect-steps h3 { margin-bottom: 20px; }
  .chat-section { padding-bottom: 240px; }
}

@media (max-width: 860px) {
  :root { --shell: min(100% - 24px, 680px); }
  .line-grid { background-size: 128px 128px; }
  .dot-matrix { display: none; }
  .blue-shape { opacity: .6; }
  .blue-shape--top { right: -130px; top: 76px; width: 350px; height: 120px; }
  .blue-shape--left { left: -440px; top: 960px; width: 780px; height: 2160px; }
  .blue-shape--right { right: -470px; top: 3460px; width: 860px; height: 1400px; }
  .blue-shape--bottom { right: -580px; top: 5760px; width: 980px; height: 720px; }

  .integrations-header {
    position: fixed;
    top: 12px;
    width: calc(100% - 24px);
    height: 62px;
    padding: 12px 14px 12px 18px;
    border-radius: 14px;
  }
  .integrations-header__logo { font-size: 16px; }
  .integrations-header__burger {
    display: inline-flex;
    width: 40px;
    height: 38px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    color: #fff;
    cursor: pointer;
  }
  .integrations-header__burger span {
    width: 20px;
    height: 1.5px;
    background: currentColor;
    transition: transform .22s ease, opacity .22s ease;
  }
  .integrations-header.is-open .integrations-header__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .integrations-header.is-open .integrations-header__burger span:nth-child(2) { opacity: 0; }
  .integrations-header.is-open .integrations-header__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .integrations-header__nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(10,10,15,.98);
    box-shadow: 0 18px 40px rgba(0,0,0,.38);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .integrations-header.is-open .integrations-header__nav { display: flex; }
  .integrations-header__nav a {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
  }
  .integrations-header__nav a:hover,
  .integrations-header__nav a:focus-visible { background: rgba(255,255,255,.045); }
  .integrations-header__cta { flex: 0 0 auto; width: auto; height: 38px; padding: 0 16px; font-size: 12px; }

  .hero-section { min-height: 900px; }
  .hero-section__inner { min-height: 900px; padding-top: 190px; }
  .hero-section h1 { font-size: clamp(42px, 10.8vw, 62px); }
  .hero-section__lead br { display: none; }
  .hero-section__btn { margin-top: 54px; }
  .hero-icons { margin-top: 64px; flex-wrap: wrap; justify-content: center; max-width: 320px; mask-image: none; }
  .brand-icon--tiny { width: 28px; height: 28px; }

  .intro-section { min-height: auto; padding: 20px 0 72px; }
  .intro-section h2,
  .chat-section h2,
  .security-section h2,
  .final-cta h2 {
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0.4px;
    text-align: center;
    vertical-align: middle;
  }
  .intro-section p:not(.section-kicker):not(.integration-kicker),
  .chat-section__title p:not(.section-kicker):not(.integration-kicker),
  .final-cta p {
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0.2px;
    text-align: center;
  }
  .br-mobile-only { display: inline; }

  .integration-map { padding-top: 0; padding-bottom: 160px; gap: 28px; }
  .integration-pair,
  .integration-pair--reverse {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 14px;
  }
  .integration-pair--reverse .logo-list { order: 2; }
  .integration-pair--reverse .info-card { order: 1; }
  .data-card { min-height: auto; }
  .data-card::before { background-size: 118px 94px; }
  .data-card::after { bottom: 94px; }
  .info-card { padding: 26px 22px; min-height: 300px; }
  .info-card .card-kicker,
  .info-card .integration-card-kicker { position: relative; top: auto; left: auto; margin-bottom: 18px; }
  .info-card h3 { margin-top: 0; font-size: clamp(34px, 9.5vw, 46px); }
  .logo-row { min-height: 92px; gap: 22px; padding: 16px 22px; font-size: 17px; }
  .logo-row .brand-icon { width: 56px; height: 56px; }

  .chat-section { padding: 0 0 170px; }
  .chat-section__title { margin-bottom: 44px; }
  .connect-steps { grid-template-columns: 1fr; gap: 36px; }
  .connect-steps h3 { margin-bottom: 16px; }
  .chat-window-shell { width: min(490px, 100%); height: min(690px, 135vw); }

  .security-section { min-height: auto; padding-bottom: 130px; }
  .security-grid { grid-template-columns: repeat(2, 1fr); margin-top: 42px; }
  .security-card:nth-child(2) { border-right: 0; }
  .security-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .final-cta { min-height: 440px; padding-top: 40px; }
  .integrations-footer { grid-template-columns: 1fr 1fr; padding-bottom: 72px; }
  .integrations-footer__copyright { bottom: 32px; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 20px); }
  .cursor-glow { display: none; }
  .hero-section { min-height: 820px; }
  .hero-section__inner { min-height: 820px; padding-top: 170px; }
  .pill { min-height: 30px; font-size: 12px; }
  .hero-section h1 { font-size: clamp(38px, 12vw, 54px); }
  .hero-section__lead { font-size: 14px; }
  .ui-btn { font-size: 12px; }
  .hero-section__btn,
  .final-cta__btn { width: min(250px, 100%); }
  .integration-kicker,
  .integration-card-kicker { font-size: 9px; letter-spacing: 3px; }
  .intro-section h2 br:not(.br-mobile-only),
  .final-cta h2 br:not(.br-mobile-only) { display: none; }
  .intro-section h2 .br-mobile-only,
  .final-cta h2 .br-mobile-only { display: inline; }
  .info-card { min-height: 280px; }
  .info-card h3 { font-size: clamp(32px, 11vw, 42px); }
  .card-copy p { font-size: 12px; }
  .logo-row { font-size: 15px; min-height: 82px; }
  .logo-row .brand-icon { width: 50px; height: 50px; }
  .connect-steps li { grid-template-columns: 34px 1fr; }
  .chat-window-shell { height: 620px; }
  .security-grid { grid-template-columns: 1fr; }
  .security-card { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .security-card:last-child { border-bottom: 0; }
  .integrations-footer { grid-template-columns: 1fr; gap: 28px; }
  .integrations-footer__nav { gap: 14px; }
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none; }
  .ui-btn,
  .brand-icon,
  .logo-row,
  .integrations-header__nav a,
  .integrations-footer__nav a { transition: none; }
}

/* ---------- Reference responsive polish: tablet + mobile ---------- */
@media (max-width: 1180px) {
.hero-icon-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  color: rgba(255,255,255,.28);
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
}
.hero-icon-item > span { display: none; }
}
.br-mobile { display: none; }
.mobile-space { display: none; }
.intro-space { display: inline; }
.hero-icon-item:hover .brand-icon,
.hero-icon-item:focus-within .brand-icon {
  transform: translateZ(0) scale(1.05);
  filter: brightness(1.25) saturate(1.15) drop-shadow(0 0 22px rgba(123, 185, 255, .72));
}
.final-cta__mobile-label { display: none; }

@media (min-width: 861px) and (max-width: 1100px) {
  :root { --shell: min(858px, calc(100vw - 164px)); }

  body::before { width: 420px; height: 420px; top: -220px; left: 100px; opacity: .7; }
  body::after { width: 520px; height: 520px; right: -240px; bottom: 10vh; opacity: .55; }

  .line-grid { width: 100vw; background-size: 240px 213px, 240px 213px; opacity: .48; mask-image: none; }
  .line-grid--hero { top: 0; height: 1180px; }
  .line-grid--mid { top: 1120px; height: 3900px; opacity: .38; }
  .line-grid--bottom { top: 7200px; height: 1000px; opacity: .34; }
  .dot-matrix { display: block; opacity: .32; width: 260px; height: 260px; background-size: 7px 7px; }
  .dot-matrix--left { left: 150px; top: 86px; }
  .dot-matrix--right { right: 150px; top: 86px; }
  .blue-shape { opacity: .82; }
  .blue-shape--top { right: -135px; top: 55px; width: 560px; height: 210px; clip-path: polygon(18% 0, 100% 31%, 87% 100%, 0 38%); border-radius: 0; }
  .blue-shape--left { left: auto; right: -360px; top: 2940px; width: 880px; height: 1540px; clip-path: polygon(38% 0, 100% 22%, 72% 90%, 25% 78%, 0 36%); transform: rotate(3deg); }
  .blue-shape--right { right: -190px; top: 5860px; width: 760px; height: 900px; clip-path: polygon(0 0, 100% 12%, 100% 68%, 22% 100%, 0 76%, 32% 42%); transform: rotate(-5deg); }
  .blue-shape--bottom { right: -270px; top: 7350px; width: 900px; height: 1180px; clip-path: polygon(28% 0, 100% 40%, 100% 73%, 43% 100%, 27% 92%, 0 6%); transform: rotate(-10deg); }

  .integrations-header {
    position: absolute;
    top: 10px;
    left: 50%;
    width: min(770px, calc(100vw - 128px));
    height: 76px;
    padding: 0 24px 0 25px;
    border-radius: 14px;
    background: rgba(8,8,13,.94);
  }
  .integrations-header__logo { font-size: 19px; letter-spacing: -.02em; }
  .integrations-header__cta { display: none; }
  .integrations-header__burger {
    display: inline-flex;
    width: 50px;
    height: 50px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }
  .integrations-header__burger span { width: 33px; height: 2px; background: currentColor; transition: transform .22s ease, opacity .22s ease; }
  .integrations-header.is-open .integrations-header__burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .integrations-header.is-open .integrations-header__burger span:nth-child(2) { opacity: 0; }
  .integrations-header.is-open .integrations-header__burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .integrations-header__nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(10,10,15,.98);
    box-shadow: 0 18px 40px rgba(0,0,0,.38);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .integrations-header.is-open .integrations-header__nav { display: flex; }
  .integrations-header__nav a { padding: 14px 16px; border-radius: 10px; font-size: 15px; }
  .integrations-header__nav a:hover,
  .integrations-header__nav a:focus-visible { background: rgba(255,255,255,.045); }

  .hero-section { min-height: 790px; }
  .hero-section::before { top: 44px; height: 430px; opacity: .42; }
  .hero-section::after { top: 470px; opacity: .72; }
  .hero-section__inner { min-height: 790px; padding-top: 132px; }
  .pill { min-height: 44px; padding: 0 24px; margin-bottom: 21px; border-radius: 999px; font-size: 20px; font-weight: 400; }
  .hero-section h1 { font-size: 66px; line-height: .98; letter-spacing: -.055em; }
  .hero-section__lead { max-width: 620px; margin-top: 22px; font-size: 19px; line-height: 1.24; }
  .hero-section__btn { margin-top: 60px; width: 250px; height: 44px; }
  .hero-section__note { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,.33); }
  .hero-icons { display: none; }

  .intro-section { min-height: 325px; padding-top: 28px; }
  .integration-kicker, .integration-card-kicker { font-size: 12px; letter-spacing: 3px; }
  .intro-section h2,
  .chat-section h2,
  .security-section h2,
  .final-cta h2 { font-size: 48px; line-height: 1.18; letter-spacing: -.045em; }
  .intro-section p:not(.section-kicker),
  .chat-section__title p:not(.section-kicker),
  .final-cta p { font-size: 18px; line-height: 1.45; }

  .integration-map { padding-top: 0; padding-bottom: 260px; gap: 76px; }
  .integration-pair,
  .integration-pair--reverse { display: flex; flex-direction: column; gap: 0; min-height: 0; }
  .integration-pair--reverse .info-card { order: 1; }
  .integration-pair--reverse .logo-list { order: 2; }
  .data-card { min-height: 0; background: rgba(8,13,22,.42); }
  .data-card::before { background-size: 138px 122px; opacity: .62; }
  .info-card { min-height: 270px; display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
  .info-card.data-card::after { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: rgba(255,255,255,.18); }
  .logo-list.data-card::after { display: none; }
  .info-card .card-kicker,
  .info-card .integration-card-kicker { top: -39px; left: 24px; }
  .info-card h3 { margin: 0; padding: 34px 24px 28px; font-size: 50px; line-height: 1.02; letter-spacing: -.055em; align-self: stretch; }
  .card-copy { margin: 0; padding: 35px 24px 28px; align-self: stretch; }
  .card-copy p { margin-bottom: 16px; font-size: 16px; line-height: 1.2; color: rgba(255,255,255,.48); }
  .logo-row { min-height: 122px; gap: 66px; padding: 24px 32px; font-size: 24px; }
  .logo-row .brand-icon { width: 74px; height: 74px; }
  .logo-list--single .logo-row::after { display: none; }

  .chat-section { padding: 130px 0 250px; }
  .chat-section__shell { width: var(--shell); }
  .chat-section__title { margin-bottom: 195px; }
  .chat-section h2 { font-size: 56px; line-height: 1.05; font-weight: 400; }
  .chat-section__title p:not(.section-kicker):not(.integration-kicker) { margin-top: 18px; font-size: 16px; color: rgba(255,255,255,.56); }
  .connect-flow { display: flex; flex-direction: column; align-items: center; gap: 0; }
  .chat-window-shell { order: 1; position: relative; width: 858px; max-width: 100%; height: 610px; border-radius: 14px; overflow: hidden; }
  .chat-frame { position: absolute; left: 50%; top: 50%; width: 490px; height: 690px; transform: translate(-50%, -50%) rotate(90deg) scale(1.244); transform-origin: center center; }
  .connect-steps { order: 2; width: 100%; margin-top: 76px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 70px; }
  .connect-steps li { display: block; }
  .connect-steps__num { display: none; }
  .connect-steps h3 { margin: 0 0 38px; font-size: 24px; line-height: 1.12; }
  .connect-steps p { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.53); }

  .security-section { min-height: 760px; padding-top: 0; }
  .security-section h2 { margin-top: 31px; font-size: 48px; line-height: 1.1; }
  .security-grid { grid-template-columns: repeat(2, 1fr); width: 858px; max-width: 100%; min-height: 382px; margin-top: 56px; }
  .security-grid::before { inset: -40px; background-size: 240px 188px; opacity: .52; }
  .security-card { min-height: 191px; border-right: 1px solid #fff; border-bottom: 1px solid #fff; }
  .security-card:nth-child(2n) { border-right: 0; }
  .security-card:nth-child(n+3) { border-bottom: 0; }
  .security-card svg { width: 30px; height: 30px; margin-bottom: 22px; }
  .security-card h3 { font-size: 22px; }
  .security-card p { margin-top: 8px; font-size: 15px; line-height: 1.2; }

  .final-cta { min-height: 900px; padding-top: 260px; }
  .final-cta h2 { font-size: 66px; line-height: 1.08; }
  .final-cta__btn { margin-top: 61px; width: 250px; height: 44px; }
  .final-cta p { margin-top: 20px; font-size: 14px; }

  .integrations-footer { width: min(770px, calc(100vw - 128px)); min-height: 275px; padding: 38px 0 48px; grid-template-columns: .85fr 1fr 1.55fr 1fr; gap: 44px; }
  .integrations-footer__logo { font-size: 19px; }
  .integrations-footer__nav { gap: 28px; }
  .integrations-footer__nav a,
  .integrations-footer__support,
  .integrations-footer__support a { font-size: 14px; line-height: 1.25; }
  .integrations-footer__copyright { bottom: 35px; font-size: 13px; }
}

@media (max-width: 860px) {
  :root { --shell: min(343px, calc(100vw - 32px)); }
  .br-mobile { display: initial; }
  .br-desktop { display: none; }
  .mobile-space { display: inline; }

  body::before { width: 280px; height: 280px; top: -150px; left: -145px; opacity: .72; }
  body::after { width: 320px; height: 320px; right: -220px; bottom: 20vh; opacity: .62; }
  .cursor-glow { display: none; }
  .page-bg { min-height: 100%; }
  .line-grid { width: 100vw; background-size: 185px 185px, 185px 185px; opacity: .36; mask-image: none; }
  .line-grid--hero { top: 0; height: 930px; }
  .line-grid--mid { top: 840px; height: 3000px; opacity: .32; }
  .line-grid--bottom { top: 5200px; height: 820px; opacity: .28; }
  .dot-matrix { display: block; width: 92px; height: 92px; background-size: 9px 9px; opacity: .48; }
  .dot-matrix--left { left: 14px; top: 302px; }
  .dot-matrix--right { right: 14px; top: 302px; }
  .blue-shape { opacity: .86; }
  .blue-shape--top { right: -10px; top: 68px; width: 390px; height: 284px; clip-path: polygon(100% 0, 100% 41%, 86% 100%, 0 49%); border-radius: 0; }
  .blue-shape--left { left: -180px; top: 1670px; width: 620px; height: 600px; clip-path: polygon(76% 0, 100% 55%, 43% 100%, 0 28%); transform: rotate(-10deg); }
  .blue-shape--right { right: -205px; top: 2980px; width: 455px; height: 600px; clip-path: polygon(48% 0, 100% 24%, 64% 100%, 0 48%); transform: rotate(4deg); }
  .blue-shape--bottom { right: -186px; top: 5260px; width: 610px; height: 700px; clip-path: polygon(72% 0, 100% 76%, 52% 92%, 0 64%, 36% 36%); transform: rotate(-7deg); }

  .integrations-header { position: absolute; left: 50%; top: 33px; width: var(--shell); height: 58px; padding: 0 16px; border-radius: 7px; background: rgba(8,8,13,.95); }
  .integrations-header__logo { font-size: 20px; letter-spacing: -.03em; }
  .integrations-header__cta { display: none; }
  .integrations-header__burger { display: inline-flex; width: 38px; height: 38px; margin-left: auto; align-items: center; justify-content: center; flex-direction: column; gap: 6px; border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
  .integrations-header__burger span { width: 24px; height: 1.7px; background: currentColor; transition: transform .22s ease, opacity .22s ease; }
  .integrations-header.is-open .integrations-header__burger span:nth-child(1) { transform: translateY(7.7px) rotate(45deg); }
  .integrations-header.is-open .integrations-header__burger span:nth-child(2) { opacity: 0; }
  .integrations-header.is-open .integrations-header__burger span:nth-child(3) { transform: translateY(-7.7px) rotate(-45deg); }
  .integrations-header__nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; padding: 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.08); background: rgba(10,10,15,.98); box-shadow: 0 18px 40px rgba(0,0,0,.38); flex-direction: column; align-items: stretch; gap: 0; }
  .integrations-header.is-open .integrations-header__nav { display: flex; }
  .integrations-header__nav a { padding: 12px 14px; border-radius: 8px; font-size: 14px; }
  .integrations-header__nav a:hover,
  .integrations-header__nav a:focus-visible { background: rgba(255,255,255,.045); }

  .hero-section { min-height: 650px; }
  .hero-section::before { top: 0; height: 430px; opacity: .38; }
  .hero-section::after { top: 325px; opacity: .55; }
  .hero-section__inner { min-height: 650px; padding-top: 161px; }
  .pill { min-height: 28px; padding: 0 19px; margin: 0 0 21px; font-size: 14px; font-weight: 400; }
  .hero-section h1 { font-size: 24px; line-height: .96; letter-spacing: -.045em; }
  .hero-section__lead {
    max-width: 290px;
    margin-top: 20px;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0.2px;
    text-align: center;
  }
  .hero-section__lead br { display: none; }
  .hero-section__lead .br-mobile-only { display: inline; }
  .br-desktop-only { display: none; }
  .hero-section__btn { width: var(--shell); height: 44px; margin-top: 28px; border-radius: 7px; font-size: 13px; }
  .hero-section__note { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,.31); }
  .hero-icons { width: var(--shell); max-width: var(--shell); margin-top: 58px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; column-gap: 12px; justify-items: center; align-items: center; opacity: 1; mask-image: none; }
  .hero-icon-item { justify-content: flex-start; width: 100%; gap: 6px; color: rgba(255,255,255,.88); font-size: 11px; font-weight: 500; line-height: 1; white-space: nowrap; }
  .hero-icon-item > span { display: inline; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .hero-icon-item:nth-child(1) { order: 5; }
  .hero-icon-item:nth-child(2) { order: 6; }
  .hero-icon-item:nth-child(3) { order: 7; }
  .hero-icon-item:nth-child(4) { order: 8; }
  .hero-icon-item:nth-child(5) { order: 1; }
  .hero-icon-item:nth-child(6) { order: 2; }
  .hero-icon-item:nth-child(7) { order: 3; }
  .hero-icon-item:nth-child(8) { order: 4; }
  /* Bottom row (WB, Озон, МойСклад, Т-Банк) — visually faded */
  .hero-icon-item:nth-child(1),
  .hero-icon-item:nth-child(2),
  .hero-icon-item:nth-child(3),
  .hero-icon-item:nth-child(4) { color: rgba(255,255,255,.32); }
  .hero-icon-item:nth-child(1) > img,
  .hero-icon-item:nth-child(2) > img,
  .hero-icon-item:nth-child(3) > img,
  .hero-icon-item:nth-child(4) > img { opacity: .38; }
  .brand-icon--tiny { width: 16px; height: 16px; }

  .intro-section { min-height: 245px; padding: 24px 0 0; text-align: center; }
  .integration-kicker, .integration-card-kicker { font-size: 10px; letter-spacing: 3px; }
  .intro-section h2,
  .chat-section h2,
  .security-section h2,
  .final-cta h2 {
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0.4px;
    text-align: center;
  }
  .intro-section h2 { margin-top: 16px; }
  .intro-section p:not(.section-kicker):not(.integration-kicker),
  .chat-section__title p:not(.section-kicker):not(.integration-kicker),
  .final-cta p {
    margin-top: 17px;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0.2px;
    text-align: center;
  }

  .integration-map { width: var(--shell); padding-top: 0; padding-bottom: 160px; gap: 29px; }
  .integration-pair,
  .integration-pair--reverse { display: flex; flex-direction: column; gap: 0; min-height: 0; }
  .integration-pair--reverse .info-card { order: 1; }
  .integration-pair--reverse .logo-list { order: 2; }
  .data-card { min-height: 0; background: rgba(8,13,22,.42); border-color: rgba(255,255,255,.18); }
  .data-card::before { background-size: 91px 74px; opacity: .52; }
  .data-card::after { display: none; }
  .info-card { min-height: 220px; padding: 0; display: block; }
  .info-card .card-kicker,
  .info-card .integration-card-kicker { top: -38px; left: 8px; color: rgba(255,255,255,.54); }
  .info-card h3 { margin: 0; min-height: 108px; padding: 18px 15px 11px; font-size: 25px; line-height: .96; letter-spacing: -.05em; display: flex; align-items: flex-start; }
  .card-copy { margin: 0; min-height: 112px; padding: 17px 15px 14px; border-top: 1px solid rgba(255,255,255,.16); }
  .card-copy p { margin-bottom: 8px; font-size: 11px; line-height: 1.22; color: rgba(255,255,255,.43); }
  .logo-row { min-height: 76px; gap: 61px; padding: 0 16px; font-size: 16px; line-height: 1; }
  .logo-row .brand-icon { width: 42px; height: 42px; }
  .logo-list--single .logo-row::after { display: none; }

  .chat-section { padding: 82px 0 105px; }
  .chat-section__shell { width: var(--shell); }
  .chat-section__title { margin-bottom: 29px; }
  .chat-section h2 { margin-top: 18px; font-weight: 400; }
  .chat-section__title p:not(.section-kicker):not(.integration-kicker) { margin-top: 15px; color: rgba(255,255,255,.78); }
  .connect-flow { display: flex; flex-direction: column; align-items: center; gap: 0; }
  .chat-window-shell { order: 1; position: relative; width: var(--shell); height: 490px; border-radius: 10px; overflow: hidden; }
  .chat-frame { position: absolute; inset: 0; width: 100%; height: 100%; transform: none; }
  .chat-window-shell::after { content: none; display: none; }
  .chat-window-shell::before { content: none; display: none; }
  .connect-steps { order: 2; width: 100%; display: block; margin-top: 38px; border: 1px dashed rgba(255,255,255,.12); }
  .connect-steps { counter-reset: cstep; }
  .connect-steps li { display: block; padding: 18px 15px 19px; border-bottom: 1px dashed rgba(255,255,255,.12); counter-increment: cstep; }
  .connect-steps li:last-child { border-bottom: 0; }
  .connect-steps__num { display: none; }
  .connect-steps h3 { margin: 0 0 10px; font-family: Inter, sans-serif; font-size: 16px; font-weight: 700; line-height: 21.26px; letter-spacing: 0.28px; color: #f7f7f8; vertical-align: middle; }
  .connect-steps h3::before { content: counter(cstep) ". "; }
  .connect-steps p { margin-bottom: 8px; font-family: Inter, sans-serif; font-size: 12px; font-weight: 500; line-height: 21.26px; letter-spacing: 0; color: rgba(255,255,255,.58); }

  .security-section { min-height: 500px; padding-top: 60px; }
  .security-section h2 { margin-top: 18px; font-size: 26px; line-height: .98; font-weight: 400; }
/* FIX: security grid как на скрине */
@media (max-width: 860px) {
  .security-grid {
    width: var(--shell) !important;
    margin: 52px auto 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    min-height: 220px !important;

    border: 1px solid rgba(255, 255, 255, .22) !important;
    background: rgba(8, 13, 22, .52) !important;
    position: relative !important;
    overflow: hidden !important;
  }

  /* убираем белую палку снизу */
  .security-grid::before,
  .security-grid::after {
    display: none !important;
    content: none !important;
  }

  .security-card {
    min-height: 110px !important;
    padding: 18px 10px 15px !important;
    border: 0 !important;
    background: transparent !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* вертикальная линия между колонками */
  .security-card:nth-child(1),
  .security-card:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, .18) !important;
  }

  /* горизонтальная линия между рядами */
  .security-card:nth-child(1),
  .security-card:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, .18) !important;
  }

  .security-card svg {
    width: 13px !important;
    height: 13px !important;
    margin-bottom: 10px !important;
  }

  .security-card h3 {
    font-size: 10px !important;
    line-height: 1.12 !important;
    text-align: center !important;
  }

  .security-card p {
    margin-top: 4px !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    color: rgba(255, 255, 255, .42) !important;
  }
}

  .final-cta {
    min-height: 430px;
    padding-top: 94px;
    overflow: visible;
  }
  .final-cta::before {
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0,
      #000 48px,
      #000 calc(100% - 110px),
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0,
      #000 48px,
      #000 calc(100% - 110px),
      transparent 100%
    );
  }
  .final-cta::after {
    position: absolute;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    bottom: -96px;
    height: 180px;
    pointer-events: none;
    z-index: -1;
    background:
      linear-gradient(180deg,
        rgba(17, 27, 47, 0) 0%,
        rgba(17, 27, 47, 0.42) 38%,
        rgba(13, 19, 32, 0.82) 72%,
        #0a0d14 100%);
  }
  .final-cta h2 {
    max-width: var(--shell);
    font-family: Inter, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0.2px;
    color: #fff;
    text-align: center;
  }
  .final-cta__btn {
    width: var(--shell);
    height: 48px;
    margin-top: 28px;
    border-radius: 10px;
    background: #fff;
    color: #1a1c20;
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-weight: 500;
  }
  .final-cta__desktop-label { display: none; }
  .final-cta__mobile-label { display: inline; }
  .final-cta p {
    max-width: 320px;
    margin-top: 18px;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255,255,255,.48);
    text-align: center;
  }

  .integrations-footer { width: var(--shell); min-height: 360px; padding: 0 0 34px; grid-template-columns: 1fr 1fr; column-gap: 28px; row-gap: 28px; }
  .integrations-footer__logo { grid-column: 1 / -1; font-size: 20px; }
  .integrations-footer__nav { gap: 20px; }
  .integrations-footer__nav a,
  .integrations-footer__support,
  .integrations-footer__support a { font-size: 12px; line-height: 1.25; }
  .integrations-footer__support { display: grid; grid-template-columns: 1fr 1fr; grid-column: 1 / -1; gap: 28px; }
  .integrations-footer__copyright { bottom: 11px; font-size: 11px; color: rgba(255,255,255,.18); }
}

@media (max-width: 374px) {
  :root { --shell: calc(100vw - 28px); }
  .integrations-header { top: 28px; }
  .hero-section h1,
  .intro-section h2,
  .chat-section h2,
  .security-section h2,
  .final-cta h2 { font-size: 23px; }
  .logo-row { gap: 46px; }
  .hero-icon-item { font-size: 9px; }
}

@media (max-width: 860px) {
  .intro-section h2 .br-mobile br { display: initial !important; }
  .intro-section h2 .br-desktop br { display: none !important; }
  .info-card h3 { display: block; }
}

@media (max-width: 860px) {
  .info-card .card-kicker,
  .info-card .integration-card-kicker { position: absolute; }
}

@media (max-width: 860px) {
  .chat-section { padding-top: 124px; padding-bottom: 63px; }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .page-bg { inset: 0 0 auto 0; height: 8675px; }
}

@media (max-width: 860px) {
  .page-bg { inset: 0 0 auto 0; height: 6111px; }
  .integrations-footer {
    display: block;
    min-height: 288px;
    padding: 0 0 20px;
  }
  .integrations-footer__logo {
    position: absolute;
    top: 0;
    left: 0;
  }
  .integrations-footer__nav--main,
  .integrations-footer__nav--docs {
    position: absolute;
    top: 60px;
  }
  .integrations-footer__nav--main { left: 0; }
  .integrations-footer__nav--docs { left: calc(50% + 8px); }
  .integrations-footer__support {
    position: absolute;
    left: 0;
    right: 0;
    top: 210px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .integrations-footer__copyright { bottom: 0; }

/* Hero SVG background from main page */
.hero-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
}
/* убираем старые линии/кресты именно в hero */
.hero-section::before,
.hero-section::after {
  display: none;
}

.line-grid--hero,
.dot-matrix--left,
.dot-matrix--right,
.blue-shape--top {
  display: none;
}

.integrations-hero-art {
  position: absolute;
  top: 104px;
  left: 50%;
  z-index: 0;
  width: min(1695px, calc(100vw - 32px));
  height: 729px;
  transform: translateX(-50%);
  pointer-events: none;
}

.integrations-hero-grid {
  position: absolute;
  top: 75px;
  left: 50%;
  width: min(1534px, 100%);
  height: auto;
  transform: translateX(-50%);
  opacity: .78;
  mix-blend-mode: screen;
}

.integrations-hero-orbits {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: auto;
  transform: translateX(-50%);
  opacity: 1;
}

.hero-section__inner {
  position: relative;
  z-index: 2;
}

/* tablet */
@media (max-width: 1180px) {
  .integrations-hero-art {
    top: 88px;
    transform: translateX(-50%) scale(.8);
    transform-origin: top center;
  }
}

/* mobile */
@media (max-width: 860px) {
  .integrations-hero-art {
    top: 42px;
    transform: translateX(-50%) scale(.6);
    transform-origin: top center;
    opacity: .95;
  }

  .integrations-hero-grid {
    top: 75px;
    opacity: .72;
  }

  .integrations-hero-orbits {
    opacity: .95;
  }
}
/* ===============================
   FINAL FIX: hero icons + logo cards
================================ */

/* Нижние логотипы в карточках */
.logo-row .brand-icon {
  width: 70px !important;
  height: 70px !important;
  min-width: 70px !important;
  flex: 0 0 70px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  transform: none !important;
}

/* Верхняя строка иконок в hero */
.hero-icons {
  margin-top: 81px !important;
  width: min(1120px, calc(100vw - 32px)) !important;
  max-width: none !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 24px !important;
  opacity: .92 !important;
  overflow: hidden !important;
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%) !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%) !important;
}

.hero-icons .hero-icon-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: auto !important;
  min-width: max-content !important;
  color: rgba(255, 255, 255, .28) !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  letter-spacing: -.02em !important;
  white-space: nowrap !important;
}

.hero-icons .hero-icon-item > span {
  display: inline-block !important;
  order: 2 !important;
  color: rgba(255, 255, 255, .28) !important;
  overflow: visible !important;
  text-overflow: initial !important;
}

.hero-icons .hero-icon-item > img {
  order: 1 !important;
}

.hero-icons .brand-icon.brand-icon--tiny {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  flex: 0 0 16px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  filter:
    brightness(1.15)
    saturate(1.2)
    drop-shadow(0 0 7px rgba(90, 160, 255, .85))
    drop-shadow(0 0 16px rgba(90, 160, 255, .34)) !important;
}

/* Hover отдельно для hero, чтобы не ломал нижние карточки */
.hero-icons .brand-icon:hover,
.hero-icons .brand-icon:focus-visible {
  transform: none !important;
  filter:
    brightness(1.25)
    saturate(1.25)
    drop-shadow(0 0 9px rgba(110, 180, 255, .95))
    drop-shadow(0 0 18px rgba(110, 180, 255, .45)) !important;
}

/* Tablet */
@media (min-width: 861px) and (max-width: 1100px) {
  .hero-icons {
    display: flex !important;
    margin-top: 64px !important;
    width: min(940px, calc(100vw - 64px)) !important;
    gap: 18px !important;
  }

  .hero-icons .hero-icon-item {
    font-size: 13px !important;
    gap: 7px !important;
  }

  .hero-icons .brand-icon.brand-icon--tiny {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    flex-basis: 15px !important;
  }

  .logo-row .brand-icon {
    width: 74px !important;
    height: 74px !important;
    min-width: 74px !important;
    flex-basis: 74px !important;
  }
}

/* Mobile */
@media (max-width: 860px) {
  .hero-icons {
    width: min(1204px, calc(100vw - 32px)) !important;
    max-width: min(1204px, calc(100vw - 32px)) !important;
    margin-top: 58px !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    row-gap: 16px !important;
    column-gap: 10px !important;
    justify-items: start !important;
    align-items: center !important;
    opacity: .62 !important;
    overflow: visible !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }

  .hero-icons .hero-icon-item {
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 5px !important;
    color: rgba(255, 255, 255, .17) !important;
    font-size: 10px !important;
    line-height: 1 !important;
    overflow: hidden !important;
  }

  .hero-icons .hero-icon-item > span {
    display: inline !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: rgba(255, 255, 255, .17) !important;
  }

  .hero-icons .brand-icon.brand-icon--tiny {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    flex-basis: 12px !important;
  }

  .logo-row .brand-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    flex-basis: 42px !important;
  }
}

@media (max-width: 560px) {
  .logo-row .brand-icon {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    flex-basis: 50px !important;
  }
}

/* FIX: убираем прямоугольный hover у hero icons */
.hero-icons .hero-icon-item {
  position: relative !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.hero-icons .hero-icon-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(
    circle,
    rgba(90, 160, 255, .42) 0%,
    rgba(90, 160, 255, .18) 45%,
    transparent 72%
  );
  opacity: .75;
  filter: blur(5px);
  pointer-events: none;
  z-index: 0;
}

.hero-icons .brand-icon.brand-icon--tiny {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 50% !important;
  clip-path: circle(50%) !important;
  box-shadow: none !important;
  filter: brightness(1.12) saturate(1.15) !important;
}

/* hover теперь круглый, без прямоугольной плашки */
.hero-icons .hero-icon-item:hover,
.hero-icons .hero-icon-item:focus-visible {
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.hero-icons .hero-icon-item:hover::before,
.hero-icons .hero-icon-item:focus-visible::before {
  opacity: 1;
  transform: translateY(-50%) scale(1.35);
  background: radial-gradient(
    circle,
    rgba(110, 180, 255, .75) 0%,
    rgba(110, 180, 255, .28) 44%,
    transparent 74%
  );
}

.hero-icons .hero-icon-item:hover .brand-icon,
.hero-icons .hero-icon-item:focus-visible .brand-icon,
.hero-icons .brand-icon:hover,
.hero-icons .brand-icon:focus-visible {
  transform: none !important;
  box-shadow: none !important;
  filter: brightness(1.22) saturate(1.2) !important;
}

/* на всякий случай убираем наследование hover от общих logo-row правил */
.logo-row:hover .brand-icon,
.logo-row:focus-visible .brand-icon {
  transform: translateZ(0) scale(1.05);
  filter: brightness(1.25) saturate(1.15) drop-shadow(0 0 22px rgba(123, 185, 255, .72));
}


.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-weight: 600; line-height: 32px; letter-spacing: .3px; }
.main-header__nav { display: flex; gap: 32px; height: 100%; align-items: center; }
.main-header__link { color: #9c9c9d; font-size: 14px; font-weight: 500; line-height: normal; letter-spacing: .2px; transition: color .25s ease, text-shadow .25s ease; }
.main-header__link:hover, .main-header__link:focus-visible, .main-header__link[aria-current="page"] { color: #f2f2f3; text-shadow: 0 0 16px rgba(255,255,255,.32); }
.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;
}
.main-header__cta:hover, .main-header__cta:focus-visible { transform: translateY(-2px); background: #f2f2f2; box-shadow: inset 0 1px 0 rgba(255,255,255,.84), 0 14px 34px rgba(255,255,255,.14); }
.main-header__burger { display: none; }



/* =========================================================
   TABLET LANDSCAPE: 901px-1180px
   ========================================================= */

@media (min-width: 901px) and (max-width: 1180px) {
  .main-header {
    top: 10px;
    left: 50%;
    right: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 74px auto auto;
    width: min(770px, calc(100% - 64px));
    height: 76px;
    min-height: 76px;
    margin: 0;
    padding: 0 23px;
    align-items: center;
    align-content: start;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(9, 10, 16, 0.94);
    transform: translateX(-50%);
  }

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

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

  .main-header__burger svg {
    width: 46px;
    height: 36px;
  }

  .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;
    font-weight: 600;
    text-align: center;
    opacity: 0.92;
  }

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

  .main-header.is-open {
    height: auto;
    min-height: 76px;
    padding: 0 23px 14px;
    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;
    min-height: 44px;
    padding-top: 14px;
    padding-bottom: 14px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 40ms;
  }
}
  
@media (min-width: 721px) and (max-width: 900px) {
  .main-header {
    top: 14px;
    left: 50%;
    right: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 58px auto auto;
    width: min(720px, calc(100% - 32px));
    height: 58px;
    min-height: 58px;
    margin: 0;
    padding: 0 16px;
    align-items: center;
    align-content: start;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(9, 11, 18, 0.96);
    transform: translateX(-50%);
  }

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

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

  .main-header__burger svg {
    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;
  }

  .main-header__cta {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    max-height: 0;
    min-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
  }
}
  
/* =========================================================
   MOBILE HEADER: 768px-
   ========================================================= */

@media (max-width: 768px) {
  .main-header {
    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: 8px;
    background: rgba(9, 11, 18, 0.96);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 10px 30px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(8px);
    transform: none;
  }

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

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

  .main-header__burger svg {
    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;
    font-weight: 600;
    text-align: center;
    opacity: 0.92;
  }

  .main-header__cta {
    grid-column: 1 / -1;
    display: inline-flex;
    width: 100%;
    max-width: 100%;
    max-height: 0;
    min-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      max-height 260ms ease,
      min-height 260ms ease,
      padding 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;
    min-height: 44px;
    padding-top: 14px;
    padding-bottom: 14px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 40ms;
  }
}


/* ===============================
   Background arrows fixed
================================ */

.page-bg {
  position: absolute;
  inset: 0;
  min-height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.cap-bg-arrow {
  position: absolute;
  z-index: 5;
  display: block;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  mix-blend-mode: screen;
}

.integration-map { position: relative; isolation: isolate; }

/* Desktop */
.cap-bg-arrow--left {
  top: -300px;
  left: -950px;
  width: 1580px;
  height: 1890px;
  background-image: url("../img/svr1.svg");

  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 68%,
    rgba(0, 0, 0, .55) 84%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 68%,
    rgba(0, 0, 0, .55) 84%,
    transparent 100%
  );
}

.cap-bg-arrow--right {
  top: 1200px;
  left: auto;
  right: -950px;
  width: 1485px;
  height: 1572px;
  background-image: url("../img/svr2.svg");

  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, .55) 16%,
    #000 32%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, .55) 16%,
    #000 32%,
    #000 100%
  );
}

/* Tablet */
@media (max-width: 1180px) {
  .cap-bg-arrow--left {
    top: 700px;
    left: 0px;
    width: 1250px;
    height: 2100px;
  }

.cap-bg-arrow { position: absolute; z-index: 1; display: block; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }


  .cap-bg-arrow--right {
    top: 2480px;
    left: auto;
    right: -0px;
    width: 1160px;
    height: 2200px;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .cap-bg-arrow--left {
    top: 790px;
    left: -55px;
    width: 505px;
    height: 1568px;
  }

.cap-bg-arrow {
  position: absolute;
  z-index: 1;
  display: block;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  mix-blend-mode: screen;
}

  .cap-bg-arrow--right {
    top: 2510px;
    left: auto;
    right: -2px;
    width: 690px;
    height: 1560px;
  }
}

/* =========================================================
   HEADER FROM COMPARISON — TABLET + MOBILE
   Classes: .main-header
   ========================================================= */

/* TABLET LANDSCAPE: 901px–1180px */
@media (min-width: 901px) and (max-width: 1180px) {
  .main-header {
    top: 10px;
    left: 50%;
    right: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 74px auto auto;
    width: min(770px, calc(100% - 64px));
    height: 76px;
    min-height: 76px;
    margin: 0;
    padding: 0 23px;
    align-items: center;
    align-content: start;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(9, 10, 16, 0.94);
    transform: translateX(-50%);
    z-index: 1000;
  }

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

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

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

  .main-header__burger span {
    display: none;
  }

  .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;
    font-weight: 600;
    text-align: center;
    opacity: 0.92;
  }

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

  .main-header.is-open {
    height: auto;
    min-height: 76px;
    padding: 0 23px 14px;
    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;
    min-height: 44px;
    padding-top: 14px;
    padding-bottom: 14px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 40ms;
  }
}

/* TABLET PORTRAIT: 721px–900px */
@media (min-width: 721px) and (max-width: 900px) {
  .main-header {
    top: 14px;
    left: 50%;
    right: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 58px auto auto;
    width: min(720px, calc(100% - 32px));
    height: 58px;
    min-height: 58px;
    margin: 0;
    padding: 0 16px;
    align-items: center;
    align-content: start;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(9, 11, 18, 0.96);
    transform: translateX(-50%);
    z-index: 1000;
  }

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

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

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

  .main-header__burger span {
    display: none;
  }

  .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;
    font-weight: 600;
    text-align: center;
    opacity: 0.92;
  }

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

  .main-header.is-open {
    height: auto;
    min-height: 58px;
    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;
    min-height: 44px;
    padding-top: 14px;
    padding-bottom: 14px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 40ms;
  }
}

/* MOBILE: 768px and below */
@media (max-width: 768px) {
  .main-header {
    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;
    margin: 0;
    padding: 0 16px;
    align-items: center;
    align-content: start;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(9, 11, 18, 0.96);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 10px 30px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(8px);
    transform: none;
    z-index: 1000;
  }

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

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

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

  .main-header__burger span {
    display: none;
  }

  .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;
    font-weight: 600;
    text-align: center;
    opacity: 0.92;
  }

  .main-header__cta {
    grid-column: 1 / -1;
    display: inline-flex;
    width: 100%;
    max-width: 100%;
    max-height: 0;
    min-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      max-height 260ms ease,
      min-height 260ms ease,
      padding 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;
    min-height: 44px;
    padding-top: 14px;
    padding-bottom: 14px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 40ms;
  }
}


@media (min-width: 901px) and (max-width: 1180px) {
  .main-header {
    top: 10px;
    left: 50%;
    right: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 74px auto auto;
    width: min(770px, calc(100% - 64px));
    height: 76px;
    min-height: 76px;
    margin: 0;
    padding: 0 23px;
    align-items: center;
    align-content: start;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(9, 10, 16, 0.94);
    transform: translateX(-50%);
  }

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

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

  .main-header__burger svg {
    width: 46px;
    height: 36px;
  }

  .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;
    font-weight: 600;
    text-align: center;
    opacity: 0.92;
  }

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

  .main-header.is-open {
    height: auto;
    min-height: 76px;
    padding: 0 23px 14px;
    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;
    min-height: 44px;
    padding-top: 14px;
    padding-bottom: 14px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 40ms;
  }
    }

/* FIX: широкий чат на планшете, но без rotate */
@media (min-width: 861px) and (max-width: 1100px) {
  .chat-window-shell {
    width: 858px !important;
    max-width: 100% !important;
    height: 610px !important;
    overflow: hidden !important;
  }

  .chat-frame {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
  }
}

.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;
}

/* Request fixes: header breakpoint and 24px adaptive gutters */
.main-header {
  width: var(--shell) !important;
  max-width: var(--shell) !important;
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .main-header {
    top: 24px !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    width: min(1204px, calc(100vw - 32px)) !important;
    max-width: min(1204px, calc(100vw - 32px)) !important;
    height: 76px !important;
    min-height: 76px !important;
    margin-left: auto !important;
    margin-right: auto !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: none !important;
  }

  .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;
  }

  .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;
  }

  .main-header__cta:hover,
  .main-header__cta:focus-visible {
    transform: translateY(-2px) !important;
  }

  .main-header__link {
    display: inline-flex !important;
    padding: 0 !important;
    color: #9c9c9d !important;
    font-size: 14px !important;
    line-height: normal !important;
    font-weight: 500 !important;
    text-align: left !important;
  }

  .main-header__link:hover,
  .main-header__link:focus-visible,
  .main-header__link[aria-current="page"] {
    color: #f2f2f3 !important;
  }

  .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;
  }

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

@media (max-width: 1024px) {
  :root {
    --shell: calc(100vw - 48px);
  }

  .section-shell,
  .integration-map,
  .chat-section__shell,
  .security-grid,
  .integrations-footer {
    width: var(--shell) !important;
    max-width: none !important;
  }

  .main-header {
    left: 24px !important;
    right: 24px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .main-header {
    top: 24px !important;
  }
}

@media (max-width: 768px) {
  .main-header {
    top: 24px !important;
  }
}

/* Integration block grid background */
:root {
  --integration-grid-line: rgba(255, 255, 255, .18);
  --integration-grid-x: 138px;
  --integration-grid-y: 123px;
}

.data-card {
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .018), rgba(255, 255, 255, 0)),
    rgba(7, 11, 18, .82) !important;
  border-color: rgba(255, 255, 255, .26) !important;
}

.info-card.data-card {
  overflow: visible !important;
}

.logo-list.data-card {
  overflow: hidden !important;
}

.logo-list.data-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='654' height='123' viewBox='0 0 654 123' preserveAspectRatio='none'%3E%3Cpath d='M138.5 0V123M516.5 0V123M0 .5H654' stroke='white' stroke-opacity='.18' stroke-width='.5' stroke-dasharray='4 4'/%3E%3C/svg%3E") !important;
  /* Default: 3-row card → 3 cells */
  background-size: 100% calc(100% / 3) !important;
  background-position: left top !important;
  background-repeat: repeat-y !important;
  opacity: 1 !important;
}

/* 2-row card → 2 cells (Wildberries + Яндекс Маркет etc., Битрикс24 + amoCRM) */
.logo-list--two.data-card::before {
  background-size: 100% calc(100% / 2) !important;
}

/* Single row → 1 cell */
.logo-list--single.data-card::before {
  background-size: 100% 100% !important;
}

.info-card.data-card::before {
  content: none !important;
  display: none !important;
  background-image: none !important;
}

.info-card .card-kicker {
  position: absolute !important;
  z-index: 3 !important;
}

.data-card > * {
  position: relative;
  z-index: 1;
}

.logo-row {
  min-height: var(--integration-grid-y) !important;
  border-bottom: 0 !important;
}

.logo-row::before {
  content: "" !important;
  position: absolute !important;
  left: 29px !important;
  top: 50% !important;
  width: 80px !important;
  height: 80px !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04) !important;
}

.logo-row .brand-icon,
.logo-row span {
  position: relative !important;
  z-index: 1 !important;
}

.info-card.data-card::after {
  height: 1px !important;
  background: rgba(255, 255, 255, .24) !important;
}

.card-copy p {
  font-weight: 400 !important;
}

@media (min-width: 861px) and (max-width: 1100px) {
  :root {
    --integration-grid-x: 138px;
    --integration-grid-y: 123px;
  }

  .info-card.data-card::after {
    left: 50% !important;
    right: auto !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 1px !important;
    height: auto !important;
  }

  .integration-map {
    gap: 24px !important;
  }

  .integration-pair,
  .integration-pair--reverse {
    gap: 24px !important;
  }
}

@media (max-width: 860px) {
  :root {
    --integration-grid-x: 86px;
    --integration-grid-y: 74px;
  }

  .integration-map {
    gap: 24px !important;
  }

  .integration-pair,
  .integration-pair--reverse {
    gap: 24px !important;
  }
}

/* Integration cards reference layout */
@media (min-width: 1101px) {
  .integration-map {
    width: min(1204px, calc(100vw - 48px)) !important;
    gap: 106px !important;
  }

  .integration-pair {
    grid-template-columns: minmax(0, 510px) minmax(0, 654px) !important;
    gap: 40px !important;
    min-height: 368px !important;
  }

  .integration-pair--reverse {
    grid-template-columns: minmax(0, 654px) minmax(0, 510px) !important;
  }

  .data-card {
    min-height: 368px !important;
  }

  .info-card {
    padding: 0 !important;
    display: grid !important;
    grid-template-rows: 240px 128px !important;
  }

  .info-card.data-card::after {
    display: block !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 128px !important;
    width: auto !important;
    height: 1px !important;
  }

  .info-card h3 {
    margin: 0 !important;
    padding: 40px 24px 18px !important;
    align-self: start !important;
    font-size: 48px !important;
    line-height: .98 !important;
    letter-spacing: -.055em !important;
  }

  .info-card .card-kicker {
    top: -42px !important;
    left: 24px !important;
  }

  .card-copy {
    margin: 0 !important;
    padding: 23px 24px 0 !important;
    border-top: 0 !important;
  }

  .card-copy p {
    margin-bottom: 8px !important;
    font-size: 13px !important;
    line-height: 16px !important;
    font-weight: 400 !important;
  }

  .logo-row {
    min-height: 123px !important;
    padding: 0 34px !important;
    gap: 77px !important;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, .92) !important;
  }

  .logo-row .brand-icon {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    flex-basis: 70px !important;
  }

  .logo-row::before {
    left: 29px !important;
    width: 80px !important;
    height: 80px !important;
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .integration-pair,
  .integration-pair--reverse {
    min-height: 0 !important;
  }

  .info-card {
    display: grid !important;
    padding: 0 !important;
    grid-template-rows: minmax(190px, auto) minmax(104px, auto) !important;
    min-height: 294px !important;
  }

  .info-card.data-card::after {
    display: block !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 104px !important;
    width: auto !important;
    height: 1px !important;
  }

  .info-card h3 {
    padding: 24px !important;
    font-size: clamp(36px, 5vw, 48px) !important;
    line-height: 1 !important;
  }

  .card-copy {
    padding: 16px 24px 0 !important;
    border-top: 0 !important;
  }

  .logo-row {
    min-height: 104px !important;
  }
}

@media (max-width: 860px) {
  .logo-row::before {
    left: 11px !important;
    width: 52px !important;
    height: 52px !important;
  }
}

/* Integration tablet/mobile reference layout */
@media (min-width: 721px) and (max-width: 1100px) {
  .integration-map {
    width: min(858px, calc(100vw - 64px)) !important;
    gap: 66px !important;
  }

  .integration-pair,
  .integration-pair--reverse {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    position: relative !important;
    min-height: 0 !important;
  }

  .integration-pair::before,
  .integration-pair--reverse::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: -66px !important;
    height: 66px !important;
    z-index: 0 !important;
    pointer-events: none !important;
    border-top: none !important;
    border-bottom: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='858' height='66' viewBox='0 0 858 66' preserveAspectRatio='none'%3E%3Cpath d='M0.5 0V66M857.5 0V66' stroke='white' stroke-opacity='.12' stroke-width='.5' stroke-dasharray='4 4'/%3E%3C/svg%3E") !important;
    background-size: 100% 66px !important;
    background-repeat: no-repeat !important;
  }

  .integration-pair--reverse .info-card {
    order: 1 !important;
  }

  .integration-pair--reverse .logo-list {
    order: 2 !important;
  }

  .data-card {
    min-height: 0 !important;
    background: rgba(7, 11, 18, .78) !important;
    border-color: rgba(255, 255, 255, .24) !important;
  }

  .info-card.data-card {
    width: 100% !important;
    height: 240px !important;
    min-height: 240px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 422px) minmax(0, 436px) !important;
    grid-template-rows: none !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .info-card.data-card::after {
    display: block !important;
    left: 421px !important;
    right: auto !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 1px !important;
    height: auto !important;
    background: rgba(255, 255, 255, .24) !important;
  }

  .info-card h3 {
    margin: 0 !important;
    padding: 9px 24px !important;
    align-self: stretch !important;
    font-size: clamp(40px, 5.6vw, 56px) !important;
    line-height: 1 !important;
    letter-spacing: -.055em !important;
  }

  .card-copy {
    margin-left:16px !important;
    padding: 31px 13px 24px !important;
    border-top: 0 !important;
    align-self: stretch !important;
    font-family: Inter, sans-serif !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 100% !important;
    letter-spacing: 0 !important;
  }

  .card-copy p {
    margin-bottom: 12px !important;
    font-family: Inter, sans-serif !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 100% !important;
    letter-spacing: 0 !important;
  }

  .info-card .card-kicker {
    top: -42px !important;
    left: 24px !important;
  }

  .logo-list.data-card {
    width: 100% !important;
    height: 368px !important;
    min-height: 368px !important;
    overflow: hidden !important;
  }

  .logo-list.data-card::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='858' height='123' viewBox='0 0 858 123' preserveAspectRatio='none'%3E%3Cpath d='M138.5 0V123M720.5 0V123M0 .5H858' stroke='white' stroke-opacity='.18' stroke-width='.5' stroke-dasharray='4 4'/%3E%3C/svg%3E") !important;
    background-size: 100% 123px !important;
    background-repeat: repeat-y !important;
  }

  .logo-row {
    flex: 1 1 0 !important;
    min-height: 123px !important;
    padding: 0 34px !important;
    gap: 77px !important;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
  }

  .logo-row .brand-icon {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    flex-basis: 70px !important;
  }

  .logo-row::before {
    left: 29px !important;
    width: 80px !important;
    height: 80px !important;
  }
}

@media (max-width: 720px) {
  .integration-map {
    width: min(345px, calc(100vw - 32px)) !important;
    gap: 64px !important;
  }

  .integration-pair,
  .integration-pair--reverse {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    position: relative !important;
    min-height: 0 !important;
  }

  .integration-pair::before,
  .integration-pair--reverse::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: -66px !important;
    height: 66px !important;
    z-index: 0 !important;
    pointer-events: none !important;
    border-top: none !important;
    border-bottom: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='345' height='66' viewBox='0 0 345 66' preserveAspectRatio='none'%3E%3Cpath d='M0.5 0V66M344.5 0V66' stroke='white' stroke-opacity='.12' stroke-width='.5' stroke-dasharray='4 4'/%3E%3C/svg%3E") !important;
    background-size: 100% 66px !important;
    background-repeat: no-repeat !important;
  }

  .integration-pair--reverse .info-card {
    order: 1 !important;
  }

  .integration-pair--reverse .logo-list {
    order: 2 !important;
  }

  .data-card {
    min-height: 0 !important;
    background: rgba(7, 11, 18, .78) !important;
    border-color: rgba(255, 255, 255, .24) !important;
  }

  .info-card.data-card {
    height: 214px !important;
    min-height: 214px !important;
    display: block !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .info-card.data-card::after {
    display: block !important;
    left: 0 !important;
    right: 0 !important;
    top: 102px !important;
    bottom: auto !important;
    width: auto !important;
    height: 1px !important;
    background: rgba(255, 255, 255, .24) !important;
  }

  .info-card h3 {
    min-height: 102px !important;
    margin: 0 !important;
    padding: 18px 12px 10px !important;
    display: block !important;
    font-size: 25px !important;
    line-height: .96 !important;
    letter-spacing: -.05em !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  .card-copy {
    min-height: 112px !important;
    margin: 0 !important;
    padding: 17px 12px 14px !important;
    border-top: 0 !important;
  }

  .card-copy p {
    margin-bottom: 8px !important;
    font-size: 11px !important;
    line-height: 14px !important;
    font-weight: 400 !important;
  }

  .info-card .card-kicker {
    top: -39px !important;
    left: 12px !important;
  }

  .logo-list.data-card {
    width: 100% !important;
    height: 228px !important;
    min-height: 228px !important;
    overflow: hidden !important;
  }

  .logo-list--two.data-card {
    height: 152px !important;
    min-height: 152px !important;
  }

  .logo-list--single.data-card {
    height: 76px !important;
    min-height: 76px !important;
  }

  .logo-list.data-card::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='345' height='76' viewBox='0 0 345 76' preserveAspectRatio='none'%3E%3Cpath d='M76.5 0V76M268.5 0V76M0 .5H345' stroke='white' stroke-opacity='.18' stroke-width='.5' stroke-dasharray='4 4'/%3E%3C/svg%3E") !important;
    background-size: 100% 76px !important;
    background-repeat: repeat-y !important;
  }

  .logo-row {
    flex: 1 1 0 !important;
    min-height: 76px !important;
    padding: 0 14px 0 24px !important;
    gap: 26px !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
  }

  .logo-row .brand-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    flex-basis: 40px !important;
  }

  .logo-row::before {
    left: 22px !important;
    width: 44px !important;
    height: 44px !important;
  }
}

/* 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 {
    top: 32px !important;
    left: calc(50vw + 8px) !important;
    right: auto !important;
    width: min(858px, calc(100vw - 32px)) !important;
    max-width: min(858px, calc(100vw - 32px)) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: translateX(calc(-50% + 12px)) !important;
  }
}

@media (max-width: 720px) {
  body .main-header,
  .main-header {
    top: 32px !important;
    left: 15px !important;
    right: auto !important;
    width: min(345px, calc(100vw - 30px)) !important;
    max-width: min(345px, calc(100vw - 30px)) !important;
    height: 58px !important;
    min-height: 58px !important;
    border-radius: 7px !important;
    transform: none !important;
  }
}

/* Final reference match: hero art is cropped per viewport, not scaled as one block. */
html,
body,
.integrations-page {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.hero-section::before {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  pointer-events: none !important;
  z-index: 0 !important;
  top: -444px !important;
  right: 0 !important;
  left: auto !important;
  width: min(980px, 100vw) !important;
  height: 1600px !important;
  transform: none !important;
  background: url("../img/Ellipse 22422 (1).svg") right top / 100% 100% no-repeat !important;
  opacity: .42 !important;
  clip-path: none !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 20%, #000 38%) !important;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 20%, #000 38%) !important;
  -webkit-mask-composite: source-over !important;
  mask-composite: add !important;
}

.hero-section::after {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  pointer-events: none !important;
  z-index: 1 !important;
  left: 50% !important;
  top: 632px !important;
  width: min(1536px, 100vw) !important;
  height: 1px !important;
  transform: translateX(-50%) !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent) !important;
  opacity: 1 !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

@media (min-width: 861px) and (max-width: 1180px) {
  .hero-icons {
    margin-top: 73px !important;
  }
}

@media (max-width: 860px) {
  .hero-section::before {
    top: 0 !important;
    right: 0 !important;
    width: 375px !important;
    max-width: 100vw !important;
    height: 455px !important;
    opacity: 1 !important;
    clip-path: none !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 10%, #000 24%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 10%, #000 24%) !important;
    -webkit-mask-composite: source-over !important;
    mask-composite: add !important;
  }

  .hero-section::after {
    top: 326px !important;
  }

  .pill {
    margin-bottom: 15px !important;
  }

  .hero-icons {
    width: min(343px, calc(100vw - 32px)) !important;
    max-width: min(343px, calc(100vw - 32px)) !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    justify-content: center !important;
    align-items: center !important;
    column-gap: 10px !important;
    row-gap: 17px !important;
    transform: none !important;
  }

  .hero-icons .hero-icon-item {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
  }

  .hero-icons .hero-icon-item > span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

/* Hero background tuning: crop the art per breakpoint instead of scaling it down. */
.hero-section {
  overflow: hidden !important;
  overflow-x: clip !important;
  max-width: 100% !important;
}

.integrations-hero-art {
  top: 104px !important;
  width: 1695px !important;
  height: 729px !important;
  transform: translateX(-50%) !important;
  transform-origin: top center !important;
}

.integrations-hero-grid {
  top: 76px !important;
  width: 1534px !important;
  max-width: none !important;
}

.integrations-hero-orbits {
  width: 1695px !important;
  max-width: none !important;
}

@media (min-width: 861px) and (max-width: 1180px) {
  .hero-section__inner {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: min(858px, calc(100vw - 164px)) !important;
    max-width: min(858px, calc(100vw - 164px)) !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  .integrations-hero-art {
    top: 78px !important;
    width: 1280px !important;
    height: 620px !important;
    transform: translateX(-50%) !important;
  }

  .integrations-hero-grid {
    top: 82px !important;
    width: 1120px !important;
  }

  .integrations-hero-orbits {
    width: 1280px !important;
  }

  .pill {
    margin-bottom: 10px !important;
  }

  .hero-section__btn {
    margin-top: 60px !important;
  }
}

@media (max-width: 860px) {
  .hero-section {
    overflow-x: clip !important;
  }

  .hero-section__inner {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: min(345px, calc(100vw - 30px)) !important;
    max-width: min(345px, calc(100vw - 30px)) !important;
    margin: 0 auto !important;
    padding-top: 160px !important;
    transform: none !important;
  }

  .integrations-hero-art {
    top: 32px !important;
    left: 50vw !important;
    width: 720px !important;
    height: 500px !important;
    transform: translateX(-50%) !important;
    opacity: .95 !important;
  }

  .integrations-hero-grid {
    top: 88px !important;
    width: 640px !important;
    opacity: .66 !important;
  }

  .integrations-hero-orbits {
    width: 720px !important;
    opacity: .95 !important;
  }

  .hero-section__btn {
    width: 100% !important;
    margin-top: 31px !important;
    transform: none !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 {
    top: 32px !important;
    left: calc(50vw + 8px) !important;
    right: auto !important;
    width: min(858px, calc(100vw - 32px)) !important;
    max-width: min(858px, calc(100vw - 32px)) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: translateX(-50%) !important;
  }
}

@media (max-width: 720px) {
  body .main-header,
  .main-header {
    top: 32px !important;
    left: 15px !important;
    right: auto !important;
    width: min(345px, calc(100vw - 30px)) !important;
    max-width: min(345px, calc(100vw - 30px)) !important;
    height: 58px !important;
    min-height: 58px !important;
    border-radius: 7px !important;
    transform: none !important;
  }
}


/* Mobile: remove all repeating grid lines; keep single cross only in hero */
@media (max-width: 860px) {
  .line-grid--mid,
  .line-grid--bottom {
    display: none !important;
  }

  .line-grid--hero {
    top: 0 !important;
    height: 650px !important;
    width: 100vw !important;
    background-image:
      linear-gradient(90deg,
        transparent calc(50% - .5px),
        rgba(255,255,255,.10) calc(50% - .5px),
        rgba(255,255,255,.10) calc(50% + .5px),
        transparent calc(50% + .5px)),
      linear-gradient(0deg,
        transparent calc(50% - .5px),
        rgba(255,255,255,.10) calc(50% - .5px),
        rgba(255,255,255,.10) calc(50% + .5px),
        transparent calc(50% + .5px)) !important;
    background-size: 100% 100%, 100% 100% !important;
    background-position: center, center !important;
    background-repeat: no-repeat, no-repeat !important;
    opacity: 1 !important;
    mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%) !important;
  }
}

/* Tablet: remove all repeating grid lines */
@media (min-width: 861px) and (max-width: 1180px) {
  .line-grid--hero,
  .line-grid--mid,
  .line-grid--bottom {
    display: none !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: 769px) 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: 768px) {
  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;
  }
}

/* Desktop & tablet: render both row wrappers inline so all 8 icons sit in one row */
@media (min-width: 721px) {
  .hero-section .hero-icons {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }
  .hero-section .hero-icons__row {
    display: contents !important;
  }
}

/* Mobile hero refinement to match reference: 2 separate rows */
@media (max-width: 720px) {
  .hero-section .hero-icons {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-top: 32px !important;
    margin-bottom: 0 !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
    opacity: 1 !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
  .hero-section .hero-icons__row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }
  /* Top row — full screen width, shown first visually */
  .hero-section .hero-icons__row--top {
    order: 1 !important;
    width: 100% !important;
    padding: 0 12px !important;
    gap: 4px !important;
  }
  /* Bottom row — narrower, centered, shown second visually */
  .hero-section .hero-icons__row--bottom {
    order: 2 !important;
    width: 72% !important;
    padding: 0 !important;
    gap: 8px !important;
  }
  .hero-section .hero-icons .hero-icon-item {
    flex: 0 1 auto !important;
    justify-content: center !important;
    width: auto !important;
    gap: 5px !important;
    font-weight: 500 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.1px !important;
  }
  .hero-section .hero-icons__row--top .hero-icon-item {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 10.5px !important;
  }
  .hero-section .hero-icons__row--bottom .hero-icon-item {
    color: rgba(255, 255, 255, 0.32) !important;
    font-size: 10px !important;
  }
  .hero-section .hero-icons__row--bottom .hero-icon-item > img {
    opacity: 0.38 !important;
    filter: none !important;
  }
  .hero-section .hero-icons .hero-icon-item > span {
    display: inline !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    min-width: 0 !important;
  }
  .hero-section .hero-icons .brand-icon--tiny {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 50% !important;
    clip-path: circle(50%) !important;
    background: transparent !important;
  }
  .hero-section .hero-icons .hero-icon-item img[alt*="МойСклад"] {
    object-fit: contain !important;
    transform: scale(1.0) !important;
  }
  .hero-section .hero-icons .hero-icon-item::before { display: none !important; content: none !important; }
}

/* Mobile hero — exact 2x2 grid (4 squares) with soft edges */
@media (max-width: 720px) {
  .hero-section { position: relative !important; overflow: visible !important; }
  .hero-section__inner { position: relative !important; }
  .hero-section__inner::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 60px !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
    height: 360px !important;
    max-width: none !important;
    pointer-events: none !important;
    z-index: -1 !important;
    background-color: transparent !important;
    background-image:
      linear-gradient(rgba(150,180,235,.30), rgba(150,180,235,.30)),
      linear-gradient(rgba(150,180,235,.30), rgba(150,180,235,.30)) !important;
    background-size: 100% 1px, 1px 100% !important;
    background-position: center center, center center !important;
    background-repeat: no-repeat, no-repeat !important;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 0%, #000 50%, rgba(0,0,0,.5) 85%, transparent 100%) !important;
    mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 0%, #000 50%, rgba(0,0,0,.5) 85%, transparent 100%) !important;
  }
  .integrations-hero-art,
  .integrations-hero-grid,
  .integrations-hero-orbits { display: none !important; }
}

/* === Force Inter font across tablet + mobile globally === */
@media (max-width: 1180px) {
  *,
  *::before,
  *::after {
    font-family: Inter, sans-serif !important;
  }
}
