/* =====================================================================
   SEMIANALYSIS 2026 · NEO INDUSTRIAL — DESIGN TOKENS
   The single source of truth for color, type, surface, and motion.
   Import this first, then brand.css for the primitives/components.
   Palette per the SemiAnalysis Brand Guide 2026. Do not hardcode hex
   values in product code: reference the custom properties below.
   ===================================================================== */

/* ---- Brand fonts (local variable files shipped in ../assets/fonts) ---- */
@font-face {
  font-family: "Grift";
  src: url("../assets/fonts/Grift-VF.woff2") format("woff2-variations"),
       url("../assets/fonts/Grift-VF.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/Outfit-VF.woff2") format("woff2-variations"),
       url("../assets/fonts/Outfit-VF.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
/* JetBrains Mono (labels) loads from Google Fonts, or self-host to taste:
   <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet"> */

:root {
  /* ── Brand primaries ──────────────────────────────────────────────
     Amber = Analysis / primary accent. Cobalt = News / info.
     LOCKED. Never substitute the legacy values #EBA630 or #1A8AC6. */
  --sa-amber:   #F7B041;   /* primary accent · Analysis            */
  --sa-cobalt:  #0B86D1;   /* secondary accent · News, info        */

  /* ── Extended accents ── */
  --sa-mint:    #2EAD8E;   /* confirm / positive / up              */
  --sa-coral:   #E06347;   /* alert / negative / down              */

  /* ── Neutrals ── */
  --sa-slate:   #3D3D3D;   /* external surfaces                    */
  --sa-metal:   #969696;   /* chart neutrals                       */

  /* ── Logo gradient blues (the lightbulb base + circuit vias) ── */
  --blue-100: #a6d5ff;
  --blue-300: #73c3ff;
  --blue-500: #3babff;
  --blue-700: #0d86d1;

  /* ── Surfaces (warm-cooled dark; NEVER pure black) ── */
  --bg:       #06070C;     /* page background                      */
  --bg-2:     #090A11;     /* secondary background band            */
  --card:     #0C0E16;     /* card / panel                         */
  --surface:  #11131D;     /* inset surface, inputs                */
  --raised:   #161925;     /* raised chip, code block              */
  --line:     rgba(232,228,221,0.08);   /* hairline border         */
  --line-2:   rgba(232,228,221,0.14);   /* stronger hairline       */
  --grid:     rgba(232,228,221,0.035);  /* blueprint grid line     */

  /* ── Type color (warm off-white; NEVER pure white #FFFFFF) ── */
  --tx:       #E9E6DF;     /* primary text                         */
  --tx-muted: #9A96A0;     /* secondary text, labels               */
  --tx-dim:   #85828F;  /* ≥4.5:1 on --bg for purchase microcopy */     /* tertiary text, disabled              */

  /* ── Type families ── */
  --ft-display: "Grift", "Outfit", system-ui, sans-serif;
  --ft-body:    "Outfit", system-ui, -apple-system, sans-serif;
  --ft-mono:    "JetBrains Mono", "SF Mono", ui-monospace, "Aptos Mono", monospace;

  /* ── Tint washes (accent-on-dark fills + borders) ── */
  --amber-wash:  rgba(247,176,65,0.08);
  --amber-line:  rgba(247,176,65,0.35);
  --cobalt-wash: rgba(11,134,209,0.10);
  --cobalt-line: rgba(11,134,209,0.40);

  /* ── Radius / elevation / motion ── */
  --radius: 10px;
  --shadow-card:  0 2px 14px rgba(0,0,0,0.45);
  --shadow-hover: 0 10px 34px rgba(0,0,0,0.55), 0 0 22px rgba(247,176,65,0.10);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);   /* the house easing curve */
}
