/* ============================================================
   MemoRing 官网 — 视觉体系 v2
   主题：记忆 / 情绪 / 认知，视觉母题 = 神经元突触网络
   规范文档：memoring-website/DESIGN_SYSTEM.md（以其为准）
   自托管字体，零外链，移动优先
   ============================================================ */

/* ---------- 字体（自托管，SIL OFL 1.1） ----------
   Space Grotesk：Display —— 源自 Space Mono 的技术血统，几何骨架带少量个性
   Inter：Body —— 屏幕可读性基准，国际化字符覆盖广
   IBM Plex Mono：Technical —— 标签/刻度/数据，提供"仪器感"
   Noto Sans SC / JP：CJK —— 按站内实际用字子集化
   ------------------------------------------------------------ */
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("/assets/fonts/spacegrotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("/assets/fonts/spacegrotesk-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("/assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("/assets/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("/assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("/assets/fonts/plexmono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("/assets/fonts/plexmono-500.woff2") format("woff2");
}
/* CJK：仅在对应语种页面被引用，其他语种不会下载 */
@font-face {
  font-family: "Noto Sans SC"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("/assets/fonts/notosanssc-400.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans SC"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("/assets/fonts/notosanssc-700.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans JP"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("/assets/fonts/notosansjp-400.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans JP"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("/assets/fonts/notosansjp-700.woff2") format("woff2");
}

:root {
  /* ---- 背景层级（越深越靠后） ---- */
  --bg-canvas: #06070c;      /* 最底层：hero 神经元画布底 */
  --bg-base: #0a0b11;        /* body 默认底色 */
  --bg-raised: #0f1119;      /* 交替区块 section-alt */
  --surface-1: #14161f;      /* 卡片底 */
  --surface-2: #1a1d29;      /* 卡片渐变上缘 / 悬浮态 */

  /* ---- 描边层级 ---- */
  --line-subtle: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.17);

  /* ---- 前景层级 ---- */
  --text-primary: #f2f0ec;   /* 标题与正文主色（略暖白，与铜金同族） */
  --text-secondary: #a7abb8; /* 说明文字（冷灰，与主色拉开层级） */
  --text-tertiary: #6f7482;  /* 脚注、标签、占位 */
  --text-on-accent: #17110a; /* 铜金底上的文字 */

  /* ---- 强调色：暖（人 / 记忆 / 硬件） ---- */
  --accent: #d9a45c;
  --accent-bright: #e9c98f;
  --accent-deep: #a4763a;

  /* ---- 强调色：冷（信号 / 数据 / 科学） ---- */
  --synapse: #7ad6eb;
  --synapse-deep: #4a9fc4;
  --neuro-violet: #8a76c9;

  /* ---- 语义色 ---- */
  --rec: #ff5a4d;            /* 仅用于「正在录音」，不作装饰 */
  --ok: #7fd8a6;
  --err: #ff8a80;

  /* ---- 字体栈 ---- */
  --font-cjk: "PingFang SC", "Hiragino Sans", "Microsoft YaHei", sans-serif;
  --font-display: "Space Grotesk", var(--font-cjk), -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", var(--font-cjk), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ---- 字号阶（流体） ---- */
  --fs-display-1: clamp(2.3rem, 6vw, 4rem);
  --fs-display-2: clamp(1.9rem, 4.4vw, 2.9rem);
  --fs-title-1: clamp(1.5rem, 3.4vw, 2.25rem);
  --fs-title-2: clamp(1.18rem, 2.1vw, 1.38rem);
  --fs-title-3: 1.08rem;
  --fs-lead: clamp(1.01rem, 1.5vw, 1.14rem);
  --fs-body: 1rem;
  --fs-body-s: 0.93rem;
  --fs-caption: 0.84rem;
  --fs-label: 0.72rem;

  /* ---- 间距阶（4px 基数） ---- */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;

  /* ---- 圆角 ---- */
  --radius-s: 10px; --radius: 16px; --radius-lg: 24px; --radius-pill: 999px;

  /* ---- 动效 ---- */
  --dur-1: 120ms; --dur-2: 200ms; --dur-3: 320ms; --dur-4: 600ms;
  --ease-standard: cubic-bezier(0.2, 0.6, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* ---- 正文测量宽度 ---- */
  --measure: 68ch;
  --measure-tight: 56ch;
}

/* 按语种切换 CJK 字体（只有对应页面才会下载该字体文件） */
html[lang="zh-CN"] { --font-cjk: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
html[lang="ja"] { --font-cjk: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif; }

/* ---------- Reset & 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-bright); }
ul, ol { padding-left: 1.2em; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h3, h4 { font-family: var(--font-body); font-weight: 600; letter-spacing: -0.005em; line-height: 1.35; }
p { text-wrap: pretty; }
:focus-visible {
  outline: 2px solid var(--synapse);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: rgba(217, 164, 92, 0.32); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 var(--sp-5); min-width: 0; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--text-on-accent); padding: var(--sp-2) var(--sp-4);
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- 技术标签（等宽字，仪器感） ---------- */
.eyebrow, .metric-label, .panel-links-title, .tl-time, .rid {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-feature-settings: "tnum" 1;
}

/* ---------- 神经元画布 ----------
   使用规则见 DESIGN_SYSTEM.md：仅用于 hero 与章节过渡带，
   一页最多 2 处，永不置于信息密集区（FAQ/表单/规格表）之下。 */
.neuro-wrap {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: clip;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 40%, #000 45%, transparent 100%);
  mask-image: radial-gradient(120% 100% at 50% 40%, #000 45%, transparent 100%);
}
canvas.neuro {
  width: 100%; height: 100%; display: block;
  opacity: 0; transition: opacity var(--dur-4) var(--ease-out);
}
canvas.neuro.is-ready { opacity: 1; }
.neuro-band {
  position: relative; height: 120px; overflow: clip;
  border-top: 1px solid var(--line-subtle);
  background: var(--bg-canvas);
}
.neuro-band .neuro-wrap {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 17, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: var(--sp-3);
  min-height: 60px;
}
.brand {
  display: flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem; letter-spacing: 0.02em;
  margin-right: auto; white-space: nowrap;
}
.brand svg { width: 22px; height: 22px; flex: none; }
.site-nav { display: none; min-width: 0; }

/* ---- Mega menu：一级项 + 展开面板 ----
   面板配色决策：沿用暗色体系（比页面底色亮一档的 surface 渐变 + 铜金 hover），
   不采用 Oura 的米白浅面板——全暗站上米白会造成刺眼明度跳变、打断品牌氛围，
   且暖铜金在浅底上对比度不足。用"亮一档暗面板 + 深投影"同样成立层级。 */
.nav-item { position: static; min-width: 0; }
.nav-top {
  background: none; border: 0; cursor: pointer;
  color: var(--text-secondary); font-size: var(--fs-body-s);
  display: flex; align-items: center; gap: 6px;
  padding: var(--sp-2) 2px; border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--dur-2) var(--ease-standard);
}
.nav-top:hover { color: var(--text-primary); }
.nav-item.is-active > .nav-top,
a.nav-top[aria-current="page"] { color: var(--text-primary); border-bottom-color: var(--accent); }
.nav-top .chev { width: 11px; height: 11px; flex: none; transition: transform var(--dur-2) var(--ease-standard); opacity: 0.7; }
.nav-item.open > .nav-top { color: var(--text-primary); }
.nav-item.open > .nav-top .chev { transform: rotate(180deg); }
.nav-panel { display: none; }
.nav-item.open > .nav-panel { display: block; }

.panel-card {
  display: block; color: var(--text-primary); min-width: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  padding: var(--sp-4);
  transition: border-color var(--dur-2) var(--ease-standard), transform var(--dur-2) var(--ease-standard);
}
.panel-card:hover { border-color: rgba(217, 164, 92, 0.45); color: var(--text-primary); transform: translateY(-2px); }
.panel-card img { height: 108px; width: 100%; object-fit: contain; margin-bottom: var(--sp-3); }
.panel-card b { display: block; font-size: 0.98rem; font-weight: 600; }
.panel-card .panel-card-desc { display: block; margin-top: var(--sp-1); color: var(--text-secondary); font-size: var(--fs-caption); line-height: 1.5; }
.panel-card[aria-current="page"] { border-color: rgba(217, 164, 92, 0.55); }

.panel-links { min-width: 0; }
.panel-links-title { color: var(--text-tertiary); margin: 0 0 var(--sp-2); }
.panel-links a {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 9px 10px; border-radius: var(--radius-s);
  color: var(--text-secondary); font-size: var(--fs-body-s);
  transition: background var(--dur-2) var(--ease-standard), color var(--dur-2) var(--ease-standard);
}
.panel-links a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-primary); }
.panel-links a[aria-current="page"] { color: var(--accent-bright); }
.pl-ic { display: inline-flex; width: 20px; height: 20px; flex: none; color: var(--accent); }
.pl-ic svg { width: 20px; height: 20px; }
.lang-switch {
  display: flex; align-items: center; gap: 2px;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-tertiary);
  border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 3px;
  white-space: nowrap;
}
.lang-switch a { color: var(--text-tertiary); padding: 3px 8px; border-radius: var(--radius-pill); }
/* 窄屏用简写语言标签（中/EN/日），≥760px 显示全称 */
.lang-switch .lang-full { display: none; }
.lang-switch .lang-short { display: inline; }
.lang-switch a:hover { color: var(--text-primary); }
.lang-switch a[aria-current="true"] {
  color: var(--text-on-accent); background: var(--accent); font-weight: 500;
}
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-s);
  cursor: pointer; color: var(--text-primary);
}
.nav-toggle svg { width: 18px; height: 18px; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-open { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

/* ---- 移动端：汉堡菜单 + 二级手风琴 ---- */
@media (max-width: 759.98px) {
  body.nav-open .site-nav {
    display: flex; flex-direction: column;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #0c0d14; /* 全不透明：避免下层内容透出 */
    border-bottom: 1px solid var(--line);
    padding: var(--sp-1) var(--sp-5) var(--sp-4);
    max-height: calc(100dvh - 60px); overflow-y: auto;
  }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-top {
    width: 100%; justify-content: space-between;
    padding: 13px 2px; font-size: 1.02rem; border-bottom: 0;
  }
  .nav-item.is-active > .nav-top,
  a.nav-top[aria-current="page"] { border-bottom: 0; color: var(--accent-bright); }
  .nav-panel { padding: 0 0 var(--sp-3); }
  .panel-inner { display: flex; flex-direction: column; gap: var(--sp-1); }
  .panel-card { border: 0; background: none; padding: 9px 12px; transform: none; }
  .panel-card:hover { transform: none; }
  .panel-card img { display: none; }
  .panel-card b { font-weight: 500; }
  .panel-card .panel-card-desc { display: none; }
  .panel-links { margin-top: var(--sp-1); }
  .panel-links-title { padding: 0 12px; }
}

/* ---- 桌面端：悬停/点击展开大面板 ---- */
@media (min-width: 760px) {
  .site-nav { display: flex; gap: 22px; align-items: center; }
  .nav-toggle { display: none; }
  .header-inner { gap: var(--sp-4); }
  .brand { font-size: 1.06rem; gap: 9px; }
  .lang-switch a { padding: 3px 9px; }
  .lang-switch .lang-full { display: inline; }
  .lang-switch .lang-short { display: none; }

  .nav-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    background: linear-gradient(180deg, #171a24, #0f1119);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.6);
    padding: 30px 0 34px;
  }
  .panel-inner {
    max-width: 1120px; margin: 0 auto; padding: 0 var(--sp-5);
    display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px;
  }
  .panel-inner.no-links { grid-template-columns: minmax(0, 1fr); }
  .panel-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); min-width: 0; }
  .panel-cards.cards-1 { grid-template-columns: minmax(0, 420px); }
  .panel-cards.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--sp-8) 0 var(--sp-7);
  background:
    radial-gradient(65% 55% at 72% 6%, rgba(122, 214, 235, 0.07), transparent 70%),
    radial-gradient(55% 45% at 12% 92%, rgba(138, 118, 201, 0.07), transparent 70%),
    var(--bg-canvas);
  border-bottom: 1px solid var(--line);
  overflow: clip;
}
/* 可读性遮罩：神经元网络必须退到文字之后（见 DESIGN_SYSTEM.md「不可滥用」）
   ::after 作为最后子元素，绘制于 .neuro-wrap 之上、内容之下 */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(6, 7, 12, 0.80) 0%, rgba(6, 7, 12, 0.42) 52%, rgba(6, 7, 12, 0) 100%);
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: var(--sp-6); align-items: center; }
.eyebrow {
  display: inline-block;
  color: var(--accent);
  border: 1px solid rgba(217, 164, 92, 0.32);
  border-radius: var(--radius-pill); padding: 5px 14px; margin-bottom: var(--sp-5);
}
.hero h1 {
  font-size: var(--fs-display-1);
  font-weight: 700; letter-spacing: -0.025em;
  overflow-wrap: break-word;
}
.hero .lead {
  margin-top: var(--sp-4); max-width: var(--measure-tight);
  color: var(--text-secondary); font-size: var(--fs-lead);
}
.cta-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: 30px; }
.hero-art { margin: 0; position: relative; z-index: 1; }
.hero-art img { width: min(100%, 460px); margin: 0 auto; }
@media (min-width: 880px) {
  .hero { padding: var(--sp-9) 0 var(--sp-8); }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-7); }
  .hero-art img { margin-left: auto; }
  /* 桌面端文本在左：遮罩改为横向，右侧留出网络的展示面 */
  .hero::after {
    background: linear-gradient(100deg,
      rgba(6, 7, 12, 0.93) 0%, rgba(6, 7, 12, 0.72) 30%,
      rgba(6, 7, 12, 0.26) 54%, rgba(6, 7, 12, 0) 70%);
  }
}

