/* ============================================================
   pages-static.css - 站务内容页（关于我们/隐私政策）+ 404 错误页
   设计语言：「工资条 / 官方票据」（依据 docs/redesign-spec.md）
   仅使用 redesign-theme.css 的设计令牌；不引入新色相；
   明暗主题全部走 var() 自适应，无独立暗色覆盖块。
   ============================================================ */

/* ── 1. 页面顶栏（内容页专用紧凑 Hero，首页 .hero 同源渐变） ── */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 560px at 88% -12%, rgba(214,228,255,.22), transparent 62%),
    radial-gradient(900px 520px at 4% 116%, rgba(6,28,63,.55), transparent 62%),
    linear-gradient(158deg, var(--blue-deep) 0%, var(--blue) 55%, var(--blue-bright) 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg,  rgba(255,255,255,.045) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 72px);
  -webkit-mask-image: radial-gradient(1000px 620px at 72% 20%, #000 30%, transparent 78%);
          mask-image: radial-gradient(1000px 620px at 72% 20%, #000 30%, transparent 78%);
}
.page-hero-in { position: relative; z-index: 1; padding: 44px 0 46px; }
.page-hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  padding: 5px 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: #fff; background: rgba(255,255,255,.1);
}
.page-hero-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #7dffb8; }
.page-hero h1 {
  margin: 14px 0 10px; font-size: clamp(24px, 3vw, 34px);
  font-weight: 900; letter-spacing: .01em; line-height: 1.3;
}
.page-hero h1 em { font-style: normal; color: #a8d3ff; }
.page-hero .sub { max-width: 680px; font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.86); }
.page-hero .wm {
  position: absolute; right: -12px; bottom: -46px; z-index: 0;
  font-family: var(--num); font-size: 200px; font-weight: 700; line-height: 1;
  color: rgba(255,255,255,.08); pointer-events: none; user-select: none;
}

/* ── 2. 内容文档块（关于/隐私正文的卡片排版） ── */
.doc-section { margin-top: 20px; }
.doc-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 20px; }
@media (max-width: 860px) { .doc-grid { grid-template-columns: 1fr; } }
.doc-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: 24px 26px;
}
.doc-card h2 {
  font-size: 17.5px; font-weight: 800; letter-spacing: .01em;
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.doc-card h2::before {
  content: ""; width: 4px; height: 18px; border-radius: 2px;
  background: var(--blue); flex-shrink: 0;
}
.doc-card p { font-size: 14.5px; line-height: 1.85; color: var(--text); margin-bottom: 10px; }
.doc-card p:last-child { margin-bottom: 0; }
.doc-card p b { color: var(--blue-deep); }
.doc-lead {
  font-size: 15px; line-height: 1.85; color: var(--muted);
  max-width: 760px; margin-top: 18px;
}
.doc-hl {
  border-left: 3px solid var(--blue);
  background: color-mix(in srgb, var(--blue-tint) 46%, transparent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px; font-size: 13.5px; line-height: 1.8; color: var(--text);
  margin: 14px 0 4px;
}
.doc-num { font-family: var(--num); font-variant-numeric: tabular-nums; font-weight: 700; }
.tlink { color: var(--blue); font-weight: 600; }
.tlink:hover { color: var(--blue-deep); text-decoration: underline; }

/* 三列服务卡（关于我们） */
.doc-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--blue-tint); color: var(--blue-deep);
  display: grid; place-items: center; margin-bottom: 12px;
}
.doc-icon svg { width: 20px; height: 20px; }
.doc-grid .doc-card h2 { margin-bottom: 8px; }
.doc-grid .doc-card p { font-size: 13.5px; color: var(--muted); }

/* 数据来源表格（工资条明细口音） */
.doc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 6px; }
.doc-table th {
  text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 600;
  padding: 10px 12px; letter-spacing: .04em; white-space: nowrap;
  background: color-mix(in srgb, var(--blue-tint) 46%, transparent);
}
.doc-table td { padding: 10px 12px; border-top: 1px solid var(--border); line-height: 1.7; vertical-align: top; }
.doc-table tr { display: table-row; }
@media (max-width: 640px) {
  .doc-table th:nth-child(3), .doc-table td:nth-child(3) { display: none; }
}

/* ── 3. 404 错误票据（个性化：作废工资条） ── */
.err-band {
  position: relative; overflow: hidden;
  padding: 52px 24px 64px; text-align: center;
  background:
    radial-gradient(900px 480px at 50% -8%, rgba(232,240,254,.9), transparent 64%),
    var(--bg);
}
[data-theme="dark"] .err-band {
  background:
    radial-gradient(900px 480px at 50% -8%, rgba(26,45,69,.75), transparent 64%),
    var(--bg);
}
.err-wm {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  font-family: var(--num); font-size: clamp(160px, 30vw, 300px); font-weight: 700;
  letter-spacing: .04em; line-height: 1; color: var(--text); opacity: .04;
  pointer-events: none; user-select: none;
}

/* 票据主体：撕边工资条 */
.etk {
  position: relative; width: min(460px, 100%); margin: 0 auto;
  filter: drop-shadow(0 18px 36px rgba(7,44,110,.16));
  text-align: left;
}
.etk-edge {
  height: 12px;
  background: radial-gradient(circle at 11px 12px, transparent 6px, var(--card) 6.5px) repeat-x;
  background-size: 22px 12px;
}
.etk-edge.flip { transform: scaleY(-1); }
.etk-body { background: var(--card); padding: 20px 26px 18px; }
.etk-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding-bottom: 12px; border-bottom: 1.5px dashed var(--border);
}
.etk-head .t { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 14px; letter-spacing: .06em; color: var(--text); }
.etk-head .t .sq {
  width: 26px; height: 26px; border-radius: 7px; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 13px;
  font-family: "Kaiti SC", "STKaiti", "KaiTi", serif;
}
.etk-code {
  font-family: var(--num); font-variant-numeric: tabular-nums;
  font-size: clamp(64px, 16vw, 92px); font-weight: 700; line-height: 1.05;
  letter-spacing: .02em; color: var(--blue-deep); margin: 14px 0 2px;
}
.etk-code small {
  display: block; font-family: inherit;
  font-size: 11px; font-weight: 600; letter-spacing: .3em; color: var(--muted);
  margin-top: 4px;
}
.etk-msg { font-size: 14.5px; line-height: 1.8; color: var(--text); margin: 10px 0 16px; }
.etk-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 0; border-top: 1.5px dashed var(--border); }
.etk-actions .btn-primary, .etk-actions .btn-ghost { font-size: 14px; }
.etk-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  padding-top: 12px; border-top: 1.5px dashed var(--border);
  font-size: 12.5px; color: var(--muted);
}
.etk-links a { color: var(--blue); font-weight: 600; }
.etk-links a:hover { color: var(--blue-deep); text-decoration: underline; }
.etk-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 12px 26px 16px; background: var(--card);
}
.etk-bar {
  width: 132px; height: 26px; color: var(--muted); opacity: .8;
  background: repeating-linear-gradient(90deg,
    currentColor 0 2px, transparent 2px 5px, currentColor 5px 6px, transparent 6px 10px,
    currentColor 10px 13px, transparent 13px 15px, currentColor 15px 16px, transparent 16px 21px);
}
.etk-no { font-family: var(--num); font-size: 11px; letter-spacing: .1em; color: var(--muted); text-align: right; }

/* 印章：骑缝盖在票据右肩 */
.etk-stamp {
  position: absolute; right: -14px; top: 58px; z-index: 2;
  width: 88px; height: 88px; font-size: 13px;
}
