/* ==========================================================================
   Nuline Connect — Typography tokens
   Brand wordmark "CONNECT" is geometric; we echo it with Jost for display.
   Manrope carries the UI (clean, humanist, excellent at small sizes).
   IBM Plex Mono renders sensor data — tabular figures for temperatures/IDs.
   NOTE: Jost is a Google-Fonts substitute for the unknown brand wordmark face.
   ========================================================================== */

:root {
  /* Families */
  --font-display: "Jost", "Manrope", system-ui, sans-serif;   /* headings, wordmark */
  --font-ui:      "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-data:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

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

  /* Type scale (1.200 minor-third, 16px base) */
  --text-2xs: 0.6875rem;  /* 11px — micro labels, legend */
  --text-xs:  0.75rem;    /* 12px — captions, table meta */
  --text-sm:  0.875rem;   /* 14px — secondary UI */
  --text-md:  1rem;       /* 16px — body default */
  --text-lg:  1.125rem;   /* 18px — lead, card title */
  --text-xl:  1.375rem;   /* 22px — section heading */
  --text-2xl: 1.75rem;    /* 28px — screen title */
  --text-3xl: 2.25rem;    /* 36px — display */
  --text-4xl: 3rem;       /* 48px — hero */
  --text-5xl: 4rem;       /* 64px — marketing hero */

  /* Reading numbers big: dedicated readout sizes (data font) */
  --readout-sm: 1.5rem;
  --readout-md: 2.5rem;
  --readout-lg: 3.5rem;

  /* Line heights */
  --leading-tight: 1.15;
  --leading-snug:  1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* Letter spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.12em;   /* the "CONNECT" wordmark spacing, eyebrows */

  /* Semantic roles */
  --type-display: var(--weight-semibold) var(--text-3xl)/var(--leading-tight) var(--font-display);
  --type-title:   var(--weight-semibold) var(--text-2xl)/var(--leading-tight) var(--font-display);
  --type-heading: var(--weight-semibold) var(--text-xl)/var(--leading-snug) var(--font-ui);
  --type-body:    var(--weight-regular) var(--text-md)/var(--leading-normal) var(--font-ui);
  --type-label:   var(--weight-semibold) var(--text-sm)/var(--leading-snug) var(--font-ui);
  --type-caption: var(--weight-medium) var(--text-xs)/var(--leading-snug) var(--font-ui);
}
