/* ==========================================================================
   检序科技产品站 · 设计令牌
   ========================================================================== */
:root {
  --paper: #ffffff;
  --mist: #f4f7fa;
  --panel: #fbfcfe;
  --ink: #14243b;
  --navy: #0f1b2d;
  --blue: #1fa3d7;
  --blue-deep: #156a8f;
  --blue-soft: #e6f6fc;
  --teal: #0e8c9e;
  --gold: #e8a317;
  --line: #e3e9f0;
  --line-strong: #c9d3e0;
  --muted: #5a6b85;
  --soft: #5f7189;
  --danger: #c93a3a;
  --danger-soft: #fff4f3;
  --warning: #b07400;
  --warning-soft: #fff8e8;
  --success: #0b8a64;
  --success-soft: #ecfdf5;
  --radius: 2px;
  --container: 1240px;
  --gutter: 32px;
  --section: 112px;

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", "Noto Sans SC", sans-serif;
  --font-serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(31, 163, 215, 0.22);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nowrap {
  white-space: nowrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: #1a2b4a;
  border-color: #1a2b4a;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
  margin-top: 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(15, 27, 45, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-text span {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav > a {
  position: relative;
  font-size: 13.5px;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.2s ease;
}

.site-nav > a:hover {
  color: var(--ink);
}

.site-nav > a[aria-current="location"] {
  color: var(--blue-deep);
}

.site-nav > a[aria-current="location"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--blue);
}

.nav-extra {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 64px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(31, 163, 215, 0.07), transparent 32%),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 27, 45, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 62%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  padding: 40px 0 64px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--blue-deep);
  letter-spacing: 0.04em;
}

.hero-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--blue);
  flex: none;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(40px, 4.8vw, 66px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.hero-lede {
  max-width: 540px;
  margin-top: 24px;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--muted);
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 34px;
  list-style: none;
  font-size: 12.5px;
  color: var(--muted);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--blue);
  flex: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 48px;
}

.hero-stats > div {
  padding: 20px 0 24px;
  border-right: 1px solid var(--line);
}

.hero-stats > div:not(:first-child) {
  padding-left: 24px;
}

.hero-stats > div:last-child {
  border-right: 0;
}

.hero-stats dt {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.hero-stats dd {
  margin-top: 4px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

/* Workbench */
.hero-visual {
  position: relative;
  width: 100%;
}

.workbench {
  position: relative;
  width: 100%;
  max-width: 610px;
  margin-left: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(15, 27, 45, 0.1), 0 2px 6px rgba(15, 27, 45, 0.04);
  overflow: hidden;
}

.wb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 14px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.wb-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}

.wb-title img {
  border-radius: 4px;
}

.wb-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--success);
}

.wb-status i,
.alert-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex: none;
}

.wb-body {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 10px;
  padding: 12px;
}

.wb-journey {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px;
  background: #fff;
}

.wb-sample {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-strong);
}

.barcode-mini {
  width: 52px;
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 1px,
    transparent 1px 3px,
    var(--ink) 3px 5px,
    transparent 5px 7px
  );
  opacity: 0.78;
  clip-path: inset(0 100% 0 0);
  animation: barcodeIn 0.8s 0.3s ease forwards;
}

.sample-no {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.sample-type {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--soft);
  white-space: nowrap;
}

.journey-list {
  position: relative;
  margin-top: 10px;
  list-style: none;
}

.journey-list::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}

.journey-list li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  padding: 7px 0 7px 18px;
}

.journey-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
  z-index: 1;
}

.journey-list li.is-done::before {
  background: var(--blue);
}

.journey-list li.is-current::before {
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 163, 215, 0.18);
}

.journey-list time {
  font-size: 10.5px;
  color: var(--soft);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.journey-list b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.journey-list span {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.45;
}

.wb-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wb-report,
.wb-qc {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 10px;
  background: #fff;
}

.wb-report h4,
.wb-qc h4 {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}

.result-row {
  display: grid;
  grid-template-columns: 1fr auto auto 34px;
  align-items: baseline;
  gap: 6px;
  padding: 3px 0;
  border-bottom: 1px solid #f0f3f7;
  font-size: 11px;
}

.result-row:last-of-type {
  border-bottom: 0;
}

.result-row b {
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.result-row em {
  font-style: normal;
  font-size: 9.5px;
  color: var(--soft);
}

.result-row i {
  font-style: normal;
  font-size: 9.5px;
  text-align: right;
}

.result-row.is-high b {
  color: var(--danger);
}

.flag-high {
  color: var(--danger);
  font-weight: 700;
}

.flag-ok {
  color: var(--soft);
}

.wb-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 10px;
  color: var(--muted);
}

.dot-warning {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--gold);
  flex: none;
}

