/* ============================================================
   雨后甘霖官网 2.1 — 设计系统 v3「暖纸杂志感」
   方向：暖纸底 + 深墨文字 + 宋体衬线标题 + 细线分割
         + 细线插画 + 克制动效
   全部类名与 v1/v2 兼容，深色版备份于 style.v2-dark.css.bak
   ============================================================ */

:root {
  /* 背景层：暖纸 */
  --bg: #faf7f0;            /* 主背景：暖米白纸 */
  --bg-2: #f3eee1;          /* 次层背景（原 section--paper-deep） */
  --bg-3: #fffdf7;          /* 面板/卡片：亮纸 */
  --bg-hover: #f0eada;      /* hover 微暖 */

  /* 文字：深墨 */
  --text: #28251d;          /* 主文字：深墨 */
  --text-soft: #6b6557;     /* 次级 */
  --text-faint: #9c9584;    /* 更弱 */

  /* 细线 */
  --line: rgba(40, 37, 29, 0.14);
  --line-strong: rgba(40, 37, 29, 0.26);

  /* 点缀金（浅底加深版） */
  --gold: #b07f2e;
  --gold-bright: #96691f;   /* 浅底上作文字级点缀，用深金保证可读 */
  --gold-deep: #96691f;

  /* v1/v2 兼容别名（页面内联样式引用） */
  --ink: #28251d;
  --ink-deep: #23201a;      /* 页脚深墨带 */
  --paper: #faf7f0;
  --paper-deep: #f3eee1;
  --white: #fffdf7;
  --line-dark: rgba(40, 37, 29, 0.14);

  --radius: 2px;
  --gutter: 24px;

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

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(176, 127, 46, 0.25); color: var(--text); }

/* HTML 的 width/height 只提供固有比例；响应式缩放时高度必须随宽度自动调整。 */
img { max-width: 100%; height: auto; }
svg { max-width: 100%; }

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--gold-bright); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: 780px; }

/* ---------- 标题体系：衬线 ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: 0.01em;
}

/* ---------- 顶部导航 ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand { display: flex; flex-direction: column; line-height: 1.35; }
.brand strong {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.brand span {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.12em;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.site-nav__links a {
  font-size: 14px;
  color: var(--text-soft);
  transition: color 0.18s;
}
.site-nav__links a:hover { color: var(--text); }
.site-nav__cta { margin-left: 6px; }
.site-nav__links a.btn--gold { color: #fffdf7; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.22s, opacity 0.22s;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  letter-spacing: 0.02em;
}
.btn:hover { border-color: var(--text); color: var(--text); }

.btn--gold {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: #fffdf7;
  font-weight: 600;
}
.btn--gold:hover { background: #845a1d; border-color: #845a1d; color: #fffdf7; }

.btn--ghost-light {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost-light:hover { border-color: var(--text); }

.btn--ghost-dark {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost-dark:hover { border-color: var(--text); }

.btn--sm { padding: 8px 16px; font-size: 13.5px; }

/* ---------- 标签 / kicker ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--gold-bright);
  margin-bottom: 22px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3px 10px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.breadcrumb {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--gold-bright); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 120px 0 110px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.18;
  letter-spacing: 0.01em;
  max-width: 16em;
  margin-bottom: 28px;
}

.hero p {
  font-size: 17.5px;
  color: var(--text-soft);
  max-width: 44em;
  line-height: 1.95;
}

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

/* 内页 hero：稍紧凑 */
.hero--page { padding: 100px 0 76px; }
.hero--page h1 { font-size: clamp(32px, 4.2vw, 50px); }

/* hero 双栏：左文右插画 */
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 72px;
  align-items: center;
}

