/* Kiteline 官网（relay/site/index.html）。不连任何外部资源：字体 Geist 自托管在 /assets/fonts（OFL），中文用系统字体；国内访问快，也不泄露访客信息。
   视觉跟 App 一致：纯黑底 + 半透明白的液态玻璃 + 品牌橙只做点缀（纸鸢、编号、选中）；背景一律纯色，渐变只用在首屏标题文字上；层次靠细线、颗粒、投影和 3D 变换。
   11-02 按 redesign-existing-projects 技能改版：字号、间距、圆角吸到标准档位，动效统一曲线，悬浮导航，常见问题并排，三栏卡片改错落双栏，图标换 Phosphor */
:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-2: #181818;
  --surface: #1f1f1f;
  --surface-2: #272727;
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .075);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --line-3: rgba(255, 255, 255, .22);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --brand: #d97757;
  --brand-hover: #e2825f;
  --brand-soft: rgba(217, 119, 87, .14);
  --brand-line: rgba(217, 119, 87, .36);
  --radius: 16px;
  --gutter: 24px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 30px 60px -32px rgba(0, 0, 0, .9);
  --shadow-lg: 0 70px 120px -40px rgba(0, 0, 0, .95), 0 30px 50px -30px rgba(0, 0, 0, .7);
  --sans: "Geist", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

*, *::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(--text);
  font: 16px/1.72 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
html[data-lang="en"] body { line-height: 1.62; }
.i18n-pending body { visibility: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: .92em; }
.brand { color: var(--brand); }
.dim { color: var(--text-3); }
.muted { color: var(--text-2); }

/* ---------- 标志：纸鸢（北京沙燕剪纸），随风轻轻摆 ---------- */
.logo { display: inline-flex; width: 26px; height: 26px; color: var(--brand); }
.logo svg { width: 100%; height: 100%; overflow: visible; transform-origin: 58% 28%; animation: sway 5.5s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-3%); } }

/* ---------- 阅读进度 ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--brand); transform-origin: left; transform: scaleX(var(--sp, 0)); }

/* ---------- 顶栏 ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .5s, border-color .5s; border-bottom: 1px solid transparent; }
.nav.solid, .nav.open { background: rgba(10, 10, 11, .82); border-color: var(--line); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); }
.nav > .wrap { display: flex; align-items: center; height: 60px; gap: 24px; }
.nav .home { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: .02em; font-size: 16px; }
.nav .links { display: flex; gap: 16px; margin-left: 8px; font-size: 14px; color: var(--text-2); }
.nav .links a { position: relative; padding: 4px 0; transition: color .3s; }
.nav .links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--brand); transform: scaleX(0); transition: transform .5s var(--ease); }
.nav .links a:hover, .nav .links a.on { color: var(--text); }
.nav .links a.on::after { transform: none; }
.nav .right { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 14px; }
.nav .support { color: var(--text-2); transition: color .3s; }
.nav .support:hover { color: var(--text); }
.lang { display: inline-flex; padding: 2px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.lang button { height: 26px; min-width: 34px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--text-3); transition: color .3s, background .3s; }
.lang button[aria-pressed="true"] { background: rgba(255, 255, 255, .1); color: var(--text); }
.lang button:hover { color: var(--text); }
.menu { display: none; width: 36px; height: 36px; border-radius: 8px; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); }
.menu svg { width: 18px; height: 18px; }
.sheet { display: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s, color .3s;
}
.btn:active { transform: scale(.98); }
.btn.sm { height: 34px; padding: 0 16px; font-size: 12px; }
.btn.primary { background: var(--text); color: #0b0b0c; }
.btn.primary:hover { background: #fff; }
.btn.ghost { color: var(--text); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.btn.ghost:hover { background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line-3); }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn[aria-disabled="true"] { cursor: default; color: var(--text-2); }
.btn[aria-disabled="true"]:hover { background: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn[aria-disabled="true"]:active { transform: none; }
.btn[aria-disabled="true"] svg { transform: none; }

/* ---------- 通用 ---------- */
section { position: relative; }
.sec { padding: 96px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); color: var(--brand); letter-spacing: .1em; margin: 0 0 16px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--brand); }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4.8vw, 48px); line-height: 1.14; }
h2.sub { font-size: clamp(24px, 3.4vw, 36px); }
h3 { font-size: 20px; line-height: 1.4; letter-spacing: -.01em; }
.lead { font-size: clamp(16px, 1.5vw, 18px); color: var(--text-2); line-height: 1.75; max-width: 680px; margin: 16px 0 0; }
.head { margin-bottom: 64px; }
.head.center { text-align: center; }
.head.center .lead { margin-left: auto; margin-right: auto; }
.head.center .eyebrow::after { content: ""; width: 18px; height: 1px; background: var(--brand); }
.note { color: var(--text-3); font-size: 12px; margin-top: 16px; }
.center-note { text-align: center; margin-top: 32px; }
.hash { display: inline-block; margin-left: .3em; font-size: .5em; font-weight: 500; color: var(--text-3); opacity: 0; vertical-align: middle; transition: opacity .3s, color .3s; }
h2:hover .hash, .hash:focus-visible { opacity: 1; }
.hash:hover { color: var(--brand); }

