/* 公版书库 官网 —— 共用样式
   浅色主题 / 移动端优先 / 无外部依赖 */

:root {
  --ink: #1a1d21;
  --body: #33383f;
  --muted: #6b7280;
  --line: #e4e7ec;
  --bg: #f6f7f9;
  --card: #ffffff;
  --accent: #1a6fd4;
  --accent-soft: #eaf2fd;
  --warn-bg: #fff8e6;
  --warn-line: #e0a800;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  background: var(--bg);
  color: var(--body);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  padding: 0 16px 56px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 780px; margin: 0 auto; }

/* ---------- 顶栏 ---------- */
.topbar {
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 600; color: var(--ink);
  letter-spacing: -.2px;
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, #1a6fd4, #3aa0ff);
  color: #fff; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.topbar .spacer { flex: 1; }
.topbar nav a {
  font-size: 14px; color: var(--muted); margin-left: 18px;
}
.topbar nav a:hover { color: var(--accent); }

/* ---------- 首屏 ---------- */
.hero {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 27px; font-weight: 650; color: var(--ink);
  letter-spacing: -.4px; line-height: 1.45;
}
.hero .lead {
  margin-top: 12px; font-size: 15px; color: var(--muted);
  line-height: 1.85;
}
.hero .tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12.5px; color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px; padding: 4px 12px;
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 16px;
}
.card h2 {
  font-size: 17px; font-weight: 600; color: var(--ink);
  margin-bottom: 14px;
  padding-left: 12px; border-left: 3px solid var(--accent);
}

/* 功能列表 */
.features { display: grid; gap: 14px; }
.feature { display: flex; gap: 12px; align-items: flex-start; }
.feature .ico {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600;
}
.feature .t { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.feature .d { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* 下载区 */
.download { text-align: center; }
.download .btn {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 500;
  padding: 12px 30px; border-radius: 10px;
  margin-top: 6px;
}
.download .btn:hover { background: #155cb0; text-decoration: none; }
.download .hint { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- 正文（隐私政策） ---------- */
.doc-head { padding: 8px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.doc-head h1 { font-size: 26px; font-weight: 600; color: var(--ink); letter-spacing: -.3px; }
.doc-head .meta { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.9; }

section { margin-bottom: 28px; }
section:last-child { margin-bottom: 0; }
section h2 {
  font-size: 16.5px; font-weight: 600; color: var(--ink);
  margin-bottom: 9px;
  padding-left: 12px; border-left: 3px solid var(--accent);
}
section p { font-size: 14.5px; color: var(--body); margin-bottom: 8px; }
section p.indent { padding-left: 16px; color: var(--muted); }
section strong { color: var(--ink); font-weight: 600; }

/* ---------- 底部 ---------- */
footer {
  max-width: 780px; margin: 34px auto 0;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
  text-align: center; line-height: 2;
}
footer .links { margin-bottom: 8px; }
footer .links a { margin: 0 10px; }
footer .beian a { color: var(--muted); }

/* ---------- 窄屏 ---------- */
@media (max-width: 600px) {
  body { padding: 0 12px 40px; }
  .hero { padding: 26px 20px; }
  .hero h1 { font-size: 23px; }
  .card { padding: 20px 18px; }
  .doc-head h1 { font-size: 22px; }
  .topbar nav a { margin-left: 14px; }
}
