/* ==========================================================================
   算数·愉乐旅游订单系统 · 官网样式
   设计基调：中国山水 + 商务纸感（墨绿 / 砂金 / 宣纸）
   ========================================================================== */

:root {
  --ink: #101c1a;
  --ink-2: #1b2e2a;
  --ink-3: #2a423c;
  --deep: #0a1512;
  --deep-2: #0e1f1b;
  --paper: #f6f3ec;
  --paper-2: #fffdf8;
  --paper-3: #efeade;
  --line: rgba(16, 28, 26, 0.1);
  --line-2: rgba(16, 28, 26, 0.16);
  --muted: #5b6b66;
  --muted-2: #7d8b86;
  --jade: #2c7a63;
  --jade-2: #1f5e4c;
  --jade-soft: rgba(44, 122, 99, 0.08);
  --gold: #c0a062;
  --gold-2: #a8843c;
  --gold-soft: rgba(192, 160, 98, 0.14);
  --warn: #9a6700;
  --danger: #a3402f;
  --ok: #1f6f52;
  --radius: 16px;
  --radius-sm: 10px;
  --gutter: 24px;
  --maxw: 1120px;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", "Segoe UI", sans-serif;
  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "SimSun", Georgia, serif;
  --shadow-1: 0 1px 2px rgba(16, 28, 26, 0.04), 0 8px 24px -16px rgba(16, 28, 26, 0.22);
  --shadow-2: 0 24px 60px -32px rgba(10, 21, 18, 0.42), 0 4px 14px -8px rgba(10, 21, 18, 0.18);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- 页面水印（上海思扬信息 · 算数科技 演示使用） ---------- */
.site-watermark {
  position: fixed; inset: -40%; z-index: 900;
  pointer-events: none; user-select: none; -webkit-user-select: none;
  transform: rotate(-22deg);
  background-image: url("../brand/watermark.svg");
  background-repeat: repeat;
  background-size: 420px 138px;
  opacity: .06;
}
@media print { .site-watermark { display: none !important; } }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h2 { font-size: clamp(1.42rem, 2.1vw, 1.92rem); }
h3 { font-size: 1.14rem; }
h4 { font-size: 0.96rem; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}
.skip-link:focus { left: 16px; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 26px;
  height: 70px;
  padding: 0 var(--gutter);
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img { height: 34px; width: auto; }
.brand-copy { display: grid; gap: 1px; }
.brand-cn {
  font-family: var(--font-serif);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item > a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.nav-item > a:hover { background: rgba(16, 28, 26, 0.05); color: var(--jade-2); }
.nav-item > a[aria-current="page"] { color: var(--jade-2); }
.nav-item > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-item__caret {
  display: inline-block;
  width: 0.3rem;
  height: 0.3rem;
  margin-left: 0.34rem;
  vertical-align: 0.16em;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.45;
  transition: transform 0.2s, opacity 0.2s;
}

/* 二级导航面板：与主页头（而非一级项）对齐，任何位置都不溢出视口 */
.nav-item--panel { position: static; }
.nav-item--panel:hover .nav-item__caret,
.nav-item--panel:focus-within .nav-item__caret,
.nav-item--panel.is-open .nav-item__caret {
  opacity: 0.9;
  transform: rotate(225deg);
}
.nav-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 60;
  width: min(46rem, calc(100vw - 2 * var(--gutter)));
  padding-top: 0.6rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-0.35rem);
  transition: opacity 0.16s ease, transform 0.18s ease, visibility 0.16s ease;
}
.nav-item--panel:hover > .nav-panel,
.nav-item--panel:focus-within > .nav-panel,
.nav-item--panel.is-open > .nav-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-panel__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15.5rem;
  gap: 1.35rem;
  padding: 1.2rem 1.2rem 1.2rem 1.35rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}