.hero__art {
  position: relative;
}
.hero__art img {
  display: block;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.hero__art figcaption {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
}

/* hero 背景装饰（细线工程图，由页面内嵌 SVG 使用） */
.hero__deco {
  position: absolute;
  top: 30px;
  right: 0;
  bottom: 230px;
  width: 44%;
  pointer-events: none;
  opacity: 0.5;
}
.hero__deco svg { width: 100%; height: 100%; }

/* hero 信息条：hairline 四格 */
.meta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.meta-row > div {
  padding: 20px 22px;
  border-left: 1px solid var(--line);
}
.meta-row > div:first-child { border-left: 0; padding-left: 0; }
.meta-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}
.meta-row span {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.7;
}

/* ---------- 区块 ---------- */

.section {
  padding: 116px 0;
  border-bottom: 1px solid var(--line);
}
.section--paper-deep { background: var(--bg-2); }

.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.28;
  margin-bottom: 18px;
}
.section-head p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.9;
}

/* ---------- 卡片：hairline 面板，不是盒子 ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg);
  padding: 36px 32px 30px;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  transition: background 0.2s;
  position: relative;
}
.section--paper-deep .card { background: var(--bg-2); }

.card h3 {
  font-size: 20px;
  line-height: 1.45;
  margin-bottom: 12px;
  transition: color 0.18s;
}
.card p {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.85;
  flex: 1;
}

a.card:hover { background: var(--bg-hover); color: var(--text); }
a.card:hover h3 { color: var(--gold-bright); }
a.card:hover .more { color: var(--gold-bright); }

/* 卡片顶部配图 */
.card__img {
  margin: -8px 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card__img img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.5s ease;
}
a.card:hover .card__img img { transform: scale(1.03); }

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.price {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.more {
  font-size: 13.5px;
  color: var(--text-soft);
  white-space: nowrap;
  transition: color 0.18s;
}

/* ---------- 步骤：超大 mono 编号 ---------- */

.steps { display: flex; flex-direction: column; }

.step {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }

.step-num {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0.1em;
  padding-top: 6px;
  min-width: 40px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.step p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.85;
  max-width: 640px;
}

/* ---------- 价格卡 ---------- */

.price-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
}
.price-card--featured { border-color: rgba(176, 127, 46, 0.55); }
.price-card--featured::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: var(--gold);
}

.price-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.price-card .price-line {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 22px;
}

.price-num {
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}
.price-num small {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-faint);
  letter-spacing: 0;
}

.price-was {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-faint);
  text-decoration: line-through;
  margin-left: 10px;
}

.price-card ul {
  list-style: none;
  margin-top: 24px;
}
.price-card li {
  font-size: 14.5px;
  color: var(--text-soft);
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--line);
  position: relative;
  line-height: 1.7;
}
.price-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

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

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  font-size: 14.5px;
}
.spec-table th {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--text-faint);
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-strong);
}
.spec-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  vertical-align: top;
  line-height: 1.75;
}
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td a { color: var(--text); border-bottom: 1px solid rgba(176,127,46,0.5); }
.spec-table td a:hover { color: var(--gold-bright); border-color: var(--gold-bright); }
.spec-table td:first-child { color: var(--text); }

/* ---------- 散文 ---------- */

.prose p {
  font-size: 16.5px;
  line-height: 2.05;
  color: var(--text-soft);
  margin-bottom: 1.4em;
  max-width: 42em;
}
.prose p strong, .prose strong { color: var(--text); font-weight: 600; }
.prose h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  margin: 2.2em 0 1em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 {
  font-size: 19px;
  margin: 1.8em 0 0.7em;
}
.prose ul, .prose ol {
  margin: 0 0 1.4em 1.2em;
  color: var(--text-soft);
  line-height: 2;
  font-size: 16px;
}

.lede {
  font-size: 19px;
  line-height: 1.95;
  color: var(--text);
}

/* 散文内配图：带 mono 图注 */
.prose figure, .figure {
  margin: 2.4em 0;
  max-width: 46em;
}
.prose figure img, .figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.prose figcaption, .figure figcaption {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-top: 10px;
}

.data-note {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-faint);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 36px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

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

