/* ════════════════════════════════════════════════════════════════
   Core layer — harmonised with the HansePay design system.
   Values copied (not linked) from hansepay-site styles/tokens.css and
   admin/admin.css, main @ 5a95daa, 17 Nov 2026. No HansePay file is
   loaded at runtime; this project stays fully independent.

   Load order on every page:
     core.css → brand theme → brand tokens.css → base.css → brand styles.css
   Brand themes map these primitives onto the semantic --c-* contract
   documented in base.css. Components never reference --hp-* directly.
   ════════════════════════════════════════════════════════════════ */

/* Inter — the shared UI/body font of HansePay, Ruvya and Padia (OFL, self-hosted) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }

:root {
  /* ── HansePay navy scale ── */
  --hp-n900: #060D1A;
  --hp-n800: #0B1929;
  --hp-n700: #0F2540;
  --hp-n600: #163659;
  --hp-n500: #1E4E80;
  --hp-n400: #2E6BAD;
  --hp-n300: #3B7BC4;
  --hp-n200: #8DBDE6;
  --hp-n100: #C4DDEF;
  --hp-n050: #EBF4FB;
  --hp-off:  #F5F1EA;
  --hp-gold: #C9A961;

  /* ── HansePay ink ── */
  --hp-ink:  #0B1929;
  --hp-ink2: #3D5A73;
  --hp-ink3: #7A9AB0;        /* decorative only: 2.97:1 on white */
  --hp-ink3-text: #536F87;   /* text-safe variant: 5.26:1 on white, 4.67:1 on off */
  --hp-line: rgba(11, 25, 41, .08);
  --hp-line-strong: rgba(11, 25, 41, .14);

  /* ── HansePay status (admin) ── */
  --hp-ok: #16a34a;   --hp-ok-bg: #dcfce7;
  --hp-warn: #b45309; --hp-warn-bg: #fef3c7;
  --hp-bad: #b91c1c;  --hp-bad-bg: #fee2e2;

  /* ── Brand markers (dashboard, tables, charts) ── */
  --brand-ruvya: #3355FF; --brand-ruvya-bg: #EEF1FF;
  --brand-padia: #C8442A; --brand-padia-bg: #FDE3D8;

  /* ── HansePay radii ── */
  --hp-r-sm: 6px; --hp-r-md: 10px; --hp-r-lg: 16px; --hp-r-pill: 100px;

  /* ── Fonts ── */
  --hp-font-ui: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
