/* 橙子落地页原型。版式与动效节奏参照 dsbot.app，颜色取 packages/ui/src/theme.css 的令牌值（落地页独立部署，故在此复写）。 */
:root {
  --bg: #ffffff;
  --card: #f6f6f4;
  --fill: #efefea;
  --inner: #ffffff;
  --ink: #171715;
  --ink-2: #5f5f5a;
  --ink-3: #777770;
  --line: #e8e8e4;
  --line-strong: #cfcfc8;
  --accent: #e85d1f;
  --accent-deep: #c24a12;
  --accent-soft: #fbeee3;
  --blue: #4056d4;
  --blue-soft: #eef2fe;
  --green: #1f8a4c;
  --green-soft: #e9f6ee;
  --violet: #7c5cd6;
  --violet-soft: #f2edfc;
  --pink: #d64e8a;
  --pink-soft: #fcecf4;
  --teal: #0e9bb5;
  --teal-soft: #e7f6f9;
  --chat-me: #95ec69;
  --on-color: #ffffff;
  --ink-hover: #2c2c29;
  --nav-bg: rgba(255, 255, 255, 0.8);
  --glow: rgba(232, 93, 31, 0.1);
  --glow-2: rgba(232, 93, 31, 0.04);
  --rim: 0 0 0 0.5px rgba(23, 23, 21, 0.1), 0 24px 70px -18px rgba(70, 45, 20, 0.32);
  --token-shadow: 0 0 0 0.5px var(--line-strong), 0 8px 18px -6px rgba(70, 40, 12, 0.3);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --fs-display: clamp(76px, 12vw, 152px);
  --fs-title: clamp(30px, 4vw, 46px);
  --fs-body: 16px;
  --fs-ui: 13px;
  --win-shadow: 0 0 0 0.5px rgba(23, 23, 21, 0.12), 0 40px 100px -30px rgba(70, 45, 20, 0.28);
  --pop-shadow: 0 0 0 0.5px var(--line-strong), 0 18px 48px -16px rgba(70, 45, 20, 0.3);
  --drop: drop-shadow(0 14px 20px rgba(70, 40, 12, 0.16));
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-font-smoothing: antialiased; scroll-padding-top: 72px; }
body {
  background: var(--bg);
  color: var(--ink);
  font: var(--fs-ui) / 1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 8px; }
.icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 顶栏 ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 64px;
  display: flex; align-items: center; gap: 4px; padding: 0 24px;
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: background-color 0.2s ease, backdrop-filter 0.2s ease;
}
body[data-hero] .nav { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; font-size: var(--fs-body); font-weight: 600; }
.brand svg { width: 26px; height: 26px; color: var(--accent); }
.nav-link { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; color: var(--ink-2); transition: background-color 0.12s ease, color 0.12s ease; }
.nav-link:hover { background: var(--fill); color: var(--ink); }
.pill, .ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 18px;
  border-radius: 999px; font-weight: 600; white-space: nowrap; transition: background-color 0.12s ease, scale 0.16s var(--ease);
}
.pill { background: var(--ink); color: var(--bg); }
.pill:hover { background: var(--ink-hover); }
.ghost { box-shadow: inset 0 0 0 0.5px var(--line-strong); color: var(--ink); }
.ghost:hover { background: var(--fill); }
.pill:active, .ghost:active { scale: 0.96; }

