/*
 * tokens.css — Cheerzz Design Tokens
 * Single source of truth for all colors, typography, spacing, and radii.
 * Every page CSS file imports this at the top.
 *
 * Base: 1rem = 16px (browser default, not overridden)
 */

:root {

  /* =====================
     COLORS
     ===================== */

  /* Brand greens */
  --jade:       #1D9E75;
  --jade-deep:  #0F6E56;
  --jade-tint:  #E1F5EE;

  /* Warm family */
  --peach:      #FAEEDA;
  --pink:       #FAECE7;
  --amber:      #BA7517;
  --terracotta: #D85A30;
  --rust:       #993C1D;
  --caramel:    #854F0B;

  /* Neutrals */
  --warm-white: #f7f7f5;
  --ink:        #1a1a1a;
  --gray-dark:  #2d2d2d;
  --gray-mid:   #666;
  --gray-quiet: #aaa;
  --hairline:   #e0e0e0;


  /* =====================
     TYPOGRAPHY
     ===================== */

  --font-display: 'Fraunces', Georgia, serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /*
   * Font size scale (base: 16px)
   *
   *  --text-xs   11px  — eyebrows, mono labels, tags, fine print
   *  --text-sm   14px  — secondary body, captions, list items, UI text
   *  --text-base 16px  — primary body text
   *  --text-lg   18px  — larger body, card titles, subheadings
   *
   * Display / heading sizes use clamp() in context for fluid scaling.
   */

  --text-xs:   0.6875rem;  /* 11px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */


  /* =====================
     SPACING
     ===================== */

  /*
   * 4px grid. Variable names map to multiples of 4px.
   * --space-1 = 4px, --space-2 = 8px, --space-4 = 16px, etc.
   */

  --space-1:  0.25rem;   /*  4px */
  --space-2:  0.5rem;    /*  8px */
  --space-3:  0.75rem;   /* 12px */
  --space-4:  1rem;      /* 16px */
  --space-5:  1.25rem;   /* 20px */
  --space-6:  1.5rem;    /* 24px */
  --space-7:  1.75rem;   /* 28px */
  --space-8:  2rem;      /* 32px */
  --space-9:  2.25rem;   /* 36px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-14: 3.5rem;    /* 56px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */


  /* =====================
     BORDER RADIUS
     ===================== */

  --radius-sm:   0.5rem;   /*  8px */
  --radius-md:   0.75rem;  /* 12px */
  --radius-lg:   1rem;     /* 16px */
  --radius-xl:   1.125rem; /* 18px */
  --radius-2xl:  0.875rem; /* 14px — used for cards that need a bit less */
  --radius-pill: 999px;


  /* =====================
     SHADOWS
     ===================== */

  --shadow-card:      0 12px 36px rgba(15, 110, 86, 0.10);
  --shadow-card-soft: 0 12px 36px rgba(15, 110, 86, 0.08);

}
