/* ===========================================================================
   RD8 — Typography tokens
   ---------------------------------------------------------------------------
   Voice: condensed, uppercase Oswald display set against quiet Roboto body,
   with Libre Caslon Condensed italic for a single emphasised word and DM Mono
   for anything numeric or spec-like. Headings use a white→grey (or white→green)
   clipped gradient fill — see --text-heading-fill.
   =========================================================================== */

:root {
  /* --- Families --------------------------------------------------------- */
  --font-display: "Oswald", "Arial Narrow", sans-serif;        /* H1/H2, eyebrows */
  --font-serif-accent: "Libre Caslon Condensed", Georgia, serif; /* italic accent */
  --font-brand: "General Sans Variable", "General Sans", Arial, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* --- Weights ---------------------------------------------------------- */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* --- Type scale (rem) ------------------------------------------------- */
  --text-display: 4.5rem;    /* hero H1, marketing                          */
  --text-h1: 2.8rem;
  --text-h2: 2.5rem;
  --text-h3: 1.6rem;
  --text-h4: 1.2rem;
  --text-h5: 1.5rem;         /* General Sans sub-heads                      */
  --text-h6: 1.25rem;
  --text-lg: 1.125rem;       /* lead paragraph                              */
  --text-base: 1rem;
  --text-sm: 0.875rem;       /* buttons, dense UI                           */
  --text-xs: 0.75rem;        /* eyebrows, table meta, mono labels           */
  --text-2xs: 0.6875rem;

  /* --- Line heights ----------------------------------------------------- */
  --leading-tight: 1.1;      /* display                                     */
  --leading-heading: 1.2;
  --leading-snug: 1.3;
  --leading-body: 1.45;
  --leading-relaxed: 1.6;

  /* --- Letter spacing --------------------------------------------------- */
  --tracking-display: -0.005em;
  --tracking-eyebrow: 0.14em;  /* uppercase Oswald / mono eyebrows          */
  --tracking-mono: 0.02em;
  --tracking-normal: 0;

  /* --- Heading gradient fill (clip onto text) --------------------------- */
  --text-heading-fill: linear-gradient(90deg, #ffffff, #9e9e9e);
  --text-heading-fill-green: linear-gradient(90deg, #ffffff, var(--rd8-green-bright));
}