/* 进入视口浮现：用独立的 translate 属性，不和 3D 倾斜的 transform 打架 */
.js .reveal { opacity: 0; translate: 0 32px; transition: opacity .7s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s), transform var(--td, .7s) var(--ease), border-color .3s; }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* 面板：纯色 + 细线 + 投影 */
.panel { position: relative; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel:hover { border-color: rgba(255, 255, 255, .16); }

/* 3D 倾斜（鼠标）+ 内层浮起 */
[data-tilt] { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform var(--td, .7s) var(--ease), border-color .3s; }
[data-tilt] [data-z] { transform: translateZ(calc(var(--z, 0) * 1px)); }
/* 错层：外层随滚动以不同速度位移 */
.pw { transform: translate3d(0, calc((var(--p, .5) - .5) * var(--depth, 0) * 2px), 0); }

/* ---------- 设备外框（纯色金属边） ---------- */
.iphone { position: relative; width: 300px; aspect-ratio: 402 / 874; border-radius: 17% / 7.9%; background: #1c1c1e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 0 0 4px #0a0a0b, var(--shadow-lg); }
.iphone .screen { position: absolute; inset: 1.48% 3.2%; border-radius: 14% / 6.6%; overflow: hidden; background: #000; }
.iphone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.iphone .island { position: absolute; z-index: 3; top: 2.6%; left: 50%; width: 31%; height: 3.6%; transform: translateX(-50%); border-radius: 999px; background: #000; }
.iphone .status { position: absolute; z-index: 3; top: 2.7%; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 9.5%; font: 600 clamp(12px, 1.05vw, 13px)/1 var(--sans); color: #fff; pointer-events: none; }
.iphone .status svg { height: 1em; width: auto; }
.watch { position: relative; width: 180px; aspect-ratio: 422 / 514; border-radius: 26% / 22%; background: #222224; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 0 0 4px #0a0a0b, var(--shadow-lg); }
.watch::before { content: ""; position: absolute; right: -3.5%; top: 24%; width: 4.5%; height: 15%; border-radius: 2px 6px 6px 2px; background: #3a3a3d; }
.watch::after { content: ""; position: absolute; right: -2%; top: 46%; width: 2.6%; height: 17%; border-radius: 2px 4px 4px 2px; background: #2a2a2c; }
.watch .screen { position: absolute; inset: 5.03% 6%; border-radius: 20% / 17%; overflow: hidden; background: #000; }
.watch .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.window { border-radius: 12px; overflow: hidden; background: #1c1c1e; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), var(--shadow-lg); }
.window img { width: 100%; }
.window .chrome { display: flex; gap: 8px; align-items: center; height: 30px; padding: 0 12px; background: #252527; border-bottom: 1px solid rgba(0, 0, 0, .55); }
.window .chrome i { width: 11px; height: 11px; border-radius: 50%; background: #48484b; }
.window .chrome i:nth-child(1) { background: #ec6a5e; } .window .chrome i:nth-child(2) { background: #f4bf4f; } .window .chrome i:nth-child(3) { background: #61c554; }

/* ---------- 首屏：文案 + 纸鸢，风筝线落到下面的演示视频上 ---------- */
.hero { padding: 96px 0 24px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-bg .grid {
  position: absolute; inset: -1px; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 60% 45% at 70% 22%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse 60% 45% at 70% 22%, #000 15%, transparent 72%);
}
.hero .top { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 24px; align-items: center; }
.hero .copy { position: relative; }
.hero h1 { font-size: clamp(36px, 6.2vw, 72px); line-height: 1.08; letter-spacing: -.035em; }
html[data-lang="en"] .hero h1 { font-size: clamp(36px, 6vw, 72px); letter-spacing: -.04em; }
.hero h1 .dim { display: block; font-size: .44em; line-height: 1.3; letter-spacing: -.01em; margin-bottom: .3em; color: var(--text-2); }
.hero h1 br { display: none; }
.hero .lead { margin: 24px 0 0; max-width: 660px; }
.hero .cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 32px 0 0; font-size: 12px; color: var(--text-3); }
.hero .facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero .facts li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 4px; border-radius: 999px; font-size: 12px; color: var(--text-2); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line-2); margin-bottom: 24px; transition: box-shadow .3s, color .3s; }
.badge:hover { box-shadow: inset 0 0 0 1px var(--line-3); color: var(--text); }
.badge b { height: 22px; padding: 0 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font: 600 12px/22px var(--mono); letter-spacing: .06em; }
.badge svg { width: 13px; height: 13px; }
.badge { max-width: 100%; }
.hero .copy { min-width: 0; }   /* 徽标里的长句不换行，别把首屏这一列撑出屏幕 */
.badge b { flex: none; white-space: nowrap; }
.badge span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge svg { flex: none; }
.nw { white-space: nowrap; }
.sky { position: relative; height: clamp(300px, 34vw, 470px); }
.kite-big { position: absolute; right: 2%; top: 0; width: clamp(210px, 25vw, 360px); aspect-ratio: 1; color: var(--brand); transform-origin: 57.8% 28.1%; will-change: transform; }
.kite-big svg { width: 100%; height: 100%; overflow: visible; }
.kline { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.kline path { fill: none; stroke: var(--brand); stroke-width: 1.3; stroke-linecap: round; opacity: .75; }

/* ---------- 演示视频：玻璃画框 + 四个章节 ---------- */
.film { position: relative; z-index: 2; margin-top: 40px; scroll-margin-top: 90px; }
.film .frame { position: relative; padding: 8px; border-radius: 24px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .12), 0 70px 140px -50px rgba(0, 0, 0, .95), 0 30px 60px -30px rgba(0, 0, 0, .7); }
.film video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #0b0b0c center / cover no-repeat; cursor: pointer; }
.film .play { position: absolute; inset: 8px; display: grid; place-items: center; border-radius: 16px; transition: opacity .5s, background .5s; background: rgba(0, 0, 0, .18); }
.film .play span { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(28, 28, 31, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .2), 0 20px 40px rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); transition: transform .3s var(--ease); }
.film .play svg { width: 30px; height: 30px; margin-left: 4px; }
.film .play:hover span { transform: scale(1.06); }
.film.playing .play { opacity: 0; pointer-events: none; }
.film .snd { position: absolute; right: 26px; bottom: 26px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(28, 28, 31, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); opacity: 0; translate: 0 6px; transition: opacity .3s, translate .5s var(--ease), background .3s; }
.film.started .snd { opacity: 1; translate: 0 0; }
.film .snd:hover { background: rgba(44, 44, 48, .7); }
.film .fs { position: absolute; left: 26px; bottom: 26px;   /* 右上角留给视频里的「示意场景，画面由 AI 生成」 */ width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(28, 28, 31, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); opacity: 0; transition: opacity .3s, background .3s; }
.film.started .fs { opacity: 1; }
.film .fs:hover { background: rgba(44, 44, 48, .7); }
.film .fs svg { width: 17px; height: 17px; }
.film .snd svg { width: 18px; height: 18px; }
.film .snd .on, .film .snd .l1, .film .snd[aria-pressed="true"] .off, .film .snd[aria-pressed="true"] .l0 { display: none; }
.film .snd[aria-pressed="true"] .on, .film .snd[aria-pressed="true"] .l1 { display: inline; }
.chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.chap { position: relative; text-align: left; padding: 12px 16px 16px; border-radius: 16px; background: var(--glass); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); transition: background .3s, box-shadow .3s; }
.chap:hover { background: var(--glass-2); }
.chap.on { background: rgba(217, 119, 87, .1); box-shadow: inset 0 0 0 1px rgba(217, 119, 87, .34); }
.chap .pg { display: block; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-bottom: 12px; }
.chap .pg i { display: block; height: 100%; background: var(--brand); transform-origin: left; transform: scaleX(var(--pg, 0)); }
.chap b { font: 600 12px var(--mono); color: var(--text-3); letter-spacing: .08em; }
.chap.on b { color: var(--brand); }
.chap .t { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--text); }
.chap .d { display: block; margin-top: 4px; font-size: 12px; line-height: 1.55; color: var(--text-2); }

/* ---------- 价值：随滚动逐字点亮 ---------- */
.statement { height: 230vh; }
.statement .pin { position: sticky; top: 0; height: 100dvh; display: flex; align-items: center; }
.statement .say { margin: 0; font-size: clamp(24px, 3.9vw, 48px); line-height: 1.42; font-weight: 600; letter-spacing: -.02em; max-width: 1020px; }
html[data-lang="en"] .statement .say { line-height: 1.3; letter-spacing: -.025em; }
.statement .ch { opacity: clamp(.14, calc(var(--p, 0) * var(--n) * 1.15 - var(--i)), 1); transition: opacity .3s var(--ease); }
.statement .ch.hl { color: var(--brand); }

/* ---------- 等待对比 ---------- */
.rhythm-sec { padding-top: 40px; }
.rhythm { display: grid; gap: 24px; }
.track .label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; font-size: 14px; }
.track .label b { font-weight: 600; }
.track .label span { color: var(--text-3); font: 12px var(--mono); }
.bar { position: relative; display: flex; height: 54px; border-radius: 12px; overflow: hidden; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.bar i { position: relative; flex: var(--w) 0 0; display: flex; align-items: center; padding: 0 12px; font: normal 12px/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, .88);
  transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease); transition-delay: var(--d, 0s); }
.bar i.work { background: rgba(255, 255, 255, .12); border-right: 1px solid rgba(0, 0, 0, .45); }
.track.kl .bar i.work { background: rgba(217, 119, 87, .2); box-shadow: inset 0 0 0 1px rgba(217, 119, 87, .42); color: #fff; }
.bar i.wait { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 9px); color: var(--text-3); }
.bar i.tap { background: var(--text); flex-basis: 0; min-width: 3px; padding: 0; }
.rhythm.in .bar i { transform: none; }
.axis { display: flex; justify-content: space-between; color: var(--text-3); font: 12px var(--mono); margin-top: 8px; }
.sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.sum .pw:nth-child(2) { margin-top: 40px; }
.sum .panel { padding: 24px 24px; }
.sum .num { font: 600 clamp(30px, 4vw, 48px)/1 var(--sans); letter-spacing: -.03em; }
.sum .num small { font-size: .42em; color: var(--text-2); margin-left: 4px; font-weight: 500; letter-spacing: 0; }
.sum p { margin: 12px 0 0; color: var(--text-2); font-size: 14px; line-height: 1.6; }

/* ---------- 解决的问题：三列错层 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.cards > .pw:nth-child(3n+2) { margin-top: 48px; }
.cards > .pw:nth-child(3n+3) { margin-top: 24px; }
.card { padding: 24px 24px 32px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 24px; box-shadow: inset 0 0 0 1px var(--brand-line); }
.card .ico svg { width: 21px; height: 21px; }
.card .pain { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 12px; margin: 0 0 8px; }
.card .pain::before { content: ""; width: 10px; height: 1px; background: var(--text-3); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.72; }

/* ---------- 支持的 Agent ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; align-items: start; }
.steps3 > .pw:nth-child(2) { margin-top: 24px; }
.steps3 > .pw:nth-child(3) { margin-top: 12px; }
.s3 { padding: 24px 24px 24px; }
.s3 b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px; font: 600 18px var(--mono); color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand-line); }
.s3 h3 { font-size: 20px; margin-bottom: 8px; }
.s3 p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.7; }
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.agents > .pw:nth-child(2) { margin-top: 48px; }
.agents > .pw:nth-child(3) { margin-top: 16px; }
.agent { padding: 24px 24px 32px; }
.agent .tag { margin: 0 0 16px; font: 500 12px var(--mono); letter-spacing: .1em; color: var(--brand); }
.agent h3 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 8px; }
.agent .where { margin: 0; color: var(--text-2); font-size: 14px; }
.agent ul { margin: 16px 0 0; padding: 16px 0 0; list-style: none; display: grid; gap: 8px; border-top: 1px solid var(--line); }
.agent li { position: relative; padding-left: 16px; color: var(--text-2); font-size: 14px; line-height: 1.65; }
.agent li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--brand); }
.agent-phones { display: flex; justify-content: center; align-items: center; gap: clamp(16px, 4vw, 56px); margin-top: 80px; perspective: 1800px; }
.agent-phones .iphone { width: clamp(200px, 22vw, 290px); flex: none; }
.agent-phones .side { width: clamp(170px, 18.5vw, 245px); opacity: .9; }
.agent-phones .side:first-child { transform: rotateY(calc(18deg - var(--p, .5) * 16deg)) translateZ(-40px); }
.agent-phones .side:last-child { transform: rotateY(calc(-18deg + var(--p, .5) * 16deg)) translateZ(-40px); }

/* ---------- 功能导览：手机钉住，画面渐隐渐显 ---------- */
.tour { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.tour .steps { padding: 8vh 0 18vh; }
.tour .step { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; max-width: 470px; opacity: .22; transition: opacity .7s var(--ease); scroll-margin-top: 20vh; }
.tour .step.on { opacity: 1; }
.tour .step .k { font: 500 12px var(--mono); color: var(--brand); letter-spacing: .08em; margin-bottom: 16px; }
.tour .step h3 { font-size: clamp(24px, 2.9vw, 36px); line-height: 1.22; letter-spacing: -.025em; margin-bottom: 16px; }
.tour .step p { margin: 0; color: var(--text-2); }
.tour .step ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tour .step li { position: relative; padding-left: 16px; color: var(--text-2); font-size: 14px; }
.tour .step li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 8px; height: 1px; background: var(--brand); }
.tour .step .shot { display: none; }
.tour .phone-col { position: relative; }
.tour .sticky { position: sticky; top: calc(50vh - min(340px, 41vh)); height: min(680px, 82vh); display: flex; justify-content: center; align-items: center; perspective: 1700px; }
.tour .backplate {
  position: absolute; width: 70%; height: 74%; border-radius: 24px; border: 1px solid var(--line);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px;
  transform: translate3d(18%, 8%, -220px) rotateY(var(--ry, -16deg)); transition: transform 1.4s var(--ease); opacity: .55;
}
.tour .device { position: relative; height: 100%; transform-style: preserve-3d; transform: rotateY(var(--ry, -16deg)) rotateX(var(--rx, 5deg)); transition: transform 1.2s var(--ease); }
.tour .device .iphone { width: auto; height: 100%; }
.tour .phone-col .screen img { opacity: 0; transform: scale(1.02) translateY(6px); transition: opacity .75s var(--ease), transform 1s var(--ease); }
.tour .phone-col .screen img.on { opacity: 1; transform: none; }
.tour .phone-col .screen img.top { z-index: 2; }
.tour .chip3d { position: absolute; left: -30%; bottom: 13%; display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 12px; background: rgba(28, 28, 31, .95); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); white-space: nowrap; transform: translateZ(110px); font-size: 14px; }
.tour .chip3d .n { font: 600 12px var(--mono); color: var(--brand); }
.tour .chip3d .t { transition: opacity .3s, transform .5s var(--ease); }
.tour .chip3d.swap .t { opacity: 0; transform: translateY(4px); }
.tour .dots { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 12px; }
.tour .dots a { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background .3s, transform .3s; }
.tour .dots a:hover { background: var(--text-2); }
.tour .dots a.on { background: var(--brand); transform: scale(1.3); }

/* ---------- 平台 ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.subnav a { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: color .3s, box-shadow .3s; }
.subnav a:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-3); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { padding: 32px; display: flex; flex-direction: column; min-height: 300px; overflow: hidden; scroll-margin-top: 90px; }
.tile .tag { font: 500 12px var(--mono); color: var(--text-3); letter-spacing: .06em; margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.tile .tag b { color: var(--brand); font-weight: 500; }
.tile h3 { font-size: 24px; line-height: 1.28; margin-bottom: 12px; }
.tile p { margin: 0; color: var(--text-2); font-size: 14px; }
.tile ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.tile li { padding-left: 16px; position: relative; }
.tile li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--brand); }
.tile.mac { grid-column: span 6; display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; padding: 48px 0 48px 48px; min-height: 0; }
.tile.mac .win3d { perspective: 1600px; }
.tile.mac .window { border-radius: 12px 0 0 12px; transform-origin: 0 50%; transform: rotateY(calc((1 - var(--p, 1)) * -24deg)) translateX(calc((1 - var(--p, 1)) * 60px)); transition: transform .3s var(--ease); }
.bento { grid-auto-flow: row dense; }
.tile.iphone-t, .tile.duo-t, .tile.ipad-t, .tile.host-t { grid-column: span 3; }
.tile.watch-t { grid-column: span 6; }
.tile .art { margin-top: auto; padding-top: 32px; display: flex; justify-content: center; align-items: flex-end; gap: 16px; transform-style: preserve-3d; }
.tile.iphone-t .art { margin-bottom: -150px; }
.tile.iphone-t .iphone { width: 46%; }
.tile.iphone-t .iphone + .iphone { margin-bottom: 48px; }
.tile.ipad-t .art { margin-bottom: -200px; }
.tile.ipad-t .ipad { width: 78%; border-radius: 24px; padding: 8px; background: #1c1c1e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 0 4px #0a0a0b, var(--shadow-lg); }
.tile.ipad-t .ipad img { border-radius: 16px; }
.tile.duo-t .art { position: relative; justify-content: flex-start; align-items: flex-end; min-height: 300px; }
.tile.duo-t .duo-in { width: 82%; margin-left: 18%; border-radius: 16px; padding: 4px; background: #1c1c1e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 0 4px #0a0a0b, var(--shadow-lg); }
.tile.duo-t .duo-in img { border-radius: 12px; }
.tile.duo-t .duo-out { position: absolute; left: 0; bottom: 18px; width: 34%; border-radius: 16px; padding: 4px; background: #1c1c1e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 0 0 4px #0a0a0b, var(--shadow-lg); z-index: 2; }
.tile.duo-t .duo-out img { border-radius: 12px; }
.tile.watch-t .art { justify-content: flex-start; gap: 16px; padding-left: 4px; transform: translateX(calc((.5 - var(--p, .5)) * 240px)); }
.tile.watch-t .watch { width: 176px; flex: none; }
.tile.watch-t .art { gap: 24px; padding-left: 8px; }
.term { margin-top: auto; border-radius: 12px; background: #070708; box-shadow: inset 0 0 0 1px var(--line); padding: 16px 16px; font: 12px/1.75 var(--mono); color: var(--text-2); overflow: hidden; }
.term .c { color: var(--text-3); }
.term .p { color: var(--brand); }
.term .ok { color: #8fcf8f; }

/* ---------- 场景：左右交错的时间线 ---------- */
.day { position: relative; max-width: 1040px; margin: 0 auto; }
.day .rail { position: absolute; left: 50%; top: 8px; bottom: 8px; width: 1px; margin-left: -.5px; background: var(--line-2); }
.day .rail i { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p, 0) * 100%); background: var(--brand); }
.moment { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 96px; padding: 16px 0; scroll-margin-top: 30vh; }
.moment time { grid-row: 1; padding-top: 16px; font: 600 20px/1.4 var(--mono); color: var(--text-3); letter-spacing: -.02em; transition: color .5s; }
.moment .pw { grid-row: 1; }
.moment:nth-child(even) .pw { grid-column: 1; }
.moment:nth-child(even) time { grid-column: 2; }
.moment:nth-child(odd) .pw { grid-column: 2; }
.moment:nth-child(odd) time { grid-column: 1; text-align: right; }
.moment .dot { position: absolute; left: 50%; top: 52px; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-3); transition: box-shadow .5s, background .5s; }
.moment.lit time { color: var(--text); }
.moment.lit .dot { background: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); }
.moment .body { padding: 24px 24px; }
.moment h3 { font-size: 18px; margin-bottom: 4px; }
.moment p { margin: 0; color: var(--text-2); font-size: 14px; }
.moment .chip { display: inline-block; margin-top: 12px; font: 12px/1 var(--mono); color: var(--brand); background: var(--brand-soft); padding: 4px 8px; border-radius: 6px; }

/* ---------- 架构：从斜面落到平面 ---------- */
.arch-wrap { perspective: 2000px; }
.arch { display: grid; grid-template-columns: 1.05fr 104px 1.15fr 132px 1fr 104px .8fr; align-items: stretch; transform-style: preserve-3d; transform-origin: 50% 100%;
  transform: rotateX(calc((1 - var(--p, 1)) * 40deg)) translateY(calc((1 - var(--p, 1)) * 30px)); transition: transform .3s var(--ease); }
@media (min-width: 1320px) { .arch { margin: 0 -70px; } }
.node { padding: 16px 16px; min-height: 230px; display: flex; flex-direction: column; }
.node .k { font: 500 12px var(--mono); color: var(--text-3); letter-spacing: .08em; margin-bottom: 8px; }
.node h4 { margin: 0 0 12px; font-size: 16px; font-weight: 600; }
.node ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font: 12px/1.55 var(--mono); color: var(--text-2); overflow-wrap: anywhere; }
.node li::before { content: "› "; color: var(--brand); }
.node.mac { border-color: var(--brand-line); transform: translateZ(40px); }
.link { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 0 8px; }
.lane .wire { position: relative; height: 1px; background: var(--line-3); overflow: hidden; }
.lane .wire::after { content: ""; position: absolute; top: 0; left: -24%; width: 24%; height: 100%; background: var(--brand); animation: flow 2.4s linear infinite; animation-delay: var(--d, 0s); }
.lane.back .wire::after { animation-direction: reverse; }
@keyframes flow { to { left: 100%; } }
@keyframes flowv { to { top: 100%; } }
.lane .proto { display: block; text-align: center; font: 12px/1.45 var(--mono); color: var(--text-2); margin-bottom: 8px; }
.lane .proto small { display: block; color: var(--text-3); font-size: 12px; }
.relay { margin: 24px auto 0; max-width: 600px; padding: 16px 16px; display: flex; gap: 16px; align-items: center; font-size: 14px; color: var(--text-2); }
.relay svg { flex: none; width: 26px; height: 26px; color: var(--brand); }
.relay b { color: var(--text); font-weight: 600; }