.nav-panel a,
.nav-panel strong,
.nav-panel em { white-space: normal; }
.nav-panel__links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 1.1rem;
  row-gap: 0.1rem;
  align-content: start;
}
.nav-panel__links--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.nav-panel--wide { width: min(58rem, calc(100vw - 2 * var(--gutter))); }
.nav-panel__links--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nav-panel__group {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0.05rem;
  padding: 0.55rem 0.65rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.nav-panel__group:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.nav-panel__links > a {
  display: grid;
  gap: 0.1rem;
  padding: 0.48rem 0.62rem;
  border-radius: 9px;
  transition: background 0.16s;
}
.nav-panel__links strong { font-size: 0.855rem; font-weight: 600; color: var(--ink); }
.nav-panel__links em { font-style: normal; font-size: 0.745rem; line-height: 1.45; color: var(--muted); }
.nav-panel__links > a:hover { background: rgba(44, 122, 99, 0.07); }
.nav-panel__links > a[aria-current="page"] strong { color: var(--jade-2); }
.nav-panel__feature {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  padding: 0.5rem 0.5rem 0.65rem;
  background: var(--paper);
  border-radius: 12px;
}
.nav-panel__feature img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 9px;
}
.nav-panel__feature strong,
.nav-panel__feature em,
.nav-panel__cta { padding: 0 0.35rem; }
.nav-panel__feature strong { font-size: 0.84rem; font-weight: 600; }
.nav-panel__feature em { font-style: normal; font-size: 0.74rem; line-height: 1.45; color: var(--muted); }
.nav-panel__cta { font-size: 0.74rem; font-weight: 600; color: var(--jade-2); }
.nav-panel__cta i { font-style: normal; }

.header-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0d1a17;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 6px 18px -10px rgba(168, 132, 60, 0.85);
  transition: filter 0.2s, transform 0.2s;
}
.header-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 38px;
  margin-left: auto;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 1.6px; background: var(--ink); border-radius: 2px; }
.nav-toggle span:nth-child(2) { width: 68%; }

.mobile-nav {
  position: fixed;
  inset: 70px 0 0;
  z-index: 65;
  padding: 18px 20px 48px;
  overflow-y: auto;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav > a,
.mnav-group > summary {
  display: block;
  min-height: 46px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.mnav-group > summary::-webkit-details-marker { display: none; }
.mnav-group > summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}
.mnav-group[open] > summary::after { content: "−"; }
.mnav-group a {
  display: block;
  min-height: 42px;
  padding: 10px 4px 10px 16px;
  font-size: 0.87rem;
  color: var(--ink-3);
  border-bottom: 1px dashed var(--line);
}
.mnav-group__label {
  margin: 10px 0 0;
  padding: 4px 4px 0 16px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- 通用区块 ---------- */
main { display: block; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--paper { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--deep {
  background:
    radial-gradient(1200px 420px at 12% -10%, rgba(44, 122, 99, 0.28), transparent 60%),
    linear-gradient(180deg, var(--deep-2), var(--deep));
  color: #eef2ef;
}
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep p { color: rgba(238, 242, 239, 0.76); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: 0.8;
}
.section--deep .eyebrow { color: var(--gold); }

.lead {
  font-size: 1.06rem;
  line-height: 1.78;
  color: var(--muted);
  max-width: 62ch;
}
.section--deep .lead { color: rgba(238, 242, 239, 0.72); }

.section-head { max-width: 780px; margin-bottom: 32px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { margin-bottom: 0; }

.grid { display: grid; gap: 18px; }
.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: 22px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.section--deep .card {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.9rem; color: var(--muted); }
.section--deep .card p { color: rgba(238, 242, 239, 0.7); }

.card__num {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-2);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--jade-soft);
  color: var(--jade-2);
}
.card__icon svg { width: 21px; height: 21px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s;
}
.btn-primary {
  color: #0d1a17;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 10px 26px -14px rgba(168, 132, 60, 0.9);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-2);
}
.btn-ghost:hover { background: rgba(16, 28, 26, 0.04); }
.section--deep .btn-ghost { color: #eef2ef; border-color: rgba(255, 255, 255, 0.26); }
.section--deep .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 74px;
  color: #f3f6f3;
  background: var(--deep);
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 18, 15, 0.94) 0%, rgba(8, 18, 15, 0.78) 42%, rgba(8, 18, 15, 0.36) 72%, rgba(8, 18, 15, 0.5) 100%),
    linear-gradient(180deg, rgba(8, 18, 15, 0.5), transparent 26%, rgba(8, 18, 15, 0.82));
}
.hero__inner { max-width: 700px; }
.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero .lead { margin-top: 18px; color: rgba(240, 245, 241, 0.82); font-size: 1.08rem; }
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.hero__badges span {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.76rem;
  color: rgba(240, 245, 241, 0.84);
  background: rgba(255, 255, 255, 0.04);
}
.hero__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
}
.hero__kpi {
  padding: 18px 20px;
  background: rgba(9, 20, 17, 0.6);
  backdrop-filter: blur(6px);
}
.hero__kpi b {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.46rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.hero__kpi span { font-size: 0.76rem; color: rgba(240, 245, 241, 0.66); }
.hero__kpi small { display: block; margin-top: 2px; font-size: 0.68rem; color: rgba(192, 160, 98, 0.9); }

/* ---------- 页面头（内页） ---------- */
.page-hero {
  position: relative;
  padding: 64px 0 48px;
  overflow: hidden;
  background:
    radial-gradient(900px 320px at 8% -20%, rgba(44, 122, 99, 0.16), transparent 62%),
    linear-gradient(180deg, var(--paper-3), var(--paper));
  border-bottom: 1px solid var(--line);
}
.page-hero__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  color: var(--muted);
}
.page-hero__crumb a:hover { color: var(--jade-2); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 16px; }

