# Cosmos — Design Reference
> paper-white gallery drifting with images

**Source:** https://www.cosmos.so  
**Theme:** light  
**Category:** Productivity  
**Mood:** minimal, airy, photographic, typographic, bold  
**Captured:** 2026-10-30

## Overview

A warm off-white canvas where everything recedes except one enormous, tightly-tracked black headline and a floating pill of a search bar. Hundreds of small rounded image tiles tumble through the hero at varying scale, blur and rotation, turning the background itself into the product: a weightless, depth-of-field collage. UI chrome is almost absent — no nav border, no visible card frames, just soft, barely-there shadows that let white objects lift off the paper ground.

The effect comes from one grotesque family (cosmosOracle) run at extreme size contrast: 72px/1.0 at weight 700 with −0.04em tracking for display, dropping straight to 20px/1.15 medium for nearly all UI text and 14px for metadata. Colour is a near-monochrome ramp — paper #F5F4F1 ground, pure white elevated surfaces, ink #0A0A0A for text and every primary button — with an electric blue reserved for links and badges and photography supplying all the chroma. Shape language is binary: full pills for anything interactive, 16–24px rounded rectangles for anything that holds an image. Spacing is generous and built on a 4px unit inside a 1200px column.

## Tokens — Colors

| Name | Value | Token | Role |
|---|---|---|---|
| Paper | `#f5f4f1` | `--color-background-paper` | Primary page ground for hero, footer and app shell — a warm off-white that lets pure-white cards float |
| Pure White | `#ffffff` | `--color-background-card` | Cards, search bar, login panel, modals and the mobile menu overlay |
| Elevation Grey | `#f0efec` | `--color-background-elevation` | Secondary/ghost button fill, disabled button fill, feature-tile backgrounds |
| Light Elevation | `#fbfaf9` | `--color-background-light-elevation` | Subtlest raised panel, inner cells inside cards |
| Ink | `#0a0a0a` | `--color-text-primary-button-primary` | All headings, body text, logotype and every primary CTA fill |
| Graphite | `#6f6b68` | `--color-text-secondary` | Secondary copy, nav links at rest, feature descriptions |
| Fog | `#9b9793` | `--color-text-tertiary` | Placeholder text, @handles, logo-wall marks |
| Chalk | `#d0cccb` | `--color-text-quaternary-disabled` | Disabled label text and the greyed brand list in 'Shop from brands like' |
| Signal Blue | `#1a15e5` | `--color-button-accent-text-link` | Links, accent buttons and badge fills — the only saturated UI colour |
| Ember Red | `#c23a1e` | `--color-text-critical` | Destructive actions and error states |
| Field Green | `#36a14e` | `--color-text-success` | Success confirmations |
| Amber Dark | `#8c6a00` | `--color-text-warning` | Warning text and AI-flag notices |

### Semantic roles

| Role | Value |
|---|---|
| background | `#F5F4F1` |
| surface | `#F0EFEC` |
| surface raised | `#FFFFFF` |
| border | `rgba(10,10,10,0.12)` |
| text | `#0A0A0A` |
| text muted | `#6F6B68` |
| primary | `#0A0A0A` |
| primary text | `#FFFFFF` |
| accent | `#1A15E5` |
| success | `#36A14E` |
| warning | `#8C6A00` |
| danger | `#C23A1E` |

## Tokens — Typography

- **Display:** cosmosOracle () — fallbacks: Inter, Helvetica Neue, Arial, sans-serif. Custom neo-grotesque with a tall x-height and closed apertures; used at 700 for display and 500 for everything structural. Always set with negative tracking (−2% to −4%).
- **Body:** cosmosOracle () — fallbacks: Inter, Helvetica Neue, Arial, sans-serif. Same family throughout — the design has no second typeface. Weights available: 300, 350, 400, 500, 700.

| Role | Size | Line height | Weight | Letter spacing | Family |
|---|---|---|---|---|---|
| Display | 72px | 0.8 | 700 | -0.04em | display |
| H1 | 72px | 1 | 700 | -0.04em | display |
| H2 | 48px | 1 | 500 | -0.04em | display |
| H3 | 26px | 1.15 | 500 | -0.04em | display |
| Lead / UI | 20px | 1.15 | 500 | -0.02em | body |
| Body | 16px | 1.4 | 400 | -0.02em | body |
| Nav / Label | 15px | 1.47 | 500 | -0.019em | body |
| Small | 14px | 1.4 | 400 | -0.02em | body |
| Caption | 12px | 1.17 | 500 | -0.02em | body |