.stream { margin-top: 96px; display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; scroll-margin-top: 100px; }
.stream h3 { font-size: clamp(24px, 3vw, 36px); line-height: 1.25; margin-bottom: 16px; }
.console { border-radius: 16px; background: #070708; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); overflow: hidden; }
.console .bar2 { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--text-3); }
.console .bar2 i { width: 10px; height: 10px; border-radius: 50%; background: #2b2b2e; }
.console .bar2 span { margin-left: 8px; }
.console pre { margin: 0; padding: 16px 16px 16px; min-height: 330px; font: 12px/1.8 var(--mono); color: var(--text-2); white-space: pre-wrap; word-break: break-all; }
.console .row { display: block; animation: rowIn .45s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } }
.console .in { color: var(--text-3); }
.console .ev { color: var(--brand); }
.console .s { color: var(--text); }
.console .cur { display: inline-block; width: 7px; height: 1.1em; vertical-align: -2px; background: var(--brand); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 96px; align-items: start; scroll-margin-top: 100px; }
.specs > .pw:nth-child(3n+2) { margin-top: 48px; }
.specs > .pw:nth-child(3n+3) { margin-top: 16px; }
.spec { padding: 24px; }
.spec .k { font: 500 12px var(--mono); color: var(--brand); letter-spacing: .08em; margin-bottom: 12px; }
.spec h3 { font-size: 18px; margin-bottom: 8px; }
.spec p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.75; }
.spec code { font: 12px var(--mono); color: var(--text); background: rgba(255, 255, 255, .06); padding: 0 4px; border-radius: 4px; }

