/* ============================================================
   Nuerizo v3 — Design Tokens
   Logo-driven: cyan → violet → magenta gradient on deep black.
   Positioning: INVEST · BUILD · GROW
   Feels like a modern operating group (Stripe/Linear/Anthropic
   confidence), not a legacy consulting firm.
   ============================================================ */

:root {
  /* --- Brand gradient (from the logo) --- */
  --brand-cyan:    #1FA9F5;
  --brand-blue:    #2E7BFF;
  --brand-violet:  #7A5CFF;
  --brand-purple:  #9B4CFF;
  --brand-magenta: #D64BFF;

  --brand-gradient: linear-gradient(
    92deg,
    var(--brand-cyan)    0%,
    var(--brand-blue)   28%,
    var(--brand-violet) 55%,
    var(--brand-magenta) 100%
  );

  --brand-gradient-soft: linear-gradient(
    135deg,
    rgba(31, 169, 245, 0.14),
    rgba(122,  92, 255, 0.14),
    rgba(214,  75, 255, 0.14)
  );

  /* --- Surfaces (dark by default) --- */
  --ink:            #FFFFFF;      /* pure white text on black */
  --ink-strong:     #FFFFFF;
  --ink-soft:       rgba(255,255,255,0.72);
  --ink-mute:       rgba(255,255,255,0.52);
  --ink-faint:      rgba(255,255,255,0.32);

  --bg:             #050508;      /* app background */
  --bg-1:           #0A0A12;      /* elevated surface */
  --bg-2:           #10101B;      /* card */
  --bg-3:           #17172A;      /* higher elevation */
  --bg-glass:       rgba(16,16,27,0.72);

  --line:           rgba(255,255,255,0.08);
  --line-strong:    rgba(255,255,255,0.14);
  --line-brand:     rgba(122,92,255,0.32);

  /* --- Type --- */
  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Fluid scale */
  --text-xs:  0.75rem;
  --text-sm:  0.875rem;
  --text-base: 1rem;
  --text-lg:  1.125rem;
  --text-xl:  1.25rem;
  --text-2xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);
  --text-4xl: clamp(2.5rem,  1.6rem + 3vw,   4rem);
  --text-hero: clamp(3rem, 2rem + 4vw, 5.5rem);

  --lh-tight: 1.05;
  --lh-snug:  1.2;
  --lh-normal: 1.5;
  --lh-relaxed: 1.7;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-pill: 999px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.32);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
  --shadow-lg:  0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  --shadow-glow: 0 0 60px rgba(122,92,255,0.24);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur-med:  260ms;
  --dur-slow: 480ms;

  /* Layout */
  --container:      1200px;
  --container-wide: 1360px;
  --container-narrow: 720px;
  --nav-height: 72px;
}

/* Light mode override (opt-in — dark is default) */
[data-theme="light"] {
  --ink:         #0A0A0F;
  --ink-strong:  #050508;
  --ink-soft:    rgba(10,10,15,0.72);
  --ink-mute:    rgba(10,10,15,0.55);
  --ink-faint:   rgba(10,10,15,0.30);

  --bg:          #FAFAFC;
  --bg-1:        #FFFFFF;
  --bg-2:        #F4F4F8;
  --bg-3:        #EEEEF4;
  --bg-glass:    rgba(255,255,255,0.86);

  --line:        rgba(10,10,15,0.08);
  --line-strong: rgba(10,10,15,0.14);
  --line-brand:  rgba(122,92,255,0.28);
}
