/* ============================================================
   LowKeyHired palettes. Every brand colour is defined here and nowhere else.
   The palette in use is set by PALETTE in app/brand.py, which becomes
   <html data-palette="...">; the logo files follow the same setting.

   Per palette: background, primary, deep, text, accent (from the brand kit),
   plus three working colours:
     --lk-action / --lk-on-action  button fill and its label (fresh-green fills with
                                   deep, since white on #0d9158 is under 4.5:1)
     --lk-link                     small coloured text on the background
     --lk-surface                  cards and panels
   ============================================================ */
:root,
:root[data-palette="fresh-green"] {
  --lk-bg: #FFFFFF;
  --lk-primary: #0d9158;
  --lk-deep: #0a6b42;
  --lk-text: #0B1F17;
  --lk-accent: #0d9158;
  --lk-action: var(--lk-deep);
  --lk-on-action: #FFFFFF;
  --lk-link: var(--lk-deep);
  --lk-surface: #FFFFFF;
}

:root[data-palette="midnight-lime"] {
  --lk-bg: #121418;
  --lk-primary: #C6F432;
  --lk-deep: #86A61B;
  --lk-text: #F2F5EA;
  --lk-accent: #C6F432;
  --lk-action: var(--lk-primary);
  --lk-on-action: #121418;
  --lk-link: var(--lk-primary);
  --lk-surface: #1B1E24;
}

:root[data-palette="lavender-calm"] {
  --lk-bg: #F3F0FF;
  --lk-primary: #6C4DF6;
  --lk-deep: #4B32C9;
  --lk-text: #1E1B33;
  --lk-accent: #5B3DE8;
  --lk-action: var(--lk-primary);
  --lk-on-action: #FFFFFF;
  --lk-link: var(--lk-deep);
  --lk-surface: #FFFFFF;
}

:root[data-palette="oceanic-teal"] {
  --lk-bg: #FFFFFF;
  --lk-primary: #3c828c;
  --lk-deep: #32848f;
  --lk-text: #14201a;
  --lk-accent: #3c828c;
  --lk-action: var(--lk-deep);
  --lk-on-action: #FFFFFF;
  --lk-link: var(--lk-deep);
  --lk-surface: #FFFFFF;
}

/* Derived from the palette above, so they follow it */
:root {
  --lk-muted: color-mix(in srgb, var(--lk-text) 70%, var(--lk-bg));
  --lk-line: color-mix(in srgb, var(--lk-text) 12%, var(--lk-bg));
  --lk-tint: color-mix(in srgb, var(--lk-primary) 9%, var(--lk-bg));
  --lk-tint-strong: color-mix(in srgb, var(--lk-primary) 18%, var(--lk-bg));
  --lk-action-hover: color-mix(in srgb, var(--lk-action) 86%, var(--lk-text));
  --lk-shadow: color-mix(in srgb, var(--lk-text) 14%, transparent);
  --lk-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* The wordmark as live text: "lowkey" at 500, "hired" at 800 in the accent colour */
.lk-word { font-family: var(--lk-font); letter-spacing: -0.02em; white-space: nowrap; }
.lk-word .lk-low { font-weight: 500; }
.lk-word .lk-hired { font-weight: 800; color: var(--lk-accent); }
