/* ==========================================================================
   安迹守护 · 官网与合规页面
   Design System v2 · 2026-10
   --------------------------------------------------------------------------
   0. 设计令牌        1. 基础与可访问性    2. 布局容器
   3. 顶栏与导航      4. 按钮              5. 首屏
   6. 能力条          7. 区块与标题        8. 卡片
   9. 步骤与双端矩阵  10. 边界与隐私       11. 服务与费用
   12. 常见问题       13. 下载             14. 协议入口
   15. 页脚           16. 文档页           17. 响应式      18. 打印
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. 设计令牌
   -------------------------------------------------------------------------- */
:root {
  /* 品牌绿：500 用于装饰图形，600 起才可承载白字（4.86:1），700 起用于文字 */
  --brand-50: #f0fbf5;
  --brand-100: #ddf5e8;
  --brand-200: #b9e9d1;
  --brand-300: #7fd9b1;
  --brand-500: #00b578;
  --brand-600: #008253;
  --brand-700: #00704a;
  --brand-800: #005c3d;

  /* 中性阶 */
  --ink: #16201c;
  --ink-2: #3d4844;
  --ink-3: #5d6663;
  --ink-4: #6b7370;
  --line: #e4eae7;
  --line-2: #d3dcd8;
  --surface: #ffffff;
  --canvas: #f6f8f7;
  --canvas-2: #eef3f1;

  /* 语义色 */
  --warn: #a35f00;
  --warn-bg: #fff7e8;
  --warn-line: #f2d9a8;
  --danger: #c62b2b;
  --danger-bg: #fdefef;

  /* 圆角 */
  --r-xs: 8px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* 阴影 */
  --sh-1: 0 1px 2px rgba(18, 38, 30, .05), 0 1px 3px rgba(18, 38, 30, .04);
  --sh-2: 0 6px 16px -6px rgba(18, 38, 30, .10), 0 2px 6px rgba(18, 38, 30, .05);
  --sh-3: 0 28px 56px -24px rgba(12, 52, 37, .24), 0 8px 20px -14px rgba(12, 52, 37, .18);

  /* 排版 */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-num: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  /* 尺寸 */
  --maxw: 1120px;
  --gutter: 24px;
  --header-h: 62px;
  --device-w: 306px;
}

/* --------------------------------------------------------------------------
   1. 基础与可访问性
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 中文标题不再使用 800/900，避免系统字体合成加粗导致笔画发糊 */
h1, h2, h3, h4 { font-weight: 700; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }

img, video { max-width: 100%; height: auto; }