/* ---------- 流程 ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: flow;
}
.flow__step {
  position: relative;
  padding: 24px 20px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.flow__step::before {
  counter-increment: flow;
  content: "0" counter(flow);
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-2);
}
.flow__step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.flow__step p { margin: 0; font-size: 0.85rem; color: var(--muted); }
.flow__step ul { margin-top: 10px; display: grid; gap: 4px; }
.flow__step li {
  position: relative;
  padding-left: 14px;
  font-size: 0.8rem;
  color: var(--ink-3);
}
.flow__step li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--jade);
  opacity: 0.55;
}

/* ---------- 场景卡（图片） ---------- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.scene {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--deep-2);
  color: #f1f5f2;
  isolation: isolate;
}
.scene img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 18, 15, 0.12) 0%, rgba(8, 18, 15, 0.5) 52%, rgba(8, 18, 15, 0.92) 100%);
}
.scene:hover img { transform: scale(1.035); }
.scene__body { margin-top: auto; padding: 20px; }
.scene__tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: #0d1a17;
  background: rgba(192, 160, 98, 0.92);
}
.scene h3 { color: #fff; font-size: 1.06rem; }
.scene p { margin: 6px 0 0; font-size: 0.82rem; color: rgba(241, 245, 242, 0.76); }
.scene__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.74rem;
  color: rgba(241, 245, 242, 0.66);
}
.scene__meta b { color: #fff; font-weight: 600; }

/* ---------- 单据墙 ---------- */
.docwall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.docchip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 500;
  transition: transform 0.16s, box-shadow 0.16s;
}
.docchip:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
.docchip code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
.docchip__no {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--gold-soft);
  color: var(--gold-2);
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 620px;
}
table.data thead th {
  padding: 13px 16px;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--paper-3);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-2);
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: rgba(44, 122, 99, 0.035); }
table.data strong { color: var(--ink); font-weight: 600; }
table.data .money { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data .is-ok { color: var(--ok); }
table.data .is-warn { color: var(--warn); }

.tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  background: var(--jade-soft);
  color: var(--jade-2);
  white-space: nowrap;
}
.tag--gold { background: var(--gold-soft); color: var(--gold-2); }
.tag--muted { background: rgba(16, 28, 26, 0.06); color: var(--muted); }

/* ---------- 引用 / 承诺 ---------- */
.promise {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 22px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.promise__no {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}
.promise h3 { font-size: 1rem; margin-bottom: 4px; }
.promise p { margin: 0; font-size: 0.86rem; color: var(--muted); }

.quote {
  padding: 28px 32px;
  border-left: 3px solid var(--gold);
  background: var(--paper-3);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--ink-2);
}
.quote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-style: normal;
  color: var(--muted);
}

/* ---------- 下载卡 ---------- */
.dl-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 14px 18px;
  margin-bottom: 26px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.86rem;
  color: var(--muted);
}
.dl-summary b { color: var(--ink); font-size: 1rem; }

