/* ==========================================================================
   火世科技 · 电子合同与签署
   设计语言：墨绿纸面 + 柠檬黄绿墨迹；签名笔迹 / 骑缝章母题；中西混排衬线；2px 细线。
   章节顺序：变量 / 基础 / 容器 / 头部 / 抽屉 / 按钮 / 区块 / 首屏
   ========================================================================== */

/* ── 1 变量 ───────────────────────────────────────────────────────────── */
:root {
  --ink: #0E1411;
  --paper: #121A16;
  --paper-2: #16201B;
  --paper-3: #1B2620;
  --line: #2A3830;
  --line-2: #3A4C42;
  --text: #E6E2D5;
  --muted: #9AA79D;
  --brand: #C9E265;
  --brand-2: #A9C24C;
  --gold: #E8D9A0;
  --pine: #6FA88C;
  /* 英文与数字优先走 Georgia，中文回落到宋体族 —— 中西混排衬线 */
  --serif: Georgia, "Times New Roman", "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  --serif-cn: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", Georgia, serif;
  --num: Georgia, "Times New Roman", serif;
  --wrap: 1200px;
  --r: 4px;
  --r-sm: 2px;
}

/* ── 2 基础 ───────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(0deg, rgba(230, 226, 213, .014) 0 1px, transparent 1px 4px),
    radial-gradient(1100px 520px at 12% -6%, rgba(201, 226, 101, .07), transparent 62%),
    radial-gradient(900px 480px at 92% 8%, rgba(111, 168, 140, .07), transparent 60%);
  color: var(--text);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif-cn);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: .01em;
  margin: 0 0 .55em;
  color: var(--text);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 2px solid rgba(201, 226, 101, .3);
  transition: border-color .2s ease, color .2s ease;
}
a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.ico { width: 18px; height: 18px; flex: none; }

.lead { font-size: 17px; color: var(--text); }
.muted { color: var(--muted); }

.inline-link {
  font-size: 15px;
  color: var(--brand);
  border-bottom: 2px solid rgba(201, 226, 101, .35);
}
.inline-link::after { content: " →"; color: var(--pine); }

.section-foot { margin: 26px 0 0; }

/* ── 3 容器 ───────────────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── 4 头部 ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(14, 20, 17, .86);
  border-bottom: 2px solid var(--line);
  backdrop-filter: blur(10px);
  transition: background .25s ease;
}
.site-header.is-scrolled { background: rgba(14, 20, 17, .97); }

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

.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo-mark {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(201, 226, 101, .38);
  border-radius: var(--r-sm);
  object-fit: cover;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.24; }
.logo-name { font-family: var(--serif-cn); font-size: 19px; font-weight: 600; letter-spacing: .04em; }
.logo-sub { font-size: 12px; color: var(--muted); letter-spacing: .06em; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-link {
  padding: 8px 12px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 2px solid transparent;
  letter-spacing: .03em;
}
.nav-link:hover { color: var(--brand); border-bottom-color: rgba(201, 226, 101, .4); }
.nav-link.is-active { color: var(--brand); border-bottom-color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.header-phone:hover { color: var(--brand); }

.burger {
  display: none;
  width: 44px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 2px solid var(--line-2);
  border-radius: var(--r-sm);
  cursor: pointer;
  position: relative;
}
.burger span,
.burger span::before,
.burger span::after {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: var(--brand);
  content: "";
}
.burger span { top: 18px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }

/* ── 5 抽屉与遮罩 ─────────────────────────────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(6, 10, 8, .72);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.overlay.is-on { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(320px, 86vw);
  padding: 22px;
  overflow-y: auto;
  background: var(--paper-2);
  border-left: 2px solid var(--line-2);
  transform: translateX(102%);
  transition: transform .28s ease;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-close {
  width: 38px;
  height: 38px;
  font-size: 24px;
  line-height: 1;
  color: var(--brand);
  background: transparent;
  border: 2px solid var(--line-2);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.drawer .nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0 0 20px; }
.drawer .nav-link { padding: 12px 2px; border-bottom: 2px solid var(--line); font-size: 16px; }
.drawer-cta { display: grid; gap: 10px; }
body.is-locked { overflow: hidden; }

/* ── 6 按钮 ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #10170F;
  background: var(--brand);
  border: 2px solid var(--brand);
  border-radius: 3px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); color: #10170F; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #10170F; }
.btn-primary:hover { background: var(--brand-2); border-color: var(--brand-2); color: #10170F; }
.btn-ghost {
  color: var(--brand);
  background: transparent;
  border-color: rgba(201, 226, 101, .45);
}
.btn-ghost:hover { color: var(--brand); background: rgba(201, 226, 101, .1); border-color: var(--brand); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ── 7 区块与标题 ─────────────────────────────────────────────────────── */
.section { padding: 84px 0; }
.section-tight { padding: 48px 0; }
.section-dark {
  background: linear-gradient(180deg, rgba(22, 32, 27, .92), rgba(14, 20, 17, .62));
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}
.section-head { max-width: 860px; margin: 0 0 38px; }
.section-title { font-size: clamp(26px, 3.1vw, 38px); margin-bottom: .45em; }
.section-desc { color: var(--muted); font-size: 16px; }
.eyebrow {
  margin: 0 0 12px;
  font-family: var(--num);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
}
.kicker {
  margin: 0 0 10px;
  font-family: var(--num);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--pine);
}

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  padding: 26px 24px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 5px;
}
.card-title { font-size: 19px; margin-bottom: .4em; }
.card-desc { color: var(--muted); font-size: 15px; margin: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.tag {
  padding: 4px 11px;
  font-size: 13px;
  color: var(--gold);
  background: rgba(232, 217, 160, .07);
  border: 2px solid rgba(232, 217, 160, .26);
  border-radius: var(--r-sm);
  letter-spacing: .03em;
}
.tag-sm { font-size: 12px; padding: 3px 9px; }

.note {
  margin: 0;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--gold);
  background: rgba(232, 217, 160, .07);
  border: 2px solid rgba(232, 217, 160, .28);
  border-left-width: 2px;
  border-radius: var(--r-sm);
}

