/* Purpose: Single source of truth for all design tokens (MAXOTO, from Figma). */
/* Never hardcode values elsewhere — reference these variables only. */

:root {
	/* COLORS — from Figma variables */
	--color-bg:            #000000; /* Jet Black */
	--color-bg-alt:        #0e0e10; /* near-black panels */
	--color-surface:       #1c1c1c; /* Carbon Black */
	--color-primary:       #ff0012; /* Max Red */
	--color-primary-hover: #d9000f;
	--color-text:          #e9e7e2; /* off-white headings/body */
	--color-text-strong:   #ffffff;
	--color-text-muted:    #8a8880;
	--color-border:        #3a3a3f;
	--color-overlay:       rgba(14, 14, 16, 0.3);
	--color-success:       #22c55e;
	--color-warning:       #f59e0b;
	--color-error:         #ef4444;

	/* GRADIENTS — refined per-section in Phase 5 */
	--gradient-hero: radial-gradient(120% 100% at 20% 0%, #2a0608 0%, #150305 40%, #000000 100%);

	/* TYPOGRAPHY */
	--font-heading: 'Neue Haas Display', -apple-system, BlinkMacSystemFont, sans-serif;
	--font-body:    'Aeonik Pro', -apple-system, BlinkMacSystemFont, sans-serif;

	--text-xs:   0.75rem;   /* 12px — eyebrow, buttons */
	--text-sm:   0.875rem;  /* 14px */
	--text-base: 1rem;      /* 16px */
	--text-md:   1.125rem;  /* 18px */
	--text-lg:   1.25rem;   /* 20px */
	--text-xl:   1.5rem;    /* 24px — body lead */
	--text-2xl:  2rem;      /* 32px */
	--text-3xl:  2.5rem;    /* 40px */
	--text-4xl:  3.5rem;    /* 56px */
	--text-5xl:  4.5rem;    /* 72px */
	--text-6xl:  7.125rem;  /* 114px — hero H1 */

	--leading-tight:  0.84;  /* hero 96/114 */
	--leading-snug:   1.1;
	--leading-normal: 1.33;  /* body 32/24 */
	--leading-loose:  1.6;

	--tracking-tighter: -0.063em; /* hero -7.2px/114 */
	--tracking-tight:   -0.015em; /* body -0.36px/24 */
	--tracking-normal:  0;
	--tracking-wide:    0.22em;   /* buttons 2.64px/12 */
	--tracking-wider:   0.32em;   /* eyebrow 3.85px/12 */

	--weight-thin:     250;
	--weight-light:    300;
	--weight-regular:  400;
	--weight-medium:   500;
	--weight-bold:     700;
	--weight-black:    900;

	/* SPACING */
	--space-1:  0.25rem;  --space-2:  0.5rem;
	--space-3:  0.75rem;  --space-4:  1rem;
	--space-5:  1.25rem;  --space-6:  1.5rem;
	--space-7:  1.75rem;  --space-8:  2rem;
	--space-10: 2.5rem;   --space-12: 3rem;
	--space-16: 4rem;     --space-20: 5rem;
	--space-24: 6rem;     --space-32: 8rem;

	/* LAYOUT */
	--container-sm:  640px;   --container-md:  768px;
	--container-lg:  1024px;  --container-xl:  1280px;
	--container-2xl: 1440px;  --container-max: 1920px;
	--container-pad: var(--space-8);
	--grid-cols: 12;
	--grid-gap:  var(--space-6);

	/* BORDERS */
	--radius-sm: 4px;   --radius-md: 8px;
	--radius-lg: 16px;  --radius-xl: 24px;  --radius-full: 999px;
	--border-thin:   1px solid var(--color-border);

	/* SHADOWS */
	--shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
	--shadow-md: 0 4px 16px rgba(0,0,0,0.45);
	--shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
	--shadow-glow: 0 0 32px rgba(255,0,18,0.35);

	/* TRANSITIONS */
	--ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
	--ease-in:     cubic-bezier(0.4, 0.0, 1, 1);
	--ease-inout:  cubic-bezier(0.4, 0.0, 0.2, 1);
	--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
	--duration-fast:   150ms;  --duration-base:   250ms;
	--duration-slow:   400ms;  --duration-slower: 700ms;

	/* Z-INDEX */
	--z-base: 0;       --z-raised: 10;
	--z-dropdown: 100; --z-sticky: 200;
	--z-overlay: 300;  --z-modal: 400;  --z-toast: 500;
}