.dl-list { display: grid; gap: 14px; }
.dl-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.dl-card:hover { border-color: rgba(192, 160, 98, 0.55); box-shadow: var(--shadow-1); }
.dl-card__type {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 14px;
  background: var(--paper-3);
  color: var(--ink-2);
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.3;
}
.dl-card__type span { font-size: 1.34rem; color: var(--gold-2); }
.dl-card h3 { font-size: 1.02rem; margin-bottom: 5px; }
.dl-card p { margin: 0 0 8px; font-size: 0.85rem; color: var(--muted); }
.dl-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 0.76rem;
  color: var(--muted-2);
}
.dl-card__meta b { color: var(--ink-2); font-weight: 600; }
.dl-card__act { display: grid; gap: 8px; justify-items: end; }
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #0d1a17;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  white-space: nowrap;
}
.dl-btn:hover { filter: brightness(1.06); }
.dl-note { font-size: 0.74rem; color: var(--muted-2); }

/* ---------- 联系 ---------- */
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 30px;
  padding: 34px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.contact-list { display: grid; gap: 16px; }
.contact-list__item { display: grid; gap: 2px; }
.contact-list__label { font-size: 0.74rem; letter-spacing: 0.08em; color: var(--muted-2); }
.contact-list__value { font-size: 1rem; font-weight: 600; color: var(--ink); }
.contact-list__value a:hover { color: var(--jade-2); }
.contact-qr {
  display: grid;
  justify-items: center;
  gap: 10px;
  align-content: center;
  padding: 20px;
  background: var(--paper);
  border-radius: 12px;
  text-align: center;
}
.contact-qr img { width: 132px; height: 132px; border-radius: 8px; }
.contact-qr__cell { display: grid; justify-items: center; gap: 6px; }
.contact-qr__cell img { width: 120px; height: 120px; }
.contact-qr strong { font-size: 0.86rem; }
.contact-qr span { font-size: 0.76rem; color: var(--muted); }

/* ---------- 页脚（版式对齐 zhubao.zerocod.cn） ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  padding: 0 0 20px;
  background: linear-gradient(180deg, rgba(10, 21, 18, 0.35) 0%, rgba(7, 16, 14, 0.98) 100%);
  color: #e9eeea;
  overflow: hidden;
}
.footer-top-line {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(192, 160, 98, 0.35) 20%,
    rgba(192, 160, 98, 0.55) 50%,
    rgba(192, 160, 98, 0.35) 80%,
    transparent 100%
  );
}
.footer-shell { position: relative; padding: 32px 24px 20px; }
.footer-main {
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr) auto;
  gap: 24px 36px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-qr-col { align-self: center; justify-self: end; display: grid; gap: 10px; }
.footer-logo-link { display: block; line-height: 0; }
.footer-logo {
  display: block;
  max-width: 168px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.footer-slogan {
  font-size: 0.8rem;
  color: rgba(233, 238, 234, 0.6);
  line-height: 1.55;
  margin: 0;
  max-width: 220px;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 2px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0c1614;
  text-decoration: none;
  background: linear-gradient(135deg, var(--gold), #96762e);
  transition: filter 0.2s, box-shadow 0.2s;
}
.footer-cta:hover { filter: brightness(1.08); box-shadow: 0 3px 12px rgba(192, 160, 98, 0.3); }
.yisheng-wechat-mp--footer {
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 100%;
}
.yisheng-wechat-mp--footer img { width: 72px; height: 72px; border-radius: 6px; object-fit: cover; background: #fff; }
.yisheng-wechat-mp--footer figcaption { display: grid; gap: 2px; }
.yisheng-wechat-mp--footer figcaption strong { font-size: 0.75rem; color: #e9eeea; }
.yisheng-wechat-mp--footer figcaption em { font-size: 0.68rem; font-style: normal; color: rgba(233, 238, 234, 0.55); }

/* 商务联系（电话 + 微信同号） */
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: rgba(233, 238, 234, 0.65);
}
.footer-contact span { color: rgba(233, 238, 234, 0.5); font-size: 0.72rem; }
.footer-contact a {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.footer-contact a:hover { text-decoration: underline; }
.footer-contact em { font-style: normal; font-size: 0.7rem; color: rgba(233, 238, 234, 0.45); }

/* 页脚「算数科技」外链 */
.footer-copyright .footer-group { color: rgba(233, 238, 234, 0.75); text-decoration: none; border-bottom: 1px dashed rgba(233, 238, 234, 0.25); }
.footer-copyright .footer-group:hover { color: var(--gold); border-bottom-color: var(--gold); }

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
}
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 0 0 10px;
  font-weight: 600;
}
.footer-col-list { list-style: none; margin: 0; padding: 0; }
.footer-col-list a {
  display: block;
  font-size: 0.8rem;
  color: rgba(233, 238, 234, 0.6);
  text-decoration: none;
  padding: 3px 0;
  line-height: 1.4;
  transition: color 0.2s;
}
.footer-col-list a:hover { color: var(--gold); }

