/* ============================================================
   TroveFrame — 官网样式
   设计原则：暖纸白 + 墨黑 + 极细线；彩色只属于 logo。
   ============================================================ */

:root {
  --paper: #faf8f4;
  --paper-2: #f3efe7;
  --paper-3: #ebe5da;
  --ink: #14161a;
  --ink-2: #34383e;
  --muted: #6f7379;
  --line: #e3ded6;
  --line-2: #cfc8ba;
  --white: #ffffff;

  --shell: 1280px;
  --gutter: 48px;
  --header-h: 76px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --logo-grad: linear-gradient(
    90deg,
    #f0574f 0%,
    #f5a94b 18%,
    #f2d24b 34%,
    #8cc63f 50%,
    #3ec6a0 66%,
    #4aa3e8 82%,
    #8e7ad6 100%
  );

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -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;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--ink); color: var(--paper); }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  z-index: 200;
}
.skip:focus { left: 16px; }

/* ---------- layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.nowrap { white-space: nowrap; }

.section { padding: 112px 0; }
.section--tight { padding: 88px 0; }
.section--flush { padding-top: 0; }

/* 章节头：左侧 mono 标签，右侧标题与说明 */
.section-head {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
  margin-bottom: 60px;
}

.section-head__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 6px;
}

.section-head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 18em;
}

.section-head p {
  margin-top: 18px;
  max-width: 34em;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.8;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(250, 248, 244, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}

.site-header.is-scrolled::after { opacity: 1; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 50px; width: auto; }

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

.nav__link {
  position: relative;
  font-size: 14px;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 14px; }

.head-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.head-cta span { transition: transform 0.3s var(--ease); }
.head-cta:hover { background: var(--ink); color: var(--paper); }
.head-cta:hover span { transform: translateX(3px); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 4px;
  font-size: 13px;
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}
.nav-toggle__bars i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

/* 移动端全屏菜单 */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--paper);
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-nav a.mobile-nav__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mobile-nav a.mobile-nav__link span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.mobile-nav__foot {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- hero ---------- */
.hero {
  padding-top: calc(var(--header-h) + 84px);
  padding-bottom: 56px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--line-2);
}

