:root {
  --bg: #fcfdfd;
  --surface: #ffffff;
  --ink: #171717;
  --ink-strong: #111111;
  --muted: #7d8796;
  --line: #d7e2f0;
  --lime: #d7ff54;
  --dark: #111111;
  --pill-face: #eff2f6;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid #4a7dff;
  outline-offset: 3px;
}

.nowrap {
  white-space: nowrap;
}

/* Chinese has no spaces, so line breaks are steered to phrase boundaries */
.phrase {
  display: inline-block;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- Language ---------- */

html:not([lang^="zh"]) [data-lang="zh"],
html[lang^="zh"] [data-lang="en"] {
  display: none !important;
}

.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 82px;
  height: 39px;
  border-radius: 999px;
  background: #f0f0f0;
}

.lang-switch__knob {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 100%;
  border-radius: 999px;
  background: #151515;
  transition: transform 0.35s var(--ease-out);
}

html[lang^="zh"] .lang-switch__knob {
  transform: translateX(38px);
}

.lang-switch button {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 100%;
  font-size: 12px;
  color: #808080;
  transition: color 0.3s;
}

.lang-switch button + button {
  margin-left: -6px;
}

html:not([lang^="zh"]) .lang-switch [data-set-lang="en"],
html[lang^="zh"] .lang-switch [data-set-lang="zh"] {
  color: #fcfdfd;
}

/* ---------- Brand ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-strong);
  white-space: nowrap;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease-spring);
}

.brand:hover .brand__mark {
  transform: rotate(-8deg) scale(1.06);
}

.brand--light {
  color: #fcfdfd;
  font-size: 18px;
  gap: 12px;
}

.brand__mark--lg {
  width: 42px;
  height: 42px;
}

/* ---------- Header (desktop) ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-top: 50px;
  pointer-events: none;
  transition: padding-top 0.5s var(--ease-out);
}

.site-header.is-scrolled {
  padding-top: 20px;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  height: 66px;
  padding: 0 14px 0 22px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 999px;
  transition: box-shadow 0.4s var(--ease-out);
}

.site-header.is-scrolled .nav-pill {
  box-shadow: 0 14px 34px -18px rgba(30, 41, 59, 0.3);
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 clamp(20px, 3.4vw, 56px);
}

.nav-links a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 clamp(16px, 1.6vw, 24px);
  border-radius: 999px;
  font-size: 16px;
  line-height: 20px;
  color: #1e1e1e;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.nav-links a:not([aria-current]):hover {
  opacity: 0.6;
}

.nav-indicator {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 100%;
  border-radius: 999px;
  background: var(--pill-face);
}

.nav-indicator.is-ready {
  transition:
    left 0.5s var(--ease-out) var(--delay-l, 0s),
    right 0.5s var(--ease-out) var(--delay-r, 0s);
}

.mobile-bar,
.mobile-menu {
  display: none;
}

/* ---------- Hero ---------- */

/* The robot arm in the video sweeps through the centre-right, so copy sits in the empty left third */
.hero {
  --hero-x: clamp(24px, 5.5vw, 88px);
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background: #efefed;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: absolute;
  left: var(--hero-x);
  bottom: clamp(120px, 18vh, 200px);
  max-width: 36%;
}

.hero__title {
  margin: 0;
  font-size: clamp(44px, 5.4vw, 88px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--ink-strong);
}

.hero__title .word {
  display: inline-block;
  animation: rise 1.2s var(--ease-out) both;
  animation-delay: calc(0.25s + var(--i) * 0.1s);
}

html[lang^="zh"] .hero__title {
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.hero__subtitle {
  margin-top: 22px;
  max-width: 26em;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.45;
  color: #353a42;
  animation: rise 1.2s var(--ease-out) 0.6s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__corner {
  position: absolute;
  bottom: 36px;
}

.hero__scroll {
  left: var(--hero-x);
  display: flex;
  align-items: flex-end;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a4f57;
}

.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: rgba(17, 17, 17, 0.14);
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 50%;
  background: var(--ink-strong);
  animation: scroll-line 2.2s var(--ease-in-out) infinite;
}

@keyframes scroll-line {
  to {
    top: 100%;
  }
}

.hero__toggle {
  right: var(--hero-x);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink-strong);
  transition: transform 0.3s var(--ease-spring), background 0.2s;
}

