/* ============================================================================
   YUSY 科学+ · 品牌设计令牌 / Brand Design Tokens
   Single source of truth for color, type, space, radius, elevation, motion.
   Drop in <head> after a reset; consume via var(--yusy-*).
   ========================================================================== */

:root {
  /* ---- Core / 核心色 ----------------------------------------------------- */
  --yusy-ink:        #0B1220; /* 墨黑 — text, one-color mark            */
  --yusy-deep:       #0B2A6B; /* 深空蓝 — PRIMARY, the mark, headlines  */
  --yusy-pulse:      #1E6FD9; /* 跃动蓝 — secondary, links, origin dot  */
  --yusy-cyan:       #06B6D4; /* 智核青 — AI accent, reversed dot       */
  --yusy-violet:     #7C3AED; /* 智核紫 — AI accent #2                  */
  --yusy-gold:       #F59E0B; /* 暖阳金 — highlight, awards only        */

  /* ---- Neutrals / 中性色 ------------------------------------------------- */
  --yusy-paper:      #FFFFFF; /* 纸白                                    */
  --yusy-mist:       #F6F8FC; /* 雾白 — section backgrounds              */
  --yusy-sky:        #EEF4FF; /* 天蓝底                                  */
  --yusy-line:       #E5E7EB; /* 描边/分割线                             */
  --yusy-muted:      #64748B; /* 弱化文字                                */
  --yusy-text-2:     #334155; /* 次级文字                                */

  /* ---- 七色光谱 / Seven-Track Spectrum (single representative hue) ------- */
  --yusy-s1: #16A34A; /* S1 地球生态   Earth Ecology        */
  --yusy-s2: #EA580C; /* S2 地质古生物 Geology & Paleo      */
  --yusy-s3: #7C3AED; /* S3 宇宙星空   Cosmos & Space       */
  --yusy-s4: #84CC16; /* S4 植物昆虫   Flora & Insects      */
  --yusy-s5: #0EA5E9; /* S5 鸟类       Ornithology          */
  --yusy-s6: #2563EB; /* S6 地球物理   Geophysics           */
  --yusy-s7: #C026D3; /* S7 地球化学   Geochemistry         */

  /* ---- Brand gradients / 品牌渐变 --------------------------------------- */
  --yusy-grad-brand: linear-gradient(135deg, #0B2A6B 0%, #1E6FD9 48%, #06B6D4 100%);
  --yusy-grad-ai:    linear-gradient(135deg, #06B6D4 0%, #7C3AED 100%);
  --yusy-grad-earth: linear-gradient(135deg, #0a7c3a 0%, #15a34a 100%);
  --yusy-grad-spectrum: linear-gradient(90deg,
      #16A34A 0%, #84CC16 18%, #0EA5E9 36%, #2563EB 54%,
      #7C3AED 72%, #C026D3 86%, #EA580C 100%);

  /* ---- Type / 字体 ------------------------------------------------------- */
  --yusy-font-display: "Montserrat","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --yusy-font-en:      "Inter",-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto",sans-serif;
  --yusy-font-sc:      "PingFang SC","Microsoft YaHei","HarmonyOS Sans SC","Source Han Sans SC","Noto Sans SC",sans-serif;
  --yusy-font-tc:      "PingFang TC","Microsoft JhengHei","HarmonyOS Sans TC","Source Han Sans TC","Noto Sans TC",sans-serif;

  /* type scale (1.250 major-third) */
  --yusy-fs-display: clamp(2.6rem, 6vw, 4.2rem);
  --yusy-fs-h1: 2.44rem;
  --yusy-fs-h2: 1.95rem;
  --yusy-fs-h3: 1.56rem;
  --yusy-fs-body: 1rem;
  --yusy-fs-small: 0.8rem;
  --yusy-lh-tight: 1.12;
  --yusy-lh-body: 1.65;

  /* ---- Space / 间距 (8pt base) ------------------------------------------ */
  --yusy-space-1: 4px;
  --yusy-space-2: 8px;
  --yusy-space-3: 16px;
  --yusy-space-4: 24px;
  --yusy-space-5: 40px;
  --yusy-space-6: 64px;
  --yusy-space-7: 104px;

  /* ---- Radius / 圆角 ----------------------------------------------------- */
  --yusy-radius: 14px;
  --yusy-radius-lg: 22px;
  --yusy-radius-pill: 999px;

  /* ---- Elevation / 阴影 -------------------------------------------------- */
  --yusy-shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --yusy-shadow-md: 0 8px 24px rgba(15,23,42,.08);
  --yusy-shadow-lg: 0 20px 50px rgba(15,23,42,.15);

  /* ---- Motion / 动效 ----------------------------------------------------- */
  --yusy-ease: cubic-bezier(.22,.61,.36,1);
  --yusy-dur-1: 160ms;
  --yusy-dur-2: 280ms;
  --yusy-dur-3: 480ms;
  --yusy-container: 1180px;
}
