/* ==========================================================================
   硅软生物 · 站点样式
   设计契约见 DESIGN.md
   ========================================================================== */

/* ---------- 1. Token ---------- */
:root {
  --ink-950: #05141d;
  --ink-900: #071a26;
  --ink-800: #0b2534;
  --ink-700: #123449;
  --ink-600: #1c4a64;

  --blue: #0091da;
  --blue-700: #0077b6;
  --blue-100: #d6edfa;
  --blue-50: #eef7fd;

  --green: #1b8a3f;
  --green-100: #d8efe0;
  --green-50: #eef8f1;

  --amber: #b8720a;
  --amber-50: #fdf4e5;

  --paper: #ffffff;
  --gray-50: #f6f8fa;
  --gray-100: #edf1f4;
  --gray-200: #dce3e8;
  --gray-300: #c3cfd7;

  --text: #0f2431;
  --text-soft: #47606f;
  --text-mute: #7b8d9a;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  --container: 1200px;
  --content-width: 760px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 8vw, 112px);

  --shadow-sm: 0 1px 2px rgba(7, 26, 38, .06), 0 2px 8px rgba(7, 26, 38, .04);
  --shadow: 0 2px 4px rgba(7, 26, 38, .05), 0 12px 32px rgba(7, 26, 38, .08);
  --shadow-lg: 0 24px 64px rgba(7, 26, 38, .16);

  --space-unit: 8px;
  --radius-md: var(--radius);
  --font-display: var(--font);
  --font-body: var(--font);
  --color-focus: var(--blue);
  --color-border: var(--gray-200);
  --color-surface: var(--paper);
  --color-text: var(--text);
  --color-accent: var(--blue);
  --color-background: var(--paper);
  --color-muted-text: var(--text-mute);
  --color-primary: var(--blue);
  --color-primary-hover: var(--blue-700);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue-700); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--blue); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--blue-100); color: var(--ink-900); }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  padding: 10px 18px; background: var(--ink-900); color: #fff;
  border-radius: var(--radius-sm); font-size: 14px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-y) 0; }
.section--tight { padding: clamp(48px, 5vw, 72px) 0; }
.section--gray { background: var(--gray-50); }
.section--ink { background: var(--ink-900); color: #fff; }
.section--ink h2, .section--ink h3 { color: #fff; }

.section-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-700);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--blue); border-radius: 2px;
}
.section--ink .eyebrow { color: var(--blue); }

h1 { font-size: clamp(34px, 5vw, 62px); }
h2 { font-size: clamp(26px, 3.2vw, 42px); }
h3 { font-size: clamp(19px, 1.6vw, 23px); }
h4 { font-size: 17px; }

.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--text-soft); line-height: 1.8; }
.section--ink .lead { color: rgba(255, 255, 255, .72); }

.muted { color: var(--text-mute); }
.small { font-size: 14px; }
.mono-num { font-variant-numeric: tabular-nums; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; line-height: 1;
  white-space: nowrap; transition: all .18s ease;
  border: 1px solid transparent;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-700); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 145, 218, .28); }
.btn--ghost { border-color: var(--gray-300); color: var(--text); background: #fff; }
.btn--ghost:hover { border-color: var(--ink-700); color: var(--ink-900); }
.btn--on-dark { border-color: rgba(255, 255, 255, .34); color: #fff; }
.btn--on-dark:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14.5px; color: var(--blue-700);
}
.arrow-link::after { content: "→"; transition: transform .18s ease; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex; align-items: center; gap: 32px;
  height: 76px;
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 16.5px; font-weight: 800; letter-spacing: .01em; color: #fff; }
.brand__sub { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; color: rgba(255, 255, 255, .55); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 9px 13px; border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .82);
  transition: all .16s ease;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .14); font-weight: 600; }

.header-cta { margin-left: 8px; flex-shrink: 0; }

