html.has-lenis,
html.has-lenis body {
  height: auto;
}

body.page-motion-ready {
  opacity: 1;
}

[data-animate] {
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.motion-word {
  display: inline-block;
  backface-visibility: hidden;
}

html body[class] .site-header.site-header {
  transition: min-height 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

html body[class] .site-header.site-header.scrolled {
  background: rgba(255, 255, 255, .84);
  border-color: rgba(221, 228, 236, .76);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
  backdrop-filter: blur(16px);
}

html body[class] .site-header.site-header.scrolled .header-inner,
html body[class] .site-header.site-header.scrolled .shell {
  min-height: 60px;
}

html body[class] .site-header.site-header.scrolled .menu a {
  min-height: 60px;
}

html body[class] .site-header.site-header .menu a {
  position: relative;
}

html body[class] .site-header.site-header .menu a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--c-brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

html body[class] .site-header.site-header .menu a:hover::after,
html body[class] .site-header.site-header .menu a:focus-visible::after,
html body[class] .site-header.site-header .menu .current-menu-item > a::after,
html body[class] .site-header.site-header .menu .current-menu-ancestor > a::after {
  transform: scaleX(1);
}

.nav-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  html body[class] .site-header.site-header .header-navigation.is-open {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: 92px 28px 36px;
    overflow-y: auto;
    visibility: visible;
    background: rgba(7, 19, 33, .97);
    border: 0;
    box-shadow: none;
  }

  html body[class] .site-header.site-header .header-navigation.is-open .menu {
    display: grid;
    gap: 0;
    width: min(100%, 420px);
    margin-inline: auto;
  }

  html body[class] .site-header.site-header .header-navigation.is-open .menu a,
  html body[class] .site-header.site-header .header-navigation.is-open .language-switcher summary,
  html body[class] .site-header.site-header .header-navigation.is-open .header-search {
    color: #fff;
  }

  html body[class] .site-header.site-header .header-navigation.is-open .menu a {
    min-height: 58px;
    justify-content: center;
    font-size: var(--font-size-lead);
  }

  html body[class] .site-header.site-header .header-navigation.is-open .header-tools {
    justify-content: center;
  }

  html body[class] .site-header.site-header .nav-toggle {
    position: relative;
    z-index: 1001;
  }
}

/* Header navigation collapses through 1366px. Use the same breakpoint for
 * the open state so compact laptops do not receive a hidden desktop menu. */
@media (max-width: 1366px) {
  html.nav-open body[class] .site-header.site-header .header-navigation.is-open {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999 !important;
    width: 100% !important;
    height: 100dvh !important;
    min-height: 0 !important;
    max-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding:
      calc(var(--tongyi-header-height) + 24px + env(safe-area-inset-top))
      28px
      calc(28px + env(safe-area-inset-bottom)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    visibility: visible !important;
    background: #071321 !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  html.nav-open body[class] .site-header.site-header .header-navigation.is-open .menu {
    width: min(100%, 440px) !important;
    display: grid !important;
    gap: 0 !important;
    margin: 0 auto !important;
  }

  html.nav-open body[class] .site-header.site-header .header-navigation.is-open .menu a {
    min-height: 54px !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: var(--font-size-lead) !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html.nav-open body[class] .site-header.site-header .header-navigation.is-open .header-tools {
    width: min(100%, 440px) !important;
    justify-content: center !important;
    margin-inline: auto !important;
  }

  html.nav-open body[class] .site-header.site-header .nav-toggle {
    position: relative !important;
    z-index: 1001 !important;
    color: #fff !important;
    background: rgba(255, 255, 255, .08) !important;
    border-color: rgba(255, 255, 255, .55) !important;
  }
}

html body[class] :is(.button, .home-button, button, input[type="submit"]) {
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  html body[class] :is(.button, .home-button, button, input[type="submit"]):hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .12);
  }

  html body[class] main#main-content :is(figure, [class*="media"], [class*="image"], [class*="visual"]) {
    overflow: hidden;
  }

  html body[class] main#main-content :is(figure, [class*="media"], [class*="image"], [class*="visual"]) > img {
    transition: transform 420ms cubic-bezier(.2, .8, .2, 1);
  }

  html body[class] main#main-content :is(figure, [class*="media"], [class*="image"], [class*="visual"]):hover > img {
    transform: scale(1.05);
  }
}

.motion-tilt-card {
  transform-style: preserve-3d;
}

.home-hero.home-hero--particles {
  --font-size-h1: clamp(54px, 4.45vw, 66px);
  --line-height-display: .94;
  background: #071321;
  isolation: isolate;
}

.home-hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: auto;
}

.home-hero__particles::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 22%, rgba(80, 177, 255, .24), transparent 30%),
    radial-gradient(circle at 16% 70%, rgba(226, 27, 35, .08), transparent 24%),
    linear-gradient(90deg, rgba(243, 246, 248, .98) 0%, rgba(243, 246, 248, .92) 34%, rgba(31, 47, 63, .5) 62%, rgba(7, 19, 33, .62) 100%);
}

.home-hero__particles canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.home-hero.home-hero--particles::before {
  z-index: 1;
  opacity: .22;
  filter: invert(1);
}

.home-hero.home-hero--particles .home-hero__inner {
  position: relative;
  z-index: 2;
}

