Fair Case

Typography

Type is set by role, never by pixel size. Each role is one text-* utility that sets size, line height and tracking together. Headings scale continuously with the viewport using clamp(); reading and control text stays fixed.

The faces

  • Montagu Slab

    SIL Open Font License 1.1. Weight 400 only, with the optical size axis 16 to 144 (font-optical-sizing: auto). No italic, no tabular figures.

    The headline roles (display, h1 to h4, statement) through the font-serif utility. Covers Latin, Latin Extended and Vietnamese; other scripts use system fonts.

  • Schibsted Grotesk

    SIL Open Font License 1.1. Variable, weights 400 to 900 (loaded as 400 900).

    Body, controls and everything else (--font-sans). Latin and Latin Extended; Vietnamese pages use the system sans because no Vietnamese subset exists. Card headings name it directly at a true 500 (--font-card-title).

  • A licensed sans (build-time slot)

    Commercial. Never committed, and never in production without a licence flag.

    Leads the sans stack only on builds that supply it (previews and staging). It has no 500 of its own, so card headings skip it. This site always shows the open faces.

Roles

Each role is one text-* utility that sets size, line height and tracking together. Sizes below are at a 16px root.

  • text-displayDisplay
  • text-h1H1
  • text-h2H2
  • text-h3H3
  • text-h4H4
  • text-statementStatement
  • text-leadLead
  • text-body-lgBody large
  • text-inputInput
  • text-baseBase
  • text-linkLink
  • text-buttonButton
  • text-footerFooter
  • text-smSmall
  • text-captionCaption
  • text-labelLabel
Text roles
RoleFace390 · 1440 · trackingWhat it is for
text-displayMontagu Slab 40028.15/36.23 · 44/60 · -0.02emPage headline, such as the homepage hero and the Join title.
text-h1Montagu Slab 40028.04/36.04 · 32/40 · -0.02emStandard page titles (decision 0090). In code, the Join step numerals.
text-h2Montagu Slab 40020.06/26.09 · 24/32 · -0.02emSection headings (decision 0090): homepage sections, Join steps, the legal page title.
text-h3Montagu Slab 40018.03/24.03 · 20/26 · -0.02emSubordinate headings (decision 0090). The language sheet title is serif; the homepage card headings are the sans at 500; Join headings are the sans at 600.
text-h4Montagu Slab 40016/24 · 16/24 · -0.01emLegal section headings.
text-statementMontagu Slab 40039.47/39.47 · 96/96 · -0.02emThe expressive statement role, kept apart from reading text (decision 0090). Its size is capped in px and jumps at 768px, and its line height is 1.
text-leadSchibsted Grotesk 40016/26 · 16/26 · 0emThe supporting line under a page headline (hero, Join).
text-body-lgSchibsted Grotesk 40016/26 · 16/26 · 0emRunning text in page sections and legal pages.
text-inputSchibsted Grotesk 40016/26 · 16/26 · 0emText typed into the Ask field.
text-baseSchibsted Grotesk 40016/24 · 16/24 · 0emDefault body text; base.css puts it on the body.
text-linkSchibsted Grotesk 50016/24 · 16/24 · -0.03emNavigation links.
text-buttonSchibsted Grotesk 50016/16 · 16/16 · -0.03emButton labels. Defined with weight 500; no component calls the utility yet (Button uses text-base).
text-footerSchibsted Grotesk 40016/24 · 16/24 · -0.03emFooter text and footer menu buttons.
text-smSchibsted Grotesk 40014/21 · 14/21 · -0.03emSmall text: status notes, the consent line, small chips.
text-captionSchibsted Grotesk 40012/18 · 12/18 · -0.03emThe smallest text role; the Join form's small notes.
text-labelSchibsted Grotesk, weight set by the caller12/18 · 12/18 · +0.06emUppercase badges: the caption size with positive tracking. A caller adds uppercase and a weight (500 on cards and badges, 600 on the Join eyebrow).

Fluid sizes

A fluid role's size is a clamp(): a minimum, a preferred value that follows the window's width, and a maximum. It grows between the two widths in the last column and holds outside them. A fixed role says fixed.

Fluid sizes by text role
RoleMinimumPreferredMaximumGrows between
text-displaymin 1.75rem (28px)1.15rem + 2.5vwmax 2.75rem (44px)384px to 1024px
text-h1min 1.75rem (28px)1.6rem + 0.625vwmax 2rem (32px)384px to 1024px
text-h2min 1.25rem (20px)1rem + 1.042vwmax 1.5rem (24px)384px to 768px
text-h3min 1.125rem (18px)1rem + 0.521vwmax 1.25rem (20px)384px to 768px
text-h416pxfixed
text-statement below 768pxmin none10.12vwmax 40pxup to 395.3px
text-statement from 768pxmin none9.285vw - 8.92pxmax 96pxjumps to 62.39px at 768px, then up to 1130px
text-lead16pxfixed
text-body-lg16pxfixed
text-input16pxfixed
text-base16pxfixed
text-link16pxfixed
text-button16pxfixed
text-footer16pxfixed
text-sm14pxfixed
text-caption12pxfixed
text-label12pxfixed

The bounds of display and h1 to h3 are in rem, so a reader who enlarges their text gets larger type at every width. Each heading's line height stops at the same widths as its size. How the bounds work, and how to change them, is under Fluid sizing.

The statement is the one role outside this rule (decision 0090). It is a min() capped in px, so it does not follow the reader's text size, and it does not grow smoothly: at 768px it jumps from 40px to 62.39px.

Code

TSX

<h1 className="font-serif text-h1">Get started</h1>
<p className="text-base text-muted">…</p>
<p className="text-sm text-muted">Components / Button</p>

Use it well

  • Headings use clamp() with rem bounds and a rem plus viewport-width slope, so a larger root text size also enlarges the type. The owner's standing rule is to keep clamp(); a change replaces endpoints and slopes, not clamp with breakpoint steps (decision 0090).

  • px values on this page are resolved at a 16px root. Display and heading sizes interpolate linearly between a 384px viewport (page titles and display) or 384 to 768px (section headings) and their maximum, then hold.

  • Reading and control roles are fixed: lead, body-lg and input are 16/26, base, link and footer are 16/24, small text is 14/21.

  • Serif roles track at -0.02em at every width (decision 0030).

  • Scripts other than Latin get zero letter spacing and taller lines: 1.625 (Arabic, Persian, Urdu) and 1.75 (Bengali, Khmer, Thai, Hindi) for p and li, and headings get 1.3 or 1.15.

  • Headings, buttons, labels and figcaptions use text-wrap: balance; paragraphs and list items use text-wrap: pretty.