.qc-chart {
  width: 100%;
  height: auto;
  overflow: visible;
}

.qc-line {
  stroke: #e2e9f1;
  stroke-width: 1;
}

.qc-sd3 {
  stroke-dasharray: 2 3;
}

.qc-mean {
  stroke: #b9c7d8;
  stroke-dasharray: 4 3;
}

.qc-path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawQC 1.4s 0.5s ease forwards;
}

.qc-point {
  fill: var(--blue);
  stroke: #fff;
  stroke-width: 1;
}

.qc-point-warn {
  fill: var(--gold);
  stroke: #fff;
  stroke-width: 1.2;
}

.qc-label {
  font-family: var(--font-sans);
  font-size: 7.5px;
  fill: #6b7d96;
}

.wb-alert {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 12px 12px;
  padding: 9px 11px;
  border: 1px solid #f2d6d4;
  background: var(--danger-soft);
  border-radius: 3px;
}

.wb-alert .alert-dot {
  background: var(--danger);
}

.wb-alert b {
  display: block;
  font-size: 11px;
  color: var(--danger);
  line-height: 1.3;
}

.wb-alert span {
  display: block;
  font-size: 10px;
  color: #8a6d6b;
  line-height: 1.4;
}

.wb-barcode {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 1px,
    transparent 1px 4px,
    var(--ink) 4px 5px,
    transparent 5px 9px
  );
  opacity: 0.14;
}

/* ==========================================================================
   Standards
   ========================================================================== */
.standards {
  padding: 22px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.standards-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.standards-row span {
  padding: 4px 20px;
  border-right: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink);
}

.standards-row span:first-child {
  padding-left: 0;
}

.standards-row span:last-child {
  border-right: 0;
}

.standards-note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--soft);
}

/* ==========================================================================
   Section primitives
   ========================================================================== */
.section {
  padding: var(--section) 0;
}

.section--mist {
  background: var(--mist);
}

.section-head {
  max-width: 820px;
  margin-bottom: 52px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--blue-deep);
  letter-spacing: 0.1em;
}

.section-label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--blue);
  flex: none;
}