/* ---------- 全屏媒体 hero（首页，对标 Oura/Vocci）---------- */
/* 视频是素材位（assets/media/，正式片同名替换即上线）。
   降级链：自动播放 → poster/首帧静态（reduced-motion、Save-Data、自动播放被拒，
   守卫逻辑在 main.js）。文案压底、遮罩上轻下重，视频永远退到文字之后。 */
.hero.hero-media {
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, 92vh, 960px);
  min-height: clamp(560px, 92svh, 960px);
  padding: var(--sp-9) 0 var(--sp-8);
}
.hero-media-bg { position: absolute; inset: 0; }
.hero-media-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--bg-canvas);
}
.hero.hero-media > .container { width: 100%; }
/* 视频即画面：单列布局，不再放插画位 */
.hero-media .hero-grid { grid-template-columns: 1fr; }
.hero-media .hero-art { display: none; }
/* 媒体版可读性遮罩：纵向，底部最重（文案区）；同规则覆盖桌面横向遮罩 */
.hero.hero-media::after {
  background: linear-gradient(180deg,
    rgba(6, 7, 12, 0.66) 0%, rgba(6, 7, 12, 0.18) 44%,
    rgba(6, 7, 12, 0.50) 78%, rgba(6, 7, 12, 0.86) 100%);
}
@media (min-width: 880px) {
  .hero.hero-media { padding: var(--sp-9) 0; }
  .hero-media .lead { max-width: var(--measure-tight); }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 13px 26px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.97rem; letter-spacing: 0.005em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--dur-2) var(--ease-standard),
              box-shadow var(--dur-2) var(--ease-standard),
              border-color var(--dur-2) var(--ease-standard);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: var(--text-on-accent);
  box-shadow: 0 6px 24px rgba(217, 164, 92, 0.20);
}
.btn-primary:hover {
  color: var(--text-on-accent);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(217, 164, 92, 0.30);
}
.btn-ghost { border-color: var(--line-strong); color: var(--text-primary); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); }
.btn[disabled] { opacity: 0.55; cursor: wait; transform: none; }
.link-arrow { color: var(--accent); font-weight: 500; }
.link-arrow:hover { color: var(--accent-bright); }

