/* ==========================================================================
   长卷 · 官网样式（2026-11-04 第四版：纯白收敛）
   撤回上一版自作主张加的松绿体系与四层彩色柔光：对照图的首屏是
   纯白底 + 纯黑标题 + 一个黑色胶囊按钮，颜色只出现在必要的链接与小标记上。
   首页只有 4 个板块。所有页面复用这一份样式。
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-2: #f5f6f7;
  --surface: #ffffff;
  --ink: #111418;
  --ink-2: #5b636b;
  --ink-3: #949ba3;
  --line: #e7e9ec;
  --accent: #2c8b72;
  --accent-ink: #1d6b57;
  --tint: #f1f3f4;
  --shadow: 0 1px 2px rgba(17, 20, 24, .04), 0 22px 60px rgba(17, 20, 24, .09);
  --radius: 18px;
  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang SC",
          "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
          "Source Han Sans SC", "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101214;
    --bg-2: #181b1e;
    --surface: #1a1d20;
    --ink: #f2f4f5;
    --ink-2: #a8aeb4;
    --ink-3: #727980;
    --line: #2b2f33;
    --accent: #6fd3ae;
    --accent-ink: #8fe0c2;
    --tint: #22262a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .36), 0 22px 60px rgba(0, 0, 0, .38);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font: 16px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 650; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
code, .kbd {
  font-family: var(--mono); font-size: .86em;
  background-color: var(--bg-2); border: 1px solid var(--line);
  border-radius: 6px; padding: 1px 5px;
}

.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.wrap.narrow { width: min(820px, calc(100% - 48px)); }
#site[hidden] { display: none !important; }
section { padding: 120px 0; }

/* ---------- 共用零件 ---------- */
.eyebrow {
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); font-weight: 650; margin-bottom: 14px;
}
.sec-title { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.035em; margin-bottom: 14px; }
.sec-sub { color: var(--ink-2); font-size: 17px; max-width: 62ch; }
.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-sub { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 27px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); cursor: pointer;
  background-color: var(--ink); color: var(--bg);
  box-shadow: 0 10px 28px rgba(17, 20, 24, .16);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s, box-shadow .28s;
}
.btn:hover {
  text-decoration: none; transform: translateY(-2px); opacity: .9;
  box-shadow: 0 16px 36px rgba(17, 20, 24, .20);
}
.btn.ghost { background-color: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { background-color: var(--bg-2); opacity: 1; box-shadow: none; }
.btn.text { background-color: transparent; color: var(--accent); padding-left: 8px; padding-right: 8px; box-shadow: none; }
.btn.sm { padding: 9px 18px; font-size: 13.5px; }
.btn.lg { padding: 16px 32px; font-size: 16px; }
.btn[disabled], .btn.off {
  background-color: var(--bg-2); color: var(--ink-3); border-color: var(--line);
  cursor: not-allowed; transform: none; opacity: 1; box-shadow: none;
}

.note {
  background-color: var(--tint);
  border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 20px; color: var(--ink-2); font-size: 14px;
}
.note b { color: var(--ink); }

/* ---------- 顶栏 ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  /* 顶栏磨砂：滚动时内容从底下极淡地透上来 */
  background-color: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
}
.top-in { height: 64px; display: flex; align-items: center; gap: 20px; }
.brand {
  display: flex; align-items: center; gap: 10px; color: var(--ink);
  font-weight: 650; font-size: 17px; letter-spacing: -.02em; flex: none;
  /* 羽毛菌点名要的：鼠标悬浮时整块 logo 抬起来 */
  transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}