.page-head {
  padding: 58px 0 44px;
  border-bottom: 2px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 32, 27, .7), rgba(14, 20, 17, 0));
}
.crumb { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumb a { color: var(--muted); border-bottom: 2px solid transparent; }
.crumb a:hover { color: var(--brand); }
.page-title { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: .35em; }
.page-desc { color: var(--muted); font-size: 16px; max-width: 72ch; }

/* ── 8 首屏 ───────────────────────────────────────────────────────────── */
.hero { padding: 72px 0 66px; position: relative; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 54px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-title { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.24; margin-bottom: .5em; }
.hero-desc { color: var(--muted); font-size: 17px; max-width: 52ch; }
.hero-tags { margin: 22px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-media { min-width: 0; }

/* ── 9 事实与读数 ──────────────────────────────────────────────────────── */
.fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.fact-card {
  padding: 18px 18px 16px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--r);
}
.fact-card dt {
  font-family: var(--num);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--brand);
  margin-bottom: 8px;
}
.fact-card dd { margin: 0; font-size: 15px; line-height: 1.7; color: var(--text); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat { padding-top: 14px; border-top: 2px solid var(--brand); }
.stat-num {
  display: block;
  font-family: var(--num);
  font-size: 30px;
  line-height: 1.2;
  color: var(--gold);
  letter-spacing: .06em;
}
.stat-unit { font-style: normal; font-size: 14px; color: var(--muted); margin-left: 7px; letter-spacing: .04em; }
.stat-label { display: block; margin-top: 9px; font-size: 13px; line-height: 1.66; color: var(--muted); }

/* ── 10 专属模块：签署书 / 签名笔迹 / 骑缝章 ──────────────────────────── */
.media { display: block; }

.deed {
  position: relative;
  padding: 22px 22px 18px;
  background:
    linear-gradient(180deg, rgba(232, 217, 160, .06), rgba(232, 217, 160, .012)),
    var(--paper-2);
  border: 2px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: 13px 13px 0 rgba(201, 226, 101, .055);
  overflow: hidden;
}
.deed-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}
.deed-no { font-family: var(--num); font-size: 13px; letter-spacing: .14em; color: var(--gold); }
.deed-kind {
  font-family: var(--num);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.deed-title { font-family: var(--serif-cn); font-size: 19px; font-weight: 600; margin: 16px 0 15px; }
.deed-body { display: grid; gap: 9px; }
.deed-rule {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--line-2), rgba(58, 76, 66, .22));
}
.deed-rule-short { width: 62%; }