/* ---------- 区块 ---------- */
.section { padding: var(--sp-8) 0; position: relative; }
.section-alt {
  background: var(--bg-raised);
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
}
.section-title { font-size: var(--fs-title-1); max-width: 22em; }
.section-lead { margin-top: var(--sp-3); color: var(--text-secondary); max-width: var(--measure); }
.section-head { margin-bottom: 38px; }
@media (min-width: 880px) { .section { padding: var(--sp-9) 0; } }

/* ---------- 卡片 ---------- */
.cards { display: grid; gap: var(--sp-4); }
.card {
  display: block; color: inherit;
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px var(--sp-5); min-width: 0;
  transition: transform var(--dur-3) var(--ease-standard), border-color var(--dur-3) var(--ease-standard);
}
.card:hover { transform: translateY(-3px); border-color: rgba(217, 164, 92, 0.32); color: inherit; }
.card h3 { font-size: var(--fs-title-3); margin-bottom: var(--sp-2); }
.card p { color: var(--text-secondary); font-size: var(--fs-body-s); }
.card-icon {
  width: 44px; height: 44px; border-radius: var(--radius-s);
  display: flex; align-items: center; justify-content: center;
  background: rgba(217, 164, 92, 0.12); color: var(--accent);
  margin-bottom: var(--sp-4);
}
.card-icon svg { width: 22px; height: 22px; }
@media (min-width: 760px) {
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 时间轴 ---------- */
.timeline { list-style: none; padding: 0; margin-top: 40px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 1px; background: linear-gradient(180deg, var(--accent), rgba(217, 164, 92, 0.05));
}
.timeline li { position: relative; padding: 0 0 36px 40px; min-width: 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg-base); border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 164, 92, 0.08);
}
.tl-time { display: inline-block; color: var(--accent); margin-bottom: var(--sp-2); }
.timeline h3 { font-size: var(--fs-title-3); margin-bottom: 6px; }
.timeline p { color: var(--text-secondary); max-width: var(--measure-tight); }
@media (min-width: 880px) {
  .timeline { margin-left: var(--sp-2); }
  .timeline li { padding-left: 52px; }
}