.brand:hover { text-decoration: none; transform: translateY(-3px); }
.brand img {
  width: 30px; height: 30px; border-radius: 9px; display: block;
  transition: box-shadow .32s, transform .32s cubic-bezier(.2, .8, .2, 1);
}
.brand:hover img {
  transform: scale(1.05);
  box-shadow: 0 10px 24px rgba(17, 20, 24, .18);
}
.brand small { display: block; font-size: 10px; font-weight: 400; color: var(--ink-3); letter-spacing: .02em; line-height: 1.25; margin-top: 1px; }
.nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink-2); font-size: 13.5px; white-space: nowrap; }
.nav a:hover { color: var(--accent); text-decoration: none; }
/* ⚠ 当前页高亮不能套到黑色胶囊按钮上：.nav a.on 的特异性比
   .nav .btn-nav 高，会把白字改成近黑，变成黑底黑字（下载页实测过）。 */
.nav a.on:not(.btn-nav) { color: var(--accent); font-weight: 650; }
/* 获取：照 App Store 那颗——比默认胶囊更长更扁，字竖着居中 */
.nav .btn-nav {
  background-color: var(--ink); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 86px; height: 30px; padding: 0 24px;
  border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1;
  margin-left: 4px;
}
.nav .btn-nav:hover { text-decoration: none; opacity: .85; color: var(--bg); }
.nav-toggle { display: none; }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; padding: 74px 0 0; text-align: center; overflow: hidden; background-color: var(--bg); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(42px, 6vw, 76px); line-height: 1.13;
  letter-spacing: -.045em; font-weight: 680; margin: 12px 0 16px;
}
/* 两行都是纯黑实心字：对照图的标题没有任何彩色渐变 */
.hero h1 .soft { color: var(--ink); }
.hero .lead { font-size: 17.5px; line-height: 1.75; color: var(--ink-2); max-width: 760px; margin: 0 auto; }
.hero-actions { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 28px 0 0; }

/* ---------- 空白软件视窗（纯骨架，几乎不写字） ---------- */
.stage-window { margin: 46px auto 0; padding-bottom: 104px; position: relative; z-index: 1; }
figure { margin: 0; }
.mock {
  max-width: 1040px; margin: 0 auto;
  background-color: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; text-align: left;
  box-shadow: 0 42px 96px rgba(17, 20, 24, .13), 0 2px 8px rgba(17, 20, 24, .05);
}
.mock-bar {
  height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background-color: var(--tint);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background-color: #ff5f57; }
.dots i:nth-child(2) { background-color: #febc2e; }
.dots i:nth-child(3) { background-color: #28c840; }
.mock-title { flex: 1; text-align: center; font-size: 11px; color: var(--ink-3); letter-spacing: .1em; }
.mock-bar .sp { width: 46px; }
.mock-body { display: grid; grid-template-columns: 148px .95fr 1.15fr 152px; min-height: 316px; }
.mock-pane { border-right: 1px solid var(--line); padding: 24px 18px; min-width: 0; }
.mock-pane:last-child { border-right: 0; }
/* 极淡占位块：只留软件骨架，不写假对话、假文件名。
   羽毛菌原话「workbuddy 是纯净的页面，为什么我们的是有字的呢」 */
.ghost {
  height: 9px; border-radius: 6px; margin: 16px 0;
  background-color: color-mix(in srgb, var(--ink) 5%, transparent);
}
.ghost.lg { width: 88%; height: 12px; }
.ghost.md { width: 70%; }
.ghost.sm { width: 52%; }
.ghost.xs { width: 34%; }
.ghost.title { width: 46%; height: 15px; margin: 4px 0 30px; }
.ghost.block { width: 84%; height: 64px; border-radius: 12px; margin: 8px 0 0; }
.ghost.block.two { width: 62%; height: 42px; margin-top: 18px; }
.ghost.circle { width: 34px; height: 34px; border-radius: 50%; margin: 4px 0 28px; }
.line { height: 8px; border-radius: 4px; background-color: color-mix(in srgb, var(--ink) 5%, transparent); margin: 14px 0; }
.line.w95 { width: 95%; } .line.w88 { width: 88%; } .line.w70 { width: 70%; }
.line.w60 { width: 60%; } .line.w40 { width: 40%; }
.mock-input {
  border-top: 1px solid var(--line); padding: 13px 16px;
  display: flex; align-items: center; gap: 10px; background-color: var(--surface);
}
.mock-input .ghost.input {
  flex: 1; height: 34px; border-radius: 999px; margin: 0;
  background-color: color-mix(in srgb, var(--ink) 4%, transparent);
}
.send {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background-color: var(--ink); position: relative;
}
.send::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-bottom: 6px solid var(--bg);
}
.stage-window figcaption { text-align: center; color: var(--ink-3); font-size: 12.5px; margin-top: 18px; }
/* 第五版：产品视窗换成真机截图，图自带窗口边框，不再需要画出来的 mac 标题栏 */
/* 第六版：截图四角做了 alpha 圆角，外层不能再留 1px 直边框——否则角上会露出直角线 */
.mock.real-shot { border: 0; background-color: transparent; }
.mock.real-shot img { display: block; width: 100%; height: auto; border-radius: 18px; }

/* ---------- 三条事实（细线，放在能力页） ---------- */
.facts { border-top: 1px solid var(--line); }
.fact {
  display: grid; grid-template-columns: 110px 1fr 1.15fr; gap: 32px;
  align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--line);
}
.fact .num { font-size: 12px; letter-spacing: .14em; color: var(--accent); font-variant-numeric: tabular-nums; }
.fact h3 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.025em; margin: 0; }
.fact p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

