/* Tokens for the public landing page only (obsidian and gold, dark).
   The landing page is deliberately independent of tokens.css and theme-boot.js so it renders the
   same whichever dashboard theme is deployed. Values mirror the dashboard's obsidian-and-gold
   theme in tokens.css; keep the two in step. Raw colours live here and nowhere else in the page. */
:root {
  color-scheme: dark;

  /* Fonts: whichever of these the deployed fonts.css provides is used, the rest fall through. */
  --font-sans: 'Archivo', 'DM Sans', 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Archivo', 'Manrope', 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', sans-serif;
  --font-figures: var(--font-sans);
  --display-weight: 650;

  --text-xs: 11px;
  --text-sm: 12px;
  --text-base: 13px;
  --text-md: 14px;
  --text-lg: 16px;
  --text-xl: 19px;
  --text-2xl: 23px;
  --text-3xl: 29px;
  --leading-tight: 1.24;
  --leading-snug: 1.45;
  --leading-normal: 1.68;
  --tracking-tight: -.01em;
  --tracking-display: -.028em;
  --tracking-wide: .09em;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 40px;
  --space-10: 48px;
  --space-11: 64px;

  --radius-xs: 4px;
  --radius-sm: 7px;
  --radius-md: 11px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --dur-fast: 150ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --layer-sticky: 25;
  --layer-toast: 50;
  --shell-bar-height: 68px;
  --control-h-sm: 36px;
  --control-h-md: 43px;

  --focus-ring-width: 2px;
  --focus-ring-color: #e2c27e;
  --focus-ring-offset: 3px;

  --bg-app: #0b0b0d;
  --bg-shell: #0e0e11;
  --bg-sidebar: #09090b;
  --bg-card: #141417;
  --bg-card-elevated: #1c1c20;
  --bg-hover: #222227;

  --border-subtle: #26262b;
  --border-medium: #6f6d74;
  --border-highlight: #8c8990;
  --hairline: color-mix(in srgb, #f4efe4 9%, transparent);

  --text-primary: #f4efe4;
  --text-secondary: #bdb8ae;
  --text-muted: #9a958c;

  --accent-primary: #d9b46a;
  --accent-hover: #e8c886;
  --accent-ink: #15110a;
  --accent-text: #e2c27e;

  --success: #6fd3a0;
  --success-soft: #11261c;
  --warning: #e8c070;
  --warning-soft: #2a2312;

  --shadow-card: 0 1px 0 color-mix(in srgb, #ffffff 4%, transparent) inset, 0 10px 30px -14px #000000b3, 0 2px 6px -2px #00000080;
}

html[lang="ar"] {
  --font-sans: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', 'Archivo', 'DM Sans', sans-serif;
  --font-display: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', 'Archivo', 'Manrope', sans-serif;
  --leading-tight: 1.42;
  --leading-snug: 1.6;
  --leading-normal: 1.82;
  --tracking-tight: 0;
  --tracking-display: -.012em;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 1ms; }
}
