/* Kids — design tokens. Single source of truth for the web system.
   Mirrors Design System/tokens.json. Every component reads from here. */

:root {
  /* ---- Brand palette ---- */
  --color-brand-blue: #0700B1;
  --color-brand-yellow: #FFE100;
  --color-brand-orange: #F45B39;
  --color-brand-pink: #F2C3D4;
  --color-brand-sand: #F0F0E9;
  --color-brand-dark-grey: #232323;

  /* ---- Neutral ramp ---- */
  --color-neutral-black: #000000;
  --color-neutral-900: #111111;
  --color-neutral-800: #222222;
  --color-neutral-600: #444444;
  --color-neutral-500: #666666;
  --color-neutral-300: #AAAAAA;
  --color-neutral-200: #CCCCCC;
  --color-neutral-100: #EEEEEE;
  --color-neutral-white: #FFFFFF;

  /* ---- System ---- */
  --color-error: #B42318;
  --color-error-light: #FEF3F2;
  --color-success: #027A48;
  --color-success-light: #ECFDF3;

  /* ---- Semantic ---- */
  --bg-primary: var(--color-brand-sand);
  --bg-secondary: var(--color-brand-dark-grey);
  --bg-tertiary: var(--color-brand-blue);
  --bg-alternate: var(--color-brand-orange);
  --bg-accent: var(--color-brand-yellow);
  --bg-pink: var(--color-brand-pink);
  --text-primary: var(--color-neutral-black);
  --text-inverse: var(--color-neutral-white);
  --text-muted: var(--color-neutral-500);
  --link: var(--color-brand-yellow);
  --border-primary: var(--color-neutral-black);
  --border-inverse: var(--color-neutral-white);

  /* ---- Type families ---- */
  --font-display: "Clearface", Georgia, serif;
  --font-sans: "Apercu Pro", "Inter", Arial, sans-serif;

  /* ---- Type scale (px) ---- */
  --text-h1: 56px;   /* Clearface */
  --text-h2: 48px;   /* Clearface */
  --text-h3: 36px;
  --text-h4: 32px;
  --text-h5: 24px;
  --text-h6: 20px;
  --text-body-lg: 18px;
  --text-body: 16px;
  --text-body-sm: 14px;
  --text-eyebrow: 14px;

  /* Display sizes for heroes / decks */
  --text-display-xl: clamp(56px, 9vw, 128px);
  --text-display-lg: clamp(40px, 6vw, 96px);

  /* ---- Spacing (8px scale) ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* ---- Radius ---- */
  --radius-card: 8px;
  --radius-pill: 999px;

  /* ---- Layout ---- */
  --maxw: 1200px;
}