/* ---------- 场景演示（中性浅底，不再铺彩色柔光） ---------- */
.scene-stage {
  position: relative; overflow: hidden; margin-top: 54px; padding: 44px 40px 46px;
  border-radius: 30px;
  background-color: var(--tint);
  border: 1px solid var(--line);
}
.scene-stage > * { position: relative; z-index: 1; }
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0 0 24px; }
.tab {
  font: 500 13.5px/1 var(--font); cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--surface);
  color: var(--ink-2); padding: 9px 21px;
  transition: background-color .22s, color .22s, border-color .22s, transform .22s;
}
.tab:hover { border-color: var(--accent); transform: translateY(-2px); }
.tab[aria-selected="true"] { background-color: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 650; }
.prompt-demo {
  max-width: 860px; margin: 0 auto;
  background-color: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px 22px 16px;
  box-shadow: 0 0 0 5px rgba(17, 20, 24, .03),
              0 26px 60px rgba(17, 20, 24, .10);
}
.prompt-demo .say { font-size: 16.5px; line-height: 1.65; min-height: 54px; color: var(--ink); }
.prompt-demo .caret {
  display: inline-block; width: 1.5px; height: 1em; background-color: var(--accent);
  vertical-align: -.15em; margin-left: 3px; animation: blink 1.2s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.prompt-demo .foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
}
.prompt-demo .chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  font-size: 10px; border: 1px solid var(--line);
  border-radius: 6px; padding: 3px 7px; color: var(--ink-2);
  background-color: var(--surface); white-space: nowrap;
}
.prompt-demo .send { background-color: var(--ink); }
.demo-result {
  max-width: 860px; margin: 14px auto 0;
  background-color: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 12px; padding: 14px 20px; color: var(--ink-2); font-size: 13.5px;
}
.demo-result b { color: var(--ink); font-weight: 600; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border-top: 1px solid var(--line); }
.flow > div { padding: 22px 20px; border-right: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.flow > div:last-child { border-right: 0; }
.flow .k { display: block; color: var(--accent); font-size: 10.5px; letter-spacing: .14em; margin-bottom: 8px; }
.flow b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; letter-spacing: -.01em; }

