/* ---- 01-tokens.css ----------------------------------------------------- */

/* ==========================================================================
   荒启科幻 · 企业官网  ——  唯一样式文件
   --------------------------------------------------------------------------
   本文件由以下分区构成，请按序阅读：
     01 设计令牌 (Design Tokens)
     02 字体声明与基础重置
     03 基础排版与通用工具
     04 布局骨架与背景层
     05 组件库
     06 页面级样式
     07 响应式断点（320px ~ 4K）
     08 动效与降级

   约定：
     · 全站不使用任何 emoji，图标一律为内联 SVG
     · 不引用任何外部资源（无 CDN、无在线字体）
     · 所有尺寸/颜色均通过变量控制，便于整体调节
   ========================================================================== */

/* ==========================================================================
   01 设计令牌
   ========================================================================== */

:root {
  /* ---- 品牌基色（v2.0「GEO 冷峻几何」美术方向）
          墨黑冷底 + 冰青主强调 + 雾蓝次强调。
          视觉语言只有三样东西：发丝线、色块、留白。 ---- */
  --c-deepspace: #0B0E14;   /* 墨黑（页面唯一底色） */
  --c-nebula: #4FC1E0;      /* 冰青 */
  --c-data: #8B9ED8;        /* 雾蓝 */

  /* ---- 背景层次（极窄的明度阶梯，仅用于极轻微的分区） ---- */
  --bg-0: #0B0E14;
  --bg-1: #10151D;
  --bg-2: #151B26;
  --bg-3: #1A2230;

  /* ---- 面板 / 卡片（平面色块，不再使用玻璃拟态） ---- */
  --surface-1: #141924;
  --surface-2: #1A202D;
  --surface-3: #212836;
  --surface-glass: rgba(20, 25, 36, 0.82);
  --surface-glass-2: rgba(13, 17, 26, 0.90);

  /* ---- 描边（发丝线是本方向的第一视觉语言） ---- */
  --line-1: #242E3E;
  --line-2: #334154;
  --line-3: #47586F;
  --line-soft: rgba(79, 193, 224, 0.18);

  /* ---- 文字 ----
     墨黑底上四级文字。v2.8：--text-3/--text-4 再抬一档 —— 玻璃面板透明度
     提高（v2.8），底下的背景图对次级文字的干扰变强，弱字必须更亮才压得住。
     --text-2 对 #0B0E14 的对比度约 9.5:1。昼夜两套同步调整。 */
  --text-1: #EDF2F8;
  --text-2: #C3CDDA;
  --text-3: #A6B2C3;
  --text-4: #8B98A9;

  /* ---- 强调色 ---- */
  --accent-1: #4FC1E0;
  --accent-1-hi: #7CD9F0;
  --accent-1-dim: #3FA6C4;
  --accent-1-soft: rgba(79, 193, 224, 0.10);
  --accent-1-line: rgba(79, 193, 224, 0.32);
  --accent-2: #8B9ED8;
  --accent-2-hi: #A9B9E8;
  --accent-2-soft: rgba(139, 158, 216, 0.10);
  --accent-2-line: rgba(139, 158, 216, 0.30);
  --accent-warn: #E0A84E;
  --accent-warn-soft: rgba(224, 168, 78, 0.10);

  /* ---- 曲速尾焰（v2.3.16，首屏企业号专用） ----
     尾焰比品牌冰青更蓝一档：它读的是「推进器等离子」而不是品牌装饰，
     偏青会被当成又一处 accent 色块。核心取亮天蓝、外晕取中蓝，
     用三层平涂叠出「芯亮边淡」的火焰（全站禁渐变）。 */
  --warp-core: #B6ECFF;
  --warp-flame: #3E9FE8;

  /* ---- 渐变 ----
     v2.0 起全站去渐变化：所有渐变令牌重定义为「单色平涂」或同色微差，
     既有的渐变令牌用法无需逐处修改。 */
  --grad-primary: linear-gradient(115deg, #4FC1E0 0%, #4FC1E0 100%);
  --grad-primary-h: linear-gradient(115deg, #7CD9F0 0%, #7CD9F0 100%);
  --grad-line: linear-gradient(90deg, rgba(79, 193, 224, 0) 0%, rgba(79, 193, 224, 0.85) 50%, rgba(79, 193, 224, 0) 100%);
  --grad-text: linear-gradient(102deg, #EDF2F8 0%, #EDF2F8 100%);
  --grad-panel: linear-gradient(150deg, rgba(79, 193, 224, 0.05) 0%, rgba(11, 14, 20, 0) 46%, rgba(139, 158, 216, 0.04) 100%);

  /* ---- 透明洗色（v2.3.23）----
     旧版把 rgba(255,255,255,.0x) 直接写进组件，白天模式下等于没有：
     悬停态、轨道、条形底、面板底色会整体消失。改由令牌按主题给出。 */
  --wash-1: rgba(255, 255, 255, 0.03);
  --wash-2: rgba(255, 255, 255, 0.06);
  --track: rgba(255, 255, 255, 0.07);

  /* ---- 实色块上的字色 ----
     白字压冰青（#4FC1E0）只有 2.1:1，夜间主按钮会糊成一片。
     品牌规则本来就是「冰青实色块 + 墨黑字」，这里把它令牌化。 */
  --on-accent: #0B0E14;

  /* ---- 幽灵序号（卡片 01/02/03 与期次编号）---- */
  --ghost-1: rgba(79, 193, 224, 0.16);
  --ghost-2: rgba(79, 193, 224, 0.28);

  /* ---- 字体族 ---- */
  --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  --font-display: 'Orbitron', 'Inter', 'Noto Sans SC', sans-serif;
  --font-mono: 'JetBrains Mono', 'Inter', 'Noto Sans SC', ui-monospace, monospace;

  /* ---- 字号（流体） ---- */
  --fs-display: clamp(34px, 5.2vw, 68px);
  --fs-h1: clamp(30px, 4vw, 54px);
  --fs-h2: clamp(25px, 2.9vw, 40px);
  --fs-h3: clamp(20px, 1.7vw, 26px);
  --fs-h4: clamp(17px, 1.3vw, 20px);
  --fs-lead: clamp(15.5px, 1.15vw, 19px);
  --fs-body: clamp(14.5px, 1.02vw, 16px);
  --fs-sm: clamp(13px, 0.92vw, 14px);
  --fs-xs: 12px;
  --fs-mono: clamp(12px, 0.95vw, 13.5px);

  --lh-tight: 1.22;
  --lh-head: 1.38;
  --lh-body: 1.75;

  /* ---- 间距 ---- */
  --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: 88px;
  --sp-10: 120px;

  --gutter: clamp(20px, 5vw, 80px);
  --sec-y: clamp(64px, 7.5vw, 120px);
  --sec-y-sm: clamp(44px, 5vw, 72px);

  /* ---- 容器 ---- */
  --w-narrow: 860px;
  --w-content: 1160px;
  --w-wide: 1320px;
  --w-max: 1600px;

  /* ---- 圆角（几何风：接近直角的克制圆角） ---- */
  --r-1: 2px;
  --r-2: 3px;
  --r-3: 5px;
  --r-4: 8px;

  /* ---- 层级 ---- */
  --z-overlay: 1;
  --z-content: 2;
  --z-header: 60;
  --z-drawer: 90;
  --z-top: 999;

  /* ---- 动效 ---- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-1: 180ms;
  --dur-2: 320ms;
  --dur-3: 560ms;

  /* ---- 阴影（冷峻风：无光晕，仅极淡的落影与 1px 描边） ---- */
  --sh-1: 0 10px 28px rgba(0, 0, 0, 0.35);
  --sh-2: 0 18px 44px rgba(0, 0, 0, 0.45);
  --glow-1: 0 0 0 1px rgba(79, 193, 224, 0.38);
  --glow-2: 0 0 0 1px rgba(139, 158, 216, 0.36);

  /* ----------------------------------------------------------------------
     预留令牌说明
     ----------------------------------------------------------------------
     设计系统需要保持刻度的完整性，因此以下令牌在首版中未被任何规则引用，
     属于「已定义、待使用」而非遗留代码。它们分为三类：

     1) 原始色令牌（primitive）：--c-deepspace / --c-nebula / --c-data
        品牌视觉的唯一事实来源。语义令牌（--bg-*、--accent-*）由它们派生，
        修改品牌色时应从这三个值改起。

     2) 刻度成员：--bg-0 / --bg-2 / --bg-3
                 --surface-1 / --surface-2 / --surface-3
                 --sp-1 / --sp-9 / --sp-10
        背景、面板、间距三套刻度的完整成员。首版只用到其中部分档位，
        保留其余档位可避免后续调整时新增「一次性魔法数字」。

     3) 状态与效果预设：--surface-glass-2 / --line-soft / --accent-1-dim
                        --sh-1 / --glow-1 / --glow-2
        供悬停、聚焦、浮层等状态直接取用。（--grad-primary-h 已用于主按钮悬停）
     ---------------------------------------------------------------------- */
}

/* ==========================================================================
   02 字体声明与基础重置
   --------------------------------------------------------------------------
   全部字体已本地化并做子集化，自托管于 assets/fonts/，不依赖任何在线服务
   ========================================================================== */

@font-face {
  font-family: 'Noto Sans SC';
  src: url('../assets/fonts/noto-sans-sc-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans SC';
  src: url('../assets/fonts/noto-sans-sc-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans SC';
  src: url('../assets/fonts/noto-sans-sc-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('../assets/fonts/orbitron-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('../assets/fonts/orbitron-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('../assets/fonts/orbitron-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../assets/fonts/jetbrains-mono-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../assets/fonts/jetbrains-mono-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 页头是 sticky，锚点跳转不补这一截的话落点会被页头压住
     （contact.html#privacy、#invite 都一样）。
     这里写「未吸附态页头高 + 16px」：1024+ 是 76+1=77 → 93。
     ≤1023（68+1=69 → 85）与 ≥2560（88+1=89 → 105）在 07-responsive 里覆盖。
     吸附态页头更矮（64/60），所以落地后的净空只会更宽，不会更窄。 */
  scroll-padding-top: 93px;
  /* v2.0「GEO 冷峻几何」：纯色墨黑底。旧版的多层径向渐变在低分辨率
     环境下会产生可见的色带（banding），纯色底 + 矢量几何层彻底消除该问题。 */
  background: #0B0E14;
}

/* 白天模式：浅天青底 */
html[data-theme="day"] {
  background: var(--bg-0);
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  color: var(--text-2);
  background: transparent;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

hr {
  border: 0;
  height: 1px;
  background: var(--line-1);
  margin: 0;
}

::selection {
  background: rgba(79, 193, 224, 0.32);
  color: var(--on-accent);
}

/* 焦点可见性：键盘可达性的基础保障 */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-radius: var(--r-1);
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0B0E14;
}

::-webkit-scrollbar-thumb {
  background: #27303F;
  border-radius: 0;
  border: 2px solid #0B0E14;
}

::-webkit-scrollbar-thumb:hover {
  background: #3A475C;
}

/* --------------------------------------------------------------------------
   v2.2 区块背景令牌（夜间默认值）
   目的：任何滚动位置都能看到部分背景星图 —— 全宽实色区块改为半透明。
   -------------------------------------------------------------------------- */
:root {
  --tinted-bg: rgba(16, 21, 29, 0.74);
  --footer-bg: rgba(11, 14, 20, 0.86);
  --header-stuck-bg: rgba(11, 14, 20, 0.9);
  --drop-bg: rgba(21, 27, 38, 0.96);
  --sun: #F5C445;
  --sun-line: #D9A32B;
  /* 品牌墨黑底板（昼夜不变）：品牌规范展示板等「必须恒为深色」的板块专用，
     白 logo 放在上面 —— v2.3.5 修复白天模式下白 logo 隐形的问题 */
  --ink-plate: #0B0E14;
  /* 半透明玻璃面板（v2.3.6）：夜间是墨色玻璃，白天翻为白色玻璃 ——
     内容卡片 / 时间轴格 / 表头 / 模拟界面行 / 回到顶部按钮等共用。
     v2.8：整体抬实一档 —— 小屏上文字压在背景图上难以辨读。 */
  --panel-glass: rgba(21, 27, 38, 0.50);
  --panel-glass-hi: rgba(21, 27, 38, 0.64);
  --panel-glass-strong: rgba(21, 27, 38, 0.74);
  --panel-glass-99: rgba(21, 27, 38, 0.92);
  /* 表单控件底（输入框 / 复选方框 / 分段控件）：夜间深陷、白天浅白 */
}

/* --------------------------------------------------------------------------
   白天模式（v2.3，宇宙视角）
   浅天青深空底：锐利斜切色块、平涂太阳、黯淡月牙、几点星光。
   语义与夜间一一对应 —— 只换令牌值，不换结构。
   -------------------------------------------------------------------------- */
:root[data-theme="day"] {
  --c-deepspace: #C9DDEC;   /* 白昼天空 */
  --c-nebula: #0A6580;      /* 深冰青（浅底上可读的主强调；再浅小字就不够了） */
  --c-data: #3E5095;        /* 深雾蓝 */

  --bg-0: #C9DDEC;
  --bg-1: #CFE2F0;
  --bg-2: #D8E8F4;
  --bg-3: #E2EEF7;

  --surface-1: #F6FAFD;
  --surface-2: #FFFFFF;
  --surface-3: #EAF2F8;
  --surface-glass: rgba(255, 255, 255, 0.88);
  --surface-glass-2: rgba(246, 250, 253, 0.95);

  --line-1: #C3D4E2;
  --line-2: #A9C0D2;
  --line-3: #8AA6BC;
  --line-soft: rgba(23, 137, 173, 0.24);

  /* 浅天底上的深藏青文字，正文对比度 > 7:1。v2.8：三级字再压深一档 */
  --text-1: #16232F;
  --text-2: #2E4052;
  --text-3: #2F4154;
  --text-4: #3D4F63;

  --accent-1: #0A6580;
  --accent-1-hi: #084F60;
  --accent-1-dim: #23A3C7;
  --accent-1-soft: rgba(10, 101, 128, 0.1);
  --accent-1-line: rgba(10, 101, 128, 0.38);
  /* 深雾蓝：压在浅色面板(#AAC4DA)上时 #3E5095 只有 4.17:1，
     差一点点过不了 4.5 线；收到 #374580 后 5.0:1，色相没变。 */
  --accent-2: #374580;
  --accent-2-hi: #3A4C8C;
  --accent-2-soft: rgba(62, 80, 149, 0.1);
  --accent-2-line: rgba(62, 80, 149, 0.34);
  --accent-warn: #8A5A0F;
  --accent-warn-soft: rgba(138, 90, 15, 0.12);

  --wash-1: rgba(22, 35, 47, 0.04);
  --wash-2: rgba(22, 35, 47, 0.07);
  --track: rgba(22, 35, 47, 0.10);
  --on-accent: #FFFFFF;
  --ghost-1: rgba(10, 101, 128, 0.22);
  --ghost-2: rgba(10, 101, 128, 0.34);

  /* 曲速尾焰（昼）：底色是近白的浅黄太阳。色阶方向必须与夜间一致 ——
     芯亮边深，否则火焰读成「一块深蓝塑料」而不是「在烧」。
     外缘压到深蓝保证在浅黄上立得住，核心提回亮蓝（浅黄底上的亮蓝
     仍能读作发光，因为周围没有更亮的东西）。 */
  --warp-flame: #14547D;
  --warp-core: #2E9FD4;

  --grad-primary: linear-gradient(115deg, #0A6580 0%, #0A6580 100%);
  --grad-primary-h: linear-gradient(115deg, #084F60 0%, #084F60 100%);
  --grad-line: linear-gradient(90deg, rgba(23, 137, 173, 0) 0%, rgba(23, 137, 173, 0.85) 50%, rgba(23, 137, 173, 0) 100%);
  --grad-text: linear-gradient(102deg, #16232F 0%, #16232F 100%);
  --grad-panel: linear-gradient(150deg, rgba(23, 137, 173, 0.05) 0%, rgba(201, 221, 236, 0) 46%, rgba(74, 95, 168, 0.04) 100%);

  --sh-1: 0 10px 28px rgba(46, 84, 116, 0.18);
  --sh-2: 0 18px 44px rgba(46, 84, 116, 0.22);
  --glow-1: 0 0 0 1px rgba(23, 137, 173, 0.4);
  --glow-2: 0 0 0 1px rgba(74, 95, 168, 0.38);

  --tinted-bg: rgba(255, 255, 255, 0.62);
  --footer-bg: rgba(191, 214, 232, 0.92);
  --header-stuck-bg: rgba(201, 221, 236, 0.94);
  --drop-bg: rgba(246, 250, 253, 0.98);

  /* 玻璃面板翻白（v2.3.6）：否则白天模式下卡片会渲染成过暗的灰块。
     v2.8：抬实一档，小屏阅读优先。 */
  --panel-glass: rgba(255, 255, 255, 0.78);
  --panel-glass-hi: rgba(255, 255, 255, 0.90);
  --panel-glass-strong: rgba(255, 255, 255, 0.86);
  --panel-glass-99: rgba(250, 253, 255, 0.96);
}

:root[data-theme="day"] ::selection { background: rgba(23, 137, 173, 0.3); color: #16232F; }

:root[data-theme="day"] ::-webkit-scrollbar-track { background: #C9DDEC; }
:root[data-theme="day"] ::-webkit-scrollbar-thumb { background: #9FB6C9; border-color: #C9DDEC; }
:root[data-theme="day"] ::-webkit-scrollbar-thumb:hover { background: #8AA6BC; }

/* ---- 02-base.css ------------------------------------------------------- */

/* ---- 隐藏属性兜底 --------------------------------------------------------
   HTML 的 hidden 属性由 UA 样式表的 [hidden] {display:none}
提供，但任何一条
   带 display 的类规则都会把它覆盖（例如 .works-grid {display:grid}
）。
   作品库空状态与「加载更多」都依赖 hidden 属性切换，因此在这里统一兜底。 */
[hidden] {
  display: none !important;
}
.h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.01em;
}
.h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-head);
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.01em;
}
.h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-head);
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.005em;
}
.h4 {
  font-size: var(--fs-h4);
  line-height: var(--lh-head);
  font-weight: 600;
  color: var(--text-1);
}
.body {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-2);
}
.small {
  font-size: var(--fs-sm);
  line-height: 1.68;
  color: var(--text-3);
}
.micro {
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--text-3);
}
.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.num {
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: var(--text-1);
}
.text-1 { color: var(--text-1); }
.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }
.text-cyan { color: var(--accent-2); }
.strong { color: var(--text-1); font-weight: 500; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -80px;
  z-index: var(--z-top);
  padding: 10px 18px;
  background: var(--accent-1);
  color: var(--on-accent);
  border-radius: var(--r-2);
  font-size: var(--fs-sm);
  transition: top var(--dur-2) var(--ease);
}
.skip-link:focus {
  top: 12px;
}
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mt-8 { margin-top: var(--sp-8); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-7 { margin-bottom: var(--sp-7); }
.ico {
  width: 1em;
  height: 1em;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.ico-18 { width: 18px; height: 18px; }
.ico-20 { width: 20px; height: 20px; }
.ico-24 { width: 24px; height: 24px; }
.ico-box {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: var(--accent-1-soft);
  color: var(--accent-1-hi);
}
.ico-box--sm {
  width: 38px;
  height: 38px;
}
.ico-box--cyan {
  color: var(--accent-2);
  background: var(--accent-2-soft);
  border-color: var(--accent-2-line);
}
.rule {
  height: 1px;
  background: var(--line-1);
  border: 0;
}
.rule-grad {
  height: 1px;
  border: 0;
  background: var(--grad-line);
}
.list-dot > li {
  position: relative;
  padding-left: 20px;
  line-height: 1.7;
}
.list-dot > li + li {
  margin-top: 10px;
}
.list-dot > li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(79, 193, 224, 0.14);
}
.list-dot--cyan > li::before {
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(139, 158, 216, 0.14);
}
.list-check > li {
  position: relative;
  padding-left: 26px;
  line-height: 1.7;
}
.list-check > li + li {
  margin-top: 9px;
}
.list-check > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 13px;
  height: 7px;
  border-left: 1.6px solid var(--accent-2);
  border-bottom: 1.6px solid var(--accent-2);
  transform: rotate(-45deg);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  background: var(--wash-1);
  color: var(--text-2);
  font-size: var(--fs-xs);
  line-height: 1.5;
  white-space: nowrap;
}
.chip--accent {
  border-color: var(--accent-1-line);
  background: var(--accent-1-soft);
  color: var(--accent-1-hi);
}
.chip--cyan {
  border-color: var(--accent-2-line);
  background: var(--accent-2-soft);
  color: var(--accent-2);
}
.chip--warn {
  border-color: rgba(224, 168, 78, 0.3);
  background: var(--accent-warn-soft);
  color: var(--accent-warn);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--accent-2-line);
}
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-2);
  background: var(--wash-1);
  color: var(--text-3);
  font-size: var(--fs-sm);
  line-height: 1.7;
}
.notice .ico {
  margin-top: 3px;
  color: var(--text-4);
}

/* ---- 03-layout.css ----------------------------------------------------- */

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  pointer-events: none;
  overflow: hidden;
}
/* 网格：双层刻度，像坐标纸。细网格 84px 提供质感，主网格 336px 提供秩序；
   只在左上区域最清晰，向右下淡出，避免与正文争夺注意力。 */
.bg-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(to right, rgba(148, 170, 200, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 170, 200, 0.045) 1px, transparent 1px),
    linear-gradient(to right, rgba(148, 170, 200, 0.085) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 170, 200, 0.085) 1px, transparent 1px);
  background-size: 84px 84px, 84px 84px, 336px 336px, 336px 336px;
  mask-image: radial-gradient(115% 85% at 22% 8%, #000 0%, rgba(0, 0, 0, 0.4) 48%, transparent 80%);
  -webkit-mask-image: radial-gradient(115% 85% at 22% 8%, #000 0%, rgba(0, 0, 0, 0.4) 48%, transparent 80%);
}
/* 星点层：背景星野。16 枚 1–2px 的恒定星点，白色与雾蓝交替、
   透明度随机感分布 —— 用纯 CSS radial-gradient 实现，分辨率无关。
   与星座图（有连线的「被命名之星」）在密度与亮度上拉开层次。 */
.bg-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 6% 14%, rgba(237, 242, 248, 0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 15% 68%, rgba(237, 242, 248, 0.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 24% 30%, rgba(237, 242, 248, 0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 33% 84%, rgba(139, 158, 216, 0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 41% 12%, rgba(237, 242, 248, 0.35) 50%, transparent 51%),
    radial-gradient(2px 2px at 47% 56%, rgba(237, 242, 248, 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 26%, rgba(139, 158, 216, 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 62% 74%, rgba(237, 242, 248, 0.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 69% 8%, rgba(237, 242, 248, 0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 76% 44%, rgba(139, 158, 216, 0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 83% 66%, rgba(237, 242, 248, 0.5) 50%, transparent 51%),
    radial-gradient(2px 2px at 89% 20%, rgba(237, 242, 248, 0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 78%, rgba(139, 158, 216, 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 10% 44%, rgba(237, 242, 248, 0.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 50% 92%, rgba(237, 242, 248, 0.35) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 97% 50%, rgba(237, 242, 248, 0.4) 50%, transparent 51%);
}
/* 全幅星座图：三组星座连线 + 虚线大圆弧 + 两个带坐标十字的「被命名之星」。
   fill/stroke 走 currentColor，主色调随 --accent-1。 */
.bg-constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--accent-1);
  opacity: 0.6;
}
/* 上下压暗：只做极轻的固定层次，不再有径向暗角 —— 冷峻风要求画面平。 */
.bg-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.42) 0%, rgba(5, 7, 11, 0) 16%, rgba(5, 7, 11, 0) 84%, rgba(5, 7, 11, 0.42) 100%);
}
/* 观测坐标图 / 轨道图：星图语法的局部特写。
   动画极慢（60s+ 量级），几乎不可察觉，只保留「画面是活的」这一点。 */
.bg-shard {
  position: absolute;
  opacity: 0.5;
  color: var(--accent-1);
}
.bg-shard--a {
  top: 4%;
  left: -2%;
  width: 30vw;
  max-width: 460px;
  transform: rotate(-6deg);
  animation: shard-drift-a 60s var(--ease) infinite alternate;
}
.bg-shard--b {
  top: 44%;
  right: -4%;
  width: 26vw;
  max-width: 420px;
  transform: rotate(10deg);
  color: var(--accent-2);
  opacity: 0.4;
  animation: shard-drift-b 72s var(--ease) infinite alternate;
}
@keyframes shard-drift-a {
  from { transform: rotate(-6deg) translate3d(0, 0, 0); }
  to { transform: rotate(-3deg) translate3d(1.5%, 2.5%, 0); }
}
@keyframes shard-drift-b {
  from { transform: rotate(10deg) translate3d(0, 0, 0); }
  to { transform: rotate(14deg) translate3d(-1.5%, -2.5%, 0); }
}
/* 页面内容层：确保永远高于背景 */
.page {
  position: relative;
  z-index: var(--z-content);
}
/* ---- 容器 ---- */
.container {
  width: 100%;
  max-width: var(--w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--w-wide); }
.container--narrow { max-width: var(--w-narrow); }
.container--full { max-width: var(--w-max); }
/* ---- 区块 ---- */
.section {
  position: relative;
  padding-block: var(--sec-y);
  /* v2.3.19 渲染性能：内页很长（社群页 12 屏），把屏幕外区块的布局与绘制
     推迟到滚动接近时再做，首屏只承担首屏的成本。
     contain-intrinsic-size 用 auto 关键字：浏览器记住上次实测高度，
     从第二次滚动起不再有滚动条跳动。不参与首屏的 .hero / .page-hero
     不加，避免入场动画与锚点定位受影响。 */
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}
.section--sm { padding-block: var(--sec-y-sm); }
/* 交替底色：长页面的节奏带。v2.2 起改为半透明（--tinted-bg）：
   星图是网站的身份底色，任何滚动位置都必须能看到它 ——
   实色区块把它完全盖住是「内容与背景割裂」的根源。 */
.section--tinted::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--tinted-bg);
  border-block: 1px solid var(--line-1);
  pointer-events: none;
}
.section--panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-panel);
  border-block: 1px solid var(--line-1);
  pointer-events: none;
}
.section > .container {
  position: relative;
  z-index: 1;
}
/* ---- 区块标题 ---- */
.section-head {
  max-width: 760px;
}
.section-head__title {
  margin-top: 18px;
  font-size: var(--fs-h2);
  line-height: var(--lh-head);
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-head__desc {
  margin-top: 18px;
  font-size: var(--fs-lead);
  line-height: 1.72;
  color: var(--text-2);
}
.section-head__rule {
  margin-top: 26px;
  max-width: 220px;
}
/* ---- 网格 ---- */
.grid {
  display: grid;
  gap: var(--sp-5);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--gap-lg { gap: var(--sp-6); }
.grid--gap-xl { gap: var(--sp-7); }
/* ---- 通用分栏 ---- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--top { align-items: start; }
/* ---- 弹性工具 ---- */
.row {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.row--between { justify-content: space-between; }
.col { display: flex; flex-direction: column; }
/* ==========================================================================
   页脚
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: var(--z-content);
  border-top: 1px solid var(--line-1);
  /* v2.2：半透明（--footer-bg），页脚之下仍能隐约看到星图 */
  background: var(--footer-bg);
}
.site-footer__main {
  padding-block: clamp(48px, 5vw, 76px) clamp(32px, 3vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.site-footer__brand img {
  width: 178px;
  height: auto;
}
.site-footer__tagline {
  margin-top: 20px;
  max-width: 320px;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--text-3);
}
.site-footer__col-title {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-1);
  font-family: var(--font-display);
}
.site-footer__links {
  margin-top: 18px;
}
.site-footer__links li + li {
  margin-top: 11px;
}
.site-footer__links a {
  font-size: var(--fs-sm);
  color: var(--text-3);
  transition: color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
  display: inline-block;
}
.site-footer__links a:hover {
  color: var(--accent-2);
  transform: translateX(3px);
}
.site-footer__bottom {
  border-top: 1px solid var(--line-1);
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--text-4);
}
.site-footer__bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer__bottom a:hover { color: var(--text-2); }
.footer-brand-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--text-4);
  text-transform: uppercase;
}
/* --------------------------------------------------------------------------
   v2.3 白天模式背景层（宇宙视角）
   夜间星图（bg-stars / bg-constellation / bg-shard）与昼景（bg-daysky）
   互斥显示；网格保留但换日间线色 —— 坐标纸是两种模式共通的底层语言。
   -------------------------------------------------------------------------- */
.bg-daysky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
}
:root[data-theme="day"] .bg-daysky { display: block; }
:root[data-theme="day"] .bg-stars, :root[data-theme="day"] .bg-constellation, :root[data-theme="day"] .bg-shard--a, :root[data-theme="day"] .bg-shard--b { display: none; }
/* 日间网格：浅天底上的深灰蓝细线，透明度与夜间观感对齐 */
:root[data-theme="day"] .bg-grid {
  background-image:
    linear-gradient(to right, rgba(70, 100, 130, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(70, 100, 130, 0.07) 1px, transparent 1px),
    linear-gradient(to right, rgba(70, 100, 130, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(70, 100, 130, 0.12) 1px, transparent 1px);
}
/* 日间压暗改为极轻的明度呼吸：页顶微沉、页底提亮，给深空平面一点纵深 */
:root[data-theme="day"] .bg-vignette {
  background: linear-gradient(180deg, rgba(70, 100, 130, 0.10) 0%, rgba(70, 100, 130, 0) 18%, rgba(255, 255, 255, 0) 78%, rgba(255, 255, 255, 0.16) 100%);
}
/* v2.3 白天模式改为「宇宙视角」：锐利斜切色块 + 轨道环 + 平涂太阳 + 月牙 + 星光。
   动画只保留两处极慢视差漂移，且只做纯平移（translateX）——
   CSS transform 对 SVG 默认以 viewBox 中心为 transform-origin，
   在 keyframes 里混入 scale 会把元素推出画面（v2.2 踩坑）。 */
.daysky__stars { animation: daysky-drift-a 64s var(--ease) infinite alternate; }
.daysky__rings { animation: daysky-drift-b 96s var(--ease) infinite alternate; }
/* 日冕与放射光线做极缓的明暗呼吸，给「光」一点生命感 */
.daysky__rays { animation: daysky-rays 14s var(--ease) infinite alternate; }
.daysky__rings { animation: daysky-drift-b 96s var(--ease) infinite alternate, daysky-rays 14s var(--ease) infinite alternate; }
@keyframes daysky-rays {
  from { opacity: 0.10; }
  to { opacity: 0.20; }
}
@keyframes daysky-drift-a {
  from { transform: translateX(0); }
  to { transform: translateX(26px); }
}
@keyframes daysky-drift-b {
  from { transform: translateX(0); }
  to { transform: translateX(-34px); }
}
/* 尊重减弱动效偏好：漂移与光呼吸静止 */
@media (prefers-reduced-motion: reduce) {
  .daysky__stars, .daysky__rings, .daysky__rays { animation: none; }
}

/* ---- 04-components-nav.css --------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  height: 46px;
  border-radius: var(--r-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-2) var(--ease),
              border-color var(--dur-2) var(--ease),
              color var(--dur-2) var(--ease),
              box-shadow var(--dur-2) var(--ease),
              transform var(--dur-1) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .ico { transition: transform var(--dur-2) var(--ease); }
.btn--primary {
  color: var(--on-accent);
  background: var(--accent-1);
  box-shadow: 0 6px 22px rgba(63, 166, 196, 0.35), 0 1px 0 rgba(255, 255, 255, 0.16) inset;
}
.btn--primary:hover {
  background: var(--grad-primary-h);
  box-shadow: 0 10px 32px rgba(63, 166, 196, 0.45), 0 1px 0 rgba(255, 255, 255, 0.22) inset;
  transform: translateY(-1px);
}
.btn--primary:hover .ico { transform: translateX(3px); }
.btn--outline {
  color: var(--text-1);
  border: 1px solid var(--line-2);
  background: var(--wash-1);
}
.btn--outline:hover {
  border-color: var(--accent-1-line);
  background: var(--accent-1-soft);
  color: var(--text-1);
  transform: translateY(-1px);
}
.btn--ghost {
  color: var(--text-2);
  border: 1px solid transparent;
  padding-inline: 16px;
}
.btn--ghost:hover {
  color: var(--text-1);
  border-color: var(--line-2);
  background: var(--wash-2);
}
.btn--sm { height: 38px; padding-inline: 16px; font-size: var(--fs-xs); }
.btn--lg { height: 52px; padding-inline: 28px; font-size: var(--fs-body); }
.btn--block { width: 100%; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--accent-1-hi);
  transition: color var(--dur-1) var(--ease);
  /* 卡片底部的入口原先只有 23px 高；撑到 28px 不影响与标题的对齐 */
  min-height: 28px;
}
.link-arrow .ico { transition: transform var(--dur-2) var(--ease); }
.link-arrow:hover { color: var(--accent-2); }
.link-arrow:hover .ico { transform: translateX(4px); }
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: var(--z-top);
  background: var(--grad-primary);
  box-shadow: 0 0 12px rgba(79, 193, 224, 0.7);
  transition: width 120ms linear;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  transition: background-color var(--dur-2) var(--ease),
              border-color var(--dur-2) var(--ease),
              box-shadow var(--dur-2) var(--ease),
              backdrop-filter var(--dur-2) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.site-header.is-stuck {
  background: var(--header-stuck-bg);
  border-bottom-color: var(--line-1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sh-1);
}
.site-header.is-stuck .site-header__inner { height: 64px; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand__img {
  width: 168px;
  height: auto;
  transition: width var(--dur-2) var(--ease);
}
.site-header.is-stuck .brand__img { width: 148px; }
.brand__img--day { display: none; }
:root[data-theme="day"] .brand__img--night { display: none; }
:root[data-theme="day"] .brand__img--day { display: block; }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: var(--surface-1);
  color: var(--text-2);
  cursor: pointer;
  transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.theme-toggle:hover {
  color: var(--accent-1);
  border-color: var(--accent-1-line);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--accent-1);
  outline-offset: 2px;
}
.theme-toggle__ico--to-night { display: none; }
:root[data-theme="day"] .theme-toggle__ico--to-day { display: none; }
:root[data-theme="day"] .theme-toggle__ico--to-night { display: block; }
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--r-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.nav__link:hover { color: var(--text-1); background: var(--wash-2); }
.nav__link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-2) var(--ease);
}
.nav__link:hover::after { transform: scaleX(0.6); }
.nav__item.is-current .nav__link { color: var(--text-1); }
.nav__item.is-current .nav__link::after { transform: scaleX(1); }
.nav__group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.nav__link--parent { padding-right: 8px; }
.nav__caret-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 30px;
  margin-left: -8px;
  border-radius: var(--r-2);
  color: var(--text-3);
  transition: color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.nav__caret-btn:hover { color: var(--text-1); background: var(--wash-2); }
