/* ============================================
   Sprout Brand Tokens
   Generated from Figma "Pencil down — Brand"
   ============================================ */

:root {
  /* ── Font Family ── */
  --font-family-display: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* ── Font Weights ── */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* ── Font Sizes (fluid display, fixed text) ──
     Display sizes scale fluidly from 360px to 1280px viewport.
     Formula: clamp(min, preferred, max)
     Preferred = min + (max - min) * (100vw - 360px) / (1280px - 360px)
  */
  --font-size-display-2xl: clamp(2.25rem, 1.2rem + 3.3vw, 4.5rem);
  --font-size-display-xl: clamp(1.875rem, 1rem + 2.7vw, 3.75rem);
  --font-size-display-lg: clamp(1.5rem, 0.85rem + 2vw, 3rem);
  --font-size-display-md: clamp(1.25rem, 0.75rem + 1.5vw, 2.25rem);
  --font-size-display-sm: clamp(1.125rem, 0.7rem + 1.3vw, 1.875rem);
  --font-size-display-xs: clamp(1.125rem, 0.85rem + 0.9vw, 1.5rem);
  --font-size-text-xl: 1.25rem;
  --font-size-text-lg: 1.125rem;
  --font-size-text-md: 1rem;
  --font-size-text-sm: 0.875rem;
  --font-size-text-xs: 0.75rem;

  /* ── Line Heights (fluid display, fixed text) ── */
  --line-height-display-2xl: clamp(2.75rem, 1.5rem + 3.9vw, 5.625rem);
  --line-height-display-xl: clamp(2.375rem, 1.3rem + 3.4vw, 4.5rem);
  --line-height-display-lg: clamp(2rem, 1.1rem + 2.8vw, 3.75rem);
  --line-height-display-md: clamp(1.75rem, 1.1rem + 2vw, 2.75rem);
  --line-height-display-sm: clamp(1.5rem, 1rem + 1.5vw, 2.375rem);
  --line-height-display-xs: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  --line-height-text-xl: 1.875rem;
  --line-height-text-lg: 1.75rem;
  --line-height-text-md: 1.5rem;
  --line-height-text-sm: 1.25rem;
  --line-height-text-xs: 1rem;

  /* ── Letter Spacing ── */
  --letter-spacing-display: -0.02em;
  --letter-spacing-text: 0;

  /* ── Spacing (fixed small, fluid 4xl+) ── */
  --spacing-xxs: 2px;
  --spacing-xs: 4px;
  --spacing-sm: 6px;
  --spacing-md: 8px;
  --spacing-lg: 12px;
  --spacing-xl: 16px;
  --spacing-2xl: 20px;
  --spacing-3xl: 24px;
  --spacing-4xl: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  --spacing-5xl: clamp(1.75rem, 1rem + 2.2vw, 2.5rem);
  --spacing-6xl: clamp(2rem, 1rem + 3vw, 3rem);
  --spacing-7xl: clamp(2.5rem, 1.2rem + 4vw, 4rem);
  --spacing-8xl: clamp(3rem, 1.5rem + 4.7vw, 5rem);
  --spacing-9xl: clamp(3.5rem, 1.5rem + 6vw, 6rem);
  --spacing-10xl: clamp(4rem, 1.5rem + 7.8vw, 8rem);
  --spacing-11xl: clamp(5rem, 2rem + 9.3vw, 10rem);

  /* ── Border Radius ── */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-xl: 12px;
  --radius-full: 9999px;

  /* ── Sprout Green ── */
  --sprout-25: #fafdf7;
  --sprout-50: #f5fbee;
  --sprout-100: #e6f4d7;
  --sprout-200: #ceeab0;
  --sprout-300: #acdc79;
  --sprout-400: #86cb3c;
  --sprout-500: #669f2a;
  --sprout-600: #4f7a21;
  --sprout-700: #3f621a;
  --sprout-800: #335015;
  --sprout-900: #2b4212;
  --sprout-950: #1a280b;

  /* ── Brand Blue ── */
  --brand-25: #f5fbff;
  --brand-50: #f0f9ff;
  --brand-100: #e0f2fe;
  --brand-200: #b9e6fe;
  --brand-300: #7cd4fd;
  --brand-400: #36bffa;
  --brand-500: #0ba5ec;
  --brand-600: #0086c9;
  --brand-700: #026aa2;
  --brand-800: #065986;
  --brand-900: #0b4a6f;
  --brand-950: #062c41;

  /* ── Gray (cream neutrals, #262323 ink base) ── */
  --gray-25: #fbfbf8;
  --gray-50: #f5f5f2;
  --gray-100: #dedddc;
  --gray-200: #c0bfbe;
  --gray-300: #a7a5a4;
  --gray-400: #8d8a8a;
  --gray-500: #747171;
  --gray-600: #5c5959;
  --gray-700: #504d4d;
  --gray-800: #444141;
  --gray-900: #262323;
  --gray-950: #161414;

  /* ── Red (from cofounder.co) ── */
  --red-25: #FFF0ED;
  --red-50: #FFF0ED;
  --red-100: #FFE2DD;
  --red-200: #EFC1BD;
  --red-300: #DFA8A1;
  --red-400: #DC8B82;
  --red-500: #D96D62;
  --red-600: #AF5E52;
  --red-700: #8F4F47;
  --red-800: #74403A;
  --red-900: #59312D;
  --red-950: #3D211E;

  /* ── Green (from cofounder.co) ── */
  --green-25: #F0FBEA;
  --green-50: #F0FBEA;
  --green-100: #E4F8DA;
  --green-200: #D1F2C1;
  --green-300: #BDEBA8;
  --green-400: #A8DB91;
  --green-500: #8CCF70;
  --green-600: #6FA751;
  --green-700: #4F9140;
  --green-800: #3E7432;
  --green-900: #2D5724;
  --green-950: #1E3B18;

  /* ── Yellow (from cofounder.co) ── */
  --yellow-25: #FFF6E5;
  --yellow-50: #FFF6E5;
  --yellow-100: #FFF2D8;
  --yellow-200: #F6DCA8;
  --yellow-300: #E6CFA3;
  --yellow-400: #E7BE73;
  --yellow-500: #CEA55F;
  --yellow-600: #B68B4B;
  --yellow-700: #9C7136;
  --yellow-800: #7C5A23;
  --yellow-900: #5C4210;
  --yellow-950: #3D2C0A;

  /* ── Orange ── */
  --orange-25: #fefaf5;
  --orange-50: #fef6ee;
  --orange-100: #fdead7;
  --orange-200: #f9dbaf;
  --orange-300: #f7b27a;
  --orange-400: #f38744;
  --orange-500: #ef6820;
  --orange-600: #e04f16;
  --orange-700: #b93815;
  --orange-800: #932f19;
  --orange-900: #772917;
  --orange-950: #511c10;

  /* ── Violet ── */
  --violet-25: #fbfaff;
  --violet-50: #f5f3ff;
  --violet-100: #ece9fe;
  --violet-200: #ddd6fe;
  --violet-300: #c3b5fd;
  --violet-400: #a48afb;
  --violet-500: #875bf7;
  --violet-600: #7839ee;
  --violet-700: #6927da;
  --violet-800: #5720b7;
  --violet-900: #491c96;
  --violet-950: #2e125e;

  /* ── Pink ── */
  --pink-25: #fef6fb;
  --pink-50: #fdf2fa;
  --pink-100: #fce7f6;
  --pink-200: #fcceee;
  --pink-300: #faa7e0;
  --pink-400: #f670c7;
  --pink-500: #ee46bc;
  --pink-600: #dd2590;
  --pink-700: #c11574;
  --pink-800: #9e165f;
  --pink-900: #851651;
  --pink-950: #4e0d30;

  /* ── Blue Dark ── */
  --blue-dark-25: #f5f8ff;
  --blue-dark-50: #eff4ff;
  --blue-dark-100: #d1e0ff;
  --blue-dark-200: #b2ccff;
  --blue-dark-300: #84adff;
  --blue-dark-400: #528bff;
  --blue-dark-500: #2970ff;
  --blue-dark-600: #155eef;
  --blue-dark-700: #004eeb;
  --blue-dark-800: #0040c1;
  --blue-dark-900: #00359e;
  --blue-dark-950: #002266;

  /* ── Semantic / Background ── */
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --bg-tertiary: #f5f5f5;
  --bg-sky: #e0f2fe;
  --bg-grass: #86cb3c;
  --bg-brand-primary: #f0f9ff;
  --bg-brand-solid: #0086c9;
  --bg-brand-secondary: #e0f2fe;
  --bg-error-primary: #fef3f2;
  --bg-error-solid: #d92d20;
  --bg-success-primary: #ecfdf3;
  --bg-success-solid: #079455;
  --bg-warning-primary: #fefbe8;
  --bg-warning-solid: #ca8504;

  /* ── Semantic / Text ── */
  --text-primary: #181d27;
  --text-secondary: #414651;
  --text-tertiary: #535862;
  --text-quaternary: #717680;
  --text-white: #ffffff;
  --text-disabled: #717680;
  --text-brand-primary: #0b4a6f;
  --text-brand-secondary: #026aa2;
  --text-error: #d92d20;
  --text-success: #079455;
  --text-warning: #ca8504;

  /* ── Semantic / Border ── */
  --border-primary: #d5d7da;
  --border-secondary: #e9eaeb;
  --border-brand: #0ba5ec;
  --border-error: #f04438;

  /* ── Semantic / Foreground ── */
  --fg-primary: #181d27;
  --fg-secondary: #414651;
  --fg-tertiary: #535862;
  --fg-quaternary: #a4a7ae;
  --fg-white: #ffffff;
  --fg-brand-primary: #0ba5ec;
  --fg-brand-secondary: #0086c9;
  --fg-error: #d92d20;
  --fg-error-primary: #f04438;
  --fg-error-secondary: #d92d20;
  --fg-success: #079455;
  --fg-success-primary: #17b26a;
  --fg-success-secondary: #079455;
  --fg-warning: #ca8504;
  --fg-warning-primary: #eaaa08;
  --fg-warning-secondary: #ca8504;

  /* ── Base ── */
  --black: #000000;
  --white: #ffffff;
  --transparent: #ffffff00;
}
