/* ===========================================================================
   Sugarcane — Typography tokens
   Families: CS PraJad (UI, Thai+Latin), Roboto (Latin display),
   JetBrains Mono (numerals / data / IDs).
   Type scale is a major-third-ish ramp tuned for dense data UIs.
   =========================================================================== */

:root {
  /* Families */
  --font-sans:    'CS PraJad', 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Roboto', 'CS PraJad', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'CS PraJad', ui-monospace, 'SFMono-Regular', monospace;

  /* Weights */
  --fw-light:     300; /* @kind other */
  --fw-regular:   400; /* @kind other */
  --fw-medium:    500; /* @kind other */
  --fw-semibold:  600; /* @kind other */
  --fw-bold:      700; /* @kind other */

  /* Font sizes (rem; base 16px) */
  --fs-2xs:  0.6875rem;  /* 11px — micro labels, table chrome */
  --fs-xs:   0.75rem;    /* 12px — captions, metadata */
  --fs-sm:   0.8125rem;  /* 13px — dense table body, secondary */
  --fs-base: 0.9375rem;  /* 15px — body default */
  --fs-md:   1rem;       /* 16px — comfortable body */
  --fs-lg:   1.125rem;   /* 18px — lead, card titles */
  --fs-xl:   1.375rem;   /* 22px — section headings */
  --fs-2xl:  1.75rem;    /* 28px — page titles */
  --fs-3xl:  2.25rem;    /* 36px — display small */
  --fs-4xl:  3rem;       /* 48px — display */
  --fs-5xl:  3.75rem;    /* 60px — hero display */

  /* Line heights */
  --lh-tight:   1.15; /* @kind other */
  --lh-snug:    1.3; /* @kind other */
  --lh-normal:  1.5; /* @kind other */
  --lh-relaxed: 1.65; /* @kind other */

  /* Letter spacing */
  --ls-tight:  -0.02em; /* @kind other */
  --ls-snug:   -0.01em; /* @kind other */
  --ls-normal: 0; /* @kind other */
  --ls-wide:   0.02em; /* @kind other */
  --ls-caps:   0.06em; /* @kind other */

  /* Numeric helper — tabular figures for tables & metrics */
  --fvar-tabular: 'tnum' 1, 'lnum' 1; /* @kind other */
}
