/* TUNLstack showroom tokens — Ice Blue monochromatic on Void, DARK ONLY.
   Seeded from clients/tunlstack/tunlstack-brand.css (source of truth) + web-font
   imports + a fluid type/space scale for the showroom blocks.

   Type: General Sans (grotesk display + UI) + JetBrains Mono (technical).
   NO serif display (rejected 2026-06-09). Ice blue = action/brand only — never
   body text. No body-surface gradients, no glassmorphism, no aurora. */

/* ---- web fonts (the brand css names the families; the showroom must load them) ---- */
@import url('/fonts/fonts.css'); /* self-hosted General Sans + JetBrains Mono (F12/F7 CDN-kill) */

:root {
  /* ---- core (Ice Blue) ---- */
  --color-primary:        #38BDF8;  /* CTAs, brand mark, karaoke sweep, key actions */
  --color-primary-light:  #7dd3fc;  /* hover, links, highlights */
  --color-primary-deep:   #0369a1;  /* borders/active/pressed, depth */
  --color-primary-tint:   #0f1e2e;  /* tinted surfaces, badges, callouts (sparing) */
  --color-primary-frost:  #bae6fd;  /* max-contrast accent, vanishing-point light */

  /* ---- neutral (Void stack) ---- */
  --color-base:       #121212;  /* page background */
  --color-surface-1:  #1a1a1a;  /* cards, panels, elevated */
  --color-surface-2:  #222222;  /* modals, dropdowns */
  --color-surface-3:  #2a2a2a;  /* tooltips, popovers */
  --color-border:     #2e2e2e;  /* dividers, fine borders (Ash) */

  /* ---- text ---- */
  --color-text-primary:    #e2e8f0;  /* headings, primary body */
  --color-text-secondary:  #a0a0a0;  /* body copy, descriptions */
  --color-text-tertiary:   #666666;  /* captions, labels, metadata */
  --color-text-muted:      #444444;  /* disabled, placeholder, pre-sweep karaoke */
  --color-text-on-primary: #0c1a28;  /* text on Ice-Blue buttons (never pure black) */

  /* ---- functional (status only) ---- */
  --color-success: #4ade80;
  --color-warning: #f59e0b;
  --color-error:   #f87171;
  --color-info:    #38BDF8;  /* uses primary — no separate info colour */

  /* ---- type ---- */
  --font-display: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; /* grotesk; NOT Inter */
  --font-body:    "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; /* labels, code, numerics */
  /* NO --font-serif: serif display REJECTED 2026-06-09. */

  --weight-body:    400;
  --weight-medium:  500;
  --weight-display: 600;  /* General Sans headings */
  --tracking-mono:  0.18em; /* uppercase mono labels: "001 / how it works" */
  --leading-display: 1.03;  /* tight; avoid awkward mid-phrase wraps */

  /* ---- fluid type scale (tight leading on display per --leading-display) ---- */
  --fs-display-1: clamp(2.75rem, 6.5vw, 5.25rem);  /* hero headline */
  --fs-display-2: clamp(2rem, 4.5vw, 3.5rem);      /* section headline */
  --fs-h2:        clamp(1.6rem, 3vw, 2.4rem);
  --fs-h3:        clamp(1.2rem, 2vw, 1.55rem);
  --fs-body-lg:   1.125rem;
  --fs-body:      1rem;
  --fs-small:     0.875rem;
  --fs-mono-label: 0.78rem;  /* uppercase mono eyebrow */

  /* ---- space / shape ---- */
  --maxw-content: 1160px;
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --space-section: 130px; /* generous vertical rhythm */

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* aliases used by the showroom index.html review-guidance layer */
  --r-card:   var(--radius);
  --pad-card: 28px;

  /* ---- motion (subtle, one moment per section) ---- */
  --ease: cubic-bezier(.2,.7,.2,1);
  --dur-reveal: .8s;
  --dur-micro: .25s;
  /* karaoke sweep: word steps ~55ms, lit hold ~240ms, lit = --color-primary + glow, settle = --color-text-primary */
  --karaoke-step: 55ms;
  --karaoke-hold: 240ms;
  --karaoke-glow: 0 0 18px rgba(56, 189, 248, 0.45);
}

/* DARK ONLY — no [data-mode="light"] block by design. */
