/* Design tokens — everything that doesn't change between themes.
   Colours that do change live in themes.css. */
:root {
  /* Brand */
  --brand-primary: #00A895;
  --brand-primary-hover: #00917F;
  --brand-navy: #0F172A;
  --brand-indigo: #6366F1;
  --brand-blue: #38BDF8;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-page: 30px;      /* main page heading 28–32 */
  --fs-section: 20px;   /* section heading 18–22 */
  --fs-card: 15px;      /* card heading 14–16 */
  --fs-body: 14px;
  --fs-small: 13px;
  --fs-xs: 12px;
  --lh-tight: 1.2;
  --lh-body: 1.5;

  /* Shape & space */
  --radius-card: 18px;
  --radius-panel: 22px;
  --radius-button: 12px;
  --radius-input: 12px;
  --radius-pill: 999px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;

  /* Layout */
  --sidebar-w: 264px;
  --sidebar-rail-w: 76px;
  --topbar-h: 68px;
  --content-max: 1440px;
  --tabbar-h: 68px;

  /* Motion */
  --transition: 200ms ease;
  --transition-slow: 320ms cubic-bezier(.2, .8, .2, 1);

  /* Glass */
  --blur: 20px;
}
@media (prefers-reduced-motion: reduce) {
  :root { --transition: 0ms; --transition-slow: 0ms; }
}
