:root {
  --bg: #04090b;
  --surface: rgba(12, 28, 31, 0.62);
  --surface-solid: #0a1719;
  --surface-2: #0d1c1f;
  --ink: #e6f2ef;
  --ink-2: #a3b9b4;
  --ink-3: #6b8681;
  --line: rgba(120, 240, 200, 0.12);
  --line-strong: rgba(120, 240, 200, 0.24);
  --brand: #36e8b4;
  --accent: #5ef5be;
  --accent-soft: rgba(62, 245, 192, 0.1);
  --accent-line: rgba(94, 245, 190, 0.45);
  --glow: 0 0 22px rgba(62, 245, 192, 0.35);
  --grad: linear-gradient(90deg, transparent, var(--accent) 30%, #a8ff3e 50%, var(--accent) 70%, transparent);

  --f-body: "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --page: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 520px at 12% -6%, rgba(62, 245, 192, 0.2), transparent 65%),
    radial-gradient(760px 520px at 92% 8%, rgba(168, 255, 62, 0.09), transparent 65%),
    radial-gradient(900px 600px at 50% 110%, rgba(62, 245, 192, 0.1), transparent 70%),
    var(--bg);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 240, 200, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 240, 200, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.55) 900px, rgba(0, 0, 0, 0.18) 100%);
  mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.55) 900px, rgba(0, 0, 0, 0.18) 100%);
}
::selection { background: rgba(94, 245, 190, 0.3); }
a { color: inherit; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
svg { display: block; max-width: 100%; height: auto; }
svg text { font-family: var(--f-body); }
svg .mono { font-family: var(--f-mono); }

main { overflow-x: clip; }
.wrap {
  width: min(var(--page), calc(100% - 64px));
  margin: 0 auto;
}
.mono { font-family: var(--f-mono); }

/* ---------- 顶部导航 ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(4, 10, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--grad);
  opacity: 0.55;
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 62px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 28px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: var(--glow);
  flex: none;
}
.app-icon {
  display: block;
  flex: none;
  border-radius: 22%;
  box-shadow: 0 0 0 1px rgba(94, 245, 190, 0.35), 0 0 36px -4px rgba(62, 245, 192, 0.6);
}
.app-icon-lg { margin-bottom: 26px; }
.cta-main { display: flex; align-items: center; gap: 22px; }
.nav { display: flex; }
.nav a {
  position: relative;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  padding: 19px 14px 18px;
  transition: color 0.15s;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 500; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.go {
  margin-left: auto;
  text-decoration: none;
  color: var(--accent);
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: rgba(62, 245, 192, 0.08);
  transition: box-shadow 0.2s, background 0.2s;
}
.go:hover { background: rgba(62, 245, 192, 0.16); box-shadow: var(--glow); }

/* ---------- 通用元素 ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.lede {
  max-width: 34em;
  margin: 0;
  color: var(--ink-2);
  font-size: 16.5px;
}
.btn {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(135deg, #3ef5c0, #a8ff3e);
  color: #062014;
  padding: 11px 24px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(94, 245, 190, 0.3), 0 8px 30px -8px rgba(62, 245, 192, 0.7);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(94, 245, 190, 0.5), 0 10px 36px -6px rgba(62, 245, 192, 0.9); }
.btn-quiet {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-weight: 500;
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn-quiet:hover { color: var(--accent); border-color: var(--accent-line); box-shadow: var(--glow); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.band {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 30px;
  padding-bottom: 12px;
}
.band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(94, 245, 190, 0.25) 30%, rgba(120, 240, 200, 0.1));
}
.band::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 64px;
  height: 3px;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}
.band-k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.band-t { font-size: 22px; font-weight: 700; letter-spacing: 0.04em; }
.band-d { margin-left: auto; font-size: 13px; color: var(--ink-3); }

.section { padding: 88px 0 0; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.chips li {
  font-size: 12.5px;
  padding: 2px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}
.chips li.on { border-color: var(--accent-line); color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 12px rgba(62, 245, 192, 0.25); }

ul.rules { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
ul.rules li { position: relative; padding-left: 18px; color: var(--ink-2); max-width: 36em; }
ul.rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
ul.rules li b { color: var(--ink); font-weight: 500; }

.panel,
.figbox,
.domains,
.flow,
.card,
.doc,
.rung,
.cta-band {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.figbox::before,
.domains::before,
.flow::before,
.card::before,
.doc::before,
.cta-band::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: -1px;
  height: 1px;
  background: var(--grad);
  opacity: 0.7;
}
.figbox { padding: 22px 20px 16px; }
.figbox svg [stroke="#5ef5be"],
.figbox svg [stroke="#36e8b4"] { filter: drop-shadow(0 0 4px rgba(94, 245, 190, 0.55)); }
.figcap {
  margin: 10px 0 0;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ---------- 首页：首屏 ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 64px;
  align-items: center;
  padding: 88px 0 32px;
}
.hero h1 {
  margin: 0;
  font-size: 84px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #ffffff 20%, #c4ffb0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(62, 245, 192, 0.35));
}
.slogan {
  display: block;
  margin: 16px 0 28px;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(94, 245, 190, 0.55);
}
.hero-meta {
  margin: 38px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--ink-3);
}
.hero-meta b { color: var(--ink-2); font-weight: 600; }

.stage {
  position: relative;
  padding: 30px 0;
}
.stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 245, 192, 0.32), rgba(168, 255, 62, 0.06) 45%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 430px;
  height: 430px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(94, 245, 190, 0.22);
  box-shadow: 0 0 0 58px rgba(94, 245, 190, 0.03), 0 0 0 59px rgba(94, 245, 190, 0.12);
  -webkit-mask-image: linear-gradient(115deg, #000 15%, transparent 55%, #000 90%);
  mask-image: linear-gradient(115deg, #000 15%, transparent 55%, #000 90%);
  animation: spin 40s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.phone {
  position: relative;
  z-index: 1;
  width: 280px;
  margin: 0 auto;
  padding: 9px;
  background: linear-gradient(160deg, #24403f, #0b1517 40%, #0b1517 70%, #1d3a38);
  border-radius: 38px;
  box-shadow:
    0 0 0 1px rgba(94, 245, 190, 0.35),
    0 0 40px -6px rgba(62, 245, 192, 0.55),
    0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #071214;
  height: 560px;
  display: flex;
  flex-direction: column;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 12px 22px 4px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink);
}
.phone-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 10px;
  font-size: 12px;
}
.phone-head .city { font-weight: 700; }
.phone-head .search {
  flex: 1;
  padding: 5px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  color: var(--ink-3);
  font-size: 11px;
}
.phone-seg {
  display: flex;
  gap: 16px;
  padding: 0 14px 8px;
  font-size: 12px;
  color: var(--ink-3);
}
.phone-seg b { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.phone-map { flex: 1; position: relative; }
.phone-map svg { width: 100%; height: 100%; }
.phone-card {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(8, 22, 24, 0.88);
  border: 1px solid var(--accent-line);
  border-radius: 12px;
  box-shadow: 0 0 20px -4px rgba(62, 245, 192, 0.45);
  backdrop-filter: blur(6px);
  font-size: 12px;
}
.phone-card .thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3ef5c0, #a8ff3e);
  flex: none;
}
.phone-card .t { font-weight: 500; line-height: 1.4; }
.phone-card .d { color: var(--ink-3); font-size: 11px; line-height: 1.4; }
.phone-card .cta {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 12px;
  background: var(--accent);
  color: #062014;
  font-weight: 700;
  font-size: 11px;
}
.phone-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 8px 6px 14px;
  background: rgba(6, 16, 18, 0.95);
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  text-align: center;
  color: var(--ink-3);
}
.phone-nav .on { color: var(--accent); font-weight: 700; text-shadow: 0 0 10px rgba(94, 245, 190, 0.6); }
.phone-nav .plus {
  justify-self: center;
  width: 34px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3ef5c0, #a8ff3e);
  color: #062014;
  font-size: 18px;
  line-height: 26px;
  box-shadow: 0 0 12px rgba(62, 245, 192, 0.6);
}
.tag {
  position: absolute;
  z-index: 2;
  padding: 7px 12px;
  background: rgba(8, 20, 23, 0.82);
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 0 22px -6px rgba(62, 245, 192, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.tag .mono { color: var(--accent); font-size: 10.5px; margin-right: 6px; }
.tag-a { left: -14px; top: 96px; }
.tag-b { right: -22px; top: 268px; }
.tag-c { left: -6px; bottom: 124px; }

.pulse { transform-origin: center; transform-box: fill-box; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* ---------- 首页：业务线 ---------- */
.domains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.domain { position: relative; padding: 30px 28px 32px; transition: background 0.2s; }
.domain:hover { background: rgba(62, 245, 192, 0.05); }
.domain + .domain { border-left: 1px solid var(--line); }
.domain-head { display: flex; align-items: baseline; gap: 12px; }
.domain-id {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 12px;
  color: var(--accent);
  padding: 1px 7px;
  border: 1px solid var(--accent-line);
  border-radius: 6px;
  background: var(--accent-soft);
}
.domain h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: 0.06em; }
.domain p { margin: 14px 0 0; color: var(--ink-2); }
.domain .more {
  display: inline-block;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--accent);
  text-decoration: none;
}
.domain .more::after { content: " →"; transition: margin 0.15s; }
.domain .more:hover::after { margin-left: 4px; }