html body.home[class] .home-hero.home-hero--particles .home-hero__copy h1,
html body[class] .home-hero.home-hero--particles .home-hero__copy h1 {
  max-width: 720px;
  color: #111827;
  font-size: clamp(54px, 4.45vw, 66px);
  font-weight: 860;
  line-height: .94;
  letter-spacing: 0;
}

html body.home[class] .home-hero.home-hero--particles .home-hero__copy {
  max-width: 760px;
  padding-top: 0;
  padding-bottom: 70px;
}

html body.home[class] .home-hero.home-hero--particles .home-hero__copy h1 > span {
  display: block;
  font: inherit;
  line-height: inherit;
  white-space: nowrap;
}

html body.home[class] .home-hero.home-hero--particles .home-hero__copy h1 > span + span {
  margin-top: .03em;
}

html body.home[class] .home-hero.home-hero--particles .home-hero__copy h1 .motion-word {
  display: inline;
  font: inherit;
  line-height: inherit;
}

html body.home[class] .home-hero.home-hero--particles .home-eyebrow,
html body[class] .home-hero.home-hero--particles .home-eyebrow {
  color: var(--c-brand);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: .08em;
}

html body.home[class] .home-hero.home-hero--particles h1 .is-accent,
html body[class] .home-hero.home-hero--particles h1 .is-accent {
  color: var(--home-primary, var(--c-brand));
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: 0;
}

html body.home[class] .home-hero.home-hero--particles .home-hero__description,
html body[class] .home-hero.home-hero--particles .home-hero__description {
  --font-size-lead: clamp(18px, 1.26vw, 22px);
  max-width: 760px;
  margin-top: 30px;
  color: #344054;
  font-size: clamp(18px, 1.26vw, 22px);
  line-height: 1.68;
}

html body.home[class] .home-hero.home-hero--particles .home-hero__benefits li,
html body[class] .home-hero.home-hero--particles .home-hero__benefits li {
  color: #475467;
}

html body.home[class] .home-hero.home-hero--particles .home-hero__benefits svg,
html body[class] .home-hero.home-hero--particles .home-hero__benefits svg {
  color: var(--c-brand);
}

html body.home[class] .home-hero.home-hero--particles .home-hero__actions {
  gap: 16px;
  margin-top: 34px;
}

html body.home[class] .home-hero.home-hero--particles .home-hero__actions > a {
  min-width: 210px;
  min-height: 58px;
  padding-inline: 24px;
  font-size: 14px;
  font-weight: 800;
}

.home-hero.home-hero--particles .home-hero__visual {
  opacity: .76;
  filter: saturate(.92) contrast(1.08) brightness(.88);
  mix-blend-mode: screen;
}

.home-hero.home-hero--particles .home-hero__visual::before {
  background: linear-gradient(90deg, #071321 0%, rgba(7, 19, 33, .8) 32%, rgba(7, 19, 33, 0) 100%);
}

@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .home-hero__particles {
    display: none;
  }

  html body[class] .site-header.site-header.scrolled .header-inner,
  html body[class] .site-header.site-header.scrolled .shell,
  html body[class] .site-header.site-header.scrolled .menu a {
    min-height: inherit;
  }

}

@media (max-width: 1200px) {
  html body.home[class] .home-hero.home-hero--particles .home-hero__copy h1,
  html body[class] .home-hero.home-hero--particles .home-hero__copy h1 {
    font-size: clamp(52px, 5vw, 70px);
  }

  html body.home[class] .home-hero.home-hero--particles .home-hero__description,
  html body[class] .home-hero.home-hero--particles .home-hero__description {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .home-hero.home-hero--particles {
    --font-size-h1: clamp(42px, 10vw, 58px);
    --line-height-display: .96;
  }

  html body.home[class] .home-hero.home-hero--particles .home-hero__copy {
    padding-top: 56px;
    padding-bottom: 38px;
  }

  html body.home[class] .home-hero.home-hero--particles .home-hero__copy h1,
  html body[class] .home-hero.home-hero--particles .home-hero__copy h1 {
    font-size: clamp(42px, 10vw, 58px);
    line-height: .96;
  }

  html body.home[class] .home-hero.home-hero--particles .home-hero__copy h1 > span {
    white-space: normal;
  }

  html body.home[class] .home-hero.home-hero--particles .home-hero__description,
  html body[class] .home-hero.home-hero--particles .home-hero__description {
    --font-size-lead: 16px;
    margin-top: 24px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .home-hero.home-hero--particles {
    --font-size-h1: clamp(38px, 10.2vw, 44px);
    --line-height-display: 1;
  }

  html body.home[class] .home-hero.home-hero--particles .home-eyebrow,
  html body[class] .home-hero.home-hero--particles .home-eyebrow {
    font-size: 12px;
  }

  html body.home[class] .home-hero.home-hero--particles .home-hero__copy h1,
  html body[class] .home-hero.home-hero--particles .home-hero__copy h1 {
    font-size: clamp(38px, 10.2vw, 44px);
    line-height: 1;
  }

  html body.home[class] .home-hero.home-hero--particles .home-hero__actions > a {
    width: 100%;
    min-height: 54px;
  }
}

html body.home[class] main#main-content .home-section .home-eyebrow,
html body.home[class] main#main-content .home-section .home-text-link,
html body.home[class] main#main-content .home-engineering .home-eyebrow {
  color: var(--c-brand);
}