.deed-perf { position: absolute; top: 0; right: 62px; bottom: 0; width: 2px; }
.perf-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--brand) 0 6px, transparent 6px 12px);
  opacity: .55;
}
.perf-mark {
  position: absolute;
  left: -7px;
  width: 16px;
  height: 16px;
  background: var(--ink);
  border: 2px solid var(--brand);
  border-radius: var(--r-sm);
}
.perf-mark-1 { top: 32%; }
.perf-mark-2 { top: 50%; }
.perf-mark-3 { top: 68%; }
.perf-label {
  position: absolute;
  left: 11px;
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--brand);
  white-space: nowrap;
}
.perf-label-1 { top: 28%; }
.perf-label-2 { top: 64%; }

.deed-sign {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 2px solid var(--line);
}
.sign-box { flex: 1 1 auto; min-width: 0; }
.sign-mark { width: 100%; max-width: 152px; color: var(--brand); }
.sign-name { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.sign-date { display: block; font-family: var(--num); font-size: 13px; letter-spacing: .06em; color: var(--gold); }
.sign-box-seal { flex: 0 0 82px; text-align: right; }
.seal-mark { width: 70px; height: 70px; color: var(--brand); opacity: .92; margin-left: auto; }

.deed-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 2px solid var(--line);
}
.stamp {
  font-family: var(--num);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--pine);
  padding: 3px 9px;
  border: 2px solid rgba(111, 168, 140, .4);
  border-radius: var(--r-sm);
}

/* ── 能力卡 / 节奏 / 适合谁 ───────────────────────────────────────────── */
.pillar { padding-top: 28px; }
.pillar-no {
  display: block;
  font-family: var(--num);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 10px;
}
.pillar-no::before { content: "NO."; color: var(--muted); font-size: 11px; margin-right: .6em; }

.rhythm { display: grid; }
.rhythm-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 2px solid var(--line);
}
.rhythm-item:last-child { border-bottom: 2px solid var(--line); }
.rhythm-no { font-family: var(--num); font-size: 26px; color: var(--brand); letter-spacing: .06em; }
.rhythm-no::before { content: "STEP"; font-size: 11px; letter-spacing: .2em; color: var(--muted); display: block; }
.rhythm-body { min-width: 0; }
.rhythm-title { font-size: 19px; margin-bottom: .35em; }
.rhythm-desc { color: var(--muted); margin: 0 0 8px; }
.rhythm-note { font-family: var(--num); font-size: 12px; letter-spacing: .06em; color: var(--gold); }

.feature {
  padding: 26px 24px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 5px;
}
.feature-alt { background: var(--paper-2); }
.feature-title { font-size: 19px; margin-bottom: 18px; }
.who-grid { display: grid; gap: 16px; }
.who-item { padding-left: 14px; border-left: 2px solid var(--brand); }
.who-title { font-size: 16px; margin-bottom: .25em; }
.who-desc { margin: 0; font-size: 15px; color: var(--muted); }

.qa { display: grid; gap: 16px; }
.qa-item {
  padding: 22px 24px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--r);
}
.qa-q { font-size: 17px; margin-bottom: .5em; }
.qa-a { margin: 0; color: var(--muted); font-size: 15px; }
.qa-link { margin: 12px 0 0; font-size: 14px; }

/* ── 功能模块卡 ───────────────────────────────────────────────────────── */
.mod { display: flex; flex-direction: column; }
.mod-no { font-family: var(--num); font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.mod-no::before { content: "NO."; color: var(--muted); font-size: 11px; margin-right: .6em; }
.mod-title { margin: 8px 0 6px; }
.mod-desc { margin-bottom: 16px; }
.mod-list { display: grid; gap: 12px; margin-bottom: 16px; }
.mod-row { padding-left: 12px; border-left: 2px solid var(--line-2); }
.mod-label {
  display: block;
  font-family: var(--num);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--pine);
  margin-bottom: 3px;
}
.mod-text { margin: 0; font-size: 15px; line-height: 1.72; }
.mod .tags { margin-top: auto; padding-top: 4px; }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 30px; }
.check-item { position: relative; padding-left: 26px; font-size: 15px; }
.check-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 13px;
  height: 2px;
  background: var(--brand);
}

