/* Vamav brand palette — matched to somare.app landing page.
   Deep navy base, ember orange, warm off-white serif text.
   js/theme.js interpolates --t-* between midnight and sunset anchors
   from the progress score (0–100); js/bg.js animates the gradient canvas. */

:root {
  /* Brand constants (from somare-web) */
  --navy: #05080f;
  --orange: #e8720c;
  --orange-warm: #f0900a;
  --text: #f0ebe3;
  --muted: rgba(240, 235, 227, 0.72);
  /* 0.56 on navy is 5.3:1 (was 0.45, 3.9:1): small grey labels must pass
     WCAG AA 4.5:1 (UI polish 3). */
  --dim: rgba(240, 235, 227, 0.56);

  /* Accent anchors: midnight (progress 0) → sunset (progress 100) */
  --accent-midnight: #b45a10;
  --accent-sunset: #f0900a;

  /* Live theme values — overwritten by js/theme.js */
  --t-accent: #c96b0e;
  --t-border: rgba(232, 114, 12, 0.22);
  --t-glow: rgba(232, 114, 12, 0.10);
  --t-bg: #05080f;
  --t-bg-2: #070c18;

  /* Surfaces */
  --card: rgba(5, 8, 15, 0.55);
  --card-border: rgba(232, 114, 12, 0.22);
  --hairline: rgba(240, 235, 227, 0.10);
  --danger: #d96b5f;
  --ok: #8fbf9e;

  /* Landing page uses near-square corners */
  --radius: 3px;
  --radius-sm: 3px;
  --tab-h: 64px;

  /* Type */
  --font-display: 'Beau Rivage', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;

  font-family: var(--font-serif);
}

/* Dim override while a sleepy practice is active (set on <body>) */
body.sleepy {
  --t-accent: #6f7ba8;
  --t-border: rgba(120, 140, 200, 0.25);
  --t-glow: rgba(120, 140, 200, 0.10);
}
