/* 官网三页（/、/zh/、架构页）共用。整页深色。首页的插图和动效在 css/home.css。
   - 产品片（首屏），封面正中一个播放键；
   - 实时并行图（.dx）、架构页的智能体图（#arch）、全天的表、记忆整理和权限：照 App 的图在网页里画，不加框。
   在线试用（#try）是整块原型，直接能操作。字只用系统字体。 */
:root {
  --bg: #060607;
  --fg: #f5f5f7;
  --fg2: rgba(245, 245, 247, .68);
  --fg3: rgba(245, 245, 247, .44);
  --line: rgba(255, 255, 255, .1);
  --line2: rgba(255, 255, 255, .18);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
    color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, select { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
/* 中文标题只在标点处断行，不把一个词劈开 */
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- 导航 ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-stuck { background: rgba(6, 6, 7, .8); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); height: 56px; display: flex; align-items: center; gap: 28px; }
.wordmark { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.wordmark img { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a, .lang { text-decoration: none; font-size: 14px; color: var(--fg2); transition: color .2s; white-space: nowrap; }
.nav-links a:hover, .lang:hover { color: var(--fg); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 22px; border: 0; background: var(--fg); color: #0b0b0c;
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), opacity .2s; }
.btn:hover { opacity: .9; }
.btn:active { transform: scale(.97); }
.btn-sm { height: 32px; padding: 0 15px; font-size: 13px; border-radius: 16px; }
@media (max-width: 860px) { .nav-links { display: none; } .lang { margin-left: auto; } }

/* ---------- 首屏：名字、定位、一句说明、预约、产品片 ---------- */
.hero { position: relative; padding: 136px 0 0; text-align: center; overflow-x: clip; }
.hero::before { content: ""; position: absolute; left: 50%; top: 420px; width: min(1500px, 140vw); height: 1000px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(120, 150, 110, .15), rgba(80, 100, 120, .06) 55%, transparent); filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: clamp(30px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.03em; }
.brand img { width: clamp(38px, 4vw, 48px); height: auto; }
h1 { margin: 0 auto; max-width: 18ch; font-size: clamp(40px, 6vw, 78px); line-height: 1.05; font-weight: 600; letter-spacing: -.04em; text-wrap: balance; }
:lang(zh) h1 { max-width: none; letter-spacing: -.01em; line-height: 1.16; }
@media (max-width: 560px) { :lang(zh) .hero h1 { font-size: 30px; } }
.lead { margin: 26px auto 0; max-width: 38em; font-size: clamp(17px, 1.55vw, 20px); line-height: 1.6; color: var(--fg2); text-wrap: pretty; }
.k { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6em; height: 1.45em; padding: 0 .35em; margin: 0 .12em; border-radius: .3em; vertical-align: .05em;
  font-size: .82em; font-weight: 500; color: var(--fg); background: linear-gradient(#2c2c2f, #1c1c1e); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1.5px 0 #000; line-height: 1; }
.join-w { margin: 34px auto 0; max-width: 440px; }
.join { display: flex; gap: 8px; padding: 6px; border-radius: 28px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line2); }
.join input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--fg); font: inherit; font-size: 16px; padding: 0 16px; outline: none; }
.join input::placeholder { color: var(--fg3); }
.join.err { animation: shake .36s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.join-done .join { display: none; }
.join-msg { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--fg2); min-height: 1px; }
.join-msg .ok { margin-right: 6px; color: var(--fg); }
.join-msg b { color: var(--fg); font-weight: 600; }
.join .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join.busy button { opacity: .6; cursor: progress; }
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; color: var(--fg2); font-size: 14px; }
.fine { margin: 14px 0 0; font-size: 13px; color: var(--fg3); }