/* ---------- 步骤编号 ---------- */
.step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(217, 164, 92, 0.14); color: var(--accent);
  font-family: var(--font-mono); font-weight: 500; font-size: 0.92rem;
  margin-bottom: var(--sp-3);
}

/* ---------- 左右分栏 ---------- */
.split { display: grid; gap: var(--sp-6); align-items: center; }
.split figure { margin: 0; }
.split figure img { width: min(100%, 440px); margin: 0 auto; }
.split h2 { font-size: var(--fs-display-2); }
.split p { margin-top: var(--sp-3); color: var(--text-secondary); max-width: var(--measure-tight); }
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
  .split.split-rev > figure { order: -1; }
}

/* ---------- 数字卖点（数据可视化语汇：刻度 + 等宽数字） ---------- */
.stat-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat {
  position: relative;
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--sp-5) 18px; min-width: 0;
}
/* 刻度标记：科研仪器的坐标轴语汇 */
.stat::before {
  content: ""; position: absolute; left: 18px; top: 0;
  width: 22px; height: 2px; background: var(--synapse); opacity: 0.7;
}
.stat b {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 3.2vw, 1.5rem);
  color: var(--accent-bright); overflow-wrap: break-word;
  font-feature-settings: "tnum" 1; letter-spacing: -0.01em;
}
.stat span { font-size: var(--fs-caption); color: var(--text-secondary); }
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.specs {
  display: grid; gap: 0; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.specs > div {
  display: flex; justify-content: space-between; gap: var(--sp-4);
  padding: 15px var(--sp-5); background: var(--surface-1); min-width: 0;
}
.specs > div:nth-child(even) { background: var(--surface-2); }
.specs dt { color: var(--text-secondary); font-size: var(--fs-body-s); flex: none; }
.specs dd {
  margin: 0; text-align: right; font-weight: 500; overflow-wrap: anywhere;
  font-feature-settings: "tnum" 1;
}
.spec-note { margin-top: var(--sp-3); font-size: var(--fs-caption); color: var(--text-tertiary); }

/* ---------- 录音灯 / 隐私强调条 ---------- */
.led-band {
  border: 1px solid rgba(255, 90, 77, 0.26);
  background:
    radial-gradient(70% 120% at 85% 20%, rgba(255, 90, 77, 0.09), transparent 65%),
    var(--surface-1);
  border-radius: var(--radius-lg); padding: 34px 26px;
}
.led-band .eyebrow { color: var(--rec); border-color: rgba(255, 90, 77, 0.38); }
.rec-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--rec); box-shadow: 0 0 12px rgba(255, 90, 77, 0.8);
  margin-right: var(--sp-2); animation: breathe 2.4s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- 价格占位卡 ---------- */