/* ---------- 场景卡 / 通用卡 ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 27px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile .k { font-size: 10.5px; letter-spacing: .16em; color: var(--accent); text-transform: uppercase; }
.tile h3 { font-size: 24px; letter-spacing: -.025em; margin: 15px 0 10px; }
.tile p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 20px; }
.tile a.more { font-size: 13.5px; font-weight: 600; }

/* ---------- 收尾下载（第 4 个也是最后一个板块） ---------- */
/* 第六版：改成左对齐、标题加大、去掉大按钮，平台改成图标——悬浮图标变下载按钮 */
.cta {
  text-align: center; padding: 112px 0; border-top: 1px solid var(--line);
  background-color: var(--bg-2);
  scroll-margin-top: 72px;
}
.cta h2 {
  font-size: clamp(40px, 6.2vw, 78px); line-height: 1.06;
  letter-spacing: -.045em; margin-bottom: 40px;
}
.cta p { color: var(--ink-2); font-size: 17px; max-width: 52ch; margin: 0 0 38px; }
.cta .meta { font-size: 12.5px; color: var(--ink-3); margin-top: 18px; }
/* 胶囊：黑底白字（对照图标注）。
   ⚠ 用 .cta .pill 而不是 .pill-dark：.pill 定义在后面，同优先级会被它盖掉。 */
.cta .pill { background-color: var(--ink); color: var(--bg); }