.boundary-list { display: grid; gap: 12px; }
.boundary-item {
  position: relative;
  padding: 16px 20px 16px 24px;
  font-size: 15px;
  line-height: 1.74;
  background: var(--paper-2);
  border: 2px solid var(--line);
  border-radius: var(--r);
}
.boundary-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
}

/* ── 手风琴 ───────────────────────────────────────────────────────────── */
.accordion { border-top: 2px solid var(--line); }
.acc-item { border-bottom: 2px solid var(--line); }
.acc-h { margin: 0; }
.acc-trigger {
  width: 100%;
  padding: 20px 42px 20px 0;
  font-family: var(--serif-cn);
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
}
.acc-trigger:hover { color: var(--brand); }
.acc-trigger::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--num);
  font-size: 22px;
  line-height: 1;
  color: var(--brand);
}
.acc-trigger[aria-expanded="true"]::after { content: "\2212"; }
.acc-panel { height: 0; overflow: hidden; transition: height .28s ease; }
.acc-panel-inner { padding-bottom: 22px; }
.acc-desc { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.acc-points { display: grid; gap: 8px; }
.acc-point { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.72; }
.acc-point::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 11px;
  height: 2px;
  background: var(--pine);
}
.acc-link { margin: 14px 0 0; font-size: 14px; }

