/* Social Links design tokens. Prefixed --sl- so they never collide with the
   per-customer variables the public page defines (--bg, --accent, --border). */

:root {
    /* Primary is #4DAFE3. Type and icons on that fill are white. */
    --sl-blue-50: #eef6fc;
    --sl-blue-100: #d7eaf8;
    --sl-blue-400: #4DAFE3;
    --sl-blue-500: #2b8fd4;
    --sl-blue-600: #1c6fb0;
    --sl-blue-700: #155e95;

    --sl-color-brand: var(--sl-blue-400);
    --sl-color-brand-hover: color-mix(in srgb, #4DAFE3 84%, #0b1628);
    --sl-color-brand-soft: var(--sl-blue-50);
    --sl-color-on-brand: #ffffff;

    --sl-color-text: #0b1628;
    --sl-color-text-muted: #5a687c;
    --sl-color-bg: #f0f4fa;
    --sl-color-surface: #ffffff;
    --sl-color-surface-2: #f6f7f9;
    --sl-color-surface-sunken: #eef1f6;
    --sl-color-border: #e2e8f0;
    --sl-color-border-strong: #d2d8e1;
    --sl-color-border-control: #7b8aa0;
    --sl-color-hover: rgb(11 22 40 / 0.045);
    --sl-color-selected: var(--sl-blue-50);
    --sl-color-overlay: rgb(11 22 40 / 0.45);

    --sl-color-danger: #b91c1c;
    --sl-color-danger-hover: #991b1b;
    --sl-color-danger-soft: #fef2f2;
    --sl-color-success: #047857;
    --sl-color-success-soft: #ecfdf5;
    --sl-color-warning: #b45309;
    --sl-color-warning-soft: #fffbeb;

    /* Type: Arabic needs 13px minimum and generous leading; never letter-space it. */
    --sl-text-xs: 0.8125rem;
    --sl-text-sm: 0.875rem;
    --sl-text-md: 1rem;
    --sl-text-lg: 1.125rem;
    --sl-text-xl: 1.25rem;
    --sl-text-2xl: 1.5rem;
    --sl-text-3xl: 1.875rem;
    --sl-text-4xl: 2.375rem;
    --sl-text-display: 3rem;
    --sl-leading-tight: 1.3;
    --sl-leading-ui: 1.5;
    --sl-leading-body: 1.7;
    --sl-weight-regular: 400;
    --sl-weight-medium: 500;
    --sl-weight-semibold: 600;
    --sl-weight-bold: 700;
    --sl-weight-heavy: 800;

    --sl-space-1: 4px;
    --sl-space-2: 8px;
    --sl-space-3: 12px;
    --sl-space-4: 16px;
    --sl-space-5: 20px;
    --sl-space-6: 24px;
    --sl-space-8: 32px;
    --sl-space-10: 40px;
    --sl-space-12: 48px;
    --sl-space-16: 64px;
    --sl-space-20: 80px;

    --sl-radius-sm: 8px;
    --sl-radius-md: 12px;
    --sl-radius-lg: 20px;
    --sl-radius-pill: 999px;

    --sl-shadow-sm: 0 1px 2px rgb(11 22 40 / 0.06);
    --sl-shadow-md: 0 4px 12px rgb(11 22 40 / 0.08);
    --sl-shadow-lg: 0 16px 40px rgb(11 22 40 / 0.16);
    --sl-focus-ring: 0 0 0 3px rgb(77 175 227 / 0.45);

    --sl-z-raised: 1;
    --sl-z-sticky: 20;
    --sl-z-header: 30;
    --sl-z-dock: 40;
    --sl-z-dropdown: 50;
    --sl-z-modal: 100;
    --sl-z-popover: 110;
    --sl-z-toast: 130;
    --sl-z-tooltip: 140;

    --sl-dur-fast: 120ms;
    --sl-dur-base: 200ms;
    --sl-dur-slow: 320ms;
    --sl-ease-standard: cubic-bezier(0.2, 0, 0, 1);
    --sl-ease-emphasized: cubic-bezier(0.3, 0, 0, 1);
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --sl-dur-fast: 0ms;
        --sl-dur-base: 0ms;
        --sl-dur-slow: 0ms;
    }
}
