:root {
  --bg: #f1f1f3; --card: rgba(255,255,255,.62); --text: #1d1d1f; --muted: #6e6e73; --line: rgba(0,0,0,.08);
  --accent: #0071e3; --accent-soft: rgba(0,113,227,.08); --radius: 18px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #101012; --card: #1c1c1f; --text: #f5f5f7; --muted: #a1a1a6; --line: rgba(255,255,255,.1);
    --accent: #2997ff; --accent-soft: rgba(41,151,255,.12); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; gap: 22px; height: 56px; }
nav .brand { display: flex; align-items: center; gap: 9px; font-weight: 650; color: var(--text); font-size: 17px; }
nav .brand img { width: 28px; height: 28px; }
nav .links { margin-left: auto; display: flex; gap: 22px; font-size: 14px; }
nav .links a { color: var(--muted); }
nav .links a:hover { color: var(--text); text-decoration: none; }
.btn { display: inline-block; padding: 11px 22px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: var(--accent-soft); color: var(--accent); }
.hero { position: relative; overflow: hidden; text-align: center; padding: 170px 0 170px; }
.hero .wrap { position: relative; z-index: 1; max-width: 560px; }
.hero .wrap::before { content: ""; position: absolute; inset: -70px -90px; z-index: -1;
  background: radial-gradient(closest-side, var(--bg) 62%, transparent); }
.float { position: absolute; inset: 0; pointer-events: none; }
.float span { position: absolute; white-space: nowrap; font-size: 15px; font-weight: 600; color: var(--muted);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px;
  opacity: .55; box-shadow: 0 6px 24px rgba(0,0,0,.05); animation: drift 9s ease-in-out infinite alternate; }
.float span:nth-child(2n) { animation-duration: 11s; animation-delay: -3s; }
.float span:nth-child(4n+1) { animation-direction: alternate-reverse; }
.float span:nth-child(3n) { animation-duration: 13s; animation-delay: -6s; }
.float span.far { opacity: .3; transform: scale(.9); filter: blur(.5px); }
@keyframes drift { from { translate: 0 0; } to { translate: 10px -14px; } }
@media (max-width: 760px) { .float span { font-size: 12px; padding: 6px 11px; opacity: .35; } .float span.far { display: none; } }
.hero img { width: 112px; height: 112px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 34px; }
.hero p { font-size: clamp(18px, 2.6vw, 23px); color: var(--muted); margin: 0 auto 30px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .small { font-size: 13px; color: var(--muted); margin-top: 14px; }
section { padding: 56px 0; }
h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -.015em; text-align: center; margin: 0 0 10px; }
.sub { text-align: center; color: var(--muted); margin: 0 auto 38px; max-width: 600px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .icon { font-size: 26px; margin-bottom: 10px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.pro { border: 2px solid var(--accent); }
.plan .tag { align-self: flex-start; font-size: 12px; font-weight: 650; color: var(--accent); background: var(--accent-soft); padding: 3px 9px; border-radius: 6px; margin-bottom: 10px; }
.plan .price { font-size: 38px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 2px; }
.plan .price span { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { padding-left: 0; list-style: none; margin: 16px 0 22px; color: var(--muted); font-size: 15px; }
.plan li { padding: 4px 0 4px 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }
.plan .btn { margin-top: auto; text-align: center; }
.note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; }
.faq { max-width: 720px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 10px 0 0; }
footer { border-top: 1px solid var(--line); padding: 30px 0 46px; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 70px; }
.doc h1 { font-size: 34px; letter-spacing: -.015em; margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.doc h2 { text-align: left; font-size: 21px; margin: 32px 0 8px; }
.doc p, .doc li { color: color-mix(in srgb, var(--text) 86%, transparent); }
@media (max-width: 640px) { nav .links a.hide-sm { display: none; } .hero { padding-top: 60px; } }

/* ---- 下载教程 ---- */
.guide { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.guide h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -.02em; margin: 0 0 8px; text-align: center; }
.guide .lead { text-align: center; color: var(--muted); margin: 0 0 30px; font-size: 17px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.toc a { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text); }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px 26px 28px; margin-bottom: 22px; scroll-margin-top: 70px; }
.step .num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; margin-right: 10px; flex: none; }
.step h2 { display: flex; align-items: center; text-align: left; font-size: 21px; margin: 0 0 12px; }
.step p, .step li { font-size: 16px; }
.step ol, .step ul { padding-left: 22px; margin: 8px 0; }
.step li { margin: 6px 0; }
.tip { background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; margin-top: 14px; }
.warn { background: rgba(255,159,10,.12); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; margin-top: 14px; }
.shot { margin: 18px auto 4px; display: block; max-width: 100%; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.12); }
.cap { text-align: center; font-size: 13px; color: var(--muted); margin-top: 8px; }
kbd { font: 600 13px/1 -apple-system, sans-serif; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); }
code.cmd { display: block; user-select: all; font: 14px/1.5 ui-monospace, Menlo, monospace; background: #1d1d1f; color: #f5f5f7; padding: 12px 14px; border-radius: 10px; margin: 10px 0; word-break: break-all; }
.mark { outline: 3px solid #ff3b30; outline-offset: 3px; border-radius: 8px; position: relative; }
.mark::after { content: "👆"; position: absolute; right: -14px; bottom: -26px; font-size: 22px; }

/* macOS 风格的示意图 */
.mock { margin: 18px auto 4px; max-width: 460px; border-radius: 14px; overflow: hidden; background: #ececee; color: #1d1d1f;
  box-shadow: 0 12px 44px rgba(0,0,0,.16); border: 1px solid rgba(0,0,0,.08); font-size: 14px; }
.mock .bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: #e3e3e6; border-bottom: 1px solid rgba(0,0,0,.06); }
.mock .bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; display: inline-block; }
.mock .bar i:nth-child(2) { background: #febc2e; } .mock .bar i:nth-child(3) { background: #28c840; }
.mock .bar b { margin: 0 auto; font-size: 13px; color: #555; transform: translateX(-20px); }
.mock .body { padding: 18px 20px 20px; }
.mock .row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; background: #fff; border-radius: 10px; margin-bottom: 8px; }
.mock .muted { color: #6e6e73; font-size: 13px; }
.mock .btn { display: inline-block; padding: 5px 14px; border-radius: 7px; background: #fff; color: #1d1d1f; font-weight: 500; border: 1px solid rgba(0,0,0,.12); font-size: 13px; filter: none; }
.mock .btn.blue { background: #0a84ff; color: #fff; border-color: #0a84ff; }
.alert { max-width: 300px; text-align: center; padding: 22px 20px 18px; border-radius: 18px; background: #ececee; }
.alert img { width: 64px; height: 64px; }
.alert h4 { margin: 10px 0 6px; font-size: 14px; }
.alert p { font-size: 12px; color: #444; margin: 0 0 14px; }
.alert .btn { display: block; margin: 7px 0 0; padding: 7px; border-radius: 9px; }
.side { display: flex; }
.side .nav { width: 150px; background: #e6e6e9; padding: 12px 8px; font-size: 13px; color: #333; }
.side .nav div { padding: 6px 10px; border-radius: 7px; }
.side .nav .on { background: #0a84ff; color: #fff; }
.side .main { flex: 1; padding: 16px; }
.dock { display: flex; gap: 10px; justify-content: center; padding: 10px 14px; margin: 18px auto 4px; width: max-content; max-width: 100%;
  background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.dock span { width: 46px; height: 46px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 26px; background: #fff; }
@media (prefers-color-scheme: dark) { .step .warn { background: rgba(255,159,10,.18); } }