/* ---------- Hero：滚动驱动的舞台 ---------- */
.hero { position: relative; height: calc(100vh + 360vh); height: calc(100svh + 360svh); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
.glow {
  position: absolute; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), var(--glow-2) 50%, transparent 72%);
  pointer-events: none; will-change: transform;
}
.clip { position: absolute; z-index: 2; border-radius: 50%; overflow: hidden; will-change: transform; }
.clip[data-open] { border-radius: 0; overflow: visible; }
.win { position: absolute; opacity: 0; will-change: transform, opacity; }
.ghost-win { position: absolute; z-index: 1; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.ghost-win > .app { filter: blur(14px); }
.ghost-win * { animation: none !important; transition: none !important; }
.rim { position: absolute; left: 0; top: 0; z-index: 3; border-radius: 50%; pointer-events: none; box-shadow: var(--rim); will-change: transform; }
.ring { position: absolute; left: 0; top: 0; z-index: 4; overflow: visible; pointer-events: none; }
.seat { position: absolute; left: 0; top: 0; z-index: 5; }
.seat-tile {
  display: grid; place-items: center; width: var(--seat); height: var(--seat); border-radius: 30%;
  background: var(--c); color: var(--on-color); filter: var(--drop);
}
.seat-tile svg { width: 44%; height: 44%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
/* 橙子和物件会被放大缩小，不加 will-change，让浏览器按当前尺寸重绘矢量，避免从缩小时的位图拉伸而发糊 */
.mascot { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; }
.mascot > .orange { width: var(--m); height: var(--m); filter: var(--drop); }
.tokens { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.token {
  position: absolute; left: 0; top: 0; display: grid; place-items: center; width: var(--t); height: var(--t);
  border-radius: 28%; background: var(--inner); color: var(--c); box-shadow: var(--token-shadow);
}
.token svg { width: 52%; height: 52%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.word { position: absolute; left: 0; right: 0; top: var(--word-top, 60%); z-index: 5; text-align: center; pointer-events: none; }
.word h1 { font-size: var(--fs-display); line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.word p { margin-top: 14px; font-size: var(--fs-body); color: var(--ink-2); }
.cap { position: absolute; left: 16px; right: 16px; bottom: calc(100% - var(--win-top, 160px) + 22px); z-index: 7; text-align: center; word-break: keep-all; font-size: var(--fs-title); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; opacity: 0; }

/* 闲置时的小动作：形状跳一下、晃一下、伸一下；舞台一动就暂停 */
.stage .seat-tile { animation: var(--fidget) 9s ease-in-out var(--delay, 0s) infinite; }
.stage .seat:nth-child(3n + 1) .seat-tile { --fidget: fidget-hop; }
.stage .seat:nth-child(3n + 2) .seat-tile { --fidget: fidget-sway; }
.stage .seat:nth-child(3n) .seat-tile { --fidget: fidget-stretch; }
.stage[data-moved] .seat-tile, .stage[data-moved] .mascot .orange * { animation-play-state: paused !important; }
.seat-tile[data-hop] { animation: fidget-hop 0.9s ease-in-out; }
@keyframes fidget-hop { 0%, 8%, 100% { transform: none; } 3% { transform: translateY(-10%) scale(0.97, 1.04); } 5.5% { transform: scale(1.05, 0.95); } }
@keyframes fidget-sway { 0%, 10%, 100% { transform: none; } 2.5% { transform: rotate(-8deg); } 5% { transform: rotate(7deg); } 7.5% { transform: rotate(-3deg); } }
@keyframes fidget-stretch { 0%, 9%, 100% { transform: none; } 4% { transform: scale(0.94, 1.08); } 7% { transform: scale(1.03, 0.97); } }

/* 橙子角色：呼吸、眨眼、看向某处、被点一下会跳 */
.orange .body-g { transform-box: fill-box; transform-origin: 50% 100%; animation: breathe 4.2s ease-in-out infinite; }
.orange .eyes { transform-box: fill-box; transform-origin: 50% 50%; transition: translate 0.45s var(--ease); animation: blink 5s linear var(--blink-delay, 0s) infinite; }
.orange[data-gulp] .body-g { animation: gulp 0.42s var(--ease); }
.orange[data-hop] .body-g { animation: hop 0.62s var(--ease); }
@keyframes breathe { 50% { transform: scale(1.015, 0.99); } }
@keyframes blink { 0%, 95%, 100% { transform: none; } 97% { transform: scaleY(0.12); } }
@keyframes gulp { 40% { transform: scale(1.08, 0.92); } 70% { transform: scale(0.97, 1.03); } }
@keyframes hop { 30% { transform: translateY(-14%) scale(0.95, 1.05); } 60% { transform: scale(1.06, 0.94); } }

/* ---------- 应用窗口：左边工作台，右边微信 ---------- */
.app {
  position: relative; display: grid; grid-template-columns: 264px minmax(0, 1fr); width: 100%; height: 100%;
  border-radius: 18px; overflow: hidden; background: var(--inner); box-shadow: var(--win-shadow); text-align: left;
}
.app-side { display: flex; flex-direction: column; min-height: 0; padding: 14px 12px; border-right: 0.5px solid var(--line); }
.side-head { display: flex; align-items: center; gap: 8px; padding: 2px 6px 12px; font-weight: 600; }
.side-head svg { width: 20px; height: 20px; color: var(--accent); }
.side-me { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px 10px; border-radius: 12px; background: var(--card); }
.side-me .orange { width: 64px; height: 64px; }
.side-me b { font-weight: 600; }
.side-me small, .row-text small { font-size: var(--fs-ui); color: var(--ink-3); }
.side-label { margin: 16px 6px 6px; color: var(--ink-3); }
.side-list { display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.side-row { display: flex; align-items: center; gap: 10px; padding: 7px 6px; border-radius: 10px; }
.side-row[data-new] { animation: rise 0.42s var(--ease) both, tint 2.4s ease 0.3s both; }
.row-ico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--soft); color: var(--c); font-weight: 600; }
.row-ico svg { width: 16px; height: 16px; }
.row-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.45; }
.row-text b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage:not([data-landed]) [data-land-target] > .orange { opacity: 0; }

.app-chat { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--fill); }
.chat-top { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; flex: none; background: var(--inner); border-bottom: 0.5px solid var(--line); }
.chat-pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.chat-pill .orange { width: 26px; height: 26px; }
.chat-pill em { font-style: normal; font-weight: 400; padding: 0 7px; border-radius: 999px; background: var(--green-soft); color: var(--green); }
.flag { display: inline-flex; align-items: center; gap: 5px; padding: 0 9px; height: 24px; border-radius: 999px; background: var(--card); color: var(--ink-2); opacity: 0; translate: 0 4px; transition: opacity 0.3s ease, translate 0.4s var(--ease); }
.flag svg { width: 13px; height: 13px; }
.flag[data-on] { opacity: 1; translate: none; }
.chat-log { flex: 1 1 auto; min-height: 0; overflow: hidden; padding: 6px 22px 14px; }
.chat-col { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin: 0 auto; }
.time-sep { align-self: center; margin-top: 8px; color: var(--ink-3); }
.event { align-self: center; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.event svg { width: 14px; height: 14px; color: var(--green); }
.msg { display: flex; align-items: flex-start; gap: 8px; max-width: 86%; }
.msg.me { align-self: flex-end; flex-direction: row-reverse; }
.msg-av { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--inner); }
.msg-av .orange { width: 30px; height: 30px; }
.msg.me .msg-av { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.bubble { padding: 8px 12px; border-radius: 10px; background: var(--inner); line-height: 1.6; overflow-wrap: anywhere; }
.msg.me .bubble { background: var(--chat-me); }
.msg .bubble:has(> .shot, > .attach) { padding: 0; background: none; }
.bubble ul { margin: 4px 0; padding-left: 18px; }
.bubble .src { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 0 8px; border-radius: 6px; background: var(--card); color: var(--ink-2); }
.bubble .src svg { width: 12px; height: 12px; }
.attach { display: flex; align-items: center; gap: 10px; min-width: 210px; padding: 10px 12px; border-radius: 10px; background: var(--inner); }
.attach-ico { flex: none; display: grid; place-items: center; width: 34px; height: 40px; border-radius: 6px; background: var(--c, var(--blue)); color: var(--on-color); }
.attach-ico svg { width: 18px; height: 18px; }
.shot { width: 150px; padding: 10px; border-radius: 10px; background: var(--inner); }
.shot i { display: block; height: 7px; margin-top: 7px; border-radius: 4px; background: var(--fill); }
.shot i:nth-child(2n) { width: 70%; margin-left: auto; background: var(--green-soft); }
.shot small { display: block; margin-top: 8px; color: var(--ink-3); }
.thinking { display: flex; align-items: center; gap: 8px; height: 32px; animation: think-in 0.3s var(--ease) backwards; }
.thinking .orange { width: 26px; height: 26px; }
.thinking[data-out] { animation: think-out 0.14s var(--ease) forwards; }
.shimmer {
  color: transparent; background: linear-gradient(90deg, var(--ink-3) 0%, var(--ink-3) 25%, var(--ink) 50%, var(--ink-3) 75%, var(--ink-3) 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; animation: shimmer 1.8s linear infinite;
}
.timer { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.composer { display: flex; align-items: center; gap: 8px; width: min(640px, calc(100% - 44px)); min-height: 44px; margin: 0 auto 18px; padding: 7px; border-radius: 22px; background: var(--inner); box-shadow: 0 0 0 0.5px var(--line-strong); flex: none; }
.key { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--ink-2); }
.key.plus { background: var(--fill); }
.key.send { background: var(--ink); color: var(--bg); }
.input { flex: 1; min-width: 0; padding: 3px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.input[data-empty] { color: var(--ink-3); }
.caret { display: inline-block; width: 1.5px; height: 15px; margin-left: 1px; vertical-align: -3px; background: var(--ink); animation: caret 1s steps(1) infinite; }
.rise { animation: rise 0.42s var(--ease) both; }
@keyframes rise { from { opacity: 0; translate: 0 10px; filter: blur(4px); } }
@keyframes tint { 25% { background: var(--accent-soft); } }
@keyframes think-in { from { opacity: 0; transform: scale(0.9); } }
@keyframes think-out { to { opacity: 0; transform: scale(0.92); filter: blur(3px); } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- 段落通用 ---------- */
.sec { position: relative; padding: 96px 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.title { font-size: var(--fs-title); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.sub { margin-top: 18px; max-width: 34em; font-size: var(--fs-body); line-height: 1.7; color: var(--ink-2); }
.panel { background: var(--card); border-radius: 28px; }
.in { opacity: 0; transform: translateY(22px); transition: opacity 0.5s ease, transform 0.7s var(--ease); }
.sec[data-in] .in { opacity: 1; transform: none; }
.sec[data-in] .in[data-d="1"] { transition-delay: 0.08s; }
.sec[data-in] .in[data-d="2"] { transition-delay: 0.16s; }
.sec[data-in] .in[data-d="3"] { transition-delay: 0.24s; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }

/* 开始使用与价格 */
.start { text-align: center; padding-top: 80px; }
.start .sub { margin-inline: auto; }
.steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; color: var(--ink-2); }
.steps span { display: inline-flex; align-items: center; gap: 8px; }
.steps b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--fill); color: var(--ink); font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; text-align: left; }
.plan { display: flex; flex-direction: column; padding: 26px; }
.plan[data-main] { box-shadow: 0 0 0 1.5px var(--ink); }
.plan-name { font-size: var(--fs-body); font-weight: 600; }
.plan-price { margin-top: 10px; font-size: var(--fs-title); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: var(--fs-ui); font-weight: 400; letter-spacing: 0; color: var(--ink-3); }
.plan p { margin-top: 8px; color: var(--ink-2); }
.plan .pill, .plan .ghost { align-self: flex-start; margin-top: 22px; }
.start-note { margin-top: 18px; color: var(--ink-3); }

/* 对话演示的底板与浮层 */
.demo { position: relative; padding: 18px; }
.demo:not(.demo-wide) .mini { height: 340px; }
.demo:not(.demo-wide) .chat-log { padding-bottom: 48px; }
.mini { display: flex; flex-direction: column; height: 100%; border-radius: 16px; overflow: hidden; background: var(--fill); box-shadow: var(--win-shadow); text-align: left; }
.mini .chat-top { height: 46px; }
.mini .chat-log { padding: 4px 18px 18px; }
.mini .chat-col { gap: 10px; }
.mini .msg { max-width: 80%; }
.pop { position: relative; z-index: 1; width: min(300px, 80%); margin: -36px 18px 0 auto; padding: 14px 16px; border-radius: 16px; background: var(--inner); box-shadow: var(--pop-shadow); }
.pop-t { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-2); }
.pop-t svg { width: 14px; height: 14px; }
.pop-e { margin-top: 4px; padding: 6px 8px; border-radius: 8px; }
.pop-e[data-new] { animation: rise 0.42s var(--ease) both, tint 2.4s ease 0.3s both; }
.demo-wide { height: 520px; margin-top: 48px; padding: 20px; }
.demo-wide .mini { margin-right: 320px; }
.cust { position: absolute; top: 20px; right: 20px; bottom: 20px; width: 300px; padding: 18px; border-radius: 16px; background: var(--inner); box-shadow: var(--pop-shadow); opacity: 0; translate: 16px 0; transition: opacity 0.4s ease, translate 0.6s var(--ease); }
.cust[data-on] { opacity: 1; translate: none; }
.cust-head { display: flex; align-items: center; gap: 12px; }
.cust-av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--violet-soft); color: var(--violet); font-size: var(--fs-body); font-weight: 600; }
.cust-head b { display: block; font-size: var(--fs-body); }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--soft, var(--fill)); color: var(--c, var(--ink-2)); }
.cust-rows { margin-top: 16px; border-top: 0.5px solid var(--line); }
.cust-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 0.5px solid var(--line); }
.cust-row span { flex: none; width: 56px; color: var(--ink-3); }