.nav__caret {
  width: 12px;
  height: 12px;
  transition: transform var(--dur-2) var(--ease);
}
.nav__item.is-open .nav__caret { transform: rotate(180deg); }
.nav__drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: 372px;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-3);
  background: var(--drop-bg);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: var(--sh-2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-2) var(--ease),
              transform var(--dur-2) var(--ease),
              visibility var(--dur-2);
}
.nav__item.is-open .nav__drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.drop-item {
  display: flex;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--r-2);
  transition: background-color var(--dur-1) var(--ease);
}
.drop-item:hover { background: var(--accent-1-soft); }
.drop-item__ico {
  width: 34px;
  height: 34px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  color: var(--accent-1-hi);
  background: var(--accent-1-soft);
}
.drop-item__title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-1);
}
.drop-item__desc {
  margin-top: 4px;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--text-3);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.invite-modal {
  border: 1px solid var(--line-1);
  border-radius: var(--r-3);
  padding: 0;
  background: var(--surface-2);
  color: var(--text-1);
  max-width: min(500px, calc(100vw - 40px));
  box-shadow: var(--sh-2);
}
.invite-modal::backdrop {
  background: rgba(5, 7, 11, 0.55);
  backdrop-filter: blur(3px);
}
.invite-modal__card {
  position: relative;
  padding: 30px 30px 24px;
  text-align: center;
}
.invite-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-1);
  border-radius: var(--r-2);
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
}
.invite-modal__close:hover { color: var(--text-1); border-color: var(--line-2); }
.invite-modal__eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-1);
}
.invite-modal__title {
  margin-top: 10px;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-1);
}
.invite-modal__desc {
  margin-top: 12px;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-2);
  text-align: left;
}
.invite-modal__qr {
  display: block;
  width: 216px;
  height: auto;
  margin: 18px auto 10px;
  border-radius: var(--r-2);
  border: 1px solid var(--line-1);
}
.invite-modal__group { font-size: var(--fs-xs); color: var(--text-3); }
/* 群号本身也放进 28px 行盒。不这么做的话：按钮 28px、数字的行盒只有 16–18px，
   两根盒子的底边对齐、顶边天然差半个高度差（390 下 5.14px），
   「两者 top 相同」这种判据永远不可能成立；做成同高之后实测 top 差 0，
   数字字形只挪 0.36px（中间对齐的亚像素），肉眼不可见。 */
