/* ==========================================================================
   HASH/DS - Design tokens
   Terminal-editorial system for Hash Protocol and sibling projects.
   Import this file before hash-ds.css. Override tokens per project as needed.
   ========================================================================== */

:root {
  /* ---- Surfaces (3 elevation levels, near-black warm) ---- */
  --hds-bg: #0b0c0d;
  --hds-bg-2: #101113;
  --hds-bg-3: #15161a;

  /* ---- Hairlines ---- */
  --hds-line: #1e2023;
  --hds-line-2: #2a2d31;

  /* ---- Ink ramp (warm off-white to near-invisible) ---- */
  --hds-ink: #eceae3;
  --hds-ink-2: #a4a49d;
  --hds-ink-3: #686862;
  --hds-ink-4: #3f3f3a;

  /* ---- Accents ----
     accent    : brand color; live data, interactive states, the one primary button
     cream     : editorial voice; kickers, italic phrases in display headings
     amber/red : data semantics only (warning / negative-risk)
     accent-dim: borders and quiet fills derived from accent */
  --hds-accent: #6bff75;
  --hds-accent-dim: #2f5a35;
  --hds-cream: #d9c99c;
  --hds-amber: #e6b265;
  --hds-amber-dim: #6b5530;
  --hds-red: #e5776b;
  --hds-red-dim: #6b3530;

  /* ---- Typography ----
     serif : display headings, big stat numerals, roman ranks, italic accents
     sans  : UI and prose
     mono  : every data element, label, badge, button label */
  --hds-font-serif: 'Fraunces', Georgia, serif;
  --hds-font-sans: 'Inter', system-ui, sans-serif;
  --hds-font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Type scale (px-equivalent rem, capped; tracking tightens as size grows) */
  --hds-fs-micro: 0.625rem;    /* 10px mono labels, kickers            */
  --hds-fs-data: 0.75rem;      /* 12px mono table data, buttons        */
  --hds-fs-ui: 0.8125rem;      /* 13px nav links                       */
  --hds-fs-body: 0.875rem;     /* 14px body                            */
  --hds-fs-lead: 1.1875rem;    /* 19px standfirst                      */
  --hds-fs-h3: 1rem;           /* 16px card titles (sans 600)          */
  --hds-fs-h2: 1.5rem;         /* 24px section heads (sans 500)        */
  --hds-fs-stat: 2.125rem;     /* 34px serif numerals                  */
  --hds-fs-display: clamp(2.75rem, 2rem + 2.6vw, 5.5rem); /* hero serif */

  /* ---- Layout ---- */
  --hds-container: 1320px;
  --hds-container-text: 1100px;
  --hds-gutter: clamp(1.25rem, 4vw, 3.75rem);
  --hds-band-pad: 6rem;
  --hds-band-pad-m: 3.5rem;

  /* ---- Shape: radii stay near-sharp; pill only for chips ---- */
  --hds-r-1: 3px;
  --hds-r-2: 5px;
  --hds-r-pill: 999px;

  /* ---- Motion ---- */
  --hds-ease: cubic-bezier(0.25, 0.6, 0.3, 1);
  --hds-fast: 150ms;
  --hds-med: 300ms;
}
