/* 声闪主页样式：派对灯光 / 声波可视化。深色为夜场舞台，浅色为白天的舞台 */
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --font-display: "Avenir Next Condensed", "DIN Condensed", "Bahnschrift", "Arial Narrow", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:lang(zh-Hant) { --font: -apple-system, BlinkMacSystemFont, "PingFang TC", "Heiti TC", "Microsoft JhengHei", "Segoe UI", Roboto, sans-serif; }

/* 深色：夜场 */
[data-theme="dark"] {
  --bg: #07060d;
  --bg2: #0e0b1b;
  --surface: rgba(255, 255, 255, .04);
  --surface2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .10);
  --ink: #f2f0ff;
  --muted: #aaa5c6;
  --c1: #3ee6ff;   /* 霓虹青 */
  --c2: #9b6dff;   /* 霓虹紫 */
  --c3: #ff8a3d;   /* 霓虹橙 */
  --c1ink: #3ee6ff;
  --c3ink: #ffa066;
  --btn-ink: #08070f;
  --glow: .55;
  --shadow: 0 20px 60px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
/* 浅色：白天的舞台，暖白地台 + 加深的灯色 */
[data-theme="light"] {
  --bg: #f4efe6;
  --bg2: #ebe3d6;
  --surface: #fffcf6;
  --surface2: #fff8ee;
  --line: rgba(32, 22, 50, .13);
  --ink: #1a1424;
  --muted: #5b5366;
  --c1: #00a3c4;
  --c2: #6b3ef0;
  --c3: #e2620c;
  --c1ink: #00748c;
  --c3ink: #a84500;
  --btn-ink: #ffffff;
  --glow: .22;
  --shadow: 0 18px 50px -26px rgba(60, 35, 10, .35);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.65 var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
code { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--c1); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }

/* ---------- 页头 ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(14px, 3vw, 36px);
  padding-top: max(12px, env(safe-area-inset-top));
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .35s;
}
.top.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-size: 17px; letter-spacing: .02em; }
.brand-name small { font: 600 10.5px/1.2 var(--font-display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14px; color: var(--muted); padding: 6px 12px; border-radius: 99px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: var(--surface2); }
.tools { display: flex; align-items: center; gap: 8px; }
.seg { display: inline-flex; padding: 3px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); }
.seg button {
  border: 0; background: transparent; cursor: pointer;
  min-width: 32px; height: 28px; padding: 0 9px; border-radius: 99px;
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  transition: color .2s, background-color .2s;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg-icon button { padding: 0; width: 30px; display: grid; place-items: center; }
.seg-icon svg, .gh svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gh { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: transform .2s var(--ease); }
.gh svg { fill: currentColor; stroke: none; }
.gh:hover { transform: rotate(-8deg) scale(1.06); }

/* ---------- 首屏舞台 ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 980px);
  display: grid; align-items: center;
  padding: 96px clamp(18px, 5vw, 72px) 64px;
  isolation: isolate;
  overflow: hidden;
}
/* 舞台背景：顶部光束 + 地台渐变 */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 70% 46%, color-mix(in srgb, var(--c2) 22%, transparent), transparent 70%),
    radial-gradient(40% 40% at 20% 100%, color-mix(in srgb, var(--c3) 14%, transparent), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}
