/* AURA — design tokens ("journal plate", pure white)
   Pure white ground, cool graphite ink, one accent axis (vermilion ↔ teal = the
   paper's own uncertainty colours). Geist for display, Inter for body, JetBrains
   Mono for labels. Variable names are kept from the MARS/TF-ART skeleton so
   ported blocks resolve. */

:root {
  /* --- surfaces & ink --- */
  --bg:             #FFFFFF;   /* page ground — pure white, no warm cast anywhere */
  --bg-elev:        #FFFFFF;   /* plates, cards, chip tracks (hairline-separated) */
  --bg-elev-2:      #F4F6F9;   /* alternate bands, chip rails — cool, blue-leaning grey */
  --border:         #E6E9EE;   /* hairlines */
  --border-strong:  #D3D8DF;
  --text-display:   #0B0D10;
  --text:           #1B2026;
  --text-soft:      #3B424B;
  --text-muted:     #667080;

  /* --- accent axis --- */
  --accent:         #B23A2A;   /* vermilion — high uncertainty, eyebrows, "ours" */
  --accent-hot:     #9A2F21;
  --accent-soft:    rgba(178, 58, 42, 0.08);
  --accent-line:    rgba(178, 58, 42, 0.45);
  --teal:           #2A7F8A;   /* low uncertainty, emergent modes */
  --teal-hot:       #216B75;
  --teal-soft:      rgba(42, 127, 138, 0.10);
  --teal-line:      rgba(42, 127, 138, 0.45);
  --orange:         #C4661E;   /* burnt orange — the hero's headline numbers, one colour for all four */
  --orange-hot:     #A9551A;
  --axis: linear-gradient(90deg, #B23A2A 0%, #D3D8DF 50%, #2A7F8A 100%);

  /* --- live chart mode colours (paper hues, deepened for contrast on white) --- */
  --live-upper:     #3A948E;   /* Push-T, upper edge */
  --live-lower:     #3F7FB5;   /* Push-T, lower edge */
  --live-orange:    #D08A2B;   /* Block Push, orange block */
  --live-purple:    #6E62B8;   /* Block Push, purple block */

  /* --- ink buttons --- */
  --ink-btn:        #0B0D10;
  --ink-btn-hover:  #000000;

  /* --- type --- */
  --display: 'Geist', 'Geist Fallback', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --text-2xs:  13px;      /* chips, badges, tiny mono */
  --text-xs:   13.5px;    /* eyebrows, meta, nav */
  --text-sm:   16px;      /* captions, notes, card body */
  --text-base: 18px;      /* body, prose */
  --text-lg:   19.5px;
  --text-xl:   21px;
  --hero:      clamp(42px, 5vw, 72px);
  --section-h: clamp(34px, 3.5vw, 48px);

  --leading-normal: 1.65;

  --tracking-tight:   -0.025em;
  --tracking-display: -0.03em;
  --tracking-normal:  0;
  --tracking-wider:   0.12em;

  /* --- spacing (4px base) --- */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;
  --section-gap: clamp(72px, 8vw, 120px);
  --container-w: 1200px;
  --container-pad: clamp(20px, 4vw, 56px);
  --nav-height: 64px;

  /* --- radii --- */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   16px;
  --r-full: 999px;

  /* --- motion --- */
  --ease:       cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out:   cubic-bezier(0.25, 1, 0.5, 1);
  --d-fast:     140ms;
  --d-base:     220ms;
  --d-slow:     360ms;

  /* --- depth (cool graphite, restrained) --- */
  --shadow-plate: 0 1px 2px rgba(11, 13, 16, 0.04), 0 24px 48px -36px rgba(11, 13, 16, 0.22);
  --shadow-card:  0 0 0 1px var(--border), 0 1px 2px rgba(11, 13, 16, 0.04), 0 18px 40px -30px rgba(11, 13, 16, 0.18);
  --shadow-elev:  0 0 0 1px var(--border-strong), 0 4px 10px -3px rgba(11, 13, 16, 0.07), 0 30px 60px -28px rgba(11, 13, 16, 0.20);
  --shadow-btn:   0 8px 20px -12px rgba(0, 0, 0, 0.5);
}

/* Metrics-matched stand-in so display text does not reflow when Geist swaps in. */
@font-face {
  font-family: 'Geist Fallback';
  src: local('Helvetica Neue'), local('Arial');
  size-adjust: 98%;
  ascent-override: 93%;
  descent-override: 24%;
  line-gap-override: 0%;
}