/* ── 场景包 / 字段字典 ────────────────────────────────────────────────── */
.pack { display: flex; flex-direction: column; }
.pack-name { font-size: 19px; margin-bottom: .2em; }
.pack-sub { margin: 0 0 14px; font-size: 14px; color: var(--gold); letter-spacing: .02em; }
.pack-scene { margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.pack-scene-label {
  display: inline-block;
  margin-right: 8px;
  font-family: var(--num);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--pine);
}
.pack-sec { padding-top: 14px; margin-top: 14px; border-top: 2px solid var(--line); }
.pack-sec-title { font-size: 15px; margin-bottom: 10px; color: var(--brand); }
.pack-points { display: grid; gap: 6px; }
.pack-point { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.pack-point::before {
  content: "";
  position: absolute;
  left: 0;
  top: .74em;
  width: 9px;
  height: 2px;
  background: var(--brand);
}
.pack-steps { display: grid; gap: 6px; counter-reset: pack; }
.pack-step {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  counter-increment: pack;
}
.pack-step::before {
  content: counter(pack);
  position: absolute;
  left: 0;
  top: .18em;
  font-family: var(--num);
  font-size: 12px;
  color: var(--gold);
}
.pack-owner {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 2px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.pack-owner-label {
  display: inline-block;
  margin-right: 8px;
  font-family: var(--num);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--pine);
}
.pack .tags { margin-top: 14px; }

.dict { display: flex; flex-direction: column; }
.dict-title { font-size: 18px; margin-bottom: .3em; }
.dict-desc { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.dict-points { display: grid; gap: 10px; }
.dict-point { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.74; }
.dict-point::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 11px;
  height: 2px;
  background: var(--gold);
}

/* ── 场景 / 流程 / 交付形态 ───────────────────────────────────────────── */
.scn { display: flex; flex-direction: column; }
.scn-no { font-family: var(--num); font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.scn-no::before { content: "NO."; color: var(--muted); font-size: 11px; margin-right: .6em; }
.scn-title { margin: 8px 0 6px; font-size: 19px; }
.scn-desc { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.scn-mods { padding-top: 12px; border-top: 2px solid var(--line); }
.scn-mods-label {
  display: block;
  font-family: var(--num);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--pine);
  margin-bottom: 8px;
}
.scn-mod-list { display: flex; flex-wrap: wrap; gap: 7px; }
.scn-mod {
  font-size: 12px;
  padding: 3px 9px;
  color: var(--gold);
  border: 2px solid rgba(232, 217, 160, .24);
  border-radius: var(--r-sm);
}
.scn-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  background: rgba(201, 226, 101, .05);
  border-left: 2px solid var(--brand);
}

.steps { display: grid; }
.step {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 2px solid var(--line);
}
.step:last-child { border-bottom: 2px solid var(--line); }
.step-no { font-family: var(--num); font-size: 26px; color: var(--brand); letter-spacing: .06em; }
.step-no::before { content: "STEP"; font-size: 11px; letter-spacing: .2em; color: var(--muted); display: block; }
.step-body { min-width: 0; }
.step-title { font-size: 19px; margin-bottom: .35em; }
.step-desc { color: var(--muted); margin: 0 0 8px; }
.step-note { font-family: var(--num); font-size: 12px; letter-spacing: .06em; color: var(--gold); }

.cp { padding: 20px 22px; background: var(--paper); border: 2px solid var(--line); border-radius: var(--r); }
.cp-no { font-family: var(--num); font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.cp-no::before { content: "NO."; color: var(--muted); font-size: 11px; margin-right: .6em; }
.cp-title { margin: 8px 0 6px; font-size: 17px; }
.cp-desc { margin: 0; font-size: 15px; color: var(--muted); }

.case { display: flex; flex-direction: column; }
.case-title { font-size: 19px; margin-bottom: .25em; }
.case-summary { margin: 0 0 12px; font-size: 15px; color: var(--gold); }
.case-desc { margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.case-sec { padding-top: 14px; margin-top: 14px; border-top: 2px solid var(--line); }
.case-sec-title { font-size: 15px; margin-bottom: 10px; color: var(--brand); }
.case-list { display: grid; gap: 6px; }
.case-item { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.case-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: .74em;
  width: 9px;
  height: 2px;
  background: var(--pine);
}

/* ── CTA 条 ───────────────────────────────────────────────────────────── */
.cta-band {
  padding: 62px 0;
  background: linear-gradient(120deg, rgba(201, 226, 101, .1), rgba(14, 20, 17, .4) 62%);
  border-top: 2px solid var(--brand);
  border-bottom: 2px solid var(--line);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-copy { max-width: 62ch; }
.cta-title { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: .35em; }
.cta-desc { margin: 0; color: var(--muted); font-size: 16px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── 表单与联系页 ─────────────────────────────────────────────────────── */
.form-card {
  padding: 28px 26px;
  background: var(--paper);
  border: 2px solid var(--line-2);
  border-radius: 5px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--text); letter-spacing: .03em; }
.field label i { color: var(--brand); font-style: normal; }
.input, .select, .textarea {
  width: 100%;
  padding: 11px 13px;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--text);
  background: var(--ink);
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .2s ease;
}
.input::placeholder, .textarea::placeholder { color: #6E7A72; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); }
.textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--pine) 50%), linear-gradient(135deg, var(--pine) 50%, transparent 50%); background-position: calc(100% - 19px) 21px, calc(100% - 13px) 21px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.input[data-invalid], .select[data-invalid], .textarea[data-invalid] { border-color: var(--gold); }
.form-status { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--muted); }
.form-status.is-error { color: var(--gold); }
.form-status.is-ok { color: var(--brand); }
.form-success { grid-column: 1 / -1; padding: 18px 20px; border: 2px solid var(--brand); border-radius: var(--r); }
.form-success[hidden] { display: none; }
.form-success h3 { font-size: 17px; margin-bottom: .3em; }
.form-success p { margin: 0; color: var(--muted); font-size: 15px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 26px; align-items: start; }
.contact-main { min-width: 0; }
.contact-side { display: grid; gap: 20px; }
.contact-block {
  padding: 22px 22px 20px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 5px;
}
.contact-block-title { font-size: 17px; margin-bottom: 14px; }
.channels { display: grid; gap: 14px; }
.channel { display: grid; gap: 4px; }
.channel-label { font-family: var(--num); font-size: 11px; letter-spacing: .18em; color: var(--pine); }
.channel-value { font-family: var(--num); font-size: 17px; letter-spacing: .06em; color: var(--brand); }
.channel-note { font-size: 14px; color: var(--muted); line-height: 1.7; }
.expect-list { display: grid; gap: 14px; }
.expect-item { padding-left: 14px; border-left: 2px solid var(--brand); }
.expect-title { font-size: 15px; margin-bottom: .2em; }
.expect-desc { margin: 0; font-size: 14px; color: var(--muted); }
.flow-list { display: grid; gap: 14px; }
.flow-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.flow-no { font-family: var(--num); font-size: 15px; color: var(--gold); }
.flow-body { min-width: 0; }
.flow-title { font-size: 15px; margin-bottom: .2em; }
.flow-desc { margin: 0; font-size: 14px; color: var(--muted); }

/* ── 404 ──────────────────────────────────────────────────────────────── */
.nf { padding: 96px 0 110px; text-align: center; }
.nf-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: .4em; }
.nf-desc { max-width: 58ch; margin: 0 auto 30px; color: var(--muted); font-size: 16px; }
.nf-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.nf-link-item { display: inline-flex; }

