/**
 * Lantern Design System — CSS Custom Properties
 * lantern.care / Lantern Specialty Care
 *
 * Vendored into Auto-Forge from the Lantern Brand Kit (source of truth). Both the
 * Auto-Forge control-plane UI and every generated app's React UI import these tokens so
 * everything is on-brand. See /brand/BRAND.md for the rules and the adherence linter.
 *
 * Fonts: Poppins (headlines), DM Sans (body) — Google Fonts.
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

:root {
  /* ── Brand colors ── */
  --color-green:        #005042;   /* primary */
  --color-green-dark:   #003a30;   /* hover / deep sections */
  --color-green-light:  #006b57;
  --color-green-tint:   #e8f5f2;

  --color-cream:        #FEF8E8;   /* secondary bg, cards, text on dark */
  --color-cream-dark:   #f5ead2;
  --color-cream-darker: #e8d8b8;

  --color-espresso:     #311E04;   /* body text */
  --color-espresso-mid: #5c3a10;   /* muted text */
  --color-espresso-light: #8a6040;

  /* ⚠ DATA-VIZ / INFOGRAPHICS ONLY — never in UI chrome, headings, body, buttons */
  --color-pink:         #E45F95;
  --color-pink-light:   #f09abf;
  --color-pink-dark:    #c43d76;
  --color-coral:        #FF6947;
  --color-coral-light:  #ff9a80;
  --color-coral-dark:   #e04a28;

  --color-white:        #FFFFFF;
  --color-black:        #000000;

  /* ── Neutrals (warm-grey ramp) ── */
  --color-neutral-50:   #fafaf9;
  --color-neutral-100:  #f5f4f0;
  --color-neutral-200:  #e8e5de;
  --color-neutral-300:  #d4cfc5;
  --color-neutral-400:  #b0a898;
  --color-neutral-500:  #8a8070;
  --color-neutral-600:  #655e52;
  --color-neutral-700:  #4a4338;
  --color-neutral-800:  #311E04;   /* = Espresso */
  --color-neutral-900:  #1a1008;

  /* ── Semantic ── */
  --fg-primary:      var(--color-espresso);
  --fg-secondary:    var(--color-espresso-mid);
  --fg-tertiary:     var(--color-neutral-500);
  --fg-inverse:      var(--color-cream);
  --fg-brand:        var(--color-green);

  --bg-primary:      var(--color-white);
  --bg-secondary:    var(--color-cream);
  --bg-tertiary:     var(--color-neutral-100);
  --bg-brand:        var(--color-green);
  --bg-brand-dark:   var(--color-green-dark);
  --bg-espresso:     var(--color-espresso);

  --interactive-primary:       var(--color-green);
  --interactive-primary-hover: var(--color-green-dark);
  --interactive-secondary:     var(--color-cream);

  --status-success:  var(--color-green);
  --status-warning:  var(--color-coral);   /* status only; not decorative */
  --status-error:    var(--color-pink-dark);
  --status-info:     var(--color-green-light);

  --border-light:    var(--color-neutral-200);
  --border-medium:   var(--color-neutral-300);
  --border-strong:   var(--color-neutral-400);
  --border-brand:    var(--color-green);

  /* ── Typography ── */
  --font-headline:  'Poppins', 'Segoe UI', sans-serif;
  --font-body:      'DM Sans', 'Segoe UI', sans-serif;
  /* Courier New used to lead this stack. It is a thin, wide, low-contrast typewriter face that
     looks broken next to Poppins/DM Sans — and because Courier New ships on every Windows and
     macOS box, it always won. BRAND.md mandates only Poppins (headline) and DM Sans (body), so
     the mono face is ours to choose: prefer the OS UI-monospace, then the modern bundled faces,
     and keep Courier New only as a last resort. */
  --font-mono:      ui-monospace, 'Cascadia Mono', 'Segoe UI Mono', 'SF Mono', Menlo, Consolas,
                    'DejaVu Sans Mono', 'Courier New', monospace;

  --fw-light: 300; --fw-regular: 400; --fw-medium: 500;
  --fw-semibold: 600; --fw-bold: 700; --fw-extrabold: 800;

  --text-xs: 0.75rem; --text-sm: 0.875rem; --text-base: 1rem; --text-md: 1.125rem;
  --text-lg: 1.25rem; --text-xl: 1.5rem; --text-2xl: 1.875rem; --text-3xl: 2.25rem;
  --text-4xl: 3rem; --text-5xl: 3.75rem; --text-6xl: 4.5rem;

  --lw-tight: 1.15; --lw-snug: 1.3; --lw-normal: 1.5; --lw-relaxed: 1.65; --lw-loose: 1.85;
  --ls-tight: -0.02em; --ls-normal: 0; --ls-wide: 0.02em; --ls-wider: 0.04em; --ls-widest: 0.08em;

  /* ── Spacing ── */
  --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 ── */
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px;
  --radius-xl: 16px; --radius-2xl: 24px; --radius-full: 9999px;

  /* ── Shadows (card shadow is the brand standard) ── */
  --shadow-sm:   0 1px 3px rgba(49,30,4,0.08), 0 1px 2px rgba(49,30,4,0.04);
  --shadow-card: 0 4px 12px rgba(49,30,4,0.10), 0 2px 4px rgba(49,30,4,0.06);
  --shadow-xl:   0 16px 48px rgba(49,30,4,0.15), 0 8px 16px rgba(49,30,4,0.10);

  /* Quote glyph (the one intentional serif moment) */
  --quote-color: rgba(49,30,4,0.5);

  /* ── Transitions ── */
  --transition-fast: 150ms ease; --transition-normal: 250ms ease; --transition-slow: 400ms ease;

  /* NOT IN BRAND: no --gradient-*, no backdrop-filter/frosted glass, no --shadow-green. */
}