:focus-visible {
  outline: 3px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brand-700);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: 14px;
  transition: top .18s ease;
}
.skip-link:focus { top: 10px; text-decoration: none; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   2. 布局容器
   -------------------------------------------------------------------------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --------------------------------------------------------------------------
   3. 顶栏与导航
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand svg { display: block; flex: none; }

/* 桌面：折叠按钮隐藏，导航平铺 */
.nav-toggle { display: none; }

.nav-panel {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-panel a {
  padding: 8px 12px;
  border-radius: var(--r-xs);
  font-size: 14.5px;
  color: var(--ink-3);
  transition: color .16s, background .16s;
}
.nav-panel a:hover {
  color: var(--ink);
  background: var(--brand-50);
  text-decoration: none;
}
.nav-panel a.is-current { color: var(--brand-700); font-weight: 600; }
.nav-panel .nav-cta {
  margin-left: 10px;
  padding: 0 18px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  background: var(--brand-600);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--r-pill);
}
.nav-panel .nav-cta:hover {
  background: var(--brand-700);
  color: #fff;
}

/* --------------------------------------------------------------------------
   4. 按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background .16s, border-color .16s, transform .16s, box-shadow .16s;
}
.btn:hover { text-decoration: none; }
.btn svg { flex: none; }

.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 90, 60, .18), 0 10px 20px -12px rgba(0, 90, 60, .55);
}
.btn-primary:hover { background: var(--brand-700); transform: translateY(-1px); }
.btn-primary:active { transform: none; }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: var(--sh-1);
}
.btn-ghost:hover { border-color: var(--ink-4); }

.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-700);
}
.link-arrow svg { transition: transform .16s; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   5. 首屏
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 72px 0 84px;
  background:
    radial-gradient(900px 420px at 82% -12%, #e2f7ec 0%, rgba(226, 247, 236, 0) 64%),
    linear-gradient(180deg, #f5fbf8 0%, var(--canvas) 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 112, 74, .11) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 66%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 66%);
  pointer-events: none;
}
.hero .wrap { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--brand-200);
  box-shadow: var(--sh-1);
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}
.eyebrow svg { flex: none; }

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.25;
  letter-spacing: -.022em;
}
.hero h1 .accent {
  color: var(--brand-700);
  background: linear-gradient(transparent 60%, rgba(0, 181, 120, .20) 60%, rgba(0, 181, 120, .20) 94%, transparent 94%);
  padding-bottom: 2px;
}

.hero .lede {
  margin: 0 0 30px;
  max-width: 33em;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--ink-3);
}
.hero .lede strong { color: var(--ink); font-weight: 600; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-facts {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.hero-facts li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}
.hero-facts svg { flex: none; margin-top: 3px; }
.hero-facts b { color: var(--ink); font-weight: 600; }

/* 首屏右侧：孩子端状态示意（纯 CSS/SVG，无外链图片） */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.device {
  position: relative;
  width: var(--device-w);
  padding: 9px;
  border-radius: 44px;
  background: linear-gradient(160deg, #1b332a, #0d1c16 62%);
  box-shadow: var(--sh-3), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.device::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 78%;
  height: 40px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(12, 52, 37, .18), transparent 72%);
  z-index: -1;
}

.screen {
  display: flex;
  flex-direction: column;
  height: 556px;
  border-radius: 36px;
  overflow: hidden;
  background: #fff;
}

.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 18px;
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: #fff;
}
.statusbar-icons { display: flex; align-items: center; gap: 4px; }

.mpnav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.capsule {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 3px;
  width: 62px;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .72);
}
.capsule i {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--ink-2);
  display: block;
}
.capsule .sep {
  width: 1px; height: 12px;
  background: rgba(0, 0, 0, .1);
  margin-left: auto;
}
.capsule .ring {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1.6px solid var(--ink-2);
  margin-left: auto;
}

.maparea {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #eef3ef;
  overflow: hidden;
}
.maparea svg.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }

.fence {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 186px;
  height: 186px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0, 181, 120, .12);
  border: 1.5px dashed rgba(0, 112, 74, .48);
}
.fence-label {
  position: absolute;
  left: 50%;
  top: calc(44% + 86px);
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--sh-1);
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-700);
  white-space: nowrap;
}

.me {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 15px;
  height: 15px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--brand-600);
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 112, 74, .45);
}
.me::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: rgba(0, 130, 83, .16);
  z-index: -1;
}

.sheet {
  position: relative;
  margin-top: -18px;
  padding: 14px 16px 12px;
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: 0 -8px 22px -12px rgba(18, 38, 30, .18);
}
.sheet-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 12.5px;
  font-weight: 700;
}
.sheet-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.sheet-sub { font-size: 11px; color: var(--ink-4); }
.pill {
  margin-left: auto;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
}
.pill-ok { color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); }

.sheet-rows { display: grid; gap: 6px; margin-bottom: 10px; }
.sheet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
}
.sheet-row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

.sheet-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 32px;
  border-radius: var(--r-xs);
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 600;
}

.tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 50px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.tab {
  display: grid;
  place-items: center;
  gap: 2px;
  font-size: 9.5px;
  color: var(--ink-4);
}
.tab svg { width: 17px; height: 17px; }
.tab.is-on { color: var(--brand-700); }

