:root {
  --blue: #0a6cff; --blue-soft: #e8f0ff; --ink: #14161a; --muted: #5f6672; --line: #e4e7ee; --bg: #f7f8fb; --panel: #fff; --good: #2e9d57;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #f2f4f8; --muted: #a9afb9; --line: #383c45; --bg: #13151a; --panel: #1d2026; --blue-soft: #1d2f52; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--blue); }
.top { background: #071629; color: #fff; }
.top-inner, main, footer { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.brand img { width: 28px; height: 28px; }
.lang { border: 1px solid rgba(255,255,255,.3); background: none; color: #fff; border-radius: 8px; padding: 4px 10px; cursor: pointer; }
.hero { background: linear-gradient(180deg, #071629, #0c2a52); color: #fff; padding: 48px 0 56px; text-align: center; }
.hero h1 { font-size: clamp(26px, 5vw, 40px); line-height: 1.25; margin: 0 0 14px; }
.hero p { color: #c7d3e6; max-width: 640px; margin: 0 auto; }
.flow { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.flow span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.flow b { color: #7fa9ff; font-weight: 400; align-self: center; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin: -32px auto 0; position: relative; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 14px 40px rgba(20,35,65,.08); }
.card h2 { margin: 0 0 6px; font-size: 21px; }
.card .sub { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; border: 0; font-size: 16px; cursor: pointer; }
.btn.ghost { background: var(--blue-soft); color: var(--blue); }
.btn.block { width: 100%; }
.meta { color: var(--muted); font-size: 13px; margin-top: 10px; word-break: break-all; }
.qr { display: none; margin-top: 16px; text-align: center; color: var(--muted); font-size: 13px; }
.qr img { width: 150px; height: 150px; background: #fff; padding: 8px; border-radius: 12px; border: 1px solid var(--line); }
@media (min-width: 900px) and (hover: hover) { .qr { display: block; } }
section.block { margin: 44px 0; }
section.block h2 { font-size: 22px; margin: 0 0 14px; }
ol.steps { padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
ol.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 14px 56px; position: relative; }
ol.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 700; text-align: center; line-height: 26px; font-size: 14px; }
.tips { display: grid; gap: 10px; padding: 0; list-style: none; }
.tips li { padding: 12px 16px; border-left: 3px solid var(--blue); background: var(--panel); border-radius: 0 12px 12px 0; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
.code { font: 700 34px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 6px; text-align: center; margin: 12px 0; user-select: all; }
.note { color: var(--muted); font-size: 14px; }
footer { color: var(--muted); font-size: 13px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line); margin-top: 40px; }
[data-lang="en"] [lang="zh"], [data-lang="zh"] [lang="en"] { display: none; }
