/* =========================================================================
   Novion Energy Solutions — Foundation: Colors & Typography
   =========================================================================
   Imported from the Claude Design project "Novion website redesign"
   (novion-energy-design-system / colors_and_type.css).

   Brand font:  Avenir Next (fallback: Arial)
   Substitute:  Figtree (Google Fonts) — nearest free humanist-geometric sans.
   ========================================================================= */

:root {
  /* ---------- Color tokens — raw brand values ---------- */

  /* Primary teals (the core of the brand) */
  --novion-teal-900: #003B39;   /* darkest — deep forest teal */
  --novion-teal-800: #005B5E;   /* PRIMARY — headline teal */
  --novion-teal-700: #007353;   /* "Foreground 1" — green-leaning */
  --novion-teal-600: #009282;   /* "Foreground 2" — bright teal */
  --novion-mint-400: #4DBBA6;   /* accent on dark bgs */
  --novion-mint-300: #7CD8BD;   /* accent on light bgs — signature mint */
  --novion-mint-100: #D6F1E7;   /* derived — soft mint wash */
  --novion-mint-50:  #EAF7F1;   /* derived — faintest mint tint */

  /* Coral — the single warm accent */
  --novion-coral-500: #F36259;  /* Accent 2 — heartbeat / alert / emphasis */
  --novion-coral-100: #FDE0DD;  /* derived — coral wash */

  /* Neutrals */
  --novion-ink-900:  #000000;
  --novion-ink-800:  #1A2027;   /* Dark theme background */
  --novion-ink-700:  #1E242C;   /* Accent 5 on light */
  --novion-ink-500:  #4A5560;   /* derived — body text on light */
  --novion-ink-400:  #6B7580;   /* derived — secondary text */
  --novion-ink-300:  #9AA3AE;   /* derived — tertiary / disabled */
  --novion-ink-200:  #C4D1DC;   /* muted body text on dark */
  --novion-ink-100:  #DDE3E7;   /* derived — hairline borders on light */
  --novion-ink-50:   #EEF2F2;   /* Light theme background */
  --novion-white:    #FFFFFF;

  /* ---------- Semantic — LIGHT THEME (default) ---------- */
  --bg-app:          var(--novion-white);
  --bg-subtle:       var(--novion-ink-50);
  --bg-muted:        var(--novion-mint-50);
  --bg-elevated:     var(--novion-white);
  --bg-inverted:     var(--novion-ink-800);

  --fg-primary:      var(--novion-teal-800);
  --fg-body:         var(--novion-ink-700);
  --fg-muted:        var(--novion-ink-500);
  --fg-subtle:       var(--novion-ink-400);
  --fg-on-inverted:  var(--novion-white);
  --fg-accent:       var(--novion-teal-600);
  --fg-accent-alt:   var(--novion-teal-700);

  --border-default:  var(--novion-ink-100);
  --border-strong:   var(--novion-ink-200);
  --border-brand:    var(--novion-mint-300);

  --link:            var(--novion-teal-600);
  --link-hover:      var(--novion-teal-800);
  --link-visited:    var(--novion-teal-700);

  --accent-warm:     var(--novion-coral-500);
  --accent-mint:     var(--novion-mint-300);

  --focus-ring:      var(--novion-mint-400);

  /* ---------- Typography ---------- */
  --font-sans: "Figtree", "Avenir Next", "Avenir", "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: "Figtree", "Avenir Next", "Avenir", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Type scale — modular, ~1.200 ratio, rooted at 16px */
  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-30: 1.875rem;
  --fs-38: 2.375rem;
  --fs-48: 3rem;
  --fs-64: 4rem;
  --fs-80: 5rem;

  /* Weights — brand uses mostly 300/400/600 */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Line heights */
  --lh-tight: 1.1;
  --lh-snug:  1.25;
  --lh-body:  1.55;
  --lh-loose: 1.75;

  /* Letter spacing */
  --ls-tight:  -0.02em;
  --ls-normal: 0em;
  --ls-wide:   0.08em;
  --ls-logo:   0.32em;

  /* ---------- Spacing (4px base) ---------- */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* ---------- Radii ---------- */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* ---------- Elevation (soft, low-contrast — the brand is flat-ish) ---------- */
  --shadow-xs: 0 1px 2px rgba(0, 59, 57, 0.06);
  --shadow-sm: 0 2px 6px rgba(0, 59, 57, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 59, 57, 0.10);
  --shadow-lg: 0 20px 48px rgba(0, 59, 57, 0.14);
  --shadow-brand: 0 12px 32px rgba(0, 146, 130, 0.18);

  /* ---------- Motion ---------- */
  --ease-standard: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:       cubic-bezier(0.5, 0, 0.75, 0);
  --dur-fast:   140ms;
  --dur-base:   220ms;
  --dur-slow:   420ms;
}