.hero__toggle:hover {
  transform: scale(1.06);
  background: #fff;
}

.hero__toggle svg {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
}

.hero__toggle .icon-play,
.hero__toggle.is-paused .icon-pause {
  display: none;
}

.hero__toggle.is-paused .icon-play {
  display: block;
}

/* ---------- Layout ---------- */

.main {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px 80px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1s var(--ease-out),
    transform 1s var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Intro card ---------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px 24px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 28px;
}

.card__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}

.card__body {
  font-size: 16px;
  line-height: 1.75;
}

.intro {
  margin-top: 64px;
}

.intro__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------- World Action Model diagram ---------- */

.wam {
  margin: 0;
  padding: 12px;
  border-radius: 22px;
  background: #f5f7fa;
}

.wam__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.wam__svg {
  width: 100%;
  min-width: 760px;
  height: auto;
  max-width: none;
}

.wam__svg text {
  font-family: var(--font);
}

.wam__caption {
  padding: 10px 8px 2px;
  font-size: 13px;
  color: var(--muted);
}

.wam__hint {
  display: none;
}

.wam-h {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  fill: #8a94a3;
}

.wam-t {
  font-size: 18px;
  font-weight: 600;
  fill: var(--ink-strong);
}

.wam-t2 {
  font-size: 17px;
  font-weight: 600;
  fill: var(--ink-strong);
}

.wam-s {
  font-size: 14px;
  fill: var(--muted);
}

.wam-card {
  fill: #ffffff;
  stroke: var(--line);
  stroke-width: 1.5;
}

.wam-enc {
  fill: #e9eef5;
}

.wam-icon {
  fill: none;
  stroke: var(--ink-strong);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wam-link {
  fill: none;
  stroke: #9aa6b6;
  stroke-width: 2;
  stroke-dasharray: 5 5;
  animation: wam-flow 1s linear infinite;
}

.wam-link--dark {
  stroke: #5b616b;
}

@keyframes wam-flow {
  to {
    stroke-dashoffset: -10;
  }
}

.tok--video {
  fill: #9fbbea;
}

.tok--lang {
  fill: #f2c48d;
}

.tok--state {
  fill: #c3b1f0;
}

.tok--emb {
  fill: #fcfdfd;
  stroke: #8a94a3;
  stroke-width: 1.5;
}

.tok--noise {
  fill: rgba(215, 255, 84, 0.18);
  stroke: var(--lime);
  stroke-width: 1.5;
  stroke-dasharray: 3 2;
}

.tok--action {
  fill: var(--lime);
}

.wam-core-t {
  font-size: 18px;
  font-weight: 600;
  fill: #fcfdfd;
}

.wam-core-s {
  font-size: 13.5px;
  fill: #9097a1;
}

.wam-blk {
  fill: #252525;
  stroke: #3a3a3a;
}

.wam-blk-t {
  font-size: 16px;
  font-weight: 600;
  fill: #fcfdfd;
}

.wam-n {
  font-size: 15px;
  font-weight: 600;
  fill: #c9cdd3;
}

.wam-frame > rect:first-child {
  fill: #f3f6fa;
  stroke: var(--line);
}

.wam-frame__table {
  stroke: #c3cddb;
  stroke-width: 2;
  stroke-linecap: round;
}

.wam-frame__arm {
  fill: none;
  stroke: #4a5160;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wam-cap {
  font-size: 13px;
  fill: #8a94a3;
}

.wam-emb > rect {
  fill: #f5f7fa;
  stroke: #e1e8f1;
}

.wam-emb__t {
  font-size: 14px;
  font-weight: 600;
  fill: var(--ink-strong);
}

.wam-tag {
  font-size: 15px;
  font-weight: 700;
  fill: var(--ink-strong);
}

.wam-band {
  font-size: 16px;
  font-weight: 500;
  fill: #fcfdfd;
}

.wam-bullet {
  font-size: 11px;
  fill: var(--lime);
}

/* ---------- Data pipeline ---------- */

.pipeline {
  position: relative;
  margin-top: 64px;
  padding: 40px 20px 28px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  background: var(--dark);
  color: #fcfdfd;
}

.pipeline::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(252, 253, 253, 0.13) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 55% 45% at 90% 0%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 45% at 90% 0%, #000 10%, transparent 75%);
}

