/* ==========================================================================
   Peoplyra — Design Tokens
   Raw, theme-independent values. Theme-dependent roles live in themes.css.
   ========================================================================== */

@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 {
  /* Typography */
  --ppl-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ppl-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Indigo — brand primary */
  --ppl-indigo-50:  #eef2ff;
  --ppl-indigo-100: #e0e7ff;
  --ppl-indigo-200: #c7d2fe;
  --ppl-indigo-300: #a5b4fc;
  --ppl-indigo-400: #818cf8;
  --ppl-indigo-500: #6366f1;
  --ppl-indigo-600: #4f46e5;
  --ppl-indigo-700: #4338ca;
  --ppl-indigo-800: #3730a3;
  --ppl-indigo-900: #312e81;

  /* Slate — secondary / neutrals */
  --ppl-slate-50:  #f8fafc;
  --ppl-slate-100: #f1f5f9;
  --ppl-slate-200: #e2e8f0;
  --ppl-slate-300: #cbd5e1;
  --ppl-slate-400: #94a3b8;
  --ppl-slate-500: #64748b;
  --ppl-slate-600: #475569;
  --ppl-slate-700: #334155;
  --ppl-slate-800: #1e293b;
  --ppl-slate-900: #0f172a;

  /* Semantic hues */
  --ppl-emerald-50:  #ecfdf5;
  --ppl-emerald-500: #10b981;
  --ppl-emerald-600: #059669;
  --ppl-emerald-700: #047857;
  --ppl-amber-50:  #fffbeb;
  --ppl-amber-500: #f59e0b;
  --ppl-amber-600: #d97706;
  --ppl-amber-700: #b45309;
  --ppl-rose-50:  #fff1f2;
  --ppl-rose-500: #f43f5e;
  --ppl-rose-600: #e11d48;
  --ppl-rose-700: #be123c;
  --ppl-sky-50:  #f0f9ff;
  --ppl-sky-500: #0ea5e9;
  --ppl-sky-600: #0284c7;

  /* Spacing scale (4px base) */
  --ppl-space-1: .25rem;
  --ppl-space-2: .5rem;
  --ppl-space-3: .75rem;
  --ppl-space-4: 1rem;
  --ppl-space-5: 1.25rem;
  --ppl-space-6: 1.5rem;
  --ppl-space-8: 2rem;
  --ppl-space-10: 2.5rem;

  /* Radius */
  --ppl-radius-xs: 4px;
  --ppl-radius-sm: 6px;
  --ppl-radius-md: 8px;
  --ppl-radius-lg: 12px;
  --ppl-radius-xl: 16px;
  --ppl-radius-pill: 999px;

  /* Layout */
  --ppl-sidebar-width: 264px;
  --ppl-sidebar-width-collapsed: 76px;
  --ppl-topbar-height: 64px;
  --ppl-content-max: 1520px;

  /* Motion */
  --ppl-ease: cubic-bezier(.2, .7, .2, 1);
  --ppl-duration: 160ms;

  /* Z-index */
  --ppl-z-sidebar: 1040;
  --ppl-z-topbar: 1030;
  --ppl-z-backdrop: 1035;
}

@media (prefers-reduced-motion: reduce) {
  :root { --ppl-duration: 0ms; }
}
