:root {
  color-scheme: dark;
  --black: #050505;
  --black-2: #0d0d0d;
  --black-3: #151515;
  --white: #f7f7f2;
  --paper: #f1f0ea;
  --ink: #111;
  --muted: #b9b9b1;
  --muted-dark: #5f5f58;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(0, 0, 0, 0.14);
  --blue: #0358ff;
  --header: 74px;
  --pad: clamp(20px, 4vw, 60px);
  --max: 1240px;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

html[lang="zh-CN"] .en,
html[lang="en"] .zh {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  line-height: 1.55;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 200;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: var(--header);
  padding: 0 var(--pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(20px);
}

.brand,
.header-actions,
.lang-switch {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: max-content;
  font-weight: 760;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 24px;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
}

.brand-mark::before {
  left: 0;
  width: 22px;
  height: 8px;
  border-radius: 999px;
}

.brand-mark::after {
  right: 0;
  width: 12px;
  height: 24px;
  border-radius: 999px;
}

.nav {
  font-size: 0.92rem;
  color: rgba(247, 247, 242, 0.74);
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 38px);
}

.nav a {
  transition: color 160ms ease;
}

.nav a:hover {
  color: var(--white);
}

.header-actions {
  gap: 12px;
}

.lang-switch {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.lang-switch button {
  border: 0;
  border-radius: 999px;
  padding: 7px 11px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--white);
  color: var(--black);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 2.5px auto;
  background: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: calc(var(--header) + 48px) var(--pad) 92px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.88);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.52) 48%, rgba(5, 5, 5, 0.22)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1040px;
}

.eyebrow,
.section-index {
  display: block;
  margin: 0;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.statement h2,
.section-heading h2,
.motion-copy h2,
.robot-copy h2,
.careers-copy h2,
.contact-heading h2,
.social h2 {
  margin: 0;
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 1120px;
  margin-top: 14px;
  font-size: clamp(3.35rem, 9vw, 9.5rem);
}

.hero-content p:not(.eyebrow) {
  max-width: 710px;
  margin: 28px 0 0;
  color: rgba(247, 247, 242, 0.78);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 720;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.light {
  background: var(--white);
  color: var(--black);
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.hero-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.7);
}

.hero-meta span {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 16px var(--pad);
  border-right: 1px solid var(--line);
  color: rgba(247, 247, 242, 0.72);
  font-size: 0.92rem;
}

.hero-meta span:first-child {
  color: var(--white);
  font-weight: 760;
  font-size: 1.1rem;
}

.hero-meta span:last-child {
  border-right: 0;
}

.section-light,
.section-dark {
  padding: clamp(82px, 12vw, 158px) var(--pad);
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.statement {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 90px);
}

.statement-copy,
.section-heading,
.contact-heading {
  max-width: var(--max);
}

.statement h2,
.section-heading h2,
.motion-copy h2,
.robot-copy h2,
.careers-copy h2,
.contact-heading h2,
.social h2 {
  margin-top: 14px;
  font-size: clamp(2.35rem, 5.8vw, 6.35rem);
}

.statement-copy p:not(.eyebrow),
.section-heading p,
.motion-copy p,
.robot-copy p,
.careers-copy p {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--muted-dark);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
}

.section-dark p {
  color: var(--muted);
}

.system-grid {
  max-width: var(--max);
  margin: clamp(34px, 5vw, 64px) auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.system-grid article {
  min-height: 330px;
  padding: clamp(24px, 2.8vw, 38px);
  background: var(--black-2);
}

.system-grid article > span {
  display: block;
  margin-bottom: 78px;
  color: var(--blue);
  font-weight: 760;
}

.system-grid h3,
.product-card h3,
.product-hero-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 2vw, 1.95rem);
  line-height: 1.08;
}

.wide {
  margin-left: 0;
}

.product-hero-card {
  max-width: var(--max);
  margin: clamp(34px, 5vw, 66px) auto 14px;
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(260px, 0.8fr);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--black-2);
}

.product-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero-card div {
  align-self: end;
  padding: clamp(26px, 4vw, 54px);
}

.product-hero-card p,
.product-card p {
  margin: 0;
  color: var(--muted);
}

.product-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--black-2);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 700ms ease;
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-card div {
  padding: 24px;
}

.product-card span {
  display: block;
  margin-bottom: 38px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 760;
}

.motion-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1.28fr);
  align-items: center;
  gap: clamp(30px, 6vw, 96px);
}

.motion-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.motion-card,
.motion-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--black-2);
}

.motion-card video,
.motion-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.motion-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.66));
}

.motion-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  display: grid;
  gap: 5px;
}

.motion-card span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 760;
}

.motion-card strong {
  color: var(--white);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.1;
}

.robot-platform {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  align-items: center;
  gap: clamp(30px, 6vw, 96px);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.spec-grid div {
  padding: 18px;
  background: #fff;
}

.spec-grid strong {
  display: block;
  font-size: clamp(1.65rem, 2.8vw, 3.1rem);
  line-height: 1;
}

.spec-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted-dark);
  font-size: 0.9rem;
}

.robot-images {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.robot-images img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border: 1px solid var(--line-dark);
  background: #fff;
}

.robot-images .robot-main {
  grid-row: span 2;
  object-fit: contain;
}

.careers {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  align-items: center;
  gap: clamp(30px, 6vw, 96px);
}

.careers-media {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--black-2);
}

.careers-media img,
.careers-media video {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.career-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 30px;
}

.career-tags span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(247, 247, 242, 0.72);
  font-size: 0.9rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.75fr);
  gap: clamp(30px, 6vw, 92px);
}

.contact-card {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line-dark);
  background: #fff;
  color: var(--muted-dark);
  font-style: normal;
  word-break: break-word;
}

.contact-card strong {
  color: var(--ink);
  font-size: 1.28rem;
}

.contact-card a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.social-grid {
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(32px, 5vw, 62px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.social-link {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  padding: 18px;
  background: var(--black-2);
}

.social-link strong {
  font-size: 1.15rem;
}

.social-link span {
  color: var(--muted);
  font-size: 0.9rem;
}

.social-pending {
  cursor: not-allowed;
}

.site-footer {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px var(--pad);
  border-top: 1px solid var(--line);
  background: var(--black);
  color: var(--muted);
}

.site-footer a {
  color: var(--white);
}

@media (max-width: 1120px) {
  .system-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header: 68px;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav {
    position: absolute;
    top: var(--header);
    left: 12px;
    right: 12px;
    display: grid;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    background: rgba(8, 8, 8, 0.96);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-header[data-menu-open="true"] .mobile-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav a {
    padding: 13px 12px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 6.4rem);
  }

  .hero-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .statement,
  .product-hero-card,
  .motion-section,
  .robot-platform,
  .careers,
  .contact {
    grid-template-columns: 1fr;
  }

  .product-hero-card {
    min-height: auto;
  }

  .robot-images {
    grid-template-columns: 1fr;
  }

  .robot-images .robot-main {
    grid-row: auto;
    max-height: 720px;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 0.88rem;
  }

  .lang-switch button {
    padding: 6px 9px;
  }

  .hero {
    padding-bottom: 132px;
  }

  .hero-meta,
  .system-grid,
  .product-grid,
  .spec-grid,
  .social-grid,
  .motion-gallery {
    grid-template-columns: 1fr;
  }

  .hero-meta span {
    min-height: 52px;
  }

  .system-grid article {
    min-height: 250px;
  }

  .system-grid article > span,
  .product-card span {
    margin-bottom: 42px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
