/*
 * NOMOI brand theme — coral-v1, clinical-restrained register
 * PUBLISHED. Immutable by convention — see legacy-blackgold.css header.
 *
 * For cogsnapshot / Cognitive Wellness reports, Vesper, any clinical/B2B
 * surface. Per the identity tokens (surfaces.clinical-restrained): coral
 * appears ONLY as a muted, low-saturation credential-forward accent, never
 * as a dominant fill. usage_cap: <8% of surface, CTA/citation-chip only,
 * never body text or dominant hero fill. bg/surface/text stay whatever the
 * clinical surface already uses (its own teal/near-black family) — this
 * file intentionally overrides ONLY the primary/accent tokens, layered
 * AFTER the surface's own stylesheet, never as a full page repaint.
 *
 * Link this file in ADDITION to (after) the surface's existing CSS, not as
 * a replacement for it.
 */
:root,
[data-nomoi-theme="coral-v1-clinical"] {
  --brand-primary: #b5624a;
  --brand-primary-hi: #c46f56;
  --brand-primary-deep: #8f4a37;

  --brand-accent: #c4976b;
  --brand-accent-hi: #e2bb8f;

  --brand-ink-on-primary: #f4f1ea;

  /* NOT overridden on purpose: --brand-bg / --brand-surface / --brand-text /
     --brand-border. The clinical surface's own teal/near-black system stays
     authoritative for those — this file only ever touches primary/accent. */

  --brand-wordmark-font: 'Inter', 'Inter', sans-serif;
  --brand-wordmark-variant: 'coral-v1-clinical-pending-lockup';

  /* enforcement note, not a CSS mechanism (CSS cannot cap "8% of surface"):
     integration must use --brand-primary only for CTA fills / citation
     chips / credential badges — never for hero backgrounds or body text. */

  /* font rail exception — added 2026-08-12 (font-rollout wave, TwoThumbs
     prm_42f509ba). Quicksand (coral-v1.css's --brand-font-display) is a
     WARM-register property; cogsnapshot / Cognitive Wellness reports /
     Vesper / any clinical-restrained surface keeps its serif rigor face
     instead — this OVERRIDES the base coral-v1.css value the same way this
     file already overrides primary/accent, layered AFTER coral-v1.css,
     never a full repaint. Value matches cogsnapshot's own existing
     --cx-serif fallback ("Inter", Georgia, serif — see
     Cognitive-Wellness-Reporting/artifacts/nomoi-app/src/pages/
     LandingPage.tsx) so wiring this token is a same-appearance no-op today,
     not a visual change — it only makes the restraint a rail-level decision
     instead of an accident of each surface's own hardcoded fallback.
     --brand-font-body intentionally NOT overridden — body face is
     unaffected by register (falls through to coral-v1.css). */
  /* ONE FONT (founder 2026-08-21): clinical UI is still an interface — Inter, no serif.
   * Only Mitra's corpus reading canvas keeps a serif. */
  --brand-font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
