/* =========================================================
   Nuleeo design tokens
   Single source of truth for colours and text styles.
   Tailwind utilities (assets/js/tailwind.config.js) and the
   page <style> blocks both read from these variables.
   ========================================================= */
:root {
  /* ---------- Colour ---------- */
  /* Channel triplets let Tailwind apply opacity (e.g. text-ink/80). */
  --color-lime-rgb: 226 246 69;      /* #E2F645 */
  --color-ink-rgb: 15 16 16;         /* #0F1010 */
  --color-ink-2-rgb: 22 24 26;       /* #16181A */
  --color-white-rgb: 255 255 255;    /* #FFFFFF */
  --color-black-rgb: 0 0 0;

  --color-lime: #E2F645;             /* brand accent */
  --color-ink: #0F1010;              /* darkest background, text on lime */
  --color-ink-2: #16181A;            /* section background */
  --color-white: #FFFFFF;
  --color-surface: #1C1D1F;          /* cards */
  --color-surface-2: #1C1E20;        /* success panel */
  --color-charcoal: #23262A;         /* dark button / shape on lime */
  --color-soft: #C9C9C9;             /* secondary text */
  --color-subtle: #A5A5A5;           /* tertiary text */
  --color-muted: #8A8A8A;            /* captions, placeholders */
  --color-hint: #5F6266;             /* placeholder on white */
  --color-dim: #5A5A5A;              /* inactive marquee words */
  --color-line: #3A3A3A;             /* outlines */
  --color-track: #2C2D2D;            /* toggle track (off) */
  --color-line-faint: #FFFFFF14;     /* dividers */
  --color-line-hairline: #FFFFFF10;  /* hairline dividers */
  --color-line-soft: #FFFFFF1A;      /* panel border */
  --color-ink-fade: #0F101030;       /* hero gradient end */
  --color-error: #FF8A5C;            /* error on dark */
  --color-error-on-lime: #9C2B00;    /* error on lime */

  /* ---------- Font size ---------- */
  --text-label-sm: 11px;     /* LABEL (mobile) */
  --text-label: 12px;        /* LABEL / eyebrow / small caption */
  --text-caption: 13px;      /* note, disclaimer */
  --text-body-xs: 14px;      /* footer links */
  --text-body-sm: 15px;      /* body small, buttons */
  --text-body: 16px;         /* body */
  --text-subtitle: 17px;     /* legal sub-heading */
  --text-body-lg: 18px;      /* body large */
  --text-tagline-sm: 19px;   /* hero tagline (mobile) */
  --text-lead: 20px;         /* lead / FAQ question */
  --text-title: 22px;        /* card title */
  --text-title-lg: 24px;     /* title large / hero tagline */
  --text-quote: 26px;        /* intro paragraph (desktop) */
  --text-h2-sm: 32px;        /* H2 (mobile) */
  --text-marquee: 36px;      /* marquee words (desktop) */
  --text-h3: 38px;           /* H3 */
  --text-display-xs: 44px;   /* display (mobile, photo band) */
  --text-display-sm: 52px;   /* display (mobile) */
  --text-h2: 54px;           /* H2 (desktop) */
  --text-h2-lg: 72px;        /* H2 large (reconciliation) */
  --text-h1: 56px;           /* legal page title (desktop) */
  --text-display: 80px;      /* display */
  --text-display-lg: 96px;   /* display (wide) */
  --text-h2-fluid: clamp(30px, 7.5vw, 54px);
  --text-h2-fluid-xl: clamp(32px, 10.5vw, 54px);  /* H2 that fits one long word on phones */
  --text-h2-fluid-lg: clamp(32px, 7.5vw, 56px);
  --text-h2-fluid-alt: clamp(34px, 8vw, 56px);
  --text-display-fluid: clamp(48px, 9vw, 96px);
  --text-display-fluid-alt: clamp(34px, 8.5vw, 96px);

  /* ---------- Line height ---------- */
  --leading-86: 86%;
  --leading-100: 100%;
  --leading-105: 105%;
  --leading-108: 108%;
  --leading-110: 110%;
  --leading-112: 112%;
  --leading-115: 115%;
  --leading-120: 120%;
  --leading-130: 130%;
  --leading-140: 140%;
  --leading-145: 145%;
  --leading-150: 150%;
  --leading-155: 155%;
  --leading-160: 160%;
  --leading-170: 170%;

  /* ---------- Letter spacing ---------- */
  --tracking-display: -0.025em;  /* -2.5% */
  --tracking-heading: -0.02em;   /* -2%   */
  --tracking-title: -0.015em;    /* -1.5% */
  --tracking-snug: -0.01em;      /* -1%   */
  --tracking-slight: -0.005em;   /* -0.5% */
  --tracking-badge: 0.02em;      /* 2%    */
  --tracking-eyebrow: 0.08em;    /* 8%    */
  --tracking-caps: 0.1em;        /* 10%   */
  --tracking-label: 0.12em;      /* 12%   */
  --tracking-label-pct: 12%;

  /* ---------- Text opacity ---------- */
  --opacity-secondary: 0.72;
  --opacity-tertiary: 0.55;
}