.invite-modal__group .mono {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  vertical-align: middle;
}
/* 群号旁边给一个复制入口：9 位数字手打容易错，手机端「长按选中 → 复制」
   要三步。按钮跟群号同一个行盒，不绝对定位 —— 窄屏折行时它会跟着走，
   定位写法在 390 下会压到群号上。
   按钮本体是通用类 .copy-btn（见 05-components-content.css），这里只管间距。 */
.invite-modal__group .copy-btn { margin-left: 10px; }
.invite-modal__hint {
  margin: 8px 0 10px;
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--text-3);
  /* 320 下这行装不下（可用 218px、文案 218.5px），必然两行；
     不加 balance 会第二行只剩一个「。」。320 以下不是主流宽度，
     但孤字比两行更难看，所以让它按 10/9 落。不支持的浏览器忽略本条，无副作用。 */
  text-wrap: balance;
}
.invite-modal__actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.invite-modal__actions--stack {
  flex-direction: column;
  align-items: stretch;
}
.app-dl__ext {
  margin-left: 4px;
  padding: 1px 6px;
  border: 1px solid currentColor;
  border-radius: var(--r-1);
  opacity: 0.6;
  font-family: var(--font-mono);
  /* 10px 在 1x 屏上糊成一团；.exe/.zip 这类后缀要认得出 */
  font-size: 11px;
  letter-spacing: 0.04em;
}
.invite-modal__foot { margin-top: 14px; font-size: var(--fs-xs); color: var(--text-3); }
.invite-modal__foot a { color: var(--accent-1); text-decoration: underline; text-underline-offset: 3px; }
.invite-modal__foot a:hover { color: var(--accent-1-hi); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  align-items: center;
  justify-content: center;
  color: var(--text-1);
  background: var(--wash-1);
}
.nav-toggle__bars {
  position: relative;
  width: 18px;
  height: 12px;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-1) var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5.25px; }
