/*
 * DS — primitive tokens (`--nst-ref-*`).
 *
 * Raw, theme-independent values. Components never read these directly; they
 * read the semantic layer (semantic.css), which themes (themes.css) wire to
 * these primitives. See docs/design-system/README.md.
 */

:root {
	/* ── Neutral ramps ─────────────────────────────────────────────── */
	--nst-ref-zinc-50: #fafafa;
	--nst-ref-zinc-100: #f4f4f5;
	--nst-ref-zinc-200: #e4e4e7;
	--nst-ref-zinc-300: #d4d4d8;
	--nst-ref-zinc-400: #a1a1aa;
	--nst-ref-zinc-500: #71717a;
	--nst-ref-zinc-600: #52525b;
	--nst-ref-zinc-700: #3f3f46;
	--nst-ref-zinc-800: #27272a;
	--nst-ref-zinc-900: #18181b;
	--nst-ref-zinc-950: #09090b;

	--nst-ref-slate-50: #f8fafc;
	--nst-ref-slate-100: #f1f5f9;
	--nst-ref-slate-200: #e2e8f0;
	--nst-ref-slate-300: #cbd5e1;
	--nst-ref-slate-400: #94a3b8;
	--nst-ref-slate-500: #64748b;
	--nst-ref-slate-600: #475569;
	--nst-ref-slate-700: #334155;
	--nst-ref-slate-800: #1e293b;
	--nst-ref-slate-900: #0f172a;
	--nst-ref-slate-950: #020617;

	/* ── Brand ramps ───────────────────────────────────────────────── */
	/* Pilot violet, built around the wireframes' #6d63c4 / #3b3470. */
	--nst-ref-violet-50: #f5f4fb;
	--nst-ref-violet-100: #eeedf9;
	--nst-ref-violet-200: #e0dcf3;
	--nst-ref-violet-300: #c4bfe9;
	--nst-ref-violet-400: #9d95db;
	--nst-ref-violet-500: #6d63c4;
	--nst-ref-violet-600: #5b52ad;
	--nst-ref-violet-700: #4a4286;
	--nst-ref-violet-800: #3b3470;
	--nst-ref-violet-900: #2c2657;
	--nst-ref-violet-950: #1e1b3a;

	/* Midnight blue, hue 220, built around the primary fill #1b2f5b. */
	--nst-ref-midnight-50: #f3f6fb;
	--nst-ref-midnight-100: #e9eef7;
	--nst-ref-midnight-200: #dbe4f2;
	--nst-ref-midnight-300: #bccbe4;
	--nst-ref-midnight-400: #8ea6cf;
	--nst-ref-midnight-500: #5a7fc4;
	--nst-ref-midnight-600: #3f66b0;
	--nst-ref-midnight-700: #2b4a84;
	--nst-ref-midnight-800: #16274d;
	--nst-ref-midnight-900: #122040;
	--nst-ref-midnight-950: #0e1930;

	/* Tangerine, hue 24, built around the primary fill #c2500f. */
	--nst-ref-tangerine-50: #fdf6f0;
	--nst-ref-tangerine-100: #fdeee3;
	--nst-ref-tangerine-200: #fadfc9;
	--nst-ref-tangerine-300: #f7c39c;
	--nst-ref-tangerine-400: #f09a5c;
	--nst-ref-tangerine-500: #e07a35;
	--nst-ref-tangerine-600: #c2500f;
	--nst-ref-tangerine-700: #a8450c;
	--nst-ref-tangerine-800: #8a380a;
	--nst-ref-tangerine-900: #6e2d08;
	--nst-ref-tangerine-950: #3b1a07;

	/* ── Status / categorical hues (50 · 200 · 300 · 400 · 500 · 600 · 700) ── */
	--nst-ref-green-50: #f0fdf4;
	--nst-ref-green-200: #bbf7d0;
	--nst-ref-green-300: #86efac;
	--nst-ref-green-400: #4ade80;
	--nst-ref-green-500: #22c55e;
	--nst-ref-green-600: #16a34a;
	--nst-ref-green-700: #15803d;

	--nst-ref-amber-50: #fffbeb;
	--nst-ref-amber-200: #fde68a;
	--nst-ref-amber-300: #fcd34d;
	--nst-ref-amber-400: #fbbf24;
	--nst-ref-amber-500: #f59e0b;
	--nst-ref-amber-600: #d97706;
	--nst-ref-amber-700: #b45309;

	--nst-ref-red-50: #fef2f2;
	--nst-ref-red-200: #fecaca;
	--nst-ref-red-300: #fca5a5;
	--nst-ref-red-400: #f87171;
	--nst-ref-red-500: #ef4444;
	--nst-ref-red-600: #dc2626;
	--nst-ref-red-700: #b91c1c;

	--nst-ref-blue-50: #eff6ff;
	--nst-ref-blue-200: #bfdbfe;
	--nst-ref-blue-300: #93c5fd;
	--nst-ref-blue-400: #60a5fa;
	--nst-ref-blue-500: #3b82f6;
	--nst-ref-blue-600: #2563eb;
	--nst-ref-blue-700: #1d4ed8;

	--nst-ref-purple-50: #faf5ff;
	--nst-ref-purple-200: #e9d5ff;
	--nst-ref-purple-300: #d8b4fe;
	--nst-ref-purple-400: #c084fc;
	--nst-ref-purple-500: #a855f7;
	--nst-ref-purple-600: #9333ea;
	--nst-ref-purple-700: #7e22ce;

	--nst-ref-cyan-50: #ecfeff;
	--nst-ref-cyan-200: #a5f3fc;
	--nst-ref-cyan-300: #67e8f9;
	--nst-ref-cyan-400: #22d3ee;
	--nst-ref-cyan-500: #06b6d4;
	--nst-ref-cyan-600: #0891b2;
	--nst-ref-cyan-700: #0e7490;

	--nst-ref-teal-50: #f0fdfa;
	--nst-ref-teal-200: #99f6e4;
	--nst-ref-teal-300: #5eead4;
	--nst-ref-teal-400: #2dd4bf;
	--nst-ref-teal-500: #14b8a6;
	--nst-ref-teal-600: #0d9488;
	--nst-ref-teal-700: #0f766e;

	--nst-ref-orange-50: #fff7ed;
	--nst-ref-orange-200: #fed7aa;
	--nst-ref-orange-300: #fdba74;
	--nst-ref-orange-400: #fb923c;
	--nst-ref-orange-500: #f97316;
	--nst-ref-orange-600: #ea580c;
	--nst-ref-orange-700: #c2410c;

	--nst-ref-pink-50: #fdf2f8;
	--nst-ref-pink-200: #fbcfe8;
	--nst-ref-pink-300: #f9a8d4;
	--nst-ref-pink-400: #f472b6;
	--nst-ref-pink-500: #ec4899;
	--nst-ref-pink-600: #db2777;
	--nst-ref-pink-700: #be185d;

	/* ── Typography ────────────────────────────────────────────────── */
	--nst-ref-font-jakarta:
		"Plus Jakarta Sans", ui-sans-serif, system-ui, "Helvetica Neue",
		sans-serif;
	--nst-ref-font-lexend: Lexend, ui-sans-serif, system-ui, sans-serif;
	--nst-ref-font-mono: "JetBrains Mono", ui-monospace, monospace;

	--nst-ref-text-2xs: 0.6875rem; /* 11 */
	--nst-ref-text-xs: 0.75rem; /* 12 */
	--nst-ref-text-sm: 0.8125rem; /* 13 */
	--nst-ref-text-md: 0.875rem; /* 14 */
	--nst-ref-text-lg: 0.9375rem; /* 15 */
	--nst-ref-text-xl: 1.125rem; /* 18 */
	--nst-ref-text-2xl: 1.375rem; /* 22 */

	--nst-ref-weight-regular: 400;
	--nst-ref-weight-medium: 500;
	--nst-ref-weight-semibold: 600;
	--nst-ref-weight-bold: 700;

	/* ── Spacing (4px grid) ────────────────────────────────────────── */
	--nst-ref-space-0: 0;
	--nst-ref-space-0_5: 0.125rem;
	--nst-ref-space-1: 0.25rem;
	--nst-ref-space-1_5: 0.375rem;
	--nst-ref-space-2: 0.5rem;
	--nst-ref-space-2_5: 0.625rem;
	--nst-ref-space-3: 0.75rem;
	--nst-ref-space-4: 1rem;
	--nst-ref-space-5: 1.25rem;
	--nst-ref-space-6: 1.5rem;
	--nst-ref-space-8: 2rem;

	/* ── Radii ─────────────────────────────────────────────────────── */
	--nst-ref-radius-xs: 4px;
	--nst-ref-radius-sm: 6px;
	--nst-ref-radius-md: 8px;
	--nst-ref-radius-lg: 10px;
	--nst-ref-radius-xl: 12px;
	--nst-ref-radius-2xl: 14px;
	--nst-ref-radius-3xl: 18px;
	--nst-ref-radius-4xl: 26px;
	--nst-ref-radius-full: 999px;

	/* ── Blur ──────────────────────────────────────────────────────── */
	--nst-ref-blur-sm: 6px;
	--nst-ref-blur-md: 16px;
	--nst-ref-blur-lg: 28px;

	/* ── Motion ────────────────────────────────────────────────────── */
	--nst-ref-duration-fast: 100ms;
	--nst-ref-duration-base: 160ms;
	--nst-ref-duration-slow: 240ms;
	--nst-ref-ease-standard: cubic-bezier(0.2, 0, 0, 1);
	--nst-ref-ease-emphasized: cubic-bezier(0.3, 0, 0, 1.2);
}