/* 平台：桌面端 / 移动端两组，图标悬浮后整块变成下载按钮 */
.cta-platforms { display: flex; gap: 72px; justify-content: center; flex-wrap: wrap; margin-top: 0; }
.plat-group { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.plat-label {
  font-size: 12px; letter-spacing: .12em; color: var(--ink-3);
  font-weight: 650;
}
.plat-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.plat-icon {
  position: relative; display: block; width: 176px; height: 122px;
  border: 1px solid var(--line); border-radius: 20px;
  background-color: var(--surface); color: var(--ink);
  font: inherit; cursor: pointer; text-decoration: none;
  overflow: hidden;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.plat-icon:hover {
  text-decoration: none; border-color: var(--ink-3);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -12px rgba(17, 20, 24, .24);
}
.plat-face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transition: opacity .18s var(--ease, ease);
}
.plat-face svg {
  width: 26px; height: 26px; fill: none; stroke: currentColor;
  stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 4px;
}
.plat-face svg.ico-fill rect { fill: currentColor; stroke: none; }
.plat-face b { font-size: 15px; font-weight: 650; letter-spacing: -.015em; }
.plat-face small { font-size: 11.5px; color: var(--ink-3); }
.plat-dl {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 14.5px; font-weight: 650; color: var(--ink);
  opacity: 0; transition: opacity .18s var(--ease, ease);
}
.plat-icon:hover .plat-face { opacity: 0; }
.plat-icon:hover .plat-dl { opacity: 1; }
.plat-icon.off { opacity: .55; }
.plat-icon.off:hover { opacity: .8; transform: none; box-shadow: none; }

/* 旧版文字胶囊（其他页可能还有） */
.plat-chip {
  font: inherit; font-size: 12.5px; cursor: pointer; line-height: 1.4;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background-color: var(--surface); color: var(--ink-2);
  text-decoration: none;
  transition: border-color .22s, color .22s, transform .22s;
}
.plat-chip:hover { text-decoration: none; border-color: var(--ink-3); transform: translateY(-2px); }
.plat-chip.current { color: var(--ink); border-color: var(--ink-3); }
.plat-chip.off { opacity: .55; background-color: transparent; }
.plat-chip.off:hover { transform: none; }

/* ---------- 子页页头与内容 ---------- */
.page-head { padding: 88px 0 52px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(36px, 5.2vw, 62px); letter-spacing: -.04em; margin: 12px 0 16px; }
.page-head p { color: var(--ink-2); font-size: 17px; max-width: 64ch; margin: 0; }
.page-body { padding: 64px 0 110px; }
.subhead { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 650; margin: 54px 0 18px; }
.subhead:first-child { margin-top: 0; }

.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.feat-row { padding: 24px 0; border-bottom: 1px solid var(--line); }
.feat-row .n { display: block; font-size: 10.5px; letter-spacing: .14em; color: var(--accent); margin-bottom: 8px; }
.feat-row h3 { font-size: 17.5px; margin: 0 0 7px; }
.feat-row p { color: var(--ink-2); font-size: 14.5px; margin: 0; }

.timeline { counter-reset: st; list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 34px 58px; border-left: 1px solid var(--line); margin-left: 13px; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  counter-increment: st; content: counter(st, decimal-leading-zero);
  position: absolute; left: -14px; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background-color: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 10.5px; color: var(--accent); font-weight: 650;
}
.timeline h3 { font-size: 19px; margin: 1px 0 9px; }
.timeline p { color: var(--ink-2); font-size: 15px; margin: 0 0 7px; }
.timeline ul { margin: 8px 0 0; padding-left: 19px; color: var(--ink-2); font-size: 14.5px; }

/* ---------- 折叠 ---------- */
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary {
  cursor: pointer; list-style: none; position: relative; padding: 20px 36px 20px 0;
  font-size: 17px; font-weight: 600; letter-spacing: -.01em;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-size: 21px; font-weight: 400;
}
details.faq[open] summary::after { content: "−"; }
details.faq .body { padding: 0 0 22px; color: var(--ink-2); font-size: 15px; }
details.faq .body p { margin: 0 0 12px; }
details.faq .body p:last-child { margin-bottom: 0; }
details.faq .body b { color: var(--ink); }

/* ---------- 更新日志 ---------- */
.log-item { display: grid; grid-template-columns: 150px 1fr; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.log-ver b { font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.log-ver small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 5px; }
.log-body ul { margin: 0; padding-left: 19px; color: var(--ink-2); font-size: 15px; }
.log-body li { margin-bottom: 7px; }
.log-body .new { color: var(--ink); font-weight: 600; }
details.log-more { margin-top: 26px; }
details.log-more summary {
  cursor: pointer; list-style: none; padding: 15px 0; color: var(--accent);
  font-size: 14.5px; font-weight: 600;
}
details.log-more summary::-webkit-details-marker { display: none; }
details.log-more[open] summary { margin-bottom: 8px; }

/* ---------- 下载卡 ---------- */
.dl-card {
  background-color: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; padding: 52px 44px; text-align: center; box-shadow: var(--shadow);
}
.dl-card h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.035em; margin-bottom: 10px; }
.dl-card .meta { color: var(--ink-2); font-size: 14.5px; margin-bottom: 28px; }
.dl-card .btn { margin-bottom: 12px; }
.dl-card .hint { min-height: 20px; font-size: 12.5px; color: var(--ink-3); }
.dl-steps { display: grid; gap: 12px; margin-top: 36px; text-align: left; font-size: 14.5px; color: var(--ink-2); }
.dl-steps div { display: flex; gap: 12px; align-items: baseline; }
.dl-steps b { color: var(--accent); font-size: 12px; letter-spacing: .1em; flex: none; }

/* ---------- 页脚 ---------- */
/* ---------- 协议正文 ---------- */
/* ⚠ 不要再画一条分隔线：page-head 已经有 border-bottom，两条线中间夹一段空白很难看 */
.legal-meta {
  color: var(--ink-3); font-size: 13px; line-height: 1.9;
  margin: 0 0 28px;
}
.legal h2 { font-size: 20px; letter-spacing: -.02em; margin: 36px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); font-size: 15px; line-height: 1.85; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal .note { color: var(--ink-3); font-size: 13px; margin-top: 32px; }

/* 页脚：品牌 + 三列链接（照对照图的结构，配色仍走浅色） */
footer { border-top: 1px solid var(--line); padding: 64px 0 36px; color: var(--ink-3); font-size: 12.5px; }
.foot-top { display: flex; gap: 72px; justify-content: space-between; flex-wrap: wrap; }
.foot-brand { max-width: 360px; }
.foot-logo {
  font-size: 26px; font-weight: 700; letter-spacing: -.03em;
  color: var(--ink); margin-bottom: 12px; line-height: 1;
}
.foot-brand p { margin: 0; color: var(--ink-3); font-size: 13px; line-height: 1.75; }
.foot-cols { display: flex; gap: 62px; flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 9px; min-width: 78px; }
.foot-col h4 {
  margin: 0 0 3px; font-size: 12.5px; font-weight: 650;
  color: var(--ink); letter-spacing: 0;
}
.foot-col a { color: var(--ink-3); font-size: 12.5px; }
.foot-col a:hover { color: var(--accent); text-decoration: none; }
.foot-bottom {
  margin-top: 46px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- 密码门 ---------- */
.gate {
  position: fixed; inset: 0; z-index: 100; background-color: var(--bg);
  display: grid; place-items: center; padding: 24px;
}
.gate[hidden] { display: none; }
.gate-box { width: min(400px, 100%); text-align: center; position: relative; z-index: 1; }
.gate-box img { width: 54px; height: 54px; border-radius: 15px; display: block; margin: 0 auto 20px; }
/* ⚠ 密码门不能用 h1：它在 body 最前面，会抢走页面唯一的主标题 */
.gate-box .gate-name { font-size: 28px; font-weight: 650; letter-spacing: -.03em; color: var(--ink); margin: 0 0 8px; }
.gate-box p { color: var(--ink-2); font-size: 14px; margin-bottom: 24px; }
.pin-row { display: flex; gap: 8px; justify-content: center; margin-bottom: 14px; }
.pin {
  width: 46px; height: 56px; text-align: center;
  font: 600 22px/1 var(--mono); color: var(--ink);
  background-color: var(--surface); border: 1px solid var(--line); border-radius: 11px;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.pin:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(17, 20, 24, .10); }
.gate.shake .pin-row { animation: shake .32s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-9px); }
  50% { transform: translateX(8px); }
  80% { transform: translateX(-4px); }
}
.gate-msg { min-height: 22px; font-size: 13.5px; color: #d0645c; }
.gate-hint { font-size: 12.5px; color: var(--ink-3); margin-top: 16px; }
.gate-foot { font-size: 12.5px; color: var(--ink-3); margin-top: 26px; }

/* ==========================================================================
   入场动画
   ⚠ 用 translate / scale 这些**独立变换属性**，不碰 transform：
      .tile:hover、.platform:hover、.brand:hover 用的是 transform，若 reveal 也写
      transform，.in 的「transform:none」特异性更高，会把 hover 位移整条压死。
   ⚠ 只有 <html class="js-anim"> 时才隐藏。这个类由 <head> 里的内联脚本尽早加上，
      JS 没跑（或密码门没通过）时内容照常可见，绝不会出现白屏。
   ========================================================================== */
html.js-anim [data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition:
    opacity .78s cubic-bezier(.22, .8, .24, 1) var(--d, 0ms),
    translate .88s cubic-bezier(.22, .8, .24, 1) var(--d, 0ms);
}
html.js-anim [data-reveal].in { opacity: 1; translate: 0 0; }
html.js-anim [data-reveal="nav"] { translate: 0 -16px; }
html.js-anim [data-reveal="stage"] {
  translate: 0 66px; scale: .965;
  transform: perspective(1300px) rotateX(7deg);
  transition:
    opacity .9s cubic-bezier(.22, .8, .24, 1) var(--d, 0ms),
    translate 1.05s cubic-bezier(.22, .8, .24, 1) var(--d, 0ms),
    scale 1.05s cubic-bezier(.22, .8, .24, 1) var(--d, 0ms),
    transform 1.05s cubic-bezier(.22, .8, .24, 1) var(--d, 0ms);
}
html.js-anim [data-reveal="stage"].in { scale: 1; transform: none; }

/* 切场景 / 切截图时内容轻微上浮淡入：持续动效只留内容切换，不再有背景光晕呼吸 */
.prompt-demo.swap, .shot-frame.swap { animation: swapIn .45s cubic-bezier(.22, .8, .24, 1); }
@keyframes swapIn {
  from { opacity: .42; translate: 0 10px; }
  to   { opacity: 1;   translate: 0 0; }
}

/* ---------- 大字场景段 ---------- */
.center { text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 24px;
  background-color: var(--tint);
  color: var(--ink-2); font-size: 13px; font-weight: 650;
}
.pill span { color: color-mix(in srgb, var(--accent-ink) 62%, var(--ink-3)); font-size: 10.5px; letter-spacing: .16em; font-weight: 600; }
.giant {
  font-size: clamp(46px, 8.6vw, 104px); line-height: 1.08;
  letter-spacing: -.055em; font-weight: 680; margin: 0 0 22px;
}
.scenes { padding: 128px 0 108px; text-align: center; }
/* 第六版：标题块从居中改成左对齐（对照图三条箭头都往左） */
.scenes-head { text-align: left; }
.scenes-head .pill { margin-bottom: 20px; }
.scenes-head .giant { margin-bottom: 20px; }
.scenes-head .sec-sub { margin: 0; max-width: 72ch; font-size: 17px; line-height: 1.8; }

/* ---------- 实机截图画廊（能力页） ---------- */
.shot-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.shot-tab {
  font: 500 13.5px/1 var(--font); cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px;
  background-color: var(--surface); color: var(--ink-2); padding: 10px 20px;
  transition: background-color .22s, color .22s, border-color .22s, transform .22s;
}
.shot-tab:hover { border-color: var(--accent); transform: translateY(-2px); }
.shot-tab[aria-selected="true"] {
  background-color: var(--ink); color: var(--bg);
  border-color: var(--ink); font-weight: 650;
}
.shot-frame {
  max-width: 1000px; margin: 0 auto; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--line); background-color: var(--surface);
  box-shadow: 0 40px 90px rgba(17, 20, 24, .13), 0 2px 8px rgba(17, 20, 24, .05);
}
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-cap { text-align: center; color: var(--ink-2); font-size: 14.5px; margin: 22px 0 4px; }
.shot-note { text-align: center; color: var(--ink-3); font-size: 12.5px; margin: 0; }