/* 产品片：封面是片子第 0 帧，点了才加载、才放 */
.film { position: relative; margin: 64px auto 0; width: min(1120px, calc(100vw - 2 * var(--pad))); aspect-ratio: 16 / 9; border-radius: clamp(12px, 1.4vw, 20px); overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 120px -20px rgba(0, 0, 0, .8); }
.film img, .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film video { opacity: 0; }
.film.playing video { opacity: 1; }
.film.playing .film-cover, .film.playing .film-play { display: none; }
.film-cover { cursor: pointer; }
.film-play { position: absolute; left: 50%; top: 72%; width: clamp(64px, 7vw, 92px); height: clamp(64px, 7vw, 92px); transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .92); color: #0b0b0c; box-shadow: 0 12px 40px rgba(0, 0, 0, .45); transition: transform .25s var(--ease), background .25s; }
.film-play:hover { transform: translate(-50%, -50%) scale(1.06); background: #fff; }
.film-play svg { display: block; width: 38%; height: 38%; }

/* ---------- 一段 ---------- */
.sec { padding: clamp(110px, 13vw, 170px) 0 0; }

h2 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
:lang(zh) h2 { letter-spacing: 0; line-height: 1.26; }

.center { text-align: center; }

.how { margin: 20px 0 0; font-size: 15px; line-height: 2; color: var(--fg2); }

/* 功能：字在一边、画面在另一边，隔一段换一边；画面比字宽 */

/* ---------- 智能体图：照 App「智能体」页那张图（design/v12 app.js 的 ogGraph、app.css 的 .og.dark），
   820×540 的点阵画布，节点、连线、流动的小点位置都一样；整块按宽度等比缩放（live.js 设 --k） ---------- */
.og { --a-ink: #f0f0f0; --a-2: #b0b0b0; --a-3: #7c7c7c; --a-line: rgba(255, 255, 255, .09); --a-card2: #141415; --a-node: #1f1f1f; --a-wire: #3a3a3a; --a-grid: rgba(255, 255, 255, .06);
  --k: 1; position: relative; margin: 56px auto 0; width: min(100%, 1100px); height: calc(540px * var(--k)); color: var(--a-ink); }
.og .agr { position: absolute; left: 0; top: 0; width: 820px; height: 540px; transform: scale(var(--k)); transform-origin: 0 0; border-radius: 10px; background-color: var(--a-card2);
  background-image: radial-gradient(var(--a-grid) 1px, transparent 1.2px); background-size: 16px 16px; box-shadow: 0 0 0 1px var(--a-line); font-size: 13px; line-height: 1.3; }
.og svg { position: absolute; inset: 0; }
.og .wire { fill: none; stroke: var(--a-wire); stroke-width: 1.2; }
.og .wire.hot { stroke: var(--a-ink); }
.og .wire.back { stroke-dasharray: 3 4; }
.og .pkt { fill: var(--a-ink); }
.og .lane { position: absolute; left: 14px; font-size: 11px; color: var(--a-3); letter-spacing: .06em; }
.og .lsep { position: absolute; left: 14px; right: 14px; border-top: 1px dashed var(--a-line); }
.og .nd { position: absolute; box-sizing: border-box; display: flex; flex-direction: column; gap: 3px; padding: 8px 11px; border-radius: 9px; background: var(--a-node); box-shadow: 0 0 0 1px var(--a-line); }
.og .nd small { font-size: 10.5px; color: var(--a-3); letter-spacing: .04em; }
.og .nd .nm { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.og .nd img { width: 16px; height: 16px; border-radius: 3px; flex: none; object-fit: contain; }
.og .nd img.mono { filter: invert(1); }
.og .nd .sub { font-size: 11px; color: var(--a-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.og .nd .row4 { display: flex; gap: 4px; }
.og .nd .row4.dim { opacity: .6; margin-top: 6px; }
.og .nd .jsc { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.og .nd .live { font-size: 10.5px; color: var(--a-2); }
.og .nd .nm .dt::before { content: "· "; }

/* 模型、连接：只放标志和名字，不加框 */

/* ---------- 输入法、剪贴板两段右边（左边）那一块：App 里那一页（#ime、#history）。内容和排法照原型 design/v12 的
   设置 › 通用 › 输入法、caret.js 的 openClip、ime.css 的 .imw，颜色用 App 深色那一套（app.css 的 .fa[data-look="dark"]）；
   不画窗口、不缩放，窄屏自己折行 ---------- */
.pages { --p-bg: #1e1e20; --p-ink: #f2f2f4; --p-ink2: rgba(242, 242, 244, .56); --p-ink3: rgba(242, 242, 244, .34); --p-line: rgba(255, 255, 255, .09);
  --p-box: rgba(255, 255, 255, .045); --p-boxline: rgba(255, 255, 255, .07); --p-fill: rgba(255, 255, 255, .08); --p-accent: #0a84ff; --p-ok: #32d74b;
  padding: 24px 26px 28px; border-radius: 16px; background: var(--p-bg); box-shadow: 0 0 0 1px var(--p-line), 0 40px 100px -30px rgba(0, 0, 0, .8);
  color: var(--p-ink); font-size: 13.5px; line-height: 1.35; text-align: left; }

.pages img.mono { filter: invert(1); }

.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--p-ink2); }
.st i { width: 7px; height: 7px; border-radius: 50%; background: var(--p-ok); }
.seg { display: inline-flex; padding: 2px; border-radius: 7px; background: rgba(255, 255, 255, .07); }
.seg button { min-width: 28px; height: 22px; border: 0; border-radius: 5px; background: none; color: var(--p-ink); font-size: 12.5px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #5b5b5f; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.pages .sw { flex: none; position: relative; width: 32px; height: 19px; border-radius: 10px; border: 0; cursor: pointer; background: rgba(255, 255, 255, .16); transition: background .2s; }
.pages .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: transform .2s var(--ease); }
.pages .sw[aria-checked="true"] { background: var(--p-accent); }
.pages .sw[aria-checked="true"]::after { transform: translateX(13px); }
/* 输入法：输入框里的拼音带下划线，光标那一行下面横排候选，第一个高亮（ime.css 的 .imw） */

@keyframes car { 50% { opacity: 0; } }

/* 剪贴板（⌥⌘V）：搜索、推荐、全部，三列卡片，下面一条写哪个应用、什么、几点、第几个 */

.cc { display: flex; flex-direction: column; height: 132px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--p-boxline); cursor: pointer; }
.cc.on { box-shadow: inset 0 0 0 2px var(--p-ink); }

@media (max-width: 700px) {
  .pages { padding: 20px 16px 24px; border-radius: 14px; }

}

/* ---------- 技能、记忆、隐私和工作原理的图：画 App 真有的东西（刘海卡片、SKILL.md、发给模型的记录）和流程。
   一套底：近黑的面、细边；白色是正在走的那条路，颜色只用在刘海（纯黑）和夜间（淡紫）上 ---------- */
:root { --s1: #121214; --s2: #18181b; --sl: rgba(255, 255, 255, .08); --mono: ui-monospace, "SF Mono", Menlo, monospace; }
.inv { filter: invert(1); }
.card { border-radius: 16px; background: var(--s1); box-shadow: 0 0 0 1px var(--sl), 0 30px 80px -30px rgba(0, 0, 0, .9); }
.md-path { display: flex; justify-content: space-between; gap: 12px; margin: 0; font: 12px/1.4 var(--mono); color: var(--fg3); }
.gl { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; }
img.cl { width: 18px; height: 13px; flex: none; }

/* 技能：三个周五 → 刘海里的「新技能」 */

/* 隐私：发给模型的记录，打码的地方是一块遮挡条 */

/* 权限：四档，每类操作放在它默认的那一档 */
.pb4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; }
.pc { padding: 22px 20px 24px; border-radius: 16px; background: var(--s1); box-shadow: 0 0 0 1px var(--sl); }
.pc-h { margin: 0; font-size: 18px; font-weight: 600; }
.pc-s { margin: 4px 0 18px; font-size: 13px; color: var(--fg3); }
.pc ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pc li { padding: 9px 13px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: 14px; }

@media (max-width: 1000px) {
  .pb4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {

  .pb4 { grid-template-columns: 1fr; }
}

/* ---------- 流程图（.fx）：几列胶囊和方块，列之间的线由 live.js 照 data-links 画（a.r>b.l，hot 是正在走的那条） ---------- */
.fx { position: relative; margin: 26px 0 0; padding: 30px; border-radius: 18px; background-color: var(--s1); background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.2px); background-size: 16px 16px; box-shadow: 0 0 0 1px var(--sl); }
.fx > .wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wires path { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 1.3; }
.wires path.hot { stroke: rgba(255, 255, 255, .9); stroke-dasharray: 5 6; animation: flow 1.1s linear infinite; }

@keyframes flow { to { stroke-dashoffset: -11; } }
.fx-h { margin: 0 0 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg3); }
.fx-foot { grid-column: 1 / -1; margin: 6px 0 0; font-size: 13px; color: var(--fg3); }
.af-col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.af-col > .fx-h { margin-bottom: 2px; }
.cap { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 7px 14px; border-radius: 18px; background: #1b1b1e; box-shadow: inset 0 0 0 1px var(--line2); font-size: 13px; line-height: 1.3; }
.cap img { width: 16px; height: 16px; object-fit: contain; flex: none; }
.cap kbd, .rw-h kbd { flex: none; padding: 1px 6px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line2); font: 600 11px var(--mono); color: var(--fg2); }
.cap b { display: block; font-weight: 600; }
.cap.st { flex-direction: column; align-items: flex-start; gap: 1px; border-radius: 12px; padding: 8px 14px; color: var(--fg2); }
.cap.st b { color: var(--fg); }
.cap.hot { background: #26262a; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85); }
.box { position: relative; z-index: 1; padding: 14px 16px; border-radius: 14px; background: #19191c; box-shadow: inset 0 0 0 1px var(--line2); font-size: 13px; }
.box-t { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.box-k { margin: 10px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg3); }
.box-f { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--sl); color: var(--fg); font-weight: 500; }
.box-m { margin: 0 0 10px; font: 11px var(--mono); color: var(--fg2); white-space: nowrap; }
.box-p { margin: 0; line-height: 1.55; color: var(--fg2); }
.bx { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; color: var(--fg2); }
.bx li { display: flex; align-items: center; gap: 8px; }
.x { position: relative; width: 12px; height: 12px; flex: none; }
.x::before, .x::after { content: ""; position: absolute; left: 1px; top: 5.5px; width: 10px; height: 1.3px; background: var(--fg3); transform: rotate(45deg); }
.x::after { transform: rotate(-45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.chips span { padding: 4px 9px; border-radius: 12px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--sl); font-size: 12px; color: var(--fg2); }
.chips span.hot { background: #fff; color: #000; box-shadow: none; font-weight: 600; }
.score { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.score b { font-size: 34px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.score span { font-size: 12px; color: var(--fg3); }
.br { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.br li { padding: 7px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--sl); }
.br li b { display: block; font-weight: 600; }
.br li span { font-size: 12px; color: var(--fg3); }
.br li.hot { background: #fff; color: #000; box-shadow: none; }
.br li.hot span { color: rgba(0, 0, 0, .6); }

/* 阶段之间一个箭头（Action Skill 五列、记忆三列）；回路的虚线由 live.js 画 */
.af > .af-col:not(:nth-of-type(5))::after, .mg2 > .af-col:not(:nth-of-type(3))::after { content: ""; position: absolute; top: 96px; right: -36px; width: 28px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12'%3E%3Cpath d='M0 6h25M20 1.5 25.5 6 20 10.5' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; }
.mg2 > .af-col:not(:nth-of-type(3))::after { top: 160px; right: -46px; }
/* Action Skill：五列，下面一行是回路 */
.af { display: grid; grid-template-columns: 1.05fr 1fr 1.05fr 1fr 1fr; gap: 56px 44px; align-items: start; }
.af .box.wide { grid-column: span 2; }
.af #n { grid-column: 1 / span 2; } .af #l { grid-column: 3 / span 2; } .af #x { grid-column: 5; }
/* Agent Skill：一串胶囊 */

/* 记忆：原始资料 → 提取和聚类 → 文件 */
.mg2 { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 26px 64px; align-items: start; }
.rw { position: relative; z-index: 1; padding: 10px 13px; border-radius: 12px; background: #1b1b1e; box-shadow: inset 0 0 0 1px var(--line2); font-size: 13px; }
.rw p { margin: 0; line-height: 1.45; }
.rw-h { display: flex; align-items: center; gap: 7px; margin-bottom: 4px !important; font-size: 12px; color: var(--fg3); }
.rw-h img, .rw-h .gl { width: 14px; height: 14px; object-fit: contain; }
.ths { display: flex; align-items: center; gap: 5px; }
.ths span { margin-left: 4px; font-size: 12px; color: var(--fg3); }
.th { width: 30px; height: 22px; border-radius: 4px; background: #e9e9ec; box-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.th.t { background: linear-gradient(#e9e9ec 0 30%, #fff 30%) ; background-size: 100% 100%; box-shadow: inset 0 -6px 0 -5px #d6d6da, 0 1px 2px rgba(0, 0, 0, .4); }
.th.i { background: #fff linear-gradient(90deg, transparent 60%, #e5483f 60% 80%, transparent 80%) center 70% / 100% 4px no-repeat; }
.th.d { background: linear-gradient(135deg, #3b3f5c, #6b5b95); }
.kv { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.kv li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; font-size: 13px; }
.kv span { color: var(--fg3); }
.kv b { font-weight: 500; }
.clu { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.clu li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; }
.clu .ths { grid-row: span 2; }
.clu .ths .th { width: 22px; height: 16px; margin-left: -10px; }
.clu .ths .th:first-child { margin-left: 0; }
.clu b { font-weight: 600; font-size: 13px; }
.clu em { font-style: normal; font-size: 12px; color: var(--fg3); }
.fl { position: relative; z-index: 1; padding: 11px 14px; border-radius: 12px; background: #19191c; box-shadow: inset 0 0 0 1px var(--line2); font-size: 13px; }
.fl .md-path { margin-bottom: 6px; color: var(--fg2); }
.fl p:not(.md-path) { display: flex; justify-content: space-between; gap: 10px; margin: 2px 0 0; line-height: 1.45; }
.fl em { flex: none; display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 11.5px; color: var(--fg3); }
.fl em img { width: 12px; height: 12px; }
.fl table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.fl th, .fl td { padding: 4px 0; text-align: left; border-top: 1px solid var(--sl); }
.fl th { font-weight: 500; color: var(--fg3); border-top: 0; }
.fl td:last-child, .fl th:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* 架构里的五条轨道：行是轨道，列是时刻；一列从上往下读就是一个时刻怎么走完。夜间两列淡紫底 */
.tm { margin: 26px 0 0; padding: 24px 26px 20px; border-radius: 18px; background: var(--s1); box-shadow: 0 0 0 1px var(--sl); }
.tm-g { display: grid; grid-template-columns: 88px repeat(7, minmax(0, 1fr)); }
.tm-h { padding: 6px 10px 12px 14px; border-radius: 10px 10px 0 0; transition: background .5s; }
.tm-h b { font: 600 13px var(--mono); }
.tm-l { margin: 0; display: flex; align-items: center; border-top: 1px solid rgba(255, 255, 255, .05); font-size: 12.5px; color: var(--fg3); }
.tm-c { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 58px; padding: 12px 10px 12px 14px; border-top: 1px solid rgba(255, 255, 255, .05); transition: background .5s; }
/* 一列一列依次亮起（live.js 给当前那一列加 .on） */
.tm-h.on, .tm-c.on { background: rgba(255, 255, 255, .055); }
.tm-h.night.on, .tm-c.night.on { background: rgba(120, 130, 255, .16); }
.tm-h.night, .tm-c.night { background: rgba(120, 130, 255, .07); }
.tm-c.night.last { border-radius: 0 0 10px 10px; }
.tm-h.night b { color: #c9cdff; }
.tm-t { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.4; white-space: nowrap; }
.tm-t img { width: 14px; height: 14px; object-fit: contain; flex: none; }
.tm-j { position: relative; width: 40px; height: 6px; flex: none; border-radius: 3px; background: rgba(255, 255, 255, .1); }
.tm-j i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: #fff; }
.tm-j.lo i { background: rgba(255, 255, 255, .35); }
.tm-j::after { content: ""; position: absolute; left: 35%; top: -3px; bottom: -3px; width: 1px; background: rgba(255, 255, 255, .5); }
.tm-n { font: 600 13px var(--mono); }
.tm-n.lo { color: var(--fg3); }
.tm-o { padding: 4px 10px; border-radius: 12px; background: #2a2a2e; font-size: 12.5px; line-height: 1.35; white-space: nowrap; }
.tm-o.hot { background: #fff; color: #000; box-shadow: none; font-weight: 600; }
.tm-o.mute { padding: 0; background: none; color: var(--fg3); }
.tm-th { grid-column: 1 / -1; margin: 12px 0 0; font-size: 12px; color: var(--fg3); }

@media (max-width: 1000px) {
  .af { grid-template-columns: 1fr 1fr; gap: 28px; }
  .af .box.wide, .af #n, .af #l, .af #x { grid-column: auto; }
  .af > .wires { display: none; }
  .af > .af-col::after, .mg2 > .af-col::after { display: none; }
  .mg2 { grid-template-columns: 1fr 1fr; gap: 28px; }
  .mg2 .af-col:last-of-type { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
  .tm { display: none; }

}
@media (max-width: 600px) {
  .fx { padding: 20px 16px; }
  .af, .mg2 { grid-template-columns: 1fr; }
  .mg2 .af-col:last-of-type { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .wires path.hot { animation: none; } }

/* 架构里的实时并行图：14 秒，七条轨道共用一根时间轴，长条重叠的就是同时在跑；几个关键瞬间用竖线贯穿各轨 */
.dx { margin: 26px 0 0; padding: 22px 26px 16px; border-radius: 18px; background: var(--s1); box-shadow: 0 0 0 1px var(--sl); }
/* 按 1120 宽排版，窄于这个宽度时整体等比缩小（live.js 设 --k），长条里的字不被截断 */
.dx-w { position: relative; display: grid; width: 1120px; zoom: var(--k, 1); grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: 38px repeat(8, 46px) 26px; }
.dx-gl { position: absolute; left: 112px; right: 0; top: 30px; bottom: 26px; pointer-events: none; }
.dx-gl i { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed rgba(255, 255, 255, .28); }
.dx-hd { position: relative; }
.dx-hd span { position: absolute; top: 2px; padding-left: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.dx-hd span.r1 { top: 18px; }
.dx-l { margin: 0; display: flex; align-items: center; border-top: 1px solid rgba(255, 255, 255, .05); font-size: 12.5px; color: var(--fg3); }
.dx-t { position: relative; border-top: 1px solid rgba(255, 255, 255, .05); }
.dx-t .b { position: absolute; top: 11px; height: 24px; overflow: hidden; padding: 0 7px; border-radius: 6px; font-size: 12px; line-height: 24px; white-space: nowrap; text-overflow: ellipsis; box-sizing: border-box; }
.b.you { background: rgba(255, 255, 255, .16); }
.b.gap { background: rgba(255, 255, 255, .07); color: var(--fg2); }
.b.hold { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .12) 0 5px, rgba(255, 255, 255, .04) 5px 10px); color: var(--fg2); }
.b.soft { background: rgba(255, 255, 255, .06); color: var(--fg2); }
.b.m { background: rgba(150, 160, 255, .34); color: #eef0ff; }
.b.o { background: #2a2a2e; }
/* 实时语音一直在听（细竖纹），它说话的那段叠在上面；后台的智能体用绿色 */
.b.listen { background: repeating-linear-gradient(90deg, rgba(160, 170, 255, .45) 0 2px, transparent 2px 6px); color: #dfe2ff; text-shadow: 0 0 6px #121214, 0 0 3px #121214, 0 0 2px #121214; }
.b.say { z-index: 1; padding: 0 4px; background: #8f98ff; color: #0b0b1a; font-weight: 600; text-align: center; text-overflow: clip; }
.b.ag { background: rgba(76, 215, 122, .26); color: #d6f7e1; }
.b.ag + .b.ag { margin-left: 2px; }
.b.hot { background: #fff; color: #000; font-weight: 600; }
.dx-t .pt { position: absolute; top: 18px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; }
.dx-t .pt.tick { top: 9px; width: 2px; height: 28px; margin-left: -1px; border-radius: 1px; background: #fff; }
.dx-t em { position: absolute; top: 11px; padding-left: 12px; font-style: normal; font-size: 12px; line-height: 24px; color: var(--fg2); white-space: nowrap; }
.dx-t em.lt { padding: 0 12px 0 0; transform: translateX(-100%); }
.dx-t .ky { position: absolute; top: 12px; height: 22px; margin-left: -4px; padding: 0 7px; border-radius: 6px; background: #fff; color: #000; font: 600 11.5px/22px var(--mono); }
.dx-ax { position: relative; border-top: 1px solid rgba(255, 255, 255, .05); }
.dx-ax span { position: absolute; top: 6px; transform: translateX(-50%); font: 11px var(--mono); color: var(--fg3); white-space: nowrap; }
.dx-ax span:first-child { transform: none; } .dx-ax span:last-child { transform: translateX(-100%); }
/* 播放：一根播放线从 0 走到 14 秒，长条跟着长出来，点、键帽、关键瞬间走到才亮（live.js 给 .dx 加 .play） */
.dx-ph { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(255, 255, 255, .6); opacity: 0; }
.dx.play .dx-ph { opacity: 1; }
.dx.play .dx-t [data-at], .dx.play .dx-hd [data-at] { opacity: .18; transition: opacity .3s; }
.dx.play .dx-gl i[data-at] { opacity: .3; transition: opacity .3s; }
.dx.play [data-at].seen { opacity: 1; }
@media (max-width: 1180px) {
  .tm { padding: 20px 18px 16px; }
  .tm-g { grid-template-columns: 74px repeat(7, minmax(0, 1fr)); }
  .tm-c { padding: 10px 6px 10px 10px; }
  .tm-h { padding: 6px 6px 10px 10px; }
  .tm-t img { display: none; }
  .tm-t, .tm-o { font-size: 12px; }
  .tm-o { padding: 3px 8px; }
  .tm-j { width: 28px; }
}
@media (max-width: 800px) { .dx { padding: 14px 12px 10px; } }

/* ---------- 首页：八个主动瞬间（编号、标题、动态界面，左右交替）、上下文与记忆、更多能力 ---------- */

.try-m { display: none; margin: 0 0 14px; text-align: center; font-size: 15px; color: var(--fg2); }
.foot-note { margin: 0 0 6px; font-size: 13px; color: var(--fg3); }
.foot-note + .foot-in, .foot .foot-in { margin-top: 18px; }
.arch-top { padding-top: clamp(120px, 14vw, 170px); padding-bottom: 0; }
.arch-top h1 { margin: 0; font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.03em; }

@media (max-width: 700px) {
  .try-m { display: block; }
  .try-stage .screen iframe, .try-stage .boot, .try-stage .rail { display: none; }

}

/* 在线试用：整块原型，直接能操作 */
.try-stage { position: relative; margin: 48px auto 0; width: min(1180px, calc(100vw - 2 * var(--pad)), calc((100vh - 200px) * 1.54)); min-width: min(100%, 640px); }
.screen { position: relative; aspect-ratio: 1512 / 982; border-radius: clamp(10px, 1.2vw, 18px); overflow: hidden; background: #1a1c1a url(../img/wall.jpg) center / cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 0 0 clamp(5px, .6vw, 9px) #0d0d0e, 0 0 0 calc(clamp(5px, .6vw, 9px) + 1px) rgba(255, 255, 255, .1), 0 50px 120px -20px rgba(0, 0, 0, .8); }
.screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .6s var(--ease); }
.screen.ready iframe { opacity: 1; }
/* 原型没载好之前：壁纸上一行「正在启动桌面」，20 秒还没好换成「网速慢时会多等一会儿」 */
.boot { position: absolute; left: 50%; top: 50%; z-index: 1; display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px; border-radius: 22px; transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; font-size: 14px; white-space: nowrap; transition: opacity .4s; }
.boot i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.screen.ready .boot { opacity: 0; pointer-events: none; }
.rail { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 26px auto 0; padding: 0; list-style: none; max-width: 980px; }
.rail button { height: 36px; padding: 0 15px; border-radius: 18px; border: 0; cursor: pointer; font-size: 14px; color: var(--fg2); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s; }
.rail button[aria-pressed="true"] { color: #0b0b0c; background: var(--fg); box-shadow: none; }

/* 常见问题 */
.faq { margin: 48px 0 0; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--fg2); border-bottom: 1.5px solid var(--fg2);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: -6px 0 24px; font-size: 16px; line-height: 1.7; color: var(--fg2); max-width: 46em; }

/* 结尾 */
.end { padding: clamp(120px, 15vw, 200px) 0 clamp(90px, 10vw, 140px); text-align: center; }

.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--fg3); }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }
.foot a { text-decoration: none; color: var(--fg2); }
.foot a:hover { color: var(--fg); }
.foot .sp { margin-left: auto; }

/* 进场：往上浮一点、淡入（只有 js 在时） */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 560px) {
  .hero { padding-top: 108px; }
  .nav-in { gap: 16px; }
  .foot .sp { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .screen iframe { transition: none; }
  .wire.go::after { animation: none; }
}
