/* ============================================================
   寰宇·菁途 官网样式
   设计基调：学情档案 / 台账。
   青纸底 + 墨绿字 + 唯一品牌橙。纸感来自细线与等宽数字，不来自暖色。
   ============================================================ */

:root {
  --ink: #121a16;
  --ink-2: #2c3a32;
  --muted: #5c6b60;
  --paper: #f1f3ed;
  --paper-2: #e6e9e1;
  --card: #fafbf7;
  --flame: #ff6a00;
  --flame-ink: #a43b00;
  --line: rgba(18, 26, 22, 0.14);
  --line-soft: rgba(18, 26, 22, 0.08);

  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", "STSong",
    "SimSun", serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  --wrap: 1200px;
  --rail: 138px;
}

* { box-sizing: border-box; }

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

section[id], [id].band {
  scroll-margin-top: 84px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 3px;
}

/* ---------- 版心与栅格 ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

.grid {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
}

.body-col { min-width: 0; }

/* ---------- 跳到主要内容 ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  font-size: 14px;
  z-index: 99;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- 页头 ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(241, 243, 237, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-head__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 74px;
}

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

.brand__logo {
  height: 48px;
  width: auto;
  display: block;
}

.brand__mark {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand__mark i {
  font-style: normal;
  color: var(--flame);
  padding: 0 1px;
}

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

.site-nav a {
  font-size: 15px;
  color: var(--ink-2);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

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

.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--flame);
  border-bottom-width: 2px;
  font-weight: 600;
}

.head-cta {
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  padding: 9px 18px;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.head-cta:hover { background: var(--flame-ink); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 7px 10px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- 完整标志 ---------- */

.brand-plate {
  margin: 6px 0 38px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-plate img {
  height: 88px;
  width: auto;
  display: block;
}

@media (max-width: 760px) {
  .brand-plate img { height: 64px; }
}

/* ---------- 章节骨架 ---------- */

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

.band--tight { padding: 64px 0; }

.band--ink {
  background: var(--ink);
  color: var(--paper);
  border-top: none;
}

.band--paper2 { background: var(--paper-2); }

.rail {
  position: relative;
  padding-right: 34px;
}

.rail::after {
  content: "";
  position: absolute;
  right: 34px;
  top: 12px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.rail__label {
  position: relative;
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: 0.02em;
  padding-right: 12px;
}

.rail__label::before {
  content: "";
  position: absolute;
  right: -4.5px;
  top: 5px;
  width: 9px;
  height: 9px;
  background: var(--flame);
}

.band--ink .rail::after { background: rgba(241, 243, 237, 0.18); }
.band--ink .rail__label { color: rgba(241, 243, 237, 0.55); }

/* ---------- 标题系统 ---------- */

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.band--ink h1,
.band--ink h2,
.band--ink h3 { color: var(--paper); }

h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.35;
  margin-bottom: 18px;
}

h3 {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink-2);
  max-width: 34em;
  margin: 0 0 32px;
}

.band--ink .lead { color: rgba(241, 243, 237, 0.8); }

p { margin: 0 0 16px; max-width: 36em; }

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

.note {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 46em;
  margin-top: 20px;
  padding-left: 14px;
  border-left: 2px solid var(--line);
}

.band--ink .note {
  color: rgba(241, 243, 237, 0.6);
  border-left-color: rgba(241, 243, 237, 0.25);
}

.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.hl {
  color: var(--flame-ink);
  font-weight: 600;
}

.band--ink .hl { color: var(--flame); }

/* ---------- 首屏 ---------- */

.hero {
  padding: 84px 0 72px;
  position: relative;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 31px,
    rgba(18, 26, 22, 0.038) 31px,
    rgba(18, 26, 22, 0.038) 32px
  );
  background-position: 0 40px;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 22px;
  letter-spacing: 0.02em;
}

.tag::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--flame);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero__sub {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-2);
  letter-spacing: 0;
  max-width: 26em;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-bottom: 18px;
}

.hero__sub b { font-weight: 600; }