/* 便当格：每张卡一个会动的小组件 */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.bcard { display: flex; flex-direction: column; padding: 26px 26px 14px; }
.bcard h3 { font-size: var(--fs-body); font-weight: 600; }
.bcard > p { margin-top: 6px; color: var(--ink-2); line-height: 1.65; }
.bviz { display: flex; flex: 1; flex-direction: column; justify-content: center; min-height: 236px; margin: 22px -12px 0; padding: 16px; border-radius: 14px; background: var(--inner); box-shadow: 0 0 0 0.5px var(--line); }
.task { display: flex; align-items: center; gap: 10px; padding: 9px 2px; opacity: 0; translate: 0 8px; transition: opacity 0.4s ease, translate 0.5s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.task + .task { border-top: 0.5px solid var(--line); }
.sec[data-in] .task { opacity: 1; translate: none; }
.task .row-text { flex: 1; }
.run { display: inline-flex; align-items: center; gap: 5px; color: var(--green); }
.run::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; margin-top: 8px; text-align: center; font-variant-numeric: tabular-nums; }
.cal span { position: relative; justify-self: center; width: 28px; height: 24px; line-height: 24px; border-radius: 8px; color: var(--ink-2); transition: background-color 0.3s ease, color 0.3s ease; }
.cal span.wk { color: var(--ink-3); }
.cal span.dim { color: var(--line-strong); }
.cal span[data-ev]::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--c); scale: 0; transition: scale 0.4s var(--ease); }
.sec[data-in] .cal span[data-ev]::after { scale: 1; }
.cal span[data-on] { background: var(--soft); color: var(--c); font-weight: 600; }
.cal-note { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 0.5px solid var(--line); min-height: 33px; }
.cal-note .tag { flex: none; }
.cal-note [data-text] { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-note[data-swap] [data-text] { animation: rise 0.42s var(--ease) both; }
.flow { display: flex; align-items: flex-start; justify-content: center; }
.node { flex: 0 1 84px; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-align: center; color: var(--ink-3); transition: color 0.3s ease; }
.node i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--card); color: var(--ink-2); transition: background-color 0.3s ease, color 0.3s ease, scale 0.4s var(--ease); }
.node i svg { width: 20px; height: 20px; }
.node[data-on] { color: var(--ink); }
.node[data-on] i { background: var(--ink); color: var(--bg); scale: 1.06; }
.node[data-done] i { background: var(--green-soft); color: var(--green); }
.edge { flex: 1 1 12px; max-width: 28px; height: 1.5px; margin-top: 22px; background: var(--line-strong); }
.flow-note { margin-top: 18px; text-align: center; color: var(--ink-3); }
.sync { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sync-pane { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 10px; background: var(--card); min-height: 132px; }
.sync-pane:first-child { background: var(--fill); }
.sync-pane > small { color: var(--ink-3); }
.sync .bubble { align-self: flex-end; background: var(--chat-me); opacity: 0; translate: 0 6px; transition: opacity 0.35s ease, translate 0.45s var(--ease); }
.sync[data-step] .bubble { opacity: 1; translate: none; }
.check-row { display: flex; align-items: flex-start; gap: 8px; padding: 8px; border-radius: 8px; background: var(--inner); }
.box { flex: none; display: grid; place-items: center; width: 16px; height: 16px; margin-top: 3px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--line-strong); color: transparent; transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease; }
.box .icon { width: 11px; height: 11px; stroke-width: 3; }
.check-row span { transition: color 0.3s ease; }
.sync[data-step="2"] .box { background: var(--green); box-shadow: none; color: var(--on-color); }
.sync[data-step="2"] .check-row > span:last-child { color: var(--ink-3); text-decoration: line-through; }
.done-tag { align-self: flex-start; opacity: 0; transition: opacity 0.3s ease; }
.sync[data-step="2"] .done-tag { opacity: 1; }
.draft b { font-weight: 600; }
.draft-line { display: flex; gap: 8px; margin-top: 8px; color: var(--ink-2); opacity: 0; translate: 0 6px; transition: opacity 0.35s ease, translate 0.45s var(--ease); }
.draft-line::before { content: ""; flex: none; width: 4px; height: 4px; margin-top: 9px; border-radius: 50%; background: var(--line-strong); }
.draft-line[data-on] { opacity: 1; translate: none; }
.draft-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 10px; border-top: 0.5px solid var(--line); color: var(--ink-3); }
.menu-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border-radius: 10px; text-align: left; transition: background-color 0.15s ease; }
.menu-row + .menu-row { margin-top: 2px; }
.menu-row:hover { background: var(--card); }
.menu-row[aria-checked="true"] { background: var(--card); }
.menu-row .row-text { flex: 1; }
.menu-row .tick { flex: none; width: 16px; height: 16px; stroke-width: 2.2; color: var(--ink); opacity: 0; scale: 0.6; transition: opacity 0.2s ease, scale 0.3s var(--ease); }
.menu-row[aria-checked="true"] .tick { opacity: 1; scale: 1; }

