.mx-landing-motion {
  --mx-motion-bg: #fff;
  --mx-motion-copy: #12081d;
  --mx-motion-muted: #62586b;
  --mx-motion-accent: #b90777;
  position: relative;
  margin: 0;
  padding: clamp(64px, 8vw, 112px) 0;
  overflow: hidden;
  background: var(--mx-motion-bg);
  isolation: isolate;
}

.mx-landing-motion--dark {
  --mx-motion-bg: #12081d;
  --mx-motion-copy: #fff;
  --mx-motion-muted: #c7bdd0;
  --mx-motion-accent: #14e0c0;
}

.mx-landing-motion--light {
  --mx-motion-bg: #fff;
}

.mx-landing-motion__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}

.mx-landing-motion__copy,
.mx-landing-motion__frame {
  min-width: 0;
}

.mx-landing-motion__copy {
  max-width: 520px;
}

.mx-landing-motion__eyebrow {
  margin: 0 0 15px;
  color: var(--mx-motion-accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.mx-landing-motion h2 {
  max-width: 610px;
  margin: 0;
  color: var(--mx-motion-copy);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(36px, 4.25vw, 54px);
  font-weight: 820;
  letter-spacing: -0.04em;
  line-height: 1.04;
  text-wrap: balance;
}

.mx-landing-motion__description {
  max-width: 610px;
  margin: 22px 0 0;
  color: var(--mx-motion-muted);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.72;
}

.mx-landing-motion__frame {
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
  background: var(--mx-motion-bg);
  box-shadow: 0 24px 70px rgba(18, 8, 29, 0.12);
}

.mx-landing-motion--dark .mx-landing-motion__frame {
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.3);
}

.mx-landing-motion__frame::after {
  position: absolute;
  inset: -1px;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--mx-motion-bg) 0, transparent 7%, transparent 93%, var(--mx-motion-bg) 100%),
    linear-gradient(180deg, var(--mx-motion-bg) 0, transparent 7%, transparent 93%, var(--mx-motion-bg) 100%);
  content: "";
  pointer-events: none;
}

.mx-landing-motion__video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: var(--mx-motion-bg);
  object-fit: contain;
}

@media (max-width: 860px) {
  .mx-landing-motion {
    padding: clamp(54px, 9vw, 78px) 0;
  }

  .mx-landing-motion__inner {
    width: min(720px, calc(100% - 40px));
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .mx-landing-motion__copy {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  .mx-landing-motion {
    padding: 50px 0;
  }

  .mx-landing-motion__inner {
    width: calc(100% - 28px);
    gap: 26px;
  }

  .mx-landing-motion h2 {
    font-size: clamp(33px, 10vw, 44px);
    line-height: 1.06;
  }

  .mx-landing-motion__description {
    margin-top: 18px;
    font-size: 16px;
  }

  .mx-landing-motion__frame {
    border-radius: 17px;
  }

  .mx-landing-motion__frame::after {
    background:
      linear-gradient(90deg, var(--mx-motion-bg) 0, transparent 5%, transparent 95%, var(--mx-motion-bg) 100%),
      linear-gradient(180deg, var(--mx-motion-bg) 0, transparent 5%, transparent 95%, var(--mx-motion-bg) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mx-landing-motion__video {
    animation: none !important;
  }
}

/* 26 August 2026 document fixes.
 * Restored landing pages can contain an ID-scoped universal margin/padding
 * reset. Anchor every spacing rule that matters to the unique component ID so
 * those page-local resets cannot flatten or left-align this shared section. */
body #mx-landing-motion {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(64px, 8vw, 112px) 0 !important;
  transform: none !important;
}

body #mx-landing-motion .mx-landing-motion__inner {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
  transform: none !important;
}

body #mx-landing-motion .mx-landing-motion__copy {
  min-width: 0 !important;
  max-width: 520px !important;
}

body #mx-landing-motion .mx-landing-motion__eyebrow {
  margin: 0 0 15px !important;
}

body #mx-landing-motion h2 {
  max-width: 610px !important;
  margin: 0 !important;
  color: var(--mx-motion-copy) !important;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: clamp(36px, 4.25vw, 54px) !important;
  font-weight: 820 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.04 !important;
  text-wrap: balance;
}

body #mx-landing-motion .mx-landing-motion__description {
  max-width: 610px !important;
  margin: 22px 0 0 !important;
  color: var(--mx-motion-muted) !important;
  font-size: clamp(16px, 1.35vw, 18px) !important;
  line-height: 1.72 !important;
}

body #mx-landing-motion .mx-landing-motion__frame {
  width: 100% !important;
  margin: 0 !important;
}

@media (max-width: 860px) {
  body #mx-landing-motion {
    padding: clamp(54px, 9vw, 78px) 0 !important;
  }

  body #mx-landing-motion .mx-landing-motion__inner {
    width: min(720px, calc(100% - 40px)) !important;
    max-width: 720px !important;
  }

  body #mx-landing-motion .mx-landing-motion__copy {
    max-width: 680px !important;
  }
}

@media (max-width: 620px) {
  body #mx-landing-motion {
    padding: 50px 0 !important;
  }

  body #mx-landing-motion .mx-landing-motion__inner {
    width: calc(100% - 28px) !important;
    max-width: none !important;
  }

  body #mx-landing-motion h2 {
    font-size: clamp(33px, 10vw, 44px) !important;
    line-height: 1.06 !important;
  }

  body #mx-landing-motion .mx-landing-motion__description {
    margin-top: 18px !important;
    font-size: 16px !important;
  }
}
