:root {
  --bg: #F6F3EE; --card: #FFFFFF; --ink: #1B1F26; --muted: #6B7280; --line: rgba(0, 0, 0, .10); --accent: #B86E0E;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #10151C; --card: #1A2029; --ink: #EEF0F3; --muted: #9AA3AF; --line: rgba(255, 255, 255, .12); --accent: #F5AA42; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
}
/* 两种语言都写在页面里；site.js 按语言藏掉另一种（没有脚本时两种都显示） */
html[data-show="zh"] [data-lang="en"], html[data-show="en"] [data-lang="zh"] { display: none; }
[hidden] { display: none !important; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; gap: 12px; padding: 20px 0; }
header.top img { width: 36px; height: 36px; border-radius: 8px; }
header.top .name { font-weight: 600; color: var(--ink); text-decoration: none; margin-right: auto; }
header.top a.switch { font-size: 14px; color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; }

h1 { font-size: 28px; line-height: 1.3; margin: 24px 0 4px; }
h2 { font-size: 19px; line-height: 1.4; margin: 36px 0 8px; }
h3 { font-size: 16px; margin: 20px 0 4px; }
p, ul { margin: 8px 0; }
ul { padding-left: 22px; }
li { margin: 6px 0; }
a { color: var(--accent); }
.muted { color: var(--muted); font-size: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 500; white-space: nowrap; }
.scroll { overflow-x: auto; }

.hero { text-align: center; padding: 48px 0 24px; }
.hero img { width: 112px; height: 112px; border-radius: 25px; }
.hero h1 { font-size: 34px; margin: 20px 0 6px; }
.hero .tag { font-size: 18px; color: var(--muted); margin: 0 0 20px; }
.hero .lead { max-width: 560px; margin: 0 auto 28px; }
.btn { display: inline-block; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; border-radius: 999px; padding: 10px 26px; }
.soon { display: inline-block; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 8px 22px; }

footer { margin: 56px 0 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); text-align: center; }
footer a { color: var(--muted); text-decoration: none; margin: 0 8px; white-space: nowrap; }
footer a:hover { text-decoration: underline; }
footer .filing { margin-top: 8px; }

/* 应用展示 */
.badge { display: inline-block; line-height: 0; }
.badge img { height: 40px; width: auto; display: block; }
.showcase { text-align: center; padding: 8px 0 0; }
.showcase h2 { margin: 28px 0 4px; }
.showcase .sub { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.phone { position: relative; width: min(260px, 70vw); margin: 0 auto; border: 8px solid #0B0E13; border-radius: 38px; background: #0B0E13; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.phone .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.phone .track::-webkit-scrollbar { display: none; }
.phone .track img { flex: 0 0 100%; width: 100%; display: block; scroll-snap-align: center; aspect-ratio: 1320 / 2868; object-fit: cover; }
.carousel-ctl { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 14px 0 0; }
.dots { display: flex; gap: 8px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; }
.dots button.on { background: var(--accent); }
.ctl { font: inherit; font-size: 13px; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 2px 14px; cursor: pointer; }
.demo-video { display: block; width: 100%; height: auto; aspect-ratio: 480 / 854; background: #0B0E13; }
.phone.video { width: min(220px, 62vw); }

@media (max-width: 600px) { .wrap { padding: 0 16px; } }