## Tokens — Spacing & Layout

- **Base unit:** 4px
- **Density:** spacious
- **Container max width:** 1200px
- **Section gap:** 128px
- **Card padding:** 16px
- **Scale:** 4px, 8px, 12px, 16px, 20px, 24px, 32px, 48px, 72px, 80px, 128px

## Tokens — Radius

| Element | Value |
|---|---|
| Buttons, search bar, inputs, badges, avatars | 9999px (full pill) |
| Image tiles / floating collage thumbs | 16px |
| Cards and feature panels | 24px |
| Inner cells, QR panel, segmented controls | 12px |
| Small chips and icon tiles | 8px |
| Hairline tags and micro-elements | 4px |

## Tokens — Shadows

| Name | Value | Usage |
|---|---|---|
| hairline-lift | `0 1px 8px rgba(0,0,0,0.05)` | Default elevation for pills, chips, floating buttons and the scroll-down affordance |
| card | `0 2px 12px rgba(0,0,0,0.02), 0 4px 16px rgba(0,0,0,0.10)` | User cards, QR 'Get the app' panel, anything white sitting on paper |
| panel | `0 3px 12px rgba(0,0,0,0.05)` | Feature tiles and overlaid UI mock-ups |
| inset-bevel | `inset 0 1px 1.5px rgba(255,255,255,0.7), inset 0 -1px 1.5px rgba(0,0,0,0.03)` | Search pill — a faint top highlight and bottom shade that reads as moulded plastic |

## Components

### Primary pill button (button)

| Property | Value |
|---|---|
| background | `#0A0A0A` |
| color | `#FFFFFF` |
| border | `none` |
| radius | `9999px` |
| padding | `16px 24px` |
| font size | `16px` |
| font weight | `500` |
| shadow | `0 1px 8px rgba(0,0,0,0.05)` |
| hover | `background #232323 (hover-primary), no lift` |

Used for 'Sign up', 'Join Cosmos for free', 'Download app', 'Follow'. Nav instance is tighter (10px 20px, 15px text); hero instance is wider (16px 32px). Label is always sentence case.

### Secondary / ghost button (button)

| Property | Value |
|---|---|
| background | `#F0EFEC` |
| color | `#0A0A0A` |
| border | `none` |
| radius | `9999px` |
| padding | `12px 20px` |
| font size | `15px` |
| font weight | `500` |
| shadow | `none` |
| hover | `background #E8E6E2 (hover-secondary)` |

'Log in', 'Explore Cosmos'. On the paper ground it can also be fully transparent with #0A0A0A text and no border. Disabled state keeps the #F0EFEC fill with #D0CCCB label.

### Hero search pill (input)

| Property | Value |
|---|---|
| background | `#FFFFFF` |
| color | `#0A0A0A` |
| border | `1px solid rgba(10,10,10,0.08)` |
| radius | `9999px` |
| padding | `18px 24px` |
| font size | `20px` |
| font weight | `400` |
| shadow | `0 1px 8px rgba(0,0,0,0.05), inset 0 1px 1.5px rgba(255,255,255,0.7)` |
| hover | `border rgba(10,10,10,0.18)` |

~60px tall, max-width ~540px, centered. Leading 24px stroke search glyph in #9B9793, placeholder #9B9793 at 20px with the typed fragment in #0A0A0A. A separate 48px circular white button with the multicolour dot logo sits 8px to its right.

### Form input (login) (input)

| Property | Value |
|---|---|
| background | `#FFFFFF` |
| color | `#0A0A0A` |
| border | `1px solid rgba(10,10,10,0.10)` |
| radius | `9999px` |
| padding | `14px 20px` |
| font size | `16px` |
| font weight | `400` |
| shadow | `none` |
| hover | `border rgba(10,10,10,0.18); focus border #0A0A0A` |

Stacked 8px apart in a ~288px column. Trailing icons (eye-off) are 20px strokes in #9B9793. The submit button below is a full-width pill, disabled until valid.

### User / content card (card)

| Property | Value |
|---|---|
| background | `#FFFFFF` |
| color | `#0A0A0A` |
| border | `none` |
| radius | `24px` |
| padding | `16px` |
| font size | `20px` |
| font weight | `500` |
| shadow | `0 2px 12px rgba(0,0,0,0.02), 0 4px 16px rgba(0,0,0,0.10)` |
| hover | `shadow deepens slightly; no translate` |

