/*
  AGAL TOYS — DESIGN TOKENS
  Tier 1 (literal) -> Tier 2 (semantic) -> Tier 3 (surface/UI).
  Light, airy, light-blue-led palette. Orange/yellow/green stay accents only.
*/

:root {
    color-scheme: light;

    /* ---- Tier 1: literal ---- */
    --blue-50: #f4f9ff;
    --blue-100: #e8f3fd;
    --blue-200: #cfe8fb;
    --blue-300: #a3d3f5;
    --blue-500: #1b75bc;
    --blue-600: #15629f;
    --blue-700: #114d7e;

    --orange-100: #ffe9dc;
    --orange-500: #f15a24;
    --orange-600: #d14a18;

    --yellow-100: #fff4de;
    --yellow-500: #fbb03b;

    --green-100: #e4f8e8;
    --green-500: #39b54a;

    --pink-100: #fdeaf3;
    --pink-500: #ec4899;

    --grey-0: #ffffff;
    --grey-50: #f7f9fc;
    --grey-100: #eef1f6;
    --grey-200: #e2e8f0;
    --grey-400: #94a3b8;
    --grey-600: #64748b;
    --grey-800: #33415a;
    --grey-900: #1c2534;

    /* ---- Tier 2: semantic ---- */
    --brand-primary: var(--blue-500);
    --brand-primary-hover: var(--blue-600);
    --brand-primary-tint: var(--blue-100);
    --brand-primary-rgb: 27, 117, 188;

    --brand-accent: var(--orange-500);
    --brand-accent-hover: var(--orange-600);
    --brand-accent-tint: var(--orange-100);
    --brand-accent-rgb: 241, 90, 36;

    --brand-yellow: var(--yellow-500);
    --brand-green: var(--green-500);
    --brand-pink: var(--pink-500);

    --ink: var(--grey-900);
    --ink-soft: var(--grey-600);
    --ink-muted: var(--grey-400);

    --surface: var(--grey-0);
    --surface-sunken: var(--blue-100);
    --surface-border: var(--blue-200);

    /* Page background: clearly light-blue, not just an off-white tint —
       white content cards sit on top of this throughout. */
    --brand-bg: var(--blue-100);

    /* ---- Tier 3: UI ---- */
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: var(--font-body);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 8px -2px rgba(17, 77, 126, 0.10);
    --shadow-md: 0 10px 24px -8px rgba(17, 77, 126, 0.16);
    --shadow-lg: 0 20px 44px -12px rgba(17, 77, 126, 0.22);
    --shadow-accent: 0 10px 24px -8px rgba(var(--brand-accent-rgb), 0.32);

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-8: 3rem;
    --space-10: 4rem;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-fast: 150ms;
    --duration-base: 250ms;

    /* Neutralized when the user asks for reduced motion; see base.css */
    --motion-scale: 1;
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --motion-scale: 0;
    }
}
