/*
 * FinCo WaaS chassis — brand tokens.
 * Canonical source: FinCo/Brand/2026-05-25_finco-brand_SKILL.md
 * Per-site overrides: copy site.config.json + rebuild this file.
 * Never hardcode hex values elsewhere. Edit here, everything updates.
 */

:root {
  /* Surfaces — navy stack */
  --navy:        #0d1b2a;
  --navy2:       #111f30;
  --navy3:       #152236;
  --navy4:       #1b2d44;

  /* Accent — gold (canon: #c9a84c, NOT #c8a44d) */
  --gold:        #c9a84c;
  --gold2:       #dfc06a;
  --golddim:     rgba(201,168,76,0.08);
  --goldborder:  rgba(201,168,76,0.12);

  /* Text */
  --text:        #f4efe6;
  --text-muted:  #9aabc2;
  --text-dim:    #6f7f95;

  /* Semantic aliases — use these in components */
  --bg:           var(--navy);
  --surface:      var(--navy2);
  --surface-elev: var(--navy3);
  --surface-hi:   var(--navy4);
  --accent:       var(--gold);
  --accent-hover: var(--gold2);
  --border:       var(--goldborder);

  /* Type */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --fs-1:  clamp(2.5rem, 5vw + 1rem, 4.5rem);    /* hero */
  --fs-2:  clamp(2rem, 3vw + 1rem, 3rem);        /* h1 */
  --fs-3:  clamp(1.5rem, 2vw + 0.75rem, 2.25rem);/* h2 */
  --fs-4:  clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem);/* h3 */
  --fs-body:    1rem;
  --fs-small:   0.875rem;
  --fs-tiny:    0.75rem;

  --lh-tight:   1.1;
  --lh-snug:    1.3;
  --lh-body:    1.6;

  /* Spacing — 8px scale */
  --space-1:  0.5rem;
  --space-2:  1rem;
  --space-3:  1.5rem;
  --space-4:  2rem;
  --space-5:  2.5rem;
  --space-6:  3rem;
  --space-8:  4rem;
  --space-10: 5rem;
  --space-12: 6rem;
  --space-16: 8rem;
  --space-20: 10rem;

  /* Radius */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Layout */
  --max-width:  1180px;
  --max-prose:  68ch;
  --header-h:   72px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
  --shadow:    0 4px 16px rgba(0,0,0,0.25);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.45);
  --shadow-gold: 0 0 0 1px var(--goldborder), 0 10px 40px rgba(201,168,76,0.12);

  /* Motion */
  --ease:       cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast:   140ms;
  --dur:        220ms;
  --dur-slow:   400ms;
}
