:root {
  --bg: #fbfaff;
  --bg-alt: #f2f0fa;
  --surface: #ffffff;
  --text: #1b1a22;
  --muted: #5d5a6b;
  --line: #e3e0ee;
  --accent: #5b4fc4;
  --accent-ink: #ffffff;
  --accent-soft: #e8e4ff;
  --star: #6a5cd6;
  --shadow: 0 1px 2px rgba(30, 20, 80, .06), 0 12px 32px rgba(30, 20, 80, .10);
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111015;
    --bg-alt: #18171f;
    --surface: #1d1c25;
    --text: #ece9f5;
    --muted: #a7a3b8;
    --line: #2d2b38;
    --accent: #b9afff;
    --accent-ink: #1d1660;
    --accent-soft: #2b2650;
    --star: #cfc7ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111015;
  --bg-alt: #18171f;
  --surface: #1d1c25;
  --text: #ece9f5;
  --muted: #a7a3b8;
  --line: #2d2b38;
  --accent: #b9afff;
  --accent-ink: #1d1660;
  --accent-soft: #2b2650;
  --star: #cfc7ff;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
:lang(zh-Hans) body, body:lang(zh-Hans) { line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
code { font: .86em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 6px; padding: .08em .35em; overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -.03em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 650; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; font-size: 1.05rem; white-space: nowrap; }
.mark { width: 30px; height: 30px; flex: none; }
.mark-bg { fill: var(--accent-soft); }
.mark-star { fill: var(--star); }
.nav-desktop { display: none; gap: 4px; margin-left: auto; }
.nav-desktop a, .nav-mobile nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: .95rem; }
.nav-desktop a:hover, .nav-mobile nav a:hover { color: var(--text); background: var(--bg-alt); }
.nav-desktop a[aria-current], .nav-mobile nav a[aria-current] { color: var(--text); background: var(--accent-soft); }
.header-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
@media (min-width: 900px) { .nav-desktop { display: flex; } .header-tools { margin-left: 8px; } .nav-mobile { display: none; } }
.lang { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; }
.lang:hover { color: var(--text); }
.theme-btn { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.theme-btn:hover { color: var(--text); }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-moon { fill: currentColor; stroke: none; }
.ico-sun { display: none; }
:root[data-theme="dark"] .ico-sun { display: block; }
:root[data-theme="dark"] .ico-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ico-sun { display: block; }
  :root:not([data-theme="light"]) .ico-moon { display: none; }
}
.nav-mobile { position: relative; }
.nav-mobile summary { list-style: none; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-content: center; gap: 4px; cursor: pointer; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary span { display: block; width: 16px; height: 2px; background: var(--text); border-radius: 2px; }
.nav-mobile nav { position: absolute; right: 0; top: 46px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; min-width: 200px; }

/* Hero */
.hero { padding: 48px 0 24px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 72px 0 40px; } .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 650; color: var(--accent); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.note { color: var(--muted); font-size: .92rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text); background: var(--surface); text-decoration: none; font-weight: 600; }
.btn:hover { border-color: var(--accent); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.hero-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: center; max-width: 640px; margin: 0 auto; }
.hero-shots .shot { margin: 0; }
.hero-shots .tilt-l, .hero-shots .tilt-r { transform: scale(.9); opacity: .96; }
.hero-shots .front { z-index: 1; transform: translateY(-14px); }

/* Screenshot frame (real screenshots, rounded like the phone's display) */
.shot { margin: 0; }
.shot img { border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #111; }
.shot figcaption { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 10px; }
.shot.narrow { max-width: 260px; margin: 0 auto; }

/* Sections */
.section { padding: 56px 16px; }
@media (min-width: 720px) { .section { padding: 72px 32px; } }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head p { color: var(--muted); }
.band { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; margin: 24px 0; }
.pillars, .rules { display: grid; gap: 24px; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } .rules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .rules { grid-template-columns: repeat(4, 1fr); } }
.pillar h2 { font-size: 1.2rem; }
.pillar p, .rule p { color: var(--muted); margin: 0; }
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(4, 1fr); } .cards.static { grid-template-columns: repeat(3, 1fr); } .cards.conn { grid-template-columns: repeat(4, 1fr); } }
.card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; } }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { padding-left: 28px; position: relative; margin: 6px 0; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.link { font-weight: 600; text-decoration: none; }

/* Page hero & features */
.page-hero { padding-top: 48px; padding-bottom: 16px; }
@media (min-width: 720px) { .page-hero { padding-top: 72px; } }
.page-hero.center { text-align: center; padding-bottom: 96px; }
.page-hero.center .lead { margin: 0 auto; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.toc a { text-decoration: none; color: var(--text); border: 1px solid var(--line); background: var(--surface); padding: 6px 14px; border-radius: 999px; font-size: .9rem; }
.toc a:hover { border-color: var(--accent); }
.feature { display: grid; gap: 32px; align-items: center; padding-top: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1.1fr; gap: 56px; padding-top: 64px; padding-bottom: 64px; }
  .feature.reverse .feature-copy { order: 2; }
  .feature.text-only { grid-template-columns: 1fr; }
  .feature.text-only .feature-copy { max-width: 760px; }
}
.feature-copy ul { padding-left: 1.2em; color: var(--muted); }
.feature-copy li { margin: 6px 0; }
.feature-copy p { color: var(--muted); }
.feature-copy h2 { color: var(--text); }
.feature-shots { display: grid; gap: 16px; }
.feature-shots.one { max-width: 300px; margin: 0 auto; width: 100%; }
.feature-shots.two { grid-template-columns: repeat(2, 1fr); max-width: 560px; margin: 0 auto; width: 100%; }
.feature-shots.three { grid-template-columns: repeat(3, 1fr); max-width: 640px; margin: 0 auto; width: 100%; }
.feature-shots.widget { max-width: 420px; margin: 0 auto; width: 100%; }
.feature-shots.widget .shot img { border-radius: 28px; background: transparent; }
.feature-shots.drawer { margin-top: 40px; }

/* Steps */
.steps { padding-left: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 48px; margin: 0 0 18px; color: var(--muted); }
.steps li strong { color: var(--text); display: block; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 999px; background: var(--accent-soft); color: var(--text); display: grid; place-items: center; font-weight: 700; }
.narrow-text { max-width: 820px; }

/* Legal */
.legal { max-width: 860px; padding-top: 48px; padding-bottom: 80px; }
.legal h2 { margin-top: 2.2em; font-size: 1.4rem; }
.legal h3 { margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 6px 0; }
.meta { color: var(--muted); }
.summary { background: var(--accent-soft); border-radius: var(--radius); padding: 20px 24px; margin: 28px 0; }
.summary h2 { margin-top: 0; font-size: 1.15rem; }
.summary ul { margin: 0; }
.limited-use { border-left: 4px solid var(--accent); background: var(--bg-alt); padding: 16px 20px; border-radius: 0 12px 12px 0; font-weight: 500; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin: 16px 0 20px; background: var(--surface); }
table.scopes { border-collapse: collapse; width: 100%; font-size: .9rem; min-width: 640px; }
table.scopes th, table.scopes td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.scopes thead th { background: var(--bg-alt); font-weight: 600; }
table.scopes tbody tr:last-child > * { border-bottom: 0; }
table.scopes code { font-size: .78rem; white-space: nowrap; }
@media (max-width: 720px) { table.scopes code { white-space: normal; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 4px 20px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
.faq details p { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 48px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 800px) { .footer-brand { grid-column: auto; } }
.footer-brand p { color: var(--muted); margin-top: 10px; max-width: 34ch; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer li a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.site-footer li a:hover { color: var(--accent); }
.fine { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.fine p { margin: 0 0 6px; max-width: 110ch; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