.deliver { margin-top: 96px; padding: 40px; display: grid; grid-template-columns: 4fr 6fr; gap: 48px; scroll-margin-top: 100px; }
.deliver h3 { font-size: 24px; line-height: 1.3; margin-bottom: 12px; }
.deliver .muted { margin: 0; font-size: 14px; }
.deliver b { color: var(--text); font-weight: 600; }
.flowlist { display: grid; counter-reset: s; }
.flowlist div { position: relative; padding: 0 0 16px 40px; color: var(--text-2); font-size: 14px; }
.flowlist div::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 12px var(--mono); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-line); }
.flowlist div::after { content: ""; position: absolute; left: 13.5px; top: 32px; bottom: 4px; width: 1px; background: var(--line-2); }
.flowlist div:last-child::after { display: none; }

/* ---------- 安全：3D 陀螺环 ---------- */
.lock { position: relative; height: 250px; margin-bottom: 64px; display: grid; place-items: center; perspective: 900px; }
.lock .ring { position: absolute; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transform-style: preserve-3d; }
.lock .ring::after { content: ""; position: absolute; top: 50%; left: -3px; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--brand); }
.lock .ring:nth-child(1) { width: 170px; height: 170px; animation: gyro1 14s linear infinite; }
.lock .ring:nth-child(2) { width: 300px; height: 300px; animation: gyro2 22s linear infinite; }
.lock .ring:nth-child(3) { width: 440px; height: 440px; animation: gyro3 34s linear infinite; opacity: .7; }
@keyframes gyro1 { from { transform: rotateX(68deg) rotateY(-12deg) rotateZ(0); } to { transform: rotateX(68deg) rotateY(-12deg) rotateZ(360deg); } }
@keyframes gyro2 { from { transform: rotateX(64deg) rotateY(18deg) rotateZ(360deg); } to { transform: rotateX(64deg) rotateY(18deg) rotateZ(0); } }
@keyframes gyro3 { from { transform: rotateX(74deg) rotateY(4deg) rotateZ(0); } to { transform: rotateX(74deg) rotateY(4deg) rotateZ(360deg); } }
.lock .core { position: relative; width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .18), var(--shadow-lg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.lock .core svg { width: 36px; height: 36px; color: var(--brand); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.pillars > .pw:nth-child(even) { margin-top: 32px; }
.pillar { padding: 24px; }
.pillar .big { font: 600 36px/1 var(--sans); letter-spacing: -.03em; margin-bottom: 16px; }
.pillar .big span { color: var(--brand); }
.pillar h3 { font-size: 16px; margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.7; }

/* ---------- 开始使用：阶梯错层 ---------- */
.start { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.start > .panel { padding: 24px 24px; display: flex; flex-direction: column; scroll-margin-top: 100px; }
.start > .panel:nth-child(2) { margin-top: 24px; }
.start > .panel:nth-child(3) { margin-top: 48px; }
.start > .panel:nth-child(4) { margin-top: 80px; }
.start .n { font: 600 12px var(--mono); color: var(--brand); letter-spacing: .08em; margin-bottom: 16px; }
.start h3 { font-size: 18px; margin-bottom: 8px; }
.start p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.75; }
.start .foot { margin-top: auto; padding-top: 16px; }
.start .meta { display: block; margin-top: 12px; font-size: 12px; color: var(--text-3); line-height: 1.6; }
.dl-list { display: grid; gap: 8px; }
.dlrow { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; column-gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, box-shadow .3s; }
.dlrow svg { width: 16px; height: 16px; color: var(--text-2); }
.dlrow .nm { font-size: 14px; font-weight: 600; }
.dlrow .st { font: 12px var(--mono); color: var(--text-3); text-align: right; white-space: nowrap; }
.dlrow small { grid-column: 2 / -1; font-size: 12px; line-height: 1.5; color: var(--text-3); margin-top: 2px; }
a.dlrow[href]:hover { background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line-3); }
a.dlrow[href] svg { color: var(--brand); }
.dlrow[aria-disabled="true"] { cursor: default; }
.dlrow[aria-disabled="true"] .nm { color: var(--text-2); }
.dl-meta .others { margin-left: 12px; }
.dl-meta .others a { color: var(--text-2); margin-left: 8px; border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.dl-meta .others a:hover { color: var(--text); border-color: var(--text-2); }
.dl-meta .others a[hidden] { display: none; }

.usage { margin-top: 96px; scroll-margin-top: 90px; }
.usage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.usage-grid > div { background: var(--bg-2); padding: 24px 24px 24px; transition: background .3s; }
.usage-grid > div:hover { background: var(--surface-2); }
.usage-grid h4 { margin: 0 0 8px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.usage-grid h4 svg { width: 17px; height: 17px; color: var(--brand); flex: none; }
.usage-grid p { margin: 0; font-size: 12px; line-height: 1.7; color: var(--text-2); }
.usage-grid kbd { font: 12px var(--mono); padding: 0 4px; border-radius: 4px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08); color: var(--text); }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 96px; align-items: start; scroll-margin-top: 90px; }
.plans > .pw:nth-child(2) { margin-top: -28px; }
.plan { padding: 32px; }
.plan .name { font: 600 12px var(--mono); letter-spacing: .1em; color: var(--text-3); margin-bottom: 12px; }
.plan h3 { font-size: 24px; margin-bottom: 8px; }
.plan > p { margin: 0 0 24px; color: var(--text-2); font-size: 14px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--brand); }
.plan.pro { border-color: var(--brand-line); }
.plan.pro .name { color: var(--brand); }