.nav-toggle__bars span:nth-child(3) { top: 10.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background: rgba(6, 9, 20, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-2) var(--ease), visibility var(--dur-2);
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(88vw, 380px);
  padding: 84px 24px 32px;
  overflow-y: auto;
  background: var(--surface-2);
  border-left: 1px solid var(--line-2);
  box-shadow: var(--sh-2);
  transform: translateX(100%);
  transition: transform var(--dur-3) var(--ease-out);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  color: var(--text-1);
}
.drawer__group + .drawer__group { margin-top: 26px; }
.drawer__label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-4);
}
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-1);
  font-size: var(--fs-body);
  color: var(--text-1);
}
.drawer__link .ico { color: var(--text-4); }
.drawer__link:hover .ico, .drawer__link.is-current .ico { color: var(--accent-2); }
.drawer__link.is-current { color: var(--accent-1-hi); }
.drawer__cta { margin-top: 30px; }
.hero {
  position: relative;
  /* 首屏内容的视觉重心略高于几何中心（下内边距大于上内边距），
     让标题块落在观众的视线中心，而不是压在画面下缘 */
  padding-top: clamp(64px, 9vh, 120px);
  padding-bottom: clamp(72px, 11vh, 150px);
  /* 首屏必须正好覆盖浏览器可视区（v2.3.8）：此前用 86vh，页顶就能看到
     下一屏内容露头。改用 svh（动态视口最小高度）避免移动端地址栏抖动 */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.hero__inner { width: 100%; }
.hero__content { max-width: 640px; }
.hero__title {
  margin-top: 24px;
  font-size: var(--fs-display);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-1);
}
.hero__title-line { display: block; }
.hero__title-accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero__desc {
  margin-top: 26px;
  max-width: 560px;
  font-size: var(--fs-lead);
  line-height: 1.78;
  color: var(--text-2);
}
.hero__actions {
  margin-top: 38px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__meta {
  margin-top: 46px;
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line-1);
}
.hero__meta-item { min-width: 96px; }
.hero__meta-num {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  color: var(--text-1);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.hero__meta-num small {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--accent-2);
  margin-left: 3px;
  letter-spacing: 0.02em;
}
.hero__meta-label {
  margin-top: 6px;
  font-size: var(--fs-xs);
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-4);
}
.hero__scroll-line {
  width: 1px;
  height: 42px;
  background: var(--accent-1-line);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-2);
  animation: scroll-hint 2.6s var(--ease) infinite;
}
@keyframes scroll-hint {
  0% { top: -100%; opacity: 0; }
  30% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
/* 窄屏不显示。缺这条默认规则时，SVG 会以浏览器默认的 179×62 静态尺寸
   掉进 .hero 的内容流里 —— 首屏右下角凭空多出一小块白色线稿（v2.3.22 修）。 */
.hero-ship { display: none; }
/* 首屏右侧：原创深空探测船「长针」（v2.3.17）。
   整机 rotate(-9°) + 纵向压扁 0.84 —— 压扁写在旋转之后（transform 列表里
   rotate 在最左），压的是船体横向：读作从斜上方俯视一艘侧倾的船。
   垂直 32%：夜间背景的「轨道图」占着右中偏下那块，叠在一起会把探测器
   读成星图的一部分。
   尺寸（v2.3.22）7vw：船身本体（不含尾焰）在 1440 视口下约 80px，
   日面屏幕直径 1040px —— 直径比 13:1、面积比 170:1。
   这是第三次缩尺：v2.3.17 是 26vw（296px），v2.3.18 砍到 14vw（160px），
   本版按用户要求再砍一半。每次都同步把 SVG 内所有描边与标识件半径反向
   补偿（tools/scale-ship-strokes.cjs，×1.5 之后 ×2），渲染线宽始终维持在
   1.0px 左右：**只缩尺寸不补线宽，船不是变小而是变糊**。改宽度必须跑那个
   脚本，否则主轮廓会掉到 0.5px。
   线色走 --text-1，强调件（传感眼 / 环上信标 / 喷口）用 --accent-1，
   尾焰另有 --warp-flame / --warp-core。只在 ≥1024px 出现；
   窄屏下首屏让位给文字。 */
@media (min-width: 1024px) {.hero-ship {
    display: block;
    position: absolute;
    top: 33%;
    right: clamp(10px, 2vw, 44px);
    width: clamp(85px, 7vw, 150px);
    height: auto;
    transform: translateY(-50%);
    color: var(--text-1);
    /* 线色取最高一级、整体压到 0.9：夜间背景有成片的星座连线，
       --text-2 的灰蓝与它们几乎同亮度，星舰会被读进星图里；
       提亮后又不能压过主标题，所以靠整体透明度让回去一点。
       0.9（v2.3.18，原 0.92）：尺寸砍掉近一半后线的覆盖率也降了，
       再压暗就会读成一块污迹。 */
    opacity: 0.9;
    pointer-events: none;
    animation: ship-float 18s var(--ease) infinite alternate;
  }
}
:root[data-theme="day"] .hero-ship { color: var(--text-1); opacity: 0.96; }
.hero-ship__jet--outer, .hero-ship__jet--mid, .hero-ship__jet--core {
  transform-box: fill-box;
  transform-origin: 0% 50%;
}
.hero-ship__jet--halo { animation: warp-jet-halo 2.4s ease-in-out infinite; }
.hero-ship__jet--outer { animation: warp-jet-outer 1.7s ease-in-out infinite; }
.hero-ship__jet--mid { animation: warp-jet-mid 1.15s ease-in-out infinite; }
.hero-ship__jet--core { animation: warp-jet-core 0.78s ease-in-out infinite; }
@keyframes warp-jet-halo {
  0%, 100% { transform: scaleX(0.86); opacity: 0.06; }
  44%      { transform: scaleX(1.04); opacity: 0.14; }
}
@keyframes warp-jet-outer {
  0%, 100% { transform: scaleX(0.80); opacity: 0.10; }
  46%      { transform: scaleX(1.06); opacity: 0.20; }
}
@keyframes warp-jet-mid {
  0%, 100% { transform: scaleX(0.86); opacity: 0.28; }
  52%      { transform: scaleX(1.04); opacity: 0.48; }
}
@keyframes warp-jet-core {
  0%, 100% { transform: scaleX(0.88); opacity: 0.72; }
  40%      { transform: scaleX(1.02); opacity: 1; }
}
.hero-ship__jet-flow { stroke-dasharray: 45 81; animation: warp-flow 0.85s linear infinite; }
@keyframes warp-flow {
  to { stroke-dashoffset: -126; }
}
.hero-ship__scan {
  transform-box: fill-box;
  transform-origin: center;
  animation: scan-spin 22s linear infinite;
}
@keyframes scan-spin {
  to { transform: rotate(360deg); }
}
.hero-ship__beacon { animation: ship-blink 3.2s steps(1) infinite; }
.hero-ship__beacon circle:nth-of-type(2) { animation-delay: -1.1s; }
.hero-ship__beacon circle:nth-of-type(3) { animation-delay: -2.2s; }
@keyframes ship-blink {
  0%, 55%   { opacity: 1; }
  56%, 100% { opacity: 0.12; }
}
.hero-ship__eye { animation: ship-eye 2.6s ease-in-out infinite; }
@keyframes ship-eye {
  0%, 100% { opacity: 0.4; }
  48%      { opacity: 1; }
}
@keyframes ship-float {
  from { transform: translateY(-50%) translateX(0); }
  to   { transform: translateY(calc(-50% - 4px)) translateX(5px); }
}
/* 尊重减弱动效偏好：灯常亮、曲速光恒亮、浮动停止 */
@media (prefers-reduced-motion: reduce) {.hero-ship { animation: none; transform: translateY(-50%); }
.hero-ship__scan { animation: none; }
.hero-ship__beacon { animation: none; opacity: 1; }
.hero-ship__eye { animation: none; opacity: 0.85; }
.hero-ship__jet--halo, .hero-ship__jet--outer, .hero-ship__jet--mid, .hero-ship__jet--core { animation: none; transform: none; }
.hero-ship__jet--halo { opacity: 0.1; }
.hero-ship__jet--outer { opacity: 0.2; }
.hero-ship__jet--mid { opacity: 0.42; }
.hero-ship__jet--core { opacity: 0.9; }
.hero-ship__jet-flow { animation: none; }
}
.page-hero {
  position: relative;
  padding-top: clamp(52px, 7vh, 96px);
  padding-bottom: clamp(56px, 9vh, 120px);
  border-bottom: 1px solid var(--line-1);
  /* v2.3.8 每个页面的首屏都要正好覆盖浏览器可视区：
     内页页头撑满一屏，标题块垂直居中，面包屑用 auto 外边距钉在顶部 ——
     页顶时不会再露出下一区块。内容高于视口时允许自然撑高。 */
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero > .container { width: 100%; }
.page-hero .breadcrumb { margin-bottom: auto; }
.page-hero > .container > .breadcrumb:first-child { position: relative; top: 0; }
.page-hero__title {
  margin-top: 20px;
  font-size: var(--fs-h1);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--text-1);
}
.page-hero__desc {
  margin-top: 20px;
  font-size: var(--fs-lead);
  line-height: 1.76;
  color: var(--text-2);
  max-width: 660px;
}
.page-hero__stats {
  margin-top: 34px;
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  flex-wrap: wrap;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-xs);
  color: var(--text-4);
}
.breadcrumb a:hover { color: var(--accent-2); }
/* 「首页」这类面包屑只有两个字，21px 高、24px 宽，触屏上挤在一起 */
.breadcrumb a { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; min-width: 28px; }
.breadcrumb__sep {
  width: 11px;
  height: 11px;
  opacity: 0.6;
}
.breadcrumb__current { color: var(--text-3); }

