/* 改个词 · 产品介绍页
   视觉照 Glint 瞳问的宣纸主题：暖砂、米白、白纸三种底色交替，深棕字，天蓝点缀；重图片、轻文字 */

@font-face { font-family: "WenKai"; font-weight: 400 500; font-display: swap; src: url("../fonts/wenkai-regular.woff2") format("woff2"); }
@font-face { font-family: "WenKai"; font-weight: 600 900; font-display: swap; src: url("../fonts/wenkai-medium.woff2") format("woff2"); }

:root {
  --ink: #2b2521;
  --paper: #f3ece0;
  --warm: #ebe1cf;
  --white: #fffdf8;
  --text: #2b2521;
  --text-2: #6d6158;
  --line: rgba(43, 37, 33, 0.13);
  /* 强调色：标题关键词用 --cyan，按钮底色用更深一档的 --cyan-ink（白字要够对比度）；换色改这两行 */
  --cyan: #0f84c2;
  --cyan-ink: #0b78a8;
  --amber: #d99a3d;
  --purple: #8e4bb8;
  --red: #d4493b;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "WenKai", "LXGW WenKai", "Kaiti SC", "STKaiti", "KaiTi", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; overflow-x: hidden; overflow-x: clip; background: var(--paper); color: var(--text); font-family: var(--font); font-synthesis: none; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
img, video, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--white); color: var(--text); }
.skip:focus { top: 12px; }

.wrap { width: min(1280px, 100%); margin: 0 auto; padding: 0 40px; }
.wrap-wide { width: min(1520px, 100%); margin: 0 auto; padding: 0 40px; }
main > section, .footer { position: relative; }
.light { background: var(--paper); }
.paper { background: var(--white); }
.warm { background: var(--warm); }

h1, h2 { font-weight: 700; word-break: keep-all; overflow-wrap: anywhere; }
h2 { font-size: clamp(48px, 6.6vw, 96px); line-height: 1.06; text-wrap: balance; }
h2 em { font-style: normal; color: #8a7b70; }
.center-title { text-align: center; }
.glow { color: var(--cyan); }

/* 进场动画：只有脚本确认能跑才给 html 加 .anim，脚本挂了内容照样可见 */
html.anim .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 1s var(--ease-out); }
html.anim .reveal.in { opacity: 1; transform: none; }