/* 悬浮的微信服务号通知：压在手机底部边缘，像一条真实下发的通知 */
.toast {
  position: absolute;
  left: -40px;
  bottom: -62px;
  width: 236px;
  padding: 12px 14px 13px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.toast-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  font-size: 11px;
  color: var(--ink-4);
}
.toast-logo { display: grid; place-items: center; width: 16px; height: 16px; }
.toast-name { font-weight: 600; color: var(--ink-2); }
.toast-time { margin-left: auto; font-variant-numeric: tabular-nums; }
.toast-title {
  margin: 0 0 3px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}
.toast-text {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   6. 能力条
   -------------------------------------------------------------------------- */
.capstrip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.capstrip .wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cap {
  padding: 20px 22px;
  border-left: 1px solid var(--line);
}
.cap:first-child { border-left: 0; padding-left: 0; }
.cap b {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  color: var(--ink);
}
.cap span {
  display: block;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-4);
}

/* --------------------------------------------------------------------------
   7. 区块与标题
   -------------------------------------------------------------------------- */
.section { padding: 76px 0; }
.section.band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec-head { max-width: 680px; margin-bottom: 40px; }
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--brand-700);
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-500);
}
.sec-head h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.34;
  letter-spacing: -.02em;
}
.sec-head p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   8. 卡片
   -------------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-1);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: var(--sh-2);
}
.card h3 {
  margin: 18px 0 8px;
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -.01em;
}
.card > p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ink-3);
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
}

/* 卡片内嵌的告警示例 */
.mini-notif {
  margin-top: 18px;
  padding: 11px 13px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--canvas);
}
.mini-notif .mn-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  font-size: 10.5px;
  color: var(--ink-4);
}
.mini-notif .mn-top i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-500);
  display: block;
}
.mini-notif .mn-title {
  margin: 0 0 2px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.mini-notif .mn-text {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   9. 步骤与双端矩阵
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 48px;
}
.step { position: relative; padding-right: 32px; }
.step::after {
  content: "";
  position: absolute;
  left: 44px;
  right: 10px;
  top: 16px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 13px);
}
.step:last-child::after { display: none; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 5px var(--canvas);
}
.section.band .step-num { box-shadow: 0 0 0 5px #fff; }
.step h3 { margin: 0 0 6px; font-size: 16.5px; letter-spacing: -.01em; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-3); }

.ends {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.end {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--sh-1);
}
.end-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.end-mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  flex: none;
}
.end-tag {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--canvas);
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-4);
  white-space: nowrap;
}
.end h3 { margin: 0; font-size: 17px; letter-spacing: -.01em; }
.end > p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-3);
}
.end ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.end li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.end li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 7px;
  border-left: 1.8px solid var(--brand-600);
  border-bottom: 1.8px solid var(--brand-600);
  transform: rotate(-45deg);
}

.perm-label {
  margin: 20px 0 8px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-4);
}
.perms { display: flex; flex-wrap: wrap; gap: 6px; }
.perm {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--canvas);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   10. 边界与隐私
   -------------------------------------------------------------------------- */
.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.trust-item {
  display: flex;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}
.trust-item svg { flex: none; margin-top: 2px; }
.trust-item h4 { margin: 0 0 4px; font-size: 14.5px; letter-spacing: -.005em; }
.trust-item p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--ink-3); }

