/* ==========================================================================
   MyNiftyToolbox — Design Tokens
   Shared across every app in the toolbox. Change here, propagates everywhere.
   Warm, friendly neutral palette with a single coral accent hue.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Brand — warm charcoal ink, single coral accent for warmth */
  --color-brand: oklch(24% 0.018 50);
  --color-brand-hover: oklch(14% 0.014 50);
  --color-brand-light: oklch(95% 0.025 40);
  --color-accent: oklch(68% 0.16 35);
  --color-accent-hover: oklch(60% 0.17 32);
  --color-secondary: oklch(58% 0.02 50);

  /* Neutrals — warm off-white background, warm-toned grays */
  --color-bg: oklch(98.4% 0.006 60);
  --color-surface: oklch(96.3% 0.009 55);
  --color-border: oklch(90% 0.012 50);
  --color-text: oklch(23% 0.015 50);
  --color-text-muted: oklch(48% 0.016 50);
  --color-text-subtle: oklch(65% 0.014 50);

  /* Feedback */
  --color-success: oklch(64% 0.13 155);
  --color-error: oklch(58% 0.19 25);

  /* Typography — friendly rounded display, readable body */
  --font-display: "Plus Jakarta Sans", var(--font-sans);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.5rem;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* Radius & shadow — rounder, softer, warmer than before */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px oklch(30% 0.02 50 / 6%);
  --shadow-md: 0 4px 16px oklch(30% 0.02 50 / 10%);
  --shadow-lg: 0 16px 40px oklch(30% 0.02 50 / 16%);

  /* Layout */
  --max-width: 1600px;
  --header-height: 64px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: oklch(19% 0.012 50);
  --color-surface: oklch(23% 0.014 50);
  --color-border: oklch(32% 0.016 50);
  --color-text: oklch(95% 0.006 60);
  --color-text-muted: oklch(72% 0.012 55);
  --color-text-subtle: oklch(55% 0.012 55);
  --color-brand: oklch(95% 0.006 60);
  --color-brand-hover: oklch(100% 0 0);
  --color-brand-light: oklch(68% 0.16 35 / 20%);
  --color-accent: oklch(74% 0.15 35);
  --color-accent-hover: oklch(80% 0.13 33);
  --color-secondary: oklch(75% 0.01 55);
  --color-success: oklch(74% 0.14 155);
  --color-error: oklch(68% 0.16 25);
}
