/* tokens.css — Cyber v3 design tokens (E1, 2026-08-22)
   Source of truth: REDESIGN_V3_PLAN.md §5. Copied verbatim — do not invent,
   add or remove tokens here. Every colour and type size on the site must come
   from this file. See docs/REDESIGN_V3_PLAN.md §5 for the colour role rules. */

:root {
  /* ---- surfaces ---- */
  --bg:          #07070a;  /* page */
  --bg-2:        #0a0a10;  /* telemetry strip, inset rows */
  --panel:       #0c0c12;  /* standard panel */
  --panel-2:     #0d0d14;  /* raised / hero panel */
  --panel-3:     #0b0b11;  /* inline data panel inside article body */

  /* ---- rules (darkest to lightest) ---- */
  --line-3:      #14141c;  /* table row separator */
  --line-2:      #1a1a24;  /* list separator */
  --line:        #23232e;  /* section / panel border */
  --line-hi:     #33333f;  /* emphasised panel border, ghost button */

  /* ---- accents: STRICT ROLES, see §6 ---- */
  --acid:        #e8e005;  /* structure + primary action ONLY */
  --acid-hover:  #f5ec2a;
  --acid-tint:   rgba(232,224,5,.06);
  --acid-tint-2: rgba(232,224,5,.03);

  --cyan:        #00d6c4;  /* interactive / navigation ONLY */
  --cyan-hover:  #5ff0e2;
  --cyan-tint:   rgba(0,214,196,.04);

  --up:          #35e08a;  /* data direction: positive */
  --down:        #ff2e63;  /* data direction: negative */

  /* ---- asset-class colours (allocation page only) ---- */
  --ac-equities: #00d6c4;
  --ac-bonds:    #3d7fd6;
  --ac-gold:     #e8e005;
  --ac-commod:   #ff8c2e;
  --ac-crypto:   #a05cff;
  --ac-cash:     #5a5a68;

  /* ---- text (brightest to dimmest) ---- */
  --txt:         #f4f4f9;  /* headlines */
  --txt-2:       #e2e2ec;  /* strong body, table values */
  --txt-3:       #b6b6c6;  /* article body */
  --txt-4:       #8a8a99;  /* secondary body, muted rows */
  --txt-5:       #6a6a78;  /* labels, captions */
  --txt-6:       #5a5a68;  /* footer, placeholders */

  /* ---- type ---- */
  --f-display: 'Chakra Petch', sans-serif;      /* 700 — numerals, EN display */
  --f-cjk:     'Noto Sans TC', sans-serif;      /* 400 / 700 / 900 — Chinese */
  --f-mono:    'IBM Plex Mono', monospace;      /* 400 / 500 / 600 — labels, tables */

  /* type scale — nothing outside this ladder */
  --t-10: 10px;  --t-11: 11px;  --t-12: 12px;  --t-13: 13px;
  --t-14: 14px;  --t-17: 17px;  --t-21: 21px;  --t-26: 26px;
  --t-32: 32px;  --t-40: 40px;  --t-46: 46px;  --t-72: 72px;

  /* ---- spacing ---- */
  --s-1: 6px;   --s-2: 9px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 20px;  --s-6: 26px;  --s-7: 32px;  --s-8: 36px;  --s-9: 44px;

  /* ---- layout ---- */
  --container:   1240px;
  --gutter:      36px;   /* 16px below 600px */
  --header-h:    56px;
  --telemetry-h: 34px;
}