/* 「我们不做」深色带 */
.notdone {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 32px;
  margin-top: 20px;
  padding: 30px 32px;
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, #16302a, #10231c);
  color: #c3d4cd;
}
.notdone h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: #fff;
  letter-spacing: -.01em;
}
.notdone .nd-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: #93a8a0;
}
.notdone ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
}
.notdone li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.65;
  color: #c3d4cd;
}
.notdone li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 15px;
  font-weight: 700;
  color: #f2a04d;
}
.notdone li b { color: #fff; font-weight: 600; }

/* --------------------------------------------------------------------------
   11. 服务与费用
   -------------------------------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--sh-1);
}
.plan--svc {
  border-color: var(--brand-200);
  background: linear-gradient(180deg, #f5fcf8, #fff 62%);
}
.plan-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.plan-top h3 { margin: 0; font-size: 16.5px; }
.plan-flag {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 600;
}
.plan--free .plan-flag { color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); }
.plan--svc .plan-flag { color: var(--ink-4); background: #fff; border: 1px solid var(--line); }
.plan-price {
  margin: 0 0 4px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.35;
  color: var(--ink);
}
.plan-sub {
  margin: 0 0 16px;
  font-size: 12.5px;
  color: var(--ink-4);
}
.plan-desc { margin: 0 0 18px; font-size: 13.5px; line-height: 1.7; color: var(--ink-3); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.plan li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 7px;
  border-left: 1.8px solid var(--brand-600);
  border-bottom: 1.8px solid var(--brand-600);
  transform: rotate(-45deg);
}
.plan--svc li::before { border-color: var(--brand-500); }
.plan-foot {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-4);
}
.fee-note {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--brand-500);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--brand-50);
  font-size: 13.5px;
  line-height: 1.7;
  color: #245040;
}
.fee-note b { color: var(--brand-800); }

/* --------------------------------------------------------------------------
   12. 常见问题
   -------------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 52px;
  align-items: start;
}
.faq {
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.faq-aside {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-1);
}
.faq-aside h3 { margin: 0 0 8px; font-size: 15.5px; letter-spacing: -.01em; }
.faq-aside p {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-3);
}
.faq-aside-note {
  margin: 16px 0 0 !important;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px !important;
  color: var(--ink-4) !important;
}
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 4px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color .16s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand-700); }
.faq summary::after {
  content: "";
  flex: none;
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 1.6px solid var(--ink-4);
  border-bottom: 1.6px solid var(--ink-4);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq .faq-a {
  padding: 0 4px 20px;
  margin: 0;
  max-width: 44em;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-3);
}
.faq .faq-a b { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   13. 下载
   -------------------------------------------------------------------------- */
.dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 232px;
  gap: 44px;
  align-items: center;
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--sh-2);
}
.dl h2 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.02em; }
.dl p { margin: 0 0 22px; font-size: 14.5px; line-height: 1.78; color: var(--ink-3); }
.dl p strong { color: var(--ink); font-weight: 600; }
.dl-note {
  margin: 18px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-4);
}
.dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.meta-chip {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--canvas);
  font-size: 12px;
  color: var(--ink-4);
}
.qr {
  display: grid;
  place-items: center;
  gap: 8px;
  width: 100%;
  aspect-ratio: 1;
  padding: 16px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-md);
  background: var(--canvas);
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-4);
}
.qr svg { color: var(--ink-4); opacity: .55; }

/* --------------------------------------------------------------------------
   14. 协议入口
   -------------------------------------------------------------------------- */
.doc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.doc-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}
.doc-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 15px;
}
.doc-card h3 .tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-4);
}
.doc-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.doc-card a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--brand-700);
}
.doc-card a::after {
  content: "›";
  margin-left: auto;
  color: var(--ink-4);
  font-size: 15px;
  transition: transform .16s;
}
.doc-card a:hover { text-decoration: none; }
.doc-card a:hover::after { transform: translateX(2px); color: var(--brand-700); }

/* --------------------------------------------------------------------------
   15. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: 8px;
  padding: 56px 0 0;
  background: #10231c;
  color: #b3c5be;
  font-size: 14px;
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
}
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand:hover { color: #fff; }
.site-footer p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.75; color: #9db2aa; }
.site-footer h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #b3c5be; font-size: 13.5px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer-bottom .wrap {
  display: block;
  padding: 20px var(--gutter) 26px;
  font-size: 12.5px;
  line-height: 1.9;
  color: #819890;
}
.footer-bottom .wrap > *:first-child { margin-bottom: 2px; }
.footer-bottom a { color: #819890; font-size: 12.5px; }
.footer-bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   16. 文档页（隐私政策 / 协议 / 注销说明）
   -------------------------------------------------------------------------- */
