/* /about 专用（原 /company 页，2026-11-18 迁到 /about）。文件名保留 company.css：它只被 about.html 一处引用，改名会让线上缓存与验收命令对不上，需要改名时请连同 HTML 里的 <link> 一起改。原设计固定深色，但页面里 Tailwind 的 bg-ink / text-zinc-50 会跟主题翻档，
   结果是「深色底 + 深色字」与「浅色块」混在一起。2026-11-18 起改为跟随站内主题：
   浅色 = 浅底深字 + 粒子云反相；深色 = 深底浅字。
   为什么单独一份：这页是从原版首页整体复制的静态文件，正文颜色写死在 class 里，
   跟随主题只会得到"深色正文 + 浅色底"的杂交态。这里把边界、滚动条、选区一并收口。 */
html,
body {
  background: var(--ld-bg);
  color-scheme: dark;
}
body {
  color: var(--ld-text);
}
#top {
  background: var(--ld-bg);
}
/* 浅色主题下用户仍可能留下 html.light：这里兜住底色，不留白边 */
html.light,
html.light body,
html.light #top {
  background: #050507;
  color: #f4f5f6;
}
::selection {
  background: rgba(38, 187, 116, 0.32);
  color: #fff;
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 99px;
}
*::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}
@media print {
  html,
  body,
  #top {
    background: #fff;
    color: #111;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   about 页配色：全部取自站点设计标准（app/globals.css 的 --xui-* 令牌）
   ⚠️  本节不许自创颜色。这里的每个值都是 globals.css :root 里逐字抄下来的，
       landing 是独立静态页、加载不到 globals.css，所以只能在此镜像一份；
       以后改站点配色，必须同步改这里（值见 globals.css 的 :root 与 :root[data-theme=dark]）。

   浅色：surface #fff / raised #f3f5f6 / sunken #eef1f3 / border-soft #d8e0dc
         text #20252b / muted #5a646d / faint #626c76
         accent #16884f / accent-hover #0f6d3e / accent-soft rgba(22,136,79,.10)
   深色：surface #101116 / raised #14171d / sunken #0b0d12 / border-soft #1d222b
         text #edf1f5 / muted #8a8f98 / faint #7b8390
         accent #26bb74 / accent-hover #4bd58f / accent-soft rgba(38,187,116,.10)
   半径：--r-sm 8px / --r-card 12px / --r-control 10px / --r-lg 16px
   字体：Inter, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif
   ═══════════════════════════════════════════════════════════════════════════ */

html[data-page="about"] {
  --c-surface: #ffffff;
  --c-surface-raised: #f3f5f6;
  --c-surface-sunken: #eef1f3;
  --c-border: rgba(21, 132, 79, 0.28);
  --c-border-soft: #d8e0dc;
  --c-text: #20252b;
  --c-text-muted: #5a646d;
  --c-text-faint: #626c76;
  --c-accent: #16884f;
  --c-accent-hover: #0f6d3e;
  --c-accent-soft: rgba(22, 136, 79, 0.10);
  --c-r-sm: 8px;
  --c-r-card: 12px;
  --c-r-control: 10px;
  --c-r-lg: 16px;
  --c-font: Inter, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html[data-page="about"].dark,
html[data-page="about"]:not(.light) {
  --c-surface: #101116;
  --c-surface-raised: #14171d;
  --c-surface-sunken: #0b0d12;
  --c-border: rgba(38, 187, 116, 0.30);
  --c-border-soft: #1d222b;
  --c-text: #edf1f5;
  --c-text-muted: #8a8f98;
  --c-text-faint: #7b8390;
  --c-accent: #26bb74;
  --c-accent-hover: #4bd58f;
  --c-accent-soft: rgba(38, 187, 116, 0.10);
}

/* 0. 基座：字体、正文色、圆角，两主题一致 */
html[data-page="about"] body { font-family: var(--c-font); }
html[data-page="about"] { color: var(--c-text); }

/* 1. 底色：一个令牌 bg-ink 派生整页，浅色下换成 surface / raised / sunken */
html.light[data-page="about"] { color-scheme: light; background: var(--c-surface); }
html.light[data-page="about"] body { background: var(--c-surface) !important; color: var(--c-text) !important; }
html.light[data-page="about"] .bg-ink { background-color: var(--c-surface) !important; color: var(--c-text) !important; }
html.light[data-page="about"] .bg-ink\/80,
html.light[data-page="about"] .bg-ink\/85,
html.light[data-page="about"] .bg-ink\/90 { background-color: var(--c-surface-raised) !important; color: var(--c-text) !important; }
html.light[data-page="about"] .bg-zinc-950\/92,
html.light[data-page="about"] .bg-zinc-900\/92 { background-color: var(--c-surface) !important; color: var(--c-text) !important; }

/* 2. 文字三级：text / muted / faint（不再自造 0.52–0.78 的灰） */
html.light[data-page="about"] .text-white,
html.light[data-page="about"] .text-zinc-50,
html.light[data-page="about"] .text-zinc-100,
html.light[data-page="about"] .text-zinc-200 { color: var(--c-text) !important; }
html.light[data-page="about"] .text-white\/80,
html.light[data-page="about"] .text-white\/72,
html.light[data-page="about"] .text-white\/60 { color: var(--c-text-muted) !important; }
html.light[data-page="about"] .text-white\/55,
html.light[data-page="about"] .text-white\/45,
html.light[data-page="about"] .text-white\/40,
html.light[data-page="about"] .text-white\/35,
html.light[data-page="about"] .text-white\/30,
html.light[data-page="about"] .text-white\/20 { color: var(--c-text-faint) !important; }
html.light[data-page="about"] .text-zinc-300,
html.light[data-page="about"] .text-zinc-400,
html.light[data-page="about"] .text-zinc-500 { color: var(--c-text-muted) !important; }
html.light[data-page="about"] h1,
html.light[data-page="about"] h2,
html.light[data-page="about"] h3,
html.light[data-page="about"] h4,
html.light[data-page="about"] strong,
html.light[data-page="about"] b { color: var(--c-text) !important; }
html.light[data-page="about"] p { color: var(--c-text-muted) !important; }
html.light[data-page="about"] .nullity-hero-note { color: var(--c-text-faint) !important; }

/* 3. 卡片/标签底：半透明白在纯白上不可见 → surface-sunken，圆角走 --r-card */
html.light[data-page="about"] .bg-white\/5,
html.light[data-page="about"] .bg-white\/10,
html.light[data-page="about"] .bg-white\/15,
html.light[data-page="about"] .bg-white\/20 { background-color: var(--c-surface-sunken) !important; }
html.light[data-page="about"] [class*="rounded-"] { border-radius: var(--c-r-card); }
html.light[data-page="about"] [class*="rounded-full"] { border-radius: 999px; }

/* 4. 分隔线：border-soft / border */
html.light[data-page="about"] .border-white\/8,
html.light[data-page="about"] .border-white\/10 { border-color: var(--c-border-soft) !important; }
html.light[data-page="about"] .border-white\/20 { border-color: var(--c-border) !important; }
html.light[data-page="about"] .divide-white\/8 > * + * { border-color: var(--c-border-soft) !important; }

/* 5. 按钮：主按钮 = 文字色当底（站点反相按钮的做法），强调按钮 = --xui-accent */
html.light[data-page="about"] a.bg-white,
html.light[data-page="about"] button.bg-white,
html.light[data-page="about"] .nullity-cta-band a.bg-white { background-color: var(--c-text) !important; color: var(--c-surface) !important; border-radius: var(--c-r-control) !important; }
html.light[data-page="about"] a.bg-white:hover,
html.light[data-page="about"] button.bg-white:hover { background-color: #2a3136 !important; }
html[data-page="about"] a.bg-signal,
html[data-page="about"] a.bg-signal * { background-color: var(--c-accent) !important; color: #ffffff !important; }
html[data-page="about"] a.bg-signal { border-radius: var(--c-r-control) !important; }
html[data-page="about"] a.bg-signal:hover { background-color: var(--c-accent-hover) !important; }
html.light[data-page="about"] a.border-white\/20 { border-color: var(--c-border) !important; color: var(--c-text) !important; }

/* 6. 页脚 / 收尾带：浅色下改 raised + 上边框，不再当黑锚点 */
html.light[data-page="about"] footer {
  background-color: var(--c-surface-raised) !important;
  border-top: 1px solid var(--c-border-soft) !important;
}
html.light[data-page="about"] footer * { color: var(--c-text-faint) !important; }
html.light[data-page="about"] footer a { color: var(--c-text) !important; }
html.light[data-page="about"] footer a:hover { color: var(--c-accent) !important; }
html.light[data-page="about"] .nullity-cta-band { background-color: var(--c-surface-sunken) !important; }
html.light[data-page="about"] .nullity-cta-band * { color: var(--c-text) !important; }

/* 7. 首屏粒子层：黑底白点 → 白底墨点。
   只反相一次：父层反相 + canvas 再反相 = 负负得正 → 白粒子留在白底上看不见。
   所以 canvas 显式 filter:none，反相只在 #gl-scene-root 上做一次，并把饱和度压低到"墨"的观感。 */
html.light[data-page="about"] #gl-scene-root {
  filter: invert(1) hue-rotate(180deg) saturate(.32) contrast(1.10);
  opacity: .62;
}
html.light[data-page="about"] #gl-scene-root canvas {
  filter: none !important;
}
html.light[data-page="about"] [class*="radial-gradient"] { opacity: .30 !important; }

/* 8. 交互态用站点强调色 */
html[data-page="about"] ::selection { background: var(--c-accent-soft); color: var(--c-text); }
html[data-page="about"] :focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }


/* 强调按钮上的字：浅色用白（#16884f 上 4.5:1），深色用 surface（#26bb74 太亮，白字只有 2.49:1，
   站点在 .dark 也是拿深字压浅绿的思路）。这一类选择器要压过 page 级 p/h 的墨色规则。 */
html.light[data-page="about"] a.bg-signal,
html.light[data-page="about"] a.bg-signal * { color: #ffffff !important; }
html.dark[data-page="about"] a.bg-signal,
html.dark[data-page="about"] a.bg-signal *,
html[data-page="about"]:not(.light) a.bg-signal,
html[data-page="about"]:not(.light) a.bg-signal * { color: #101116 !important; }

/* ═══ 修复层 20 · 粒子云自带暗底（2026-11-18）═══════════════════════════
   白底上白粒子必然看不见；单纯 invert 会把发光与柔和全部翻掉，观感也不对。
   正解：让粒子层自己画一块暗底（只在首屏高度内），粒子保持原色（白点），
   hero 区文字随之回到浅色 —— 也就是"首屏是一块暗色窗，其余照旧白底"。
   ═══════════════════════════════════════════════════════════════════ */
html.light[data-page="about"] #gl-scene-root {
  filter: none !important;
  opacity: 1 !important;
  background: radial-gradient(120% 82% at 50% 4%, #171b21 0%, #0d0f14 58%, rgba(13, 15, 20, 0) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0 76%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0 76%, transparent 100%);
}
html.light[data-page="about"] #gl-scene-root canvas { filter: none !important; }

/* hero 区文字回到浅色（它现在压在暗色窗上） */
html.light[data-page="about"] #hero h1,
html.light[data-page="about"] #hero h2,
html.light[data-page="about"] #hero .nullity-hero-title { color: #f6f8fa !important; }
html.light[data-page="about"] #hero p,
html.light[data-page="about"] #hero .nullity-hero-note { color: rgba(237, 241, 245, .74) !important; }
html.light[data-page="about"] #hero .font-mono { color: rgba(237, 241, 245, .58) !important; }

/* 顶栏压在暗窗上是浅色，滚到白区后（非 bg-transparent）回到墨色 */
html.light[data-page="about"] header.bg-transparent a,
html.light[data-page="about"] header.bg-transparent button { color: rgba(255, 255, 255, .82) !important; }
html.light[data-page="about"] header.bg-transparent a:hover { color: #fff !important; }
html.light[data-page="about"] header.bg-transparent .nl-burger span { background: #fff !important; }
html.light[data-page="about"] header:not(.bg-transparent) a,
html.light[data-page="about"] header:not(.bg-transparent) button { color: var(--c-text) !important; }
html.light[data-page="about"] header.bg-transparent img[alt="wl.ax"] { filter: brightness(0) invert(1); }

/* 浅色主题：about 的 hero 文字原本是 text-white 系，白底上不可读 —— 收成站点墨色 */
html.light[data-page="about"] #hero .text-white,
html.light[data-page="about"] #hero [class*="text-white"] { color: #20252b !important; }
html.light[data-page="about"] #hero [class*="text-white/"] { color: rgba(32, 37, 43, 0.72) !important; }
html.light[data-page="about"] #hero h1 { text-shadow: none !important; }
html.light[data-page="about"] #hero [class*="border-white/"] { border-color: rgba(32, 37, 43, 0.16) !important; }
html.light[data-page="about"] #hero .bg-signal { background-color: #16884f !important; }

/* about 首屏标题收一档：原 2.6/3.8/4.9/6.2rem 压到 1.9/2.5/2.9/3.3rem，
   一屏能同时看到标题、副句与第一组对照，不再被字占满。 */
html[data-page="about"] #hero h1 { font-size: 1.9rem !important; line-height: 1.06 !important; letter-spacing: -0.045em !important; }
@media (min-width: 640px) { html[data-page="about"] #hero h1 { font-size: 2.5rem !important; } }
@media (min-width: 768px) { html[data-page="about"] #hero h1 { font-size: 2.9rem !important; } }
@media (min-width: 1024px) { html[data-page="about"] #hero h1 { font-size: 3.3rem !important; } }
/* FIX-ABOUT-HERO-2 (2026-11-18): hero 双段标题拆行 + 两主题色；覆盖前面 140/224 行把浅色主题写成浅灰的旧规则。
   
ullity-hero-decode 是主句，
ullity-hero-note 是副句；原先两段 inline 挤成一行。 */
html[data-page="about"] #hero h1 .nullity-hero-note {
  display: block !important;
  margin-top: 0.16em !important;
  font-size: 0.32em !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.4 !important;
  text-shadow: none !important;
  color: rgba(237, 241, 245, 0.64) !important;
}
html.light[data-page="about"] #hero h1,
html.light[data-page="about"] #hero h1 *,
html.light[data-page="about"] #hero .nullity-hero-note { color: #20252b !important; text-shadow: none !important; }
html.light[data-page="about"] #hero h1 .nullity-hero-note { color: rgba(32, 37, 43, 0.64) !important; }
html.light[data-page="about"] #hero .font-mono,
html.light[data-page="about"] #hero p { color: rgba(32, 37, 43, 0.72) !important; }