/* 一路发号卡 官网 · 方向 A「对账单」
   规则：只用系统字体；不加载任何外部资源；页面不依赖脚本。
   区块可开关、可调换顺序：编号由 CSS 计数器生成，网格列数由 data-n（条目数）决定。 */

:root {
  --brand: #1f3bb3;
  --brand-strong: #172d8c;
  --brand-soft: #e9edfb;
  --money: #c2410c;
  --money-soft: #fdf1e9;
  --ink: #172033;
  --ink-2: #47516a;
  --ink-3: #5f6880;
  --bg: #f4f6fb;
  --paper: #ffffff;
  --line: #e1e5ef;
  --line-strong: #c7cddf;
  --rule: rgba(31, 59, 179, 0.055);
  --todo-bg: #fff3c4;
  --todo-ink: #7a4500;
  --todo-line: #d29a12;
  --foot-bg: #172033;
  --foot-ink: #c8cfdf;
  --foot-ink-2: #8e98b0;
  --shadow: 0 1px 2px rgba(23, 32, 51, 0.06), 0 12px 32px rgba(23, 32, 51, 0.07);

  --font: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Noto Sans SC", "WenQuanYi Micro Hei", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono", "Liberation Mono", monospace;

  --gutter: 16px;
  --pad-x: 20px;
  --pad-y: 48px;
  --top-h: 60px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #93a5ff;
    --brand-strong: #b4c1ff;
    --brand-soft: #1c2647;
    --money: #fb8c4b;
    --money-soft: #3a2116;
    --ink: #e7eaf3;
    --ink-2: #b6bdcf;
    --ink-3: #9aa3b9;
    --bg: #0d1220;
    --paper: #141b2d;
    --line: #253049;
    --line-strong: #34405e;
    --rule: rgba(147, 165, 255, 0.05);
    --todo-bg: #3a3010;
    --todo-ink: #ffd86b;
    --todo-line: #b8901f;
    --foot-bg: #090d18;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

@media (min-width: 720px) {
  :root { --gutter: 24px; --pad-x: 40px; --pad-y: 64px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 32px; --pad-x: 56px; --pad-y: 72px; --top-h: 64px; }
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: break-word;
  font-variant-numeric: tabular-nums;
}
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
/* 中文标题按标点断行（keep-all），整段放不下时再强制断开（anywhere），长短标题都不破版 */
h1, h2, h3 { line-height: 1.35; word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 50; padding: 8px 14px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 6px; }
.skip:focus { top: 8px; }

/* 待填写占位：醒目，深浅色都看得清 */
.todo {
  display: inline-block;
  padding: 0 8px;
  border: 1px dashed var(--todo-line);
  border-radius: 4px;
  background: var(--todo-bg);
  color: var(--todo-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.todo-block {
  padding: 12px 14px;
  border: 1px dashed var(--todo-line);
  border-radius: 6px;
  background: var(--todo-bg);
  color: var(--todo-ink);
  font-size: 15px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  max-width: 100%;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
@media (prefers-color-scheme: dark) {
  .btn--primary, .btn--primary:hover { color: #0d1220; }
}
.btn--ghost { background: var(--paper); color: var(--brand); }
.btn--ghost:hover { background: var(--brand-soft); color: var(--brand-strong); }
.btn--sm { min-height: 38px; padding: 6px 16px; font-size: 15px; }

/* ---------- 公告条 ---------- */
.notice { background: var(--brand-soft); border-bottom: 1px solid var(--line); }
.notice__in {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 9px var(--gutter);
}
.notice__tag {
  flex: none;
  margin-top: 2px;
  padding: 0 6px;
  border: 1px solid var(--brand);
  border-radius: 3px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}
.notice__text { min-width: 0; color: var(--ink); font-size: 14px; line-height: 1.75; }

/* ---------- 顶栏 ---------- */
.top { background: var(--bg); border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) {
  .top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(8px); }
}
.top__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  max-width: 1200px;
  min-height: var(--top-h);
  margin: 0 auto;
  padding: 10px var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: 0.04em; }
.brand:hover { color: var(--ink); }
.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--brand);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  clip-path: polygon(0 0, 72% 0, 100% 28%, 100% 100%, 0 100%); /* SIM 卡切角 */
}
@media (prefers-color-scheme: dark) { .brand__mark { color: #0d1220; } }

.nav { display: none; }
.top__login { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; flex-wrap: wrap; flex: 1 1 0; justify-content: flex-end; gap: 2px 4px; min-width: 0; }
  .nav a { padding: 6px 10px; border-radius: 5px; color: var(--ink-2); font-size: 15px; text-decoration: none; white-space: nowrap; }
  .nav a:hover { background: var(--brand-soft); color: var(--brand); }
  .top__login { display: inline-flex; }
  .menu { display: none; }
}

/* 手机目录：details 折叠，展开时在顶栏里推开内容，不浮层，所以不需要脚本关闭 */
.menu { margin-left: auto; }
.menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.menu[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.menu[open] { flex-basis: 100%; display: flex; flex-direction: column; align-items: flex-end; }
.menu__list { width: 100%; margin-top: 10px; border-top: 1px solid var(--line); }
.menu__list a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; text-decoration: none; }

/* ---------- 纸面：整页内容放在一张“对账单”上 ---------- */
.sheet {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--paper);
  border-top: 4px solid var(--brand);
  counter-reset: blk;
}
@media (min-width: 720px) {
  .sheet { margin: 24px auto 48px; width: calc(100% - 2 * var(--gutter)); border: 1px solid var(--line); border-top: 4px solid var(--brand); box-shadow: var(--shadow); }
}
.sheet > * + * { border-top: 1px solid var(--line); }

/* ---------- 主张（封面） ---------- */
.hero {
  display: grid;
  gap: 36px;
  padding: calc(var(--pad-y) - 8px) var(--pad-x) var(--pad-y);
}
@media (min-width: 960px) {
  .hero { background-image: linear-gradient(var(--rule) 1px, transparent 1px); background-size: 100% 32px; }
  .hero--pair { grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr); gap: 56px; align-items: center; }
  .hero:not(.hero--pair) .hero__text { max-width: 820px; }
}
.hero__text { min-width: 0; }
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.hero__eyebrow::before { content: ""; flex: none; width: 24px; height: 2px; background: currentColor; }
.hero__title {
  font-size: clamp(30px, 3.4vw + 8px, 50px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.hero__desc { max-width: 36em; margin-top: 20px; color: var(--ink-2); font-size: 17px; line-height: 1.85; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 479px) { .hero__actions .btn { flex: 1 1 100%; } }
.hero__card { min-width: 0; }

/* ---------- 示例订单卡：回单 ---------- */
.receipt {
  position: relative;
  max-width: 440px;
  margin: 0 auto 12px;
  padding: 20px 22px 18px;
  background: var(--paper);
  filter: drop-shadow(0 0 0.6px var(--line-strong)) drop-shadow(0 0 0.6px var(--line-strong)) drop-shadow(0 10px 18px rgba(23, 32, 51, 0.08));
}
.receipt::before { /* 顶部色带 */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--brand);
}
.receipt::after { /* 底部锯齿，像撕下来的回单 */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 10px;
  background:
    linear-gradient(135deg, var(--paper) 50%, transparent 50%) 0 0 / 14px 10px repeat-x,
    linear-gradient(-135deg, var(--paper) 50%, transparent 50%) 0 0 / 14px 10px repeat-x;
}
.receipt__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 6px 0 14px;
  border-bottom: 2px solid var(--ink);
}
.receipt__title { font-size: 18px; font-weight: 700; letter-spacing: 0.06em; overflow-wrap: anywhere; }
.receipt__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px 2px 4px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
}
.receipt__status-k { padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; line-height: 1.7; }
@media (prefers-color-scheme: dark) { .receipt__status-k { color: #0d1220; } }
.receipt__rows { padding: 4px 0; }
.receipt__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 15px;
}
.receipt__row dt { flex: none; max-width: 40%; color: var(--ink-3); }
.receipt__row dd { min-width: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.receipt__row--money dd { color: var(--money); }
.receipt__note {
  position: relative;
  min-height: 64px;
  padding: 14px 76px 4px 0;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.6;
}
.stamp {
  position: absolute;
  right: 4px;
  top: 6px;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 2px solid var(--money);
  border-radius: 50%;
  color: var(--money);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.1em;
  transform: rotate(-14deg);
  opacity: 0.85;
}
.stamp::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--money); border-radius: 50%; }
.sample-solo { max-width: 440px; }
.sample-solo .receipt { margin: 0 0 12px; }

