/* ProofRWA — shared design tokens.
   Aesthetic: dark "verification terminal" — precise, verifiable, calm.
   Colors in OKLCH; neutrals tinted toward the signal hue (168, mint) for
   subconscious cohesion. Numbers are the star → a dedicated mono. */

:root {
  /* ---- type ---- */
  --font-sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* fixed rem scale for product UI; landing overrides headings with clamp() */
  --t-2xs: 0.6875rem; /* 11 */
  --t-xs: 0.75rem;    /* 12 */
  --t-sm: 0.8125rem;  /* 13 */
  --t-base: 0.875rem; /* 14 */
  --t-md: 1rem;       /* 16 */
  --t-lg: 1.25rem;    /* 20 */
  --t-xl: 1.625rem;   /* 26 */
  --t-2xl: 2.25rem;   /* 36 */

  /* ---- 4pt spacing ---- */
  --space-3xs: 4px;
  --space-2xs: 8px;
  --space-xs: 12px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  --radius-sm: 7px;
  --radius-md: 11px;
  --radius-lg: 16px;

  /* ---- surfaces (near-black, cool tint toward hue 232) ---- */
  --bg: oklch(0.155 0.006 232);
  --bg-1: oklch(0.188 0.007 232);
  --bg-2: oklch(0.225 0.008 232);
  --bg-3: oklch(0.262 0.009 232);
  --line: oklch(0.29 0.010 232);
  --line-2: oklch(0.36 0.012 232);

  /* ---- ink ---- */
  --ink: oklch(0.945 0.006 232);
  --ink-dim: oklch(0.74 0.010 232);
  --ink-faint: oklch(0.57 0.011 232);

  /* ---- signal (verified / fresh) ---- */
  --signal: oklch(0.83 0.15 168);
  --signal-deep: oklch(0.60 0.12 168);
  --signal-glow: oklch(0.83 0.15 168 / 0.16);
  --amber: oklch(0.82 0.13 78);
  --amber-deep: oklch(0.58 0.09 78);

  /* ---- risk bands A(low)→E(high) along a green→red hue ramp ---- */
  --band-a: oklch(0.83 0.15 168);
  --band-b: oklch(0.86 0.16 132);
  --band-c: oklch(0.87 0.15 96);
  --band-d: oklch(0.78 0.16 58);
  --band-e: oklch(0.70 0.19 26);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);       /* quint-ish */
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "cv01", "ss01";
}

a { color: inherit; text-decoration: none; }

/* tabular, calm numerics everywhere they matter */
.mono, .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

::selection { background: var(--signal-glow); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
