:root {
  --ink: #070b12;
  --ocean: #0f1b2d;
  --surface: #111d30;
  --surface-2: #172842;
  --line: #2c405c;
  --paper: #e8edf5;
  --paper-dim: #aebbd0;
  --signal-blue: #1b5f9e;
  --signal-orange: #bf6530;
  --font-display: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, var(--ink) 0, var(--ocean) 42rem, var(--ink) 100%);
  color: var(--paper);
  line-height: 1.55;
}

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

button {
  font: inherit;
}

img {
  max-width: 100%;
}

.shell {
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border: 1px solid var(--paper);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  transform: translateY(-160%);
}

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

:focus-visible {
  outline: 3px solid var(--signal-orange);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgb(7 11 18 / 96%);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
  font-family: var(--font-display);
}

.wordmark {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .19em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: var(--paper-dim);
  font-size: .8rem;
  letter-spacing: .035em;
}

.nav-links > a {
  padding-block: 8px;
  border-bottom: 1px solid transparent;
}

.nav-links > a:hover {
  border-color: var(--signal-blue);
  color: var(--paper);
}

.language-switcher {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
}

.lang-button {
  border: 0;
  border-radius: 3px;
  padding: 6px 10px;
  background: transparent;
  color: var(--paper-dim);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  transition: transform 140ms ease, background-color 140ms ease, color 140ms ease;
}

.lang-button:hover {
  transform: translateY(-2px);
  color: var(--paper);
}

.lang-button[aria-pressed="true"] {
  background: var(--signal-blue);
  color: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(561px, 1fr);
  min-height: 520px;
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.hero-copy {
  display: flex;
  min-width: 0;
  padding: clamp(32px, 4vw, 64px) clamp(32px, 3.5vw, 56px);
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
}

.hero-product {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  border-left: 1px solid var(--line);
  background: var(--surface-2);
}

.hero-product img {
  display: block;
  width: 100%;
  height: auto;
}

.eyebrow,
.card-index,
.workflow-number {
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

h1 {
  max-width: 560px;
  margin: 18px 0 24px;
  font-size: clamp(2.35rem, 3.2vw, 3.35rem);
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.04;
}

.hero p {
  max-width: 580px;
  margin: 0;
  color: var(--paper-dim);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.badge-soon {
  padding-left: 12px;
  border-left: 2px solid var(--signal-orange);
  color: var(--paper-dim);
  font-family: var(--font-display);
  font-size: .82rem;
}

.hero-copy .badge-soon {
  margin-top: 32px;
}

.signal-rule {
  height: 1px;
  margin-top: 38px;
  background: linear-gradient(90deg, var(--signal-blue) 0 18%, var(--line) 18% 100%);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
  margin-bottom: 100px;
  border: 1px solid var(--line);
  border-top: 0;
  background: rgb(15 27 45 / 74%);
}

.info-item {
  min-height: 142px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.info-item:last-child {
  border-right: 0;
}

.info-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: .98rem;
  line-height: 1.25;
}

.info-item span {
  display: block;
  margin-top: 13px;
  color: var(--paper-dim);
  font-size: .86rem;
}

.section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(190px, .72fr) 2fr;
  gap: 48px;
  margin-bottom: 44px;
}

h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.04;
}

.section-heading p {
  max-width: 860px;
  margin: 20px 0 0;
  color: var(--paper-dim);
  font-size: 1.06rem;
  line-height: 1.62;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-card {
  min-height: 270px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.product-card:last-child {
  border-right: 0;
}

h3 {
  margin: 58px 0 12px;
  font-size: 1.38rem;
  font-weight: 650;
  letter-spacing: -.012em;
  line-height: 1.16;
}

.product-card p,
.workflow-step p,
.about-copy p,
.disclosure p {
  color: var(--paper-dim);
}

.product-card p,
.workflow-step p {
  margin: 0;
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 20px;
}

.shot-row figure {
  margin: 0;
}

.shot-row figure:first-child {
  grid-column: 1 / -1;
}

.shot-row img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
}

.shot-row figcaption {
  margin-top: 12px;
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: .75rem;
}

.mech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.workflow-step {
  min-height: 230px;
  padding: 26px;
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.workflow-step:last-child {
  border-right: 0;
}

.workflow-step h3 {
  margin-top: 46px;
  font-size: 1.14rem;
}

.workflow-step p {
  font-size: .9rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  border: 1px solid var(--line);
}

.about-copy,
.disclosure {
  min-height: 230px;
  padding: 32px;
}

.about-copy {
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.disclosure {
  background: var(--surface-2);
}

.about-copy p,
.disclosure p {
  margin: 18px 0 0;
  line-height: 1.65;
}

footer {
  padding: 36px 0 52px;
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: .72rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.footer-qualification {
  flex-basis: 100%;
  max-width: 860px;
  color: var(--paper-dim);
  font-size: .68rem;
  line-height: 1.55;
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-product {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (min-width: 1001px) {
  html[lang="zh-Hans"] .hero h1 {
    font-size: clamp(2.1rem, 2.5vw, 2.55rem);
    letter-spacing: -.015em;
    white-space: nowrap;
  }
}

@media (max-width: 920px) {
  .stat-strip,
  .mech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-item:nth-child(2),
  .workflow-step:nth-child(2) {
    border-right: 0;
  }

  .info-item:nth-child(-n + 2),
  .workflow-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .topnav {
    gap: 14px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links > a {
    display: none;
  }

  .hero {
    margin-top: 14px;
  }

  .hero-copy {
    padding: 48px 24px;
  }

  .stat-strip,
  .feature-grid,
  .shot-row,
  .mech-grid,
  .section-heading,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    margin-bottom: 70px;
  }

  .info-item,
  .info-item:nth-child(2),
  .product-card,
  .workflow-step,
  .workflow-step:nth-child(2),
  .about-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .info-item:last-child,
  .product-card:last-child,
  .workflow-step:last-child {
    border-bottom: 0;
  }

  .shot-row figure:first-child {
    grid-column: auto;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading {
    gap: 22px;
  }

  .section-heading p {
    margin-top: 16px;
  }

  .footer-content {
    flex-direction: column;
  }
}

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

  .hero-copy {
    padding: 40px 20px;
  }
}

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

  .lang-button {
    transition: none;
  }

  .lang-button:hover {
    transform: none;
  }
}