.section-head h2,
.contact-copy h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-lede {
  max-width: 700px;
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ==========================================================================
   Values
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.value-item {
  padding: 28px 28px 8px;
  border-right: 1px solid var(--line);
}

.value-item:first-child {
  padding-left: 0;
}

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

.value-icon {
  width: 28px;
  height: 28px;
  color: var(--blue-deep);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-item h3 {
  margin-top: 20px;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
}

.value-item p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* ==========================================================================
   Products
   ========================================================================== */
.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.product-row.reverse .product-copy {
  order: 2;
}

.product-row.reverse .product-visual {
  order: 1;
}

.product-copy {
  max-width: 520px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-domain {
  font-size: 12px;
  color: var(--blue-deep);
  letter-spacing: 0.08em;
}

.product-en {
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
  font-size: 11.5px;
  color: var(--soft);
  letter-spacing: 0.04em;
}

.product-copy h3 {
  margin-top: 10px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.product-lede {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.feature-list {
  margin-top: 20px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 8px 0 8px 18px;
  border-bottom: 1px solid #eef2f6;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
}

.feature-list li:last-child {
  border-bottom: 0;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 4px;
  height: 4px;
  background: var(--blue);
}

.product-fit {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.product-visual {
  display: flex;
  justify-content: center;
}

.visual-panel {
  width: 100%;
  max-width: 540px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(15, 27, 45, 0.05);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.panel-tag {
  padding: 2px 7px;
  border: 1px solid var(--line);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
}

.status-pill {
  padding: 2px 8px;
  border: 1px solid #c6f0e0;
  background: var(--success-soft);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--success);
}

.panel-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--soft);
}

/* LIS visual */
.lis-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px;
  border: 1px solid var(--line);
}

.lis-stage {
  padding: 12px;
  border-right: 1px solid var(--line);
}

.lis-stage:last-child {
  border-right: 0;
}

.stage-code {
  font-size: 10px;
  color: var(--blue-deep);
  letter-spacing: 0.14em;
}

.lis-stage b {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
}

.lis-stage p {
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--muted);
}

.stage-state {
  display: inline-block;
  margin-top: 8px;
  font-size: 10px;
  color: var(--soft);
}

.stage-state.is-done {
  color: var(--success);
}

.stage-state.is-live {
  color: var(--blue-deep);
}

.instrument-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.instrument-list div {
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.instrument-list b {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
}

.instrument-list span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--soft);
}

/* QMS visual */
.qms-flow {
  display: grid;
  grid-template-columns: 1.15fr 0.72fr 0.95fr;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.signal-list {
  list-style: none;
  border: 1px solid var(--line);
}

.signal-list li {
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
}

.signal-list li:last-child {
  border-bottom: 0;
}

.qms-hub {
  padding: 10px 8px;
  border: 1px solid rgba(31, 163, 215, 0.45);
  background: var(--blue-soft);
  text-align: center;
}

.qms-hub b {
  display: block;
  font-size: 11.5px;
  color: var(--blue-deep);
}

.qms-hub span {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  color: var(--muted);
}

.qms-steps {
  list-style: none;
}

.qms-steps li {
  position: relative;
  padding: 5px 0 5px 13px;
  font-size: 10.5px;
  color: var(--ink);
}

.qms-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  background: var(--blue);
}

/* LabAI visual */
.clause-matrix {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: 3px;
  margin-top: 12px;
}

.clause-cell {
  height: 8px;
  background: #e3e9f0;
  border-radius: 1px;
}

.clause-cell.lg-covered {
  background: var(--blue);
}

.clause-cell.lg-manual {
  background: #bfe6f4;
}

.clause-cell.lg-other {
  background: #d7e3ee;
}

.clause-cell.lg-na {
  background: #edf1f5;
}

.clause-cell.lg-gap {
  background: var(--gold);
}

.matrix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-top: 10px;
  list-style: none;
  font-size: 10px;
  color: var(--muted);
}

.matrix-legend li {
  display: flex;
  align-items: center;
  gap: 5px;
}

.matrix-legend i {
  width: 7px;
  height: 7px;
  border-radius: 1px;
}

.lg-covered {
  background: var(--blue);
}

.lg-manual {
  background: #bfe6f4;
}

.lg-other {
  background: #d7e3ee;
}

.lg-na {
  background: #edf1f5;
}

.lg-gap {
  background: var(--gold);
}

.matrix-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
}

.matrix-summary b {
  font-size: 20px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}

.matrix-summary span {
  font-size: 10.5px;
  color: var(--muted);
}

.parse-list {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.parse-list div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid #eef2f6;
}

.parse-list div:last-child {
  border-bottom: 0;
}

.parse-list b {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}

.parse-list span {
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}

/* DRG visual */
.drg-context {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}

.drg-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.drg-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.drg-card b {
  font-size: 11.5px;
  font-weight: 600;
}

.drg-card span {
  font-size: 10.5px;
  color: var(--muted);
}

.drg-card i {
  grid-column: 1 / -1;
  font-style: normal;
  font-size: 9.5px;
  color: var(--blue-deep);
}

.drg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.drg-tags span {
  padding: 2px 6px;
  border: 1px solid var(--line);
  font-size: 9.5px;
  color: var(--muted);
}

/* ==========================================================================
   Flow
   ========================================================================== */
.barcode-rule {
  height: 12px;
  margin-bottom: 28px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 2px,
    transparent 2px 5px,
    var(--ink) 5px 6px,
    transparent 6px 10px,
    var(--ink) 10px 13px,
    transparent 13px 16px
  );
  opacity: 0.3;
  clip-path: inset(0 100% 0 0);
  animation: barcodeIn 1.1s 0.15s ease forwards;
}

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

.flow-stage {
  padding: 28px 32px 32px;
  border-right: 1px solid var(--line);
}

.flow-stage:first-child {
  padding-left: 0;
}

.flow-stage:last-child {
  border-right: 0;
}