[data-theme="light"] .hero::before {
  background:
    radial-gradient(55% 55% at 70% 46%, rgba(255, 255, 255, .9), transparent 70%),
    radial-gradient(40% 40% at 20% 100%, color-mix(in srgb, var(--c3) 12%, transparent), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}
.stage { position: absolute; inset: 0; z-index: -1; }
.stage canvas { width: 100%; height: 100%; display: block; }
.hero-copy { max-width: 560px; position: relative; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  padding: 6px 14px 6px 10px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 13px; color: var(--muted);
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 10px var(--c1); animation: breathe 2.4s ease-in-out infinite; }
h1 {
  margin: 0 0 20px;
  font: 800 clamp(44px, 7.2vw, 92px)/.98 var(--font-display);
  letter-spacing: -.01em;
}
h1 span { display: block; }
h1 em {
  display: block; font-style: normal;
  background: linear-gradient(92deg, var(--c1) 0%, var(--c2) 52%, var(--c3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
:lang(zh-Hans) h1, :lang(zh-Hant) h1 { letter-spacing: .02em; line-height: 1.1; font-size: clamp(40px, 6vw, 80px); }
:lang(zh-Hans) h1 em, :lang(zh-Hant) h1 em { white-space: nowrap; }
.lede { font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 26px; }
.appstore {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px 10px 16px; border-radius: 14px;
  background: var(--ink); color: var(--bg); text-decoration: none;
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--c2) 70%, transparent);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.appstore svg { width: 24px; height: 28px; fill: currentColor; }
.appstore span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore small { font-size: 11px; opacity: .8; }
.appstore b { font-size: 20px; letter-spacing: -.01em; }
.appstore:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px color-mix(in srgb, var(--c1) 70%, transparent); }
.ghost { font-size: 15px; color: var(--ink); text-decoration: none; border-bottom: 1px dashed color-mix(in srgb, var(--ink) 40%, transparent); padding-bottom: 2px; }
.ghost:hover { border-bottom-style: solid; }

/* 控制台 */
.console {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 10px; border-radius: 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  max-width: 520px;
}
.console button { cursor: pointer; border: 1px solid var(--line); border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; height: 40px; transition: transform .2s var(--ease), background-color .2s, border-color .2s; }
.console button:active { transform: scale(.97); }
.console svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-mic { padding: 0 16px 0 12px; font-size: 14px; font-weight: 600; color: var(--btn-ink) !important; background: linear-gradient(95deg, var(--c1), var(--c2)); border-color: transparent !important; }
.btn-mic.on { background: linear-gradient(95deg, var(--c3), var(--c2)); }
.btn-mic:disabled { opacity: .55; cursor: not-allowed; }
.btn-pause { width: 40px; justify-content: center; background: var(--surface); }
.btn-pause:hover { border-color: var(--c1); }
.btn-pause .i-play { display: none; fill: currentColor; stroke: none; }
.btn-pause[aria-pressed="true"] .i-play { display: block; }
.btn-pause[aria-pressed="true"] .i-pause { display: none; }
.status { margin: 0; flex: 1 1 180px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.mic-note { margin: 10px 2px 0; font-size: 12.5px; color: var(--muted); max-width: 520px; }

/* PSE 提示条 */
.pse {
  display: flex; gap: 14px; align-items: flex-start;
  max-width: 1100px; margin: 0 auto; padding: 16px 20px;
  border-radius: 14px; border: 1px solid color-mix(in srgb, var(--c3) 40%, var(--line));
  background: color-mix(in srgb, var(--c3) 8%, var(--bg));
  width: calc(100% - 2 * clamp(18px, 5vw, 72px));
}
.pse svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--c3ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; margin-top: 2px; }
.pse p { margin: 0; font-size: 14px; color: var(--muted); }
.pse b { color: var(--c3ink); }

/* ---------- 通用分区 ---------- */
.sec { max-width: 1140px; margin: 0 auto; padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 48px) 0; }
.sec-head { max-width: 780px; margin-bottom: 40px; }
.eyebrow { margin: 0 0 10px; font: 700 13px/1 var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--c1ink); }
h2 { margin: 0 0 14px; font: 800 clamp(30px, 4.2vw, 50px)/1.08 var(--font-display); letter-spacing: -.005em; }
:lang(zh-Hans) h2, :lang(zh-Hant) h2 { letter-spacing: .02em; line-height: 1.18; }
.sec-head p { margin: 0; color: var(--muted); font-size: 17px; }
h3 { margin: 0 0 8px; font-size: 19px; }
.card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.card p { margin: 0 0 10px; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

/* 滚动渐入：仅在 JS 可用时隐藏 */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 模式卡片 ---------- */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mode {
  --a: var(--c1); --b: var(--c2);
  position: relative; overflow: hidden;
  padding: 24px 24px 22px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.mode::after {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--a) 40%, transparent), transparent);
  opacity: calc(var(--glow) * .9); transition: opacity .35s, transform .5s var(--ease); pointer-events: none;
}
.mode:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--a) 55%, var(--line)); }
.mode:hover::after { opacity: calc(var(--glow) * 1.6); transform: scale(1.15); }
.mode h3 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mode h3 code { font-size: 12px; font-weight: 500; color: var(--muted); }
.mode p { margin: 0; color: var(--muted); font-size: 15px; }
.mode[data-mode="beat"] { --a: var(--c2); --b: var(--c1); }
.mode[data-mode="strobe"] { --a: var(--c3); --b: var(--c2); }
.mode[data-mode="spectrum"] { --a: var(--c1); --b: var(--c3); }
.mode[data-mode="sos"] { --a: #ff5d5d; --b: var(--c3); }
.mode[data-mode="sleep"] { --a: var(--c2); --b: #5b7bff; }

/* 迷你灯柱：每种模式不同的节奏，只动 transform / opacity，频率都很低 */
.meter { display: flex; align-items: flex-end; gap: 5px; height: 38px; margin-bottom: 18px; }
.meter i { width: 9px; height: 100%; border-radius: 3px; background: linear-gradient(180deg, var(--a), var(--b)); transform-origin: bottom; transform: scaleY(.35); }
.meter i:nth-child(2) { transform: scaleY(.6); }
.meter i:nth-child(3) { transform: scaleY(.85); }
.meter i:nth-child(4) { transform: scaleY(.55); }
.meter i:nth-child(5) { transform: scaleY(.3); }
.anim .mode[data-mode="rhythm"] .meter i { animation: lvl 1.4s var(--ease) infinite alternate; }
.anim .mode[data-mode="rhythm"] .meter i:nth-child(2n) { animation-duration: 1.1s; animation-delay: -.4s; }
.anim .mode[data-mode="rhythm"] .meter i:nth-child(3n) { animation-duration: 1.7s; animation-delay: -.9s; }
.anim .mode[data-mode="beat"] .meter i { animation: kick 1.016s cubic-bezier(.1, .8, .3, 1) infinite; }
.anim .mode[data-mode="beat"] .meter i:nth-child(2), .anim .mode[data-mode="beat"] .meter i:nth-child(4) { animation-delay: .06s; }
.anim .mode[data-mode="beat"] .meter i:nth-child(1), .anim .mode[data-mode="beat"] .meter i:nth-child(5) { animation-delay: .12s; }
.anim .mode[data-mode="strobe"] .meter i { transform: scaleY(1); animation: chase 2s steps(1) infinite; opacity: .2; }
.anim .mode[data-mode="strobe"] .meter i:nth-child(2) { animation-delay: .4s; }
.anim .mode[data-mode="strobe"] .meter i:nth-child(3) { animation-delay: .8s; }
.anim .mode[data-mode="strobe"] .meter i:nth-child(4) { animation-delay: 1.2s; }
.anim .mode[data-mode="strobe"] .meter i:nth-child(5) { animation-delay: 1.6s; }
.mode[data-mode="spectrum"] .meter i:nth-child(1), .mode[data-mode="spectrum"] .meter i:nth-child(2) { background: var(--c3); }
.mode[data-mode="spectrum"] .meter i:nth-child(3) { background: var(--c2); }
.mode[data-mode="spectrum"] .meter i:nth-child(4), .mode[data-mode="spectrum"] .meter i:nth-child(5) { background: var(--c1); }
.anim .mode[data-mode="spectrum"] .meter i { animation: lvl 1.8s ease-in-out infinite alternate; }
.anim .mode[data-mode="spectrum"] .meter i:nth-child(odd) { animation-delay: -.9s; }
.mode[data-mode="sos"] .meter i { transform: scaleY(1); border-radius: 50%; height: 9px; align-self: center; opacity: .25; }
.mode[data-mode="sos"] .meter i:nth-child(n+4) { display: none; }
.anim .mode[data-mode="sos"] .meter i { animation: sos 6s linear infinite; }
.anim .mode[data-mode="sos"] .meter i:nth-child(2) { animation-delay: .25s; }
.anim .mode[data-mode="sos"] .meter i:nth-child(3) { animation-delay: .5s; }
.anim .mode[data-mode="sleep"] .meter i { animation: dim 6s ease-in-out infinite; }
@keyframes lvl { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@keyframes kick { 0% { transform: scaleY(1); } 70%, 100% { transform: scaleY(.3); } }
@keyframes chase { 0% { opacity: 1; } 20%, 100% { opacity: .2; } }
@keyframes sos { 0%, 3% { opacity: 1; } 4%, 100% { opacity: .25; } }
@keyframes dim { 0%, 100% { transform: scaleY(.9); opacity: .9; } 50% { transform: scaleY(.25); opacity: .35; } }
@keyframes breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }

/* ---------- 可视化 ---------- */
.wide {
  margin: 0 0 26px; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  background: #0a0915; padding: 10px;
}
.wide img { border-radius: 14px; width: 100%; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 8px 15px; border-radius: 99px; font-size: 14px;
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .25s var(--ease), border-color .25s, color .25s;
}
.chips li:nth-child(3n+1):hover { border-color: var(--c1); color: var(--c1ink); }
.chips li:nth-child(3n+2):hover { border-color: var(--c2); color: var(--c2); }
.chips li:nth-child(3n):hover { border-color: var(--c3); color: var(--c3ink); }
.chips li:hover { transform: translateY(-2px); }
.chips li:first-child { border-color: color-mix(in srgb, var(--c1) 60%, var(--line)); }

/* ---------- 截图长廊 ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 232px; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 26px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.phone { margin: 0; scroll-snap-align: start; }
.phone img {
  border-radius: 30px; border: 6px solid #15131f;
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  background: #000;
}
.phone:hover img { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c1) 50%, transparent), 0 26px 50px -24px color-mix(in srgb, var(--c2) 60%, transparent); }
.phone figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- 编队 ---------- */
.sync-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.sync-copy p { color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: linear-gradient(135deg, var(--c1), var(--c2)); transform: rotate(45deg); }
.formation {
  position: relative; aspect-ratio: 5 / 3;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr 1fr; gap: 16px 18px;
  padding: 24px; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(80% 90% at 50% 0%, color-mix(in srgb, var(--c2) 18%, transparent), transparent 70%), var(--surface);
}
.formation .links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.formation .links path { stroke: color-mix(in srgb, var(--c1) 55%, transparent); stroke-width: .35; stroke-dasharray: 1.4 1.2; fill: none; vector-effect: non-scaling-stroke; }
.dev {
  position: relative; z-index: 1; justify-self: center;
  width: min(64px, 100%); aspect-ratio: 9 / 19; border-radius: 12px;
  border: 3px solid #1b1828; background: #0b0a12; overflow: hidden;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6);
}
.dev i { position: absolute; inset: 0; background: linear-gradient(170deg, var(--c1), var(--c2) 55%, var(--c3)); opacity: .55; }
.anim .dev i { animation: syncGlow 2.032s ease-in-out infinite; }
.dev.host { grid-column: 2 / 4; grid-row: 1; }
.dev:nth-child(2) { grid-column: 1; grid-row: 2; }
.dev:nth-child(3) { grid-column: 2; grid-row: 2; }
.dev:nth-child(4) { grid-column: 3; grid-row: 2; }
.dev:nth-child(5) { grid-column: 4; grid-row: 2; }
.dev.host span {
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); z-index: 2;
  font-size: 10px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .45); padding: 1px 6px; border-radius: 6px; white-space: nowrap;
}
@keyframes syncGlow { 0%, 100% { opacity: .35; } 45% { opacity: .9; } }