/* ---------- 动线 ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  counter-reset: step;
}
.flow li {
  list-style: none;
  position: relative;
  padding: 24px 22px 26px;
}
.flow li + li { border-left: 1px solid var(--line); }
.flow li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--f-mono);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 14px rgba(94, 245, 190, 0.6);
  margin-bottom: 14px;
}
.flow li + li::after {
  content: "";
  position: absolute;
  left: -5px;
  top: 30px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.flow b { display: block; font-size: 16px; font-weight: 500; }
.flow span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.flow-wrap { margin: 0; padding: 0; }

/* ---------- 阶梯 ---------- */
.ladder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 12px;
}
.rung { padding: 18px 18px 20px; }
.rung:nth-child(1) { min-height: 150px; }
.rung:nth-child(2) { min-height: 190px; }
.rung:nth-child(3) { min-height: 230px; }
.rung:nth-child(4) {
  min-height: 270px;
  background: linear-gradient(180deg, rgba(62, 245, 192, 0.22), rgba(62, 245, 192, 0.04));
  border-color: var(--accent-line);
  box-shadow: 0 0 36px -10px rgba(62, 245, 192, 0.7);
}
.rung .mono { font-size: 12px; color: var(--ink-3); }
.rung:nth-child(4) .mono,
.rung:nth-child(4) b { color: var(--accent); }
.rung b { display: block; margin-top: 2px; font-size: 16px; font-weight: 700; }
.rung p { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.65; }

