/* ==========================================================================
   LIGHTNING VIP — brand tokens
   Shared by the intake (.intake-scope), the engine (.engine-scope) and the
   wizard shell. Palette source: docs/brand/Lightning_VIP_Color_Palette.xlsx
   (black #000000; golds #C8A722, #DBC671, #E5DAAA).
   The palette golds are too light for text on white, so text accents use
   --color-accent (#7A6410, 5.7:1 on white). The bright golds are used for
   fills, rules, and text on black.
   ========================================================================== */
:root {
  --gold-deep: #C8A722;
  --gold-mid: #DBC671;
  --gold-light: #E5DAAA;
  --gold-gradient: linear-gradient(90deg, #DBC671 0%, #E5DAAA 45%, #C8A722 100%);
  --black: #000000;

  --color-bg: #FAF8F1;
  --color-surface: #FFFFFF;
  --color-surface-warm: #F6F1E1;
  --color-ink: #111111;
  --color-ink-soft: #3A3A3A;
  --color-ink-muted: #6B6B6B;
  --color-rule: #E6DFC8;
  --color-rule-strong: #CDBF93;
  --color-accent: #7A6410;
  --color-accent-bright: #957B1C;
  --color-accent-rgb: 122, 100, 16;
  --color-accent-soft: #F4EED6;

  --color-good: #4F6F2E;
  --color-warn: #B3400B;
  --color-critical: #991B1B;
  --color-tier-optimal: #E6EAD4;
  --color-tier-suboptimal: #FCE8D4;
  --color-tier-elevated: #FAD8C8;
  --color-tier-critical: #F8C8C8;
  --color-tier-low: #E2DCC8;

  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 2px 6px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(0, 0, 0, 0.10);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Brand overrides on top of the original app styles (this file loads after intake.css and engine.css) ---- */

/* Primary buttons: black with gold lettering, like the logo. */
.engine-scope button.primary,
.intake-scope button.action.primary,
.wz-btn-primary {
  background: var(--black);
  border-color: var(--black);
  color: var(--gold-mid);
}
.engine-scope button.primary:hover,
.intake-scope button.action.primary:hover,
.wz-btn-primary:hover {
  background: #222;
  color: var(--gold-light);
}

/* Report banner: black with a gold rule instead of the old terracotta. */
.engine-scope .report-header {
  background: var(--black);
  color: #fff;
  border-bottom: 4px solid transparent;
  border-image: var(--gold-gradient) 1;
}
.engine-scope .report-header .report-title { color: var(--gold-mid); }

.intake-scope .stopping-card {
  background: var(--color-surface-warm);
  border-color: var(--gold-deep);
}

.intake-scope h1,
.intake-scope .section-title,
.engine-scope .panel-title {
  letter-spacing: 0.01em;
}