.hero .lead { font-size: 16.5px; margin-bottom: 34px; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 2px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

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

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

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

.btn--flame {
  background: var(--flame);
  border-color: var(--flame);
  color: #1a0d02;
}

.btn--flame:hover { background: #ff8a33; border-color: #ff8a33; }

.btn--on-ink {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn--on-ink:hover { background: var(--flame); border-color: var(--flame); color: #1a0d02; }

/* 首屏数据卡 */
.dossier {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 26px 26px 22px;
  position: relative;
}

.dossier::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 44px;
  height: 3px;
  background: var(--flame);
}

.dossier__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.dossier__head span:first-child {
  font-size: 14px;
  font-weight: 600;
}

.dossier__head span:last-child {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.dossier__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.dossier__row:last-of-type { border-bottom: none; }

.dossier__row dt {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.dossier__row dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.dossier__row dd small {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 3px;
}

/* 赋分比例堆叠条 */
.stack {
  display: flex;
  gap: 2px;
  height: 14px;
  margin: 22px 0 8px;
}

.stack i {
  display: block;
  height: 100%;
  background: var(--ink);
  opacity: 0.16;
}

.stack i:first-child {
  background: var(--flame);
  opacity: 1;
}

.stack i:last-child { min-width: 3px; }

.stack-legend {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.01em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
}

.dossier__foot {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}

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

.dossier__foot a:hover { border-bottom-color: var(--ink); }

/* ---------- 困境台账 ---------- */

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

.ledger__item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.ledger__mark {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  padding-top: 7px;
  letter-spacing: 0.02em;
}

.ledger__mark b {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
  margin-bottom: 2px;
}

.ledger__quote {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.55;
  letter-spacing: 0.01em;
  margin: 0 0 12px;
  max-width: 26em;
}

.ledger__body {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-2);
  margin: 0;
  max-width: 34em;
}

.ledger__body strong { font-weight: 600; color: var(--ink); }

/* ---------- 表格 ---------- */

.table-scroll {
  overflow-x: auto;
  margin: 26px 0 8px;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
  min-width: 560px;
}

caption {
  caption-side: top;
  text-align: left;
  font-size: 13.5px;
  color: var(--muted);
  padding-bottom: 10px;
}

th, td {
  text-align: left;
  padding: 13px 16px 13px 0;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

thead th {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 11px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

tbody tr:hover { background: rgba(18, 26, 22, 0.022); }

td.n,
th.n {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

td b, th b { font-weight: 600; }

td a[href^="tel"] {
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

td a[href^="tel"]:hover { border-bottom-color: var(--ink); }

.band--ink table { color: rgba(241, 243, 237, 0.9); }
.band--ink thead th {
  color: rgba(241, 243, 237, 0.6);
  border-bottom-color: rgba(241, 243, 237, 0.7);
}
.band--ink th,
.band--ink td { border-bottom-color: rgba(241, 243, 237, 0.14); }
.band--ink caption { color: rgba(241, 243, 237, 0.55); }
.band--ink tbody tr:hover { background: rgba(241, 243, 237, 0.04); }

/* ---------- 产品线卡 ---------- */

.lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 34px;
}

.line-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 28px 26px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  transition: background 0.18s ease;
}

.line-card:hover { background: #fff; }

.line-card__kicker {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--flame-ink);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.line-card h3 { margin-bottom: 8px; }

.line-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.line-card ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
}

.line-card li {
  padding-left: 14px;
  position: relative;
}

.line-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 1px;
  background: var(--muted);
}

.line-card__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- 六步法 ---------- */

.steps {
  counter-reset: step;
  border-top: 1px solid rgba(241, 243, 237, 0.2);
  margin-top: 34px;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.3fr) 104px;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(241, 243, 237, 0.14);
  align-items: baseline;
}

.step__no {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--flame);
  letter-spacing: 0.04em;
}

.step__no::before {
  content: counter(step, decimal-leading-zero);
}

.step__name {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--paper);
  line-height: 1.6;
}

.step__out {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(241, 243, 237, 0.72);
}

.step__when {
  font-family: var(--mono);
  font-size: 12.5px;
  color: rgba(241, 243, 237, 0.5);
  text-align: right;
  line-height: 1.6;
}

/* ---------- 赋分条图 ---------- */

.grade-chart {
  margin: 30px 0 12px;
  display: grid;
  gap: 3px;
}

.grade {
  display: grid;
  grid-template-columns: 26px 92px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 14px;
  padding: 7px 0;
}

.grade__id {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  text-align: center;
}

.grade__range {
  font-family: var(--mono);
  font-size: 12.5px;
  color: rgba(241, 243, 237, 0.65);
  white-space: nowrap;
}

.grade__track {
  height: 16px;
  background: rgba(241, 243, 237, 0.1);
}

.grade__fill {
  display: block;
  height: 100%;
  background: rgba(241, 243, 237, 0.5);
}

.grade--a .grade__fill { background: var(--flame); }
.grade--a .grade__id { color: var(--flame); }

.grade__pct {
  font-family: var(--mono);
  font-size: 12.5px;
  color: rgba(241, 243, 237, 0.6);
  text-align: right;
}

/* 赋分条图 · 浅底变体 */
.grade-chart--light .grade__id { color: var(--ink); }
.grade-chart--light .grade__range { color: var(--muted); }
.grade-chart--light .grade__track { background: rgba(18, 26, 22, 0.07); }
.grade-chart--light .grade__fill { background: rgba(18, 26, 22, 0.3); }
.grade-chart--light .grade--a .grade__fill { background: var(--flame); }
.grade-chart--light .grade--a .grade__id { color: var(--flame-ink); }
.grade-chart--light .grade__pct { color: var(--muted); }

/* ---------- 共建 / 卡片组 ---------- */

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 34px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 26px 24px;
}

.card--flush { padding: 0; }

.card__year {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--flame-ink);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.card h3 { font-size: 17.5px; margin-bottom: 10px; }

.card p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
  margin-bottom: 0;
}

