:root {
  --gray-02: #e1e1e1;
  --paper: #f7f7f7;
  --line: var(--gray-02);
  --launch-neutral: #f1f1f1;
  --site-header-height: 56px;
}

.site-header {
  height: var(--site-header-height);
  border-color: #dcdcdc;
  background: var(--launch-neutral);
}
.site-header .brand, .site-header .brand img { width: 136px; min-width: 136px; }
.site-header .header-cta { padding-block: 7px; }
.site-header .language-switch { min-block-size: 36px; }
html[lang] { scroll-padding-top: calc(var(--site-header-height) + 12px); }
html[lang]:has(body[data-page='product']) {
  scroll-padding-top: calc(var(--site-header-height) + 12px);
}
html[lang] :is(.legal-copy > section, #brochures, #user-manual, #developer-resources) { scroll-margin-top: 0; }

.apex-launch.apex-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: calc(100vh - var(--site-header-height));
  min-height: calc(100svh - var(--site-header-height));
  padding: 0 0 clamp(22px, 4.8svh, 42px);
  background: var(--launch-neutral);
}
.apex-launch-copy {
  position: relative;
  z-index: 1;
  width: fit-content;
}
.apex-launch.apex-hero h1 {
  margin: 0;
  font: 500 clamp(31px, min(8vw, 12svh), 132px)/1.03 Orbitron, sans-serif;
  letter-spacing: -.045em;
}
.apex-launch-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px clamp(14px, 2.2vw, 28px);
  margin-block-start: 8px;
}
.apex-launch .apex-launch-tagline,
html[lang='zh-CN'] .apex-launch .apex-launch-tagline {
  margin: 0;
  color: #4a4a4a;
  font-size: clamp(15px, 1.7vw, 23px);
  line-height: 1.5;
  text-wrap: balance;
}
:is(.apex-launch-cta, .resource-hero-download) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 15px 8px 18px;
  border: 1px solid #858585;
  border-radius: 999px;
  background: rgb(255 255 255 / .54);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}
:is(.apex-launch-cta, .resource-hero-download) span { font: 400 16px/1 Inter, sans-serif; }
:is(.apex-launch-cta, .resource-hero-download):hover { border-color: var(--ink); background: #fff; }
:is(.apex-launch-cta, .resource-hero-download):focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.apex-launch-frame {
  position: absolute;
  inset: 0;
  container-type: size;
  overflow: hidden;
  pointer-events: none;
}
.apex-launch-image {
  position: absolute;
  inset-inline-start: 0;
  /* Trim background above the hands on short screens and keep the robotic palm in view. */
  --apex-image-top: min(calc(100cqh - 58.2cqw), max(0px, calc((100cqh - 66.65cqw) / 2)));
  --apex-image-lift-limit: clamp(16px, 6.8svh, 48px);
  /* The highest part of the hand sits about 16% of the artwork width down from the top. */
  --apex-image-lift: clamp(0px, calc(var(--apex-image-top) + 16cqw - 12px), var(--apex-image-lift-limit));
  inset-block-start: calc(var(--apex-image-top) - var(--apex-image-lift));
  width: 100%;
  height: auto;
}
.apex-launch-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

body[data-page='product'] main > section[id] { scroll-margin-top: 0; }

main .landing-section-title,
html[lang='zh-CN'] main .landing-section-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(27px, 3.3vw, 52px);
  font-weight: 500;
  line-height: 1.18;
  text-wrap: balance;
}
body[data-page='product'] main > .section { padding-block: clamp(56px, 6.5vw, 96px); }
body[data-page='product'] main > :is(#product-testing, #demonstrations) {
  padding-block: clamp(42px, 5vw, 72px);
  scroll-margin-top: 0;
}

main :is(.eyebrow, .resource-type, .resource-status > span, .legal-intro, .legal-version span,
  .legal-version time, .legal-sidebar a) { color: var(--muted); }
.legal-sidebar a:is(:hover, [aria-current='page']) { color: var(--ink); }
.product-testing :is(.testing-counter, .testing-directory-label, .testing-directory-label > span,
  .testing-tab-category, .testing-tab-index) { color: var(--muted); }
@media (min-width: 981px) {
  body[data-page='product'] main #product-testing {
    --testing-stage-height: clamp(350px, calc(100svh - 250px), 600px);
  }
}

