# Typography

> Three font layers and the UI type scale.

Every product sets its interface in Plus Jakarta Sans; display fonts appear only in brand moments, and logos keep their own lettering.

## Fonts

| Token | CSS variable | Value | Use |
| --- | --- | --- | --- |
| font-sans | `--font-sans` | "Plus Jakarta Sans Variable", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif | Shared UI font for every product: tables, forms, buttons and text. |
| font-mono | `--font-mono` | "JetBrains Mono Variable", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace | Code, IDs, timestamps and tabular data. |

- Use `font-sans` for all interface text.
- Use `font-mono` for codes, IDs, timestamps and data that must line up.
- Use `font-brand` only in brand moments: the login hero, welcome screens and the top of the home screen. See [Brand moments](https://design.sosialoka.tech/brand/#brand-moments).

## Scale



| Token | CSS variable | Value | Use |
| --- | --- | --- | --- |
| text-xs | `--text-xs` | 0.75rem | Font size for captions, badges and table meta. |
| text-xs--line-height | `--text-xs--line-height` | 1rem | Line height paired with text-xs. |
| text-sm | `--text-sm` | 0.875rem | Font size for default UI text: table cells, inputs, buttons. |
| text-sm--line-height | `--text-sm--line-height` | 1.25rem | Line height paired with text-sm. |
| text-base | `--text-base` | 1rem | Font size for body copy and form text on wide layouts. |
| text-base--line-height | `--text-base--line-height` | 1.5rem | Line height paired with text-base. |
| text-lg | `--text-lg` | 1.125rem | Font size for lead paragraphs and card titles. |
| text-lg--line-height | `--text-lg--line-height` | 1.75rem | Line height paired with text-lg. |
| text-xl | `--text-xl` | 1.25rem | Font size for section headings inside a page. |
| text-xl--line-height | `--text-xl--line-height` | 1.75rem | Line height paired with text-xl. |
| text-2xl | `--text-2xl` | 1.5rem | Font size for page titles in the dashboard. |
| text-2xl--line-height | `--text-2xl--line-height` | 2rem | Line height paired with text-2xl. |
| text-3xl | `--text-3xl` | 1.875rem | Font size for large page titles and empty-state headlines. |
| text-3xl--line-height | `--text-3xl--line-height` | 2.25rem | Line height paired with text-3xl. |
| text-4xl | `--text-4xl` | 2.25rem | Font size for hero numbers and marketing headlines. |
| text-4xl--line-height | `--text-4xl--line-height` | 2.5rem | Line height paired with text-4xl. |

- Use sentence case for titles, buttons and labels.
- Use `font-variant-numeric: tabular-nums` wherever numbers line up in columns.
