/* ============================================
   DESIGN TOKENS - Crouton Alpha Theme
   Palette locked: #253759 #466273 #b0babf #c0d9d9 #b78c38
   Dark theme, Cairo + IBM Plex Sans Arabic + KaTeX + JetBrains Mono
   ============================================ */
:root{
  /* Base palette (from user) */
  --p-navy:#253759;
  --p-slate:#466273;
  --p-mist:#b0babf;
  --p-frost:#c0d9d9;
  --p-gold:#b78c38;

  /* Dark extensions (keep brand, increase contrast & depth) */
  --bg-0:#0d1828;          /* page deepest */
  --bg-1:#162439;          /* alt page */
  --bg-2:#253759;          /* primary navy surface */
  --bg-3:#2d4266;
  --surface:#1c2f4e;
  --surface-2:#24395c;
  --surface-3:#2f4a73;
  --card:#1e3353;
  --card-2:#223a5e;

  --border:#466273;
  --border-soft:rgba(176,186,191,.18);
  --border-strong:rgba(192,217,217,.28);

  --text:#c0d9d9;
  --text-bright:#e9f4f4;
  --text-dim:#b0babf;
  --text-faint:#8fa3b0;

  --accent:#b78c38;
  --accent-bright:#d9b45b;
  --accent-deep:#8a6524;
  --accent-glow:rgba(183,140,56,.28);
  --accent-soft:rgba(183,140,56,.12);

  --teal:#7fb5b5;
  --success:#8fc98f;
  --danger:#e07a5f;
  --info:#9db8d6;

  /* Typography */
  --font-heading:"Cairo", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body:"IBM Plex Sans Arabic", "Cairo", system-ui, sans-serif;
  --font-mono:"JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  --font-math:"KaTeX_Math", "Times New Roman", serif;

  /* Spacing / radius / shadow */
  --r-sm:8px; --r-md:12px; --r-lg:16px; --r-xl:22px;
  --shadow-1:0 10px 30px rgba(0,0,0,.35);
  --shadow-2:0 18px 50px rgba(0,0,0,.45);
  --shadow-gold:0 0 0 1px rgba(183,140,56,.35), 0 10px 30px rgba(183,140,56,.15);

  /* Motion */
  --ease:cubic-bezier(.22,.9,.28,1);
  --dur:.45s;

  /* Layout */
  --sidebar-w:300px;
  --topbar-h:64px;
  --max-w:1180px;
}
