:root {
  --ink: #081724;
  --ink-soft: #173145;
  --muted: #5f7284;
  --line: #d7e4ec;
  --paper: #f5f8fb;
  --paper-strong: #eaf2f7;
  --white: #ffffff;
  --blue: #176bff;
  --cyan: #00a7c8;
  --green: #0f7f74;
  --orange: #f05a28;
  --shadow: 0 18px 46px rgba(8, 23, 36, 0.12);
  --soft-shadow: 0 12px 28px rgba(8, 23, 36, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-soft);
  background: var(--white);
  font-family: "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "PingFang SC", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  font-size: 4.25rem;
  line-height: 1.04;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.14;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.25;
}

h4 {
  font-size: 1rem;
}

p {
  margin: 0;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-140%);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(215, 228, 236, 0.82);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 118px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link,
.nav-cta,
.nav-lang {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 14px;
  text-decoration: none;
  font-weight: 750;
  color: var(--ink);
}

.nav-link {
  position: relative;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 26px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.nav-cta {
  margin-left: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 22px rgba(23, 107, 255, 0.2);
}

.nav-lang {
  min-height: 36px;
  margin-left: 4px;
  border: 1px solid rgba(23, 107, 255, 0.18);
  padding: 0 11px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.78);
}

.page-en h1 {
  max-width: 900px;
}

.page-en .lead {
  max-width: 820px;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.mobile-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: calc(100svh - 96px);
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(245, 250, 252, 0.97) 0%, rgba(245, 250, 252, 0.9) 39%, rgba(245, 250, 252, 0.18) 78%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, var(--white) 100%);
}

.hero-home::before {
  background-image: url("/assets/products/lab-automation/lab-robot-scene.png");
}

.hero-smart-hand::before {
  background-image: url("/assets/products/smart-hand/smart-hand-family.png");
}

.hero-lab::before {
  background-image: url("/assets/products/lab-automation/lab-robot-scene.png");
}

.hero-inner {
  padding: 74px 0 88px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
}

.eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.lead {
  max-width: 760px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.16rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 850;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 24px rgba(23, 107, 255, 0.2);
}

.button.secondary {
  color: var(--ink);
  border-color: rgba(23, 107, 255, 0.2);
  background: rgba(255, 255, 255, 0.84);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
  margin-top: 34px;
}

.hero-facts div {
  min-height: 86px;
  border: 1px solid rgba(23, 107, 255, 0.16);
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 850;
}

.section {
  padding: 76px 0;
}

.section.tight {
  padding: 54px 0;
}

.section.band {
  background: var(--paper);
}

.section.tech-band {
  background:
    linear-gradient(180deg, #f8fbfd 0%, #eef6fa 100%);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}

.section-head.compact {
  display: block;
  max-width: 760px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  border: 1px solid rgba(215, 228, 236, 0.92);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.card-body {
  padding: 24px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p,
.feature-list li,
.spec-table td,
.resource-card p,
.timeline p,
.about-copy p:not(.eyebrow) {
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.product-card img,
.scene-card img,
.resource-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper-strong);
}

.product-card.featured {
  grid-column: span 2;
}

.product-card.featured img {
  aspect-ratio: 2 / 1;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(215, 228, 236, 0.94);
  border-radius: 8px;
  background: var(--line);
}

.value-strip div {
  padding: 26px;
  background: var(--white);
}

.value-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.15rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  min-height: 104px;
  border: 1px solid rgba(23, 107, 255, 0.13);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.feature-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.dark-panel {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 23, 36, 0.97), rgba(18, 51, 70, 0.96));
}

.dark-panel h2,
.dark-panel h3,
.dark-panel p {
  color: var(--white);
}

.dark-panel .eyebrow {
  color: #8fe7f2;
}

.dark-panel .eyebrow::after {
  background: var(--orange);
}

.capability-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

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

.capability-tiles div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.capability-tiles span {
  display: block;
  margin-bottom: 8px;
  color: #8fe7f2;
  font-weight: 850;
}

.page-hero {
  padding: 70px 0 56px;
  background:
    linear-gradient(180deg, rgba(245, 248, 251, 0.98) 0%, rgba(255, 255, 255, 1) 100%);
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: 48px;
  align-items: center;
}

.page-hero img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-hero .lead {
  margin-bottom: 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  text-align: left;
}

.spec-table th {
  width: 28%;
  color: var(--ink);
  background: var(--paper);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

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

.timeline div {
  border-top: 3px solid var(--cyan);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.timeline span,
.tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--blue);
  background: rgba(23, 107, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 850;
}

.resource-card {
  min-height: 210px;
}

.developer-hero {
  overflow: hidden;
}

.developer-hero .container {
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.78fr);
}

.developer-console {
  border: 1px solid rgba(23, 107, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8, 23, 36, 0.98), rgba(15, 63, 86, 0.96));
  box-shadow: var(--shadow);
}

.console-top {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 15px 18px;
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan);
}

.console-top span:nth-child(2) {
  background: var(--orange);
}

.console-top span:nth-child(3) {
  background: #8fe7f2;
}

