/* ============================================================
   lanexbuilds.com — Design System Tokens (tokens.css)
   ============================================================ */
:root {
  /* Dark Mode (Default) */
  --bg: #0A0C10;
  --s1: #10131A;
  --s2: #171B23;
  --ln: rgba(255, 255, 255, 0.07);
  --ln2: rgba(255, 255, 255, 0.15);
  --tx: #EDEFF4;
  --t2: #A5ACBA;
  --t3: #7B8395;
  --ac: #5B7CFF;
  --act: #8AA2FF;
  --free: #4FD1A5;
  --pro: #E0B66B;
  --bad: #FF7A7A;
  --ok: #4FD1A5;
  --danger: #FF7A7A;
  --violet: #A78BFA;
  --btn: #EDEFF4;
  --btnt: #0A0C10;
  --glow: rgba(91, 124, 255, 0.22);
  
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 600ms;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.2,.7,.2,1);
  --font-sans: 'Geist', system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  
  --max-w: 1120px;
  --radius-xs: 4px;
  --radius-sm: 6px; 
  --radius-md: 10px; 
  --radius-lg: 16px; 
  --radius-xl: 20px; 
  --radius-2xl: 24px;
  --radius-full: 999px;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-section: 64px;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-hero: clamp(36px, 6vw, 56px);

  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  --tracking-caps: 0.05em;
  --tracking-tight: -0.02em;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.3);
  --focus-ring: 0 0 0 3px rgba(91,124,255,0.3);
  --header-h: 64px;

  /* Legacy aliases pointing to canonical tokens */
  --font-serif: 'Source Serif 4', Georgia, serif;
  --font: var(--font-sans);
  --line: var(--ln);
  --line-soft: var(--s2);
  --panel: var(--s1);
  --paper: var(--bg);
  --paper-2: var(--s1);
  --ink: var(--tx);
  --ink-2: var(--t2);
  --ink-3: var(--t3);
  --cool: var(--ac);
  --cool-soft: rgba(91,124,255,0.1);
  --action-orange: #FF7A90;
  --border: var(--ln);
  --surface: var(--s1);
  --text: var(--tx);
  --ac2: var(--ac);
}

/* Light Theme Override */
:root[data-theme="light"] {
  --bg: #F5F7FA; 
  --s1: #FFFFFF; 
  --s2: #EEF1F6; 
  --ln: rgba(0,0,0,.08); 
  --ln2: rgba(0,0,0,.15);
  --tx: #12161D; 
  --t2: #4A5366; 
  --t3: #565F73; 
  --ac: #3556F5; 
  --act: #3556F5; 
  --free: #117A58; 
  --pro: #8A6414;
  --bad: #C93B3B;
  --ok: #117A58;
  --danger: #C93B3B;
  --violet: #6D4FD6;
  --btn: #12161D;
  --btnt: #FFFFFF;
  --glow: rgba(53, 86, 245, 0.12);
  --line-soft: #E2E8F0;
  --cool-soft: rgba(53, 86, 245, 0.1);
}