/* ---------- 常见问题 ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 18px; font-weight: 600; position: relative; transition: color .3s; }
.faq summary:hover { color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2); transform: rotate(45deg); transition: transform .5s var(--ease), margin .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .ans p { margin: -6px 0 24px; color: var(--text-2); font-size: 14px; max-width: 760px; }
.faq details[open] .ans { animation: ansIn .45s var(--ease); }
@keyframes ansIn { from { opacity: 0; transform: translateY(-6px); } }
.faq details.flash summary { color: var(--brand); }

/* ---------- 收尾 ---------- */
.final { text-align: center; padding: 96px 0 96px; overflow: hidden; }
.bigkite { position: relative; width: min(250px, 58vw); aspect-ratio: 400 / 560; margin: 0 auto 8px; animation: float 6.8s ease-in-out infinite; }
.bigkite .k { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1; color: var(--brand); transform-origin: 57.8% 28.1%; animation: sway 5.5s ease-in-out infinite; }
.bigkite .k svg { width: 100%; height: 100%; overflow: visible; }
.bigkite .line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bigkite .line path { fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; opacity: .8; stroke-dasharray: 1; stroke-dashoffset: calc(1 - min(1, var(--p, 1) * 1.9)); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.final h2 { font-size: clamp(36px, 5.6vw, 72px); line-height: 1.12; }
.final .cta { display: flex; justify-content: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.dl-meta { margin-top: 16px; color: var(--text-3); font-size: 12px; }

footer { border-top: 1px solid var(--line); padding: 48px 0 48px; color: var(--text-3); font-size: 12px; }
footer .cols { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr; gap: 24px; }
footer .home { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
footer .logo svg { animation: none; }
footer .brandcol p { margin: 0; max-width: 320px; line-height: 1.7; }
footer nav { display: flex; flex-direction: column; gap: 8px; }
footer h5 { margin: 0 0 4px; font-size: 12px; font-weight: 600; color: var(--text-2); letter-spacing: .06em; }
footer nav a { transition: color .3s; width: fit-content; }
footer nav a:hover { color: var(--text); }
footer .legal { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); line-height: 1.8; font-size: 12px; }

.totop { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(24, 24, 27, .9); border: 1px solid var(--line-2); box-shadow: var(--shadow); opacity: 0; translate: 0 12px; pointer-events: none; transition: opacity .3s, translate .5s var(--ease), border-color .3s; }
.totop.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.totop:hover { border-color: var(--line-3); }
.totop svg { width: 18px; height: 18px; }

/* ---------- 只给一种语言看的（data-only="zh|en"）：中文的介绍视频章节、「观看讲解」等 ---------- */
html:not([data-lang="en"]) [data-only="en"], html[data-lang="en"] [data-only="zh"] { display: none !important; }

/* ---------- 首屏视频：中文七章（一条视频按时间跳），章节号旁边是开始时间 ---------- */
.chapters.c7 { grid-template-columns: repeat(7, 1fr); gap: 8px; }
.c7 .chap { padding: 12px 12px 12px; border-radius: 16px; }
.c7 .chap .pg { margin-bottom: 8px; }
.c7 .chap .t { margin-top: 4px; font-size: 14px; }
.c7 .chap .d { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chap b .tm { margin-left: 8px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }

/* ---------- 支持的 Agent：上排三张、下排两张（DeepSeek Harness、插件市场） ---------- */
.agents { grid-template-columns: repeat(6, 1fr); }
.agents > .pw { grid-column: span 2; }
.agents > .pw:nth-child(n+4) { grid-column: span 3; margin-top: 0; }
.agents > .pw:nth-child(5) { margin-top: 32px; }
.agent .plug-shot { margin: 24px 0 0; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0, 0, 0, .9); }

/* ---------- 写实场景：晚高峰的地铁（玻璃说明卡压在照片右上，照片随滚动轻微视差） ---------- */
.photo { position: relative; margin: 0 0 96px; border-radius: 24px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
.photo .ph { aspect-ratio: 1560 / 872; overflow: hidden; }
.photo .ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07) translateY(calc((var(--p, .5) - .5) * -40px)); }
.photo .cap { position: absolute; right: 30px; top: 30px; width: min(400px, 38%); padding: 24px 24px 24px; border-radius: 16px; background: rgba(16, 16, 18, .58); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 60px -30px rgba(0, 0, 0, .85); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); }
.photo .cap .eyebrow { margin-bottom: 12px; }
.photo .cap h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -.02em; margin-bottom: 12px; }
.photo .cap p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 14px; line-height: 1.72; }
.photo .ai { position: absolute; left: 18px; bottom: 14px; font-size: 12px; color: rgba(255, 255, 255, .6); text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }

/* ---------- 自带技能：左边三项，右边两张测试报告错层叠放 ---------- */
.skills { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.skill-list { display: grid; gap: 16px; }
.skill { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 24px 24px; }
.skill .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-line); }
.skill .ico svg { width: 21px; height: 21px; }
.skill h3 { font-size: 18px; margin-bottom: 4px; }
.skill p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.72; }
.say-it { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--text-3); font-size: 14px; }
.say-it q { quotes: none; padding: 4px 12px; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font-size: 12px; }
.say-it q::before { content: "「"; } .say-it q::after { content: "」"; }
html[data-lang="en"] .say-it q::before { content: "“"; } html[data-lang="en"] .say-it q::after { content: "”"; }
.report-art { position: relative; height: 640px; perspective: 1600px; transform-style: preserve-3d; }
.report-art .sheet-a, .report-art .sheet-b { position: absolute; width: 66%; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), var(--shadow-lg); transition: transform .3s var(--ease); }
.report-art img { width: 100%; }
.report-art .sheet-b { right: 0; top: 0; max-height: 560px; transform: rotateY(-12deg) translate3d(0, calc((var(--p, .5) - .5) * 70px), -80px); }
.report-art .sheet-a { left: 0; bottom: 44px; transform: rotateY(-12deg) translate3d(0, calc((var(--p, .5) - .5) * -50px), 40px); }
.chip-pass { position: absolute; right: 2%; bottom: 0; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; background: rgba(24, 24, 27, .9); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.chip-pass svg { width: 16px; height: 16px; color: var(--brand); }
#skills .note { margin-top: 40px; }

/* ---------- 世界模式：无声循环的园区画面从斜面摆正，下面四种状态 ---------- */
.world-stage { perspective: 2000px; }
.world-stage .frame { padding: 8px; border-radius: 24px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .12), 0 70px 140px -50px rgba(0, 0, 0, .95), 0 30px 60px -30px rgba(0, 0, 0, .7);
  transform-origin: 50% 100%; transform: rotateX(calc((1 - var(--p, 1)) * 16deg)) scale(calc(.95 + var(--p, 1) * .05)); transition: transform .3s var(--ease); }
.world-stage video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #0b0b0c center / cover no-repeat; }
.world-states { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.ws { margin: 0; overflow: hidden; }
.ws img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 1px solid var(--line); }
.ws figcaption { padding: 12px 16px 16px; display: grid; gap: 2px; }
.ws b { font-size: 14px; font-weight: 600; }
.ws span { font-size: 12px; line-height: 1.55; color: var(--text-2); }
.world-how { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; color: var(--text-2); font-size: 14px; line-height: 1.7; }
.world-how li { position: relative; padding-left: 16px; }
.world-how li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--brand); }
.world-how b { color: var(--text); font-weight: 600; margin-right: 4px; }

.final .slogan { margin: 16px 0 0; color: var(--text-2); font-size: clamp(16px, 1.7vw, 20px); letter-spacing: .03em; }