.doc-hero {
  padding: 40px 0 30px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--ink-4);
}
.crumb a { color: var(--ink-4); }
.crumb a:hover { color: var(--brand-700); }
.doc-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(23px, 2.4vw, 31px);
  line-height: 1.35;
  letter-spacing: -.02em;
}
.doc-hero .lede {
  margin: 0;
  max-width: 46em;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-3);
}
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chip {
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--canvas);
  font-size: 12px;
  color: var(--ink-3);
}
.chip b { color: var(--ink); font-weight: 600; }

/* 文档工具条（由 site.js 注入） */
.doc-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: 12.5px;
  font-family: inherit;
  color: var(--ink-3);
  cursor: pointer;
  transition: border-color .16s, color .16s, background .16s;
}
.tool-btn:hover { border-color: var(--line-2); color: var(--ink); background: var(--canvas); }
.tool-btn svg { flex: none; }

.doc-body { padding: 44px 0 80px; }
.doc-grid {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.toc { position: sticky; top: calc(var(--header-h) + 20px); font-size: 13.5px; }
.toc-title {
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink-4);
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}
.toc li a {
  display: block;
  padding: 6px 0 6px 13px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--ink-3);
  line-height: 1.55;
  transition: color .16s, border-color .16s, background .16s;
}
.toc li a:hover { color: var(--brand-700); border-left-color: var(--brand-300); text-decoration: none; }
.toc li a.is-active {
  color: var(--brand-700);
  font-weight: 600;
  border-left-color: var(--brand-600);
  background: linear-gradient(90deg, var(--brand-50), transparent 88%);
}

article.policy {
  min-width: 0;
  padding: 40px 44px 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-1);
}
article.policy h2 {
  margin: 46px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -.015em;
}
article.policy h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
article.policy h3 { margin: 26px 0 8px; font-size: 15.5px; }
article.policy p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; line-height: 1.82; }
article.policy ul,
article.policy ol { margin: 0 0 16px; padding-left: 22px; color: var(--ink-2); font-size: 15px; }
article.policy li { margin-bottom: 7px; line-height: 1.78; }
article.policy strong { color: var(--ink); font-weight: 600; }
article.policy code {
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 13.5px;
  word-break: break-word;
}

table {
  width: 100%;
  margin: 10px 0 22px;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.65;
}
th, td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--canvas);
  font-weight: 600;
  color: var(--ink);
}
article.policy table th:first-child { width: 15%; min-width: 94px; }
tbody tr:nth-child(even) td { background: #fcfdfd; }
td .muted { color: var(--ink-4); font-size: 12.5px; }

.callout {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-left: 3px solid var(--brand-500);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--brand-50);
  font-size: 14.5px;
  line-height: 1.75;
  color: #245040;
}
.callout.warn {
  border-left-color: var(--warn);
  background: var(--warn-bg);
  color: #6d4406;
}

.doc-foot {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-3);
}
.doc-foot a { color: var(--brand-700); }

/* 返回顶部 */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--sh-2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 12.5px;
  color: var(--ink-3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s, color .16s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--brand-700); }