/* ---- 05-components-content.css ----------------------------------------- */

/* ---- 通用：复制按钮 ------------------------------------------------------
   用途：把一段短文本（群号这类 9 位数字）送进剪贴板。
   弹层里的群号行、联系页的群号徽标与「在 QQ 中搜索群号」那句都复用它，
   行为由 js/main.js 的 [data-copy] 委托统一处理（点一次 = 一处实现）。
   边框必须是 --line-2 —— 本套令牌里**没有 --line**，写成 var(--line) 会让
   整条 border 声明在 computed-value 阶段失效、border-style 回落 none，
   按钮静默变成没有边框的裸文字。 */
.copy-btn {
  min-height: 28px;               /* 触控目标下限 */
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: transparent;
  color: var(--c-nebula);
  font-size: var(--fs-xs);
  line-height: 1;
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--c-nebula); }
/* 文字色常态就是 --c-nebula，这里再写一遍是空操作；「已复制」真正靠的是
   不透明度与边框。要加状态别再往 color 上加。 */
.copy-btn.is-done { border-color: var(--c-nebula); opacity: 0.72; }

.card {
  position: relative;
  padding: clamp(22px, 2vw, 30px);
  border: 1px solid var(--line-1);
  border-radius: var(--r-3);
  background: var(--surface-1);
  overflow: hidden;
  transition: border-color var(--dur-2) var(--ease),
              transform var(--dur-2) var(--ease),
              background var(--dur-2) var(--ease);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-panel);
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease);
  pointer-events: none;
}
.card > * { position: relative; z-index: 1; }
.card:hover {
  border-color: var(--line-3);
  transform: translateY(-3px);
}
.card:hover::before { opacity: 1; }
.card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
}
.card__title {
  margin-top: 18px;
  font-size: var(--fs-h3);
  line-height: 1.38;
  font-weight: 600;
  color: var(--text-1);
}
.card__desc {
  margin-top: 14px;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--text-2);
}
.card__foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-1);
}
.card--numbered { padding-top: 30px; }
.card__index {
  position: absolute;
  top: 16px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: var(--ghost-1);
  letter-spacing: 0.02em;
  z-index: 0;
}
.card--numbered:hover .card__index { color: var(--ghost-2); }
.card__kicker {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.card--beacon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-line);
  opacity: 0.5;
  transition: opacity var(--dur-2) var(--ease);
}
.card--beacon:hover::after { opacity: 1; }
.steps {
  display: grid;
  /* 180px 而非 200px：5 步在 1440 下能排满一行，不会把第 5 步挤到第二行
     并撑出一整行空白。3/4/9 项的容器列数与原来一致。 */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: clamp(16px, 2vw, 26px);
  counter-reset: step;
}
/* 竖排：放在 .split__aside 里的分步说明（联系页「获取邀请码」的三步）。
   侧栏只有半栏宽，横排两列会把第三步挤到第二行、只剩半宽，读起来像漏了一步。 */
