/**
 * tokens.css
 * ─────────────────────────────────────────────────────
 * ALL design tokens live here.
 * Change a color, font, or size ONCE — it updates everywhere.
 * This file is imported first in every page.
 */

:root {
  /* ── Brand Colors ─────────────────────────────────── */
  --clr-primary: #1c3a5e; /* Deep navy — trust, stability     */
  --clr-primary-mid: #2a5298; /* Mid navy — hover states           */
  --clr-primary-light: #d6e4f7; /* Light tint — backgrounds, pills   */
  --clr-primary-pale: #ebf0f8; /* Very light — subtle backgrounds   */

  --clr-accent: #f5a623; /* Sunrise gold — warmth, CTA        */
  --clr-accent-dark: #c47d00; /* Darker gold — hover               */
  --clr-accent-light: #fef0d0; /* Light gold — tag backgrounds      */

  --clr-earth: #e07b54; /* Terracotta — warmth, community    */
  --clr-earth-dark: #b5562e;
  --clr-earth-light: #fdeee8;

  --clr-green: #3b6d11; /* Forest green — schools, growth    */
  --clr-green-light: #eaf3de;

  --clr-success: #2eaf80; /* Teal green — success states       */
  --clr-success-light: #d4f4e8;

  --clr-purple: #7b5ea7; /* Purple — vocational, creative     */
  --clr-purple-light: #ede6f6;

  --clr-danger: #dc3545; /* Red — errors, delete              */
  --clr-danger-light: #fdecea;

  --clr-warning: #f5a623; /* Same as accent — warnings         */
  --clr-warning-light: #fef0d0;

  /* ── Neutrals ─────────────────────────────────────── */
  --clr-text: #1a1a2e; /* Primary text                      */
  --clr-text-muted: #5a6070; /* Secondary text                    */
  --clr-text-light: #8a91a0; /* Tertiary / placeholders           */
  --clr-text-inverse: #ffffff; /* Text on dark backgrounds          */

  --clr-bg: #fffdf9; /* Warm cream — main background      */
  --clr-bg-alt: #f7f3ee; /* Slightly darker — alt sections    */
  --clr-bg-dark: #111828; /* Footer background                 */
  --clr-white: #ffffff;

  --clr-border: #e8e2d9; /* Default border                    */
  --clr-border-dark: #c8c0b4; /* Stronger border                   */

  /* ── Typography ───────────────────────────────────── */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  /* ── Font Sizes ───────────────────────────────────── */
  --fs-xs: 11px;
  --fs-sm: 13px;
  --fs-base: 15px;
  --fs-md: 17px;
  --fs-lg: 22px;
  --fs-xl: 28px;
  --fs-2xl: 36px;
  --fs-3xl: 48px;
  --fs-hero: 52px;

  /* ── Font Weights ─────────────────────────────────── */
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semi: 600;

  /* ── Line Heights ─────────────────────────────────── */
  --lh-tight: 1.2;
  --lh-snug: 1.4;
  --lh-normal: 1.65;
  --lh-relaxed: 1.8;

  /* ── Spacing Scale ────────────────────────────────── */
  --sp-xs: 8px;
  --sp-sm: 16px;
  --sp-md: 24px;
  --sp-lg: 40px;
  --sp-xl: 64px;
  --sp-2xl: 96px;

  /* ── Border Radius ────────────────────────────────── */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* ── Shadows ──────────────────────────────────────── */
  --shadow-xs: 0 1px 2px rgba(28, 58, 94, 0.06);
  --shadow-sm: 0 1px 4px rgba(28, 58, 94, 0.08);
  --shadow-md: 0 4px 20px rgba(28, 58, 94, 0.1);
  --shadow-lg: 0 12px 40px rgba(28, 58, 94, 0.14);
  --shadow-xl: 0 24px 60px rgba(28, 58, 94, 0.18);

  /* ── Transitions ──────────────────────────────────── */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --t-fast: 0.18s;
  --t-mid: 0.35s;
  --t-slow: 0.6s;

  /* ── Z-Index Scale ────────────────────────────────── */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-nav: 900;
  --z-modal: 1000;
  --z-toast: 1100;

  /* ── Max Widths ───────────────────────────────────── */
  --max-width: 1160px;
  --max-prose: 720px;
}