.flow-stage-head h3 {
  margin-top: 6px;
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
}

.flow-stage-head p {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}

.flow-list {
  margin-top: 18px;
  list-style: none;
  counter-reset: flow;
}

.flow-list li {
  position: relative;
  counter-increment: flow;
  padding: 12px 0 12px 26px;
  border-top: 1px solid #eef2f6;
}

.flow-list li::before {
  content: "0" counter(flow);
  position: absolute;
  left: 0;
  top: 14px;
  font-size: 10px;
  color: var(--blue-deep);
  font-variant-numeric: tabular-nums;
}

.flow-list b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.flow-list span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}

.flow-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--soft);
}

/* 流程区保持静态可读，不依赖滚动揭示，保证打印与整页截图完整。 */

/* ==========================================================================
   Quality
   ========================================================================== */
.quality-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 64px;
  align-items: start;
}

.quality-points article {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.quality-points article:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.quality-points h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
}

.quality-points p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.evidence-chain {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.evidence-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
}

.evidence-chain ol {
  position: relative;
  margin-top: 16px;
  list-style: none;
  counter-reset: ev;
}

.evidence-chain ol::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--line);
}

.evidence-chain li {
  position: relative;
  counter-increment: ev;
  padding: 0 0 18px 36px;
}

.evidence-chain li::before {
  content: counter(ev);
  position: absolute;
  left: 0;
  top: 2px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  background: var(--paper);
  font-size: 9.5px;
  color: var(--blue-deep);
  font-variant-numeric: tabular-nums;
}

.evidence-chain li:last-child {
  padding-bottom: 0;
}

.evidence-chain li b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.evidence-chain li span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}

.evidence-chain li.is-key b {
  color: var(--blue-deep);
}

.evidence-note {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.6;
  color: var(--soft);
}

.signal-flow {
  display: grid;
  grid-template-columns: 1.15fr 40px 0.85fr;
  gap: 16px;
  align-items: center;
  margin-top: 56px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.signal-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.signal-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
}

.signal-chips span {
  padding: 6px 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--muted);
}

.signal-arrow {
  height: 1px;
  background: var(--line-strong);
  position: relative;
}

.signal-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  transform: rotate(45deg);
}

.signal-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.signal-steps div {
  padding-left: 10px;
  border-left: 2px solid var(--blue);
}

.signal-steps b {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
}

.signal-steps span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}

/* ==========================================================================
   AI
   ========================================================================== */