.footer-trust-bar {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.footer-trust-line,
.footer-trust-badges,
.footer-trust-meta { max-width: 860px; margin-inline: auto; }
.footer-trust-line {
  margin: 0 auto 12px;
  font-size: 0.78rem;
  color: rgba(233, 238, 234, 0.6);
  line-height: 1.5;
}
.footer-trust-line strong { color: var(--gold); font-weight: 600; }
.footer-trust-sep { margin: 0 4px; opacity: 0.35; }
.footer-trust-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 12px;
  padding: 0;
}
.footer-trust-badges li {
  font-size: 0.72rem;
  color: var(--gold);
  background: rgba(192, 160, 98, 0.08);
  border: 1px solid rgba(192, 160, 98, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.footer-trust-meta {
  margin: 0 auto;
  font-size: 0.78rem;
  color: rgba(233, 238, 234, 0.6);
  line-height: 1.6;
}
.footer-trust-meta a { color: rgba(233, 238, 234, 0.6); text-decoration: none; }
.footer-trust-meta a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 24px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin-bottom: 8px;
}
.footer-bottom-links a {
  font-size: 0.74rem;
  color: rgba(233, 238, 234, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--gold); }
.footer-copyright {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(233, 238, 234, 0.6);
  opacity: 0.85;
  line-height: 1.5;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details {
  padding: 16px 20px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; float: right; color: var(--muted-2); font-weight: 400; }
.faq details[open] summary::after { content: "－"; }
.faq details p { margin: 10px 0 0; font-size: 0.88rem; color: var(--muted); }

/* ---------- 杂项 ---------- */
.note {
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--gold-soft);
  border: 1px solid rgba(192, 160, 98, 0.28);
  font-size: 0.84rem;
  color: #6b5320;
}
.note--jade { background: var(--jade-soft); border-color: rgba(44, 122, 99, 0.24); color: var(--jade-2); }
.kv {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 10px 18px;
  font-size: 0.88rem;
}
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink-2); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.rail-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px var(--gutter) 8px;
  font-size: 0.84rem;
  color: var(--muted);
}
.rail-nav a:hover { color: var(--jade-2); }
.rail-label { color: var(--ink); font-weight: 600; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav { gap: 0; }
  .nav-item > a { padding: 8px 9px; font-size: 0.86rem; }
  .hero__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docwall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .section { padding: 56px 0; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3, .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-panel { grid-template-columns: 1fr; padding: 26px; }
  .dl-card { grid-template-columns: 64px minmax(0, 1fr); }
  .dl-card__type { width: 64px; height: 64px; }
  .dl-card__act { grid-column: 1 / -1; justify-items: start; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand-col { align-items: center; text-align: center; }
  .footer-slogan { max-width: 280px; margin: 0 auto; }
  .footer-qr-col { justify-self: center; align-self: center; }
  .yisheng-wechat-mp--footer { align-items: center; }
  .footer-nav-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .footer-col { text-align: center; }
  .footer-trust-meta .footer-trust-sep { display: none; }
  .footer-trust-meta span, .footer-trust-meta a { display: block; }
  .footer-shell { padding: 20px 16px 12px; }
  .footer-trust-bar { padding: 12px 16px; }
  .footer-trust-badges li { white-space: normal; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .site-header { gap: 12px; }
}

@media (max-width: 720px) {
  .hero { padding: 66px 0 52px; }
  .hero__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--2, .grid--3, .grid--4, .scene-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .docwall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero { padding: 44px 0 34px; }
  .table-wrap { border-radius: 12px; }
  .footer-nav-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; }
  .quote { padding: 22px; font-size: 1rem; }
  .contact-panel { padding: 22px; }
}

@media (max-width: 420px) {
  .docwall { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- 打印 ---------- */
@media print {
  .site-header, .site-footer, .header-cta, .nav-toggle, .btn-row, .rail-nav { display: none; }
  body { background: #fff; color: #000; }
  .hero, .section--deep { background: #fff !important; color: #000 !important; }
  .hero h1, .hero .lead { color: #000 !important; }
}
