/* ============================================================
   RANKEDWIRE MARKETING TOKENS, Navy (design batch, DESIGN_SPEC.md section 2).

   THE ONLY FILE ON THE MARKETING SURFACE AND THE CUSTOMER WORKSPACE THAT
   CARRIES COLOUR LITERALS (batch 2: `workspace.css` reads these names too).
   `landing.css` may not contain a hex value (tests/test_landing.py), so every
   colour it paints is one of these names. Loaded after `app.css` and before
   `landing.css` by `public/landing_base.html`.

   Two blocks, one set of names. Night is the default, under `.lp-body`. Day
   applies when <html> carries `data-theme="light"`, the attribute `base.html`
   and `nrSetTheme` already use for every signed in page.

   The night values are the "Rankedwire / SaaS" dark mode in
   `cust-saas/customer-saas.css`, the day values its light mode, plus the
   additions the spec marks NEW. The device tokens (laptop bezel, phone) are
   the same in both modes on purpose: the laptop stays dark and the phone
   screen stays light, as in the approved mockups.
   ============================================================ */

.lp-body {
  /* Surfaces and type */
  --lp-page: #070B17;
  --lp-panel: #0F172A;
  --lp-ink: #F8FAFC;
  --lp-text: #DCE5F0;
  --lp-soft: #B8C4D4;
  --lp-muted: #94A3B8;
  --lp-border: #243247;
  --lp-line: #3B4A63;
  --lp-accent-text: #FF8FA3;

  /* The brand gradient, the same in both modes */
  --lp-violet: #AE00FF;
  --lp-magenta: #DA3090;
  --lp-coral: #FF5738;
  --lp-gradient: linear-gradient(90deg, #AE00FF 0%, #DA3090 52%, #FF5738 100%);
  --lp-gradient-live: linear-gradient(90deg, #AE00FF 0%, #DA3090 30%, #FF5738 50%, #DA3090 70%, #AE00FF 100%);
  --lp-on-gradient: #FFFFFF;

  /* Depth, glow and scrims */
  --lp-shadow: rgba(0, 0, 0, 0.6);
  --lp-shadow-strong: rgba(0, 0, 0, 0.65);
  --lp-header-line: rgba(36, 50, 71, 0.8);
  --lp-toast-bg: rgba(15, 23, 42, 0.96);
  --lp-scrim-clear: rgba(7, 11, 23, 0);
  --lp-scrim: rgba(7, 11, 23, 0.95);
  --lp-scrim-pill: rgba(7, 11, 23, 0.8);
  --lp-video-bg: #0A1020;
  --lp-dot: #FFFFFF;
  --lp-flash: rgba(255, 255, 255, 0.95);
  --lp-glow-faint: rgba(218, 48, 144, 0.18);
  --lp-glow: rgba(218, 48, 144, 0.25);
  --lp-glow-mid: rgba(218, 48, 144, 0.32);
  --lp-glow-strong: rgba(218, 48, 144, 0.35);
  --lp-glow-dot: rgba(218, 48, 144, 0.7);
  --lp-glow-clear: rgba(218, 48, 144, 0);

  /* Aurora, around 0.4 at night */
  --lp-aurora-violet: rgba(174, 0, 255, 0.42);
  --lp-aurora-coral: rgba(255, 87, 56, 0.34);
  --lp-aurora-magenta: rgba(218, 48, 144, 0.38);
  --lp-aurora-final: rgba(218, 48, 144, 0.30);

  /* The devices: identical in both modes */
  --lp-bezel: #0B1326;
  --lp-bezel-line: #2B3A52;
  --lp-bezel-hi: #1A2538;
  --lp-phone-screen: #F6F7F9;
  --lp-phone-bubble: #FFFFFF;
  --lp-phone-ink: #15181C;
  --lp-phone-line: #E3E6EA;
  --lp-phone-muted: #5B6470;


  /* THE CUSTOMER WORKSPACE (batch 2, DESIGN_SPEC_WORKSPACE.md). The workspace
     body carries `lp-body ws-body`, so it reads these same names. */
  --lp-dim: #1B2740;
  --lp-danger: #FF5738;
  --lp-danger-text: #FF8A73;
  --lp-hover: #111B30;
  --lp-tint: rgba(218, 48, 144, 0.10);
  --lp-tint-line: rgba(218, 48, 144, 0.45);
  --lp-ok: #34D399;
  --lp-warn: #FBBF24;
  --lp-track: #243247;
  --lp-chart-grid: rgba(148, 163, 184, 0.14);
  --lp-area-top: rgba(218, 48, 144, 0.45);
  --lp-area-bottom: rgba(218, 48, 144, 0);
  --lp-sheet-scrim: rgba(0, 0, 0, 0.55);

  /* Shape */
  --lp-radius-card: 16px;
  --lp-radius-pill: 999px;
  --lp-maxw: 1240px;
}

[data-theme="light"] .lp-body {
  --lp-page: #F6F8FA;
  --lp-panel: #FFFFFF;
  --lp-ink: #1C2B34;
  --lp-text: #3D5766;
  --lp-soft: #4A6070;
  --lp-muted: #5F7583;
  --lp-border: #E8EDF0;
  --lp-line: #C9D3DC;
  --lp-accent-text: #B4236F;

  --lp-shadow: rgba(28, 43, 52, 0.18);
  --lp-shadow-strong: rgba(28, 43, 52, 0.2);
  --lp-header-line: rgba(232, 237, 240, 0.9);
  --lp-toast-bg: rgba(255, 255, 255, 0.96);
  --lp-scrim-clear: rgba(246, 248, 250, 0);
  --lp-scrim: rgba(246, 248, 250, 0.95);
  --lp-scrim-pill: rgba(246, 248, 250, 0.8);
  --lp-video-bg: #E8EDF0;
  --lp-dot: #1C2B34;

  /* Aurora, around 0.25 by day */
  --lp-aurora-violet: rgba(174, 0, 255, 0.28);
  --lp-aurora-coral: rgba(255, 87, 56, 0.22);
  --lp-aurora-magenta: rgba(218, 48, 144, 0.25);
  --lp-aurora-final: rgba(218, 48, 144, 0.22);

  /* The workspace additions, by day */
  --lp-dim: #E8EDF0;
  --lp-danger: #FF5738;
  --lp-danger-text: #B42C14;
  --lp-hover: #EEF2F6;
  --lp-tint: rgba(218, 48, 144, 0.08);
  --lp-tint-line: rgba(218, 48, 144, 0.45);
  --lp-ok: #047857;
  --lp-warn: #B45309;
  --lp-track: #E8EDF0;
  --lp-chart-grid: rgba(61, 87, 102, 0.14);
  --lp-area-top: rgba(218, 48, 144, 0.30);
  --lp-area-bottom: rgba(218, 48, 144, 0);
  --lp-sheet-scrim: rgba(28, 43, 52, 0.32);
}