/* ---------- 顶栏 ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; height: 64px; transition: background 0.35s var(--ease), box-shadow 0.35s; }
.topbar.scrolled { background: rgba(243, 236, 224, 0.86); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); }
.topbar-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand-icon { width: 32px; height: 32px; border-radius: 8px; }
.brand-text { font-size: 21px; font-weight: 700; letter-spacing: 0.02em; }
.top-nav { margin-left: auto; display: flex; gap: 6px; font-size: 16px; font-weight: 600; }
.top-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; transition: background 0.2s; }
.top-nav a:hover { background: rgba(43, 37, 33, 0.07); }
.nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--cyan-ink); color: #fffaf2; font-size: 16px; font-weight: 700; transition: transform 0.2s var(--ease); }
.nav-cta:hover { transform: translateY(-1px); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 999px; font-size: 18px; font-weight: 700; transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--cyan-ink); color: #fffaf2; box-shadow: 0 10px 26px -10px rgba(43, 37, 33, 0.35); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(43, 37, 33, 0.25); color: var(--text); }
.btn-ghost svg { fill: currentColor; stroke: none; }
.btn-ghost:hover { background: rgba(43, 37, 33, 0.06); border-color: rgba(43, 37, 33, 0.45); }

/* ---------- 首屏 ---------- */
.hero { min-height: 100vh; min-height: 100svh; padding: 112px 0 72px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 55% at 72% 46%, rgba(217, 154, 61, 0.22), transparent 70%), radial-gradient(30% 30% at 18% 86%, rgba(26, 155, 215, 0.1), transparent 70%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(43, 37, 33, 0.08) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(70% 70% at 60% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 60% 50%, #000, transparent); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
h1 { font-size: clamp(64px, 8.2vw, 124px); line-height: 1.06; }
h1 span { display: block; white-space: nowrap; }
.lede { margin-top: 28px; color: var(--text-2); font-size: 22px; line-height: 1.6; font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }
.hero-copy > * { animation: rise-in 1s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.2s; }
.stage-wrap { position: relative; min-width: 0; animation: fade-in 1.4s 0.25s var(--ease) both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(26px); } }
@keyframes fade-in { from { opacity: 0; transform: scale(0.97); } }

.stage { position: relative; height: min(78vh, 760px); min-height: 500px; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.stage-poster { position: absolute; inset: 0 0 64px; z-index: 0; margin: auto; width: auto; height: auto; max-width: 100%; max-height: calc(100% - 64px); pointer-events: none; transition: opacity 0.6s var(--ease); }
/* 模型合格前用概念图占位，做成一张产品照卡片 */
.stage-poster.is-card { max-height: calc(100% - 96px); border-radius: 26px; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -34px rgba(80, 50, 30, 0.45); }
.stage[data-state="3d"] .stage-poster { opacity: 0; }
#webgl { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; cursor: grab; touch-action: pan-y; transition: opacity 0.6s var(--ease); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
#webgl:active { cursor: grabbing; }
.stage[data-state="3d"] #webgl { opacity: 1; }
.stage-status { position: absolute; z-index: 5; left: 50%; top: 2%; padding: 8px 16px; border-radius: 999px; background: rgba(43, 37, 33, 0.84); color: #fffaf2; font-size: 15px; font-weight: 700; white-space: nowrap; opacity: 0; transform: translate(-50%, -6px); pointer-events: none; transition: opacity 0.3s, transform 0.3s var(--ease); }
.stage-status.show { opacity: 1; transform: translate(-50%, 0); }
.stage-controls { position: absolute; z-index: 6; left: 50%; bottom: 4px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 6px; border: 1px solid rgba(43, 37, 33, 0.1); border-radius: 999px; background: rgba(43, 37, 33, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); white-space: nowrap; }
.chip-btn { min-height: 44px; padding: 0 16px; border-radius: 999px; color: #ece8e2; font-size: 15px; font-weight: 600; white-space: nowrap; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; transition: background 0.2s, color 0.2s; }
.chip-btn:hover { background: rgba(255, 255, 255, 0.1); }
.chip-btn[aria-pressed="true"] { background: #fffaf2; color: var(--ink); }
.toggle { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 14px; border-radius: 999px; color: #ece8e2; font-size: 15px; font-weight: 600; cursor: pointer; }
.toggle:hover { background: rgba(255, 255, 255, 0.1); }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-track { display: flex; align-items: center; width: 32px; height: 18px; padding: 2px; border-radius: 10px; background: #6b625b; transition: background 0.2s; }
.toggle-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 0.25s var(--ease); }
.toggle input:checked + .toggle-track { background: var(--cyan); }
.toggle input:checked + .toggle-track .toggle-thumb { transform: translateX(14px); }
.toggle input:focus-visible + .toggle-track { outline: 2px solid var(--cyan); outline-offset: 3px; }

.callouts { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.callout { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 12px; background: rgba(255, 253, 248, 0.9); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font-size: 13px; font-weight: 700; white-space: nowrap; opacity: 0; transition: opacity 0.35s; will-change: transform; }
.callout::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.callouts.show .callout { opacity: 1; }

/* ---------- 产品片（填了 filmSrc 才出现） ---------- */
.film { padding: 140px 0; }
.film-frame { position: relative; margin-top: 56px; overflow: hidden; border-radius: 24px; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px var(--line), 0 40px 90px -30px rgba(80, 50, 30, 0.4); }
.film-frame video { width: 100%; height: 100%; object-fit: cover; }
.film-play { position: absolute; inset: 0; display: grid; place-items: center; }
.film-frame.playing .film-play { display: none; }
.play-disc { width: clamp(72px, 8vw, 104px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 253, 248, 0.95); transition: transform 0.3s var(--ease); }
.play-disc svg { width: 34%; margin-left: 7%; fill: var(--ink); }
.film-play:hover .play-disc { transform: scale(1.06); }

/* ---------- 卡拍、押韵、不倒字 ---------- */
.check { padding: 140px 0 150px; }
.check h2 { margin-bottom: 64px; }
.sheet { position: relative; padding: 50px 40px 46px; border-radius: var(--radius); background: var(--white); box-shadow: 0 40px 80px -34px rgba(80, 50, 30, 0.3), inset 0 0 0 1px var(--line); cursor: pointer; }
.roll { width: 100%; height: auto; overflow: visible; }
.round-pill { position: absolute; left: 28px; top: -20px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px; background: var(--ink); color: #fffaf2; font-size: 16px; font-weight: 700; box-shadow: 0 10px 24px rgba(43, 37, 33, 0.22); }
.round-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); transition: background 0.3s; }
.sheet[data-round="1"] .round-pill i { background: var(--red); }
.tag { position: absolute; display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 16px; border-radius: 999px; background: rgba(43, 37, 33, 0.8); color: #fffaf2; font-size: 15px; font-weight: 700; white-space: nowrap; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 14px 28px -14px rgba(43, 37, 33, 0.45); }
.tag b { color: #8fd6ff; font-size: 22px; }
.tag-a { right: 40px; top: -22px; }
.tag-b { right: 172px; top: -22px; }
.tag-c { right: 40px; bottom: -22px; }

.roll .grid { stroke: rgba(43, 37, 33, 0.06); stroke-width: 1; }
.roll .sep { stroke: rgba(43, 37, 33, 0.14); stroke-width: 1; stroke-dasharray: 2 5; }
.roll .mel { fill: none; stroke: rgba(43, 37, 33, 0.22); stroke-width: 1.6; stroke-linejoin: round; }
.roll .note { fill: rgba(26, 155, 215, 0.16); }
.roll .note.rhyme { fill: rgba(26, 155, 215, 0.34); }
.roll .note.bad { fill: rgba(212, 73, 59, 0.24); }
.roll .seg-bad { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.roll .ch { fill: var(--ink); font-family: var(--font); font-size: 30px; font-weight: 700; text-anchor: middle; }
.roll .ch.rhyme { fill: var(--cyan); }
.roll .ch.bad { fill: var(--red); }
.roll .ch.over { fill: var(--red); opacity: 0.85; }
.roll .flag rect { fill: #b83a2e; }
.roll .flag.ok rect { fill: var(--cyan-ink); }
.roll .flag text { fill: #fffaf2; font-family: var(--font); font-size: 16px; font-weight: 700; text-anchor: middle; }
.roll .fresh { animation: pop-in 0.5s var(--ease-out) both; }
@keyframes pop-in { from { opacity: 0; } }

/* ---------- 扣住说，松开唱 ---------- */
.device { padding: 140px 0; }
.device h2 { margin-bottom: 56px; }
.device-figure { position: relative; overflow: hidden; border-radius: var(--radius); background: radial-gradient(70% 90% at 50% 40%, #ffffff, #efe7da); box-shadow: inset 0 0 0 1px var(--line); }
.device-figure img { width: 100%; height: auto; mix-blend-mode: multiply; }
.device-callouts { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.co circle { fill: none; stroke: var(--cyan); stroke-width: 4; }
.co path { fill: none; stroke: var(--ink); stroke-width: 2; }
.co text { fill: var(--ink); font-family: var(--font); font-size: 34px; font-weight: 700; }
.co text .k { fill: var(--text-2); font-weight: 500; }
.device-legend { display: none; }

/* ---------- 场景 ---------- */
.scenes { padding: 140px 0; }
.scenes h2 { margin-bottom: 56px; }
.scene-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.scene { padding: 14px 14px 24px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.scene:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -26px rgba(80, 50, 30, 0.4); }
.cover { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: #1b1d22; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.lyric { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(24, 20, 18, 0.64); color: #fffaf2; font-size: 18px; font-weight: 700; line-height: 1.45; text-align: center; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.scene h3 { margin: 18px 8px 0; font-size: 28px; font-weight: 700; }

/* ---------- 端云结合 ---------- */
.cloud { padding: 140px 0; }
.bridge { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 0.7fr) minmax(0, 1fr); align-items: center; gap: 24px; margin-top: 72px; }
.node { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; min-width: 0; }
.node-art { width: min(220px, 100%); height: auto; filter: drop-shadow(0 18px 30px rgba(80, 50, 30, 0.22)); }
.node-local .node-art { width: min(150px, 60%); }
.node-name { font-size: 32px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { padding: 6px 13px; border-radius: 999px; background: rgba(26, 155, 215, 0.08); border: 1px solid rgba(26, 155, 215, 0.3); color: #0a6a96; font-size: 16px; font-weight: 600; }
.node-cloud .chip { background: rgba(142, 75, 184, 0.08); border-color: rgba(142, 75, 184, 0.3); color: #6b3591; }
.beam { position: relative; height: 6px; }
.beam-line { position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(90deg, var(--cyan), var(--purple)); }
.beam-pulse { position: absolute; top: 50%; left: 0; width: 40px; height: 6px; margin-top: -3px; border-radius: 6px; background: var(--amber); opacity: 0; animation: beam-run 2.4s cubic-bezier(0.6, 0, 0.4, 1) 3 paused; }
.beam-pulse.p2 { background: #c9a6e0; animation-delay: 1.2s; animation-direction: reverse; }
.bridge.in .beam-pulse { animation-play-state: running; }
.beam-tag { position: absolute; left: 50%; top: -54px; transform: translateX(-50%); padding: 7px 16px; border-radius: 999px; background: var(--ink); color: #fffaf2; font-size: 16px; font-weight: 700; white-space: nowrap; }
@keyframes beam-run { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 40px); opacity: 0; } }

/* ---------- 长在 TME 现成的能力上 ---------- */
.tme { padding: 140px 0; }
.tme h2 { margin-bottom: 56px; }
.caps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.caps li { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 36px 14px 30px; border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.caps svg { width: 76px; height: 76px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.caps .hi { stroke: var(--cyan); stroke-width: 3.2; }
.caps b { font-size: 21px; font-weight: 700; }
.loop { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 34px; margin-top: 44px; }
.loop li { position: relative; display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: #fffaf2; font-size: 18px; font-weight: 700; }
.loop li:not(:last-child)::after { content: "→"; position: absolute; right: -27px; top: 50%; transform: translateY(-50%); color: var(--cyan); font-size: 20px; font-weight: 700; }

/* ---------- 软硬协同 ---------- */
.hardware { padding: 140px 0; }
.hardware h2 { margin-bottom: 56px; }
.hw-card { display: block; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.hw-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px rgba(80, 50, 30, 0.35); }
.hw-figure { aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(70% 90% at 50% 40%, #ffffff, #efe7da); }
.hw-figure img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 0.8s var(--ease); }
.hw-figure img.contain { object-fit: contain; padding: 3% 0; mix-blend-mode: normal; }
.hw-card:hover .hw-figure img { transform: scale(1.03); }
.hw-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 34px 30px; }
.hw-meta h3 { font-size: 40px; font-weight: 700; }
.link-arrow { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fffaf2; font-size: 17px; font-weight: 700; white-space: nowrap; }
.link-arrow i { font-style: normal; transition: transform 0.25s var(--ease); }
.hw-card:hover .link-arrow i { transform: translateX(3px); }

/* ---------- 结尾 ---------- */
.start { padding: 150px 0; overflow: hidden; }
.start::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-70%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 155, 215, 0.12), transparent); pointer-events: none; }
.start-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.start h2 { font-size: clamp(56px, 7vw, 108px); }
.go-cards { display: grid; gap: 14px; }
.go-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; padding: 0 26px 0 30px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); font-size: 28px; font-weight: 700; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.go-card:hover { transform: translateY(-2px); border-color: rgba(43, 37, 33, 0.3); box-shadow: 0 14px 30px -16px rgba(43, 37, 33, 0.3); }
.go-dot { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan-ink); color: #fffaf2; font-size: 20px; font-weight: 800; }
.go-ghost { background: rgba(43, 37, 33, 0.1); color: var(--text); }

/* ---------- 页脚 / 配乐 / 提示 ---------- */
.footer { padding: 34px 0 48px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; color: var(--text-2); }
.footer .brand-icon { width: 24px; height: 24px; }
.footer .brand-text { font-size: 18px; }

.music { position: fixed; z-index: 45; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(43, 37, 33, 0.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform 0.2s var(--ease); }
.music:hover { transform: scale(1.06); }
.eq { display: flex; align-items: flex-end; gap: 2.5px; height: 15px; }
.eq i { width: 3px; height: 30%; border-radius: 2px; background: #d8d2ca; }
.music[aria-pressed="true"] .eq i { background: #8fd6ff; animation: eq 1s ease-in-out infinite; }
.music[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: -0.35s; }
.music[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: -0.7s; }
.music[aria-pressed="true"] .eq i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

.toast { position: fixed; z-index: 60; left: 50%; bottom: 88px; max-width: calc(100% - 32px); padding: 11px 20px; border-radius: 999px; background: var(--ink); color: #fffaf2; font-size: 16px; font-weight: 600; text-align: center; opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity 0.3s, transform 0.3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 120px; }
  .stage { height: min(80vw, 640px); min-height: 440px; }
  .caps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .start-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .wrap, .wrap-wide { padding: 0 20px; }
  .top-nav { display: none; }
  .topbar-inner { justify-content: space-between; }
  .hero { min-height: 0; padding: 100px 0 48px; }
  h1 { font-size: clamp(50px, 14vw, 64px); }
  .lede { margin-top: 20px; font-size: 18px; }
  .cta-row { margin-top: 30px; }
  .stage { height: 118vw; max-height: 560px; min-height: 380px; }
  .chip-btn { padding: 0 12px; font-size: 14px; }
  .toggle { padding: 0 10px 0 12px; font-size: 14px; }
  .check, .device, .scenes, .cloud, .tme, .hardware, .film { padding: 96px 0; }
  .start { padding: 110px 0; }
  .check h2, .device h2, .scenes h2, .tme h2, .hardware h2 { margin-bottom: 40px; }
  h2 { font-size: clamp(42px, 11.5vw, 56px); }
  .sheet { padding: 40px 14px 20px; }
  .round-pill { left: 14px; font-size: 14px; padding: 7px 14px; }
  .tag { position: static; margin-top: 10px; }
  .sheet { display: flex; flex-wrap: wrap; gap: 0 8px; }
  .sheet .roll { flex: 0 0 100%; }
  .device-figure img { width: 100%; }
  .co text { display: none; }
  .device-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
  .device-legend li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 600; }
  .device-legend b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); color: #fffaf2; font-size: 12px; }
  .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .scene { padding: 8px 8px 14px; border-radius: 16px; }
  .cover { border-radius: 10px; }
  .lyric { left: 6px; right: 6px; bottom: 6px; padding: 6px 8px; border-radius: 8px; font-size: 13px; }
  .scene h3 { margin: 12px 4px 0; font-size: 21px; }
  .bridge { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 48px; }
  .beam { width: 6px; height: 120px; margin: 24px auto; }
  .beam-line { background: linear-gradient(180deg, var(--cyan), var(--purple)); }
  .beam-pulse { left: 0; top: 0; width: 6px; height: 34px; margin-top: 0; animation-name: beam-down; }
  .beam-tag { left: 22px; top: 50%; transform: translateY(-50%); }
  @keyframes beam-down { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 34px); opacity: 0; } }
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .caps li:last-child { grid-column: span 2; }
  .caps li { padding: 26px 12px 22px; gap: 12px; }
  .caps svg { width: 52px; height: 52px; }
  .caps b { font-size: 18px; }
  .loop { flex-direction: column; gap: 30px; }
  .loop li { font-size: 16px; padding: 10px 18px; }
  .loop li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -29px; transform: translateX(-50%); }
  .hw-meta { padding: 20px 20px 22px; }
  .hw-meta h3 { font-size: 30px; }
  .go-card { min-height: 76px; font-size: 24px; padding: 0 18px 0 22px; }
  .music { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html.anim .reveal { opacity: 1; transform: none; }
}