/* ---------- 下载条 ---------- */
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 40px 40px;
  overflow: hidden;
  border-color: var(--accent-line);
  background:
    radial-gradient(600px 220px at 0% 0%, rgba(62, 245, 192, 0.28), transparent 70%),
    radial-gradient(500px 220px at 100% 100%, rgba(168, 255, 62, 0.12), transparent 70%),
    var(--surface);
}
.cta-band h2 { margin: 0; font-size: 28px; letter-spacing: 0.06em; }
.cta-band p { margin: 6px 0 0; color: var(--ink-2); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  text-align: left;
  font-family: inherit;
  cursor: not-allowed;
}
.store svg { width: 22px; height: 22px; flex: none; }
.store small { display: block; font-size: 11px; color: var(--ink-3); line-height: 1.3; }
.store strong { display: block; font-size: 16px; font-weight: 500; line-height: 1.3; }

/* ---------- 子页面头部 ---------- */
.masthead {
  position: relative;
  padding: 72px 0 26px;
}
.masthead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(94, 245, 190, 0.2) 40%, transparent);
  box-shadow: 0 0 10px rgba(94, 245, 190, 0.5);
}
.masthead h1 {
  margin: 0;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #ffffff 30%, #c4ffb0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.masthead .lede { margin-top: 14px; }
.provenance {
  margin: 0;
  padding: 14px 0 0;
  font-family: var(--f-mono);
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--ink-3);
}
.provenance b { color: var(--ink-2); font-weight: 600; }

/* ---------- 产品页 ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 70px;
}
.feature h2 { margin: 0; font-size: 30px; letter-spacing: 0.06em; }
.feature .domain-head { margin-bottom: 12px; }
.feature p { margin: 0; color: var(--ink-2); max-width: 34em; }

/* ---------- 关于 ---------- */
.facts { border-top: 1px solid var(--line-strong); }
.facts div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 3px;
}
.facts dd { margin: 0; color: var(--ink); }
.facts a { color: var(--accent); text-decoration: none; }
.facts a:hover { text-decoration: underline; }
.facts-list { margin: 0; }

