/* decomPirate design tokens — one theme: pure black, white text, ONE electric-blue accent.
   Two monospace families: Martian Mono (display) + JetBrains Mono (everything else).
   Fonts are loaded from Google Fonts in views/partials/head.ejs. */

:root {
  color-scheme: dark;

  /* Ground + surfaces */
  --bg: #000000;
  --bg-2: #040506;                  /* sunken: inputs, wells, code */
  --surface: #08090b;               /* raised: cards */
  --surface-2: #0d0f13;             /* hover / nested */
  --surface-3: #15181e;
  --border: #1b1e25;
  --border-strong: #2b303a;

  /* Text */
  --text: #f3f5f8;
  --text-2: #b3bbc7;
  --muted: #808a98;                 /* 5.6:1 on black */
  --text-on-accent: #ffffff;

  /* The one accent */
  --blue: #1e5bff;                  /* fills: buttons, highlights (white on it = 5.3:1) */
  --blue-hover: #3a71ff;
  --blue-bright: #5b9bff;           /* text/links/marks on black (7.6:1) */
  --blue-soft: rgba(30, 91, 255, 0.14);
  --blue-glow: rgba(30, 91, 255, 0.55);

  /* Legacy names the stylesheet + templates use — all mapped onto the one accent. */
  --accent: var(--blue);
  --accent-2: var(--blue-bright);
  --accent-ink: var(--blue-bright);
  --accent-grad: var(--blue);
  --grad-text: var(--blue-bright);
  --accent-soft: var(--blue-soft);
  --value: var(--blue-bright);      /* credits / money figures */
  --value-soft: var(--blue-soft);

  /* Status (used sparingly: failure, warning, money in/out) */
  --success: #7fd6a8;
  --success-soft: rgba(127, 214, 168, 0.1);
  --warning: #f2c04f;
  --warning-soft: rgba(242, 192, 79, 0.11);
  --danger: #ff6a62;
  --danger-soft: rgba(255, 106, 98, 0.12);

  /* Atmosphere */
  --glow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 40px -12px var(--blue-glow);
  --shadow-1: none;
  --shadow-2: 0 30px 60px -20px rgba(0, 0, 0, 0.9);

  /* Type */
  --font-display: 'Martian Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --font-body: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --fs-xs: 0.78rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.075rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem);
  --fs-2xl: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem);
  --fs-hero: clamp(2.4rem, 1.5rem + 4.4vw, 4.6rem);
  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-body: 1.7;

  /* Space (4px scale) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;

  /* Radius — engineered, not bubbly */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 12px;
  --r-xl: 14px;
  --r-pill: 999px;

  /* Layout + motion */
  --container: 1200px;
  --container-narrow: 520px;
  --gutter: 16px;
  --header-h: 64px;
  --strip-h: 0px; /* status strip removed (owner, 15 Oct) */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 180ms;
}

@media (min-width: 720px) {
  :root { --gutter: 32px; --header-h: 68px; }
}
