/* mNow — Horizon identity tokens
 *
 * Spec: docs/superpowers/specs/2026-09-10-mnow-horizon-identity-design.md
 *
 * THIS IS THE ONLY FILE IN THE REPOSITORY THAT MAY CONTAIN A COLOR.
 * Changing the palette is a single-file edit by design (spec 5b). Any new
 * palette must clear the floors in spec 5b — run:
 *   python tools/brand-checks/check_contrast.py
 *
 * Dark is canonical. Light is a complete token set, not a patch on dark.
 */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:wght@300;400;800&family=Inter:wght@400;500;600&display=swap');

:root {
  /* --- palette: dark, canonical --- */
  --ground: #0F1411;
  --ink: #E9EFEA;
  --muted: #8D9891;
  --rule: #242C27;
  --action: #6FCBA2;
  --band-1: #22684E;
  --band-2: #164536;
  --band-3: #0F1411;
  --hero: #FFFFFF;
  --rule-on-band: #8FD9B8;
  --nav-on-band: #E9EFEA;

  /* The dark band dissolves into the ground — no closing line. Spec 3. */
  --horizon-line: transparent;

  /* --- type --- */
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs: 10px;
  --text-sm: 11px;
  --text-base: 12.5px;
  --text-lg: 13px;
  --text-xl: 24px;
  --text-2xl: 27px;
  --text-3xl: clamp(31px, 5.4vw, 52px);

  --leading-hero: 1.04;
  --leading-body: 1.62;
  --tracking-hero: -0.018em;
  --tracking-head: -0.012em;
  --tracking-mark: -0.015em;
  --tracking-eyebrow: 0.13em;

  /* --- space --- */
  --gutter: clamp(20px, 5vw, 42px);
  --content-max: 1120px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 22px;
  --space-8: 28px;
  --space-10: 34px;
  --space-12: 44px;
}

@media (prefers-color-scheme: light) {
  :root {
    --ground: #F6F8F6;
    --ink: #131A16;
    --muted: #5D6862;
    --rule: #E0E7E2;
    --action: #14513C;
    --band-1: #2E7A58;
    --band-2: #205F47;
    --band-3: #14513C;
    --hero: #FFFFFF;
    --rule-on-band: #DFEDE4;
    --nav-on-band: #FFFFFF;

    /* The light band meets a pale ground and needs a closing edge. Spec 4. */
    --horizon-line: #0F4132;
  }
}