.price-card {
  text-align: center;
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid rgba(217, 164, 92, 0.32);
  border-radius: var(--radius-lg); padding: 44px var(--sp-5);
}
.price-card .price-tba {
  font-family: var(--font-display); font-size: clamp(1.7rem, 6vw, 2.6rem);
  font-weight: 700; color: var(--accent-bright); letter-spacing: -0.02em;
}
.price-card p { color: var(--text-secondary); margin-top: var(--sp-3); max-width: 34em; margin-left: auto; margin-right: auto; }
.check-list { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
.check-list li { display: flex; gap: var(--sp-3); align-items: flex-start; color: var(--text-secondary); min-width: 0; }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--ok); margin-top: 4px; }
@media (min-width: 760px) { .check-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--sp-2); }
.faq details {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0 var(--sp-5); min-width: 0;
}
.faq summary {
  cursor: pointer; padding: var(--sp-4) 0; font-weight: 500; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--accent); font-size: 1.3rem; font-weight: 400; flex: none;
  transition: transform var(--dur-2) var(--ease-standard);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p, .faq details > ul {
  color: var(--text-secondary); padding-bottom: 18px; font-size: var(--fs-body-s);
  max-width: var(--measure); overflow-wrap: break-word;
}

/* ---------- 隐私支柱 ---------- */
.pillar { border-left: 2px solid var(--accent); padding-left: var(--sp-5); min-width: 0; }
.pillar h3 { font-size: var(--fs-title-2); }
.pillar p { color: var(--text-secondary); margin-top: var(--sp-2); max-width: var(--measure); }
.pillar-grid { display: grid; gap: 34px; }
@media (min-width: 760px) { .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px var(--sp-7); } }