/* ---------- 隐私与安全（中性浅底，与收尾板块一致） ---------- */
.security {
  background-color: var(--bg-2);
  border-top: 1px solid var(--line);
}
/* 第六版：卡片标题带英文括注，24px 会挤成三行 → 收一档，英文单独一行小字 */
.sec-card h3 { font-size: 19px; line-height: 1.4; margin-top: 0; }
.sec-card h3 em {
  display: block; margin-top: 5px;
  font-style: normal; font-weight: 500;
  font-size: 11.5px; letter-spacing: .04em; color: var(--ink-3);
}
.sec-card .ico {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  margin-bottom: 18px; color: var(--accent);
}
.sec-card .ico svg {
  width: 32px; height: 32px; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 多端平台卡（下载页） ---------- */
.platforms { background-color: var(--bg-2); border-top: 1px solid var(--line); }
.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.platform {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 30px 16px 26px; border-radius: 16px;
  border: 1px solid var(--line);
  background-color: var(--surface); color: var(--ink); text-align: center;
  font: inherit; cursor: pointer; text-decoration: none;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, opacity .3s;
}
.platform:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); }
.platform .pico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; color: var(--ink); }
.platform .pico svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.platform.current .pico svg { fill: currentColor; stroke: none; }
.platform b { font-size: 15px; font-weight: 650; }
.platform small { color: var(--ink-3); font-size: 12px; }
.platform .badge {
  margin-top: 10px; font-size: 11px; color: var(--ink-2);
  background-color: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 10px;
}
.platform.off { opacity: .5; background-color: transparent; }
.platform.off:hover { transform: none; box-shadow: none; opacity: .78; }