.steps--stack { grid-template-columns: 1fr; }
/* 六步：auto-fit 的 180px 下限在 1440 下会排成 5+1，最后一步单独占半行，
   看起来像漏了一步。改为 300px 下限 —— 1160 内容宽正好落成 3+3，
   平板落 2 列、手机落 1 列，不需要额外断点。 */
.steps--6 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.step {
  position: relative;
  padding-top: 26px;
  counter-increment: step;
}
.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-2);
}
.step::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 0 4px rgba(79, 193, 224, 0.16);
}
.step__num {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent-2);
}
.step__num::before { content: '0' counter(step); }
.step__title {
  margin-top: 10px;
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--text-1);
}
.step__desc {
  margin-top: 9px;
  font-size: var(--fs-sm);
  line-height: 1.72;
  color: var(--text-3);
}
/* 句末跟一个复制按钮：4px 是不让它贴上句号 */
.step__desc .copy-btn { margin-left: 4px; }
.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--accent-1-line);
}
.tl-item {
  position: relative;
  padding-bottom: clamp(24px, 3vw, 40px);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-1);
  background: var(--bg-1);
  box-shadow: 0 0 0 4px rgba(79, 193, 224, 0.12);
}
.tl-item--active::before {
  background: var(--accent-2);
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(139, 158, 216, 0.16);
}
.tl-item__date {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-2);
}
.tl-item__title {
  margin-top: 9px;
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--text-1);
}
.tl-item__desc {
  margin-top: 9px;
  font-size: var(--fs-sm);
  line-height: 1.74;
  color: var(--text-3);
  max-width: 620px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-1);
  border-radius: var(--r-3);
  background: var(--panel-glass);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  -webkit-overflow-scrolling: touch;
}
.data-table {
  min-width: 620px;
  font-size: var(--fs-sm);
}
.data-table th, .data-table td {
  padding: 15px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-1);
}
.data-table thead th {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--panel-glass-strong);
  white-space: nowrap;
}
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background-color var(--dur-1) var(--ease); }
.data-table tbody tr:hover { background: var(--accent-1-soft); }
.data-table td:first-child {
  color: var(--text-1);
  font-weight: 500;
  white-space: nowrap;
}
.data-table td { color: var(--text-2); line-height: 1.68; }
.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--sp-5);
}
.compare__col {
  border: 1px solid var(--line-1);
  border-radius: var(--r-3);
  padding: clamp(22px, 2vw, 30px);
  background: var(--panel-glass);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}
.compare__col--hi {
  border-color: var(--accent-1-line);
  background: var(--accent-1-soft);
}
.compare__name {
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--text-1);
}
.compare__sub {
  margin-top: 8px;
  font-size: var(--fs-xs);
  color: var(--text-3);
}
.compare__list { margin-top: 20px; }
.compare__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--line-1);
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.compare__list li .ico { margin-top: 3px; color: var(--accent-2); }
.compare__list li.is-off { color: var(--text-4); }
.compare__list li.is-off .ico { color: var(--text-4); }
.accordion {
  border-top: 1px solid var(--line-1);
}
.acc-item { border-bottom: 1px solid var(--line-1); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 22px 0;
  text-align: left;
  color: var(--text-1);
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.5;
  transition: color var(--dur-1) var(--ease);
}
.acc-btn:hover { color: var(--accent-1-hi); }
.acc-btn__icon {
  flex: none;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  color: var(--text-2);
  transition: transform var(--dur-2) var(--ease),
              border-color var(--dur-2) var(--ease),
              color var(--dur-2) var(--ease);
}
.acc-item.is-open .acc-btn__icon {
  transform: rotate(45deg);
  border-color: var(--accent-2-line);
  color: var(--accent-2);
}
.acc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-3) var(--ease);
}
.acc-panel__inner {
  padding-bottom: 24px;
  max-width: 780px;
  font-size: var(--fs-sm);
  line-height: 1.78;
  color: var(--text-2);
}
.tabs__nav {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line-1);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs__nav::-webkit-scrollbar { display: none; }
.tab-btn {
  position: relative;
  padding: 13px 18px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-3);
  white-space: nowrap;
  transition: color var(--dur-1) var(--ease);
}
.tab-btn:hover { color: var(--text-1); }
.tab-btn[aria-selected="true"] { color: var(--accent-1-hi); }
.tab-btn::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transition: transform var(--dur-2) var(--ease);
}
.tab-btn[aria-selected="true"]::after { transform: scaleX(1); }
.tab-panel { padding-top: clamp(24px, 3vw, 38px); }
.tab-panel[hidden] { display: none; }
.kv {
  display: grid;
  gap: 12px;
}
.kv__row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-1);
  font-size: var(--fs-sm);
}
.kv__key { color: var(--text-4); }
.kv__val { color: var(--text-2); }
.to-top {
  position: fixed;
  right: clamp(16px, 2vw, 30px);
  bottom: clamp(16px, 2vw, 30px);
  z-index: var(--z-top);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: var(--panel-glass-99);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease),
              visibility var(--dur-2), border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--accent-2-line); color: var(--accent-2); }
.cta-block {
  position: relative;
  padding: clamp(36px, 5vw, 68px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-4);
  background: var(--surface-1);
  overflow: hidden;
}
.cta-block__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}
.cta-block__text { max-width: 560px; }
.cta-block__title {
  font-size: var(--fs-h2);
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-1);
}
.cta-block__desc {
  margin-top: 14px;
  font-size: var(--fs-body);
  line-height: 1.72;
  color: var(--text-2);
}
.cta-block__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.panel {
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid var(--line-1);
  border-radius: var(--r-3);
  background: var(--panel-glass);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
}
.panel--accent {
  border-color: var(--accent-1-line);
  background: var(--accent-1-soft);
}
.panel--cyan {
  border-color: var(--accent-2-line);
  background: var(--accent-2-soft);
}
.panel__title {
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--text-1);
}
.panel__body {
  margin-top: 12px;
  font-size: var(--fs-sm);
  line-height: 1.76;
  color: var(--text-2);
}
.deflist {
  display: grid;
  gap: 0;
}
.deflist__item {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 44px);
  padding: clamp(20px, 2.4vw, 30px) 0;
  border-top: 1px solid var(--line-1);
}
.deflist__term {
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--text-1);
}
.deflist__term small {
  display: block;
  margin-top: 7px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-4);
}
.deflist__desc {
  font-size: var(--fs-sm);
  line-height: 1.78;
  color: var(--text-2);
}
.deflist__desc + .deflist__desc { margin-top: 14px; }

