/* Shared design tokens. Components are opt-in via .ds. */
@font-face {
    font-family: "YekanBakh DS";
    src: url("../fonts/YekanBakhFaNum-Light.woff2") format("woff2");
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: "YekanBakh DS";
    src: url("../fonts/YekanBakhFaNum-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "YekanBakh DS";
    src: url("../fonts/YekanBakhFaNum-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}

.ds {
    --ds-brand-50: #f0f6f4;
    --ds-brand-100: #dbeae5;
    --ds-brand-200: #bcd6ce;
    --ds-brand-300: #92b9ad;
    --ds-brand-400: #69998c;
    --ds-brand-500: #4a7c70;
    --ds-brand-600: #356055;
    --ds-brand-700: #23453f;
    --ds-brand-800: #193631;
    --ds-brand-900: #102823;

    --ds-accent-50: #ecfaf7;
    --ds-accent-100: #d5f4ed;
    --ds-accent-200: #aee9dd;
    --ds-accent-300: #7bd9c7;
    --ds-accent-400: #51c4af;
    --ds-accent-500: #36b39d;
    --ds-accent-600: #298b7a;
    --ds-accent-700: #1b6c5e;
    --ds-accent-800: #14564b;
    --ds-accent-900: #0c4038;

    --ds-gray-50: #f6f8f7;
    --ds-gray-100: #eef2f0;
    --ds-gray-200: #d8dedd;
    --ds-gray-300: #bbc7c3;
    --ds-gray-400: #97a8a2;
    --ds-gray-500: #748881;
    --ds-gray-600: #576962;
    --ds-gray-700: #43534e;
    --ds-gray-800: #303c38;
    --ds-gray-900: #1f2a28;

    --ds-brand: var(--ds-brand-700);
    --ds-accent: var(--ds-accent-500);
    --ds-on-brand: #fff;
    --ds-on-accent: var(--ds-brand-900);
    --ds-ink: var(--ds-gray-900);
    --ds-muted: var(--ds-gray-700);
    --ds-surface: #fff;
    --ds-canvas: var(--ds-gray-50);
    --ds-line: var(--ds-gray-200);
    --ds-control-line: var(--ds-gray-500);
    --ds-focus: var(--ds-accent-700);

    --ds-success-ink: #20543e;
    --ds-success-bg: #e3f6eb;
    --ds-warning-ink: #654104;
    --ds-warning-bg: #fff1ce;
    --ds-error-ink: #8c272a;
    --ds-error-bg: #ffeceb;
    --ds-info-ink: #244a65;
    --ds-info-bg: #eaf4fa;

    --ds-font: "YekanBakh DS", Tahoma, Arial, sans-serif;
    --ds-text-xs: 0.75rem;
    --ds-text-sm: 0.875rem;
    --ds-text-md: 1rem;
    --ds-text-lg: 1.125rem;
    --ds-text-xl: 1.5rem;
    --ds-text-2xl: 2rem;
    --ds-text-3xl: 2.5rem;
    --ds-weight-light: 300;
    --ds-weight-regular: 400;
    --ds-weight-strong: 600;
    --ds-leading-tight: 1.45;
    --ds-leading-body: 1.85;

    --ds-space-1: 4px;
    --ds-space-2: 8px;
    --ds-space-3: 12px;
    --ds-space-4: 16px;
    --ds-space-5: 20px;
    --ds-space-6: 24px;
    --ds-space-7: 28px;
    --ds-space-8: 32px;
    --ds-space-9: 36px;
    --ds-space-10: 40px;
    --ds-space-12: 48px;
    --ds-space-16: 64px;
    --ds-radius-sm: 8px;
    --ds-radius-md: 12px;
    --ds-radius-lg: 20px;
    --ds-radius-pill: 999px;
    --ds-shadow-sm: 0 1px 3px rgb(16 40 35 / 10%);
    --ds-shadow-md: 0 8px 24px rgb(16 40 35 / 10%);
    --ds-content: 1200px;
    --ds-content-narrow: 860px;
    --ds-break-xs: 360px;
    --ds-break-sm: 720px;
    --ds-break-md: 1000px;
    --ds-break-lg: 1200px;
}