/* ---------- 编号区块 ---------- */
.blk {
  counter-increment: blk;
  display: grid;
  gap: 8px;
  padding: var(--pad-y) var(--pad-x);
}
@media (min-width: 1024px) {
  .blk { grid-template-columns: 176px minmax(0, 1fr); gap: 48px; }
}
.blk__index { display: flex; align-items: baseline; gap: 10px; color: var(--ink-3); }
.blk__no::before { content: counter(blk, decimal-leading-zero); }
.blk__no { color: var(--brand); font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
.blk__label { font-size: 14px; letter-spacing: 0.08em; overflow-wrap: anywhere; }
@media (min-width: 1024px) {
  .blk__index { position: sticky; top: calc(var(--top-h) + 32px); align-self: start; flex-direction: column; gap: 6px; padding-top: 4px; }
  .blk__index::before { content: ""; width: 28px; height: 2px; margin-bottom: 10px; background: var(--brand); }
  .blk__no { font-size: 30px; font-weight: 500; line-height: 1; letter-spacing: 0; }
}
.blk__body { min-width: 0; }
.blk__title { font-size: clamp(24px, 1.4vw + 16px, 32px); font-weight: 700; text-wrap: balance; }
.blk__intro { max-width: 40em; margin-top: 12px; color: var(--ink-2); font-size: 16px; text-wrap: pretty; }
.blk__body > :is(ol, ul, dl, div) { margin-top: 32px; }
.blk__body > .facts { margin-top: 40px; }

/* 列数：按条目数决定，避免 4+1、5+1 这种落单 */
.caps, .roles, .promises { display: grid; gap: 16px; }
@media (min-width: 640px) {
  .caps, .roles, .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.caps, .roles, .promises)[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  :is(.caps, .roles, .promises):is([data-n="3"], [data-n="5"], [data-n="6"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 能力要点 ---------- */
.caps { counter-reset: cap; }
.cap { counter-increment: cap; padding: 20px 0 4px; border-top: 2px solid var(--ink); }
.cap::before { content: counter(cap, upper-alpha); display: block; margin-bottom: 6px; color: var(--brand); font-family: var(--mono); font-size: 14px; font-weight: 600; }
.cap__title { font-size: 20px; font-weight: 700; }
.cap__desc { margin-top: 8px; color: var(--ink-2); font-size: 15px; text-wrap: pretty; }
@media (min-width: 640px) { .caps { gap: 28px; } }

/* ---------- 流程站点 ---------- */
/* 手机：竖排时间轴 */
.flow { position: relative; display: grid; }
.st { position: relative; min-width: 0; padding: 0 0 28px 44px; }
.st::before { /* 连线 */
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--line-strong);
}
.st:last-child { padding-bottom: 0; }
.st:last-child::before { display: none; }
.st.is-done::before { background: var(--brand); }
.st__dot {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}
.st.is-done .st__dot { border-color: var(--brand); background: var(--brand); color: #fff; }
.st.is-current .st__dot { border-color: var(--brand); background: var(--paper); color: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); border-width: 3px; }
@media (prefers-color-scheme: dark) { .st.is-done .st__dot { color: #0d1220; } }
.st__who { color: var(--ink-3); font-size: 13px; line-height: 1.6; letter-spacing: 0.04em; overflow-wrap: anywhere; }
.st__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 2px; font-size: 19px; font-weight: 700; }
.st__now { padding: 0 8px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.8; }
@media (prefers-color-scheme: dark) { .st__now { color: #0d1220; } }
.st__desc { margin-top: 6px; color: var(--ink-2); font-size: 15px; text-wrap: pretty; }
.st.is-current { }
.st.is-current .st__name { color: var(--brand); }

/* 平板起：横排线路，按站数决定每行几站 */
@media (min-width: 640px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .st { padding: 44px 20px 0 0; }
  .st::before { left: 28px; right: 0; top: 13px; bottom: auto; width: auto; height: 2px; }
  .st:last-child::before { display: none; }
  .st:last-child { padding-bottom: 0; }
}
@media (min-width: 1024px) {
  .flow:is([data-n="2"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow:is([data-n="3"], [data-n="5"], [data-n="6"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow:is([data-n="4"], [data-n="7"], [data-n="8"]) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 规则清单：账本 ---------- */
.ledger { counter-reset: row; border-top: 2px solid var(--ink); }
.ledger__row {
  counter-increment: row;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 2px 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line-strong);
}
.ledger__row::before { content: counter(row, decimal-leading-zero); grid-row: span 2; padding-top: 3px; color: var(--ink-3); font-family: var(--mono); font-size: 13px; }
.ledger__row dt { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.ledger__row dd { color: var(--ink-2); font-size: 15px; text-wrap: pretty; }
@media (min-width: 720px) {
  .ledger__row { grid-template-columns: 44px minmax(120px, 13em) minmax(0, 1fr); gap: 16px; padding: 16px 0; }
  .ledger__row::before { grid-row: auto; }
  .ledger__row dd { font-size: 16px; }
}

/* ---------- 平台承诺 ---------- */
.promises { counter-reset: pr; }
.promise {
  counter-increment: pr;
  position: relative;
  padding: 22px 22px 22px;
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--brand);
  background: var(--paper);
}
.promise::before { /* 支票大写数字：壹 贰 叁 肆 */
  content: counter(pr, simp-chinese-formal);
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
}
.promise__title { font-size: 19px; font-weight: 700; }
.promise__desc { margin-top: 8px; color: var(--ink-2); font-size: 15px; text-wrap: pretty; }
.facts { padding: 20px 22px; background: var(--bg); border: 1px solid var(--line); }
.facts__title { font-size: 16px; font-weight: 700; }
.facts__list { display: grid; gap: 8px 24px; margin-top: 12px; }
@media (min-width: 640px) { .facts__list { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.facts__list li { position: relative; padding-left: 26px; font-size: 15px; }
.facts__list li::before { /* 勾 */
  content: "";
  position: absolute;
  left: 3px;
  top: 0.42em;
  width: 7px;
  height: 12px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(40deg);
}

/* ---------- 角色 ---------- */
.role { padding: 20px 22px 22px; border: 1px solid var(--line-strong); background: var(--paper); }
.role__name { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 700; }
.role__name::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--brand); clip-path: polygon(0 0, 65% 0, 100% 35%, 100% 100%, 0 100%); }
.role__pts { margin-top: 12px; }
.role__pts li { position: relative; padding: 4px 0 4px 16px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.role__pts li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 7px; height: 2px; background: var(--ink-3); }

/* ---------- 常见问题 ---------- */
.faq { border-top: 2px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa__q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 36px 16px 0;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q::after, .qa__q::before { /* 加号 / 减号 */
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--ink-3);
}
.qa__q::before { transform: rotate(90deg); }
.qa[open] > .qa__q::before { display: none; }
.qa__q:hover .qa__text { color: var(--brand); }
.qa__text { min-width: 0; overflow-wrap: anywhere; }
.qa__k {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}
.qa__k--a { background: var(--money-soft); color: var(--money); }
.qa__a { display: flex; align-items: flex-start; gap: 12px; padding: 0 0 18px; }
.qa__a p { min-width: 0; color: var(--ink-2); font-size: 15px; line-height: 1.8; text-wrap: pretty; }

/* ---------- 合作联系 ---------- */
.contact { display: grid; border-top: 2px solid var(--ink); }
@media (min-width: 720px) { .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } .contact__row--wide { grid-column: 1 / -1; } }
.contact__row { display: grid; grid-template-columns: 5em minmax(0, 1fr); align-items: baseline; align-content: start; gap: 4px 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-strong); }
@media (min-width: 720px) { .contact__row { grid-template-columns: minmax(0, 1fr); padding: 14px 0; } }
.contact__row dt { color: var(--ink-3); font-size: 14px; }
.contact__row dd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.contact__row dd a:not(.btn) { color: var(--ink); text-decoration-color: var(--line-strong); }
.contact__url { min-width: 0; color: var(--ink-3); font-family: var(--mono); font-size: 13px; font-weight: 400; overflow-wrap: anywhere; }

/* ---------- 页脚 ---------- */
.foot { background: var(--foot-bg); color: var(--foot-ink); font-size: 14px; }
.foot__in { display: grid; gap: 16px; max-width: 1200px; margin: 0 auto; padding: 36px var(--gutter) 40px; }
.foot__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 17px; font-weight: 700; letter-spacing: 0.04em; }
.foot__brand .brand__mark { width: 26px; height: 26px; font-size: 14px; background: #fff; color: var(--foot-bg); }
.foot__facts { display: flex; flex-wrap: wrap; gap: 6px 32px; }
.foot__facts div { display: flex; align-items: baseline; gap: 10px; min-width: 0; max-width: 100%; }
.foot__facts dt { flex: none; color: var(--foot-ink-2); }
.foot__facts dd { min-width: 0; overflow-wrap: anywhere; }
.foot a { color: var(--foot-ink); }
.foot a:hover { color: #fff; }
.foot .todo { background: rgba(255, 214, 102, 0.14); border-color: #e5b93a; color: #ffd86b; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot__note, .foot__copy { color: var(--foot-ink-2); font-size: 13px; }
.foot__in > :is(.foot__links, .foot__note) { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.foot__links + .foot__note { padding-top: 0; border-top: 0; }

/* ---------- 协议页 ---------- */
.sheet--doc { padding: var(--pad-y) var(--pad-x); }
.doc__tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 24px; }
.doc__tabs a { padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 5px; color: var(--ink-2); font-size: 15px; text-decoration: none; }
.doc__tabs a[aria-current="page"] { border-color: var(--brand); background: var(--brand); color: #fff; }
@media (prefers-color-scheme: dark) { .doc__tabs a[aria-current="page"] { color: #0d1220; } }
.doc__title { font-size: clamp(26px, 1.6vw + 18px, 36px); font-weight: 800; }
.doc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; color: var(--ink-3); font-size: 14px; }
.doc__sep { color: var(--line-strong); }
.doc__layout { display: grid; gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 2px solid var(--ink); }
@media (min-width: 1024px) {
  .doc__layout { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; }
  .doc__toc { position: sticky; top: calc(var(--top-h) + 32px); align-self: start; }
}
.doc__toc { padding: 12px 16px; background: var(--bg); border: 1px solid var(--line); }
.doc__toc > summary { font-weight: 700; cursor: pointer; }
.doc__toc ol { margin-top: 8px; }
.doc__toc a { display: block; padding: 5px 0; color: var(--ink-2); font-size: 14px; text-decoration: none; }
.doc__toc a:hover { color: var(--brand); }
.doc__body { max-width: 44em; min-width: 0; }
.doc__sec + .doc__sec { margin-top: 32px; }
.doc__sec h2 { margin-bottom: 12px; font-size: 20px; font-weight: 700; }

/* ---------- 打印 ---------- */
@media print {
  .notice, .top, .skip, .hero__actions { display: none; }
  .sheet { border: 0; box-shadow: none; margin: 0; width: auto; }
  .qa__a { display: flex; }
}