.disclaimer {
  margin-top: 28px; padding: var(--sp-4) var(--sp-5);
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  font-size: var(--fs-caption); color: var(--text-tertiary);
}

/* ---------- 科学与研究页 ----------
   冷青 = 信号 / 数据 / 科学（DESIGN_SYSTEM.md §1.6）。全站唯一以冷青领衔的一页：
   刻度线、等宽序号、tnum 数字构成「仪器/坐标轴」语汇，正文与 CTA 仍保持铜金单强调色。 */
.eyebrow.cool { color: var(--synapse); border-color: rgba(122, 214, 235, 0.38); }

/* 关联关系披露块：主动披露比回避更可信，所以给它独立的视觉重量 */
.disclosure {
  border: 1px solid var(--line-strong); border-left: 2px solid var(--synapse);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  padding: var(--sp-5); max-width: var(--measure); min-width: 0;
}
.disclosure h2 {
  font-family: var(--font-body); font-size: var(--fs-title-2);
  font-weight: 600; margin-top: var(--sp-2);
}
.disclosure p { margin-top: var(--sp-3); color: var(--text-secondary); font-size: var(--fs-body-s); }

/* 科研条目：等宽序号 + 冷青刻度轴 + tnum 指标 */
.research-list { list-style: none; padding: 0; margin-top: 38px; display: grid; gap: var(--sp-5); }
.research-item {
  position: relative; min-width: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  padding: var(--sp-5);
}
.research-item::before {
  content: ""; position: absolute; left: 0; top: var(--sp-5); bottom: var(--sp-5);
  width: 2px; border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--synapse), transparent);
}
.research-item.is-anchor { border-color: rgba(122, 214, 235, 0.30); }
.rid { display: block; color: var(--synapse-deep); }
.research-item h3 { font-size: var(--fs-title-2); margin-top: var(--sp-2); }
.research-item > p { margin-top: var(--sp-3); color: var(--text-secondary); font-size: var(--fs-body-s); max-width: var(--measure); }
.metric-row {
  display: grid; gap: var(--sp-4) var(--sp-5); margin-top: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}
