/*
 * Finavexo — brand primitives for the shared design tokens (css/tokens.css). FNRGW-2272, client PayWRX.
 *
 * Source: the approved spec on the "Tenant screens" canvas (https://claude.ai/artifact/NWBMVpR5ASbYcJAZCPFh1u,
 * page "Finavexo"): the portal blue ramp (500 #4365DF is the action colour, 600 #3855BD its hover), the navy
 * chrome ramp built around the brand navy #14223D, and the logo's teal #16B8A6 as the accent.
 * Inter is SIL OFL; the variable woff2 files are the dashboard's
 * (tenants/finavexo/brands/finavexo/assets/fonts). The supplied wordmark is drawn in Inter SemiBold.
 * The dark logo is derived (navy ink swapped for white) and awaits the client's sign-off.
 */

@font-face { font-family: "Inter"; src: url("fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  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; }

:root {
  --md-text-font: "Inter";

  --brand-50:  #F8F9FE;
  --brand-100: #F0F3FD;
  --brand-200: #C9D3F6;
  --brand-300: #8AA0EB;
  --brand-400: #6782E5;
  --brand-500: #4365DF;
  --brand-600: #3855BD;
  --brand-700: #2F479C;
  --brand-800: #25387B;
  --brand-900: #1B2859;
  --brand-950: #111938;
  --brand-accent: #16B8A6;

  /* The navy ramp, placed on the stops the shared roles read: heading navy 800 (the brand navy), strong
     text navy 700, body navy 500, muted navy 400 (5.3:1 on white); in dark mode the light stops are the text. */
  --neutral-50:  #ECEEF3;
  --neutral-100: #D3D8E3;
  --neutral-200: #AEB6C8;
  --neutral-300: #8C98B3;
  --neutral-500: #5F6C88;
  --neutral-700: #3B4A6B;
  --neutral-900: #1E3156;
  --neutral-950: #14223D;
  --neutral-surface-2: #F4F5F7;

  --brand-dark: #14223D;   /* navy 800, the dashboard rail */
  --brand-code: #0E1A30;   /* navy 900 */

  /* The customer previews: the spec's proposed hosted-page gradient and pay button. */
  --pv-brand-from:   #4365DF;
  --pv-brand-to:     #14223D;
  --pv-brand-accent: #4365DF;
}

/* The ramp's 500 is the action colour (white on it 5.04:1), so buttons and links sit one stop lighter than the default. */
:root,
[data-md-color-scheme="default"] {
  --ds-brand-strong: var(--brand-500);
  --ds-brand-hover:  var(--brand-600);
  --ds-brand-text:   var(--brand-500);
}
