/* ============================================================================
   USBS — Design Tokens
   Single source of truth for colour, type, spacing, motion and elevation.
   ========================================================================== */

:root {
  /* --- Brand palette ------------------------------------------------------ */
  --abyss:        #060B18;   /* deepest navy — page base */
  --navy:         #0A1730;   /* primary dark surface */
  --navy-2:       #0B2350;   /* deep blue */
  --blue:         #103A7A;   /* mid brand blue */
  --cyan:         #12C6E9;   /* electric cyan — the logo swoosh */
  --cyan-bright:  #45E0FF;
  --cyan-deep:    #0A8FB5;
  --silver:       #C6D2E2;
  --mist:         #8FA3BE;   /* muted text on dark */
  --white:        #F4F8FF;
  --gold:         #C9A24B;   /* restrained accent — used sparingly */
  --gold-soft:    #E6C979;

  /* --- Semantic ----------------------------------------------------------- */
  --bg:           var(--abyss);
  --surface:      rgba(255, 255, 255, 0.04);
  --surface-2:    rgba(255, 255, 255, 0.06);
  --stroke:       rgba(150, 180, 220, 0.14);
  --stroke-strong:rgba(150, 190, 230, 0.28);
  --text:         var(--white);
  --text-dim:     var(--mist);
  --text-muted:   rgba(198, 210, 226, 0.55);

  /* --- Gradients ---------------------------------------------------------- */
  --grad-hero:    radial-gradient(120% 120% at 80% -10%, rgba(18,198,233,0.20), transparent 50%),
                  radial-gradient(90% 90% at 0% 110%, rgba(16,58,122,0.35), transparent 55%),
                  linear-gradient(160deg, #05080F 0%, #081226 55%, #05080F 100%);
  --grad-cyan:    linear-gradient(120deg, var(--cyan-bright), var(--cyan) 55%, var(--cyan-deep));
  --grad-gold:    linear-gradient(120deg, var(--gold-soft), var(--gold));
  --grad-stroke:  linear-gradient(120deg, rgba(18,198,233,0.7), rgba(201,162,75,0.5));
  --grad-text:    linear-gradient(100deg, #FFFFFF 0%, #BFE9F5 45%, #6FD3EC 100%);

  /* --- Typography --------------------------------------------------------- */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --fs-mono:      clamp(0.66rem, 0.6rem + 0.3vw, 0.78rem);
  --fs-eyebrow:   clamp(0.72rem, 0.66rem + 0.3vw, 0.82rem);
  --fs-body:      clamp(1rem, 0.95rem + 0.35vw, 1.12rem);
  --fs-lead:      clamp(1.12rem, 1rem + 0.7vw, 1.4rem);
  --fs-h3:        clamp(1.3rem, 1.1rem + 1vw, 1.9rem);
  --fs-h2:        clamp(2rem, 1.4rem + 3vw, 3.8rem);
  --fs-display:   clamp(2.8rem, 1.6rem + 6.4vw, 7.2rem);

  --lh-tight:     1.02;
  --lh-snug:      1.18;
  --lh-body:      1.62;

  /* --- Spacing scale (8pt) ------------------------------------------------ */
  --sp-1: 0.5rem;  --sp-2: 1rem;   --sp-3: 1.5rem;  --sp-4: 2rem;
  --sp-5: 3rem;    --sp-6: 4rem;   --sp-7: 6rem;    --sp-8: 8rem;
  --sp-9: 11rem;
  --section-y:  clamp(5rem, 3rem + 8vw, 10rem);
  --gutter:     clamp(1.25rem, 0.5rem + 3vw, 3.5rem);
  --maxw:       1320px;
  --maxw-text:  62ch;

  /* --- Radius ------------------------------------------------------------- */
  --r-sm: 10px;  --r-md: 16px;  --r-lg: 24px;  --r-xl: 34px;  --r-pill: 999px;

  /* --- Elevation (soft luxury shadows) ------------------------------------ */
  --sh-soft:  0 2px 8px rgba(0,0,0,0.25);
  --sh-card:  0 24px 60px -28px rgba(0, 12, 30, 0.75);
  --sh-float: 0 40px 90px -40px rgba(0, 10, 28, 0.9);
  --sh-glow:  0 0 0 1px rgba(18,198,233,0.35), 0 20px 60px -20px rgba(18,198,233,0.35);
  --neu:      inset 1px 1px 1px rgba(255,255,255,0.05),
              inset -1px -1px 2px rgba(0,0,0,0.4);

  /* --- Motion ------------------------------------------------------------- */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io:   cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:  180ms;
  --t-med:   380ms;
  --t-slow:  680ms;

  --blur: 18px;
}

/* Light-on-dark is the brand default; expose a data-hook for future theming. */
[data-theme="dark"] { color-scheme: dark; }