/* ---------- FAQ ---------- */

.qa { border-top: 1px solid var(--line); margin-top: 30px; }

.qa__item {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
}

.qa__q {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.65;
  margin: 0;
  letter-spacing: -0.01em;
}

.qa__a {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-2);
  margin: 0;
  max-width: 40em;
}

.qa__a strong { color: var(--ink); font-weight: 600; }

.qa__a .num { color: var(--ink); }

/* ---------- 引语 ---------- */

.pull {
  border-left: 3px solid var(--flame);
  padding: 4px 0 4px 24px;
  margin: 34px 0;
  max-width: 34em;
}

.pull p {
  font-family: var(--serif);
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.7;
  margin: 0;
  color: var(--ink);
}

.band--ink .pull p { color: var(--paper); }

.pull cite {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13.5px;
  color: var(--muted);
}

.band--ink .pull cite { color: rgba(241, 243, 237, 0.55); }

/* ---------- CTA 段 ---------- */

.cta-band {
  border-top: 1px solid var(--line);
  padding: 76px 0;
  background: var(--paper-2);
}

.cta-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 56px;
  align-items: center;
}

.cta-band h2 { margin-bottom: 14px; }

.cta-band p { color: var(--ink-2); max-width: 32em; }

/* ---------- 页脚 ---------- */

.site-foot {
  background: var(--ink);
  color: rgba(241, 243, 237, 0.72);
  padding: 64px 0 32px;
  font-size: 14px;
  line-height: 1.8;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(241, 243, 237, 0.16);
}

.site-foot h3 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(241, 243, 237, 0.5);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.site-foot a { color: rgba(241, 243, 237, 0.82); }
.site-foot a:hover { color: var(--flame); }

.site-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-foot li { margin-bottom: 7px; }

.foot-brand__logo {
  height: 38px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.foot-brand p { font-size: 13.5px; max-width: 26em; margin-bottom: 12px; }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(241, 243, 237, 0.45);
}

/* ---------- 页面标题区 ---------- */

.page-head {
  padding: 62px 0 48px;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  max-width: 20em;
}

.page-head .lead { margin-bottom: 0; }

.crumb {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 20px;
}

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

.crumb span { padding: 0 8px; color: var(--line); }

/* ---------- 工具类 ---------- */

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
}

.jump-list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.jump-list li { border-bottom: 1px solid var(--line); }

.jump-list a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  font-size: 15px;
  transition: padding-left 0.18s ease;
}

.jump-list a:hover { padding-left: 6px; color: var(--flame-ink); }

.jump-list a span { color: var(--muted); font-size: 13.5px; }

.reveal { opacity: 0; transform: translateY(10px); }

.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ---------- 联系页：信息 + 二维码 ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 48px;
  align-items: start;
}

.qr-card {
  margin: 0;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  position: relative;
}

.qr-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 36px;
  height: 3px;
  background: var(--flame);
}

.qr-card img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
}

.qr-card figcaption {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.qr-card figcaption strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .qr-card { max-width: 300px; }
}

/* ---------- 表单 ---------- */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin-top: 28px;
}

.field { display: flex; flex-direction: column; gap: 7px; }

.field--full { grid-column: 1 / -1; }

.field label { font-size: 13.5px; color: var(--muted); }

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 11px 13px;
  width: 100%;
  line-height: 1.6;
}

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

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

.form-hint { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ---------- 响应式 ---------- */

@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .step { grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.1fr); }
  .step__when { display: none; }
  .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (max-width: 900px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 22px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .band { padding: 64px 0; }
  .hero { padding: 56px 0 56px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .dossier { max-width: 420px; }
  .two-col { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .trio { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .qa__item { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cta-band__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ledger__item { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 26px 0; }
  .ledger__mark { padding-top: 0; display: flex; gap: 10px; align-items: baseline; }
  .ledger__mark b { margin-bottom: 0; }
  .lines { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .grade { grid-template-columns: 22px 76px minmax(0, 1fr) 44px; gap: 10px; }

  /* 页头在 900px 以下换成汉堡菜单：完整版 logo 更宽，再窄就挤成两行 */
  .site-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 18px;
    box-shadow: 0 18px 30px rgba(18, 26, 22, 0.08);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line-soft); color: var(--flame-ink); }
  .head-cta { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 760px) {
  .page-head { padding: 40px 0 34px; }
  .brand__logo { height: 40px; }
  .hero h1 { letter-spacing: -0.03em; }
  .step { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .step__out { grid-column: 2; }
  .pull { padding-left: 16px; }
}

@media (max-width: 900px) {
  /* 横向可滚动的表格：右缘淡出，提示还有内容 */
  .table-scroll {
    background-image: linear-gradient(to left, rgba(18, 26, 22, 0.07), rgba(18, 26, 22, 0) 26px);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 26px 100%;
    background-attachment: local;
  }
  th, td { padding-right: 12px; }
}

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

@media print {
  .site-head, .site-foot, .cta-band, .nav-toggle { display: none; }
  body { background: #fff; }
}
