# Monad — Design Reference
> warm paper, monospace machinery

**Source:** https://www.monad.com  
**Theme:** light  
**Category:** SaaS  
**Mood:** light, editorial, technical, minimal, typographic, calm  
**Captured:** 2026-10-22

## Overview

A warm off-white editorial surface carrying technical content: oversized Untitled Serif headlines sit above body copy set entirely in a monospace face, so the page reads like a well-printed engineering brief rather than a typical SaaS landing. Pill-shaped black and cobalt CTAs, hairline-outlined cards and soft green/blue/orange gradient diagrams supply the only colour; everything else is paper and ink.

Technically it is built on three moves: a two-family type system (Untitled Serif at 80/48/32/24px, line-height 1.2, letter-spacing −0.02em for all headings; ABC Diatype Mono at 20/16/14px, line-height 1.35 for every paragraph, label and nav link), a near-monochrome palette of #f8f3f1 ground with #242424/#000000 ink plus a single Lake Blue #2b59d1 accent, and shape discipline — 16px radius on cards, 100px pills on buttons, 1px borders at full or 20% off-black opacity, no shadows except a faint 10px glow on floating menus. Spacing runs on a 4px base with 20/28/40/64/100px as the working steps, inside a 1432px container.

## Tokens — Colors

| Name | Value | Token | Role |
|---|---|---|---|
| Paper Off-White | `#f8f3f1` | `--color-background` | Global page ground on every route; also the label colour on dark buttons and nav text over the black announcement bar. |
| Linen Grey | `#f6f3f1` | `--color-surface` | The dominant measured surface — section fills and card interiors that sit a hair cooler than the page ground. |
| Off-Black Ink | `#242424` | `--color-foreground` | Primary body and card text, card hairline borders, default button fill token (--_buttons---background). |
| True Black | `#000000` | `--color-foreground-strong` | H1/H2 display headings, announcement bar background, LOGIN button fill and logo mark. |
| Card White | `#ffffff` | `--color-card` | Raised inner panels — diagram chips, product screenshots, blog cards and popovers. |
| Mid Grey | `#9c9998` | `--color-muted-foreground` | Breadcrumb trail, placeholder text and 1px borders on secondary inputs. |
| Lake Blue | `#2b59d1` | `--color-primary` | The GET A DEMO CTA fill and primary app accent; the only saturated UI colour. |
| Sky Blue | `#a0b5eb` | `--color-accent` | Tinted panel wash (the 'Connect Everything' section sits on #cfdaf5/#a0b5eb gradient). |
| Periwinkle Wash | `#cfdaf5` | `--color-accent-surface` | Large soft-blue feature-section background, second-largest coloured area on the page. |
| Early Green | `#a7fccd` | `--color-success-surface` | Pipeline diagram glow and 'reduce/route' node highlights; success tint. |
| Signal Green | `#27a367` | `--color-success` | Check icons and healthy-route indicators inside diagrams. |
| Crimson Orange | `#f37a0a` | `--color-warning` | Alert/finding markers in diagrams and the warm end of card gradients. |
| Destructive Red | `#d74843` | `--color-destructive` | Error/destructive token; error routes in the pipeline illustration. |

### Semantic roles

| Role | Value |
|---|---|
| background | `#f8f3f1` |
| surface | `#f6f3f1` |
| surface raised | `#ffffff` |
| border | `rgba(36, 36, 36, 0.2)` |
| text | `#242424` |
| text muted | `#9c9998` |
| primary | `#242424` |
| primary text | `#f8f3f1` |
| accent | `#2b59d1` |
| success | `#27a367` |
| warning | `#f37a0a` |
| danger | `#d74843` |

## Tokens — Typography

- **Display:** Untitled Serif (400, 500) — fallbacks: Times New Roman, Georgia, Source Serif 4, serif. Every heading h1–h6, FAQ questions and pull-quote strongs. Always regular weight — size, not boldness, creates hierarchy. Tight −0.02em tracking, 1.2 line-height.
- **Body:** ABC Diatype Mono (400, 500, 700) — fallbacks: JetBrains Mono, IBM Plex Mono, Inconsolata, ui-monospace, monospace. The real body face — paragraphs, nav links, buttons, badges, captions. Monospace used as editorial text, not as code; 1.35 line-height, −0.02em.
- **Accent:** Untitled Sans (400, 500) — fallbacks: Inter, Helvetica Neue, system-ui, sans-serif. Long-form blog prose and blockquotes only, where monospace would tire the reader. 20px/1.35.

| Role | Size | Line height | Weight | Letter spacing | Family |
|---|---|---|---|---|---|
| Display (hero H1) | 80px | 1.2 | 400 | -0.02em | display |
| H2 / section title | 48px | 1.2 | 400 | -0.02em | display |
| H3 / FAQ question | 32px | 1.2 | 400 | -0.02em | display |
| H4 / card title | 24px | 1.2 | 400 | -0.02em | display |
| Lead paragraph | 20px | 1.35 | 400 | -0.02em | body |
| Body | 16px | 1.35 | 400 | -0.02em | body |
| Eyebrow / nav link | 16px | 1.3 | 400 | 0.05em | body |
| Button label | 14.4px | 1 | 400 | 0.05em | body |
| Caption / meta | 14px | 1.35 | 400 | -0.02em | body |

## Tokens — Spacing & Layout

- **Base unit:** 4px
- **Density:** spacious
- **Container max width:** 1432px
- **Section gap:** 100px
- **Card padding:** 40px
- **Scale:** 4px, 8px, 12px, 16px, 20px, 28px, 40px, 64px, 80px, 100px, 128px

## Tokens — Radius

| Element | Value |
|---|---|
| Card / panel | 16px |
| Inner tile, image, screenshot | 8px |
| Search input | 12px |
| Badge / diagram chip | 4px |
| Button, pill input, nav CTA | 100px |
| Avatar / logo dot | 50% |

## Tokens — Shadows

| Name | Value | Usage |
|---|---|---|
| menu-glow | `rgba(0, 0, 0, 0.1) 0px 0px 10px 0px` | The only shadow in the system — dropdown menus, the mobile nav panel and floating diagram chips. Everything else uses hairline borders instead of elevation. |

## Components

### Primary button (dark pill) (button)

| Property | Value |
|---|---|
| background | `#242424` |
| color | `#f8f3f1` |
| border | `1px solid #242424` |
| radius | `100px` |
| padding | `10.8px 23.04px` |
| font size | `14.4px` |
| font weight | `400` |
| shadow | `none` |
| hover | `background stays #242424, label stays #f8f3f1; subtle opacity/scale shift only — no colour jump` |

ABC Diatype Mono, uppercase, letter-spacing 0.05em. Used for START TRIAL, TRY MONAD TODAY, LOGIN (which uses pure #000000). Larger hero variant runs ~18px label and 16px 32px padding.

### Accent CTA (Lake Blue pill) (button)

| Property | Value |
|---|---|
| background | `#2b59d1` |
| color | `#ffffff` |
| border | `1px solid #2b59d1` |
| radius | `100px` |
| padding | `12px 24px` |
| font size | `16px` |
| font weight | `400` |
| shadow | `none` |
| hover | `darken to #2449ad; chevron glyph nudges 2px right` |

Reserved for GET A DEMO in the nav bar and mobile menu. Always paired with a trailing ▸ chevron set in the mono face.

### Secondary button (outline pill) (button)

| Property | Value |
|---|---|
| background | `transparent` |
| color | `#242424` |
| border | `1px solid rgba(36, 36, 36, 0.2)` |
| radius | `100px` |
| padding | `14px 24px` |
| font size | `14.4px` |
| font weight | `400` |
| shadow | `none` |
| hover | `border darkens to #242424; background fills #2424240d` |

VIEW INTEGRATIONS beside the hero primary; uppercase mono label, identical height to the dark pill (38–48px depending on scale).

### Pill input (input)

| Property | Value |
|---|---|
| background | `transparent` |
| color | `#000000` |
| border | `1px solid #9c9998` |
| radius | `40px` |
| padding | `10.8px 20px` |
| font size | `14.4px` |
| font weight | `400` |
| shadow | `none` |
| hover | `border → #242424 on focus; no ring, no fill` |

Form fields (e.g. 'Integration Request'). A squarer 12px-radius, 52px-tall variant with a #242424 border is used for the integrations search field.

### Outlined feature card (card)

| Property | Value |
|---|---|
| background | `transparent` |
| color | `#242424` |
| border | `1px solid #242424` |
| radius | `16px` |
| padding | `40px` |
| font size | `16px` |
| font weight | `400` |
| shadow | `none` |
| hover | `border opacity to full; inner gradient wash brightens slightly` |

'Why Teams Choose Monad' grid: icon, 24px serif title, 16px mono body, and a soft corner gradient (green, amber, pink-sky or orange) bleeding from the top-left. Wide variants use 64px padding and a 20%-opacity border.

### Transparent sticky nav (nav)

| Property | Value |
|---|---|
| background | `rgba(0, 0, 0, 0)` |
| color | `#242424` |
| border | `none` |
| radius | `0` |
| padding | `20px 40px` |
| font size | `16px` |
| font weight | `400` |
| shadow | `none` |
| hover | `link dims to rgba(36,36,36,0.6); chevron rotates 180° on open` |

Sits over the page ground with no backdrop or bottom rule. Uppercase mono links with 0.05em tracking and small chevrons; a black announcement bar with a white pill 'READ THE BLOG' button and ✕ dismiss sits above it.

### Diagram chip / badge (badge)

| Property | Value |
|---|---|
| background | `#ffffff` |
| color | `#242424` |
| border | `1px solid rgba(36, 36, 36, 0.2)` |
| radius | `100px` |
| padding | `8px 16px` |
| font size | `14px` |
| font weight | `400` |
| shadow | `rgba(0, 0, 0, 0.1) 0px 0px 10px 0px` |
| hover | `none — decorative` |

ANY SOURCE / CLOUD LOGS / SIEM nodes in the pipeline illustration: white pill, small mono uppercase label, leading line icon, connected by 1px grey bezier curves.

## Layout

Single centred column up to 1432px with generous 40–100px gutters. Hero is centre-aligned on the homepage (80px serif headline, 20px mono lead at ~60ch, two pills) and left-aligned with a right-hand illustration on inner pages. Sections stack at ~100–128px rhythm: logo wall, a 2-column asymmetric feature grid (one tall card + three wide cards), a full-bleed tinted accent band, a 2×2 outlined card grid, a single-column accordion FAQ with 1px dividers, then a bordered 16px-radius CTA panel and a 4-column mono footer. Grid gaps are 28px by default.

## Imagery

No photography. All visuals are custom vector diagrams: node-and-edge pipeline graphs with white pill labels, 1px grey curves and a diffuse radial glow (early green #a7fccd, sky blue #a0b5eb) behind the centre. Product UI appears as flat, simplified mock screenshots on white with 8px radii. Partner logos are rendered flat black on the paper ground. Corner gradients (green→paper, amber→paper, orange→pink) wash the inside of feature cards and the final CTA panel.

## Motion

Restrained Webflow-style motion: fade-and-rise on section scroll-in, dropdown menus that fade with the 10px glow shadow, chevrons rotating on accordion/dropdown open, and slow looping animation in the pipeline diagram (dot pulses travelling along routes). Button hovers are opacity/border shifts only — nothing bounces or scales dramatically.

## Responsive

Below ~991px the nav collapses to a logo plus a three-line hamburger; tapping it opens a card-style drawer pinned under the header — a 16px-radius panel on #f6f3f1 with a soft 10px glow, each section (PLATFORM, SOLUTIONS ▾, INTEGRATIONS, RESOURCES ▾, ABOUT US ▾) listed at ~20px uppercase mono with 1px hairline dividers, and the two CTAs stacked full-width as 100px pills (black LOGIN above blue GET A DEMO). The announcement bar wraps to three mono lines with the READ THE BLOG pill dropping below the text and the ✕ right-aligned. The hero stacks and centres: the 80px display drops to roughly 44–48px over three lines, the mono lead keeps its centred measure, and the primary pill goes full-width while the secondary button is often dropped. Side gutters tighten from 40px to ~20px, section gaps from ~100px to ~60px, card padding from 40–64px to ~24–32px, and all multi-column grids become a single column with the diagrams cropping/scrolling rather than shrinking illegibly.

## Do

- Set every paragraph, label, nav link and button in ABC Diatype Mono — the monospace body is the signature, not a code accent.
- Keep headings at Untitled Serif 400 with −0.02em tracking and 1.2 line-height; create hierarchy by jumping 80 → 48 → 32 → 24px, never by bolding.
- Use hairline borders (1px #242424 or rgba(36,36,36,0.2)) with 16px radii instead of shadows to define cards and panels.
- Make buttons full pills (100px radius) with uppercase mono labels at 0.05em tracking; dark #242424 for primary, #2b59d1 only for the demo CTA.
- Let the warm #f8f3f1 ground run uninterrupted; introduce colour only as soft diagram glows or one tinted full-bleed band.
- Pair every CTA label with the small mono chevron (▸) used in the nav for consistency.

## Don't

- Don't use a neutral grey or pure white page background — the warmth of #f8f3f1 against black ink is the whole character.
- Don't set body copy in a sans-serif on marketing pages; Untitled Sans is reserved for long-form blog prose.
- Don't bold the serif headings or add drop shadows to text — only the 500 weight appears, and only in inline strongs.
- Don't scatter the Lake Blue #2b59d1: one accent CTA per viewport, no blue links in body copy, no blue section fills beyond the single periwinkle band.
- Don't add elevation stacks; the system has exactly one shadow (0 0 10px rgba(0,0,0,.1)) for floating menus.
- Don't crowd the layout — sections breathe at 100px+ and cards at 40–64px padding; compressing them reads as a generic SaaS template.

## Agent prompt

> Build a light, editorial-technical SaaS site on a warm paper ground #f8f3f1 with off-black ink #242424 (true black #000000 for hero headings and the top announcement bar). Type is two-voiced: all headings in Untitled Serif (fallbacks Times New Roman, Source Serif 4) at weight 400 only — 80px/1.2/−0.02em display, 48px H2, 32px H3, 24px card title — and absolutely all body text, nav links, labels and buttons in ABC Diatype Mono (fallbacks JetBrains Mono, IBM Plex Mono) at 20px/1.35 lead, 16px body, 14px caption, −0.02em, with uppercase eyebrows and nav links at 16px/0.05em tracking. Container 1432px, 4px base unit, working steps 8/12/16/20/28/40/64/100px, section rhythm ~100px, card padding 40px (64px on wide panels), grid gap 28px. Shapes: cards 16px radius with 1px #242424 or rgba(36,36,36,0.2) hairline borders and transparent/white (#ffffff) fills, inner tiles 8px, badges 4px, and all buttons as 100px pills — primary #242424 with #f8f3f1 uppercase mono label at 10.8px 23.04px padding, secondary as transparent outline with rgba(36,36,36,0.2) border, and one accent CTA in Lake Blue #2b59d1 with white label plus a trailing ▸ chevron. Inputs are transparent 40px pills with a #9c9998 border (or a 12px-radius 52px search field with a #242424 border). No shadows anywhere except rgba(0,0,0,0.1) 0 0 10px on dropdowns and the mobile drawer. Imagery is vector only: node-and-edge pipeline diagrams with white pill labels, 1px grey curves and diffuse radial glows in early green #a7fccd and sky blue #a0b5eb, plus one full-bleed periwinkle #cfdaf5 feature band and soft corner gradients (#f37a0a, #ecda98, #ff8a65) inside outlined cards; semantic greens #27a367, red #d74843. Nav is sticky and fully transparent with no border or blur; on mobile it collapses to a hamburger opening a 16px-radius drawer card with hairline-divided uppercase links and two full-width stacked pill CTAs, the hero centring and dropping to ~46px serif. Motion is restrained: fade-and-rise on scroll, rotating chevrons, opacity-only hovers.

## CSS custom properties

```css
/* Monad — CSS custom properties. Generated from style.json */
:root {
  /* Palette */
  --color-background: #f8f3f1; /* Global page ground on every route; also the label colour on dark buttons and nav text over the black announcement bar. */
  --color-surface: #f6f3f1; /* The dominant measured surface — section fills and card interiors that sit a hair cooler than the page ground. */
  --color-foreground: #242424; /* Primary body and card text, card hairline borders, default button fill token (--_buttons---background). */
  --color-foreground-strong: #000000; /* H1/H2 display headings, announcement bar background, LOGIN button fill and logo mark. */
  --color-card: #ffffff; /* Raised inner panels — diagram chips, product screenshots, blog cards and popovers. */
  --color-muted-foreground: #9c9998; /* Breadcrumb trail, placeholder text and 1px borders on secondary inputs. */
  --color-primary: #2b59d1; /* The GET A DEMO CTA fill and primary app accent; the only saturated UI colour. */
  --color-accent: #a0b5eb; /* Tinted panel wash (the 'Connect Everything' section sits on #cfdaf5/#a0b5eb gradient). */
  --color-accent-surface: #cfdaf5; /* Large soft-blue feature-section background, second-largest coloured area on the page. */
  --color-success-surface: #a7fccd; /* Pipeline diagram glow and 'reduce/route' node highlights; success tint. */
  --color-success: #27a367; /* Check icons and healthy-route indicators inside diagrams. */
  --color-warning: #f37a0a; /* Alert/finding markers in diagrams and the warm end of card gradients. */
  --color-destructive: #d74843; /* Error/destructive token; error routes in the pipeline illustration. */

  /* Semantic roles */
  --background: #f8f3f1;
  --surface: #f6f3f1;
  --surface-raised: #ffffff;
  --border: rgba(36, 36, 36, 0.2);
  --text: #242424;
  --text-muted: #9c9998;
  --primary: #242424;
  --primary-text: #f8f3f1;
  --accent: #2b59d1;
  --success: #27a367;
  --warning: #f37a0a;
  --danger: #d74843;

  /* Typography */
  --font-display: 'Untitled Serif', 'Times New Roman', Georgia, 'Source Serif 4', serif;
  --font-body: 'ABC Diatype Mono', 'JetBrains Mono', 'IBM Plex Mono', Inconsolata, ui-monospace, monospace;
  --font-accent: 'Untitled Sans', Inter, 'Helvetica Neue', system-ui, sans-serif;
  --text-display-hero-h1: 80px;
  --text-display-hero-h1--line-height: 1.2;
  --text-display-hero-h1--letter-spacing: -0.02em;
  --text-display-hero-h1--font-weight: 400;
  --text-h2-section-title: 48px;
  --text-h2-section-title--line-height: 1.2;
  --text-h2-section-title--letter-spacing: -0.02em;
  --text-h2-section-title--font-weight: 400;
  --text-h3-faq-question: 32px;
  --text-h3-faq-question--line-height: 1.2;
  --text-h3-faq-question--letter-spacing: -0.02em;
  --text-h3-faq-question--font-weight: 400;
  --text-h4-card-title: 24px;
  --text-h4-card-title--line-height: 1.2;
  --text-h4-card-title--letter-spacing: -0.02em;
  --text-h4-card-title--font-weight: 400;
  --text-lead-paragraph: 20px;
  --text-lead-paragraph--line-height: 1.35;
  --text-lead-paragraph--letter-spacing: -0.02em;
  --text-lead-paragraph--font-weight: 400;
  --text-body: 16px;
  --text-body--line-height: 1.35;
  --text-body--letter-spacing: -0.02em;
  --text-body--font-weight: 400;
  --text-eyebrow-nav-link: 16px;
  --text-eyebrow-nav-link--line-height: 1.3;
  --text-eyebrow-nav-link--letter-spacing: 0.05em;
  --text-eyebrow-nav-link--font-weight: 400;
  --text-button-label: 14.4px;
  --text-button-label--line-height: 1;
  --text-button-label--letter-spacing: 0.05em;
  --text-button-label--font-weight: 400;
  --text-caption-meta: 14px;
  --text-caption-meta--line-height: 1.35;
  --text-caption-meta--letter-spacing: -0.02em;
  --text-caption-meta--font-weight: 400;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 28px;
  --space-7: 40px;
  --space-8: 64px;
  --space-9: 80px;
  --space-10: 100px;
  --space-11: 128px;
  --container: 1432px;
  --section-gap: 100px;

  /* Radius */
  --radius-card-panel: 16px;
  --radius-inner-tile-image-screenshot: 8px;
  --radius-search-input: 12px;
  --radius-badge-diagram-chip: 4px;
  --radius-button-pill-input-nav-cta: 100px;
  --radius-avatar-logo-dot: 50%;

  /* Shadows */
  --shadow-menu-glow: rgba(0, 0, 0, 0.1) 0px 0px 10px 0px;
}
```

## Tailwind v4 theme

```css
/* Monad — Tailwind CSS v4 theme. Import after tailwindcss: @import "tailwindcss"; then paste this block. */
@theme {
  --color-background: #f8f3f1;
  --color-surface: #f6f3f1;
  --color-foreground: #242424;
  --color-foreground-strong: #000000;
  --color-card: #ffffff;
  --color-muted-foreground: #9c9998;
  --color-primary: #2b59d1;
  --color-accent: #a0b5eb;
  --color-accent-surface: #cfdaf5;
  --color-success-surface: #a7fccd;
  --color-success: #27a367;
  --color-warning: #f37a0a;
  --color-destructive: #d74843;
  --color-background: #f8f3f1;
  --color-surface: #f6f3f1;
  --color-surface-raised: #ffffff;
  --color-border: rgba(36, 36, 36, 0.2);
  --color-text: #242424;
  --color-text-muted: #9c9998;
  --color-primary: #242424;
  --color-primary-text: #f8f3f1;
  --color-accent: #2b59d1;
  --color-success: #27a367;
  --color-warning: #f37a0a;
  --color-danger: #d74843;
  --font-display: 'Untitled Serif', 'Times New Roman', Georgia, 'Source Serif 4', serif;
  --font-body: 'ABC Diatype Mono', 'JetBrains Mono', 'IBM Plex Mono', Inconsolata, ui-monospace, monospace;
  --font-accent: 'Untitled Sans', Inter, 'Helvetica Neue', system-ui, sans-serif;
  --text-display-hero-h1: 80px;
  --text-display-hero-h1--line-height: 1.2;
  --text-display-hero-h1--letter-spacing: -0.02em;
  --text-display-hero-h1--font-weight: 400;
  --text-h2-section-title: 48px;
  --text-h2-section-title--line-height: 1.2;
  --text-h2-section-title--letter-spacing: -0.02em;
  --text-h2-section-title--font-weight: 400;
  --text-h3-faq-question: 32px;
  --text-h3-faq-question--line-height: 1.2;
  --text-h3-faq-question--letter-spacing: -0.02em;
  --text-h3-faq-question--font-weight: 400;
  --text-h4-card-title: 24px;
  --text-h4-card-title--line-height: 1.2;
  --text-h4-card-title--letter-spacing: -0.02em;
  --text-h4-card-title--font-weight: 400;
  --text-lead-paragraph: 20px;
  --text-lead-paragraph--line-height: 1.35;
  --text-lead-paragraph--letter-spacing: -0.02em;
  --text-lead-paragraph--font-weight: 400;
  --text-body: 16px;
  --text-body--line-height: 1.35;
  --text-body--letter-spacing: -0.02em;
  --text-body--font-weight: 400;
  --text-eyebrow-nav-link: 16px;
  --text-eyebrow-nav-link--line-height: 1.3;
  --text-eyebrow-nav-link--letter-spacing: 0.05em;
  --text-eyebrow-nav-link--font-weight: 400;
  --text-button-label: 14.4px;
  --text-button-label--line-height: 1;
  --text-button-label--letter-spacing: 0.05em;
  --text-button-label--font-weight: 400;
  --text-caption-meta: 14px;
  --text-caption-meta--line-height: 1.35;
  --text-caption-meta--letter-spacing: -0.02em;
  --text-caption-meta--font-weight: 400;
  --radius-card-panel: 16px;
  --radius-inner-tile-image-screenshot: 8px;
  --radius-search-input: 12px;
  --radius-badge-diagram-chip: 4px;
  --radius-button-pill-input-nav-cta: 100px;
  --radius-avatar-logo-dot: 50%;
  --shadow-menu-glow: rgba(0, 0, 0, 0.1) 0px 0px 10px 0px;
  --container-site: 1432px;
}
```

## Theme tokens — light + dark

The shadcn-named layer DevDojo Sites speaks (`bg-background`, `text-foreground`, `bg-primary`, `rounded-medium`…). Paste into site.css after `@import "tailwindcss"` to restyle any site in this look.

```css
/* Monad — DevDojo theme tokens (light + dark). Generated from style.json. */
/* Drop into site.css after @import "tailwindcss": bg-background, text-foreground, bg-primary, border-border, rounded-medium… all read these. Dark mode: estimated — the site has no dark scheme, so the .dark half is a plausible twin of its palette. */
@custom-variant dark (&:where(.dark, .dark *));

:root {
    color-scheme: light;

    --background: #f8f3f1;
    --foreground: #242424;
    --card: #ffffff;
    --card-foreground: #060606;
    --popover: #f6f3f1; /* estimated */
    --popover-foreground: #060606; /* estimated */
    --primary: #242424;
    --primary-foreground: #f8f3f1;
    --secondary: #f6f3f1;
    --secondary-foreground: #242424;
    --muted: #eeeded; /* estimated */
    --muted-foreground: #9c9998;
    --accent: #cfdaf5;
    --accent-foreground: #2b59d1; /* estimated */
    --destructive: #d74843;
    --destructive-foreground: #f8f3f1; /* estimated */
    --border: rgba(36, 36, 36, 0.2);
    --input: #9c9998;
    --ring: #2b59d1; /* estimated */

    --radius-small: 8px;
    --radius-medium: 16px;
    --radius-large: 40px;
    --radius: var(--radius-medium);

    --font-display: 'Untitled Serif', 'Times New Roman', Georgia, 'Source Serif 4', serif;
    --font-body: 'ABC Diatype Mono', 'JetBrains Mono', 'IBM Plex Mono', Inconsolata, ui-monospace, monospace;
}

.dark {
    color-scheme: dark;
    /* estimated from the light palette */

    --background: #161514;
    --foreground: #f8f3f1;
    --card: #242424;
    --card-foreground: #f8f3f1;
    --popover: #242424;
    --popover-foreground: #f8f3f1;
    --primary: #f8f3f1;
    --primary-foreground: #242424;
    --secondary: #242424;
    --secondary-foreground: #f8f3f1;
    --muted: #2e2d2c;
    --muted-foreground: #9c9998;
    --accent: #2b59d1;
    --accent-foreground: #f5f9ff;
    --destructive: #d74843;
    --destructive-foreground: #f8f3f1;
    --border: rgba(248, 243, 241, 0.15);
    --input: rgba(248, 243, 241, 0.25);
    --ring: #a0b5eb;
}

@theme inline {
    --color-background: var(--background);
    --color-foreground: var(--foreground);
    --color-card: var(--card);
    --color-card-foreground: var(--card-foreground);
    --color-popover: var(--popover);
    --color-popover-foreground: var(--popover-foreground);
    --color-primary: var(--primary);
    --color-primary-foreground: var(--primary-foreground);
    --color-secondary: var(--secondary);
    --color-secondary-foreground: var(--secondary-foreground);
    --color-muted: var(--muted);
    --color-muted-foreground: var(--muted-foreground);
    --color-accent: var(--accent);
    --color-accent-foreground: var(--accent-foreground);
    --color-destructive: var(--destructive);
    --color-destructive-foreground: var(--destructive-foreground);
    --color-border: var(--border);
    --color-input: var(--input);
    --color-ring: var(--ring);
    --radius-small: var(--radius-small);
    --radius-medium: var(--radius-medium);
    --radius-large: var(--radius-large);
    --font-display: var(--font-display);
    --font-body: var(--font-body);
}
```