/* scrolled / solid state */
.site-header[data-scrolled] {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 var(--gray-200), 0 8px 24px rgba(7, 26, 38, .06);
}
.site-header[data-scrolled] .brand__name { color: var(--ink-900); }
.site-header[data-scrolled] .brand__sub { color: var(--text-mute); }
.site-header[data-scrolled] .nav a { color: var(--text-soft); }
.site-header[data-scrolled] .nav a:hover { color: var(--ink-900); background: var(--gray-100); }
.site-header[data-scrolled] .nav a[aria-current="page"] { color: var(--blue-700); background: var(--blue-50); }
.site-header[data-scrolled] .btn--on-dark { border-color: var(--gray-300); color: var(--ink-900); }
.site-header[data-scrolled] .btn--on-dark:hover { background: var(--gray-50); border-color: var(--ink-700); }

/* solid by default on inner pages */
.site-header--solid { background: rgba(255, 255, 255, .97); border-bottom-color: var(--gray-200); }
.site-header--solid .brand__name { color: var(--ink-900); }
.site-header--solid .brand__sub { color: var(--text-mute); }
.site-header--solid .nav a { color: var(--text-soft); }
.site-header--solid .nav a:hover { color: var(--ink-900); background: var(--gray-100); }
.site-header--solid .nav a[aria-current="page"] { color: var(--blue-700); background: var(--blue-50); }
.site-header--solid .btn--on-dark { border-color: var(--gray-300); color: var(--ink-900); }
.site-header--solid .btn--on-dark:hover { background: var(--gray-50); border-color: var(--ink-700); }

.nav-toggle { display: none; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; min-height: min(88vh, 780px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 140px; padding-bottom: 0;
  background: var(--ink-950); color: #fff; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 20, 29, .93) 0%, rgba(5, 20, 29, .78) 42%, rgba(5, 20, 29, .34) 100%),
    linear-gradient(180deg, rgba(5, 20, 29, .62) 0%, rgba(5, 20, 29, .18) 34%, rgba(5, 20, 29, .86) 100%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.hero__body { max-width: 720px; padding-bottom: clamp(40px, 5vw, 64px); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 9px; margin-bottom: 26px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 100px; font-size: 13px; color: rgba(255, 255, 255, .88);
  backdrop-filter: blur(8px);
}
.hero__badge i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(27, 138, 63, .22);
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero__lede {
  font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.8;
  color: rgba(255, 255, 255, .78); max-width: 620px; margin-bottom: 34px;
}
.hero .btn-row { margin-bottom: 8px; }

/* KPI strip */
.kpis {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(5, 20, 29, .5);
  backdrop-filter: blur(10px);
}
.kpis__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
}
.kpi { padding: 26px 24px 26px 0; }
.kpi + .kpi { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .1); }
.kpi__num {
  font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.02em;
  color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums;
}
.kpi__num span { font-size: .55em; font-weight: 600; color: rgba(255, 255, 255, .5); margin-left: 4px; }
.kpi__label { margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, .58); }

/* Page head (inner pages) */
.page-head {
  padding: calc(76px + clamp(48px, 6vw, 88px)) 0 clamp(40px, 5vw, 64px);
  background: var(--ink-900); color: #fff; position: relative; overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; right: -10%; top: -40%;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 145, 218, .22), transparent 68%);
  pointer-events: none;
}
.page-head__inner { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.page-head h1 { color: #fff; margin-bottom: 18px; max-width: 860px; }
.page-head .lead { color: rgba(255, 255, 255, .74); max-width: 720px; }

.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255, 255, 255, .5); margin-bottom: 20px;
}
.crumb a { color: rgba(255, 255, 255, .62); }
.crumb a:hover { color: #fff; }
.crumb > * + *::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- 7. Series cards ---------- */
.series-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.series-card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px 28px; background: #fff;
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  transition: all .22s ease; overflow: hidden;
}
.series-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--blue); transform: scaleY(0); transform-origin: top;
  transition: transform .28s ease;
}
.series-card:hover { border-color: var(--gray-300); box-shadow: var(--shadow); transform: translateY(-3px); }
.series-card:hover::before { transform: scaleY(1); }
.series-card__no {
  font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--blue);
  font-variant-numeric: tabular-nums; margin-bottom: 14px;
}
.series-card h3 { font-size: 20px; margin-bottom: 10px; }
.series-card h3 a { color: var(--ink-900); }
.series-card p { font-size: 14.5px; color: var(--text-soft); line-height: 1.7; margin-bottom: 20px; }
.series-card__desc {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden;
}
.series-card__models {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--gray-100);
  display: flex; flex-wrap: wrap; gap: 6px;
}
.chip {
  display: inline-block; padding: 3px 9px; border-radius: 3px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  font-size: 12px; font-weight: 600; color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}
