/* HMR black-and-white skin (Tim 2026-11-18, docs/projects/hmr-rebrand-black-white.md).
 *
 * Loaded AFTER each HMR finder page's own inline palette and after
 * finder-styles-mrs-v3.css. It only redefines colour tokens and the handful of
 * rules that hardcode a colour, so no shared stylesheet (MRS / SLH use the same
 * V3 file) is touched. To revert a page, delete its <link> to this file.
 *
 * Why !important on the tokens: the page script applies the SEO Hub Brand Kit
 * colours as INLINE custom properties on <html> (applyBrandPalette), and inline
 * beats any normal stylesheet rule. An !important author declaration beats a
 * non-important inline one, so the finder stays black and white no matter what
 * the kit colours are set to. That is deliberate: it makes the kit colour edit
 * (rebrand step 3) safe for these pages in either order.
 *
 * Two colour contexts exist on these pages:
 *   - white form/step cards (V3): "copper" buttons must be BLACK with white text,
 *     which V3's hardcoded white text already gives us once --copper is black;
 *   - the dark landing sections: the accent is WHITE, so the labels on accent
 *     buttons are flipped to black below.
 */
:root {
  /* V3 card tokens: black ink, black CTAs on white cards */
  --navy: #0a0a0a !important;
  --navy-deep: #000000 !important;
  --copper: #0a0a0a !important;
  --copper-deep: #000000 !important;
  --copper-dark: #000000 !important;
  --gold: #ffffff !important;
  --ground: #000000 !important;
  --paper: #ffffff !important;
  --line: #e5e5e5 !important;
  --primary: #0a0a0a !important;
  --primary-dark: #000000 !important;
  --ocean: #0a0a0a !important;

  /* V3's own MRS-blue tokens. Headings use --prussian, so without these the
     white step cards keep navy-blue titles (seen on hmr-ads before this). */
  --prussian: #0a0a0a !important;
  --chambray: #404040 !important;
  --polo: #a3a3a3 !important;
  --onahau: #e5e5e5 !important;
  --solitude: #f5f5f5 !important;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.18) !important;

  /* Dark landing tokens */
  --bg-dark: #0a0a0a !important;
  --bg-darker: #000000 !important;
  --bg-strip: #111111 !important;
  --bg-light: #000000 !important;
  --bg-card: #ffffff !important;
  --ink: #0a0a0a !important;
  --ink-muted: #525252 !important;
  --ink-light: #ffffff !important;
  --ink-light-mut: #a3a3a3 !important;
  --accent: #ffffff !important;
  --accent-dark: #d4d4d4 !important;
  --accent-light: #ffffff !important;
  --rule: rgba(255, 255, 255, 0.25) !important;
}

/* Labels sitting on the WHITE accent (dark landing buttons and tags). */
.hmr-hero-cta,
.hmr-phone-cta:hover,
.hmr-svc-photo-tag,
.hmr-svc-card:hover .hmr-svc-cta { color: #0a0a0a; }
.hmr-hero-cta { box-shadow: 0 8px 24px rgba(255, 255, 255, 0.14); }

/* "Recommended" path card: black border on the white card needs a white-on-dark
   outline when it sits on the dark ground. */
.path-card.recommended { border-color: #0a0a0a; }

/* Savings counter: forest gradient and copper hairline -> black with a white hairline. */
.savings-counter {
  background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.18) inset;
}

/* Muted copy that sits on the dark ground (was --ink-muted, a dark grey). */
.hmr-section-head p { color: #a3a3a3; }

/* Engine progress row "Licensed MT agent" uses var(--copper) inline, which is now
   black on the black ground. Match its inline-style shape (HMR pages only). */
div[style*="justify-content:flex-end"][style*="margin-bottom:6px"] > span { color: #a3a3a3 !important; }

/* Hero: the page ships a placeholder sunset gradient under its dark overlay. */
.hmr-hero::before { background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%); }

/* Plate-gallery modal scrim was MRS blue. */
.mrs-modal-wrap { background: rgba(0, 0, 0, 0.72); }

/* Disclosure banner: the markup is synced from the Brand Kit with inline hex, so
   it needs !important until the kit's own HTML is recoloured (rebrand step 3). */
[data-compliance-disclosure] {
  background: #000000 !important;
  border-bottom-color: #ffffff !important;
}
[data-compliance-disclosure] strong { color: #ffffff !important; }

/* Above-fold "Private Third-Party Service" strip: olive background and copper rule
   are inline, so match the inline shape (HMR pages only). */
div[style*="background:#1a1a0e"] {
  background: #0a0a0a !important;
  border-bottom-color: rgba(255, 255, 255, 0.2) !important;
}