/* ---- 06-pages.css ------------------------------------------------------ */

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}
.work-card {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 22px;
  border: 1px solid var(--line-1);
  border-radius: var(--r-3);
  background: var(--surface-1);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  transition: border-color var(--dur-2) var(--ease),
              transform var(--dur-2) var(--ease),
              box-shadow var(--dur-2) var(--ease);
}
.work-card:hover {
  border-color: var(--line-3);
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
}
.work-card__title {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  font-weight: 600;
  color: var(--text-1);
  transition: color var(--dur-1) var(--ease);
}
.work-card:hover .work-card__title { color: var(--accent-1-hi); }
.work-card__meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--text-3);
}
.work-card__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-4);
}
.work-card__meta .num { font-size: var(--fs-xs); color: var(--text-3); }
.work-card__tags {
  margin-top: 15px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.work-card__tags .chip {
  font-size: 11.5px;
  padding: 3px 9px;
  border-color: var(--line-2);
  color: var(--text-2);
}
.work-card__excerpt {
  margin-top: 16px;
  font-size: var(--fs-sm);
  line-height: 1.76;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.graph-stage {
  position: relative;
  border: 1px solid var(--line-1);
  border-radius: var(--r-3);
  background:
    radial-gradient(80% 80% at 30% 20%, var(--accent-1-soft) 0%, transparent 62%),
    var(--panel-glass);
  overflow: hidden;
}
.graph-stage > svg { width: 100%; height: auto; display: block; }
.graph-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-top: 1px solid var(--line-1);
  font-size: var(--fs-xs);
  color: var(--text-3);
}
.graph-legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.graph-legend__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.chart-card {
  padding: clamp(20px, 2.2vw, 30px);
  border: 1px solid var(--line-1);
  border-radius: var(--r-3);
  background: var(--panel-glass-strong);
}
.chart-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.chart-card__title {
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--text-1);
}
.chart-card__note { font-size: var(--fs-xs); color: var(--text-4); }
.chart-card > svg { width: 100%; height: auto; display: block; }
.bar-list { display: grid; gap: 16px; }
.bar-item__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--fs-sm);
  color: var(--text-2);
  margin-bottom: 9px;
}
.bar-item__val { font-family: var(--font-mono); color: var(--text-1); font-size: var(--fs-xs); }
.bar-track {
  height: 6px;
  border-radius: 3px;
  background: var(--track);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: var(--grad-primary);
  transition: width 1.1s var(--ease-out);
}
.bar-fill--cyan { background: var(--accent-2); }
.logo-box {
  border: 1px solid var(--line-1);
  border-radius: var(--r-3);
  padding: 30px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  position: relative;
}
.logo-box--dark {
  background: var(--ink-plate);
  border-color: rgba(255, 255, 255, 0.14);
}
.logo-box--dark .logo-box__label { color: rgba(237, 242, 248, 0.55); }
.logo-box img { max-width: 78%; height: auto; }
.logo-box__label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--font-display);
  /* 与全站小字下限对齐：10px 的英文标签只剩色块感 */
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-4);
}
.metric {
  padding: clamp(20px, 2vw, 26px);
  border: 1px solid var(--line-1);
  border-radius: var(--r-3);
  background: var(--panel-glass);
}
.metric__value {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.15;
}
.metric__label {
  margin-top: 10px;
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.persona {
  padding: clamp(20px, 2vw, 28px);
  border: 1px solid var(--line-1);
  border-radius: var(--r-3);
  background: var(--surface-glass);
  transition: border-color var(--dur-2) var(--ease);
}
.persona:hover { border-color: var(--accent-1-line); }
.persona__title {
  margin-top: 16px;
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--text-1);
}
.persona__need {
  margin-top: 12px;
  font-size: var(--fs-sm);
  line-height: 1.74;
  color: var(--text-3);
}
.persona__serve {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-1);
  font-size: var(--fs-xs);
  line-height: 1.68;
  color: var(--text-2);
}
.persona__serve b { color: var(--accent-2); font-weight: 500; }
.index-list { border-top: 1px solid var(--line-1); }
.index-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: clamp(16px, 2.4vw, 34px);
  align-items: baseline;
  padding: clamp(20px, 2.2vw, 28px) 0;
  border-bottom: 1px solid var(--line-1);
  transition: background-color var(--dur-2) var(--ease), padding-inline var(--dur-2) var(--ease);
}
.index-item:hover {
  background: var(--accent-1-soft);
  padding-inline: 14px;
}
.index-item__num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--text-4);
}
.index-item__title {
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--text-1);
}
.index-item__desc {
  margin-top: 9px;
  font-size: var(--fs-sm);
  line-height: 1.72;
  color: var(--text-3);
  /* 720px 在 13px 下等于 52 字一行，中文读起来眼跳；与馆内同口径锁 40 字 */
  max-width: 40em;
}
.index-item__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.entry-card__foot { margin-top: auto; padding-top: 24px; }
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-1);
}
.contact-line:last-child { border-bottom: 1px solid var(--line-1); }
.contact-line__label {
  flex: none;
  width: 92px;
  font-size: var(--fs-sm);
  color: var(--text-4);
}
.contact-line__value {
  font-size: var(--fs-sm);
  color: var(--text-1);
  word-break: break-all;
}
.contact-line__value .mono { color: var(--accent-2); }
/* 隐私区块（contact.html#privacy）：.panel__body 默认撑满卡片，
   1440 下卡片 1056 宽、正文 986（≈61 字一行），长段落读不下去。
   按全站口径锁 40 字 —— 与 .index-item__desc 同一条规则。 */
#privacy .panel__body { max-width: 40em; }
.qq-badge {
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid var(--accent-2-line);
  border-radius: var(--r-3);
  background: var(--accent-2-soft);
  text-align: center;
}
.qq-badge .mono {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-2-hi);
  line-height: 1.16;
  word-break: break-all;
}
/* 徽标里是 30–46px 的大字，复制按钮若跟在同一行会像浮在大字中间下面一小块，
   所以让它另起一行、水平居中（width: max-content + auto 外边距，不写死宽度）。 */
.qq-badge .copy-btn {
  display: flex;
  width: max-content;
  margin: 12px auto 0;
}
.demo-frame {
  border: 1px solid var(--line-2);
  border-radius: var(--r-3);
  background: var(--surface-2);
  overflow: hidden;
}
.demo-frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-1);
  background: var(--panel-glass);
}
.demo-frame__dots { display: flex; gap: 5px; }
.demo-frame__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-2);
}
.demo-frame__title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-4);
  letter-spacing: 0.04em;
}
.demo-frame__body { padding: clamp(20px, 2.4vw, 30px); }
.ui-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--line-1);
  border-radius: var(--r-2);
  background: var(--panel-glass);
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.ui-row + .ui-row { margin-top: 10px; }
.ui-row__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-4);
  flex: none;
  width: 30px;
}
.ui-row__main { flex: 1 1 auto; color: var(--text-1); }
.ui-row__meta { font-size: var(--fs-xs); color: var(--text-4); white-space: nowrap; }
.ui-score {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--accent-2);
  flex: none;
}
.score-grid {
  display: grid;
  gap: 12px;
}
.score-line {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 44px;
  gap: 14px;
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--text-3);
}
.score-line__track {
  height: 4px;
  border-radius: 2px;
  background: var(--track);
  overflow: hidden;
}
.score-line__fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: var(--accent-1);
  transition: width 1.1s var(--ease-out);
}
.score-line__val {
  font-family: var(--font-mono);
  color: var(--text-1);
  text-align: right;
}
.flow-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: var(--sp-5);
}
.flow-chain {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.flow-node {
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  font-size: var(--fs-xs);
  color: var(--text-2);
  background: var(--panel-glass-hi);
}
.flow-node--blind {
  border-color: var(--accent-2-line);
  color: var(--accent-2);
  background: var(--accent-2-soft);
}
.flow-arrow {
  width: 14px;
  height: 14px;
  color: var(--text-4);
  flex: none;
}

/* ---- 07-responsive.css ------------------------------------------------- */

/* ==========================================================================
   07 响应式断点（覆盖 320px ~ 4K 共 10 档）
   ========================================================================== */

/* ---------------------------------------------------- ≤1439px 笔记本 ---- */
@media (max-width: 1439px) {:root {
    --w-content: 1080px;
    --w-wide: 1240px;
  }
}

/* ---------------------------------------------------- ≤1279px 小笔记本 -- */
@media (max-width: 1279px) {:root {
    --gutter: clamp(20px, 4vw, 56px);
    --sec-y: clamp(56px, 6.4vw, 96px);
  }
.works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer__main {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
}

/* -------------------------------------------------- ≤1023px 平板竖屏 ---- */
@media (max-width: 1023px) {:root {
    --sec-y: clamp(52px, 6vw, 84px);
  }
.nav, .site-header__actions .btn--outline { display: none; }
.nav-toggle { display: inline-flex; }
.site-header__inner { height: 68px; }
.site-header.is-stuck .site-header__inner { height: 60px; }
/* 锚点净空：页头 68+1=69px + 16px = 85（基准 93 见 01-tokens） */
html { scroll-padding-top: 85px; }
.brand__img { width: 148px; }
.site-header.is-stuck .brand__img { width: 132px; }
.split { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 44px); }
.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero { min-height: 100vh; min-height: 100svh; padding-top: clamp(44px, 9vh, 84px); }
.hero__content { max-width: 100%; }
.brand__img { width: 128px; }
.btn--download { padding-inline: 12px; }
.site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }
.deflist__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.index-item {
    grid-template-columns: 52px minmax(0, 1fr);
    row-gap: 12px;
  }
.index-item__tags { grid-column: 2; justify-content: flex-start; }
}

/* ---------------------------------------------------- ≤767px 平板竖屏 --- */
@media (max-width: 767px) {:root {
    --gutter: 20px;
    --sec-y: 52px;
    --sec-y-sm: 40px;
    --sp-9: 56px;
    --sp-10: 72px;
    --fs-body: 14.5px;
    --fs-lead: 15.5px;
  }
.grid--2, .grid--3, .grid--4, .works-grid, .compare, .flow-compare {
    grid-template-columns: minmax(0, 1fr);
  }
/* 小屏内容区窄，背景装饰与文字抢同一块地方：整层淡下来（v2.8）。
   面板可读性由 v2.8 抬实的 --panel-glass / --surface-glass 负责。 */
.bg-overlay { opacity: 0.5; }
.cta-block__inner { flex-direction: column; align-items: flex-start; }
.cta-block__actions { width: 100%; }
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
      rgba(6, 8, 13, 0.34) 0%,
      rgba(6, 8, 13, 0.20) 46%,
      rgba(6, 8, 13, 0.38) 100%);
    pointer-events: none;
  }
.hero__inner { position: relative; z-index: 1; }
.hero__title, .hero__desc, .hero__meta-num { text-shadow: 0 2px 16px rgba(10, 22, 40, 0.55); }
:root[data-theme="day"] .hero::before {
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.30) 0%,
      rgba(255, 255, 255, 0.14) 46%,
      rgba(255, 255, 255, 0.34) 100%);
  }
:root[data-theme="day"] .hero__title, :root[data-theme="day"] .hero__desc, :root[data-theme="day"] .hero__meta-num { text-shadow: 0 1px 12px rgba(255, 255, 255, 0.65); }
.cta-block__actions .btn { flex: 1 1 auto; }
.hero__meta { gap: 22px 28px; }
.hero__scroll { display: none; }
.card__index { font-size: 36px; top: 14px; right: 16px; }
.site-footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-top: 42px;
  }
