/*
  Lemuny design tokens — identity-spec.md v1
  All values below are token references. Consume as CSS custom properties.
  NEVER inline raw hex in page markup or component rules — reference tokens.
*/

:root {
  /* ---- 2.1 Ground / surface ---- */
  --ink-950: #0B0D1A;   /* page base */
  --ink-900: #10132A;   /* gradient end-stop, hero backdrop */
  --ink-800: #151A30;   /* card / panel surface */
  --ink-700: #1C2340;   /* elevated surface, hover/active */
  --hairline: #2B3252;  /* 1px card/panel borders */

  /* ---- 2.2 Text ---- */
  --text-headline: #F6F3EC; /* display headlines, primary copy */
  --text-body: #9AA3C0;     /* body copy, card descriptions */
  --text-label: #7A82A0;    /* mono-caps eyebrows, timestamps */

  /* ---- 2.3 Accent (gold does all the work) ---- */
  --gold: #D4A437;
  --gold-bright: #E8C266;
  --gold-dim: #A97F27;
  --ink-on-gold: #0B0D1A;

  /* RGB channel variants for use in rgba() */
  --gold-rgb: 212, 164, 55;
  --cool-rgb: 42, 58, 110;
  --dot-rgb: 246, 243, 236;

  /* ---- 2.4 Safety signal (sanctioned single exception) ---- */
  --signal-blocked: #D06A63;

  /* ---- 2.5 Glow ---- */
  --glow-cool: rgba(42, 58, 110, 0.35);
  --glow-gold: rgba(212, 164, 55, 0.28);

  /* ---- 2.6 Dot-grid texture ---- */
  --dot-grid-opacity: 0.05;
  --dot-grid-size: 24px;

  /* ---- Typography families ---- */
  --font-display: "General Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", Menlo, monospace;

  /* ---- Type scale (desktop values; clamp() handles mobile in site.css) ---- */
  --display-xl: clamp(48px, 7vw, 96px);   /* hero emphasis word, lh 0.95 */
  --display-lg: clamp(32px, 5.5vw, 56px); /* page headline, lh 1.05 */
  --display-md: clamp(26px, 3.6vw, 36px); /* section headline, lh 1.15 */
  --body-lg: clamp(16px, 1.4vw, 18px);    /* lh 1.55 */
  --body-md: clamp(14px, 1.1vw, 15px);    /* lh 1.55 */
  --label-mono: clamp(11px, 1vw, 12px);   /* eyebrow, lh 1.4, +0.08em */
  --data-mono: clamp(28px, 3.4vw, 40px);  /* live stats, lh 1.0, tabular-nums */

  /* ---- Radii ---- */
  --radius-pill: 999px;
  --radius-card: 18px;
  --radius-panel: 20px;

  /* ---- Motion (identity-spec §5: breathing 3-4s, sweeping, held-glow) ---- */
  --motion-breathe: 3.6s;
  --motion-sweep: 6s;
  --motion-ease: cubic-bezier(0.4, 0, 0.2, 1);
}