~270px wide in a horizontally scrolling row. Three-up image strip at the top, circular avatar overlapping its lower edge, name at 20px/500, @handle at 14px/400 in #9B9793, then a full-width black pill 'Follow'.

### Top navigation (nav)

| Property | Value |
|---|---|
| background | `transparent` |
| color | `#0A0A0A` |
| border | `none` |
| radius | `0px` |
| padding | `0 32px` |
| font size | `15px` |
| font weight | `500` |
| shadow | `none` |
| hover | `link colour #0A0A0A from #6F6B68` |

92px tall, sticky, fully transparent over the collage — no border, no backdrop blur. Three-zone layout: dot logo + Explore/Sequence/Shop on the left, centred 'COSMOS' wordmark at 20px/700 with tight tracking, Log in + black Sign up pill on the right.

### Floating app badge (other)

| Property | Value |
|---|---|
| background | `#FFFFFF` |
| color | `#0A0A0A` |
| border | `none` |
| radius | `16px` |
| padding | `16px` |
| font size | `16px` |
| font weight | `500` |
| shadow | `0 2px 12px rgba(0,0,0,0.02), 0 4px 16px rgba(0,0,0,0.10)` |
| hover | `none` |

Fixed bottom-right QR panel: Apple + Play glyphs, 'Get the app' label, then a ~128px black QR with the Cosmos dot mark at its centre. Hidden below the md breakpoint.

### Inline image tile (other)

| Property | Value |
|---|---|
| background | `transparent` |
| color | `inherit` |
| border | `none` |
| radius | `16px` |
| padding | `0` |
| font size | `inherit` |
| font weight | `400` |
| shadow | `0 1px 8px rgba(0,0,0,0.05)` |
| hover | `none` |

The collage unit and also a typographic device — a 16px-rounded photo set inline inside the H1 ('go-to outfit ▣'), baseline-aligned at roughly cap height, rotated 0–12deg in the background field.

## Layout

Single 1200px centred column over a full-bleed paper ground. The hero is a full-viewport stage: a transparent 92px nav, a two-line 72px headline optically centred, the search pill, then the CTA pill, with a 40px circular scroll-cue at the bottom edge — all floating above a z-layered field of rotated image tiles that vary in scale and blur to fake depth. Below the fold the page becomes a quiet editorial stack: left-aligned 48px section headings, horizontally scrolling card rails with a circular chevron overlay on the right edge, a two-column brand list paired with a loose asymmetric photo grid, a greyscale logo wall, and a paper-ground footer pairing a 72px 'Discover what's next' with four link columns and the QR panel. Section rhythm is 128px.

## Imagery

Photography carries 100% of the colour. Real editorial and user-saved images — fashion, interiors, objects — cropped square-ish and masked to 16px radii. In the hero they are scattered at random rotations with foreground tiles sharp and far tiles blurred and faded toward the paper ground, creating parallax depth. Product and partner imagery is uncropped and placed on a loose asymmetric grid with generous white gaps. Logos in the trust row are rendered flat in #D0CCCB/#9B9793 greyscale.

## Motion

Tiles drift and rotate slowly and continuously through the hero with staggered easing, scaling up as they approach the viewer. The headline's noun swaps between words ('outfit' → 'lamp with character') with the inline image tile and placeholder text changing in sync, typed character by character in the search field. Transitions are short and soft (150–250ms ease-out) on hover for pills and cards; the scroll-cue chevron bobs. Nothing bounces or overshoots.

## Responsive

Below ~900px the nav collapses to a left-aligned COSMOS wordmark, a black 'Download' pill and a 2-line hamburger; tapping it opens a full-screen white overlay (not a drawer) with Home / Explore / Sequence / Careers set at ~40px weight 700 tight-tracked, each row separated by a full-width 1px rgba(10,10,10,0.10) rule, and a full-width black 'Sign up' pill beneath. The hero keeps its collage but crops it to the viewport edges; the headline drops to roughly 40px/1.2 and the two lines gain breathing room, the search pill goes full-width minus 24px gutters with its colour-picker button shrinking to 44px, and the CTA becomes a wide 'Download app' pill with a leading Apple glyph. The fixed QR panel is removed entirely. Section padding falls from 80px to 24px, card rails stay horizontally scrollable with the chevron hidden, and the footer stacks to a single column.

## Do