/* ---------- 更多 / 隐私 ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card .ticks { margin-bottom: 18px; }
.link { color: var(--c1ink); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }
.card.warn { border-color: color-mix(in srgb, var(--c3) 45%, var(--line)); background: color-mix(in srgb, var(--c3) 7%, var(--surface)); }
.card.warn h3 { color: var(--c3ink); }

/* ---------- 下载 ---------- */
.download { padding-bottom: clamp(72px, 10vw, 120px); }
.dl {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 64px);
  border-radius: 28px; border: 1px solid var(--line);
  background:
    radial-gradient(70% 80% at 50% 0%, color-mix(in srgb, var(--c2) 26%, transparent), transparent 70%),
    radial-gradient(50% 60% at 100% 100%, color-mix(in srgb, var(--c3) 16%, transparent), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow);
}
.dl > img { margin: 0 auto 18px; border-radius: 22px; box-shadow: 0 14px 40px -12px color-mix(in srgb, var(--c2) 70%, transparent); }
.dl > p { color: var(--muted); margin: 0 0 24px; }
.appstore.big { padding: 13px 26px 13px 20px; }
.specs { margin: 34px auto 0; max-width: 760px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; }
.specs div { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 40%, transparent); }
.specs dt { font: 700 12px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--c1ink); margin-bottom: 6px; }
.specs dd { margin: 0; font-size: 14.5px; }
.dl > p.pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; }
.pages a { color: var(--muted); text-decoration: none; font-size: 14px; }
.pages a:hover { color: var(--ink); }

