/* ==========================================================================
   Admixor Research — Design Tokens
   来源：mordorintelligence.com v6.0 设计语言逆向提取（配色/字阶/栅格），
   已重品牌化为 Admixor 视觉体系。改品牌色只需改本文件。
   ========================================================================== */

:root {
  /* ---- Brand: deep navy（主色，来自 mordor --primary-color #27305f） ---- */
  --navy-950: #0d1330;
  --navy-900: #1a2148;
  --navy-800: #27305f;   /* primary */
  --navy-700: #39447e;
  --navy-600: #4c5896;

  /* ---- Accent: teal（副标题，来自 --SubHeading-color #10b1b5） ---- */
  --teal-600: #0b9498;
  --teal-500: #10b1b5;
  --teal-400: #2fc4c8;
  --teal-300: #46cdcf;
  --teal-50:  #ebf7f8;

  /* ---- Accent: blue（强调/链接，来自 --Span-color #2c8ebf / #0070a8） ---- */
  --blue-900: #002f75;
  --blue-800: #0070a8;
  --blue-700: #0e7db3;
  --blue-600: #2c8ebf;   /* primary accent */
  --blue-300: #6fb6dc;
  --blue-50:  #e9f3f8;

  /* ---- Neutrals ---- */
  --ink-900: #13293d;
  --ink-800: #212529;
  --ink-700: #333333;
  --ink-600: #5a5e70;    /* secondary text */
  --ink-500: #6b7280;
  --ink-400: #8b90a0;
  --line:    #e6e5e5;
  --line-2:  #f3f3f3;
  --bg:      #ffffff;
  --bg-soft: #f7f9fb;
  --bg-tint: #eef4f8;

  /* ---- Semantic ---- */
  --up:   #d02f3f;       /* 中国口径：涨/正向用红 */
  --down: #1a9e6a;       /* 跌/负向用绿 */
  --warn: #d98a00;

  /* ---- Type scale (mordor: --Heading-size 3rem / --Peragraph-size 16px) ---- */
  --fs-display: clamp(2.25rem, 4.4vw, 3.5rem);
  --fs-h1:      clamp(1.9rem, 3.2vw, 2.6rem);
  --fs-h2:      clamp(1.5rem, 2.4vw, 2rem);
  --fs-h3:      clamp(1.15rem, 1.6vw, 1.4rem);
  --fs-h4:      1.0625rem;
  --fs-body:    1rem;      /* 16px */
  --fs-sm:      0.875rem;
  --fs-xs:      0.8125rem;
  --fs-2xs:     0.75rem;

  --lh-tight: 1.18;
  --lh-snug:  1.38;
  --lh-body:  1.72;

  /* 中文字重不宜过粗；标题走 300/500，正文 400 */
  --fw-light: 300;
  --fw-reg:   400;
  --fw-med:   500;
  --fw-semi:  600;
  --fw-bold:  700;

  /* 拉丁字形优先 Poppins（本地无则由系统栈回落），中文走系统中文字体。
     刻意不引外链 Web Font —— admixor.cn 面向中国 + 海外双端，Google Fonts 在境内不可达。 */
  --ff-sans: "Poppins", "Segoe UI", "Helvetica Neue", Arial,
             "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
             -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;

  /* ---- Layout ---- */
  --wrap: 1200px;
  --wrap-narrow: 880px;
  /* Reading column for pages whose body is a single article.  Sized so
     the 76ch measure fills it exactly: 76ch ~ 712px + 2x24px gutter. */
  --wrap-article: 760px;
  /* Full-left info/insight pages (关于 / 研究方法 / 洞察) deliberately fill
     the whole 1200px wrap content area -- the same width as the 报告库
     listing page -- so their body is as wide as the page body, not a narrow
     reading column.  No separate measure token is needed: .col-left simply
     spans the .wrap content box (logo-left to content-right). */
  --gutter: 24px;
  --sec-y: clamp(56px, 7vw, 96px);
  --sec-y-sm: clamp(32px, 4vw, 56px);

  /* ---- Radius / shadow ---- */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(19, 41, 61, .06), 0 1px 3px rgba(19, 41, 61, .08);
  --sh-2: 0 4px 12px rgba(19, 41, 61, .08), 0 2px 4px rgba(19, 41, 61, .05);
  --sh-3: 0 12px 32px rgba(19, 41, 61, .12), 0 4px 10px rgba(19, 41, 61, .06);
  --sh-focus: 0 0 0 3px rgba(44, 142, 191, .35);

  /* ---- Motion ---- */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur-1: 140ms;
  --dur-2: 220ms;
  --dur-3: 380ms;

  /* 悬停浮层「死区」桥接与隐藏延迟（见 SKILL: 悬停下拉点不到的根治三件套） */
  --hover-bridge: 12px;
  --hover-close-delay: 180ms;

  --header-h: 68px;
  --topbar-h: 36px;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-1: 0ms; --dur-2: 0ms; --dur-3: 0ms; }
}