.ai-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.clause-panel {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.clause-matrix--large {
  grid-template-columns: repeat(20, minmax(0, 1fr));
  gap: 4px;
}

.clause-matrix--large .clause-cell {
  height: 12px;
}

.ai-capabilities {
  border-top: 1px solid var(--line);
}

.ai-capability {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.ai-capability > b {
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.ai-capability h3 {
  font-size: 15.5px;
  font-weight: 600;
}

.ai-capability p {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.ai-boundary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.ai-boundary h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.ai-boundary ul {
  margin-top: 8px;
  list-style: none;
}

.ai-boundary li {
  position: relative;
  padding: 7px 0 7px 16px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

.ai-boundary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 4px;
  height: 4px;
  background: var(--success);
}

.ai-boundary .is-negative li::before {
  background: var(--danger);
}

.ai-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.75;
  color: var(--soft);
}

/* ==========================================================================
   Security
   ========================================================================== */
.section--dark {
  background: var(--navy);
  color: #e6f6fc;
}

.section--dark .section-label {
  color: #66c5ec;
}

.section--dark .section-label::before {
  background: #66c5ec;
}

.section--dark h2 {
  color: #fff;
}

.section--dark .section-lede {
  color: #b9c7d8;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.security-copy h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}

.security-list {
  margin-top: 36px;
}

.security-list article {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.security-list h3 {
  font-size: 15.5px;
  font-weight: 600;
  color: #fff;
}

.security-list p {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.75;
  color: #b9c7d8;
}

.security-stack {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: #13243a;
  overflow: hidden;
}

.stack-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stack-row:last-child {
  border-bottom: 0;
}

.stack-index {
  padding-top: 2px;
  font-size: 10.5px;
  color: #66c5ec;
  letter-spacing: 0.08em;
}

.stack-row b {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}

.stack-row p {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.65;
  color: #b9c7d8;
}

.sm-tag {
  display: inline-block;
  margin: 0 2px;
  padding: 0 5px;
  border: 1px solid rgba(102, 197, 236, 0.4);
  color: #9fdcf2;
  font-size: 10px;
}

.security-note {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.7;
  color: #8fa3ba;
}

/* ==========================================================================
   Scale
   ========================================================================== */
.scale-subtitle {
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.stat-sheet {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat-sheet > div {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-sheet dt {
  font-size: 11.5px;
  color: var(--muted);
}

.stat-sheet dd {
  margin-top: 6px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.deploy-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.deploy-row > div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.deploy-row > div:first-child {
  padding-left: 0;
}

.deploy-row > div:last-child {
  border-right: 0;
}

.deploy-row h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.deploy-row p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ==========================================================================
   Scenarios
   ========================================================================== */
.scenario-table {
  border-top: 1px solid var(--line);
}

.scenario-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.scenario-head {
  padding: 10px 0;
  font-size: 11px;
  color: var(--soft);
  letter-spacing: 0.06em;
}

.scenario-row h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.scenario-row p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.scenario-row > span {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--blue-deep);
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-quote {
  position: sticky;
  top: 110px;
}

.quote-rule {
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: 24px;
  background: var(--gold);
}

.about-quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.about-sign {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.about-copy .section-label {
  margin-bottom: 16px;
}

.about-lede {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
}

.about-copy > p:not(.section-label):not(.about-lede):not(.about-slogan):not(.family-line) {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.principles {
  margin-top: 24px;
  list-style: none;
}

.principles li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.principles li:last-child {
  border-bottom: 1px solid var(--line);
}

.principles b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.principles span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.family-line {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.about-slogan {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-deep);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-steps {
  margin-top: 32px;
  list-style: none;
  counter-reset: step;
}

.contact-steps li {
  position: relative;
  counter-increment: step;
  padding: 16px 0 16px 36px;
  border-top: 1px solid var(--line);
}

.contact-steps li::before {
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 18px;
  font-size: 10px;
  color: var(--blue-deep);
  font-variant-numeric: tabular-nums;
}

.contact-steps b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.contact-steps span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.contact-meta {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.contact-meta > div {
  display: flex;
  gap: 16px;
  font-size: 13px;
}

.contact-meta dt {
  width: 40px;
  color: var(--soft);
}

.contact-meta dd {
  color: var(--ink);
}

.contact-placeholder-note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--soft);
}

.contact-form {
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(15, 27, 45, 0.05);
}

.form-head h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}

.form-head p {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.field {
  margin-top: 18px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 88px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 163, 215, 0.16);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  margin-top: 5px;
  font-size: 11.5px;
  color: var(--danger);
}

.form-privacy {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--soft);
  text-align: center;
}

.form-status {
  min-height: 18px;
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.form-status.is-ok {
  color: var(--success);
}

.form-status.is-error {
  color: var(--danger);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 56px 0 28px;
  background: var(--navy);
  color: #b9c7d8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  border-radius: 8px;
}

.footer-brand b {
  display: block;
  font-size: 15px;
  color: #fff;
}

.footer-brand span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: #8fa3ba;
}

.footer-col h3 {
  margin-bottom: 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #8fa3ba;
  letter-spacing: 0.06em;
}

.footer-col a,
.footer-col span {
  display: block;
  margin-bottom: 8px;
  font-size: 12.5px;
  color: #b9c7d8;
}

.footer-col a:hover {
  color: #fff;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  font-size: 11px;
  color: #8fa3ba;
}

.legal-sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes barcodeIn {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes drawQC {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-copy > * {
  animation: riseIn 0.55s ease both;
}

.hero-copy > :nth-child(1) { animation-delay: 0.04s; }
.hero-copy > :nth-child(2) { animation-delay: 0.1s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.22s; }
.hero-copy > :nth-child(5) { animation-delay: 0.28s; }

.hero-visual .workbench {
  animation: riseIn 0.7s 0.16s ease both;
}

.journey-list li {
  animation: riseIn 0.45s ease both;
}

.journey-list li:nth-child(1) { animation-delay: 0.34s; }
.journey-list li:nth-child(2) { animation-delay: 0.4s; }
.journey-list li:nth-child(3) { animation-delay: 0.46s; }
.journey-list li:nth-child(4) { animation-delay: 0.52s; }
.journey-list li:nth-child(5) { animation-delay: 0.58s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-copy {
    padding: 32px 0 24px;
    max-width: 720px;
  }

  .hero-visual {
    max-width: 680px;
    margin: 0 auto;
  }

  .workbench {
    max-width: none;
  }

  .product-row {
    gap: 40px;
  }

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

  .value-item {
    padding: 28px;
    border-bottom: 1px solid var(--line);
  }

  .value-item:first-child {
    padding-left: 28px;
  }

  .value-item:nth-child(2) {
    border-right: 0;
  }

  .value-item:nth-child(3) {
    padding-left: 0;
    border-bottom: 0;
  }

  .value-item:nth-child(4) {
    padding-right: 0;
  }

  .quality-grid,
  .ai-grid,
  .security-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-quote {
    position: static;
  }

  .security-visual {
    max-width: 640px;
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 24px;
    --section: 80px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 49;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(15, 27, 45, 0.08);
    height: calc(100vh - 72px);
    overflow-y: auto;
  }

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

  .site-nav > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .site-nav > a[aria-current="location"]::after {
    display: none;
  }

  .nav-extra {
    display: block;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .nav-extra .btn {
    width: 100%;
  }

  .nav-extra p {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
  }

  .nav-toggle {
    display: flex;
  }

  .product-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }

  .product-row.reverse .product-copy,
  .product-row.reverse .product-visual {
    order: initial;
  }

  .product-copy {
    max-width: 640px;
  }

  .product-visual {
    justify-content: flex-start;
  }

  .visual-panel {
    max-width: 640px;
  }

  .flow-spine {
    grid-template-columns: 1fr;
  }

  .flow-stage {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow-stage:last-child {
    border-bottom: 0;
  }

  .signal-flow {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .signal-arrow {
    display: none;
  }

  .signal-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-sheet {
    grid-template-columns: repeat(2, 1fr);
  }

  .deploy-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .deploy-row > div:nth-child(2) {
    border-right: 0;
  }

  .deploy-row > div:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--line);
  }

  .deploy-row > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .header-inner {
    gap: 16px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats > div {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats > div:not(:first-child) {
    padding-left: 16px;
  }

  .hero-stats > div:nth-child(2) {
    border-right: 0;
  }

  .hero-stats > div:nth-child(3) {
    padding-left: 0;
  }

  .hero-stats > div:nth-child(3),
  .hero-stats > div:nth-child(4) {
    border-bottom: 0;
  }

  .wb-body {
    grid-template-columns: 1fr;
  }

  .wb-qc {
    display: none;
  }

  .standards-row span {
    padding: 4px 12px 4px 0;
    border-right: 0;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-item,
  .value-item:first-child,
  .value-item:nth-child(3) {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-item:last-child {
    border-bottom: 0;
  }

  .scenario-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 0;
  }

  .scenario-head {
    display: none;
  }

  .signal-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .signal-steps div {
    padding-left: 10px;
  }

  .ai-boundary {
    grid-template-columns: 1fr;
  }

  .clause-matrix--large {
    grid-template-columns: repeat(13, minmax(0, 1fr));
  }

  .contact-form {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

@media (max-width: 480px) {
  :root {
    --gutter: 20px;
    --section: 64px;
  }

  .brand-text span {
    display: none;
  }

  .header-actions .btn-sm {
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-points {
    gap: 8px;
    flex-direction: column;
  }

  .wb-sample {
    flex-wrap: wrap;
  }

  .sample-type {
    margin-left: 0;
  }

  .lis-flow {
    grid-template-columns: 1fr;
  }

  .lis-stage {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lis-stage:last-child {
    border-bottom: 0;
  }

  .instrument-list,
  .drg-cards {
    grid-template-columns: 1fr;
  }

  .qms-flow {
    grid-template-columns: 1fr;
  }

  .qms-hub {
    text-align: left;
  }

  .qms-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
  }

  .signal-chips {
    grid-template-columns: 1fr;
  }

  .stat-sheet {
    grid-template-columns: 1fr 1fr;
  }

  .stat-sheet > div {
    padding: 18px 16px;
  }

  .stat-sheet dd {
    font-size: 24px;
  }

  .deploy-row {
    grid-template-columns: 1fr;
  }

  .deploy-row > div,
  .deploy-row > div:nth-child(3),
  .deploy-row > div:first-child {
    padding: 18px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .deploy-row > div:first-child {
    border-top: 0;
  }

  .ai-capability {
    grid-template-columns: 52px 1fr;
    gap: 14px;
  }

  .ai-capability > b {
    font-size: 26px;
  }

  .contact-meta > div {
    flex-direction: column;
    gap: 2px;
  }

  .contact-form {
    padding: 20px;
  }

  .about-quote blockquote {
    font-size: 30px;
  }
}

@media print {
  .site-header,
  .skip-link,
  .nav-toggle,
  .hero-actions {
    display: none !important;
  }

  .hero-copy > *,
  .hero-visual .workbench,
  .journey-list li {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .section,
  .hero {
    padding: 32px 0;
  }

  .barcode-rule,
  .wb-barcode {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js .flow-stage[data-reveal] {
    opacity: 1;
    transform: none;
  }

  .qc-path {
    stroke-dashoffset: 0;
  }
}

/* ==========================================================================
   2026-11-22 优化新增：QMS 模块网格 / LabAI 三步流程 / FAQ
   ========================================================================== */

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

.module-grid span {
  padding: 10px 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--blue-soft);
  border: 0.5px solid var(--line);
  border-radius: var(--radius);
}

.qms-steps--flat ol {
  margin: 0;
  padding: 12px 12px 12px 34px;
  list-style: decimal;
  background: var(--panel);
  border: 0.5px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--muted);
}

.qms-steps--flat li {
  margin: 2px 0;
}

.parse-flow {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.parse-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 10px 12px;
  background: var(--panel);
  border: 0.5px solid var(--line);
  border-radius: var(--radius);
}

.parse-index {
  grid-row: 1 / span 2;
  align-self: start;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--paper);
  background: var(--blue-deep);
  border-radius: 50%;
}

.parse-step b {
  font-size: 14px;
  color: var(--ink);
}

.parse-step p {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 880px;
}

.faq-item {
  padding: 20px 24px;
  background: var(--panel);
  border: 0.5px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--ink);
}

.faq-item p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-demo {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 0.5px dashed var(--line-strong);
}

.product-demo span {
  font-size: 13px;
  color: var(--soft);
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 5px 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-switch:hover {
  color: var(--blue-deep);
  border-color: var(--blue);
}

/* ---------------- Product roadmap ---------------- */

.roadmap {
  margin-top: 56px;
  padding: 32px 36px;
  background: var(--panel);
  border: 0.5px dashed var(--line-strong);
  border-radius: var(--radius-lg, 14px);
}

.roadmap-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 22px;
}

.roadmap-head h3 {
  margin: 0;
  font-size: 19px;
  color: var(--ink);
}

.roadmap-head p {
  margin: 0;
  font-size: 13.5px;
  color: var(--soft);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.roadmap-grid article {
  padding: 18px 20px;
  background: var(--paper);
  border: 0.5px solid var(--line);
  border-radius: var(--radius);
}

.roadmap-grid h4 {
  margin: 10px 0 6px;
  font-size: 15px;
  color: var(--ink);
}

.roadmap-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.rm-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 500;
  border-radius: 999px;
}

.rm-tag--green {
  color: #1f7a5c;
  background: #e8f5ef;
}

.rm-tag--blue {
  color: #245a9e;
  background: #eaf2fb;
}

.roadmap-note {
  margin: 20px 0 0;
  font-size: 12.5px;
  color: var(--soft);
}

@media (max-width: 900px) {
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   移动端下载
   ========================================================================== */
.mobile-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  padding: 40px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.mobile-download-copy {
  max-width: 640px;
}

.mobile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mobile-meta {
  margin-top: 14px;
  font-weight: 600;
  color: var(--ink);
}

.mobile-note {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.mobile-hash {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  word-break: break-all;
}

.mobile-qr {
  margin: 0;
  text-align: center;
  flex: 0 0 auto;
}

.mobile-qr img {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
}

.mobile-qr figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 767px) {
  .mobile-download {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    gap: 28px;
  }
}
