/* ─────────────────────────────────────────────
   灼见 · 全局品牌 Token
   所有页面引入：<link rel="stylesheet" href="css/tokens.css">
   ───────────────────────────────────────────── */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* ── 底色系：深夜 + 米白墨纸 ── */
  --ink-bg: #07080F;
  --ink-bg-2: #0D0F18;
  --ink-card: rgba(242, 237, 228, 0.03);
  --ink-card-2: rgba(242, 237, 228, 0.06);

  --paper: #F2EDE4;
  --paper-90: rgba(242, 237, 228, 0.9);
  --paper-70: rgba(242, 237, 228, 0.7);
  --paper-50: rgba(242, 237, 228, 0.5);
  --paper-30: rgba(242, 237, 228, 0.3);
  --paper-15: rgba(242, 237, 228, 0.15);
  --paper-10: rgba(242, 237, 228, 0.1);
  --paper-05: rgba(242, 237, 228, 0.05);

  /* ── 品牌主色：暖金 ── */
  --gold: #F0A030;
  --gold-soft: #D88820;
  --gold-deep: #A86810;
  --gold-pale: rgba(240, 160, 48, 0.12);
  --gold-glow: rgba(240, 160, 48, 0.35);
  --gold-glow-strong: rgba(240, 160, 48, 0.55);

  /* ── 图表专用（仅报告页图表区域使用，正文禁止使用） ── */
  --chart-indigo: #818cf8;
  --chart-rose:   #f472b6;
  --chart-teal:   #4ECDC4;
  --chart-lime:   #a3e635;
  --chart-amber:  var(--gold);

  /* ── 字体栈 ── */
  --font-serif-en: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-serif-cn: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'STSong', serif;
  --font-serif: 'Cormorant Garamond', 'Noto Serif SC', 'Source Han Serif SC', Georgia, 'Songti SC', serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Segoe UI', sans-serif;

  /* ── 圆角 token（全站只用这三档） ── */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* ── 阴影 ── */
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 24px var(--gold-glow);

  /* ── 行高（中文衬线用） ── */
  --lh-serif: 1.85;
  --lh-sans: 1.6;

  /* ── 饰线 ── */
  --rule: 1px solid var(--paper-15);
  --rule-gold: 1px solid rgba(240, 160, 48, 0.45);

  /* ── 过渡 ── */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── body 默认：深夜底 + 米白正文 ── */
body {
  font-family: var(--font-sans);
  background: var(--ink-bg);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── 通用选择文本颜色 ── */
::selection {
  background: var(--gold);
  color: var(--ink-bg);
}

/* ── 通用品牌标记（顶部左上角） ── */
.brand-mark {
  position: fixed;
  top: 20px;
  left: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
  transition: opacity 0.3s var(--ease);
}

.brand-mark:hover { opacity: 0.78; }

.brand-mark .brand-icon {
  width: 26px;
  height: 26px;
  color: var(--gold);
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}

.brand-mark .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-mark .brand-cn {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.brand-mark .brand-en {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--paper-30);
  margin-top: 4px;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .brand-mark { top: 16px; left: 16px; gap: 8px; }
  .brand-mark .brand-icon { width: 22px; height: 22px; }
  .brand-mark .brand-cn { font-size: 17px; letter-spacing: 0.1em; }
  .brand-mark .brand-en { font-size: 8px; letter-spacing: 0.28em; margin-top: 3px; }
}