.site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
.graph-legend { gap: 14px; }
.timeline { padding-left: 24px; }
.tl-item::before { left: -24px; }
.contact-line { flex-direction: column; gap: 6px; }
.contact-line__label { width: auto; }
.kv__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.data-table th, .data-table td { padding: 12px 14px; }
.data-table--stack { min-width: 0; }
.data-table--stack, .data-table--stack tbody, .data-table--stack tr { display: block; width: 100%; }
.data-table--stack thead { display: none; }
.data-table--stack tr { padding: 14px 0; border-bottom: 1px solid var(--line-1); }
.data-table--stack tr:last-child { border-bottom: 0; }
.data-table--stack td { display: block; width: 100%; padding: 0; border: 0; }
.data-table--stack td + td { margin-top: 7px; }
.data-table--stack td:first-child { color: var(--text-1); font-weight: 500; }
.data-table--stack td:last-child { color: var(--text-3); }
.data-table--stack td:nth-child(3)::before { content: '例：'; }
}

/* 触屏上的可点区域：面包屑与箭头链接在桌面是 21/23px 高的行内文字，
   手指按下去常常偏到相邻链接上。撑到 34px，用负外边距把多出来的高度抵掉，
   排版位置一点不动。 */
@media (max-width: 767px) {
  .breadcrumb a,
  .link-arrow {
    min-height: 34px;
  }
  .breadcrumb a { margin-block: -6px; }
}

/* ---------------------------------------------- ≤367px 顶栏收次要 CTA ----- */
/* 顶栏那一行的最小宽度是算出来的，不是估的（≤479 已收 28px，见上一块）：
     padding 16×2 + brand 116 + gap 12 + actions 207.08
     （主题 38 +「获取邀请码」113.08 + 菜单 40 + 两个 8 gap）
     = 367.08
   而 body 上有 overflow-x: hidden —— 超出的部分不是「撑出滚动条」，是**直接被裁掉**，
   被裁的正是最右边那颗菜单按钮。收间距之前这条线是 395.08：390 切 5.08、375 切 20.08、
   360 切 35.08、330 整颗落在视口外 —— 那些机器上「打开菜单」这个动作是坏的。
   367 是 367.08 向下取整（实测 368 已放得下）。
   顺带：这 5px 横向溢出也正是「设备模拟里布局视口被撑大到 395」的来源，两件事同源。 */
@media (max-width: 367px) {
  .site-header__actions .btn { display: none; }
}

/* -------------------------------------------------- ≤479px 手机竖屏 ----- */
@media (max-width: 479px) {:root {
    --gutter: 16px;
    --fs-xs: 11.5px;
    --r-3: 6px;
    --r-4: 9px;
  }
.btn { height: 44px; padding-inline: 18px; }
.btn--lg { height: 48px; }
.hero__actions { flex-direction: column; align-items: stretch; }
.hero__actions .btn { width: 100%; }
.hero__meta-item { min-width: 42%; }
.card, .panel, .persona, .metric { padding: 20px; }
.nav-toggle { width: 40px; height: 40px; }
.brand__img { width: 132px; }
/* 顶栏这一行在 ≤479 收 28px，把它的最小宽从 395.08 压到 367.08：
     inner gap 24→12（−12）、actions gap 12→8（−8）、页头 CTA 左右内边距 18→14（−8）。
   **不动 `padding-inline`**：`.container` 的左右留白跟着 `--gutter`（≤479 时 16px），
   单独把它改成 12 会让 brand 比下面所有正文左移 4px —— 那 4px 省不得（fe 拦下的）。
   收完之后 368 以上都放得下，只有 ≤367 才在下一块里把 CTA 收进抽屉。
   （为什么不直接收 CTA：它是本轮 P0 加的，390 上 about/tools/contact/library 四页
    一收，第一屏到正文就一个入群入口都没有了，只剩页底那个 —— 那正是当初要解决的问题。）
   实测：395.08 = 16×2 + brand 116 + gap 24 + actions 223.08，逐项都对得上。 */
.site-header__inner { gap: 12px; }
.site-header__actions { gap: 8px; }
.site-header__actions .btn { padding-inline: 14px; }
.chip { padding: 3px 8px; }
.to-top { width: 40px; height: 40px; }
/* 二维码窄屏给 160。理由是设计不是折叠：在手机上的人扫不了自己这块屏，
   216px 是留给跨设备扫码的；顺带把弹层压矮 56px（414×790 用 216 时
   cardH 770.55 > 上限 755、要滚 18px；用 160 后 390/414/479 在 790 高下都不滚）。
   断点两侧是 479 / 480，中间没有空档：479 拿 160（cardH 692.45），
   480 拿 216（cardH 726.17）。480 是「宽度够 216、又最可能配
   小屏高度」的那一档——不分档的话它的最低不滚视口高是 763（二分法量的，不是
   扫描上界），再矮就开始滚：740 高时滚 23px。判「要不要再往下压二维码」看这一档。
   img 带 width="216" height="216" 属性，只写 width 会变形
   —— 实测 320 下渲染成 208×216（宽度被 max-width:100% 夹住、高度按属性走），
   所以 height 必须一起写；二维码是方的，160/160 比 height:auto 更稳。 */
.invite-modal__qr { width: 160px; height: 160px; }
}

/* -------------------------------------------------- ≤359px 极小屏 ------- */
@media (max-width: 359px) {:root {
    --fs-display: 27px;
    --fs-h1: 25px;
    --fs-h2: 21px;
    --fs-h3: 17px;
    --fs-h4: 15.5px;
    --fs-body: 14px;
    --fs-lead: 14.5px;
  }
.brand__img { width: 116px; }
.hero__meta-num { font-size: 20px; }
.card__index { display: none; }
}

/* 低矮横屏（如 800×600 桌面、手机横屏）：压缩内边距但仍满屏 */
@media (max-height: 620px) and (orientation: landscape) {.hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 40px;
    padding-bottom: 40px;
  }
.hero__meta { margin-top: 28px; padding-top: 18px; }
.page-hero { padding-top: 40px; padding-bottom: 32px; }
}

/* -------------------------------------------------- ≥1440px 桌面 -------- */
@media (min-width: 1440px) {:root {
    --w-content: 1200px;
    --w-wide: 1360px;
  }
}

/* -------------------------------------------------- ≥1680px 大屏 -------- */
@media (min-width: 1680px) {:root {
    --w-content: 1280px;
    --w-wide: 1460px;
    --sec-y: clamp(96px, 6vw, 132px);
  }
.hero { min-height: 100vh; min-height: 100svh; }
}

/* -------------------------------------------------- ≥1920px 超宽 --------- */
@media (min-width: 1920px) {:root {
    --w-content: 1360px;
    --w-wide: 1560px;
    --w-max: 1720px;
  }
.works-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bg-grid { background-size: 96px 96px; }
}

/* -------------------------------------------------- ≥2560px 4K ---------- */
@media (min-width: 2560px) {:root {
    --w-content: 1560px;
    --w-wide: 1760px;
    --fs-body: 17px;
    --fs-lead: 20px;
    --fs-h3: 28px;
    --fs-h4: 21px;
    --gutter: 96px;
  }
.works-grid { gap: 28px; }
.grid { gap: 28px; }
.site-header__inner { height: 88px; }
/* 锚点净空：页头 88+1=89px + 16px = 105（基准 93 见 01-tokens） */
html { scroll-padding-top: 105px; }
.brand__img { width: 196px; }
.site-header.is-stuck .brand__img { width: 170px; }
.nav__link { font-size: 15px; padding-inline: 18px; }
.bg-grid { background-size: 120px 120px; }
}

/* 打印 */
@media print {.bg-overlay, .site-header, .to-top, .scroll-progress { display: none !important; }
html, body { background: #fff; color: #000; }
}

/* ---- 08-motion.css ----------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-22px); }
[data-reveal="right"] { transform: translateX(22px); }
[data-reveal="scale"] {
  transform: scale(0.97) translateY(12px);
}
[data-reveal].is-in[data-reveal="left"], [data-reveal].is-in[data-reveal="right"], [data-reveal].is-in[data-reveal="scale"] { transform: none; }
.hero [data-reveal] { transition-duration: 760ms; }
.spotlight {
  position: relative;
  overflow: hidden;
}
.spotlight::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  left: var(--sx, 50%);
  top: var(--sy, 50%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(79, 193, 224, 0.16) 0%, rgba(79, 193, 224, 0) 66%);
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease);
  pointer-events: none;
  z-index: 0;
}
.spotlight:hover::after { opacity: 1; }
@keyframes dot-pulse {
  0%, 100% { opacity: 0.25; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}
/* --------------------------------------------------------- 降级处理 ---- */
/* 尊重系统「减少动态效果」设置：关闭所有位移与循环动画，仅保留静态呈现 */
@media (prefers-reduced-motion: reduce) {html { scroll-behavior: auto; }
*, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
[data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
.bar-fill, .score-line__fill { transition: none; }
.bg-shard { animation: none; }
.hero__scroll-line::after { animation: none; opacity: 0; }
}
/* 不支持 backdrop-filter 时的兜底：改用较实的底色，保证文字可读。
   v1.6 起玻璃面覆盖了卡片 / 面板 / 表格等主要容器，兜底也要同步覆盖，
   否则旧浏览器上整个内容层会「透明到没法读」。 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {.site-header.is-stuck { background: var(--header-stuck-bg); }
.nav__drop { background: var(--surface-2); }
.to-top { background: var(--surface-2); }
.site-footer { background: var(--footer-bg); }
.card, .cta-block { background: var(--surface-2); }
.panel, .compare__col, .table-wrap, .work-card { background: var(--panel-glass-99); }
}
/* 不支持 :has() 时的兜底 */
@supports not selector(:has(*)) {
}
/* 高对比度模式 */
@media (prefers-contrast: more) {:root {
    --text-2: #D6DEE9;
    --text-3: #B3BECF;
    --line-1: #47586F;
    --line-2: #5E7290;
  }
.card, .persona { border-color: var(--line-2); }
}
/* 深色输入控件一致性 */
@media (prefers-color-scheme: light) {
}
