/* ============================================================
   Indie Peak - design tokens
   Source: design/OPENDESIGN.md + design/DESIGN.md (2026-10-12)
   Accent A "Peak Lime" #C8F04A is the working default.
   ============================================================ */

:root {
  /* Brand base (dark + bold) */
  --bg:              #0B0D10;
  --bg-2:            #101318;
  --surface:         #151920;
  --surface-2:       #1A1F29;
  --border:          #232833;
  --border-strong:   #313949;
  --fg:              #F2F4F7;
  --muted:           #9BA3AF;
  --faint:           #8B94A1;   /* raised from #6B7280 so captions meet WCAG AA 4.5:1 on dark surfaces */

  /* Accent (one accent, used sparingly) */
  --accent:          #C8F04A;
  --accent-ink:      #0B0D10;

  /* Status. "Out now" is a cooler emerald-teal; "coming soon" stays on Peak Lime,
     so the two greens no longer sit side by side on the hue wheel. */
  --st-out:          #2FD3B0;
  --st-soon:         #C8F04A;
  --st-early:        #6BA6FF;
  --st-late:         #F5B942;

  /* Interaction */
  --focus:           #C8F04A;
  --hover-lift:      translateY(-4px);

  /* Derived surfaces using color-mix (keeps hex values out of components) */
  --panel:           color-mix(in srgb, var(--surface) 88%, var(--bg));
  --tint-accent:     color-mix(in oklab, var(--accent) 14%, transparent);
  --tint-accent-2:   color-mix(in oklab, var(--accent) 26%, transparent);
  --shadow-sm:       0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md:       0 10px 30px -12px rgba(0, 0, 0, .7);
  --shadow-lg:       0 24px 60px -20px rgba(0, 0, 0, .8);

  /* Type */
  --font-display: "Archivo Black", "Arial Black", "Helvetica Neue", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;

  --step--1: 0.8125rem;               /* 13 */
  --step-0:  0.9375rem;               /* 15 body */
  --step-1:  1.0625rem;               /* 17 */
  --step-2:  1.25rem;                 /* 20 */
  --step-3:  clamp(1.35rem, 1.2rem + .8vw, 1.65rem);
  --step-4:  clamp(1.7rem, 1.4rem + 1.6vw, 2.4rem);
  --step-5:  clamp(2.1rem, 1.6rem + 2.6vw, 3.4rem);
  --step-6:  clamp(2.6rem, 1.8rem + 4vw, 5rem);

  --tracking-tight: -0.02em;
  --leading-tight:  1.02;
  --leading-body:   1.6;

  /* Space */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Radii */
  --r-sm:   8px;
  --r-ctl:  10px;
  --r-card: 16px;
  --r-pill: 999px;

  /* Layout */
  --maxw:   1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 64px;
}