.product-capabilities { background: #fff; }
.product-capabilities .capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  margin-top: clamp(25px, 3vw, 42px);
}
.capability {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--paper);
}
.capability .cap-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.capability .cap-text { display: flex; flex: 1; flex-direction: column; padding: clamp(16px, 2vw, 26px); }
.capability .cap-text h3 { margin: 0 0 8px; font-size: clamp(17px, 1.7vw, 24px); font-weight: 500; }
.capability .cap-text p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.capability .cap-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #d3d3d3;
  color: var(--muted);
  font-size: 13px;
}
.capability .cap-proof strong {
  white-space: nowrap;
  color: var(--ink);
  font-size: clamp(17px, 2vw, 26px);
  font-weight: 500;
}

.product-demos { background: var(--paper); color: var(--ink); }
.product-demos .product-demo-tabs,
.product-demos .product-demo-tabs button,
.product-demos .product-demo-caption { border-color: #ccc; }
.product-demos .product-demo-tabs button,
.product-demos .product-demo-caption :is(p, span) { color: var(--muted); }
.product-demos .product-demo-tabs button[aria-selected='true'] {
  background: var(--gray-02);
  color: var(--ink);
}

.product-specifications { background: var(--gray-02); }
.spec-brief {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: clamp(24px, 4vw, 44px) 0 32px;
  background: var(--paper);
}
.spec-brief > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: clamp(14px, 2.2vw, 32px);
  border-inline-start: 1px solid var(--gray-02);
}
.spec-brief dd {
  order: -1;
  margin: 0;
  white-space: nowrap;
  font: 500 clamp(19px, 3vw, 40px)/1.14 'Orbitron Numerals', Inter, sans-serif;
  letter-spacing: -.035em;
}
.spec-brief dt { color: var(--muted); font-size: 13px; line-height: 1.55; }
.spec-details, .spec-condition { max-width: 850px; }
.spec-details .spec-groups { border-top-color: #aaa; }
.spec-details .spec-groups summary { padding-block: 16px; font-size: 15px; line-height: 1.4; }
.spec-details .spec-groups details { border-bottom-color: #aaa; }
.spec-details .spec-groups .spec-table { margin-bottom: 16px; }
.spec-details .spec-table :is(th, td) { overflow-wrap: anywhere; }
.spec-details .spec-table th { color: var(--muted); }
.product-specifications .spec-condition,
html[lang='zh-CN'] .product-specifications .spec-condition { margin: 14px 0 0; color: #535353; font-size: 12px; }

body[data-page='resources'] { --red: var(--ink); }
.resource-hero {
  --resource-hero-height: calc(100svh - var(--site-header-height));
  --resource-lead-size: clamp(16px, 1.55vw, 22px);
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: calc(100vh - var(--site-header-height));
  min-height: var(--resource-hero-height);
  padding-block: clamp(16px, 2.8svh, 32px);
  background: var(--launch-neutral);
}
.resource-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
}
.resource-hero-copy {
  max-width: max(44%, 270px);
}
html[lang] .resource-hero h1 {
  margin: 0;
  font-size: clamp(32px, min(4.5vw, 10svh), 72px);
  font-weight: 500;
  line-height: 1.14;
}
.resource-hero .lead,
html[lang='zh-CN'] .resource-hero .lead {
  margin: 10px 0 20px;
  color: #4a4a4a;
  font-size: var(--resource-lead-size);
  line-height: 1.5;
}
@media (aspect-ratio > 1 / 1) {
  /* Align the visible starting strokes of the title and description. */
  .resource-hero .lead { padding-inline-start: 2px; }
}
@media (min-width: 981px) and (min-height: 570px) and (orientation: landscape) {
  html[lang='zh-CN'] .resource-hero .lead { letter-spacing: -.055em; }
}
.resource-hero .btn-row { gap: 10px 14px; }
.resource-hero-art {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(100%, max(72%, calc(var(--resource-hero-height) * 1.5)), calc(var(--resource-hero-height) * 1.95));
  mask-image: linear-gradient(to right, transparent 6%, #000 42%);
}
.resource-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
}
.resource-library {
  padding-block: clamp(28px, 3.5vw, 48px) clamp(56px, 6.5vw, 96px);
}
.resource-library-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 20px;
}
.resource-library-header .filter-row { margin: 0; }

.company-statement {
  --company-hero-inset: clamp(24px, 4svh, 44px);
  display: grid;
  min-height: calc(100vh - var(--site-header-height));
  min-height: calc(100svh - var(--site-header-height));
  overflow: hidden;
  padding-block: var(--company-hero-inset);
  background: var(--launch-neutral);
  color: var(--ink);
}
.company-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3.5vw, 56px);
}
html[lang] .company-hero-copy h1 {
  margin: clamp(16px, 2.1vw, 28px) 0;
  font-size: clamp(29px, 4vw, 62px);
  line-height: 1.14;
  text-wrap: balance;
}
html[lang] .company-hero-copy p {
  max-width: 36em;
  margin: 0;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.75;
  text-wrap: balance;
}
.company-hero-art {
  justify-self: end;
  width: min(100%, 620px, calc((100svh - var(--site-header-height) - 2 * var(--company-hero-inset) - 42px) * 1.14));
  margin: 0;
}
.company-hero-artwork {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.14;
}
.company-hero-artwork::before,
.company-hero-artwork::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 51%;
  left: 53%;
  width: 82%;
  aspect-ratio: 1;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.company-hero-artwork::after { width: 63%; border-color: #e0e0e0; }
.company-hero-artwork img {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(5px 12px 12px rgb(0 0 0 / .09));
}
.company-hand-open {
  top: 3%;
  right: 0;
  width: 73%;
  height: 84%;
  transform: rotate(14deg);
}
.company-hand-curved {
  top: 13%;
  left: 0;
  width: 65%;
  height: 82%;
  transform: rotate(-17deg);
}
.company-hero-mark {
  position: absolute;
  color: #929292;
  font: 400 16px/1 Inter, sans-serif;
}
.company-hero-mark-top { top: 16%; left: 2%; }
.company-hero-mark-bottom { bottom: 13%; right: 1%; }
.company-hero-caption {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1.45;
  text-align: center;
}
.company-hero-caption-label {
  position: relative;
  color: var(--ink);
  font: 500 10px/1.4 Inter, sans-serif;
  letter-spacing: .14em;
}
.company-hero-caption-label::before {
  content: '';
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: calc(100% + 9px);
  inline-size: 5px;
  block-size: 5px;
  border-radius: 50%;
  background: var(--red);
  transform: translateY(-50%);
}
html[lang] main .company-statement :is(.eyebrow, p) { color: var(--muted); }
.discipline-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.discipline { padding: clamp(14px, 2vw, 24px); overflow-wrap: break-word; }
.discipline span { color: var(--muted); }
.discipline > span:last-child { display: block; text-wrap: balance; }
.company-opportunities {
  padding-block: clamp(42px, 5vw, 74px);
  background: var(--paper);
}
.company-opportunities + .company-opportunities { border-top: 1px solid var(--line); }
.company-opportunities-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 4vw, 64px);
}
.company-opportunities-intro p {
  max-inline-size: 32em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
}
.company-opportunity-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  padding: clamp(16px, 2vw, 27px);
  border: 1px solid #d7d7d7;
  background: #fff;
  color: var(--ink);
}
.company-opportunity-link h3 {
  margin: 0;
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 500;
  line-height: 1.25;
}
.company-opportunity-link p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.company-opportunity-arrow {
  display: grid;
  place-items: center;
  justify-self: end;
  inline-size: 36px;
  block-size: 36px;
  border: 1px solid #858585;
  border-radius: 50%;
  font: 500 16px/1 Inter, sans-serif;
}
.company-opportunity-link:is(:hover, :focus-visible) { border-color: var(--ink); }
.company-opportunity-link:is(:hover, :focus-visible) .company-opportunity-arrow {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
html[lang] main .cta-band :is(h2, p),
html[lang] .company-statement ~ .section :is(h2, h3, p) {
  text-wrap: balance;
}
.company-contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.company-contact-channels a:hover { color: var(--ink); text-decoration: underline; }

.global-footer {
  padding-block: 48px 24px;
  border-top: 1px solid #d3d3d3;
  background: var(--gray-02);
  color: var(--ink);
}
.global-footer-top { grid-template-columns: 1.35fr 1fr 1fr; gap: 28px 42px; }
.global-footer .global-footer-column:last-child { grid-column: auto; }
.global-footer-column h2 {
  margin: 0 0 14px;
  font: 500 13px/1.5 Inter, "HarmonyOS Sans SC", sans-serif;
}
.global-footer-column a { margin-top: 10px; }
.global-footer :is(.global-footer-column a, .global-footer-bottom .footer-legal-links a,
  .global-footer-bottom .footer-icp, .global-footer-bottom .footer-fineprint > a) { color: var(--ink); }
html[lang] body .global-footer :is(.global-footer-address, .footer-fineprint, .global-footer-column h2) { color: #535353; }
.global-footer .global-footer-bottom { border-top-color: #bbb; }
.global-footer :is(.social-links, .footer-social) { margin-top: 20px; }
.global-footer .social-links a img { filter: none; }
.global-footer .footer-social .social-icon { filter: brightness(0); }
.global-footer :is(.social-links a, .footer-social :is(summary, a)) { border-color: #888; }
.global-footer :is(.social-links a:hover, .footer-social :is(summary, a):hover, .footer-social details[open] summary) { border-color: var(--ink); }
.global-footer .footer-social :is(summary, a):focus-visible { outline-color: var(--red); }
.global-footer a:hover { color: var(--ink); text-decoration-color: var(--red); }

@media (max-width: 900px) {
  .product-capabilities .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-opportunities-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .discipline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-height: 480px) and (orientation: landscape) {
  .apex-launch.apex-hero h1 { font-size: clamp(28px, 10.3svh, 46px); }
  .apex-launch .apex-launch-tagline,
  html[lang='zh-CN'] .apex-launch .apex-launch-tagline { font-size: 14px; }
  .apex-launch-actions { margin-block-start: 6px; }
  .apex-launch-image {
    --apex-image-top: min(calc(100cqh - 57.8cqw), max(0px, calc((100cqh - 66.65cqw) / 2)));
  }
}
@media (max-aspect-ratio: 1 / 1) {
  .resource-hero {
    grid-template-rows: minmax(112px, 1fr) auto;
    padding-block-start: 0;
  }
  .resource-hero-copy {
    max-width: none;
    padding-block-end: clamp(8px, 3svh, 28px);
    text-align: center;
  }
  .resource-hero .btn-row { justify-content: center; }
  .resource-hero-art {
    position: relative;
    inset: auto;
    grid-row: 1;
    align-self: center;
    width: 100%;
    height: 100%;
    max-height: min(58svh, 110vw);
    mask-image: linear-gradient(transparent, #000 2%, #000 76%, transparent);
  }
  .apex-launch.apex-hero {
    padding-block-end: clamp(24px, 10svh, 100px);
  }
  .apex-launch-copy { width: auto; text-align: center; }
  .apex-launch-actions { justify-content: center; }
  .apex-launch-image {
    --apex-image-top: max(0px, calc(43cqh - 33cqw));
    --apex-image-lift-limit: 18px;
  }
}
@media (max-aspect-ratio: 1 / 1) and (max-height: 680px) {
  .resource-hero-copy { padding-block-end: 0; }
  .resource-hero .lead,
  html[lang='zh-CN'] .resource-hero .lead { margin-block: 8px 14px; }
}
@media (max-width: 760px) {
  .company-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    align-content: space-evenly;
  }
  .company-hero-art { justify-self: center; width: min(100%, 400px, 47svh); }
  .site-header .brand, .site-header .brand img { width: 124px; min-width: 124px; }
  .site-header .main-nav { top: var(--site-header-height); background: var(--launch-neutral); }
  .site-header .language-switch { min-block-size: 40px; }
  .apex-launch.apex-hero h1 { font-size: clamp(35px, 10.5vw, 60px); }
  .spec-brief { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-brief > div:nth-child(n+3) { border-top: 1px solid var(--gray-02); }
  .global-footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
}
@media (max-width: 760px) and (max-height: 600px) {
  .company-statement { --company-hero-inset: 14px; }
  .company-hero-grid { gap: 14px; }
  html[lang] .company-hero-copy h1 { margin-block: 10px; }
  html[lang] .company-hero-copy p { font-size: 14px; line-height: 1.6; }
  .company-hero-art { width: min(100%, 400px); }
  .company-hero-artwork {
    width: min(100%, max(27svh, calc(100svh - 375px)));
    margin-inline: auto;
  }
}
@media (min-width: 540px) and (max-width: 760px) and (orientation: landscape) {
  .company-hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-content: center; }
  .company-hero-art { width: min(100%, 58svh); }
  .company-hero-artwork { width: 100%; }
}
@media (max-width: 480px) {
  .product-capabilities .capability-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  html[lang='en'] .company-statement ~ .section .discipline-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  html[lang='en'] .company-statement ~ section h2 { font-size: clamp(29px, 9vw, 34px); }
}