/* ---------- 页脚 ---------- */
.foot { border-top: 1px solid var(--line); }
.foot-in { max-width: 1140px; margin: 0 auto; padding: 28px clamp(18px, 5vw, 48px) max(28px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; }
.foot-brand img { border-radius: 7px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--ink); }
.copy { margin: 0 0 0 auto; color: var(--muted); font-size: 13px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .hero-copy { max-width: 480px; }
}
@media (max-width: 1000px) {
  .nav { display: none; }
  .tools { margin-left: auto; }
  .modes, .trio { grid-template-columns: 1fr 1fr; }
  .sync-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  /* 移动端：上半部是可视化舞台，文案在下方 */
  .hero { display: block; min-height: 0; padding: 0 0 40px; }
  .stage { position: relative; height: 380px; margin-top: 60px; }
  .hero-copy { padding: 0 18px; margin-top: 18px; }
  .modes, .trio, .duo, .specs { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 200px; gap: 16px; }
  .brand-name small { display: none; }
  .tools { gap: 6px; }
  .seg button { min-width: 28px; padding: 0 7px; }
  .seg-icon button { width: 27px; }
  .gh { width: 32px; height: 32px; }
  .copy { margin-left: 0; }
}
@media (max-width: 380px) {
  .brand-name { display: none; }
}

/* 减少动态效果：关闭所有 CSS 动画与过渡 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 英文：品牌名本身就是 SoundFlash，不再重复副标题；标题略收小 */
:lang(en) .brand-name small { display: none; }
:lang(en) h1 { font-size: clamp(44px, 6.2vw, 84px); }
@media (max-width: 440px) {
  :lang(en) .brand-name { display: none; }
}