.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card { padding: 28px 28px 30px; transition: border-color 0.2s, box-shadow 0.2s; }
.card:hover { border-color: var(--accent-line); box-shadow: 0 0 30px -12px rgba(62, 245, 192, 0.6); }
.card h3 { margin: 0; font-size: 19px; letter-spacing: 0.04em; }
.card p { margin: 10px 0 0; color: var(--ink-2); }
.card .more {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
}
.card .more::after { content: " →"; }

/* ---------- 协议页 ---------- */
.doc-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-top: 40px;
}
.toc {
  position: sticky;
  top: 86px;
  font-size: 13px;
  line-height: 1.5;
}
.toc-k {
  margin: 0 0 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.toc a {
  display: block;
  padding: 5px 0 5px 12px;
  margin-left: -14px;
  border-left: 2px solid var(--line);
  color: var(--ink-2);
  text-decoration: none;
}
.toc a:hover { color: var(--accent); border-left-color: var(--accent); }
.toc .switch {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.toc .switch a { color: var(--accent); border-left-color: transparent; }

.doc {
  padding: 40px 48px 52px;
  max-width: 820px;
  background: rgba(8, 20, 22, 0.78);
}
.doc h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.updated {
  margin: 10px 0 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}
.draft-note {
  margin: 18px 0 0;
  padding: 10px 14px;
  border-left: 3px solid #f0a565;
  border-radius: 0 8px 8px 0;
  background: rgba(240, 165, 101, 0.09);
  font-size: 13.5px;
  color: #e8c9ad;
}
.cms { margin-top: 24px; color: #c9d9d5; }
.cms p { margin: 0 0 1em; }
.cms h2 {
  margin: 2.1em 0 0.7em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
  color: var(--ink);
  letter-spacing: 0.04em;
  scroll-margin-top: 80px;
}
.cms h3 { margin: 1.6em 0 0.5em; font-size: 16px; font-weight: 500; color: var(--ink); }
.cms ul { margin: 0 0 1em; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.cms ul li { position: relative; padding-left: 16px; }
.cms ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.cms strong { font-weight: 500; color: var(--ink); }
.cms a { color: var(--accent); }
.muted { color: var(--ink-3); }

/* ---------- 页脚 ---------- */
footer {
  position: relative;
  margin-top: 104px;
  background: rgba(3, 8, 10, 0.7);
}
footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--grad);
  opacity: 0.6;
}
.foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 24px 56px;
  padding: 36px 0 40px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink); }
.foot-brand img { border-radius: 8px; }
.foot-slogan { margin-top: 2px; font-size: 13px; letter-spacing: 0.2em; color: var(--accent); }
.foot-k {
  margin: 0 0 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.foot nav { display: grid; gap: 4px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot-legal {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}
.foot-legal a { color: var(--ink-3); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 52px; }
  .stage { max-width: 440px; width: 100%; margin: 0 auto; }
  .domains,
  .two { grid-template-columns: 1fr; }
  .domain + .domain { border-left: 0; border-top: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr; }
  .flow li + li { border-left: 0; border-top: 1px solid var(--line); }
  .flow li + li::after { display: none; }
  .ladder { grid-template-columns: repeat(2, 1fr); }
  .rung:nth-child(n) { min-height: 0; }
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .cta-band { grid-template-columns: 1fr; }
  .doc-shell { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--page), calc(100% - 32px)); }
  .nav { display: none; }
  .hero h1 { font-size: 56px; }
  .slogan { font-size: 19px; letter-spacing: 0.22em; }
  .masthead h1 { font-size: 34px; }
  .tag { display: none; }
  .stage::before { width: 360px; height: 360px; }
  .stage::after { width: 320px; height: 320px; box-shadow: none; }
  .ladder { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .doc { padding: 26px 18px 34px; }
  .cta-band { padding: 28px 22px; }
  .band-d { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; opacity: 0.25; }
  .stage::after { animation: none; }
}

/* App 内嵌：iOS 一键登录的协议窗口带 ?embed=1 打开，只留正文，配色跟窗口的白色导航栏一致 */
html.embed {
  --bg: #ffffff;
  --ink: #1f1f1f;
  --ink-2: #555555;
  --ink-3: #888888;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.12);
  --accent: #16a34a;
}
.embed body { background: var(--bg); }
.embed body::before,
.embed .top,
.embed .toc,
.embed footer,
.embed .doc::before,
.embed .doc h1 { display: none; }
.embed .doc-shell { display: block; width: 100%; padding-top: 0; }
.embed .doc {
  max-width: none;
  padding: 12px 18px 34px;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.embed .cms { color: #333333; }
