/*
  Design tokens — derived from brand-brief.md Section 5 (color) and
  Section 6 (typography). Placeholder brand name {{BRAND_NAME}} is rendered
  from js/config.js at runtime; do not hardcode a final brand name in CSS.
*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  /* Brand colors — brand-brief.md Section 5 (revised 2026-08-10: blue-based
     palette, replacing the earlier teal/terracotta/sand scheme) */
  --color-primary: #1d4ed8;        /* confident blue — nav, primary actions */
  --color-primary-600: #1e3a8a;    /* deep navy — hover/active state */
  --color-primary-100: #dbeafe;    /* soft sky-blue tint for subtle backgrounds */
  --color-secondary: #f5a524;      /* golden amber — CTAs, accents */
  --color-secondary-600: #d97706;  /* deeper amber hover/active state */
  --color-secondary-100: #fef3c7;  /* pale gold tint */
  --color-sand: #f7f9fc;           /* cool neutral background (formerly warm sand) */
  --color-surface: #ffffff;
  --color-charcoal: #1e293b;       /* cool charcoal — body text */
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;

  /* Semantic status colors */
  --color-success: #15803d;
  --color-success-bg: #dcfce7;
  --color-error: #dc2626;
  --color-error-bg: #fee2e2;
  --color-warning: #b45309;
  --color-warning-bg: #fffbeb;
  --color-info: #1d4ed8;
  --color-info-bg: #dbeafe;

  /* Typography — brand-brief.md Section 6 */
  --font-heading: "Poppins", "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 2.85rem;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Layout */
  --content-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  /* rgb(30,41,59) = --color-charcoal; was rgb(38,48,46), the old warm
     charcoal, left over from the previous palette. */
  --shadow-sm: 0 1px 3px rgba(30, 41, 59, 0.1);
  --shadow-md: 0 4px 16px rgba(30, 41, 59, 0.12);
  --shadow-lg: 0 12px 32px rgba(30, 41, 59, 0.16);

  --header-height: 4.25rem;
}
