/* Brand tokens: BClear Aligner (light theme only).
   Source: the bclearaligner.com Elementor global kit: primary #00A7E1, text #333E48,
   accent #F7E8D6, Poppins 600 headings, Roboto body. site.css reads only these variables.

   Contrast: #00A7E1 is 2.8:1 on white, so it is used for fills, icons and decoration
   only. Text and links use brand-700 (6.0:1 on white), dark labels on a sky-blue fill
   use on-brand (5.9:1), and primary buttons use the action blues with white labels. */

:root {
  color-scheme: light;

  /* Brand: sky blue */
  --brand-500: #00a7e1;
  --brand-600: #0092c6;
  --brand-700: #006a94;
  --brand-800: #0b4a66;
  --brand-900: #0b2230;
  --brand-100: #e0f4fc;
  --brand-050: #f2fafe;
  --on-brand: #0b2230;

  /* Primary buttons: white labels need a deeper blue than #00a7e1 (2.8:1).
     #007cae carries white at 4.7:1, hover 6.0:1, pressed 7.1:1. */
  --action-500: #007cae;
  --action-600: #006a94;
  --action-700: #005e85;
  --on-action: #ffffff;

  /* Accent: warm sand */
  --sand-300: #eed6ba;
  --sand-200: #f7e8d6;
  --sand-100: #fbf3ea;

  /* Surfaces */
  --surface-100: #ffffff;
  --surface-200: #f5f8fa;
  --surface-300: #eaeff3;
  --surface-400: #dde4ea;
  --surface-inverse: #273b5f;

  /* Ink: slate */
  --ink-900: #333e48;
  --ink-600: #4c5864;
  --ink-500: #5b6770;
  --ink-400: #8a949c;
  --ink-inverse: #f5f8fa;

  /* Borders & focus */
  --border-subtle: #e3e8ed;
  --border-default: #cdd5dc;
  --border-strong: #8a949c;
  --focus-ring: #006a94;

  /* Status */
  --success-500: #0c6a45;
  --success-100: #e3f5ec;
  --danger-500: #b3261e;
  --danger-100: #fdeceb;
  --warning-500: #754600;
  --warning-100: #fdf1dd;
  --overlay: #0b2230cc;

  /* Type */
  --font-display: "Poppins", system-ui, sans-serif;
  --font-sans: "Roboto", system-ui, sans-serif;
  /* Loaded from Google Fonts on Arabic pages only (see _Layout). */
  --font-arabic: "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Spacing (4px grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Radius: soft, like the edge of an aligner */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 40px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(51, 62, 72, 0.06);
  --shadow-md: 0 6px 16px rgba(51, 62, 72, 0.08);
  --shadow-lg: 0 20px 48px rgba(51, 62, 72, 0.14);
  --shadow-brand: 0 10px 24px rgba(0, 167, 225, 0.28);

  /* Gradients (single hue only) */
  --gradient-brand: linear-gradient(135deg, #273b5f 0%, #0b2230 100%);
  --gradient-accent: linear-gradient(135deg, #00a7e1 0%, #006a94 100%);
  --gradient-wash: linear-gradient(180deg, #f2fafe 0%, #ffffff 100%);
  --gradient-sand: linear-gradient(180deg, #fbf3ea 0%, #ffffff 100%);

  /* Motion */
  --dur-instant: 80ms;
  --dur-fast: 160ms;
  --dur-base: 240ms;
  --dur-slow: 360ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-enter: cubic-bezier(0, 0, 0, 1);

  --opacity-disabled: 0.45;
  --content-max: 1200px;
}
