/**
 * AI Theme Builder — Design Tokens (CSS Variable System)
 *
 * GLOBAL VARIABLES ONLY.
 *
 * This file defines CSS custom properties on :root and nothing else.
 * It contains ZERO selectors targeting sections, components, elements,
 * or classes of any kind — only variable declarations.
 *
 * Generated to mirror tokens/tokens.json exactly — every --atb-* variable
 * here has a corresponding entry in that file's "css_var" field. Do not
 * hand-edit one without updating the other.
 *
 * Visual Framework phase added: breakpoints, container, grid, z-index.
 * Font family tokens updated to a deliberate Archivo/Source Sans 3
 * pairing (see inc/visual-framework.php for the Google Fonts enqueue).
 */

:root {
	/* Colors */
	--atb-color-primary: #2563eb;
	--atb-color-primary-dark: #1d4ed8;
	--atb-color-secondary: #7c3aed;
	--atb-color-secondary-dark: #6d28d9;
	--atb-color-accent: #f59e0b;
	--atb-color-success: #16a34a;
	--atb-color-warning: #f59e0b;
	--atb-color-danger: #dc2626;
	--atb-color-neutral-50: #fafafa;
	--atb-color-neutral-100: #f5f5f5;
	--atb-color-neutral-200: #e5e5e5;
	--atb-color-neutral-300: #d4d4d4;
	--atb-color-neutral-400: #a3a3a3;
	--atb-color-neutral-500: #737373;
	--atb-color-neutral-600: #525252;
	--atb-color-neutral-700: #404040;
	--atb-color-neutral-800: #262626;
	--atb-color-neutral-900: #171717;
	--atb-color-background: #ffffff;
	--atb-color-surface: #f5f5f5;
	--atb-color-text: #171717;
	--atb-color-text-muted: #525252;
	--atb-color-border: #e5e5e5;

	/* Typography */
	--atb-font-family-base: 'Source Sans 3', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--atb-font-family-heading: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
	--atb-font-family-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
	--atb-font-size-xs: 0.75rem;
	--atb-font-size-sm: 0.875rem;
	--atb-font-size-base: 1rem;
	--atb-font-size-lg: 1.125rem;
	--atb-font-size-xl: 1.25rem;
	--atb-font-size-2xl: 1.5rem;
	--atb-font-size-3xl: 1.875rem;
	--atb-font-size-4xl: 2.25rem;
	--atb-font-size-5xl: 3rem;
	--atb-font-weight-normal: 400;
	--atb-font-weight-medium: 500;
	--atb-font-weight-semibold: 600;
	--atb-font-weight-bold: 700;
	--atb-line-height-tight: 1.2;
	--atb-line-height-normal: 1.5;
	--atb-line-height-relaxed: 1.75;
	--atb-letter-spacing-tight: -0.02em;
	--atb-letter-spacing-normal: 0;
	--atb-letter-spacing-wide: 0.02em;

	/* Spacing Scale */
	--atb-space-0: 0;
	--atb-space-1: 0.25rem;
	--atb-space-2: 0.5rem;
	--atb-space-3: 0.75rem;
	--atb-space-4: 1rem;
	--atb-space-5: 1.25rem;
	--atb-space-6: 1.5rem;
	--atb-space-8: 2rem;
	--atb-space-10: 2.5rem;
	--atb-space-12: 3rem;
	--atb-space-16: 4rem;
	--atb-space-20: 5rem;
	--atb-space-24: 6rem;
	--atb-space-32: 8rem;

	/* Radius */
	--atb-radius-none: 0;
	--atb-radius-sm: 0.25rem;
	--atb-radius-md: 0.5rem;
	--atb-radius-lg: 0.75rem;
	--atb-radius-xl: 1rem;
	--atb-radius-2xl: 1.5rem;
	--atb-radius-full: 9999px;

	/* Shadows */
	--atb-shadow-none: none;
	--atb-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	--atb-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	--atb-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	--atb-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

	/* Breakpoints */
	--atb-breakpoint-sm: 480px;
	--atb-breakpoint-md: 768px;
	--atb-breakpoint-lg: 1024px;
	--atb-breakpoint-xl: 1280px;

	/* Container Widths */
	--atb-container-sm: 640px;
	--atb-container-md: 768px;
	--atb-container-lg: 1024px;
	--atb-container-xl: 1200px;
	--atb-container-gutter: 1.5rem;

	/* Grid System */
	--atb-grid-columns: 12;
	--atb-grid-gap: 1.5rem;

	/* Z-Index Layers */
	--atb-z-header: 100;
	--atb-z-mobile-menu: 200;
	--atb-z-mobile-menu-overlay: 190;
}
