/* 官网样式：与 App 开始页一致的灰白底、系统蓝，深色外观跟随系统 */
:root {
  --bg: #f5f5f7; --surface: #fff; --soft: #eef1f5; --text: #1d1d1f; --text2: #5f6368; --line: #e2e4e8;
  --accent: #2f6fdf; --accent-ink: #fff; --ok: #2e7d4f;
  --radius: 16px; --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.05);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161618; --surface: #1f1f22; --soft: #26272b; --text: #f2f2f4; --text2: #a1a4ab; --line: #303136;
    --accent: #4c8dff; --accent-ink: #fff; --ok: #4fbf7f; --shadow: none;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.75 -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* 页头 */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 17px; }
.brand:hover { text-decoration: none; }
nav { display: flex; gap: 4px; flex-wrap: wrap; }
nav a { color: var(--text2); font-size: 14px; padding: 6px 10px; border-radius: 8px; }
nav a:hover { color: var(--text); background: var(--soft); text-decoration: none; }
nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

/* 首页 */
.hero { padding-block: 72px 40px; text-align: center; }
.hero img.logo { width: 96px; height: 96px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.15; margin: 16px 0 12px; letter-spacing: -0.02em; }
.hero p.lead { font-size: clamp(17px, 2.4vw, 21px); color: var(--text2); margin: 0 auto; max-width: 600px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 28px 0 8px; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 16px; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.btn[aria-disabled="true"] { background: var(--soft); color: var(--text2); pointer-events: none; }
.meta { color: var(--text2); font-size: 14px; }
.shot { margin: 40px auto 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 920px; background: var(--surface); }
.shot img { display: block; width: 100%; height: auto; }

.section { padding-block: 56px; }
.section h2 { font-size: clamp(24px, 3.6vw, 32px); text-align: center; margin: 0 0 8px; letter-spacing: -0.01em; }
.section .sub { text-align: center; color: var(--text2); margin: 0 auto 32px; max-width: 620px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.card h3 { margin: 10px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--text2); font-size: 15px; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; color: var(--accent); }
.icon svg { width: 22px; height: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 820px; margin: 0 auto; }
.chips span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.steps { counter-reset: step; }
.steps .card h3::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 14px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band ul { max-width: 680px; margin: 0 auto; padding-left: 20px; }
.band li { margin: 6px 0; }
.center { text-align: center; }

/* 文档类页面（帮助、隐私政策、用户协议） */
.doc { padding-block: 40px 64px; }
.doc h1 { font-size: clamp(28px, 4.5vw, 36px); margin: 0 0 4px; letter-spacing: -0.01em; }
.doc h2 { font-size: 20px; margin: 36px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 17px; margin: 24px 0 4px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; }
td:first-child { min-width: 5.5em; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--line); }
th { color: var(--text2); font-weight: 600; white-space: nowrap; }
code { font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--soft); padding: 1px 5px; border-radius: 5px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; position: relative; padding-right: 24px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 20px; color: var(--text2); }
details[open] summary::after { content: "−"; }
details > :not(summary) { margin-top: 0; }
details[open] { padding-bottom: 6px; }
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }

/* 页脚 */
.foot { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--text2); font-size: 14px; }
.foot-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--text2); }
.contact h3 { margin-top: 0; }
