/* Consuma — Typography tokens
   Tailwind v4 naming: --font-*, --font-weight-*, and --text-<name> sizes with
   paired --text-<name>--line-height / --letter-spacing / --font-weight keys. */

:root {
  --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Weights */
  --font-weight-normal:    400; /* @kind font */
  --font-weight-medium:    500; /* @kind font */
  --font-weight-semibold:  600; /* @kind font */
  --font-weight-bold:      700; /* @kind font */
  --font-weight-extrabold: 800; /* @kind font */

  /* Type scale — display is tight & heavy, text is calm */
  --text-display-2xl: var(--fluid-display-2xl); /* fluid 34→48px */
  --text-display-2xl--line-height: 1.02;    /* @kind font */
  --text-display-2xl--letter-spacing: -0.02em; /* @kind font */
  --text-display-2xl--font-weight: 800;     /* @kind font */

  --text-display-xl: var(--fluid-display-xl); /* fluid 30→40px */
  --text-display-xl--line-height: 1.04;     /* @kind font */
  --text-display-xl--letter-spacing: -0.02em; /* @kind font */
  --text-display-xl--font-weight: 800;      /* @kind font */

  --text-display-lg: var(--fluid-display-lg); /* fluid 24→32px */
  --text-display-lg--line-height: 1.08;     /* @kind font */
  --text-display-lg--letter-spacing: -0.018em; /* @kind font */
  --text-display-lg--font-weight: 700;      /* @kind font */

  --text-h1: var(--fluid-h1); /* fluid 21→24px */
  --text-h1--line-height: 1.15;  /* @kind font */
  --text-h1--letter-spacing: -0.015em; /* @kind font */
  --text-h1--font-weight: 700;   /* @kind font */

  --text-h2: 1.25rem;            /* 20px */
  --text-h2--line-height: 1.2;   /* @kind font */
  --text-h2--letter-spacing: -0.012em; /* @kind font */
  --text-h2--font-weight: 700;   /* @kind font */

  --text-h3: 1.0625rem;          /* 17px */
  --text-h3--line-height: 1.25;  /* @kind font */
  --text-h3--letter-spacing: -0.01em; /* @kind font */
  --text-h3--font-weight: 600;   /* @kind font */

  --text-h4: 0.9375rem;          /* 15px */
  --text-h4--line-height: 1.3;   /* @kind font */
  --text-h4--letter-spacing: -0.006em; /* @kind font */
  --text-h4--font-weight: 600;   /* @kind font */

  --text-body-lg: 1rem;          /* 16px */
  --text-body-lg--line-height: 1.5;  /* @kind font */

  /* AI/chat output body text — 16px with a roomier 26px leading */
  --text-chat-output: 1rem;              /* 16px */
  --text-chat-output--line-height: 1.625; /* 26px @kind font */

  --text-body: 0.875rem;         /* 14px */
  --text-body--line-height: 1.55;    /* @kind font */

  --text-body-sm: 0.75rem;       /* 12px */
  --text-body-sm--line-height: 1.5;  /* @kind font */

  --text-caption: 0.6875rem;     /* 11px */
  --text-caption--line-height: 1.4;  /* @kind font */
  --text-caption--letter-spacing: 0.005em; /* @kind font */

  --text-overline: 0.625rem;     /* 10px */
  --text-overline--line-height: 1.3; /* @kind font */
  --text-overline--letter-spacing: 0.08em; /* @kind font */
  --text-overline--font-weight: 600; /* @kind font */
}
