/* =============================================================================
   Pinnacle design tokens — "Midnight to Morning".
   One file for the marketing site (linked from index.html) and the app
   (imported in app/layout.tsx). Change a colour here and both follow.

   Every colour has one job:
     navy    — surfaces: calm, trust, competence (and the night leads are lost)
     gold    — action and value only: buttons, key numbers, the active state
     emerald — answered, handled, sent, verified
     coral   — loss only: missed leads, the problem, errors
     amber   — hot leads, and the dawn the page ends on
     mist    — structure: lines, labels, quiet accents
   ============================================================================= */
:root {
  /* ---- palette ---- */
  --night-950: #060a13;
  --night-900: #0a1120;
  --night-850: #0e1628;
  --night-800: #131d34;
  --night-700: #1b2744;
  --night-600: #263459;
  --mist-500: #8fa3c7;
  --mist-300: #b9c7e2;
  --gold-700: #9a7430;
  --gold-500: #d4a853;
  --gold-300: #f3d68b;
  --emerald-500: #2fb88d;
  --emerald-400: #34c79a;
  --emerald-300: #8fe3c6;
  --coral-400: #f0766a;
  --coral-300: #f7a39a;
  --amber-400: #f7b267;
  --amber-500: #f4845f;
  --dawn-100: #fff1d6;
  --moon: #e9eefa;
  --white: #eef2f8;

  /* the same colours as r,g,b, for rgba(var(--x-rgb), alpha) */
  --night-rgb: 6, 10, 19;
  --surface-rgb: 10, 17, 32;
  --mist-rgb: 143, 163, 199;
  --gold-rgb: 212, 168, 83;
  --gold-hi-rgb: 243, 214, 139;
  --success-rgb: 52, 199, 154;
  --danger-rgb: 240, 118, 106;
  --hot-rgb: 247, 178, 103;
  --dawn-rgb: 244, 132, 95;
  --ink-rgb: 238, 242, 248;
  --star-rgb: 214, 226, 248;

  /* ---- semantic ---- */
  --surface: var(--night-950);
  --surface-2: var(--night-900);
  --surface-raised: var(--night-800);
  --surface-sunk: #050812;
  --line: rgba(var(--mist-rgb), .16);
  --line-2: rgba(var(--mist-rgb), .30);
  --line-strong: rgba(var(--mist-rgb), .48);
  --ink: var(--white);
  --ink-2: rgba(var(--ink-rgb), .74);
  --ink-3: rgba(var(--ink-rgb), .56);
  --label: var(--mist-300);
  --action: var(--gold-500);
  --action-hi: var(--gold-300);
  --action-ink: #1a1206;
  --success: var(--emerald-400);
  --success-hi: var(--emerald-300);
  --danger: var(--coral-400);
  --danger-hi: var(--coral-300);
  --hot: var(--amber-400);
  --cold: var(--mist-500);
  --dawn: var(--amber-500);
  --focus: var(--gold-300);

  /* ---- names the site's stylesheet already uses ---- */
  --bg: var(--surface);
  --bg-2: var(--surface-2);
  --panel: var(--surface-raised);
  --gold: var(--action);
  --gold-hi: var(--action-hi);
  --gold-lo: var(--gold-700);
  --red: var(--danger);

  /* ---- type ---- */
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Cinzel", Georgia, serif;
  --sans: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: clamp(12px, .78rem, 13px);
  --step-0: clamp(15px, 1rem, 16px);
  --step-1: clamp(19px, 1.6vw, 23px);
  --step-2: clamp(26px, 2.6vw, 34px);
  --step-3: clamp(38px, 5vw, 64px);
  --step-4: clamp(48px, 8vw, 112px);

  /* ---- space, shape, depth, motion ---- */
  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px; --space-5: 48px; --space-6: 72px; --space-7: 120px;
  --radius: 2px;
  --radius-lg: 14px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --glow-cool: 0 40px 120px -40px rgba(var(--mist-rgb), .35);
  --glow-action: 0 12px 40px -12px rgba(var(--gold-rgb), .55);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --fast: .25s;
  --slow: .9s;
  --wrap: 1180px;
}
