/* MINDI design tokens — the single source for colour, type, spacing, radius, elevation and motion.
   Light theme by default; dark theme under html[data-theme=dark] (set by theme.js before first paint). */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/inter-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/inter-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/inter-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/inter-latin-700-normal.woff2") format("woff2")}

:root{
  color-scheme:light;
  /* Brand (MINDI identity: deep navy and warm gold) */
  --brand-navy:#111a30; --brand-navy-2:#1a2747; --brand-gold:#d9a441; --brand-gold-soft:#f6e7c4;
  /* Interface */
  --bg:#f3f5f9; --bg-tint-1:rgba(43,91,215,.06); --bg-tint-2:rgba(217,164,65,.07);
  --surface:rgba(255,255,255,.86); --surface-solid:#ffffff; --surface-2:#f6f7fa; --surface-3:#eef1f6;
  --border:rgba(16,24,40,.08); --border-strong:rgba(16,24,40,.16);
  --text:#0f172a; --text-2:#3d4a5c; --text-3:#5b6676; --text-on-accent:#ffffff;
  --accent:#2557d6; --accent-hover:#1d47b4; --accent-soft:rgba(37,87,214,.10); --focus:#2557d6;
  --success:#0e7a52; --success-soft:rgba(14,122,82,.11);
  --warning:#a3530b; --warning-soft:rgba(203,108,16,.13);
  --danger:#c42b1c; --danger-soft:rgba(196,43,28,.10);
  --info:#2557d6; --info-soft:rgba(37,87,214,.10);
  --neutral-soft:rgba(16,24,40,.06);
  /* Sidebar (navy in both themes) */
  --side-bg:linear-gradient(180deg,#111a30 0%,#152142 100%); --side-text:#c9d2e3; --side-text-dim:#8c98b0;
  --side-hover:rgba(255,255,255,.07); --side-active:rgba(255,255,255,.12); --side-active-text:#ffffff;
  /* Typography */
  --font:"Inter",-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --font-mono:ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace;
  --fs-xs:12px; --fs-sm:13px; --fs-base:14.5px; --fs-md:16px; --fs-lg:18px; --fs-xl:22px; --fs-2xl:28px; --fs-3xl:34px;
  --lh:1.55; --lh-tight:1.2;
  /* Spacing scale */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:20px; --s6:24px; --s7:32px; --s8:40px; --s9:56px;
  /* Shape and depth */
  --r-sm:8px; --r:12px; --r-lg:18px; --r-xl:24px; --r-pill:999px;
  --shadow-1:0 1px 2px rgba(16,24,40,.05);
  --shadow-2:0 1px 2px rgba(16,24,40,.04),0 8px 24px rgba(16,24,40,.06);
  --shadow-3:0 4px 12px rgba(16,24,40,.08),0 24px 48px rgba(16,24,40,.12);
  --glass-blur:saturate(1.4) blur(18px);
  /* Motion */
  --ease:cubic-bezier(.2,.8,.2,1); --t-fast:.12s; --t:.2s; --t-slow:.32s;
  /* Layout */
  --side-w:264px; --side-w-rail:76px; --top-h:68px; --content-max:1320px;
  /* phone navigation kit colours */
  --pn-accent:var(--accent); --pn-accent-dark:#86a8ff; --pn-ink:var(--text);
}

html[data-theme=dark]{
  color-scheme:dark;
  --bg:#0a0f1d; --bg-tint-1:rgba(80,120,255,.08); --bg-tint-2:rgba(217,164,65,.05);
  --surface:rgba(21,27,45,.86); --surface-solid:#151b2d; --surface-2:#1a2236; --surface-3:#222b41;
  --border:rgba(255,255,255,.08); --border-strong:rgba(255,255,255,.16);
  --text:#e9edf5; --text-2:#c0c8d6; --text-3:#9aa5b8; --text-on-accent:#0a0f1d;
  --accent:#86a8ff; --accent-hover:#a3bdff; --accent-soft:rgba(134,168,255,.15); --focus:#a3bdff;
  --success:#4fd1a1; --success-soft:rgba(79,209,161,.14);
  --warning:#f5b75d; --warning-soft:rgba(245,183,93,.14);
  --danger:#ff8a80; --danger-soft:rgba(255,138,128,.14);
  --info:#86a8ff; --info-soft:rgba(134,168,255,.14);
  --neutral-soft:rgba(255,255,255,.07);
  --side-bg:linear-gradient(180deg,#0c1324 0%,#0f182d 100%);
  --shadow-1:0 1px 2px rgba(0,0,0,.4);
  --shadow-2:0 1px 2px rgba(0,0,0,.35),0 8px 24px rgba(0,0,0,.35);
  --shadow-3:0 4px 12px rgba(0,0,0,.45),0 24px 48px rgba(0,0,0,.5);
  --brand-gold-soft:rgba(217,164,65,.18);
}

@media (prefers-reduced-motion:reduce){:root{--t-fast:0s;--t:0s;--t-slow:0s}}