.hero h1 {
  margin-top: 30px;
  font-size: clamp(38px, 5.9vw, 78px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.035em;
  max-width: 15em;
}

.hero h1 span { display: block; }

.hero__lead {
  margin-top: 30px;
  max-width: 41em;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__facts span:not(:last-child)::after {
  content: "·";
  margin: 0 12px;
  color: var(--line-2);
}

/* 三行索引 = 首屏的门 */
.doors {
  margin-top: 54px;
  border-top: 1px solid var(--line);
}

.door {
  display: grid;
  grid-template-columns: 62px minmax(0, 1.05fr) minmax(0, 1fr) 44px;
  align-items: center;
  gap: 20px;
  padding: 21px 16px;
  margin: 0 -16px;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease);
}

.door:hover { background: var(--paper-2); }

.door__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.door__role {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.door__title {
  display: block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.4;
}

.door__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.door__arrow {
  justify-self: end;
  font-size: 18px;
  color: var(--ink);
  transition: transform 0.35s var(--ease);
}

.door:hover .door__arrow { transform: translateX(6px); }

.promise {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  padding: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.promise span:not(:last-child)::after {
  content: "·";
  margin: 0 12px;
  color: var(--line-2);
}

/* ---------- 软件能力 ---------- */
.caps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.cap {
  border-top: 1px solid var(--line-2);
  padding-top: 20px;
}

.cap__media {
  display: block;
  position: relative;
  margin-top: 18px;
  aspect-ratio: 16 / 10;
  background: var(--paper-3);
  overflow: hidden;
}

.cap__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.cap:hover .cap__media img { transform: scale(1.035); }

.cap__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  background: rgba(250, 248, 244, 0.92);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.cap__index {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.cap h3 {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.45;
}

.cap p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.cap__foot {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

/* ---------- 数字条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 30px 28px 30px 0;
}

.stat:not(:first-child) { padding-left: 28px; border-left: 1px solid var(--line); }

.stat__num {
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat__label {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 供应链 ---------- */
.chain {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-2);
}

.chain__item {
  padding: 24px 24px 0 0;
}

.chain__item:not(:first-child) { padding-left: 24px; border-left: 1px solid var(--line); }

.chain__step {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.chain__title {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.chain__desc {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 表格 ---------- */
.table-wrap { margin-top: 8px; }

.table {
  font-size: 14.5px;
  line-height: 1.65;
}

.table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 20px 12px 0;
  border-bottom: 1px solid var(--line-2);
}

.table td {
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-2);
}

.table th:last-child,
.table td:last-child { padding-right: 0; }

.table td:first-child {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.table a { border-bottom: 1px solid var(--line-2); }
.table a:hover { border-color: var(--ink); }

.table__note {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- 资料列表 ---------- */
.docs { border-top: 1px solid var(--line-2); }

.doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 120px 32px;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}

.doc:hover { background: var(--paper-2); }

.doc__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.doc__desc { font-size: 14px; color: var(--muted); }

.doc__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-align: right;
}

.doc__arrow { justify-self: end; transition: transform 0.3s var(--ease); }
.doc:hover .doc__arrow { transform: translateX(5px); }

/* ---------- CTA ---------- */
.cta {
  background: var(--ink);
  color: #f7f4ee;
  padding: 96px 0;
}

.cta h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 16em;
}

.cta p {
  margin-top: 22px;
  max-width: 36em;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(247, 244, 238, 0.66);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.cta__note {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(247, 244, 238, 0.5);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 50px;
  padding: 0 24px;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn span { transition: transform 0.3s var(--ease); }
.btn:hover span { transform: translateX(4px); }

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

.cta .btn { border-color: #f7f4ee; background: #f7f4ee; color: var(--ink); }
.cta .btn--ghost { background: transparent; color: #f7f4ee; border-color: rgba(247, 244, 238, 0.34); }
.cta .btn--ghost:hover { border-color: #f7f4ee; }

/* ---------- 内页 ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + 84px);
  padding-bottom: 72px;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.page-hero h1 {
  margin-top: 26px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.032em;
  max-width: 14em;
}

.page-hero__lead {
  margin-top: 26px;
  max-width: 36em;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* 交付物清单 */
.deliverables {
  border-top: 1px solid var(--line-2);
  padding-top: 18px;
}

.deliverables__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.deliverables li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.deliverables li span:last-child {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- 三栏痛点 ---------- */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.col {
  border-top: 1px solid var(--line-2);
  padding-top: 20px;
}

.col__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.col h3 {
  margin-top: 12px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.012em;
}

.col p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
}

.step {
  padding: 22px 26px 0 0;
}

.step:not(:first-child) { padding-left: 26px; border-left: 1px solid var(--line); }

.step__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.step h3 {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 600;
}

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

/* ---------- 问答 ---------- */
.qa { border-top: 1px solid var(--line-2); }

.qa details {
  border-bottom: 1px solid var(--line);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.qa summary::-webkit-details-marker { display: none; }

.qa summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.3s var(--ease);
}

.qa details[open] summary::after { transform: rotate(45deg); }

.qa__body {
  padding: 0 0 22px;
  max-width: 46em;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* ---------- 能力清单（生产商页） ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
}

.spec {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.spec dt {
  font-weight: 600;
  letter-spacing: -0.005em;
}

.spec dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- 表单 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}

.form { margin-top: 8px; }

.field { margin-bottom: 26px; }

.field__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  background: transparent;
  padding: 8px 0 10px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
  appearance: none;
}

.field select {
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: right 6px center, right 1px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 24px;
}

.field textarea { resize: vertical; min-height: 96px; line-height: 1.7; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
}

.field__hint {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.chip:hover { border-color: var(--ink); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }

.form__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}

.form__submit .mono { text-transform: none; letter-spacing: 0.04em; }

.form__error {
  margin-top: 16px;
  font-size: 13.5px;
  color: #a4402f;
}

.field__error {
  margin-top: 8px;
  font-size: 12.5px;
  color: #a4402f;
}

.field input.is-invalid,
.field textarea.is-invalid,
.field select.is-invalid { border-color: #a4402f; }

.success {
  border-top: 1px solid var(--line-2);
  padding-top: 28px;
}

.success h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.success p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
}

.success ol {
  margin-top: 20px;
  counter-reset: s;
}

.success li {
  counter-increment: s;
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 14.5px;
  color: var(--ink-2);
}

.success li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* 联系信息栏 */
.contact-meta {
  border-top: 1px solid var(--line-2);
  padding-top: 18px;
  margin-top: 44px;
}

.contact-meta dl { margin: 0; }

.contact-meta div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.contact-meta dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}

.contact-meta dd { margin: 0; }

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 64px 0 40px;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--logo-grad);
  opacity: 0.9;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 56px;
}

.footer__brand img { height: 26px; width: auto; }

.footer__tagline {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  max-width: 22em;
}

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-2);
}

.footer__col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.footer__bottom a:hover { color: var(--ink); }

/* ---------- 录屏弹层 ---------- */
.dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(920px, 92vw);
  width: 100%;
}

.dialog::backdrop {
  background: rgba(20, 22, 26, 0.72);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.dialog__inner { background: var(--paper); padding: 0; }

.dialog__media { aspect-ratio: 16 / 9; background: var(--paper-3); position: relative; }
.dialog__media img { width: 100%; height: 100%; object-fit: cover; }

.dialog__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px 24px;
}

.dialog__body h3 { font-size: 18px; font-weight: 600; }
.dialog__body p { margin-top: 6px; font-size: 13.5px; color: var(--muted); }

.dialog__close {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 4px 0;
}

/* ---------- 滚动渐显 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  :root { --gutter: 36px; }
  .section { padding: 88px 0; }
  .section-head { grid-template-columns: 168px minmax(0, 1fr); }
  .caps { gap: 28px; }
  .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .chain__item:nth-child(4) { padding-left: 0; border-left: 0; }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 44px; }
  .contact-grid { gap: 48px; }
}

@media (max-width: 900px) {
  :root { --gutter: 28px; --header-h: 68px; }
  .nav { display: none; }
  .header__actions .head-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .br-lg { display: none; }
  .hero { padding-top: calc(var(--header-h) + 64px); }
  .door {
    grid-template-columns: 32px minmax(0, 1fr) 26px;
    gap: 6px 14px;
    padding: 18px 0;
    margin: 0;
  }
  .door__desc { grid-column: 2 / 3; }
  .door__arrow { grid-row: 1 / 3; grid-column: 3; }
  .caps { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .cols-3 { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .doc { grid-template-columns: minmax(0, 1fr) 28px; gap: 6px 16px; padding: 18px 0; }
  .doc__desc { grid-row: 2; grid-column: 1; }
  .doc__meta { display: none; }
  .doc__arrow { grid-row: 1 / 3; grid-column: 2; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .section-head__label { padding-top: 0; }
  .cta { padding: 72px 0; }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }
  body { font-size: 15.5px; }
  .section { padding: 68px 0; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 46px); }
  .hero__lead { font-size: 15.5px; }
  .chain { grid-template-columns: 1fr; row-gap: 0; }
  .chain__item { padding: 16px 0; border-left: 0 !important; border-bottom: 1px solid var(--line); }
  .chain__item:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 14px 0; border-left: 0 !important; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 20px 0; border-left: 0 !important; }
  .stat:nth-child(n + 2) { border-top: 1px solid var(--line); }
  .table { font-size: 13.5px; }
  .table th { font-size: 9px; padding-right: 12px; }
  .table td { padding: 14px 12px 14px 0; }
  .cta__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .spec { grid-template-columns: 1fr; gap: 4px; }
  .page-hero h1 { font-size: clamp(30px, 8vw, 38px); }
  .door__title { font-size: 17px; }
  .brand img { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
