/*
 * Billur Optik design tokens.
 * Primitive values feed semantic aliases, which feed component tokens.
 */
:root {
  /* Primitive color tokens */
  --bo-white: #ffffff;
  --bo-black: #111111;
  --bo-gray-25: #fdfdfc;
  --bo-gray-50: #f7f7f5;
  --bo-gray-100: #efefec;
  --bo-gray-200: #e4e4e0;
  --bo-gray-300: #d2d2cd;
  --bo-gray-500: #74746f;
  --bo-gray-600: #595955;
  --bo-gray-800: #292927;
  --bo-red-600: #a83a32;
  --bo-green-600: #267052;

  /* Primitive spacing tokens */
  --bo-space-0: 0;
  --bo-space-25: 2px;
  --bo-space-50: 4px;
  --bo-space-75: 8px;
  --bo-space-100: 12px;
  --bo-space-200: 16px;
  --bo-space-300: 24px;
  --bo-space-400: 32px;
  --bo-space-500: 40px;
  --bo-space-600: 48px;
  --bo-space-700: 64px;
  --bo-space-800: 80px;
  --bo-space-900: 96px;

  /* Primitive typography tokens */
  --bo-font-sans: "Geist", sans-serif;
  --bo-text-xs: 12px;
  --bo-leading-xs: 16px;
  --bo-text-sm: 14px;
  --bo-leading-sm: 20px;
  --bo-text-base: 16px;
  --bo-leading-base: 24px;
  --bo-text-lg: 18px;
  --bo-leading-lg: 28px;
  --bo-text-xl: 20px;
  --bo-leading-xl: 28px;
  --bo-text-2xl: 24px;
  --bo-leading-2xl: 32px;
  --bo-text-3xl: 30px;
  --bo-leading-3xl: 36px;
  --bo-text-4xl: 36px;
  --bo-leading-4xl: 40px;
  --bo-text-5xl: 48px;
  --bo-leading-5xl: 1;
  --bo-text-6xl: 60px;
  --bo-leading-6xl: 1;
  --bo-weight-regular: 400;
  --bo-weight-medium: 500;
  --bo-weight-semibold: 600;
  --bo-weight-bold: 700;

  /* Primitive radius and motion tokens */
  --bo-radius-0: 0;
  --bo-radius-sm: 2px;
  --bo-radius-md: 4px;
  --bo-radius-lg: 8px;
  --bo-radius-xl: 12px;
  --bo-radius-2xl: 16px;
  --bo-radius-3xl: 24px;
  --bo-radius-full: 9999px;
  --bo-shadow-sm: 0 2px 8px rgb(17 17 17 / 0.05);
  --bo-shadow-md: 0 8px 24px rgb(17 17 17 / 0.08);
  --bo-ease-fluid: cubic-bezier(0.32, 0.72, 0, 1);
  --bo-duration: 700ms;

  /* Semantic tokens */
  --bo-color-page: var(--bo-white);
  --bo-color-surface: var(--bo-white);
  --bo-color-surface-soft: var(--bo-gray-50);
  --bo-color-surface-strong: var(--bo-gray-100);
  --bo-color-ink: var(--bo-black);
  --bo-color-muted: var(--bo-gray-600);
  --bo-color-subtle: var(--bo-gray-500);
  --bo-color-border: var(--bo-gray-200);
  --bo-color-border-strong: var(--bo-gray-300);
  --bo-color-primary: var(--bo-black);
  --bo-color-primary-hover: var(--bo-gray-800);
  --bo-color-primary-ink: var(--bo-white);
  --bo-color-sale: var(--bo-red-600);
  --bo-color-success: var(--bo-green-600);
  --bo-color-error: var(--bo-red-600);
  --bo-focus-color: var(--bo-black);
  --bo-container: 1280px;
  --bo-page-gutter: var(--bo-space-300);
  --bo-section-space: var(--bo-space-800);

  /* Component tokens */
  --bo-button-bg: var(--bo-color-primary);
  --bo-button-bg-hover: var(--bo-color-primary-hover);
  --bo-button-color: var(--bo-color-primary-ink);
  --bo-button-padding-y: var(--bo-space-75);
  --bo-button-padding-x: var(--bo-space-100);
  --bo-button-radius: var(--bo-radius-sm);
  --bo-button-font-size: var(--bo-text-base);
  --bo-input-bg: var(--bo-color-surface);
  --bo-input-border: var(--bo-color-border-strong);
  --bo-input-focus: var(--bo-color-ink);
  --bo-input-padding-y: var(--bo-space-100);
  --bo-input-padding-x: var(--bo-space-200);
  --bo-input-radius: var(--bo-radius-sm);
  --bo-card-bg: var(--bo-color-surface);
  --bo-card-border: var(--bo-color-border);
  --bo-card-radius: var(--bo-radius-sm);
  --bo-card-padding: var(--bo-space-300);
  --bo-notice-bg: var(--bo-color-surface-soft);
  --bo-notice-border: var(--bo-color-border);
}

@media (max-width: 720px) {
  :root {
    --bo-page-gutter: var(--bo-space-200);
    --bo-section-space: var(--bo-space-700);
  }
}
