/* MRU-USDT website tokens — mirrors the app palette in /theme.ts
   (LightColors / DarkColors). Every page links this file; do not
   redefine these variables per page. */
:root{
  --bg:#F5F4F0;
  --bg-2:#EFEDE7;
  --surface:#FFFFFF;
  --surface-2:#FAF9F6;
  --surface-3:#F1EFEA;
  --border:#E4E2DB;
  --border-2:#CFCDC5;
  --border-soft:#ECEAE4;
  --text:#0A0A0A;
  --text-2:#2B2B2B;
  --text-muted:#6B6B6B;
  --text-dim:#9E9E9E;
  --accent:#6B5CE6;
  --accent-2:#8B7FFF;
  --accent-hover:#5648C9;
  --accent-soft:#EEEAFF;
  --accent-strong:rgba(107,92,230,0.32);
  --accent-glow:rgba(107,92,230,0.16);
  --on-accent:#FFFFFF;
  --navy:#1A0F6B;
  --navy-2:#251980;
  --ink:#0A0A0A;
  --on-ink:#FFFFFF;
  --success:#00A848;
  --success-soft:#E8F9EF;
  --warning:#F57F17;
  --warning-soft:#FFF8E1;
  --info:#1565C0;
  --info-soft:#E3F2FD;
  --error:#D93025;
  --error-soft:#FFEBEE;
  --error-border:rgba(244,67,54,0.35);
  --disabled:#E8E8E8;
  --nav-bg:rgba(245,244,240,0.86);
  --shadow-sm:0 1px 2px rgba(10,10,10,0.04),0 1px 6px rgba(10,10,10,0.04);
  --shadow-md:0 3px 12px rgba(10,10,10,0.07);
  --shadow-lg:0 18px 48px rgba(26,15,107,0.14),0 4px 14px rgba(10,10,10,0.06);
  color-scheme:light;
}

@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#0E0E14;
    --bg-2:#0A0A10;
    --surface:#17171F;
    --surface-2:#1D1D27;
    --surface-3:#24242F;
    --border:#2A2A32;
    --border-2:#3A3A46;
    --border-soft:#1F1F28;
    --text:#FAFAFA;
    --text-2:#E4E4EA;
    --text-muted:#A0A0A8;
    --text-dim:#6F6F7A;
    --accent:#8B7FFF;
    --accent-2:#A197FF;
    --accent-hover:#A197FF;
    --accent-soft:#231D45;
    --accent-strong:rgba(139,127,255,0.4);
    --accent-glow:rgba(139,127,255,0.18);
    --on-accent:#0E0E14;
    --ink:#FAFAFA;
    --on-ink:#0E0E14;
    --success:#00E676;
    --success-soft:#0F2A1A;
    --warning:#FFC947;
    --warning-soft:#2A2210;
    --info:#42A5F5;
    --info-soft:#0D2138;
    --error:#FF5252;
    --error-soft:#2A1515;
    --error-border:rgba(255,82,82,0.35);
    --disabled:#2A2A32;
    --nav-bg:rgba(14,14,20,0.86);
    --shadow-sm:0 1px 2px rgba(0,0,0,0.3);
    --shadow-md:0 4px 16px rgba(0,0,0,0.35);
    --shadow-lg:0 20px 56px rgba(0,0,0,0.5);
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#0E0E14;
  --bg-2:#0A0A10;
  --surface:#17171F;
  --surface-2:#1D1D27;
  --surface-3:#24242F;
  --border:#2A2A32;
  --border-2:#3A3A46;
  --border-soft:#1F1F28;
  --text:#FAFAFA;
  --text-2:#E4E4EA;
  --text-muted:#A0A0A8;
  --text-dim:#6F6F7A;
  --accent:#8B7FFF;
  --accent-2:#A197FF;
  --accent-hover:#A197FF;
  --accent-soft:#231D45;
  --accent-strong:rgba(139,127,255,0.4);
  --accent-glow:rgba(139,127,255,0.18);
  --on-accent:#0E0E14;
  --ink:#FAFAFA;
  --on-ink:#0E0E14;
  --success:#00E676;
  --success-soft:#0F2A1A;
  --warning:#FFC947;
  --warning-soft:#2A2210;
  --info:#42A5F5;
  --info-soft:#0D2138;
  --error:#FF5252;
  --error-soft:#2A1515;
  --error-border:rgba(255,82,82,0.35);
  --disabled:#2A2A32;
  --nav-bg:rgba(14,14,20,0.86);
  --shadow-sm:0 1px 2px rgba(0,0,0,0.3);
  --shadow-md:0 4px 16px rgba(0,0,0,0.35);
  --shadow-lg:0 20px 56px rgba(0,0,0,0.5);
  color-scheme:dark;
}

/* Type: Alexandria carries headlines and figures in both Arabic and
   Latin; Geist / IBM Plex Sans Arabic carry running text. */
:root{
  --font-display:'Alexandria','Geist',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-body:'Geist','IBM Plex Sans Arabic',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-mono:ui-monospace,'SF Mono',SFMono-Regular,Menlo,Consolas,monospace;
}
[dir="rtl"]{
  --font-body:'IBM Plex Sans Arabic','Geist',system-ui,-apple-system,sans-serif;
}
body{font-family:var(--font-body)}
h1,h2,h3,h4{font-family:var(--font-display)}
/* Tracking breaks Arabic letter joins. */
[dir="rtl"] body *{letter-spacing:0!important}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
::selection{background:var(--accent);color:var(--on-accent)}