.metric { position: relative; min-width: 0; border-top: 1px solid var(--line-strong); padding-top: var(--sp-3); }
.metric::before { content: ""; position: absolute; left: 0; top: -1px; width: 22px; height: 2px; background: var(--synapse); }
.metric-value {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-title-2); letter-spacing: -0.01em;
  font-feature-settings: "tnum" 1; overflow-wrap: anywhere;
}
.metric-label { display: block; margin-top: var(--sp-1); color: var(--text-tertiary); }
.source-note { margin-top: var(--sp-4); font-size: var(--fs-caption); color: var(--text-tertiary); max-width: var(--measure); overflow-wrap: anywhere; }
.source-note a { color: var(--synapse); }
.source-note a:hover { color: var(--text-primary); }
.disclaimer.compliance { border-style: solid; border-color: rgba(122, 214, 235, 0.30); color: var(--text-secondary); }

/* ---------- App 截图占位 ---------- */
.app-shot { margin: 44px auto 0; max-width: 420px; text-align: center; }
.app-shot img { margin: 0 auto; }
.app-shot figcaption {
  margin-top: var(--sp-3); font-family: var(--font-mono);
  font-size: 0.76rem; color: var(--text-tertiary); letter-spacing: 0.04em;
}

/* ---------- 联系 / 下载占位 ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: 18px; }
.store-badge {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  padding: 10px 18px; color: var(--text-secondary);
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.03em;
  background: var(--surface-1);
}
.store-badge svg { width: 20px; height: 20px; flex: none; }

/* ---------- Waitlist ---------- */
.waitlist {
  position: relative;
  padding: 72px 0;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(217, 164, 92, 0.09), transparent 70%),
    var(--bg-raised);
  border-top: 1px solid var(--line);
  text-align: center;
}
.waitlist > .container { position: relative; z-index: 1; }
.waitlist h2 { font-size: var(--fs-display-2); }
.waitlist .waitlist-sub { margin: var(--sp-3) auto 0; color: var(--text-secondary); max-width: 38em; }
.waitlist-form {
  margin: 30px auto 0; max-width: 480px;
  display: flex; flex-direction: column; gap: var(--sp-2);
}
.waitlist-form input[type="email"] {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-pill);
  background: var(--surface-1); border: 1px solid var(--line-strong);
  color: var(--text-primary); min-width: 0;
  transition: border-color var(--dur-2) var(--ease-standard);
}
.waitlist-form input[type="email"]::placeholder { color: var(--text-tertiary); }
.waitlist-form input[type="email"]:focus { border-color: var(--synapse); outline: none; }
.form-msg { min-height: 1.4em; font-size: var(--fs-body-s); color: var(--text-secondary); overflow-wrap: anywhere; }
.form-msg.is-ok { color: var(--ok); }
.form-msg.is-error { color: var(--err); }
.waitlist-note { margin-top: var(--sp-2); font-size: 0.8rem; color: var(--text-tertiary); }
@media (min-width: 560px) {
  .waitlist-form { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .waitlist-form input[type="email"] { flex: 1 1 260px; }
  .waitlist-form .btn { flex: none; }
  .waitlist-form .form-msg { flex-basis: 100%; }
}

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 var(--sp-6); background: var(--bg-base); }
.footer-grid { display: grid; gap: 28px; }
.footer-brand p { margin-top: 10px; color: var(--text-tertiary); font-size: 0.9rem; max-width: 30em; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2) var(--sp-5); }
.footer-nav a { color: var(--text-secondary); font-size: 0.91rem; padding: var(--sp-1) 0; display: inline-block; }
.footer-nav a:hover { color: var(--text-primary); }
.footer-meta {
  margin-top: 34px; padding-top: var(--sp-5); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px var(--sp-5); justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-tertiary);
  letter-spacing: 0.03em;
}
.footer-langs { display: flex; gap: var(--sp-3); }
.footer-langs a { color: var(--text-tertiary); }
.footer-langs a:hover { color: var(--text-primary); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr; } }

/* ---------- 动效 ---------- */
.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .rec-dot { animation: none; }
  .btn, .card, .panel-card, .nav-top, .panel-links a { transition: none; }
  canvas.neuro { transition: none; }
}
