/* L1 原始色板 → L2 语义令牌 → L3 组件令牌。组件只引用 L2/L3。 */
:root {
  --c-ink-950:#060913; --c-ink-900:#0a1020; --c-ink-800:#101a2e;
  --c-ice-100:#eef5ff; --c-ice-300:#b9c9e4; --c-ice-500:#7f92ae;
  --c-cyan-400:#66e3ff; --c-cyan-600:#1eb4d8;
  --c-violet-400:#9b8cff; --c-violet-600:#6c5ce7;
  --c-mint-400:#75f5c8; --c-amber-400:#ffc98a;
  --c-white:#ffffff;
}

:root, [data-theme="dark"] {
  --bg: var(--c-ink-950);
  --bg-2: var(--c-ink-900);
  --bg-3: var(--c-ink-800);
  --text-1: var(--c-ice-100);
  --text-2: var(--c-ice-300);
  --text-3: var(--c-ice-500);
  --accent: var(--c-cyan-400);
  --accent-2: var(--c-violet-400);
  --accent-3: var(--c-mint-400);
  --accent-soft: rgba(102,227,255,.13);
  --accent-2-soft: rgba(155,140,255,.14);
  --panel: rgba(17,26,45,.66);
  --panel-strong: rgba(13,20,36,.92);
  --panel-solid: #101a2e;
  --border: rgba(150,185,245,.16);
  --border-strong: rgba(150,200,255,.34);
  --grid-line: rgba(130,170,235,.065);
  --glow: rgba(102,227,255,.26);
  --shadow: 0 26px 80px rgba(0,0,0,.46);
  --shadow-sm: 0 12px 36px rgba(0,0,0,.32);
  --stage-rim: #66e3ff;
  --stage-core: #9b8cff;
  --stage-dust: #75f5c8;
  --stage-void: #080c16;
  --contact-primary-bg: linear-gradient(125deg,#123b73 0%,#2b3597 48%,#642fa8 100%);
  --contact-primary-fg: #f5faff;
  --contact-primary-muted: rgba(233,243,255,.78);
  --contact-primary-icon: rgba(255,255,255,.18);
  --contact-primary-glow: rgba(102,227,255,.3);
  --topbar-h: 70px;
  --radius: 18px;
  --radius-sm: 11px;
  --radius-lg: 28px;
  --panel-blur: saturate(1.35) blur(18px);
  --ease: cubic-bezier(.22,.8,.24,1);
}

[data-theme="light"] {
  --bg: #f4f7fc;
  --bg-2: #ffffff;
  --bg-3: #eaf0f9;
  --text-1: #101a2e;
  --text-2: #435571;
  --text-3: #7689a3;
  --accent: #0e8fc7;
  --accent-2: #6c5ce7;
  --accent-3: #0b9e79;
  --accent-soft: rgba(14,143,199,.10);
  --accent-2-soft: rgba(108,92,231,.09);
  --panel: rgba(255,255,255,.78);
  --panel-strong: rgba(255,255,255,.96);
  --panel-solid: #ffffff;
  --border: rgba(28,58,104,.14);
  --border-strong: rgba(28,90,150,.3);
  --grid-line: rgba(35,75,135,.065);
  --glow: rgba(14,143,199,.2);
  --shadow: 0 26px 70px rgba(35,60,100,.14);
  --shadow-sm: 0 12px 32px rgba(35,60,100,.1);
  --stage-rim: #0e8fc7;
  --stage-core: #6c5ce7;
  --stage-dust: #0b9e79;
  --stage-void: #f4f7fc;
  --contact-primary-bg: linear-gradient(125deg,#0d4a92 0%,#3340ad 48%,#6a2fc0 100%);
  --contact-primary-fg: #ffffff;
  --contact-primary-muted: rgba(255,255,255,.84);
  --contact-primary-icon: rgba(255,255,255,.2);
  --contact-primary-glow: rgba(51,64,173,.3);
}