.pipeline__head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 4px;
}

.pipeline__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--lime);
}

.pipeline__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.pipeline__title {
  max-width: 15em;
  margin: 0;
  font-size: clamp(30px, 4.2vw, 60px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

html[lang^="zh"] .pipeline__title {
  max-width: 13em;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.22;
  letter-spacing: 0;
}

.pipeline__lead {
  max-width: 34em;
  margin: 0;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: #a7b0bd;
  text-wrap: pretty;
}

.pipeline__body {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}

/* Videos are oversized and offset so burned-in subtitles fall outside the stage */
.pipeline__stage {
  position: relative;
  aspect-ratio: 1.885;
  overflow: hidden;
  border-radius: 20px;
  background: #0b0b0b;
  container-type: inline-size;
}

.pipeline__clip {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.pipeline__clip.is-active {
  opacity: 1;
}

.pipeline__video {
  position: absolute;
  max-width: none;
}

.pipeline__video--ego {
  left: -9.42%;
  top: -7.59%;
  width: 120.27%;
  height: 126.58%;
}

.pipeline__video--robot {
  left: -13.51%;
  top: -1.6%;
  width: 127.02%;
  height: 133.69%;
}

/* Tabs cover the burned-in corner labels of the ego clip, so keep them at least this large */
.pipeline__tab {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3em;
  height: max(9cqw, 46px);
  padding: 0 clamp(12px, 2.2cqw, 22px);
  background: rgba(17, 17, 17, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: clamp(11px, 1.45cqw, 15px);
  line-height: 1.2;
  white-space: nowrap;
}

.pipeline__tab--step {
  left: 0;
  bottom: 0;
  min-width: 22cqw;
  border-top-right-radius: 16px;
}

.pipeline__tab--meta {
  top: 0;
  right: 0;
  align-items: flex-end;
  min-width: 27cqw;
  border-bottom-left-radius: 16px;
}

.pipeline__tab-k {
  font-size: 0.82em;
  color: #8f99a8;
}

.pipeline__tab-v {
  font-weight: 600;
}

.pipeline__time {
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

/* Covers the burned-in caption of the picture-in-picture inset at the end of the robot clip */
.pipeline__inset-label {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 50.6%;
  display: none;
  place-items: center;
  width: 31%;
  height: 10%;
  background: #f4f4f2;
  color: #3b3f45;
  font-size: clamp(9px, 1.55cqw, 14px);
  font-weight: 500;
  white-space: nowrap;
}

.pipeline__clip.has-inset .pipeline__inset-label {
  display: grid;
}

.pipeline__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.pipeline__play {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(252, 253, 253, 0.1);
  transition: background-color 0.3s var(--ease-out);
}

.pipeline__play:hover {
  background: rgba(252, 253, 253, 0.2);
}

.pipeline__play svg {
  width: 18px;
  height: 18px;
}

.pipeline__play .icon-play,
.pipeline__play.is-paused .icon-pause {
  display: none;
}

.pipeline__play.is-paused .icon-play {
  display: block;
}

.pipeline__bar {
  flex: 1;
  display: flex;
  gap: 4px;
}

.pipeline__seg {
  --p: 0;
  position: relative;
  flex: var(--d) 1 0;
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(252, 253, 253, 0.16);
}

.pipeline__seg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: scaleX(var(--p));
  transform-origin: left;
}

.pipeline__seg--gap {
  margin-left: 10px;
}

.pipeline__steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pipeline__phase {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f7987;
}

.pipeline__step {
  --p: 0;
  position: relative;
  display: flex;
  gap: 14px;
  width: 100%;
  padding: 12px 0 13px;
  border-top: 1px solid rgba(252, 253, 253, 0.12);
  text-align: left;
  color: #8a94a3;
  transition: color 0.3s var(--ease-out);
}

.pipeline__step::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: var(--lime);
  opacity: 0;
  transform: scaleX(var(--p));
  transform-origin: left;
}

.pipeline__step:hover,
.pipeline__step.is-active {
  color: #fcfdfd;
}

.pipeline__step.is-active::before {
  opacity: 1;
}

.pipeline__step-num {
  flex: none;
  padding-top: 3px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}

.pipeline__step.is-active .pipeline__step-num {
  color: var(--lime);
  opacity: 1;
}

.pipeline__step-main {
  display: block;
  min-width: 0;
}

.pipeline__step-title {
  display: block;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.pipeline__step-desc {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}

.pipeline__step.is-active .pipeline__step-desc {
  grid-template-rows: 1fr;
}

.pipeline__step-desc-inner {
  min-height: 0;
  overflow: hidden;
  font-size: 14.5px;
  line-height: 1.5;
  color: #a7b0bd;
  text-wrap: pretty;
}

.pipeline__step-desc-inner > span {
  display: block;
  padding-top: 6px;
}

/* ---------- Vision quote ---------- */

.quote {
  position: relative;
  margin-top: 64px;
  padding: 72px 28px;
  border: 2px solid var(--line);
  border-radius: 24px;
  background: var(--bg);
  text-align: center;
}

.quote__mark {
  position: absolute;
  width: 34px;
  height: 28px;
  color: var(--ink-strong);
}

.quote__mark--open {
  top: 18px;
  left: 18px;
}

.quote__mark--close {
  right: 18px;
  bottom: 18px;
  transform: rotate(180deg);
}

.quote__label {
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.quote__text {
  max-width: 1044px;
  margin: 0 auto;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  text-wrap: balance;
}

/* ---------- Footer ---------- */

.footer {
  padding: 48px 24px;
  border-radius: 36px 36px 0 0;
  background: var(--dark);
  color: #fcfdfd;
}

.footer__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
}

.footer__heading {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
}

.footer__nav a {
  font-size: 14px;
  line-height: 1.45;
  transition: opacity 0.2s;
}

.footer__nav a:hover {
  opacity: 0.7;
}

.footer__divider {
  height: 1px;
  margin: 32px 0 24px;
  background: rgba(252, 253, 253, 0.45);
}

.footer__bottom {
  font-size: 12px;
  line-height: 1.45;
}

/* ---------- Responsive ---------- */

@media (min-width: 640px) {
  .main {
    padding: 0 24px 80px;
  }

  .card {
    padding: 32px;
  }

  .wam {
    padding: 16px;
    border-radius: 26px;
  }
}

@media (min-width: 1024px) {
  .main {
    padding: 0 40px 200px;
  }

  .card {
    border-radius: 59px;
  }

  .card__title {
    font-size: 36px;
    line-height: 42px;
  }

  .card__body {
    font-size: 20px;
    line-height: 32px;
  }

  .intro {
    gap: 48px;
    margin-top: 138px;
    padding: 72px 40px 40px;
  }

  .intro__text {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 64px;
    padding: 0 12px;
  }

  .intro__text .card__title {
    flex: 0 1 440px;
  }

  .intro__text .card__body {
    flex: 0 1 640px;
  }

  .wam {
    padding: 24px 24px 12px;
    border-radius: 32px;
  }

  .wam__caption {
    padding: 12px 8px 4px;
  }

  .pipeline {
    margin-top: 151px;
    padding: 88px 48px 56px;
    border-radius: 59px;
  }

  .pipeline__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 64px;
    padding: 0 8px;
  }

  .pipeline__lead {
    flex: 0 1 420px;
  }

  .pipeline__body {
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
    gap: 48px;
    align-items: start;
    margin-top: 56px;
  }

  .pipeline__steps {
    gap: 22px;
  }

  .quote {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 460px;
    margin-top: 151px;
    padding: 0 140px;
    border-radius: 60px;
  }

  .quote__mark {
    width: 40px;
    height: 34px;
  }

  .quote__mark--open {
    top: calc(50% - 96px);
    left: 58px;
  }

  .quote__mark--close {
    top: calc(50% + 62px);
    right: 76px;
    bottom: auto;
  }

  .footer {
    padding: 66px 100px 68px;
    border-radius: 60px 60px 0 0;
  }

  .footer__top {
    min-height: 160px;
  }
}

@media (min-width: 1280px) {
  .main {
    padding: 0 79px 200px;
  }

  .intro {
    padding: 80px 51px 51px;
  }

  .pipeline {
    padding: 104px 72px 64px;
  }
}

@media (max-width: 1023px) {
  html {
    scroll-padding-top: 88px;
  }

  .site-header {
    position: sticky;
    display: block;
    padding-top: 0;
    pointer-events: auto;
    background: var(--bg);
  }

  .site-header.is-scrolled {
    padding-top: 0;
  }

  .nav-pill {
    display: none;
  }

  .mobile-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 72px;
    padding: 0 20px;
    background: var(--bg);
  }

  .mobile-bar__actions {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .mobile-bar .lang-switch {
    width: 74px;
    height: 34px;
  }

  .mobile-bar .lang-switch__knob {
    width: 40px;
  }

  .mobile-bar .lang-switch button {
    width: 40px;
  }

  html[lang^="zh"] .mobile-bar .lang-switch__knob {
    transform: translateX(34px);
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-right: -8px;
    border-radius: 999px;
  }

  .menu-toggle span {
    grid-area: 1 / 1;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink-strong);
    transition: transform 0.35s var(--ease-out);
  }

  .menu-toggle span:first-child {
    transform: translateY(-4px);
  }

  .menu-toggle span:last-child {
    transform: translateY(4px);
  }

  .is-menu-open .menu-toggle span:first-child {
    transform: rotate(45deg);
  }

  .is-menu-open .menu-toggle span:last-child {
    transform: rotate(-45deg);
  }

  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    grid-template-rows: 0fr;
    border-radius: 0 0 24px 24px;
    background: var(--bg);
    transition:
      grid-template-rows 0.45s var(--ease-out),
      box-shadow 0.45s var(--ease-out);
  }

  .is-menu-open .mobile-menu {
    grid-template-rows: 1fr;
    box-shadow: 0 24px 40px -20px rgba(30, 41, 59, 0.28);
  }

  .mobile-menu__inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    padding: 0 20px;
  }

  .mobile-menu__inner > :first-child {
    margin-top: 8px;
  }

  .mobile-menu__inner > :last-child {
    margin-bottom: 24px;
  }

  .mobile-menu a {
    padding: 12px 0;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
  }

  .hero {
    width: auto;
    height: auto;
    min-height: 0;
    margin: 8px 16px 0;
  }

  .hero__media {
    position: relative;
    inset: auto;
    aspect-ratio: 1440 / 1043;
    border-radius: 28px;
  }

  .hero__content {
    position: static;
    max-width: none;
    padding: 28px 8px 0;
  }

  .hero__title {
    font-size: clamp(40px, 9vw, 72px);
  }

  .hero__subtitle {
    margin-top: 14px;
  }

  .hero__scroll {
    display: none;
  }

  .hero__corner {
    bottom: 18px;
  }

  .hero__toggle {
    right: 18px;
    width: 38px;
    height: 38px;
  }

  .hero__toggle svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 819px) {
  .wam__hint {
    display: block;
    margin-top: 4px;
    color: #a3acb9;
  }
}

@media (max-width: 639px) {
  .hero__media {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 359px) {
  .mobile-bar .brand__name {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
