/* Boocoo design tokens
   Copied from /workspace/boocoo/design/tokens.css (approved). Public site is light only: the .dark block is omitted.
   Load this file BEFORE blazorblueprint.css (see design-system.md).
   Brand hex values are the source of truth. Blazor Blueprint variables
   are mapped in OKLCH (the format Blueprint expects) and match those hexes.
*/

:root {
  /* ---------- Brand & surfaces (hex, for authoring and mockups) ---------- */
  --color-forest-deep: #0f1c16;
  --color-forest-ink: #163827;
  --color-forest: #1e4d38;
  --color-forest-mid: #43755b;
  --color-forest-soft: #669279;
  --color-forest-tint: #dcefe6;
  --color-forest-mist: #e5eee8;

  --color-paper: #f7f4ef;
  --color-paper-shade: #f3efe8;
  --color-white: #ffffff;
  --color-ink: #1c1a17;
  --color-muted: #5c564e;
  --color-border: #e4dfd6;
  --color-line: #7f7971;

  --color-gold: #886318;
  --color-highlight: #e4c36b;
  --color-sand: #e8d5a3;

  --color-good: #0f6b45;
  --color-good-bg: #dcefe6;
  --color-mid: #8a5a00;
  --color-mid-bg: #f8ebcb;
  --color-low: #b42318;
  --color-low-bg: #f9e4e2;
  --color-info: #0b6e8a;
  --color-info-bg: #e4f3f7;

  --color-muted-on-dark: #b8c4be;

  /* ---------- Typography ---------- */
  --font-sans: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: "Source Code Pro", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-display: var(--font-serif);

  --text-caption: 0.75rem;
  --text-caption-lh: 1.1rem;
  --text-sm: 0.875rem;
  --text-sm-lh: 1.35rem;
  --text-body: 1.0625rem;
  --text-body-lh: 1.65rem;
  --text-lg: 1.1875rem;
  --text-lg-lh: 1.8rem;
  --text-h6: 1rem;
  --text-h5: 1.125rem;
  --text-h4: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-h3: clamp(1.5rem, 1.2rem + 1.1vw, 1.875rem);
  --text-h2: clamp(1.875rem, 1.3rem + 2vw, 2.5rem);
  --text-h1: clamp(2.25rem, 1.4rem + 3.2vw, 3.5rem);
  --text-display: clamp(2.5rem, 1.4rem + 4vw, 4.25rem);

  /* ---------- Space, radius, shadow, motion ---------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px oklch(0.25 0.02 75 / 0.06), 0 1px 1px oklch(0.25 0.02 75 / 0.04);
  --shadow-md: 0 8px 24px oklch(0.28 0.02 75 / 0.08), 0 2px 6px oklch(0.28 0.02 75 / 0.05);
  --shadow-lg: 0 20px 48px oklch(0.28 0.03 75 / 0.12), 0 4px 12px oklch(0.28 0.02 75 / 0.06);
  --shadow-hero: 0 28px 60px oklch(0.22 0.05 160 / 0.4);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration: 220ms;
  --duration-slow: 400ms;

  --wrap: 72rem;
  --wrap-narrow: 42rem;
  --header-h: 4.5rem;

  /* ---------- Blazor Blueprint theme variables (light) ---------- */
  --background: oklch(0.968 0.0074 80.72);
  --foreground: oklch(0.219 0.0065 78.18);
  --card: oklch(1.000 0.0000 89.88);
  --card-foreground: oklch(0.219 0.0065 78.18);
  --popover: oklch(1.000 0.0000 89.88);
  --popover-foreground: oklch(0.219 0.0065 78.18);
  --primary: oklch(0.310 0.0507 159.55);
  --primary-foreground: oklch(0.968 0.0074 80.72);
  --secondary: oklch(0.953 0.0103 81.80);
  --secondary-foreground: oklch(0.310 0.0507 159.55);
  --muted: oklch(0.953 0.0103 81.80);
  --muted-foreground: oklch(0.456 0.0149 75.22);
  --accent: oklch(0.941 0.0125 156.99);
  --accent-foreground: oklch(0.310 0.0507 159.55);
  --destructive: oklch(0.500 0.1821 29.51);
  --destructive-foreground: oklch(1.000 0.0000 89.88);
  --border: oklch(0.905 0.0133 82.40);
  --input: oklch(0.579 0.0141 75.29);
  --ring: oklch(0.310 0.0507 159.55);

  --alert-success: oklch(0.468 0.1018 159.27);
  --alert-success-foreground: oklch(0.468 0.1018 159.27);
  --alert-success-bg: oklch(0.936 0.0234 165.84);
  --alert-info: oklch(0.501 0.0914 224.13);
  --alert-info-foreground: oklch(0.501 0.0914 224.13);
  --alert-info-bg: oklch(0.954 0.0168 215.46);
  --alert-warning: oklch(0.508 0.1080 73.30);
  --alert-warning-foreground: oklch(0.508 0.1080 73.30);
  --alert-warning-bg: oklch(0.942 0.0442 88.53);
  --alert-danger: oklch(0.500 0.1821 29.51);
  --alert-danger-foreground: oklch(0.500 0.1821 29.51);
  --alert-danger-bg: oklch(0.935 0.0233 24.13);

  --chart-1: oklch(0.310 0.0507 159.55);
  --chart-2: oklch(0.519 0.0687 160.03);
  --chart-3: oklch(0.525 0.0992 80.12);
  --chart-4: oklch(0.501 0.0914 224.13);
  --chart-5: oklch(0.456 0.0149 75.22);

  --sidebar: oklch(0.212 0.0219 163.93);
  --sidebar-foreground: oklch(0.968 0.0074 80.72);
  --sidebar-primary: oklch(0.828 0.1139 89.27);
  --sidebar-primary-foreground: oklch(0.212 0.0219 163.93);
  --sidebar-accent: oklch(0.310 0.0507 159.55);
  --sidebar-accent-foreground: oklch(0.968 0.0074 80.72);
  --sidebar-border: oklch(0.621 0.0613 159.07);
  --sidebar-ring: oklch(0.828 0.1139 89.27);

  --sidebar-width: 16rem;
  --sidebar-width-mobile: 18rem;
  --sidebar-width-icon: 3.25rem;

  /* Highlight is our gold accent (not a Blueprint token; keep alongside) */
  --highlight: oklch(0.828 0.1139 89.27);
  --highlight-foreground: oklch(0.310 0.0507 159.55);
  --brand-gold: oklch(0.525 0.0992 80.12);
}



@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0ms;
    --duration: 0ms;
    --duration-slow: 0ms;
  }
}
