/* =============================================
   Markanız Burada — Design Tokens v1.34
   Renkler: assets/css/color-system.css (önce yüklenir)
   ============================================= */

:root {
	--mb-home-accent: var(--mb-brand);
	--mb-home-glow: var(--mb-brand-muted);
	--mb-pro-accent: var(--mb-brand);
	--mb-pro-glow: var(--mb-brand-muted);

	/* —— Spacing scale —— */
	--mb-space-0: 0;
	--mb-space-1: 4px;
	--mb-space-2: 8px;
	--mb-space-3: 12px;
	--mb-space-4: 16px;
	--mb-space-5: 20px;
	--mb-space-6: 24px;
	--mb-space-8: 32px;
	--mb-space-10: 40px;
	--mb-space-12: 48px;
	--mb-space-16: 64px;
	--mb-space-section: 56px;
	--mb-space-section-lg: 72px;

	/* —— Typography scale —— */
	--mb-text-xs: 0.6875rem;
	--mb-text-sm: 0.8125rem;
	--mb-text-base: 1rem;
	--mb-text-md: 1.0625rem;
	--mb-text-lg: 1.125rem;
	--mb-text-xl: 1.25rem;
	--mb-text-2xl: 1.5rem;
	--mb-text-3xl: 2rem;
	--mb-text-display: clamp(2rem, 4vw, 3.25rem);
	--mb-leading-tight: 1.25;
	--mb-leading-normal: 1.6;
	--mb-leading-relaxed: 1.75;

	/* —— Radius —— */
	--mb-radius-xs: 4px;
	--mb-radius-sm: 6px;
	--mb-radius: 8px;
	--mb-radius-md: 8px;
	--mb-radius-lg: 10px;
	--mb-radius-xl: 16px;
	--mb-radius-full: 9999px;

	/* —— Layout —— */
	--mb-font: 'DM Sans', system-ui, -apple-system, sans-serif;
	--mb-font-display: 'Outfit', system-ui, -apple-system, sans-serif;
	--mb-header-h: 72px;
	--mb-container: 1280px;
	--mb-container-narrow: 960px;
	--mb-transition: 0.2s ease;
	--mb-transition-slow: 0.35s cubic-bezier(0.22, 1, 0.36, 1);

	--mb-focus-offset: 2px;

	/* —— Admin shell —— */
	--adm-sidebar: #111827;
	--adm-sidebar-hover: rgba(255, 255, 255, 0.06);
	--adm-surface: #ffffff;
	--adm-muted: var(--mb-neutral-500);

	/* —— Z-index —— */
	--mb-z-dropdown: 200;
	--mb-z-sticky: 300;
	--mb-z-header: 400;
	--mb-z-overlay: 500;
	--mb-z-modal: 600;
	--mb-z-toast: 700;

	--mb-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--mb-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

	/* —— Input —— */
	--mb-input-bg: #ffffff;
	--mb-input-border: var(--mb-border);
	--mb-input-focus: var(--mb-brand-ring);
	--mb-input-error: var(--mb-danger);
	--mb-input-success: var(--mb-success);
}

@media (prefers-reduced-motion: reduce) {
	:root {
		--mb-transition: 0.01ms;
		--mb-transition-slow: 0.01ms;
	}
}
