/* Tab 官网
   米白底、黑字、灰色后半句；0.5px 细线卡片，阴影只给悬浮的东西；玻璃只用在悬浮导航和光标旁的面板。
   动效只动 transform 和 opacity；prefers-reduced-motion 时全部静止，原型换成静态画面。 */

:root {
  --bg: #fafaf8;
  --canvas: #f4f4f1;
  --canvas-2: #ecece8;
  --surface: #fff;
  --ink: #131313;
  --ink-2: #3b3b3d;
  --mute: #6e6e73;
  --mute-2: #8e8e93;
  --ghost: #a9a9ae;
  --line: rgba(19, 19, 19, 0.07);
  --line-2: rgba(19, 19, 19, 0.12);
  --blue: #2a6af0;
  --blue-2: #5c94ff;
  --blue-ink: #1f5ad8;
  --blue-soft: rgba(42, 106, 240, 0.1);
  --green: #1f9d55;
  --amber: #e08a00;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, "PingFang SC", monospace;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-shadow: 0 0.5px 0 rgba(255, 255, 255, 0.9) inset, 0 0 0 0.5px rgba(0, 0, 0, 0.07), 0 12px 32px -14px rgba(0, 0, 0, 0.22);
  --sec-gap: 168px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
/* 宽屏上中文标题按短语换行（只在标点和空格处断）；窄屏一行放不下一个短语，退回正常断行 */
@media (min-width: 641px) { h1, h2, h3, .why-a { word-break: keep-all; overflow-wrap: anywhere; } }
p { text-wrap: pretty; }
code { font-family: var(--mono); font-size: 0.88em; padding: 0.1em 0.38em; border-radius: 6px; background: var(--canvas-2); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(42, 106, 240, 0.18); }

/* clip 不会生成滚动容器，sticky 照常工作；防止 Mac 底座这类装饰把页面撑宽 */
main { overflow-x: clip; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; }
.skip:focus { top: 12px; }
.g { color: var(--mute-2); }
.mono { font-family: var(--mono); }

kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2), 0 1px 0 rgba(0, 0, 0, 0.09); font: 600 12px/1 var(--font); color: var(--ink-2); white-space: nowrap; }
kbd.k-tab { color: var(--blue-ink); }

/* 进场：只有 JS 在时才先藏起来 */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }

/* 顶部进度条、公告条 */
.prog { position: fixed; z-index: 70; left: 0; top: 0; width: 100%; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.ann { position: relative; z-index: 5; display: flex; justify-content: center; align-items: center; gap: 10px; height: 40px; padding: 0 16px; font-size: 13px; color: var(--ink-2); background: #f1f1ee; border-bottom: 0.5px solid var(--line); }
.ann:hover { color: var(--ink); }
.ann-tag { height: 22px; padding: 0 8px; border-radius: 11px; display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 600; color: #fff; background: var(--ink); }
.ann .ic { font-size: 14px; transition: transform 0.25s var(--ease); }
.ann:hover .ic { transform: translateX(3px); }

/* 导航：顶部透明，滚动后变玻璃 */
.nav { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 max(24px, calc((100vw - 1200px) / 2)); transition: background-color 0.3s, box-shadow 0.3s; }
.nav.scrolled { background: rgba(250, 250, 248, 0.72); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 0.5px 0 var(--line-2); }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 700 19px var(--display); letter-spacing: -0.02em; }
.brand img { border-radius: 6px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); }
.links { display: flex; gap: 2px; flex: 1; justify-content: center; }
.links a { height: 34px; padding: 0 12px; border-radius: 17px; display: inline-flex; align-items: center; font-size: 14px; color: var(--ink-2); white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.links a:hover, .links a.on { background: rgba(19, 19, 19, 0.05); color: var(--ink); }
.nav-r { display: flex; align-items: center; gap: 8px; }
.cta { height: 38px; padding: 0 17px; border-radius: 19px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: #fff; background: var(--ink); white-space: nowrap; transition: transform 0.25s var(--ease); }
.cta:hover { transform: translateY(-1px); }
.burger { display: none; width: 40px; height: 40px; border-radius: 20px; place-items: center; font-size: 22px; }
.burger:hover { background: rgba(19, 19, 19, 0.05); }

/* 按钮 */
.btn { height: 48px; padding: 0 22px; border-radius: 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; white-space: nowrap; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.btn:hover { transform: translateY(-1px); }
.btn.dark { background: var(--ink); color: #fff; box-shadow: none; }
.btn.dark:hover { box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.55); }
.btn.light { background: #fff; color: var(--ink); box-shadow: none; }
/* ---------- 首屏 ---------- */
.hero { position: relative; text-align: center; padding: 78px 24px 0; overflow-x: clip; }
.halo { position: absolute; left: 50%; top: -200px; pointer-events: none; opacity: 0.085; transform: translateX(-50%); -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent); mask-image: radial-gradient(closest-side, #000 62%, transparent); animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.075; } 50% { transform: translateX(-50%) scale(1.045); opacity: 0.1; } }
.pill { position: relative; display: inline-flex; align-items: center; gap: 9px; height: 34px; margin: 0; padding: 0 14px 0 12px; border-radius: 17px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, 0.75); box-shadow: inset 0 0 0 0.5px var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(42, 106, 240, 0.16); animation: dotpulse 2.4s ease-in-out infinite; }
@keyframes dotpulse { 50% { transform: scale(0.72); opacity: 0.7; } }
.hero-h { position: relative; margin: 24px 0 0; font: 750 clamp(52px, 8vw, 104px)/1.04 var(--display); letter-spacing: -0.045em; }
.hero-h .ln { display: block; overflow: hidden; padding: 0.04em 0.06em 0.1em; margin: -0.04em 0 -0.1em; }
.hero-h .ln > span { display: inline-block; }
.js .hero-h .ln > span { transform: translateY(108%); transition: transform 1.1s var(--ease); }
.js .hero-h.in .ln > span { transform: none; }
.js .hero-h.in .ln:nth-child(2) > span { transition-delay: 0.12s; }
.hero-h .kw { display: inline-block; padding: 0 0.2em 0.02em; margin: 0 0.04em; border-radius: 0.2em; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2), 0 0.05em 0 rgba(0, 0, 0, 0.09), 0 0.18em 0.36em -0.2em rgba(0, 0, 0, 0.18); letter-spacing: -0.035em; animation: keypress 6s var(--ease) 2.4s infinite; }
@keyframes keypress { 0%, 8%, 100% { transform: none; box-shadow: inset 0 0 0 0.5px var(--line-2), 0 0.05em 0 rgba(0, 0, 0, 0.09), 0 0.18em 0.36em -0.2em rgba(0, 0, 0, 0.18); color: var(--ink); } 3% { transform: translateY(0.035em); box-shadow: inset 0 0 0 0.5px rgba(42, 106, 240, 0.4), 0 0.01em 0 rgba(0, 0, 0, 0.09), 0 0 0 0.08em rgba(42, 106, 240, 0.12); color: var(--blue); } }
.lead { position: relative; max-width: 640px; margin: 28px auto 0; font-size: clamp(16px, 1.45vw, 18.5px); line-height: 1.8; color: var(--ink-2); }
.keys-line { position: relative; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; font-size: 14px; color: var(--mute); }
.keys-line i { width: 3px; height: 3px; margin: 0 6px; border-radius: 50%; background: var(--mute-2); }
.join-w { position: relative; width: min(460px, 100%); margin: 30px auto 0; }
.join-pill { display: flex; align-items: center; gap: 6px; height: 58px; padding: 5px; border-radius: 29px; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2), 0 14px 32px -22px rgba(0, 0, 0, 0.3); transition: box-shadow 0.2s; }
.join-pill:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink), 0 14px 32px -22px rgba(0, 0, 0, 0.3); }
.join-pill input { flex: 1; min-width: 0; height: 100%; padding: 0 8px 0 18px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15.5px; color: var(--ink); }
.join-pill input::placeholder { color: var(--mute-2); }
.join-pill .btn { height: 48px; }
.join-pill.err { animation: shake 0.42s var(--ease); box-shadow: inset 0 0 0 1.5px #e5483d, 0 14px 32px -22px rgba(0, 0, 0, 0.3); }
@keyframes shake { 20% { transform: translateX(-6px); } 45% { transform: translateX(5px); } 70% { transform: translateX(-3px); } }
.join-msg { min-height: 0; margin: 12px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); text-wrap: balance; }
.join-msg:empty { display: none; }
.join-msg a { text-decoration: underline; text-underline-offset: 3px; }
.join-msg .ok { display: inline-flex; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; vertical-align: -4px; place-items: center; background: var(--green); color: #fff; font-size: 12px; }
.join-done .join-pill { display: none; }
.linkish { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.join-done .join-msg { margin-top: 0; padding: 14px 18px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); text-align: left; }
.meta { position: relative; margin: 16px 0 0; font-size: 13px; color: var(--mute); }

/* 首屏设备：Mac 屏幕 + 按键条 */
.hero-dev { position: relative; display: flex; flex-direction: column; align-items: center; width: min(1120px, 100%); margin: 72px auto 0; }
.hero-cap { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: 18px 0 0; font-size: 13px; color: var(--mute); min-height: 21px; }
.hero-cap a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); font-weight: 600; }
.hero-cap a:hover { color: var(--ink); }
.hero-cap .ic { font-size: 13px; }
.play-demo { position: absolute; z-index: 4; left: 50%; top: 40%; transform: translate(-50%, -50%); box-shadow: var(--glass-shadow); }
.play-demo[hidden] { display: none; }
/* Mac：MacBook 式的屏幕和底座。所有尺寸跟着容器宽度走（cqw） */
.mac { position: relative; width: 100%; container-type: inline-size; }
.mac-lid { position: relative; padding: 1.15cqw 1.15cqw 1.9cqw; border-radius: 2.2cqw 2.2cqw 0.6cqw 0.6cqw; background: #121214; box-shadow: inset 0 0 0 0.14cqw #34343a, 0 0 0 0.5px rgba(0, 0, 0, 0.55), 0 4cqw 8cqw -4.5cqw rgba(0, 0, 0, 0.5); }
.mac-screen { position: relative; aspect-ratio: 1440 / 900; overflow: hidden; border-radius: 1.1cqw 1.1cqw 0.25cqw 0.25cqw; background: #e4e7ee; isolation: isolate; }
.scr-tag { position: absolute; left: 50%; bottom: 0.4cqw; transform: translateX(-50%); font-size: max(9px, 0.82cqw); line-height: 1.1cqw; letter-spacing: 0.06em; color: #7c7c82; white-space: nowrap; }
.mac-base { position: relative; width: 112%; margin-left: -6%; height: 1.7cqw; border-radius: 0 0 1.6cqw 1.6cqw / 0 0 1.4cqw 1.4cqw; background: #d6d6da; box-shadow: inset 0 0.08cqw 0 rgba(255, 255, 255, 0.9), 0 1.6cqw 2.6cqw -1.4cqw rgba(0, 0, 0, 0.45); }
.mac-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 13%; height: 46%; transform: translateX(-50%); border-radius: 0 0 1cqw 1cqw; background: #bdbdc2; }
/* 屏幕里的三层：占位 → 静态画面 → 实时原型 */
.scr-ph { position: absolute; inset: 0; z-index: 0; display: grid; place-content: center; justify-items: center; gap: 0.8cqw; text-align: center; background: #e9ecf3; }
.scr-ph img { width: max(34px, 5cqw); height: auto; border-radius: 22%; box-shadow: 0 1cqw 2.4cqw -1cqw rgba(33, 92, 237, 0.55); }
.scr-ph b { margin-top: 0.6cqw; font: 700 max(14px, 2.1cqw)/1.2 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.scr-ph small { font-size: max(11px, 1.15cqw); color: var(--mute); }
.scr-poster, .scr-posters img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.scr-poster.missing, .scr-posters img.missing { display: none; }
.scr-posters img { opacity: 0; transition: opacity 0.6s var(--ease); }
.scr-posters img.on { opacity: 1; }
.scr-live { position: absolute; left: -1px; top: -1px; z-index: 2; width: calc(100% + 2px); height: calc(100% + 2px); border: 0; opacity: 0; pointer-events: none; transition: opacity 0.7s var(--ease); background: transparent; }
.mac.live .scr-live { opacity: 1; }

/* 按键条：原型里按下的键在这里亮起 */
.keystrip { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 6px; margin-top: -26px; padding: 8px; border-radius: 18px; }
.glass { background: var(--glass-bg); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: var(--glass-shadow); }
.kc { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px; font: 600 13px/1 var(--font); color: var(--ink-2); background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2), 0 1.5px 0 rgba(0, 0, 0, 0.1), 0 3px 8px -4px rgba(0, 0, 0, 0.18); transition: transform 0.14s var(--ease), color 0.2s, background-color 0.2s, box-shadow 0.2s; }
.kc.wide { min-width: 72px; }
.kc.on { transform: translateY(1.5px); color: #fff; background: var(--blue); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(42, 106, 240, 0.16), 0 8px 18px -8px rgba(42, 106, 240, 0.7); }
.ks-gap { width: 6px; }
/* ---------- 跑马灯 ---------- */
.logos { max-width: 1200px; margin: 96px auto 0; padding: 0 24px; }
.logos-h { margin: 0 0 20px; text-align: center; font-size: 13px; font-weight: 600; color: var(--mute); }
.mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.mq + .mq { margin-top: 12px; }
.mq-t { display: flex; gap: 12px; width: max-content; animation: mq 52s linear infinite; }
.mq.rev .mq-t { animation-direction: reverse; animation-duration: 44s; }
.mq:hover .mq-t, .mq.off .mq-t { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(calc(-50% - 6px)); } }
.mq-t > span { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 8px; border-radius: 23px; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.mq-t .mg { width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; font: 650 13px/1 var(--display); color: var(--ink-2); background: var(--canvas); box-shadow: inset 0 0 0 0.5px var(--line); }
.mq-t[data-kind="model"] .mg { color: #fff; background: #1b1b1d; box-shadow: none; }
.fine { margin: 20px 0 0; font-size: 12.5px; line-height: 1.65; color: var(--mute); text-wrap: balance; }
.fine.center { text-align: center; }

/* ---------- 通用分区 ---------- */
.sec { max-width: 1200px; margin: var(--sec-gap) auto 0; padding: 0 24px; }
.sec.narrow { max-width: 880px; }
.sec-h { max-width: 800px; }
.sec-h.center { margin: 0 auto; text-align: center; }
.sec-h.center .sub { margin-left: auto; margin-right: auto; }
.kick { margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--mute); }
h2 { margin: 0; font: 720 clamp(32px, 4.4vw, 54px)/1.16 var(--display); letter-spacing: -0.035em; }
.big-h .g { display: block; }
.big-h { max-width: 1040px; font-size: clamp(36px, 5.4vw, 66px); line-height: 1.12; letter-spacing: -0.04em; }
.sub { max-width: 680px; margin: 20px 0 0; font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.cnt { font-variant-numeric: tabular-nums; }
.num { font: 500 12px/1 var(--mono); color: var(--mute); }

.card { padding: 28px; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 0.5px var(--line-2), 0 24px 44px -32px rgba(0, 0, 0, 0.35); }
.card h3 { margin: 20px 0 0; font: 680 21px/1.4 var(--display); letter-spacing: -0.015em; }
.card p { margin: 10px 0 0; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.probs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.why-a { max-width: 860px; margin: 72px auto 0; text-align: center; font: 700 clamp(22px, 2.6vw, 32px)/1.5 var(--display); letter-spacing: -0.02em; }
.why-a .g { display: block; }
/* ---------- 核心想法：上下文流进光标，光标递出下一步 ---------- */
.idea { position: relative; height: 600px; margin-top: 52px; border-radius: 32px; overflow: hidden; background-color: #fafaf9; box-shadow: inset 0 0 0 0.5px var(--line-2); }
.idea::before { content: none; }
.idea-cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.idea-nodes { list-style: none; margin: 0; padding: 0; }
.nd { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 13px; border-radius: 22px; transform: translate(-50%, -50%); font-size: 14.5px; font-weight: 600; white-space: nowrap; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2), 0 12px 26px -20px rgba(0, 0, 0, 0.4); }
.nd .ic { font-size: 18px; color: var(--ink-2); }
.nd em { font-style: normal; height: 20px; padding: 0 7px; margin-left: 2px; border-radius: 10px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 650; color: #cfe0ff; background: rgba(255, 255, 255, 0.12); }
.nd.key { color: #fff; background: var(--ink); box-shadow: 0 14px 28px -18px rgba(0, 0, 0, 0.6); }
.nd.key .ic { color: #fff; }
.nd::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1.5px var(--blue); opacity: 0; transform: scale(1); pointer-events: none; }
.nd.ping::after { animation: ping 0.9s var(--ease); }
@keyframes ping { 0% { opacity: 0.55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.22); } }
.nd:nth-child(1) { left: 15%; top: 14%; }
.nd:nth-child(2) { left: 10%; top: 32%; }
.nd:nth-child(3) { left: 8%; top: 50%; }
.nd:nth-child(4) { left: 10%; top: 68%; }
.nd:nth-child(5) { left: 15%; top: 86%; }
.nd:nth-child(6) { left: 86%; top: 20%; }
.nd:nth-child(7) { left: 91%; top: 40%; }
.nd:nth-child(8) { left: 91%; top: 60%; }
.nd:nth-child(9) { left: 86%; top: 80%; }
.idea-core { position: absolute; z-index: 3; left: 50%; top: 50%; width: 400px; transform: translate(-50%, -50%); display: grid; gap: 12px; text-align: left; }
.ic-win { padding-bottom: 14px; border-radius: 18px; background: #fafaf8; box-shadow: inset 0 0 0 0.5px var(--line-2), 0 34px 60px -38px rgba(0, 0, 0, 0.45); transition: box-shadow 0.4s; }
.idea-core.hit .ic-win { box-shadow: inset 0 0 0 0.5px rgba(42, 106, 240, 0.5), 0 0 0 4px rgba(42, 106, 240, 0.08), 0 34px 60px -38px rgba(0, 0, 0, 0.45); }
.ic-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 0.5px solid var(--line); }
.ic-bar i, .win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.ic-bar i:nth-child(2), .win-bar i:nth-child(2) { background: #febc2e; }
.ic-bar i:nth-child(3), .win-bar i:nth-child(3) { background: #28c840; }
.ic-bar span { margin-left: 8px; font-size: 12px; color: var(--mute); }
.bub { width: fit-content; max-width: 86%; margin: 14px 14px 0; padding: 8px 13px; border-radius: 16px 16px 16px 5px; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); font-size: 14.5px; line-height: 1.5; }
.field { position: relative; min-height: 44px; margin: 12px 14px 0; padding: 11px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); font-size: 15px; line-height: 1.45; text-align: left; }
.typed { color: var(--ink); }
.caret { display: inline-block; width: 1.6px; height: 1.12em; margin: 0 1px; vertical-align: -0.17em; border-radius: 1px; background: var(--blue); animation: blink 1.06s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ghost { color: var(--ghost); transition: opacity 0.35s var(--ease), color 0.3s; }
.nx { padding: 13px 15px 12px; border-radius: 18px; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.nx.swap { opacity: 0; transform: translateY(8px) scale(0.985); }
.nx-h { display: flex; justify-content: space-between; align-items: center; }
.nx-kind { height: 22px; padding: 0 9px; border-radius: 11px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 650; color: var(--blue-ink); background: var(--blue-soft); }
.nx-n { font: 500 11.5px var(--mono); color: var(--mute); }
.nx-b { min-height: 76px; margin-top: 10px; display: grid; align-content: center; font-size: 14px; }
.nx-f { display: flex; align-items: center; gap: 5px; margin-top: 10px; padding-top: 10px; border-top: 0.5px solid var(--line); font-size: 12px; color: var(--mute); }
.nx-f kbd { height: 20px; min-width: 20px; font-size: 11px; margin-left: 4px; }
.nx-f kbd:first-child { margin-left: 0; }
.nx-row { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 10px; color: var(--ink-2); }
.nx-row.on { color: var(--ink); background: var(--blue-soft); }
.nx-row i { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; font: 600 11px var(--mono); font-style: normal; color: var(--ink-2); background: var(--canvas-2); }
.nx-row.on i { color: #fff; background: var(--blue); }
.nx-row.done { color: var(--mute); }
.nx-row.done i { color: #fff; background: var(--green); }
.nx-row kbd { margin-left: auto; height: 22px; font-size: 11px; }
.nx-big { display: flex; align-items: baseline; gap: 12px; padding: 0 4px; }
.nx-big b { font: 720 34px/1 var(--display); letter-spacing: -0.03em; }
.nx-big span { font-size: 13px; color: var(--mute); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 12px; font-weight: 600; color: var(--ink-2); background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); white-space: nowrap; }
.chip .ic { font-size: 14px; color: var(--blue); }
.pdf { width: 26px; height: 30px; border-radius: 5px; display: inline-grid; place-items: center; flex: none; font: 700 8.5px/1 var(--font); letter-spacing: 0.02em; color: #fff; background: #ef5546; }
.loop { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lp { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px 0 8px; border-radius: 21px; font-size: 14px; font-weight: 600; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); }
.lp kbd { height: 28px; min-width: 28px; border-radius: 8px; }
.lp.lp-end { padding-left: 14px; color: #fff; background: var(--ink); box-shadow: none; }
.lp.lp-end .ic { font-size: 16px; color: #9cc0ff; }
.lp-arr { font-size: 18px; color: var(--mute-2); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 64px; padding-top: 36px; border-top: 0.5px solid var(--line-2); }
.trio .num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 12.5px; color: var(--ink-2); box-shadow: inset 0 0 0 0.5px var(--line-2); background: #fff; }
.trio b { display: block; margin-top: 14px; font: 680 19px/1.3 var(--display); }
.trio p { margin: 8px 0 0; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
/* ---------- 五种下一步 ---------- */
.kinds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.kind { grid-column: span 2; display: flex; flex-direction: column; padding: 16px 16px 22px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.kind:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 0.5px var(--line-2), 0 24px 44px -32px rgba(0, 0, 0, 0.35); }
.kind.wide { grid-column: span 3; }
.kind > .kind-n { margin: 22px 8px 0; font: 500 12px var(--mono); color: var(--mute); }
.kind h3 { margin: 6px 8px 0; font: 680 21px/1.35 var(--display); letter-spacing: -0.015em; }
.kind > p { margin: 8px 8px 0; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: auto 8px 0; padding-top: 18px; font-size: 13px; color: var(--mute); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend kbd { height: 22px; font-size: 11.5px; }
.kv { position: relative; height: 228px; padding: 18px; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; background: var(--canvas); }
.kv .bub { margin: 0; font-size: 14px; }
.kv .field { margin: 10px 0 0; font-size: 14.5px; }
.kv-key { position: absolute; top: 14px; right: 14px; }
.kv-key kbd { height: 32px; min-width: 52px; border-radius: 9px; font-size: 13px; transition: transform 0.14s var(--ease), color 0.2s, background-color 0.2s, box-shadow 0.2s; }
.kv.press .kv-key kbd { transform: translateY(1.5px); color: #fff; background: var(--blue); box-shadow: 0 0 0 4px rgba(42, 106, 240, 0.15); }
.kv .ghost { opacity: 0; }
.kv.gh .ghost { opacity: 1; }
.kv.ok .ghost { color: var(--ink); }
.fade { opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.src-chip { align-self: flex-start; margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 9px; border-radius: 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.src-chip .ic { font-size: 14px; color: var(--blue); }
.kv.srcon .src-chip { opacity: 1; transform: none; }
/* 一次操作 */
.kv[data-k="action"] { justify-content: flex-start; padding-top: 26px; }
.kv[data-k="action"] .field { margin: 0; min-height: 96px; }
.act { position: absolute; left: 18px; top: 134px; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 12px; border-radius: 12px; font-size: 13.5px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.act .ic { font-size: 15px; color: var(--blue); }
.act kbd { height: 26px; color: var(--blue-ink); }
.kv.act-on .act { opacity: 1; transform: none; }
.kv.press .act kbd { color: #fff; background: var(--blue); }
.attach { position: absolute; left: 30px; top: 70px; display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 12px 0 7px; border-radius: 11px; background: var(--canvas); box-shadow: inset 0 0 0 0.5px var(--line); opacity: 0; transform: scale(0.94); transform-origin: 0 50%; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.attach b { font-size: 13.5px; font-weight: 600; }
.attach small { font-size: 12px; color: var(--mute); }
.kv.att .attach { opacity: 1; transform: none; }
.receipt { position: absolute; left: 50%; bottom: 18px; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 6px 0 10px; border-radius: 16px; font-size: 13px; font-weight: 600; color: #fff; background: var(--ink); opacity: 0; transform: translate(-50%, 8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.receipt .ic { font-size: 15px; color: #6ee7a0; }
.receipt span { height: 22px; padding: 0 9px; border-radius: 11px; display: inline-grid; place-items: center; font-size: 12px; background: rgba(255, 255, 255, 0.14); }
.kv.rcp .receipt { opacity: 1; transform: translate(-50%, 0); }
/* 一串步骤 */
.plan { width: min(420px, 100%); margin: 0 auto; padding: 14px 14px 10px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2), 0 18px 36px -28px rgba(0, 0, 0, 0.35); }
.plan-h { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; }
.plan-h b { font-size: 14.5px; font-weight: 650; }
.plan-n { font: 500 12px var(--mono); color: var(--mute); }
.plan-bar { height: 4px; margin: 10px 4px 8px; border-radius: 2px; overflow: hidden; background: var(--canvas-2); }
.plan-bar i { display: block; height: 100%; border-radius: 2px; background: var(--blue); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; transition: transform 0.5s var(--ease); }
.plan.sent .plan-bar i { background: var(--green); }
.plan ol { list-style: none; margin: 0; padding: 0; }
.plan li { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 6px 0 8px; border-radius: 10px; font-size: 14px; color: var(--mute); transition: background-color 0.3s, color 0.3s; }
.plan li .st { width: 18px; height: 18px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color 0.3s, box-shadow 0.3s; }
.plan li kbd { margin-left: auto; height: 24px; opacity: 0; transition: opacity 0.3s, color 0.2s, background-color 0.2s; }
.plan li.cur { color: var(--ink); background: var(--blue-soft); }
.plan li.cur kbd { opacity: 1; color: var(--blue-ink); }
.plan li.irr.cur { background: rgba(224, 138, 0, 0.1); }
.plan li.irr.cur kbd { color: var(--amber); box-shadow: inset 0 0 0 1px rgba(224, 138, 0, 0.5); }
.plan li.cur.hit kbd { color: #fff; background: var(--blue); }
.plan li.irr.cur.hit kbd { background: var(--amber); }
.plan li.done { color: var(--ink-2); }
.plan li.done .st { background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 18px no-repeat; box-shadow: none; }
/* 几个方向 */
.kind.wide .kv[data-k="dirs"] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "b d" "f d"; align-content: center; column-gap: 18px; }
.kv[data-k="dirs"] .bub { grid-area: b; align-self: end; }
.kv[data-k="dirs"] .field { grid-area: f; align-self: start; min-height: 66px; }
.dirs { grid-area: d; align-self: center; padding: 5px; border-radius: 14px; }
.dopt { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: 10px; font-size: 14px; color: var(--ink-2); transition: background-color 0.25s, color 0.25s; }
.dopt i { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; font: 600 11px var(--mono); font-style: normal; color: var(--ink-2); background: var(--canvas-2); transition: background-color 0.25s, color 0.25s; }
.dopt.on { color: var(--ink); background: var(--blue-soft); }
.dopt.on i { color: #fff; background: var(--blue); }
.dirs { transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.kv.closed .dirs { opacity: 0; transform: translateY(6px) scale(0.98); }
.keymap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin-top: 18px; padding: 18px 24px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); font-size: 14px; color: var(--ink-2); }
.keymap span { display: inline-flex; align-items: center; gap: 6px; }
.keymap kbd + kbd { margin-left: -2px; }
/* ---------- 滚动讲故事：左边瞬间，右边一块屏幕跟着换 ---------- */
.story { max-width: 1240px; margin: var(--sec-gap) auto 0; padding: 0 24px; }
.story-b { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 64px; margin-top: 12px; }
.steps { list-style: none; margin: 0; padding: 8vh 0 12vh; }
.step { min-height: 68vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transition: opacity 0.5s var(--ease); }
.step.on { opacity: 1; }
.when { align-self: flex-start; height: 26px; padding: 0 11px; border-radius: 13px; display: inline-grid; place-items: center; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); transition: background-color 0.4s, color 0.4s; }
.step.on .when { color: #fff; background: var(--ink); box-shadow: none; }
.step h3 { margin: 16px 0 0; font: 700 clamp(24px, 2.6vw, 34px)/1.25 var(--display); letter-spacing: -0.025em; }
.step p { max-width: 470px; margin: 14px 0 0; font-size: 16.5px; line-height: 1.8; color: var(--ink-2); }
.step-shot { display: none; margin: 22px 0 0; aspect-ratio: 1440 / 900; border-radius: 14px; overflow: hidden; background: #e9ecf3; box-shadow: inset 0 0 0 0.5px var(--line-2), 0 20px 40px -30px rgba(0, 0, 0, 0.4); }
.step-shot img { width: 100%; height: 100%; object-fit: cover; }
.step-shot img.missing { display: none; }
.stick { position: sticky; top: 92px; height: calc(100vh - 124px); min-height: 460px; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.stick .mac { width: 100%; margin: 0 auto; }
.story-meta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dots { display: flex; align-items: center; gap: 6px; }
.dots i { width: 7px; height: 7px; border-radius: 4px; background: var(--line-2); transition: width 0.4s var(--ease), background-color 0.4s; }
.dots i.gs { margin-left: 10px; }
.dots i.on { width: 24px; background: var(--ink); }
.story-cap { margin: 0; font-size: 13px; color: var(--mute); text-align: center; min-height: 20px; }

/* ---------- 它懂你：上下文来源 ---------- */
.srcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 52px; }
.src { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 22px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); transition: transform 0.35s var(--ease); }
.src:hover { transform: translateY(-3px); }
.sic { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--canvas); }
.sic .ic { font-size: 22px; color: var(--ink-2); }
.src b { display: flex; align-items: center; gap: 8px; font: 650 16.5px/1.4 var(--display); }
.tg { font-style: normal; height: 20px; padding: 0 7px; border-radius: 10px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 650; color: var(--ink-2); background: var(--canvas-2); }
.tg.on { color: var(--blue-ink); background: var(--blue-soft); }
.src p { margin: 6px 0 0; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.seen { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 22px; padding: 16px 18px; border-radius: 22px; background: var(--canvas); }
.seen-chip { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 8px 0 13px; border-radius: 20px; font-size: 13.5px; color: var(--ink-2); }
.seen-chip .ic { font-size: 16px; color: var(--blue); }
.seen-chip b { height: 26px; padding: 0 9px; border-radius: 9px; display: inline-grid; place-items: center; font-size: 12.5px; font-weight: 600; color: var(--ink); background: rgba(19, 19, 19, 0.05); }
.seen-chip .x { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 15px; color: var(--mute); background: rgba(19, 19, 19, 0.05); }
.seen p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ---------- 记忆 ---------- */
.mem { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; margin-top: 52px; align-items: stretch; }
.mem-win { border-radius: 24px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2), 0 40px 80px -60px rgba(0, 0, 0, 0.45); }
.win-bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-bottom: 0.5px solid var(--line); background: #fbfbfa; }
.win-bar span { margin-left: 10px; font: 500 12.5px var(--mono); color: var(--mute); }
.mem-body { display: grid; grid-template-columns: 208px minmax(0, 1fr); min-height: 492px; }
.tree { list-style: none; margin: 0; padding: 12px 8px; background: #f7f7f5; border-right: 0.5px solid var(--line); font-size: 13px; }
.tree .dir { padding: 9px 10px 3px; font: 600 11.5px var(--mono); color: var(--mute); }
.tree li:first-child { padding-top: 2px; color: var(--ink-2); }
.tree button, .tree span { display: block; width: 100%; padding: 5px 10px; border-radius: 8px; text-align: left; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tree span { color: var(--mute); }
.tree .in button, .tree .in span { padding-left: 20px; }
.tree button { transition: background-color 0.2s, color 0.2s; }
.tree button:hover { background: var(--canvas-2); }
.tree button.on { font-weight: 600; color: var(--blue-ink); background: var(--blue-soft); }
.doc { padding: 22px 26px 26px; font-size: 14px; line-height: 1.7; overflow: hidden; }
.doc > * { animation: up 0.55s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes up { from { opacity: 0; transform: translateY(6px); } }
.doc .fm { margin: 0; padding: 10px 12px; border-radius: 10px; font: 12px/1.65 var(--mono); color: var(--mute); background: var(--canvas); white-space: pre-wrap; }
.doc .h1 { margin: 14px 0 2px; font: 700 22px/1.3 var(--display); letter-spacing: -0.02em; }
.doc .h2 { margin: 14px 0 4px; font-size: 13px; font-weight: 650; color: var(--ink-2); }
.doc .h2::before { content: "## "; font-family: var(--mono); color: var(--mute-2); }
.doc .p { margin: 0; color: var(--ink-2); }
.doc .li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin: 0; padding: 2px 0 2px 14px; position: relative; color: var(--ink); }
.doc .li::before { content: "–"; position: absolute; left: 0; color: var(--mute-2); }
.doc .ct { font: 500 12px var(--mono); color: var(--blue-ink); }
.doc .lk { color: var(--blue-ink); }
.doc .sr-c { height: 20px; padding: 0 7px; border-radius: 6px; display: inline-grid; place-items: center; font-size: 11.5px; color: var(--mute); background: var(--canvas); white-space: nowrap; }
.doc .tg2 { font-size: 12px; color: var(--amber); }
.mem-side { display: grid; gap: 16px; align-content: start; }
.learn { padding: 20px 20px 16px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); }
.learn-h { display: flex; align-items: center; gap: 8px; }
.learn-h .ic { font-size: 18px; color: var(--blue); }
.learn-h b { font: 680 16.5px var(--display); }
.learn-h small { margin-left: auto; font-size: 12px; color: var(--mute); }
.diff { list-style: none; margin: 14px 0 0; padding: 0; }
.diff li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 0; border-top: 0.5px solid var(--line); transition: opacity 0.3s; }
.diff code { padding: 0; background: none; font-size: 14px; font-weight: 700; }
.diff .add code { color: var(--green); }
.diff .mod code { color: var(--amber); }
.diff li > div > span { display: block; font-size: 14.5px; line-height: 1.5; }
.diff small { display: block; font: 500 11.5px var(--mono); color: var(--mute); }
.diff s { color: var(--mute); }
.acts { display: flex; gap: 6px; }
.acts button { height: 28px; padding: 0 11px; border-radius: 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); box-shadow: inset 0 0 0 0.5px var(--line-2); transition: background-color 0.2s, color 0.2s; }
.acts button:hover { background: var(--canvas); color: var(--ink); }
.diff li.kept .acts button[data-a="keep"] { color: #fff; background: var(--green); box-shadow: none; }
.diff li.undone > div > span { text-decoration: line-through; color: var(--mute); }
.diff li.undone .acts button[data-a="undo"] { color: #fff; background: var(--ink); box-shadow: none; }
.learn-f { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; padding-top: 12px; border-top: 0.5px solid var(--line); font-size: 13px; color: var(--mute); }
.learn-f .ic { font-size: 15px; }
.mcp { padding: 18px 20px 22px; border-radius: 24px; color: #fff; background: #141416; }
.mcp-h { display: flex; align-items: center; gap: 6px; }
.mcp-h .mono { width: 24px; height: 24px; border-radius: 7px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 650; background: rgba(255, 255, 255, 0.1); }
.mcp-h b { margin-left: 6px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.86); }
.term { margin-top: 16px; font: 13.5px/1.7 var(--mono); }
.term p { margin: 0; }
.t-q span:first-child { margin-right: 8px; color: var(--blue-2); }
.t-type::after { content: ""; display: inline-block; width: 7px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em; background: rgba(255, 255, 255, 0.75); animation: blink 1.06s steps(1) infinite; }
.term.done .t-type::after { display: none; }
.t-a, .t-s { opacity: 0; transform: translateY(4px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.t-a { margin-top: 10px !important; color: rgba(255, 255, 255, 0.84); }
.t-s { margin-top: 8px !important; font-size: 12px; color: rgba(255, 255, 255, 0.48); }
.term.done .t-a, .term.done .t-s { opacity: 1; transform: none; }
.term.done .t-s { transition-delay: 0.25s; }
/* ---------- 动手（深色） ---------- */
.band { position: relative; max-width: 1320px; margin: var(--sec-gap) auto 0; padding: 112px 48px 64px; border-radius: 44px; overflow: hidden; color: #fff; background: #111113; }
.band .kick { color: rgba(255, 255, 255, 0.55); }
.band .g { color: rgba(255, 255, 255, 0.46); }
.band .sub { max-width: 640px; color: rgba(255, 255, 255, 0.74); }
.band .fine { color: rgba(255, 255, 255, 0.52); }
.doit-dev { width: min(980px, 100%); margin: 60px auto 0; }
/* 工作台：六个分页 + 一块屏幕 */
.bench-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 1080px; margin: 44px auto 0; }
.bench-tabs button { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px; padding: 10px 16px 10px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-align: left; transition: box-shadow 0.25s var(--ease), color 0.2s, transform 0.25s var(--ease); }
.bench-tabs button i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
.bench-tabs button small { grid-column: 2; font-size: 12px; font-weight: 500; color: var(--mute-2); }
.bench-tabs button:hover { transform: translateY(-1px); }
.bench-tabs button.on { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), 0 8px 20px -14px rgba(0, 0, 0, 0.4); }
.bench-tabs button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.bench-dev { width: min(1120px, 100%); margin: 28px auto 0; }
.bench-win { position: relative; overflow: hidden; aspect-ratio: 1600 / 1000; border-radius: 18px; background: #f4f4f1; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.14), 0 30px 70px -36px rgba(0, 0, 0, 0.45); }
.bench-win img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bench-win .scr-tag { left: auto; right: 14px; bottom: 12px; transform: none; padding: 4px 9px; border-radius: 999px; font-size: 11px; line-height: 1.2; color: #3b3b3d; background: rgba(255, 255, 255, 0.86); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.1); }
#bench-cap { min-height: 3.2em; max-width: 720px; margin-left: auto; margin-right: auto; }
.band .mac-lid { background: #0c0c0e; box-shadow: inset 0 0 0 0.14cqw #3c3c42, 0 0 0 0.5px rgba(255, 255, 255, 0.08), 0 4cqw 9cqw -4cqw rgba(0, 0, 0, 0.8); }
.band .mac-base { background: #4a4a4f; box-shadow: inset 0 0.08cqw 0 rgba(255, 255, 255, 0.28), 0 1.6cqw 2.6cqw -1.4cqw rgba(0, 0, 0, 0.8); }
.band .mac-base::before { background: #3a3a3f; }
.safe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1180px; margin: 64px auto 0; }
.safe article { padding: 24px 22px; border-radius: 24px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12); }
.safe .ic { font-size: 24px; color: #9cc0ff; }
.safe b { display: block; margin-top: 16px; font: 650 17.5px/1.35 var(--display); }
.safe p { margin: 8px 0 0; font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, 0.68); }

/* ---------- 隐私 ---------- */
.pv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 52px; }
.pv article { padding: 26px 24px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); }
.pv .ic { font-size: 26px; color: var(--ink-2); }
.pv b { display: block; margin-top: 18px; font: 680 18px/1.35 var(--display); }
.pv p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }

/* ---------- 对比表 ---------- */
.cmp-w { margin-top: 48px; overflow-x: auto; border-radius: 24px; background: #fff; border: 0.5px solid var(--line-2); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 1000px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 1.55; }
.cmp th, .cmp td { padding: 15px 16px; text-align: left; vertical-align: top; border-bottom: 0.5px solid var(--line); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { padding-top: 20px; padding-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--mute); border-bottom: 0.5px solid var(--line-2); white-space: nowrap; }
.cmp tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.cmp th[scope="row"], .cmp thead th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; }
.cmp td { color: var(--ink-2); }
.cmp td.no { color: var(--mute-2); }
.cmp col.c-h { width: 156px; }
.cmp col.c-me { width: 220px; }
.cmp .me { color: var(--ink); font-weight: 600; background: rgba(42, 106, 240, 0.055); }
.cmp thead .me { color: var(--blue-ink); font-size: 14px; }

/* ---------- 开源和模型 ---------- */
.oss { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.op { padding: 26px; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); }
.op-big { display: block; font: 780 34px/46px var(--display); letter-spacing: -0.035em; }
.op-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--canvas); }
.op-ic .ic { font-size: 23px; color: var(--ink-2); }
.op b { display: block; margin-top: 18px; font: 680 19px/1.35 var(--display); }
.op p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.op.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.fmt { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.fmt span { height: 30px; padding: 0 12px; border-radius: 15px; display: inline-grid; place-items: center; font: 600 12.5px var(--mono); color: var(--ink-2); background: var(--canvas); }
.code { margin: 0; padding: 22px 24px; border-radius: 18px; overflow-x: auto; font: 13px/1.85 var(--mono); color: rgba(255, 255, 255, 0.86); background: #141416; }
.c-m { color: rgba(255, 255, 255, 0.45); }
.c-k { color: #9cc0ff; }

/* ---------- 路线图 ---------- */
.rm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 52px; align-items: start; }
.rm-c { padding: 26px 24px; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 0.5px var(--line-2); }
.rm-c:first-child { box-shadow: inset 0 0 0 1px rgba(19, 19, 19, 0.5); }
.rm-h { display: flex; justify-content: space-between; align-items: baseline; }
.rm-h b { font: 700 21px var(--display); letter-spacing: -0.02em; }
.rm-h small { font-size: 13px; color: var(--mute); }
.rm ul { list-style: none; display: grid; gap: 13px; margin: 18px 0 0; padding: 18px 0 0; border-top: 0.5px solid var(--line); }
.rm li { display: flex; align-items: baseline; gap: 10px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.stt { flex: none; font-style: normal; height: 21px; min-width: 46px; padding: 0 8px; border-radius: 11px; display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 650; color: var(--ink-2); background: var(--canvas-2); transform: translateY(-1px); }
.stt.done { color: #17723f; background: #e2f3e8; }
.stt.doing { color: var(--blue-ink); background: var(--blue-soft); }

/* ---------- 常见问题 ---------- */
.faq { margin-top: 36px; border-top: 0.5px solid var(--line-2); }
.faq details { border-bottom: 0.5px solid var(--line-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 17.5px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 24px; text-align: center; font: 300 26px/1 var(--font); color: var(--mute); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--ink-2); }
.faq p { max-width: 760px; margin: -6px 0 24px; font-size: 15.5px; line-height: 1.8; color: var(--ink-2); }
.faq details[open] p { animation: up 0.45s var(--ease); }

/* ---------- 结尾 ---------- */
.end { position: relative; max-width: 1200px; margin: var(--sec-gap) auto 0; padding: 104px 24px 92px; border-radius: 44px; overflow: hidden; text-align: center; color: #fff; background: #111113; }
.halo-w { top: 50%; opacity: 0.17; transform: translate(-50%, -50%); animation: breathe2 10s ease-in-out infinite; }
@keyframes breathe2 { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.05); } }
.end-in { position: relative; z-index: 1; }
.end-icon { margin: 0 auto 28px; border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(42, 106, 240, 0.8); }
.end h2 { font-size: clamp(44px, 6.6vw, 84px); line-height: 1.06; font-weight: 750; letter-spacing: -0.045em; }
.end .g { color: rgba(255, 255, 255, 0.45); }
.end-in > p { margin: 20px auto 0; max-width: 560px; text-wrap: balance; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, 0.72); }
.end .join-w { margin-top: 36px; }
.join-pill.on-dark { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.2); }
.join-pill.on-dark:focus-within { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85); }
.join-pill.on-dark input { color: #fff; }
.join-pill.on-dark input::placeholder { color: rgba(255, 255, 255, 0.5); }
.end .join-msg { color: rgba(255, 255, 255, 0.82); }
.end .join-done .join-msg { color: var(--ink-2); }
.end .end-alt { margin: 20px auto 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.58); }
.end-alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 页脚 ---------- */
.foot { max-width: 1200px; margin: 88px auto 0; padding: 0 24px 44px; }
.foot-cols { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 30px; padding-bottom: 36px; border-bottom: 0.5px solid var(--line-2); }
.foot-cols > div { display: grid; align-content: start; gap: 11px; }
.foot-cols b { font-size: 13px; font-weight: 600; }
.foot-cols a { width: fit-content; font-size: 14px; color: var(--ink-2); }
.foot-cols a:hover { color: var(--ink); }
.foot-brand p { margin: 2px 0 0; font-size: 14px; color: var(--mute); }
.foot-b { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding-top: 22px; font-size: 12.5px; color: var(--mute); }
/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .links a { padding: 0 9px; font-size: 13.5px; }
  .nd:nth-child(1), .nd:nth-child(5) { left: 16%; }
  .nd:nth-child(2), .nd:nth-child(4) { left: 12%; }
  .nd:nth-child(3) { left: 10.5%; }
  .nd:nth-child(6), .nd:nth-child(9) { left: 85%; }
  .nd:nth-child(7), .nd:nth-child(8) { left: 89%; }
  .idea-core { width: 360px; }
}
@media (max-width: 1024px) {
  :root { --sec-gap: 128px; }
  .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kind, .kind.wide { grid-column: span 1; }
  .kind:nth-child(5) { grid-column: span 2; }
  .kind.wide:nth-child(4) .kv { padding: 18px 14px; }
  .mem { grid-template-columns: minmax(0, 1fr); }
  .mem-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .safe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oss { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oss .op:nth-child(3) { grid-column: 1 / -1; }
  .story-b { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; }
  .nd { height: 40px; font-size: 13.5px; padding: 0 13px 0 11px; }
  .nd em { display: none; }
  .idea-core { width: 330px; }
}
@media (max-width: 960px) {
  .nav { gap: 12px; }
  .burger { display: inline-grid; }
  .links { position: absolute; left: 12px; right: 12px; top: 60px; display: grid; gap: 2px; padding: 8px; border-radius: 20px; background: rgba(250, 250, 248, 0.94); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: var(--glass-shadow); opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s; }
  .links a { height: 46px; padding: 0 14px; font-size: 16px; }
  .nav.open .links { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .nav.oss { background: rgba(250, 250, 248, 0.9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
  .brand { flex: 1; }
  .srcs, .pv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .op.wide { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  /* 讲故事改成一屏一张图，往下排 */
  .story-b { grid-template-columns: minmax(0, 1fr); }
  .stick { display: none; }
  .steps { padding: 20px 0 0; }
  .step { min-height: 0; opacity: 1; margin-top: 64px; }
  .step:first-child { margin-top: 36px; }
  .step .when { color: #fff; background: var(--ink); box-shadow: none; }
  .step p { max-width: 640px; }
  .step-shot { display: block; }
}
@media (max-width: 860px) {
  .probs { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .trio { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mem-side { grid-template-columns: minmax(0, 1fr); }
  .mem-body { grid-template-columns: minmax(0, 1fr); }
  .tree { display: flex; gap: 4px; overflow-x: auto; padding: 10px; border-right: 0; border-bottom: 0.5px solid var(--line); scrollbar-width: none; }
  .tree::-webkit-scrollbar { display: none; }
  .tree .dir, .tree li > span { display: none; }
  .tree li:not(:has(button)) { display: none; }
  .tree .in button, .tree button { padding: 6px 12px; width: auto; }
  .mem-body { min-height: 0; }
  .doc { min-height: 420px; }
  /* 核心图：来源排在上面，往下流进光标 */
  .idea { height: auto; padding: 26px 16px 22px; display: flex; flex-direction: column; gap: 56px; }
  .idea-nodes { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .nd, .nd:nth-child(n) { position: relative; left: auto; top: auto; transform: none; height: 36px; padding: 0 12px 0 10px; font-size: 13px; }
  .nd .ic { font-size: 16px; }
  .idea-core { position: relative; left: auto; top: auto; transform: none; width: min(420px, 100%); margin: 0 auto; }
}
@media (max-width: 640px) {
  :root { --sec-gap: 104px; }
  .hero { padding-top: 56px; }
  .hero-h { font-size: clamp(46px, 13.6vw, 64px); }
  .lead { font-size: 16px; }
  .hero-dev { margin-top: 52px; }
  .keystrip { margin-top: -14px; gap: 4px; padding: 6px; border-radius: 14px; }
  .kc { min-width: 30px; height: 30px; padding: 0 7px; font-size: 11.5px; border-radius: 8px; }
  .kc.wide { min-width: 50px; }
  .kc[data-k="shift"], .kc[data-k="opt"], .kc[data-k="left"], .kc[data-k="right"], .ks-gap:first-of-type { display: none; }
  .logos { margin-top: 72px; }
  .mq-t > span { height: 40px; font-size: 13px; padding-right: 14px; }
  .mq-t .mg { width: 26px; height: 26px; font-size: 12px; }
  h2 { font-size: clamp(29px, 8.4vw, 40px); }
  .big-h { font-size: clamp(32px, 9.6vw, 44px); }
  .sub { font-size: 16px; }
  .card { padding: 24px; }
  .kinds { grid-template-columns: minmax(0, 1fr); }
  .kind, .kind.wide, .kind:nth-child(n) { grid-column: auto; }
  .kind.wide .kv[data-k="dirs"] { display: flex; height: 290px; }
  .kv[data-k="dirs"] .field { min-height: 0; }
  .dirs { margin-top: 10px; }
  .keymap { justify-content: flex-start; padding: 18px; gap: 12px 18px; }
  .srcs, .pv, .safe, .oss { grid-template-columns: minmax(0, 1fr); }
  .oss .op:nth-child(3) { grid-column: auto; }
  .band { margin-left: 12px; margin-right: 12px; padding: 76px 20px 44px; border-radius: 32px; }
  .end { margin-left: 12px; margin-right: 12px; padding: 80px 20px 68px; border-radius: 32px; }
  .faq summary { font-size: 16.5px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-cols > div:last-child { grid-column: 1 / -1; }
  .ann { font-size: 12.5px; }
  .seen { padding: 14px; }
  .seen-chip { flex-wrap: wrap; height: auto; min-height: 40px; padding: 7px 8px 7px 12px; }
  .join-pill .btn { padding: 0 18px; }
  .join-pill input { padding-left: 14px; }
}

/* ---------- 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .hero-h .ln > span { transform: none; }
  .mq-t { animation: none !important; flex-wrap: wrap; justify-content: center; width: auto; }
  .mq { -webkit-mask-image: none; mask-image: none; }
  .caret { animation: none; }
}


/* 工作台分页：窄屏横向滑动，只留名字 */
@media (max-width: 640px) {
  .bench-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-left: -20px; margin-right: -20px; padding: 2px 20px 6px; scrollbar-width: none; }
  .bench-tabs::-webkit-scrollbar { display: none; }
  .bench-tabs button { flex: none; padding: 8px 12px; }
  .bench-tabs button small { display: none; }
}