/* 点击灰卡后的提示 */
.toast {
  position: fixed; left: 50%; bottom: 38px; z-index: 80;
  translate: -50% 20px; opacity: 0; pointer-events: none;
  background-color: var(--ink); color: var(--bg);
  padding: 13px 22px; border-radius: 999px; font-size: 14px; font-weight: 500;
  box-shadow: 0 16px 40px rgba(17, 20, 24, .20);
  transition: opacity .28s, translate .38s cubic-bezier(.22, .8, .24, 1);
  max-width: calc(100% - 40px); text-align: center;
}
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- 文档页零件 ---------- */
.table-wrap { overflow-x: auto; margin: 22px 0 12px; border: 1px solid var(--line); border-radius: 14px; }
.kv-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 13.5px; }
.kv-table th, .kv-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv-table th { background-color: var(--bg-2); color: var(--ink-2); font-size: 12px; letter-spacing: .06em; font-weight: 650; }
.kv-table tr:last-child td { border-bottom: 0; }
.kv-table code { font-size: 11.5px; white-space: nowrap; }
.fine { color: var(--ink-3); font-size: 12.5px; margin: 10px 0 0; }
.mini-h { font-size: 20px; margin: 40px 0 12px; letter-spacing: -.02em; }
.bullets { color: var(--ink-2); font-size: 15px; padding-left: 20px; }
.bullets li { margin-bottom: 8px; }
.bullets b { color: var(--ink); }
.jump a.tile { color: var(--ink); display: block; }
.jump a.tile:hover { text-decoration: none; }
.jump .more { display: inline-block; font-size: 13.5px; color: var(--accent); }
.doc-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 8px; }
.doc-nav a.tile { display: block; color: var(--ink); padding: 24px 22px; }
.doc-nav a.tile:hover { text-decoration: none; }
.doc-nav a.tile h3 { font-size: 18px; margin: 10px 0 6px; }
.doc-nav a.tile p { font-size: 13.5px; margin: 0; }