- Set display type at 72px/0.8–1.0, weight 700, with −0.04em tracking and allow two short lines — the headline is the layout.
- Make every interactive surface a full pill; reserve 16–24px radii exclusively for things containing an image.
- Keep the ground #F5F4F1 and float pure-white elements on it with the 0 4px 16px rgba(0,0,0,0.10) card shadow — never use borders to define cards.
- Let photographs supply all colour; keep every UI element black, white or grey.
- Use 20px/500 as the default UI text size — it is larger than typical and gives the interface its calm, oversized feel.
- Keep the nav transparent and borderless so the collage runs beneath it.

## Don't

- Don't add a border, blur layer or drop shadow to the top navigation.
- Don't apply the blue accent to buttons or headings — it is for links, badges and accent CTAs only.
- Don't use default (0) letter-spacing on headings; untracked grotesque text immediately breaks the identity.
- Don't introduce a second typeface, a serif, or a mono — one grotesque carries display, UI and captions.
- Don't square off buttons or inputs, and don't give the image tiles a stroke or caption frame.
- Don't crowd sections: anything under ~72px of vertical separation reads as a different product.
- Don't place the hero collage behind body copy — the tiles only populate the hero and must fade before text begins.

## Agent prompt

> Build a search-first, image-led site in the style of Cosmos: a warm paper ground (#F5F4F1) with pure-white (#FFFFFF) floating surfaces and ink (#0A0A0A) type, using a single neo-grotesque (cosmosOracle; fall back to Inter/Helvetica Neue) at weights 400/500/700. Hero fills the viewport: a transparent, borderless 92px sticky nav (dot logo + Explore/Sequence/Shop left, centred 20px/700 wordmark, 'Log in' ghost + black pill 'Sign up' right), a centred two-line H1 at 72px/1.0 weight 700 with −0.04em tracking that includes a 16px-rounded photo tile set inline at the end of the phrase, a 60px-tall white search pill (border-radius 9999px, 1px rgba(10,10,10,0.08), 0 1px 8px rgba(0,0,0,0.05) plus an inset 0 1px 1.5px rgba(255,255,255,0.7) highlight, 20px placeholder in #9B9793) with a 48px circular companion button, then a black pill CTA (#0A0A0A, white 16px/500, padding 16px 32px, radius 9999px, hover #232323) and a 40px circular scroll-cue. Behind it all, scatter 30–60 rounded-16px photo tiles at random rotations, scales and blur levels drifting slowly so distant ones fade into the paper. Below the fold use a 1200px column, 128px section gaps, left-aligned 48px/500 section headings with −0.04em tracking, 24px-radius white cards (padding 16px, shadow 0 2px 12px rgba(0,0,0,0.02), 0 4px 16px rgba(0,0,0,0.10)) in horizontally scrolling rails, a greyscale (#D0CCCB) logo wall, and a paper footer with a 72px/700 headline. Spacing on a 4px unit (4/8/12/16/20/24/32/48/80/128). Secondary surfaces are #F0EFEC, secondary text #6F6B68, placeholders #9B9793, hairlines rgba(10,10,10,0.12); #1A15E5 is used only for links and badges. On mobile, collapse the nav into a hamburger that opens a full-screen white menu with 40px/700 links divided by hairlines and a full-width black Sign up pill; drop the H1 to ~40px, make the search and CTA full width, and hide the fixed QR 'Get the app' card. Tone: quiet, oversized, photographic, zero decoration.

## CSS custom properties

```css
/* Cosmos — CSS custom properties. Generated from style.json */
:root {
  /* Palette */
  --color-background-paper: #f5f4f1; /* Primary page ground for hero, footer and app shell — a warm off-white that lets pure-white cards float */
  --color-background-card: #ffffff; /* Cards, search bar, login panel, modals and the mobile menu overlay */
  --color-background-elevation: #f0efec; /* Secondary/ghost button fill, disabled button fill, feature-tile backgrounds */
  --color-background-light-elevation: #fbfaf9; /* Subtlest raised panel, inner cells inside cards */
  --color-text-primary-button-primary: #0a0a0a; /* All headings, body text, logotype and every primary CTA fill */
  --color-text-secondary: #6f6b68; /* Secondary copy, nav links at rest, feature descriptions */
  --color-text-tertiary: #9b9793; /* Placeholder text, @handles, logo-wall marks */
  --color-text-quaternary-disabled: #d0cccb; /* Disabled label text and the greyed brand list in 'Shop from brands like' */
  --color-button-accent-text-link: #1a15e5; /* Links, accent buttons and badge fills — the only saturated UI colour */
  --color-text-critical: #c23a1e; /* Destructive actions and error states */
  --color-text-success: #36a14e; /* Success confirmations */
  --color-text-warning: #8c6a00; /* Warning text and AI-flag notices */

  /* Semantic roles */
  --background: #F5F4F1;
  --surface: #F0EFEC;
  --surface-raised: #FFFFFF;
  --border: rgba(10,10,10,0.12);
  --text: #0A0A0A;
  --text-muted: #6F6B68;
  --primary: #0A0A0A;
  --primary-text: #FFFFFF;
  --accent: #1A15E5;
  --success: #36A14E;
  --warning: #8C6A00;
  --danger: #C23A1E;

  /* Typography */
  --font-display: cosmosOracle, Inter, 'Helvetica Neue', Arial, sans-serif;
  --font-body: cosmosOracle, Inter, 'Helvetica Neue', Arial, sans-serif;
  --text-display: 72px;
  --text-display--line-height: 0.8;
  --text-display--letter-spacing: -0.04em;
  --text-display--font-weight: 700;
  --text-h1: 72px;
  --text-h1--line-height: 1;
  --text-h1--letter-spacing: -0.04em;
  --text-h1--font-weight: 700;
  --text-h2: 48px;
  --text-h2--line-height: 1;
  --text-h2--letter-spacing: -0.04em;
  --text-h2--font-weight: 500;
  --text-h3: 26px;
  --text-h3--line-height: 1.15;
  --text-h3--letter-spacing: -0.04em;
  --text-h3--font-weight: 500;
  --text-lead-ui: 20px;
  --text-lead-ui--line-height: 1.15;
  --text-lead-ui--letter-spacing: -0.02em;
  --text-lead-ui--font-weight: 500;
  --text-body: 16px;
  --text-body--line-height: 1.4;
  --text-body--letter-spacing: -0.02em;
  --text-body--font-weight: 400;
  --text-nav-label: 15px;
  --text-nav-label--line-height: 1.47;
  --text-nav-label--letter-spacing: -0.019em;
  --text-nav-label--font-weight: 500;
  --text-small: 14px;
  --text-small--line-height: 1.4;
  --text-small--letter-spacing: -0.02em;
  --text-small--font-weight: 400;
  --text-caption: 12px;
  --text-caption--line-height: 1.17;
  --text-caption--letter-spacing: -0.02em;
  --text-caption--font-weight: 500;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 48px;
  --space-9: 72px;
  --space-10: 80px;
  --space-11: 128px;
  --container: 1200px;
  --section-gap: 128px;

  /* Radius */
  --radius-buttons-search-bar-inputs-badges-avatars: 9999px (full pill);
  --radius-image-tiles-floating-collage-thumbs: 16px;
  --radius-cards-and-feature-panels: 24px;
  --radius-inner-cells-qr-panel-segmented-controls: 12px;
  --radius-small-chips-and-icon-tiles: 8px;
  --radius-hairline-tags-and-micro-elements: 4px;

  /* Shadows */
  --shadow-hairline-lift: 0 1px 8px rgba(0,0,0,0.05);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.02), 0 4px 16px rgba(0,0,0,0.10);
  --shadow-panel: 0 3px 12px rgba(0,0,0,0.05);
  --shadow-inset-bevel: inset 0 1px 1.5px rgba(255,255,255,0.7), inset 0 -1px 1.5px rgba(0,0,0,0.03);
}
```

## Tailwind v4 theme

```css
/* Cosmos — Tailwind CSS v4 theme. Import after tailwindcss: @import "tailwindcss"; then paste this block. */
@theme {
  --color-background-paper: #f5f4f1;
  --color-background-card: #ffffff;
  --color-background-elevation: #f0efec;
  --color-background-light-elevation: #fbfaf9;
  --color-text-primary-button-primary: #0a0a0a;
  --color-text-secondary: #6f6b68;
  --color-text-tertiary: #9b9793;
  --color-text-quaternary-disabled: #d0cccb;
  --color-button-accent-text-link: #1a15e5;
  --color-text-critical: #c23a1e;
  --color-text-success: #36a14e;
  --color-text-warning: #8c6a00;
  --color-background: #F5F4F1;
  --color-surface: #F0EFEC;
  --color-surface-raised: #FFFFFF;
  --color-border: rgba(10,10,10,0.12);
  --color-text: #0A0A0A;
  --color-text-muted: #6F6B68;
  --color-primary: #0A0A0A;
  --color-primary-text: #FFFFFF;
  --color-accent: #1A15E5;
  --color-success: #36A14E;
  --color-warning: #8C6A00;
  --color-danger: #C23A1E;
  --font-display: cosmosOracle, Inter, 'Helvetica Neue', Arial, sans-serif;
  --font-body: cosmosOracle, Inter, 'Helvetica Neue', Arial, sans-serif;
  --text-display: 72px;
  --text-display--line-height: 0.8;
  --text-display--letter-spacing: -0.04em;
  --text-display--font-weight: 700;
  --text-h1: 72px;
  --text-h1--line-height: 1;
  --text-h1--letter-spacing: -0.04em;
  --text-h1--font-weight: 700;
  --text-h2: 48px;
  --text-h2--line-height: 1;
  --text-h2--letter-spacing: -0.04em;
  --text-h2--font-weight: 500;
  --text-h3: 26px;
  --text-h3--line-height: 1.15;
  --text-h3--letter-spacing: -0.04em;
  --text-h3--font-weight: 500;
  --text-lead-ui: 20px;
  --text-lead-ui--line-height: 1.15;
  --text-lead-ui--letter-spacing: -0.02em;
  --text-lead-ui--font-weight: 500;
  --text-body: 16px;
  --text-body--line-height: 1.4;
  --text-body--letter-spacing: -0.02em;
  --text-body--font-weight: 400;
  --text-nav-label: 15px;
  --text-nav-label--line-height: 1.47;
  --text-nav-label--letter-spacing: -0.019em;
  --text-nav-label--font-weight: 500;
  --text-small: 14px;
  --text-small--line-height: 1.4;
  --text-small--letter-spacing: -0.02em;
  --text-small--font-weight: 400;
  --text-caption: 12px;
  --text-caption--line-height: 1.17;
  --text-caption--letter-spacing: -0.02em;
  --text-caption--font-weight: 500;
  --radius-buttons-search-bar-inputs-badges-avatars: 9999px (full pill);
  --radius-image-tiles-floating-collage-thumbs: 16px;
  --radius-cards-and-feature-panels: 24px;
  --radius-inner-cells-qr-panel-segmented-controls: 12px;
  --radius-small-chips-and-icon-tiles: 8px;
  --radius-hairline-tags-and-micro-elements: 4px;
  --shadow-hairline-lift: 0 1px 8px rgba(0,0,0,0.05);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.02), 0 4px 16px rgba(0,0,0,0.10);
  --shadow-panel: 0 3px 12px rgba(0,0,0,0.05);
  --shadow-inset-bevel: inset 0 1px 1.5px rgba(255,255,255,0.7), inset 0 -1px 1.5px rgba(0,0,0,0.03);
  --container-site: 1200px;
}
```

## 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
/* Cosmos — 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. Both schemes come from the site. */
@custom-variant dark (&:where(.dark, .dark *));

:root {
    color-scheme: light;

    --background: #f5f4f1;
    --foreground: #0a0a0a;
    --card: #ffffff;
    --card-foreground: #0a0a0a;
    --popover: #ffffff;
    --popover-foreground: #0a0a0a;
    --primary: #0a0a0a;
    --primary-foreground: #ffffff;
    --secondary: #f0efec;
    --secondary-foreground: #0a0a0a;
    --muted: #fbfaf9;
    --muted-foreground: #6f6b68;
    --accent: #1a15e5;
    --accent-foreground: #ffffff; /* estimated */
    --destructive: #c23a1e;
    --destructive-foreground: #ffffff; /* estimated */
    --border: rgba(10,10,10,0.12);
    --input: rgba(10,10,10,0.10);
    --ring: #0a0a0a; /* estimated */

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

    --font-display: cosmosOracle, Inter, 'Helvetica Neue', Arial, sans-serif;
    --font-body: cosmosOracle, Inter, 'Helvetica Neue', Arial, sans-serif;
}

.dark {
    color-scheme: dark;

    --background: #101010;
    --foreground: #ffffff;
    --card: #1f1e1d;
    --card-foreground: #ffffff;
    --popover: #1f1e1d;
    --popover-foreground: #ffffff;
    --primary: #ffffff;
    --primary-foreground: #0a0a0a;
    --secondary: #333231;
    --secondary-foreground: #ffffff;
    --muted: #1f1e1d;
    --muted-foreground: #aeaaa8;
    --accent: #2e26e0;
    --accent-foreground: #ffffff;
    --destructive: #e0725c;
    --destructive-foreground: #0a0a0a;
    --border: rgba(245,244,241,0.12);
    --input: rgba(255,255,255,0.10);
    --ring: #ffffff;
}

@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);
}
```