/* ---------- 窄屏 ---------- */
@media (max-width: 1080px) {
  .chapters.c7 { grid-template-columns: repeat(4, 1fr); }
  .agents > .pw:nth-child(n) { grid-column: auto; }
  .skills { gap: 40px; }
  .nav .links, .nav .support { display: none; }
  .menu { display: grid; }
  .sheet { display: none; grid-template-columns: 1fr 1fr; gap: 2px 16px; padding: 10px var(--gutter) 22px; border-top: 1px solid var(--line); }
  .nav.open .sheet { display: grid; }
  .sheet a { padding: 8px 0; color: var(--text-2); font-size: 14px; border-bottom: 1px solid var(--line); }
  .sheet a.on, .sheet a:hover { color: var(--text); }
  .arch { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin: 0 auto; transform: none !important; }
  .node { min-height: 0; }
  .node.mac { transform: none; }
  .link { height: auto; flex-direction: row; justify-content: center; gap: 16px; padding: 12px 0; }
  .lane { display: flex; flex-direction: row-reverse; align-items: center; gap: 12px; }
  .lane .wire { width: 1px; height: 44px; }
  .lane .wire::after { left: 0; top: -30%; width: 100%; height: 30%; animation-name: flowv; }
  .lane .proto { text-align: left; margin: 0; }
  .start { grid-template-columns: 1fr 1fr; }
  .chapters { grid-template-columns: 1fr 1fr; }
  .agents { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .steps3 { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto 48px; }
  .steps3 > .pw:nth-child(n) { margin-top: 0; }
  .agents > .pw:nth-child(n) { margin-top: 0; }
  .start > .panel:nth-child(n) { margin-top: 0; }
  .start > .panel:nth-child(even) { margin-top: 24px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .usage-grid { grid-template-columns: 1fr 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr 1fr; }
  footer .brandcol { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .sec { padding: 96px 0; }
  .head { margin-bottom: 48px; }
  .cards, .specs { grid-template-columns: 1fr 1fr; }
  .cards > .pw:nth-child(n), .specs > .pw:nth-child(n) { margin-top: 0; }
  .cards > .pw:nth-child(even), .specs > .pw:nth-child(even) { margin-top: 32px; }
  .tour { display: block; }
  .tour .phone-col { display: none; }
  .tour .steps { padding: 0; }
  .tour .step { min-height: 0; opacity: 1; max-width: none; padding: 24px 0 48px; }
  .tour .step .shot { display: block; margin: 32px auto 0; width: min(270px, 72%); }
  .bento { grid-template-columns: 1fr; }
  .tile.mac, .tile.iphone-t, .tile.duo-t, .tile.ipad-t, .tile.watch-t, .tile.host-t { grid-column: auto; }
  .hero .top { grid-template-columns: 1fr; }
  .sky { height: 220px; margin-top: 4px; }
  .kite-big { right: 10%; width: 200px; }
  .film { margin-top: 8px; }
  .agent-phones .side { display: none; }
  .tile.mac { grid-template-columns: 1fr; padding: 32px 0 0 32px; }
  .tile.mac .copy { padding-right: 32px; }
  .day .rail { left: 7px; }
  .moment, .moment:nth-child(n) { grid-template-columns: 1fr; padding: 16px 0 16px 32px; }
  .moment:nth-child(n) time { grid-column: 1; grid-row: 1; text-align: left; padding-top: 0; font-size: 16px; margin-bottom: 8px; }
  .moment:nth-child(n) .pw { grid-column: 1; grid-row: 2; }
  .moment .dot { left: 7px; top: 22px; }
  .stream, .deliver { grid-template-columns: 1fr; }
  .deliver { padding: 32px; gap: 24px; }
  .plans { grid-template-columns: 1fr; }
  .plans > .pw:nth-child(2) { margin-top: 0; }
  .sum { grid-template-columns: 1fr; }
  .sum .pw:nth-child(2) { margin-top: 0; }
  .photo { margin-bottom: 80px; }
  .photo .cap { position: static; width: auto; border-radius: 0; background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border-top: 1px solid var(--line); }
  .photo .ai { bottom: auto; top: 12px; left: 14px; }
  .skills { grid-template-columns: 1fr; }
  .report-art { height: 560px; max-width: 560px; width: 100%; margin: 0 auto; }
  .world-states { grid-template-columns: 1fr 1fr; }
  .world-how { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .sec { padding: 80px 0; }
  .nav .cta { display: none; }
  .hero { padding-top: 96px; }
  .hero .cta .btn { flex: 1 1 100%; }
  .sky { height: 170px; }
  .kite-big { right: 6%; width: 150px; }
  .film { margin-top: 4px; }
  .film .frame { padding: 4px; border-radius: 16px; }
  .film video, .film .play { border-radius: 12px; }
  .film .play { inset: 4px; }
  .film .play span { width: 62px; height: 62px; }
  .film .snd { right: 14px; bottom: 14px; height: 34px; font-size: 12px; }
  .film .fs { left: 14px; bottom: 14px; width: 34px; height: 34px; }
  .chapters { gap: 8px; }
  .chap { padding: 8px 12px 12px; border-radius: 12px; }
  .chap .t { font-size: 14px; }
  .chap .d { display: none; }
  /* 七章放不下：横向滑动，当前章自动滑进来 */
  .chapters.c7 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 10px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 2px; scroll-padding: 0 var(--gutter); }
  .chapters.c7::-webkit-scrollbar { display: none; }
  .c7 .chap { flex: 0 0 136px; scroll-snap-align: start; }
  .photo { border-radius: 16px; margin-bottom: 64px; }
  .photo .cap { padding: 16px 16px 24px; }
  .skill { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .report-art { height: 470px; }
  .report-art .sheet-b { max-height: 400px; }
  .chip-pass { font-size: 12px; padding: 8px 12px; }
  .world-stage .frame { padding: 4px; border-radius: 16px; }
  .world-stage video { border-radius: 12px; }
  .world-states { gap: 8px; }
  .ws figcaption { padding: 8px 12px 12px; }
  .ws b { font-size: 14px; }
  .ws span { font-size: 12px; }
  .statement { height: 200vh; }
  .cards, .specs, .pillars, .start { grid-template-columns: 1fr; }
  .cards > .pw:nth-child(n), .specs > .pw:nth-child(n), .pillars > .pw:nth-child(n), .start > .panel:nth-child(n) { margin-top: 0; }
  .usage-grid { grid-template-columns: 1fr 1fr; }
  .usage-grid > div { padding: 16px 16px 16px; }
  .card, .spec, .pillar, .start > .panel { padding: 24px; }
  .tile { padding: 24px; min-height: 0; }
  .tile.mac { padding: 24px 0 0 24px; }
  .tile.mac .copy { padding-right: 24px; }
  .tile.iphone-t .art { margin-bottom: -110px; }
  .tile.watch-t .watch { width: 120px; }
  .moment .body { padding: 16px 16px; }
  .bar { height: 44px; }
  .bar i { font-size: 0; padding: 0; }
  .deliver { padding: 24px; }
  .plan { padding: 24px; }
  .faq summary { font-size: 16px; }
  .lock { height: 210px; margin-bottom: 40px; overflow: hidden; }   /* 转动的圆环透视后会比屏幕宽几像素，别让整页能横着拖 */
  .lock .ring:nth-child(3) { width: 330px; height: 330px; }
  .final { padding: 96px 0 96px; }
  .final h2 { font-size: 30px; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .totop { right: 14px; bottom: 14px; }
}

/* 触屏不做鼠标倾斜 */
@media (hover: none) { [data-tilt] { transform: none !important; } }

/* 系统开了「减弱动态效果」：淡入、逐字点亮、纸鸢轻摆、视频照常（和 App 一致，全关掉会让人以为页面坏了），
   只去掉大幅位移、视差错层和 3D 倾斜 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { translate: none; }
  .pw, [data-tilt], .tile.mac .window, .tile.watch-t .art, .arch, .tour .device, .tour .backplate, .agent-phones .side, .world-stage .frame { transform: none !important; }
  .photo .ph img { transform: scale(1.02); }
  .report-art .sheet-a, .report-art .sheet-b { transform: rotateY(-8deg) !important; }
  .tour .phone-col .screen img { transform: none; }
}


/* ===================================================================== 11-02 改版层（redesign-existing-projects） */

/* 颗粒质感：纯色背景上一层很淡的噪点，代替渐变 */
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* 排版：标题不留孤字，正文更舒展，数字等宽 */
h1, h2, h3, h4, .say { text-wrap: balance; }
p, li, dd, .lead { text-wrap: pretty; }
.sum .num, .pillar .big, .moment time, .tour .chip3d .n, .axis, .track .label span { font-variant-numeric: tabular-nums; }
.lead { max-width: 680px; }

/* 首屏标题：白到灰的文字渐变（只用在文字上） */
.hero h1 { max-width: 680px; background: linear-gradient(90deg, #ffffff, #9b9b9b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .dim { color: var(--text-2); -webkit-text-fill-color: var(--text-2); }
.hero .lead { max-width: 680px; }

/* 按钮：上下 8、左右 12；主按钮 16 号、顶栏按钮 14 号，半粗 */
.btn { height: auto; padding: 8px 12px; border-radius: 12px; font-size: 16px; line-height: 24px; font-weight: 600; }
.btn.sm { padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 20px; }
.btn:focus-visible { outline-offset: 2px; }

/* 徽标：方角，不用胶囊 */
.badge { border-radius: 6px; }
.badge b { border-radius: 4px; }

/* 悬浮导航：离开顶边、按内容宽度、半透明毛玻璃 */
.nav { top: 12px; left: 50%; right: auto; width: max-content; max-width: calc(100% - 32px); translate: -50% 0;
  border: 1px solid var(--line-2); border-radius: 16px; background: rgba(24, 24, 24, .62);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  transition: background .3s var(--ease), border-color .3s var(--ease); }
.nav.solid { background: rgba(24, 24, 24, .78); border-color: var(--line-2); }
.nav > .wrap { width: auto; max-width: none; height: 52px; padding: 0 8px 0 16px; gap: 24px; }
.nav .links { gap: 16px; margin-left: 0; }
html { scroll-padding-top: 80px; }

/* 菜单按钮：两条线变成叉，不是瞬间换图标 */
.menu .bars { position: relative; width: 16px; height: 12px; }
.menu .bars i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu .bars i:first-child { top: 2px; }
.menu .bars i:last-child { top: 8px; }
.nav.open .menu .bars i:first-child { top: 5px; transform: rotate(45deg); }
.nav.open .menu .bars i:last-child { top: 5px; transform: rotate(-45deg); }

/* 跳到正文（只在键盘聚焦时出现） */
.skip { position: fixed; left: 16px; top: -64px; z-index: 80; padding: 8px 12px; border-radius: 8px; background: var(--text); color: #000; font-size: 14px; font-weight: 600; transition: top .3s var(--ease); }
.skip:focus { top: 16px; }

/* 按下的反馈 */
.chap:active, a.dlrow[href]:active, .subnav a:active, .menu:active, .lang button:active { transform: scale(.98); }

/* 三栏等宽卡片 → 错落双栏（宽屏） */
@media (min-width: 1081px) {
  .cards, .specs, .sum, .steps3, .agents { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
  .cards > .pw:nth-child(n), .specs > .pw:nth-child(n), .sum .pw:nth-child(n), .steps3 > .pw:nth-child(n), .agents > .pw:nth-child(n) { grid-column: auto; margin-top: 0; }
  .cards > .pw:nth-child(even), .specs > .pw:nth-child(even), .sum .pw:nth-child(even), .steps3 > .pw:nth-child(even), .agents > .pw:nth-child(even) { margin-top: 64px; }
}

/* 常见问题：左边问题、右边答案，全部展开，不用折叠箭头（宽屏）；窄屏上下排 */
.js .faq { max-width: none; }
.js .faq details { padding: 32px 0; }
.js .faq summary { padding: 0; cursor: text; font-size: 18px; line-height: 28px; }
.js .faq summary::after { display: none; }
.js .faq .ans p { margin: 12px 0 0; }
.js .faq details[open] .ans { animation: none; }
@media (min-width: 901px) {
  .js .faq details::after { content: ""; display: block; clear: both; }
  .js .faq summary { float: left; width: 38%; padding-right: 32px; }
  .js .faq .ans { margin-left: 38%; }
  .js .faq .ans p { margin: 0; max-width: 640px; }
}

/* 页脚：品牌 + 两组主要入口 */
footer .cols { grid-template-columns: 2.2fr 1fr 1fr; }

/* 手机菜单：整屏面板，链接按阅读顺序依次浮现（间隔 60ms，总共不超过 400ms） */
@media (max-width: 1080px) {
  .nav { width: calc(100% - 32px); }
  .nav > .wrap { width: 100%; }
  .nav.open { top: 8px; bottom: 8px; width: calc(100% - 16px); max-width: none; border-radius: 24px; background: rgba(0, 0, 0, .9); -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px); overflow-y: auto; }
  .nav.open .sheet { grid-template-columns: 1fr; gap: 0; padding: 8px 24px 32px; border-top: 0; }
  .sheet a { font-size: 20px; line-height: 28px; padding: 16px 0; }
  .nav.open .sheet a { animation: sheetIn .5s var(--ease) both; }
  .nav.open .sheet a:nth-child(1) { animation-delay: 0ms; } .nav.open .sheet a:nth-child(2) { animation-delay: 60ms; }
  .nav.open .sheet a:nth-child(3) { animation-delay: 120ms; } .nav.open .sheet a:nth-child(4) { animation-delay: 180ms; }
  .nav.open .sheet a:nth-child(5) { animation-delay: 240ms; } .nav.open .sheet a:nth-child(6) { animation-delay: 300ms; }
  .nav.open .sheet a:nth-child(n+7) { animation-delay: 340ms; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px); } }
@media (max-width: 640px) {
  .nav > .wrap { padding: 0 8px 0 12px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav.open .sheet a { animation: fadeOnly .3s var(--ease) both; }
  .menu .bars i { transition: opacity .3s var(--ease); }
}
@keyframes fadeOnly { from { opacity: 0; } }

/* ---------- 开源（11-01）：按钮行 + 仓库地址 ---------- */
.oss-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: -20px; }
.oss-repo { margin-left: 6px; font: 500 13px var(--mono); color: var(--text-3); letter-spacing: .02em; }
@media (max-width: 640px) { .oss-cta { margin-top: 0; } .oss-repo { width: 100%; margin: 6px 0 0; } }

/* ---------- 数据流大屏（11-02）：特写 + 手机横屏一行等高，仪表通栏 ---------- */
.flow-shots { display: grid; grid-template-columns: 1.6fr 2.16fr; gap: 16px; margin-top: 24px; align-items: start; }
.flow-dash { margin-top: 16px; }
.flow-shots .ws img, .flow-dash .ws img { aspect-ratio: auto; height: auto; object-fit: contain; background: #06070b; }
@media (max-width: 900px) { .flow-shots { grid-template-columns: 1fr; } }