/* 按职业上岗 */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 0.5px var(--line-strong); transition: background-color 0.15s ease, color 0.15s ease; }
.chip:hover { background: var(--card); }
.chip svg { width: 18px; height: 18px; color: var(--c); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip[aria-pressed="true"] svg { color: var(--bg); }
.role-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 56px; align-items: center; margin-top: 22px; padding: 52px; }
.role-left { display: flex; align-items: center; gap: 44px; min-width: 0; }
.role-mark { position: relative; flex: none; }
.role-mark .orange { width: 180px; height: 180px; filter: var(--drop); }
.role-prop { position: absolute; right: -4px; bottom: 14px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 30%; background: var(--c); color: var(--on-color); filter: var(--drop); }
.role-prop svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.role-prop[data-pop] { animation: prop-pop 0.5s var(--ease-out); }
@keyframes prop-pop { from { scale: 0.4; opacity: 0; rotate: -20deg; } }
.role-name { font-size: var(--fs-title); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.role-brief { margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: var(--inner); font-size: var(--fs-body); line-height: 1.65; color: var(--ink-2); }
.set { padding: 8px 18px; border-radius: 18px; background: var(--inner); box-shadow: var(--pop-shadow); }
.set-row { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; }
.set-row + .set-row { border-top: 0.5px solid var(--line); }
.set-label { color: var(--ink-3); }
.set-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.swap[data-swap] { animation: rise 0.42s var(--ease) both; }

/* 信任条、常见问题、收尾 */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 48px; }
.trust-i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); }
.trust-i svg { width: 22px; height: 22px; }
.trust h3 { margin-top: 16px; font-size: var(--fs-body); font-weight: 600; }
.trust p { margin-top: 6px; line-height: 1.7; color: var(--ink-2); }
.faq { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 64px; }
.faq-list { border-top: 0.5px solid var(--line-strong); }
.faq-item { border-bottom: 0.5px solid var(--line-strong); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 4px; font-size: var(--fs-body); font-weight: 500; text-align: left; }
.faq-q svg { flex: none; width: 18px; height: 18px; color: var(--ink-2); transition: transform 0.25s ease; }
.faq-item[data-open] .faq-q svg { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.faq-item[data-open] .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p { padding: 0 4px 22px; max-width: 38em; font-size: var(--fs-body); line-height: 1.7; color: var(--ink-2); }
.end-sec { padding-bottom: 150px; }
.end { display: flex; flex-direction: column; align-items: center; padding: 80px 40px; text-align: center; }
.end .orange { width: 180px; height: 180px; filter: var(--drop); cursor: pointer; }
.end .title { margin-top: 30px; }
.end-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.foot { border-top: 0.5px solid var(--line-strong); padding: 56px 0 40px; color: var(--ink-2); }
.foot-in { display: flex; justify-content: space-between; gap: 48px; }
.foot-brand { max-width: 300px; }
.foot-brand .brand { margin: 0; color: var(--ink); }
.foot-brand p { margin-top: 14px; }
.foot-cols { display: flex; gap: 80px; }
.foot-cols a { display: block; padding: 4px 0; transition: color 0.12s ease; }
.foot-cols a:hover { color: var(--ink); }
.foot-base { margin-top: 48px; color: var(--ink-3); }

/* ---------- 适配 ---------- */
@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .sec { padding: 64px 0; }
  .split, .faq { grid-template-columns: 1fr; gap: 36px; }
  .split.flip > :first-child { order: 0; }
  .role-stage { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
  .role-left { flex-direction: column; align-items: flex-start; gap: 22px; }
  .demo-wide { height: auto; padding: 14px; }
  .demo-wide .mini { margin-right: 0; height: 440px; }
  .cust { position: relative; inset: auto; width: auto; margin-top: 14px; }
}
@media (max-width: 760px) {
  .nav { padding: 0 12px; }
  .nav-link { display: none; }
  .nav .ghost { display: none; }
  .app { grid-template-columns: minmax(0, 1fr); border-radius: 16px; }
  .app-side { display: none; }
  .chat-log { padding: 6px 12px 12px; }
  .composer { width: calc(100% - 24px); margin-bottom: 12px; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .plans, .bento, .trust { grid-template-columns: 1fr; }
  .trust { gap: 30px; padding: 30px 24px; }
  .demo { padding: 14px; }
  .pop { width: auto; margin: -36px 12px 0; }
  .foot-in { flex-direction: column; gap: 32px; }
  .foot-cols { gap: 48px; }
}

/* 不想看动效：Hero 停在第一帧、不再钉住，标题和窗口放在下面，演示直接显示最后一帧 */
.static-hero .hero { height: auto; padding-bottom: 40px; }
.static-hero .stage { position: relative; }
.static-hero .stage > :is(.clip, .rim, .ghost-win, .tokens, .cap) { display: none; }
.static-hero .hero-result .cap { position: static; opacity: 1; margin: 32px 16px; }
.static-hero .hero-result .win { position: relative; width: min(1180px, calc(100% - 32px)); height: min(680px, 80vh); margin: 0 auto; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .in, .task, .draft-line, .sync .bubble { opacity: 1; transform: none; translate: none; transition: none; }
  .rise, .side-row[data-new], .pop-e[data-new], .swap[data-swap], .cal-note[data-swap] [data-text], .role-prop[data-pop] { animation: none; }
  .orange *, .seat-tile, .run::before, .shimmer, .caret { animation: none !important; }
  .faq-a, .faq-q svg, .cust, .flag { transition: none; }
}