/* --------------------------------------------------------------------------
   17. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --maxw: 100%; --gutter: 22px; }
  .hero-grid { gap: 40px; }
  .site-footer .wrap { gap: 32px; }
}

@media (max-width: 900px) {
  .hero { padding: 48px 0 44px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero .lede { max-width: none; }
  .hero-visual { flex-direction: column; align-items: center; }
  .toast {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(300px, 100%);
    margin: 16px 0 0;
  }

  .capstrip .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap { padding: 16px 18px; }
  .cap:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cap:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .grid-3,
  .trust,
  .doc-cards,
  .plans,
  .ends { grid-template-columns: minmax(0, 1fr); }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-bottom: 34px; }
  .step { padding-right: 0; }
  .step::after {
    left: 16px;
    right: auto;
    top: 38px;
    bottom: -22px;
    width: 1px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 13px);
  }

  .notdone { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 26px 24px; }
  .notdone ul { grid-template-columns: minmax(0, 1fr); }

  .dl { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 24px; }
  .qr { max-width: 200px; aspect-ratio: auto; height: 160px; }

  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .faq-aside { padding: 20px; }
  .doc-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .toc {
    position: static;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
  }
  .toc ol { border-left: 0; columns: 2; column-gap: 22px; }
  .toc li a { border-left: 0; padding-left: 0; }
  .toc li a.is-active { background: none; }
  article.policy { padding: 26px 20px 32px; }
  article.policy h2 { font-size: 18.5px; }
  article.policy p,
  article.policy ul,
  article.policy ol { font-size: 14.5px; }

  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .section { padding: 52px 0; }
}

@media (max-width: 860px) {
  /* 导航折叠：按钮由 site.js 驱动；无 JS 时导航直接换行铺开，仍可用 */
  .site-header .wrap {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--header-h);
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: #fff;
    color: var(--ink);
    cursor: pointer;
  }
  .nav-toggle:hover { border-color: var(--line-2); }

  .js .nav-panel {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(100% + 6px);
    z-index: 20;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: var(--sh-3);
  }
  .js .nav-panel.is-open { display: flex; }
  .js .nav-panel a { padding: 11px 12px; font-size: 15px; }
  .js .nav-panel .nav-cta {
    margin: 6px 0 0;
    height: 44px;
    justify-content: center;
    font-size: 15px;
  }

  html:not(.js) .nav-panel {
    flex-wrap: wrap;
    width: 100%;
    margin: 6px 0 0;
    gap: 0;
  }
  html:not(.js) .nav-panel .nav-cta { margin: 6px 8px 0; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; --device-w: min(300px, calc(100vw - 60px)); }
  .hero h1 { font-size: 29px; }
  .hero .lede { font-size: 15.5px; }
  .btn { height: 46px; padding: 0 20px; font-size: 15px; }
  .cta-row .btn { flex: 1 1 auto; }
  .screen { height: 512px; }
  .capstrip .wrap { grid-template-columns: minmax(0, 1fr); }
  .cap { border-left: 0; padding-left: 0; }
  .cap + .cap { border-top: 1px solid var(--line); }
  .sec-head h2 { font-size: 22px; }
  .notdone { padding: 22px 20px; }
  .plan, .end, .card { padding: 22px 20px; }
  .doc-card { padding: 20px; }
  .toc ol { columns: 1; }
  .footer-bottom .wrap { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* 窄屏政策表格：横向滚动，保留列对齐 */
@media (max-width: 760px) {
  article.policy table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
  }
  article.policy table th,
  article.policy table td { border-width: 0 1px 1px 0; min-width: 78px; }
  article.policy table tr > *:last-child { border-right: 0; }
  article.policy table tbody tr:last-child td { border-bottom: 0; }
  .doc-meta .chip { max-width: 100%; overflow-wrap: anywhere; }
}

/* --------------------------------------------------------------------------
   18. 打印
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .toc,
  .cta-row,
  .crumb,
  .doc-tools,
  .to-top,
  .skip-link { display: none !important; }
  body { background: #fff; font-size: 11pt; color: #000; }
  .doc-body { padding: 0; }
  .doc-grid { display: block; }
  article.policy {
    border: 0;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
  }
  article.policy h2 { page-break-after: avoid; }
  article.policy table { page-break-inside: avoid; }
  a { color: #000; text-decoration: none; }
}