/* ── 页脚 ─────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 58px 0 28px;
  border-top: 2px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 20, 17, .35), rgba(6, 10, 8, .72));
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 46ch; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 14px; }
.footer-contact span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.footer-contact a { color: var(--muted); border-bottom: 2px solid transparent; }
.footer-contact a:hover { color: var(--brand); }
.footer-col h3 { font-size: 15px; margin-bottom: 12px; color: var(--brand); letter-spacing: .05em; }
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.footer-col a:hover { color: var(--brand); border-bottom-color: rgba(201, 226, 101, .3); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 2px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ── 返回顶部 ─────────────────────────────────────────────────────────── */
.backtop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: var(--paper-2);
  border: 2px solid var(--brand);
  border-radius: var(--r-sm);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease, color .2s ease;
}
.backtop.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.backtop:hover { background: var(--brand); color: #10170F; }

/* ── 进场动画 ─────────────────────────────────────────────────────────── */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
html.js [data-reveal="left"] { transform: translateX(-16px); }
html.js [data-reveal="right"] { transform: translateX(16px); }
html.js [data-reveal="up"] { transform: translateY(-16px); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ── 四档断点（390 由 430 档覆盖）───────────────────────────────────── */
@media (max-width: 1280px) {
  .wrap { padding: 0 24px; }
  .hero-inner { gap: 42px; }
  .hero-title { font-size: clamp(28px, 3.9vw, 44px); }
  .footer-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-phone { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-media { max-width: 520px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-inner { gap: 22px; }
}

@media (max-width: 768px) {
  .wrap { padding: 0 18px; }
  .section { padding: 58px 0; }
  .section-tight { padding: 34px 0; }
  .hero { padding: 46px 0 42px; }
  .page-head { padding: 38px 0 30px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .fact-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .rhythm-item, .step { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .rhythm-no, .step-no { font-size: 22px; }
  .form-card { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 6px; margin-top: 28px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .deed { padding: 18px 16px 14px; }
  .deed-perf { right: 52px; }
  .perf-label { left: 8px; font-size: 9px; }
  .section-head { margin-bottom: 28px; }
}

@media (max-width: 430px) {
  .wrap { padding: 0 14px; }
  .header-inner { min-height: 62px; gap: 12px; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-name { font-size: 17px; }
  .logo-sub { display: none; }
  .btn-sm { padding: 7px 12px; font-size: 13px; }
  .btn-lg { padding: 12px 20px; font-size: 15px; }
  .hero-title { font-size: 27px; }
  .page-title { font-size: 24px; }
  .section-title { font-size: 22px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .card, .feature, .cp { padding: 20px 18px; }
  .form-card { padding: 20px 16px; }
  .deed { padding: 16px 14px 12px; }
  .deed-perf { right: 40px; }
  /* 窄屏上骑缝文字标注会压到右侧留白，只保留骑缝位置标记 */
  .perf-label { display: none; }
  .deed-sign { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sign-box-seal { flex: none; text-align: left; }
  .seal-mark { margin-left: 0; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .nf-links { flex-direction: column; }
  .nf-links .btn { width: 100%; }
  .backtop { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}

/* ── 降低动效偏好 ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
