/* NESTORA design tokens — light theme (dark overrides live in dark.css) */
:root {
  /* Brand */
  --brand-950: #1a0f3a;
  --brand-900: #2e1a68;
  --brand-700: #4b27a8;
  --brand-600: #6338cf;
  --brand-500: #7d57e6;
  --brand-300: #c9b8f5;
  --brand-100: #ece6fc;
  --brand-50:  #f5f2fe;
  --gold-600:  #4a5368;
  --gold-500:  #b4bccb;
  --gold-100:  #e1e5ee;
  --ink:       #1b1f2e;

  /* Neutrals */
  --text:        #1f2433;
  --text-muted:  #525a6e;
  --text-faint:  #5f6679;
  --line:        rgba(40, 48, 80, 0.12);
  --line-strong: rgba(40, 48, 80, 0.20);

  /* Surfaces (spatial UI) */
  --bg:            #e9ecf2;
  --bg-glow-1:     rgba(125, 87, 230, 0.16);
  --bg-glow-2:     rgba(160, 170, 190, 0.20);
  --panel:         rgba(250, 251, 254, 0.74);
  --panel-solid:   #f8f9fc;
  --panel-strong:  rgba(250, 251, 254, 0.90);
  --panel-border:  rgba(255, 255, 255, 0.75);
  --panel-sunken:  rgba(40, 48, 80, 0.05);
  --field:         #fbfcfe;
  --field-border:  rgba(40, 48, 80, 0.22);
  --overlay:       rgba(20, 18, 40, 0.45);

  /* Trust accent: deep teal for verified providers, verified listings and secure-payment cues (white on teal-600 is 6.4:1) */
  --trust-700: #0b574a;
  --trust-600: #0f6b5c;
  --trust-500: #1a8a76;
  --trust-100: #d6efe8;
  --au-trust:  15 107 92;       /* RGB triplet for alpha mixing, used by aurora and neumorphism layers */

  /* Status */
  --success: #11845b;  --success-bg: #ddf3e8;
  --warning: #9a6512;  --warning-bg: #fbefd8;
  --danger:  #b3261e;  --danger-bg:  #fbe3e1;
  --info:    #1f5fa8;  --info-bg:    #e1ecf9;
  --muted-bg: rgba(40, 48, 80, 0.07);

  /* Depth */
  --shadow-sm: 0 1px 2px rgba(30, 30, 64, 0.06), 0 2px 8px rgba(30, 30, 64, 0.05);
  --shadow:    0 2px 6px rgba(30, 30, 64, 0.05), 0 12px 32px rgba(30, 30, 64, 0.08);
  --shadow-lg: 0 8px 20px rgba(30, 30, 64, 0.08), 0 28px 60px rgba(30, 30, 64, 0.14);
  --neu-out:   8px 8px 20px rgba(140, 150, 175, 0.35), -8px -8px 20px rgba(255, 255, 255, 0.9);
  --neu-in:    inset 3px 3px 7px rgba(140, 150, 175, 0.30), inset -3px -3px 7px rgba(255, 255, 255, 0.9);

  /* Shape */
  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Spacing scale (4px base) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px;

  /* Type */
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.75rem; --fs-sm: 0.875rem; --fs-md: 1rem; --fs-lg: 1.125rem;
  --fs-xl: 1.375rem; --fs-2xl: 1.75rem; --fs-3xl: 2.25rem; --fs-4xl: clamp(2.2rem, 4.6vw, 3.6rem);

  /* Motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur: 180ms;

  /* Layout */
  --topbar-h: 64px;
  --sidebar-w: 260px;
  --tabbar-h: 64px;
  --content-max: 1240px;

  /* Chart marks (validated: lightness band, chroma floor, 3:1 against the surface) */
  --chart-1: #6338cf;
  --chart-1-active: #4b27a8;

  color-scheme: light;
}
