/* Genesis — Typography tokens
   Display: General Sans (bold, tight tracking)
   Body/UI: DM Sans
   Code:    JetBrains Mono */

:root {
  --font-display: "General Sans", "DM Sans", system-ui, sans-serif;
  --font-body:    "DM Sans", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Type scale (px) */
  --fs-display:   72px;
  --fs-headline:  60px;
  --fs-section:   32px;
  --fs-subhead:   24px;
  --fs-body:      15px;
  --fs-small:     13px;
  --fs-caption:   12px;
  --fs-overline:  11px;

  /* Line heights */
  --lh-display:  1.02; /* @kind other */
  --lh-heading:  1.08; /* @kind other */
  --lh-subhead:  1.25; /* @kind other */
  --lh-body:     1.55; /* @kind other */
  --lh-tight:    1.2; /* @kind other */

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

  /* Letter spacing */
  --tracking-display: -0.04em;
  --tracking-heading: -0.03em;
  --tracking-normal:  0;
  --tracking-wide:    0.02em;
  --tracking-overline: 0.08em;

  /* Semantic roles */
  --text-display:  var(--fw-bold) var(--fs-display)/var(--lh-display) var(--font-display);
  --text-headline: var(--fw-bold) var(--fs-headline)/var(--lh-heading) var(--font-display);
  --text-section:  var(--fw-bold) var(--fs-section)/var(--lh-heading) var(--font-display);
  --text-subhead:  var(--fw-semibold) var(--fs-subhead)/var(--lh-subhead) var(--font-display);
}