.console-body {
  padding: 28px;
}

.console-body p {
  margin-bottom: 18px;
  color: #8fe7f2;
  font-size: 0.9rem;
  font-weight: 850;
}

.console-body ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.console-body li {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.07);
}

.console-body li span {
  color: var(--orange);
  font-weight: 850;
}

.developer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.developer-card {
  min-height: 100%;
  border: 1px solid rgba(215, 228, 236, 0.96);
  border-top: 3px solid var(--cyan);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.developer-card:nth-child(2) {
  border-top-color: var(--blue);
}

.developer-card:nth-child(3) {
  border-top-color: var(--orange);
}

.developer-card:nth-child(4) {
  border-top-color: var(--green);
}

.developer-card h3 {
  margin: 14px 0 10px;
}

.developer-card p,
.developer-card li,
.developer-roadmap p {
  color: var(--muted);
}

.developer-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.developer-card li {
  position: relative;
  padding-left: 18px;
}

.developer-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cyan);
}

.developer-doc-section {
  border: 1px solid rgba(215, 228, 236, 0.96);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.developer-doc-section + .developer-doc-section {
  margin-top: 18px;
}

.developer-doc-head {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(280px, 0.45fr);
  gap: 28px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 24px;
  background: linear-gradient(180deg, rgba(245, 248, 251, 0.94), rgba(255, 255, 255, 0.98));
}

.developer-doc-head h3 {
  margin-top: 12px;
}

.developer-doc-head p,
.developer-doc-card p,
.developer-doc-meta {
  color: var(--muted);
}

.developer-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.developer-doc-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--white);
}

.developer-doc-card h3 {
  margin: 14px 0 10px;
}

.developer-doc-card .card-link {
  margin-top: 18px;
}

.developer-doc-card.is-empty {
  min-height: 150px;
  justify-content: flex-start;
}

.developer-doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 18px;
  font-size: 0.86rem;
  font-weight: 750;
}

.developer-roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(215, 228, 236, 0.96);
  border-radius: 8px;
  background: var(--line);
}

.developer-roadmap div {
  min-height: 210px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.82);
}

.developer-roadmap span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 850;
}

.developer-roadmap h3 {
  margin-bottom: 10px;
}

.developer-support {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.48fr);
  gap: 42px;
  align-items: center;
}

.developer-support .button-row {
  justify-content: flex-end;
  margin-top: 0;
}

.dark-panel .button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.about-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.62fr);
  gap: 42px;
  align-items: start;
}

.about-copy p + p {
  margin-top: 16px;
}

.careers-grid .job-card {
  min-height: 100%;
}

.job-card .card-body {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.job-card .feature-list {
  margin-top: 14px;
}

.job-card .card-link {
  margin-top: auto;
  padding-top: 18px;
}

.apply-card {
  border-left: 3px solid var(--cyan);
}

.apply-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.apply-list div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.apply-list dt {
  color: var(--ink);
  font-weight: 850;
}

.apply-list dd {
  margin: 5px 0 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.72fr);
  gap: 40px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-list a,
.contact-list p {
  display: flex;
  min-height: 54px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
}

.lead-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 760;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.lead-form textarea {
  min-height: 120px;
  resize: vertical;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(140px, 0.6fr));
  gap: 36px;
  padding: 52px 0 36px;
}

.footer-brand img {
  width: 180px;
  filter: brightness(0) invert(1);
}

.site-footer h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 24px;
  text-align: center;
  font-size: 0.9rem;
}

.reveal {
  transform: translateY(14px);
  opacity: 0;
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .primary-nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-link,
  .nav-cta,
  .nav-lang {
    justify-content: flex-start;
    margin-left: 0;
  }

  .mobile-menu-button {
    display: grid;
  }

  .section-head,
  .page-hero .container,
  .capability-grid,
  .about-copy,
  .contact-layout,
  .developer-doc-head,
  .developer-hero .container,
  .developer-support {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.two,
  .hero-facts,
  .timeline,
  .footer-grid,
  .developer-grid,
  .developer-doc-grid,
  .developer-roadmap {
    grid-template-columns: 1fr;
  }

  .developer-support .button-row {
    justify-content: flex-start;
  }

  .product-card.featured {
    grid-column: span 1;
  }

  .value-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2.35rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 1.72rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 106px;
  }

  .header-inner {
    min-height: 64px;
  }

  .primary-nav {
    top: 64px;
  }

  .hero {
    min-height: calc(100svh - 84px);
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(245, 250, 252, 0.98) 0%, rgba(245, 250, 252, 0.9) 58%, rgba(245, 250, 252, 0.36) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, var(--white) 100%);
  }

  .hero-inner {
    padding: 44px 0 50px;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions,
  .button-row {
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .hero-facts div {
    min-height: auto;
  }

  .section {
    padding: 54px 0;
  }

  .section.tight {
    padding: 42px 0;
  }

  .card-body,
  .value-strip div,
  .lead-form {
    padding: 18px;
  }

  .feature-list,
  .capability-tiles {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}