.chip--blue { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-700); }
.chip--green { background: var(--green-50); border-color: var(--green-100); color: var(--green); }

/* ---------- 8. Model cards ---------- */
.docs-layout { display: grid; grid-template-columns: 252px 1fr; gap: clamp(32px, 4vw, 56px); align-items: start; }

.side-nav { position: sticky; top: 100px; }
.side-nav__title {
  font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 14px;
}
.side-nav a { line-height: 1.55;
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text-soft); border-left: 2px solid transparent;
}
.side-nav a:hover { background: var(--gray-50); color: var(--ink-900); }
.side-nav a.is-active { background: var(--blue-50); color: var(--blue-700); border-left-color: var(--blue); font-weight: 600; }
.side-nav a b { font-size: 11px; color: var(--text-mute); font-weight: 700; font-variant-numeric: tabular-nums; }
.side-nav a.is-active b { color: var(--blue); }

.series { scroll-margin-top: 100px; margin-bottom: clamp(48px, 5vw, 72px); }
.series:last-child { margin-bottom: 0; }
.series__head {
  display: flex; align-items: flex-start; gap: 18px;
  padding-bottom: 20px; margin-bottom: 24px; border-bottom: 2px solid var(--ink-900);
}
.series__no {
  flex-shrink: 0; font-size: 34px; font-weight: 800; line-height: 1;
  color: var(--blue); font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}
.series__head h2 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 6px; }
.series__head p { font-size: 14.5px; color: var(--text-soft); max-width: 720px; }
.series__count { margin-left: auto; flex-shrink: 0; }