/* ---------- 窄屏 ---------- */
@media (max-width: 900px) {
  .mock-body { grid-template-columns: 132px 1fr 1fr; }
  .mock-pane.p4 { display: none; }
  .cards3, .doc-nav { grid-template-columns: 1fr 1fr; }
  .fact { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow > div:nth-child(2) { border-right: 0; }
  .flow > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feat-grid { grid-template-columns: 1fr; }
  .log-item { grid-template-columns: 1fr; gap: 10px; }
  section, .page-body { padding-top: 80px; padding-bottom: 80px; }
  .stage-window { padding-bottom: 80px; }
  .nav { gap: 14px; }
  .nav a { font-size: 12.5px; }
  .plat-grid { grid-template-columns: repeat(2, 1fr); }
  .scenes { padding: 96px 0 76px; }
  .scene-stage { padding: 34px 22px 36px; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 36px, 1120px); }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 2px;
    background-color: var(--bg); border-bottom: 1px solid var(--line);
    padding: 10px 22px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 9px 0; }
  .nav .btn-nav { text-align: center; margin: 8px 0 0; }
  .nav-toggle {
    display: inline-flex; margin-left: auto; align-items: center;
    padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line);
    background-color: var(--surface); color: var(--ink); font: 13px/1 var(--font); cursor: pointer;
  }
  .hero { padding-top: 72px; }
  .hero h1 { font-size: clamp(34px, 9vw, 52px); }
  .hero .lead { font-size: 16px; }
  .mock-body { grid-template-columns: 1fr 1fr; }
  .mock-pane.p1 { display: none; }
  .mock-pane.p3 { border-right: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow > div:last-child { border-bottom: 0; }
  .doc-nav { grid-template-columns: 1fr; }
  .dl-card { padding: 38px 22px; }
  .page-head { padding-top: 60px; }
  .cta { padding: 88px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* ⚠ 光关动画不够：reveal 元素初始 opacity:0 会一直藏着，必须强制显形 */
  html.js-anim [data-reveal] {
    opacity: 1 !important; translate: none !important;
    scale: none !important; transform: none !important;
  }
  .toast { transition: opacity .01s !important; }
}

@media print {
  .top, .gate, .nav-toggle { display: none; }
}