.faq-item {
  border-top: 1px solid var(--line);
  padding: 26px 0;
}
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }

.faq-item h3,
.faq-item summary {
  font-family: var(--serif);
  font-size: 18.5px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  transition: color 0.18s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--gold-bright); }

.faq-body {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.9;
  max-width: 42em;
}
.faq-body a { color: var(--text); border-bottom: 1px solid rgba(176,127,46,0.5); }
.faq-body a:hover { color: var(--gold-bright); }

/* ---------- CTA 带 ---------- */

.cta-band {
  padding: 140px 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.2;
  max-width: 15em;
  margin-bottom: 20px;
}
.cta-band p {
  color: var(--text-soft);
  font-size: 16.5px;
  max-width: 40em;
  line-height: 1.9;
}
.cta-band .hero__actions { margin-top: 40px; }

/* ---------- 页脚：深墨带 ---------- */

.site-footer {
  background: var(--ink-deep);
  color: #e9e5da;
  padding: 80px 0 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.foot-brand {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
  color: #e9e5da;
}
.site-footer p {
  font-size: 13.5px;
  color: rgba(233, 229, 218, 0.45);
  line-height: 1.9;
}
.site-footer h5 {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: rgba(233, 229, 218, 0.4);
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; }
.site-footer li {
  font-size: 14px;
  margin-bottom: 10px;
  color: rgba(233, 229, 218, 0.62);
}
.site-footer li a { color: rgba(233, 229, 218, 0.62); }
.site-footer li a:hover { color: #e0b25c; }

.foot-note {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(233, 229, 218, 0.14);
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(233, 229, 218, 0.4);
  letter-spacing: 0.06em;
}

/* ---------- 数据带 ---------- */

.stat-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-grid > div {
  padding: 44px 28px;
  border-left: 1px solid var(--line);
}
.stat-grid > div:first-child { border-left: 0; }
.stat-grid .stat-num {
  font-family: var(--mono);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.stat-grid .stat-label {
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- 资料礼物 ---------- */
.gift-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gift-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid #494537;
  border-radius: var(--radius);
  background: var(--ink-deep);
  color: var(--paper);
  overflow: hidden;
}
.gift-card::after {
  content: "";
  position: absolute;
  right: -48px;
  top: -48px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(176, 127, 46, .48);
  border-radius: 50%;
  pointer-events: none;
}
.gift-card .kicker { color: #d7b778; }
.gift-card h3 { margin: 12px 0 16px; color: var(--paper); font-size: clamp(24px, 2.4vw, 32px); }
.gift-card p { color: #d5d0c4; }
.gift-card__meta {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 9px;
  border: 1px solid #655d49;
  border-radius: 99px;
  color: #ddd4be;
  font-size: 12px;
}
.gift-card__list { margin: 20px 0 28px; list-style: none; color: #e5dfd2; font-size: 14px; }
.gift-card__list li { padding: 8px 0; border-top: 1px solid #454135; }
.gift-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: auto; }
.gift-card__actions .text-link { color: #d9bd84; font-size: 14px; }
.gift-note { max-width: 760px; margin-top: 20px; color: var(--text-soft); font-size: 13px; }
.gift-card--compact { padding: 28px; background: var(--bg-3); color: var(--text); border-color: var(--line); }
.gift-card--compact::after { border-color: rgba(176, 127, 46, .3); }
.gift-card--compact h3 { color: var(--text); }
.gift-card--compact p, .gift-card--compact .gift-card__list { color: var(--text-soft); }
.gift-card--compact .gift-card__meta { color: var(--gold-deep); border-color: var(--line); }
.gift-card--compact .gift-card__list li { border-color: var(--line); }
.gift-card--compact .text-link { color: var(--gold-deep); }

/* ---------- 案例摘要与证据边界（不改动案例正文） ---------- */
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.case-stat { padding: 28px 20px; border-left: 1px solid var(--line); background: var(--bg-3); }
.case-stat:first-child { border-left: 0; }
.case-stat strong { display: block; margin: 7px 0 9px; color: var(--gold-deep); font: 600 clamp(24px, 2vw, 27px)/1.3 var(--serif); letter-spacing: -.03em; white-space: nowrap; }
.case-stat span { color: var(--text-soft); font-size: 13px; }
.case-summary-note { margin-top: 18px; }
.proof-gallery { margin-top: 28px; padding: 26px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--bg-3); }
.proof-gallery h3 { margin-bottom: 8px; font-size: 22px; }
.proof-gallery p { color: var(--text-soft); font-size: 14px; }

/* ---------- 联系页 ---------- */

.contact-ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.contact-way {
  background: var(--bg);
  padding: 40px 30px;
  text-align: left;
}
.contact-way .way-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--gold-bright);
  margin-bottom: 12px;
  font-weight: 500;
}
.contact-way .way-value {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

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

.msg-template {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 36px;
}
.msg-template pre {
  white-space: pre-wrap;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 2.1;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.copy-ok {
  display: none;
  margin-top: 12px;
  padding: 10px 16px;
  background: rgba(176, 127, 46, 0.08);
  border: 1px solid rgba(176, 127, 46, 0.4);
  border-radius: var(--radius);
  color: var(--gold-bright);
  font-size: 13.5px;
}
.copy-ok.is-visible { display: block; }

/* ---------- 404 ---------- */

.page-404 {
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 0;
}
.page-404 .code {
  font-family: var(--mono);
  font-size: 96px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 22px;
  letter-spacing: 0.04em;
}
.page-404 h1 { font-size: 26px; }

/* ---------- 杂项 ---------- */

.flag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  border: 1px solid rgba(176, 127, 46, 0.5);
  padding: 3px 10px;
  border-radius: var(--radius);
}

.is-active { color: var(--text) !important; }

.dark { background: var(--ink-deep); color: #e9e5da; }

/* ---------- 克制动效：滚动淡入（JS 驱动 .reveal） ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-inview {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

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

@media (max-width: 900px) {
  .gift-grid { grid-template-columns: 1fr; }
  .case-stats { grid-template-columns: 1fr; }
  .case-stat { border-left: 0; border-top: 1px solid var(--line); }
  .case-stat:first-child { border-top: 0; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid > div:nth-child(odd) { border-left: 0; }
  .stat-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .site-footer .foot-grid { grid-template-columns: 1fr 1fr; }
  .contact-ways { grid-template-columns: 1fr; }
  .meta-row { grid-template-columns: repeat(2, 1fr); }
  .meta-row > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .meta-row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__art { max-width: 520px; }
}

@media (max-width: 768px) {
  :root { --gutter: 18px; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }

  .hero { padding: 84px 0 68px; }
  .hero h1 { font-size: 33px; }
  .hero p { font-size: 16px; }
  .hero--page { padding: 72px 0 56px; }
  .hero--page h1 { font-size: 27px; }
  .hero__deco { display: none; }

  .cta-band { padding: 88px 0; }

  .card-grid, .card-grid--2 { grid-template-columns: 1fr; }
  .card { min-height: 0; }

  .step { gap: 22px; padding: 30px 0; }

  .site-footer .foot-grid { grid-template-columns: 1fr; gap: 30px; }

  .spec-table { display: block; overflow-x: auto; }

  /* 移动端抽屉导航 */
  .nav-toggle { display: flex; }

  .site-nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--gutter) 24px;
    gap: 2px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav__links.is-open { display: flex; }
  .site-nav__links a { padding: 13px 10px; font-size: 16px; }
  .site-nav__links .site-nav__cta { margin: 10px 0 0; }
  .site-nav__links .site-nav__cta .btn { width: 100%; }

  .nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .price-num { font-size: 32px; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .meta-row { grid-template-columns: 1fr; }
  .meta-row > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .meta-row > div:first-child { border-top: 0; }
}
