/* ─────────────────────────────────────────────────────────────────────
   MiDash brand tokens - THE source of truth for the marketing site.

   These values are the product's own design system (mirrored from the app's
   theme.css): black + silver + teal. The designer includes this file and
   uses these variables for everything, so the site, the app, and the kit
   widgets all share ONE palette. No mix-and-match.

   Designer: include this file and REMOVE your own :root color block, so your
   existing `var(--color-*)` usages pick up these (our) values.
   ───────────────────────────────────────────────────────────────────── */
:root {
  /* Footer wordmark gradient stops (shared across solutions pages) */
  --agents-logo-footer-lit-0: #ffffff;
  --agents-logo-footer-lit-1: #e6efee;
  --agents-logo-footer-dim-0: #ffffff;
  --agents-logo-footer-dim-1: #f1f5f4;
  --agents-logo-footer-dim-2: #d8e2e0;

  /* Black surfaces */
  --color-bg: #0f172a;
  --color-surface: #1e293b;
  --color-surface-hover: #334155;
  --color-footer-bg: #0b1220;
  --color-field-bg: #0f172a;

  /* Silver text + borders */
  --color-text: #f8fafc;
  --color-text-secondary: rgba(248, 250, 252, 0.8);
  --color-text-soft: rgba(248, 250, 252, 0.65);
  --color-text-dim: rgba(248, 250, 252, 0.5);
  --color-border-soft: rgba(255, 255, 255, 0.08);
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-strong: rgba(255, 255, 255, 0.18);

  /* Teal accent */
  --color-accent: #5bc9c1;
  --color-accent-light: #6dd8d0;
  --color-accent-deep: #4db8b0;
  --color-accent-pure: #00d4aa;
  --color-accent-soft: rgba(91, 201, 193, 0.15);
  --color-accent-glow: rgba(91, 201, 193, 0.35);
  --on-accent: #06343a;            /* dark text on a teal button */

  /* Status */
  --color-positive: #10b981;
  --color-negative: #ef4444;
  --color-warning: #f59e0b;

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-ar: "Tajawal", system-ui, sans-serif;

  /* Shape */
  --radius: 12px;
  --gap: 16px;

  /* ── Kit aliases (widgets read --mk-*; they map to the brand tokens above) ── */
  --mk-bg: var(--color-bg);
  --mk-surface: var(--color-surface);
  --mk-field-bg: var(--color-field-bg);
  --mk-ink: var(--color-text);
  --mk-muted: var(--color-text-dim);
  --mk-border: var(--color-border);
  --mk-accent: var(--color-accent);
  --mk-accent-deep: var(--color-accent-deep);
  --mk-on-accent: var(--on-accent);
  --mk-radius: var(--radius);
  --mk-gap: var(--gap);
  --mk-font: var(--font-sans);
  --mk-font-ar: var(--font-ar);
}

/* Optional light surface, if a section needs it */
[data-theme="light"], [data-mk-theme="light"] {
  --color-bg: #ffffff;
  --color-bg-2: #f7f8f8;
  --color-surface: #f7f8f8;
  --color-surface-hover: #eef0ef;
  --color-footer-bg: #f7f8f8;
  --color-field-bg: #ffffff;
  --color-text: #0f172a;
  --color-text-secondary: rgba(15, 23, 42, 0.78);
  --color-text-soft: rgba(15, 23, 42, 0.62);
  --color-text-dim: rgba(15, 23, 42, 0.5);
  --color-border-soft: rgba(15, 23, 42, 0.06);
  --color-border: rgba(15, 23, 42, 0.15);
  --color-border-strong: rgba(15, 23, 42, 0.22);
}

/* Arabic font when the page is RTL */
html[lang="ar"], html[dir="rtl"] { font-family: var(--font-ar); }