.model {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  background: #fff; margin-bottom: 20px; overflow: hidden;
  scroll-margin-top: 100px;
}
.model:last-child { margin-bottom: 0; }
.model__head {
  display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap;
  padding: 22px 24px; background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.model__id {
  flex-shrink: 0; padding: 5px 11px; border-radius: 3px;
  background: var(--ink-900); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.model__title { flex: 1 1 260px; min-width: 0; }
.model__title h3 { font-size: 18.5px; margin-bottom: 4px; }
.model__title p { font-size: 14px; color: var(--text-soft); line-height: 1.65; }
.model__price { flex-shrink: 0; text-align: right; }
.model__price strong { display: block; font-size: 18px; font-weight: 800; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.model__price span { font-size: 12px; color: var(--text-mute); }

.model__body { padding: 4px 24px 20px; }
.spec {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; margin: 16px 0 0;
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.spec > div { padding: 12px 16px; background: #fff; }
.spec > div:last-child:nth-child(odd) { grid-column: span 2; }
.spec dt { font-size: 12px; color: var(--text-mute); margin-bottom: 4px; letter-spacing: .01em; }
.spec dd {
  margin: 0; font-size: 14px; color: var(--text); line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
.spec dd strong { font-weight: 700; }

.tag {
  display: inline-block; padding: 1px 6px; margin-left: 5px;
  border-radius: 2px; font-size: 10.5px; font-weight: 700;
  vertical-align: 1px; letter-spacing: .02em; white-space: nowrap;
}
.tag--doc { background: var(--blue-50); color: var(--blue-700); }
.tag--ref { background: var(--gray-100); color: var(--text-mute); }
.tag--tbd { background: var(--amber-50); color: var(--amber); }

/* 数据来源标记（复用旧数据里的 tag-src 类名） */
.tag-src {
  display: inline-block; margin-left: 6px; padding: 1px 6px;
  border-radius: 2px; font-size: 10.5px; font-weight: 700; line-height: 1.6;
  background: var(--blue-50); color: var(--blue-700);
  vertical-align: 1px; white-space: nowrap; letter-spacing: .02em;
}
.tag-src.pending { background: var(--amber-50); color: var(--amber); }


.model__note {
  margin-top: 16px; padding: 13px 16px;
  background: var(--blue-50); border-left: 2px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13.5px; color: var(--ink-700); line-height: 1.65;
}
.model__note strong { color: var(--ink-900); }

/* quick table */
.quick-table { font-size: 14px; }
.quick-table thead th {
  text-align: left; padding: 12px 14px; background: var(--ink-900); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
.quick-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.quick-table thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.quick-table tbody td { padding: 12px 14px; border-bottom: 1px solid var(--gray-200); vertical-align: top; }
.quick-table tbody tr:hover { background: var(--blue-50); }
.quick-table tbody tr:last-child td { border-bottom: 0; }
.quick-table .c-code { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.quick-table .c-price { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.table-scroll { overflow-x: auto; border: 1px solid var(--gray-200); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.table-scroll .quick-table { min-width: 580px; }
.table-scroll .quick-table th:nth-child(2), .table-scroll .quick-table td:nth-child(2) { min-width: 200px; }

/* ---------- 9. Feature / stat blocks ---------- */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.feature-split--rev .feature-split__media { order: 2; }
.feature-split__media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.feature-split__body h2 { margin-bottom: 18px; }
.feature-split__body p { color: var(--text-soft); margin-bottom: 16px; }

.check-list { display: grid; gap: 12px; margin-top: 24px; }
.check-list li {
  position: relative; padding-left: 30px; font-size: 15px; color: var(--text-soft);
  line-height: 1.7;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath d='M1 4.5 4 7.5 10 1' stroke='%231b8a3f' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
}
.check-list li strong { color: var(--ink-900); font-weight: 700; }
.section--ink .check-list li { color: rgba(255, 255, 255, .78); }
.section--ink .check-list li strong { color: #fff; }
.section--ink .check-list li::before {
  background-color: rgba(255, 255, 255, .1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath d='M1 4.5 4 7.5 10 1' stroke='%234ec98a' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.stat-cell { background: #fff; padding: 28px 24px; }
.stat-cell__num { font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: var(--ink-900); line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-cell__num span { font-size: .5em; font-weight: 600; color: var(--text-mute); margin-left: 3px; }
.stat-cell__label { margin-top: 8px; font-size: 13.5px; color: var(--text-soft); }
.stat-cell__note { margin-top: 4px; font-size: 12px; color: var(--text-mute); }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--gray-200); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -13px; left: 0;
  padding: 0 8px 0 0; background: var(--paper);
  font-size: 12px; font-weight: 800; color: var(--blue); letter-spacing: .08em;
}
.section--gray .step::before { background: var(--gray-50); }
.step h4 { margin-bottom: 8px; font-size: 16px; }
.step p { font-size: 14px; color: var(--text-soft); line-height: 1.7; }

/* ---------- 10. FAQ ---------- */
.faq-cat { scroll-margin-top: 100px; margin-bottom: 44px; }
.faq-cat:last-child { margin-bottom: 0; }
.faq-cat__title {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-700); margin-bottom: 18px;
}
.faq-cat__title::after { content: ""; flex: 1; height: 1px; background: var(--gray-200); }

details.faq {
  border-bottom: 1px solid var(--gray-200);
  scroll-margin-top: 100px;
}
details.faq summary {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 40px 20px 0; position: relative;
  font-size: 16.5px; font-weight: 600; color: var(--ink-900);
  cursor: pointer; list-style: none; line-height: 1.55;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 26px;
  width: 10px; height: 10px; border-right: 2px solid var(--text-mute);
  border-bottom: 2px solid var(--text-mute);
  transform: rotate(45deg); transition: transform .22s ease;
}
details.faq[open] summary::after { transform: rotate(-135deg); top: 30px; }
details.faq summary:hover { color: var(--blue-700); }
details.faq summary .q-no {
  flex-shrink: 0; font-size: 12px; font-weight: 800; color: var(--blue);
  padding-top: 3px; font-variant-numeric: tabular-nums; letter-spacing: .04em;
}
details.faq .a {
  padding: 0 40px 24px 40px; font-size: 15px; color: var(--text-soft); line-height: 1.85;
}
details.faq .a p + p { margin-top: 12px; }
details.faq .a strong { color: var(--ink-900); }
details.faq[open] summary { color: var(--ink-900); }

/* ---------- 11. Notice / callout ---------- */
.notice {
  padding: 20px 24px; border-radius: var(--radius);
  background: var(--amber-50); border: 1px solid #f2e0c2;
  font-size: 14.5px; color: #6b4a10; line-height: 1.75;
}
.notice strong { color: #4a3208; }
.notice--info { background: var(--blue-50); border-color: var(--blue-100); color: var(--ink-700); }
.notice--info strong { color: var(--ink-900); }
.notice + .notice { margin-top: 12px; }

/* ---------- 12. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--ink-900); color: #fff;
  padding: clamp(56px, 7vw, 88px) 0;
}
.cta-band::after {
  content: ""; position: absolute; right: -8%; top: -60%;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 145, 218, .28), transparent 66%);
}
.cta-band__inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; font-size: clamp(24px, 2.8vw, 36px); }
.cta-band p { color: rgba(255, 255, 255, .7); max-width: 560px; }

/* ---------- 13. Articles ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden; transition: all .22s ease;
}
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--gray-300); }
.article-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-100); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-card:hover .article-card__media img { transform: scale(1.04); }
.article-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.article-card__meta { font-size: 12px; color: var(--text-mute); letter-spacing: .04em; margin-bottom: 10px; }
.article-card h3 { font-size: 18px; line-height: 1.45; margin-bottom: 10px; }
.article-card h3 a { color: var(--ink-900); }
.article-card p { font-size: 14px; color: var(--text-soft); line-height: 1.7; margin-bottom: 18px; }
.article-card .arrow-link { margin-top: auto; }

/* long-form article */
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose { max-width: 760px; font-size: 16.5px; line-height: 1.9; color: var(--text-soft); }
.prose > * + * { margin-top: 20px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(22px, 2.2vw, 28px); color: var(--ink-900); margin-top: 52px; padding-top: 8px; line-height: 1.35; }
.prose h3 { font-size: 19px; color: var(--ink-900); margin-top: 34px; }
.prose strong { color: var(--ink-900); font-weight: 700; }
.prose ul, .prose ol { padding-left: 0; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 26px; counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: 0;
  font-size: 13px; font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums;
}
.prose table { font-size: 14px; margin-top: 24px; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.prose thead th { background: var(--gray-50); text-align: left; padding: 11px 14px; font-size: 12.5px; color: var(--text-soft); font-weight: 700; border-bottom: 1px solid var(--gray-200); }
.prose tbody td { padding: 11px 14px; border-bottom: 1px solid var(--gray-100); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose blockquote {
  margin: 28px 0; padding: 20px 24px; background: var(--blue-50);
  border-left: 3px solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15.5px; color: var(--ink-700);
}
.prose .callout {
  margin: 28px 0; padding: 20px 24px; background: var(--amber-50);
  border: 1px solid #f2e0c2; border-radius: var(--radius); font-size: 15px; color: #6b4a10;
}

.toc { position: sticky; top: 100px; }
.toc__title { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 14px; }
.toc a { display: block; padding: 7px 0 7px 12px; border-left: 2px solid var(--gray-200); font-size: 13.5px; color: var(--text-soft); line-height: 1.5; }
.toc a:hover { color: var(--blue-700); border-left-color: var(--blue); }

/* ---------- 14. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.info-list { display: grid; gap: 0; border-top: 1px solid var(--gray-200); }
.info-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--gray-200); }
.info-list dt { font-size: 13px; color: var(--text-mute); padding-top: 2px; }
.info-list dd { margin: 0; font-size: 15.5px; color: var(--ink-900); font-weight: 500; line-height: 1.65; }
.info-list dd a { font-weight: 600; }

.contact-card {
  padding: 32px; background: var(--ink-900); color: #fff;
  border-radius: var(--radius); position: relative; overflow: hidden;
}
.contact-card::after {
  content: ""; position: absolute; right: -30%; bottom: -40%;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 145, 218, .26), transparent 68%);
}
.contact-card > * { position: relative; z-index: 1; }
.contact-card h3 { color: #fff; margin-bottom: 8px; }
.contact-card p { color: rgba(255, 255, 255, .68); font-size: 14.5px; margin-bottom: 24px; }
.contact-card .phone {
  display: block; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800;
  color: #fff; letter-spacing: -.01em; margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.contact-card .phone:hover { color: var(--blue); }

/* ---------- 15. Footer ---------- */
.site-footer { background: var(--ink-950); color: rgba(255, 255, 255, .62); padding: clamp(56px, 6vw, 80px) 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 40px; height: 40px; object-fit: contain; }
.footer-brand__name { color: #fff; font-size: 16.5px; font-weight: 800; line-height: 1.2; }
.footer-brand__sub { font-size: 10.5px; letter-spacing: .16em; color: rgba(255, 255, 255, .4); text-transform: uppercase; }
.footer-about { max-width: 320px; line-height: 1.8; font-size: 13.5px; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; margin-bottom: 16px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: rgba(255, 255, 255, .62); font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; line-height: 1.8; font-size: 13.5px; }
.footer-col address a { color: #fff; font-weight: 600; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12.5px; color: rgba(255, 255, 255, .4);
}
.footer-bottom a { color: rgba(255, 255, 255, .5); }
.footer-bottom a:hover { color: #fff; }

/* ---------- 16. Responsive ---------- */
@media (max-width: 1080px) {
  .series-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .spec { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; margin-left: auto; border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, .24); color: #fff;
  }
  .site-header[data-scrolled] .nav-toggle,
  .site-header--solid .nav-toggle { border-color: var(--gray-300); color: var(--ink-900); }
  .nav-toggle span { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
  .nav-toggle span::before, .nav-toggle span::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 2px;
    background: currentColor; border-radius: 2px; transition: transform .2s ease;
  }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }

  .site-header[data-nav-open] { background: var(--ink-950); }
  .site-header[data-nav-open] .nav {
    display: flex; position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 28px;
    background: var(--ink-950); border-top: 1px solid rgba(255, 255, 255, .1);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .site-header[data-nav-open] .nav a {
    padding: 14px 4px; color: rgba(255, 255, 255, .8); font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .site-header[data-nav-open] .nav a[aria-current="page"] { color: var(--blue); background: none; }
  .site-header[data-nav-open] .brand__name { color: #fff; }
  .site-header[data-nav-open] .brand__sub { color: rgba(255, 255, 255, .5); }

  .docs-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 8px; }
  .side-nav__title { display: none; }
  .side-nav a { line-height: 1.55; white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 8px 4px; }
  .side-nav a.is-active { border-left: 0; border-bottom-color: var(--blue); background: none; }

  .feature-split, .feature-split--rev .feature-split__media { grid-template-columns: 1fr; order: 0; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .kpis__inner { grid-template-columns: repeat(2, 1fr); }
  .kpi { padding: 20px 20px 20px 0; }
  .kpi:nth-child(3) { border-left: 0; padding-left: 0; }
  .kpi:nth-child(3), .kpi:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, .1); }
}

@media (max-width: 720px) {
  .series-grid, .article-grid { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: auto; padding-top: 132px; padding-bottom: 48px; }
  .hero__media img { opacity: .5; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(5, 20, 29, .9) 0%, rgba(5, 20, 29, .86) 46%, rgba(5, 20, 29, .97) 100%);
  }
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero__body { padding-bottom: 36px; }
  .model__head { padding: 18px 18px; }
  .model__body { padding: 4px 18px 16px; }
  .model__price { text-align: left; width: 100%; }
  details.faq summary { font-size: 15.5px; padding-right: 34px; }
  details.faq .a { padding: 0 8px 22px 32px; font-size: 14.5px; }
  .stat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .info-list > div { grid-template-columns: 1fr; gap: 4px; }
  .btn-row .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .cta-band, .side-nav, .toc { display: none; }
  body { font-size: 12pt; }
  .page-head { background: none; color: #000; padding-top: 0; }
  .page-head h1, .page-head .lead { color: #000; }
}

/* ============================================================
   正文内容兼容层：技术文章 / GR-E 专页沿用旧站的内容类名
   ============================================================ */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  background: #fff; padding: 24px 26px;
}
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--ink-900); }
.card p { font-size: 14.5px; color: var(--text-soft); line-height: 1.8; }
.card-tag {
  display: inline-block; margin-bottom: 12px; padding: 2px 8px;
  border-radius: 2px; background: var(--blue-50); color: var(--blue-700);
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
}

.table-wrap {
  overflow-x: auto; margin: 24px 0;
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}
.table-wrap table { margin: 0; border: 0; min-width: 720px; }
.table-wrap th:first-child, .table-wrap td:first-child { padding-left: 20px; }
.table-wrap th:last-child, .table-wrap td:last-child { padding-right: 20px; }

.checks { list-style: none; margin: 16px 0; padding: 0; }
.checks li {
  position: relative; padding-left: 26px; margin-bottom: 10px;
  font-size: 15px; line-height: 1.8; color: var(--text-soft);
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 13px; height: 7px; border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.checks strong { color: var(--ink-900); font-weight: 700; }

.notice {
  margin: 28px 0; padding: 18px 22px;
  background: var(--blue-50); border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14.5px; line-height: 1.85; color: var(--text-soft);
}
.notice strong { color: var(--ink-900); }

.faq-item { padding: 22px 0; border-top: 1px solid var(--gray-200); }
.faq-item:first-of-type { border-top: 0; padding-top: 0; }
.faq-item h3 {
  font-size: 17px; font-weight: 700; color: var(--ink-900);
  margin-bottom: 10px; line-height: 1.5;
}
.faq-item p { font-size: 15px; line-height: 1.85; color: var(--text-soft); }
.faq-item p + p { margin-top: 12px; }

.article-list { display: grid; gap: 16px; margin: 28px 0; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 12.5px; color: var(--text-mute); margin-bottom: 10px;
}
.article-tag {
  padding: 2px 8px; border-radius: 2px;
  background: var(--gray-100); color: var(--text-soft);
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
.num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 13px; font-weight: 800; margin-right: 10px;
  vertical-align: 2px;
}

@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .table-scroll .quick-table { min-width: 0; }
  .table-scroll .quick-table th:nth-child(3),
  .table-scroll .quick-table td:nth-child(3) { display: none; }
  .table-scroll .quick-table th:nth-child(2),
  .table-scroll .quick-table td:nth-child(2) { min-width: 0; }
  .series-head p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* 文章列表 */
.post-list { display: grid; gap: 18px; }
.post {
  display: block; padding: 30px 32px; background: #fff;
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.post:hover {
  border-color: var(--blue); transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(9, 30, 44, .09);
}
.post__meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; color: var(--text-mute); margin-bottom: 14px;
}
.post h2 {
  font-size: clamp(20px, 2vw, 25px); line-height: 1.35; color: var(--ink-900);
  letter-spacing: -.01em; margin-bottom: 12px;
}
.post > p { font-size: 15px; line-height: 1.8; color: var(--text-soft); max-width: 820px; }
.post__foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--gray-100);
  font-size: 12.5px; color: var(--text-mute);
}
.post__more { color: var(--blue-700); font-weight: 700; }
@media (max-width: 640px) { .post { padding: 24px 22px; } }
