---
name: "Linear Orbit"
slug: "linear-orbit"
schema: "freedesignmd/v2"
description: "Dark, hairline product workspace: near-black canvas, Inter Tight with tight tracking, one indigo action color and 1px dividers at 8% white. Built for issue trackers, roadmaps and keyboard-first tools."
source: "https://freedesignmd.com/system/linear-orbit"
aesthetic: "minimal"
industry: "saas"
default_mode: "dark"
fonts:
  display: "Inter Tight"
  body: "Inter"
  mono: "Fira Code"
  google_fonts_url: "https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600&family=Inter:wght@400;500;600&family=Fira+Code:wght@400;500&display=swap"
colors:
  light:
    background: "#fbfbfc"
    foreground: "#16171a"
    card: "#ffffff"
    cardForeground: "#16171a"
    muted: "#f1f2f4"
    mutedForeground: "#5d6168"
    primary: "#5e6ad2"
    primaryForeground: "#ffffff"
    secondary: "#eff0f3"
    secondaryForeground: "#16171a"
    accent: "#ececf9"
    accentForeground: "#2e3480"
    border: "rgba(22,23,26,0.09)"
    input: "rgba(22,23,26,0.14)"
    ring: "#5e6ad2"
    destructive: "#c42b2b"
    destructiveForeground: "#ffffff"
    success: "#1f7a4d"
    successForeground: "#ffffff"
    warning: "#f2c94c"
    warningForeground: "#2b2300"
  dark:
    background: "#08090a"
    foreground: "#f7f8f8"
    card: "#101113"
    cardForeground: "#f7f8f8"
    muted: "#18191c"
    mutedForeground: "#8f949c"
    primary: "#5e6ad2"
    primaryForeground: "#ffffff"
    secondary: "#1c1d21"
    secondaryForeground: "#e6e7ea"
    accent: "#1d1f2b"
    accentForeground: "#d2d6ff"
    border: "rgba(255,255,255,0.08)"
    input: "rgba(255,255,255,0.12)"
    ring: "#7c86e6"
    destructive: "#e5484d"
    destructiveForeground: "#08090a"
    success: "#4cb782"
    successForeground: "#08090a"
    warning: "#f2c94c"
    warningForeground: "#08090a"
chart:
  light: ["#5e6ad2", "#26b5ce", "#4cb782", "#f2994a", "#bb87fc"]
  dark: ["#7c86e6", "#26b5ce", "#4cb782", "#f2994a", "#bb87fc"]
type:
  display: { font: display, size: 64, size_mobile: 36, leading: 1.04, weight: 600, tracking: "-0.04em" }
  h1: { font: display, size: 40, size_mobile: 27, leading: 1.1, weight: 600, tracking: "-0.03em" }
  h2: { font: display, size: 24, size_mobile: 19, leading: 1.25, weight: 600, tracking: "-0.02em" }
  h3: { font: display, size: 17, size_mobile: 17, leading: 1.35, weight: 500, tracking: "-0.01em" }
  body: { font: body, size: 14, size_mobile: 14, leading: 1.55, weight: 400, tracking: "-0.006em" }
  small: { font: body, size: 13, size_mobile: 13, leading: 1.45, weight: 400, tracking: "0em" }
  label: { font: body, size: 12, size_mobile: 12, leading: 1.3, weight: 500, tracking: "0em" }
  mono: { font: mono, size: 12, size_mobile: 12, leading: 1.5, weight: 400, tracking: "0em" }
spacing: [4, 8, 12, 16, 20, 24, 32, 48, 64, 96]
radius: { sm: "4px", md: "6px", lg: "10px", xl: "14px", full: "9999px" }
shadow:
  light:
    sm: "0 1px 2px rgba(16,17,20,0.06)"
    md: "0 4px 16px -4px rgba(16,17,20,0.12), 0 1px 2px rgba(16,17,20,0.06)"
    lg: "0 24px 64px -16px rgba(16,17,20,0.28), 0 0 0 1px rgba(16,17,20,0.06)"
  dark:
    sm: "0 0 0 1px rgba(255,255,255,0.06)"
    md: "0 0 0 1px rgba(255,255,255,0.08), 0 8px 24px -8px rgba(0,0,0,0.6)"
    lg: "0 0 0 1px rgba(255,255,255,0.1), 0 32px 80px -16px rgba(0,0,0,0.8)"
motion:
  duration_ms: { instant: 80, fast: 120, base: 180, slow: 320 }
  easing: { standard: "cubic-bezier(0.25, 0.1, 0.25, 1)", out: "cubic-bezier(0.16, 1, 0.3, 1)", in: "cubic-bezier(0.4, 0, 1, 1)" }
  reveal: { distance_px: 8, stagger_ms: 40 }
layout: { max_width: 1200, columns: 12, gutter: 24, section_y: 96, section_y_mobile: 56, measure: "64ch" }
---

# Linear Orbit, DESIGN.md

> Dark, hairline product workspace: near-black canvas, Inter Tight with tight tracking, one indigo action color and 1px dividers at 8% white. Built for issue trackers, roadmaps and keyboard-first tools.

## How to use this file

1. Save this file as `DESIGN.md` in the project root and paste the `tokens.css` block (section 10) into your global stylesheet, or import `https://freedesignmd.com/system/linear-orbit.css`, which also contains every component class.
2. **Claude Code:** add `Before any UI work, read @DESIGN.md and use only its tokens and component recipes.` to `CLAUDE.md`.
3. **Cursor:** create `.cursor/rules/design.mdc` with `alwaysApply: true` and the line `Follow @DESIGN.md for every color, font, radius, shadow, spacing and duration.`
4. **Lovable:** paste section 10 into `src/index.css` and add this file to Project Knowledge; ask for changes by role name (`primary`, `muted-foreground`), never by hex.
5. Default mode is **dark**: put `class="dark"` on `<html>`; light mode is the same file without the class. Use semantic names only (`bg-primary`, `text-muted-foreground`, `.btn-primary`, `var(--radius-lg)`); if a value is not in this file, it does not belong in the UI.

## 1. Overview & personality

Linear Orbit is an engineered calm for tools people live in all day. The canvas is a near-black that never reaches pure black; structure comes from 1px hairlines at 8% white instead of boxes and shadows. Type is Inter Tight set small and tight, 13px UI labels, 14px body, so dense lists still breathe. Indigo `#5e6ad2` is the only saturated color in the chrome: it marks the primary action, the focused row and the active tab. Status colors appear only as 6px dots and small glyphs.

**At a glance**

- Aesthetic: Minimal · Industry: SaaS · Default mode: dark
- Type: Inter Tight (display) · Inter (body) · Fira Code (mono)
- Brand color (`primary`): `#5e6ad2` light · `#5e6ad2` dark, on primary, text is `#ffffff` / `#ffffff`
- Corners: 4px / 6px / 10px / 14px · Container 1200px · Base motion 180ms

**Signature moves**

- Hairline-only structure: 1px `border` dividers, no card shadows in dark mode
- Small, tight UI type: 13px body-small and 12px medium labels keep dense lists legible
- Indigo `primary` used for exactly three things: main action, focus ring, active state
- Status as 6px colored dots beside mono IDs (`ENG-142`), never as filled pills
- Command-bar first: every page has a ⌘K affordance in the nav

## 2. Color

Roles follow shadcn/ui naming, so `primary` is always the brand / main-action color and `foreground` is always body text. Every text pair below is WCAG AA (≥ 4.5:1) in both modes.

### Light mode (`:root`)

| Role | CSS variable | Value | Contrast | Usage |
|---|---|---|---|---|
| `background` | `--background` | `#fbfbfc` |  | Page canvas |
| `foreground` | `--foreground` | `#16171a` | 17.33:1 on background | Body text and headings on background |
| `card` | `--card` | `#ffffff` |  | Cards, panels, popovers |
| `cardForeground` | `--card-foreground` | `#16171a` | 17.92:1 on card | Text on card |
| `muted` | `--muted` | `#f1f2f4` |  | Subtle fills: table headers, code, skeletons |
| `mutedForeground` | `--muted-foreground` | `#5d6168` | 5.55:1 on muted | Secondary text, captions, placeholders |
| `primary` | `--primary` | `#5e6ad2` |  | Brand color: primary buttons, links, focus, active states |
| `primaryForeground` | `--primary-foreground` | `#ffffff` | 4.70:1 on primary | Text and icons on primary |
| `secondary` | `--secondary` | `#eff0f3` |  | Secondary buttons and quiet fills |
| `secondaryForeground` | `--secondary-foreground` | `#16171a` | 15.73:1 on secondary | Text on secondary |
| `accent` | `--accent` | `#ececf9` |  | Hover and selected backgrounds (rows, menu items, ghost buttons) |
| `accentForeground` | `--accent-foreground` | `#2e3480` | 9.34:1 on accent | Text on accent |
| `border` | `--border` | `rgba(22,23,26,0.09)` |  | Dividers and card outlines |
| `input` | `--input` | `rgba(22,23,26,0.14)` |  | Input borders |
| `ring` | `--ring` | `#5e6ad2` |  | Focus ring |
| `destructive` | `--destructive` | `#c42b2b` |  | Errors and destructive actions |
| `destructiveForeground` | `--destructive-foreground` | `#ffffff` | 5.63:1 on destructive | Text on destructive |
| `success` | `--success` | `#1f7a4d` |  | Positive status |
| `successForeground` | `--success-foreground` | `#ffffff` | 5.32:1 on success | Text on success |
| `warning` | `--warning` | `#f2c94c` |  | Caution status |
| `warningForeground` | `--warning-foreground` | `#2b2300` | 9.85:1 on warning | Text on warning |
| `chart-1…5` | `--chart-1…5` | `#5e6ad2` `#26b5ce` `#4cb782` `#f2994a` `#bb87fc` | | Data series, in this order |

### Dark mode (`.dark`)

| Role | CSS variable | Value | Contrast | Usage |
|---|---|---|---|---|
| `background` | `--background` | `#08090a` |  | Page canvas |
| `foreground` | `--foreground` | `#f7f8f8` | 18.73:1 on background | Body text and headings on background |
| `card` | `--card` | `#101113` |  | Cards, panels, popovers |
| `cardForeground` | `--card-foreground` | `#f7f8f8` | 17.76:1 on card | Text on card |
| `muted` | `--muted` | `#18191c` |  | Subtle fills: table headers, code, skeletons |
| `mutedForeground` | `--muted-foreground` | `#8f949c` | 5.76:1 on muted | Secondary text, captions, placeholders |
| `primary` | `--primary` | `#5e6ad2` |  | Brand color: primary buttons, links, focus, active states |
| `primaryForeground` | `--primary-foreground` | `#ffffff` | 4.70:1 on primary | Text and icons on primary |
| `secondary` | `--secondary` | `#1c1d21` |  | Secondary buttons and quiet fills |
| `secondaryForeground` | `--secondary-foreground` | `#e6e7ea` | 13.62:1 on secondary | Text on secondary |
| `accent` | `--accent` | `#1d1f2b` |  | Hover and selected backgrounds (rows, menu items, ghost buttons) |
| `accentForeground` | `--accent-foreground` | `#d2d6ff` | 11.54:1 on accent | Text on accent |
| `border` | `--border` | `rgba(255,255,255,0.08)` |  | Dividers and card outlines |
| `input` | `--input` | `rgba(255,255,255,0.12)` |  | Input borders |
| `ring` | `--ring` | `#7c86e6` |  | Focus ring |
| `destructive` | `--destructive` | `#e5484d` |  | Errors and destructive actions |
| `destructiveForeground` | `--destructive-foreground` | `#08090a` | 5.09:1 on destructive | Text on destructive |
| `success` | `--success` | `#4cb782` |  | Positive status |
| `successForeground` | `--success-foreground` | `#08090a` | 7.97:1 on success | Text on success |
| `warning` | `--warning` | `#f2c94c` |  | Caution status |
| `warningForeground` | `--warning-foreground` | `#08090a` | 12.56:1 on warning | Text on warning |
| `chart-1…5` | `--chart-1…5` | `#7c86e6` `#26b5ce` `#4cb782` `#f2994a` `#bb87fc` | | Data series, in this order |

## 3. Typography

Load fonts with:

```html
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600&family=Inter:wght@400;500;600&family=Fira+Code:wght@400;500&display=swap" />
```

| Role | Font | Size (390px → 1440px) | Line height | Weight | Tracking | Style | Class |
|---|---|---|---|---|---|---|---|
| `display` | Inter Tight | 36px → 64px | 1.04 | 600 | -0.04em | – | `.type-display` |
| `h1` | Inter Tight | 27px → 40px | 1.1 | 600 | -0.03em | – | `.type-h1` |
| `h2` | Inter Tight | 19px → 24px | 1.25 | 600 | -0.02em | – | `.type-h2` |
| `h3` | Inter Tight | 17px | 1.35 | 500 | -0.01em | – | `.type-h3` |
| `body` | Inter | 14px | 1.55 | 400 | -0.006em | – | `.type-body` |
| `small` | Inter | 13px | 1.45 | 400 | 0em | – | `.type-small` |
| `label` | Inter | 12px | 1.3 | 500 | 0em | – | `.type-label` |
| `mono` | Fira Code | 12px | 1.5 | 400 | 0em | – | `.type-mono` |

- `h1`–`h3` elements map to the roles of the same name; `display` is for one hero headline per page.
- Fluid sizes use `clamp()` between the two values (see `--type-*-size` in tokens.css).
- Only the weights in this table are loaded; never use other weights.

## 4. Spacing & layout

Spacing is a 4px scale. Use these steps only (`--space-N` = N × 4px):

| Token | `--space-1` | `--space-2` | `--space-3` | `--space-4` | `--space-5` | `--space-6` | `--space-8` | `--space-12` | `--space-16` | `--space-24` |
|---|---|---|---|---|---|---|---|---|---|---|
| px | 4 | 8 | 12 | 16 | 20 | 24 | 32 | 48 | 64 | 96 |

- Container: max 1200px, 24px side gutters (`.container`).
- Grid: 12 columns, 24px gap.
- Sections: 96px vertical padding on desktop, 56px on mobile (`.section`).
- Long text: max 64ch per line (`.prose`).
- App shell: 240px sidebar, 48px top bar, content list with 40px rows.
- Marketing pages center a 1200px container; product screenshots bleed to 1320px.
- Lists use 1px `border` row dividers; never zebra-stripe.

## 5. Shape & elevation

| Radius | Value | Use |
|---|---|---|
| `--radius-sm` | 4px | badges, checkboxes, small chips |
| `--radius-md` | 6px | buttons, inputs, tabs (= shadcn `--radius`) |
| `--radius-lg` | 10px | cards, panels, menus |
| `--radius-xl` | 14px | dialogs, hero media, large surfaces |
| `--radius-full` | 9999px | avatars, pills, toggles |

| Shadow | Mode | Value |
|---|---|---|
| `--shadow-sm` | light | `0 1px 2px rgba(16,17,20,0.06)` |
| `--shadow-md` | light | `0 4px 16px -4px rgba(16,17,20,0.12), 0 1px 2px rgba(16,17,20,0.06)` |
| `--shadow-lg` | light | `0 24px 64px -16px rgba(16,17,20,0.28), 0 0 0 1px rgba(16,17,20,0.06)` |
| `--shadow-sm` | dark | `0 0 0 1px rgba(255,255,255,0.06)` |
| `--shadow-md` | dark | `0 0 0 1px rgba(255,255,255,0.08), 0 8px 24px -8px rgba(0,0,0,0.6)` |
| `--shadow-lg` | dark | `0 0 0 1px rgba(255,255,255,0.1), 0 32px 80px -16px rgba(0,0,0,0.8)` |

`sm` = resting card · `md` = hover / raised · `lg` = dialogs and popovers. Nothing else casts a shadow.

## 6. Motion

**Snap and settle.** Interactions respond almost instantly (hover in 120ms, press in 80ms) and nothing bounces. Panels slide 8px and fade with a long-tail ease-out so the UI feels fast, not animated.

| Token | Value | Use |
|---|---|---|
| `--duration-instant` | 80ms | press feedback, toggles |
| `--duration-fast` | 120ms | hover, focus, color changes |
| `--duration-base` | 180ms | menus, tabs, popovers, cards lifting |
| `--duration-slow` | 320ms | dialogs and scroll reveals |
| `--ease-standard` | `cubic-bezier(0.25, 0.1, 0.25, 1)` | state changes |
| `--ease-out` | `cubic-bezier(0.16, 1, 0.3, 1)` | entrances and reveals |
| `--ease-in` | `cubic-bezier(0.4, 0, 1, 1)` | exits |

- Scroll reveal (`.reveal` → `.reveal.is-in` via IntersectionObserver): rise 8px and fade over `--duration-slow` with `--ease-out`; siblings stagger by 40ms (`--reveal-index`).
- Use no durations other than the four above.
- `prefers-reduced-motion: reduce` → no transforms, reveals show immediately (included in tokens.css).

## 7. Components

Every component reads only variables from section 10, so light and dark mode work with no extra code. These are the exact rules (also in `https://freedesignmd.com/system/linear-orbit.css`). In React/shadcn projects, put the same declarations on the matching shadcn component variants.

### Button

```html
<button class="btn btn-primary">Save</button>  <!-- btn-secondary · btn-outline · btn-ghost -->
```

```css
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.006em;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
}
.btn-primary:hover:not(:disabled) {
  background: color-mix(in oklab, var(--primary) 88%, white);
}
.btn-primary:active:not(:disabled) {
  background: color-mix(in oklab, var(--primary) 90%, black);
  transform: translateY(0.5px);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
  border-color: var(--border);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--accent);
  color: var(--accent-foreground);
}
.btn-secondary:active:not(:disabled) {
  background: var(--muted);
}
.btn-outline {
  background: transparent;
  color: var(--foreground);
  border-color: var(--input);
}
.btn-outline:hover:not(:disabled) {
  border-color: var(--muted-foreground);
  background: var(--muted);
}
.btn-outline:active:not(:disabled) {
  background: var(--secondary);
}
.btn-ghost {
  background: transparent;
  color: var(--muted-foreground);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--muted);
  color: var(--foreground);
}
.btn-ghost:active:not(:disabled) {
  background: var(--secondary);
}
.btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
```

### Input

```html
<input class="input" placeholder="you@company.com" />  <!-- aria-invalid="true" for errors -->
```

```css
.input {
  display: block;
  width: 100%;
  height: 32px;
  padding: 0 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--foreground);
  background: var(--card);
  border: 1px solid var(--input);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard);
}
.input::placeholder {
  color: var(--muted-foreground);
  opacity: 1;
}
.input:hover:not(:disabled):not(:focus) {
  border-color: var(--muted-foreground);
}
.input:focus, .input:focus-visible {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 24%, transparent);
}
.input[aria-invalid="true"] {
  border-color: var(--destructive);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--destructive) 22%, transparent);
}
.input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--muted);
}
```

### Card

```html
<article class="card">…</article>  <!-- add card-interactive when the whole card is a link -->
```

```css
.card {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
}
.card-interactive:hover {
  border-color: var(--input);
  box-shadow: var(--shadow-md);
}
```

### Badge

```html
<span class="badge badge-soft" data-tone="success">Paid</span>  <!-- badge-solid · badge-outline; tones: primary (default) · success · warning · destructive -->
```

```css
.badge {
  --tone: var(--primary);
  --tone-foreground: var(--primary-foreground);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 20px;
  padding: 0 8px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}
.badge[data-tone="success"] {
  --tone: var(--success);
  --tone-foreground: var(--success-foreground);
}
.badge[data-tone="warning"] {
  --tone: var(--warning);
  --tone-foreground: var(--warning-foreground);
}
.badge[data-tone="destructive"] {
  --tone: var(--destructive);
  --tone-foreground: var(--destructive-foreground);
}
.badge-solid {
  background: var(--tone);
  color: var(--tone-foreground);
}
.badge-soft {
  background: color-mix(in oklab, var(--tone) 16%, transparent);
  color: var(--foreground);
}
.badge-outline {
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  background: transparent;
}
```

### Navigation bar

```html
<nav class="nav"><a class="nav-link" aria-current="page">Home</a><a class="nav-link">Docs</a></nav>
```

```css
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
  padding: 0 16px;
  background: color-mix(in oklab, var(--background) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-link {
  padding: 6px 10px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard);
}
.nav-link:hover {
  color: var(--foreground);
  background: var(--muted);
}
.nav-link[aria-current="page"] {
  color: var(--foreground);
  background: var(--secondary);
}
```

### Tabs

```html
<div class="tabs" role="tablist"><button class="tab" role="tab" aria-selected="true">Overview</button>…</div>
```

```css
.tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}
.tab {
  position: relative;
  height: 36px;
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}
.tab:hover:not([aria-selected="true"]) {
  color: var(--foreground);
}
.tab[aria-selected="true"] {
  color: var(--foreground);
  border-bottom-color: var(--primary);
}
```

### Table

```html
<table class="table"><thead><tr><th>…</th></tr></thead><tbody><tr><td>…</td></tr></tbody></table>
```

```css
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.table th {
  text-align: left;
  height: 32px;
  padding: 0 12px;
  font-weight: 500;
  font-size: 12px;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
}
.table td {
  height: 40px;
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
  transition: background-color var(--duration-instant) var(--ease-standard);
}
.table tbody tr:hover td {
  background: var(--muted);
}
```

### Dialog / modal

```html
<div class="dialog-overlay"><div class="dialog" role="dialog" aria-modal="true">…</div></div>
```

```css
.dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,5,6,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 24px;
}
.dialog {
  width: min(560px, 100%);
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 20px;
}
```

### Text link

```html
<a class="link" href="…">Read more</a>
```

```css
.link {
  color: var(--foreground);
  text-decoration: underline;
  text-decoration-color: var(--input);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
}
.link:hover {
  text-decoration-color: var(--primary);
}
```

## 8. Imagery & iconography

**Imagery.** Product UI is the imagery: real screenshots of lists, boards and timelines in dark mode, cropped at a slight angle or bleeding off the container edge, with a faint indigo glow behind them. No stock photography, no illustrations of people.

**Icons.** 16px line icons with 1.5px stroke (Lucide), `muted-foreground` at rest, `foreground` on hover. Status uses 14px circle glyphs (backlog dashed, in progress half-filled, done check).

## 9. Do / Don't

**Do**

- Keep rows at 40px and labels at 13px; density is a feature
- Use `primary` (#5e6ad2) for the single main action per view and for the focused row only
- Show keyboard shortcuts as `mono` 11px keycaps next to menu items
- Separate regions with 1px `border` lines, not background blocks
- Use `muted-foreground` for metadata (assignee, date, ID)

**Don't**

- Don't add drop shadows to cards in dark mode, the hairline is the elevation
- Don't introduce a second saturated brand color; chart colors are for data only
- Don't use filled status pills, use a 6px dot plus text
- Don't round anything beyond `--radius-xl` (14px), except avatars
- Don't set body copy above 15px inside the app shell

## 10. tokens.css

Drop-in, shadcn/ui-compatible. Works with Tailwind v4 as-is (the `@theme inline` block creates `bg-primary`, `text-muted-foreground`, `font-heading`, `text-display`, `rounded-ui-lg`, `shadow-ui-md`…). Plain CSS projects can ignore the `@theme` block.

```css
/* Linear Orbit, tokens.css
 * https://freedesignmd.com/system/linear-orbit
 * shadcn/ui-compatible variables. Light on :root, dark on .dark.
 * Default mode: dark, add class="dark" to <html>.
 */
@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600&family=Inter:wght@400;500;600&family=Fira+Code:wght@400;500&display=swap");

:root {
  --font-display: "Inter Tight", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "Fira Code", ui-monospace, SFMono-Regular, Menlo, monospace;
  --type-display-size: clamp(36px, 25.60px + 2.667vw, 64px);
  --type-display-leading: 1.04;
  --type-display-weight: 600;
  --type-display-tracking: -0.04em;
  --type-h1-size: clamp(27px, 22.17px + 1.238vw, 40px);
  --type-h1-leading: 1.1;
  --type-h1-weight: 600;
  --type-h1-tracking: -0.03em;
  --type-h2-size: clamp(19px, 17.14px + 0.476vw, 24px);
  --type-h2-leading: 1.25;
  --type-h2-weight: 600;
  --type-h2-tracking: -0.02em;
  --type-h3-size: 17px;
  --type-h3-leading: 1.35;
  --type-h3-weight: 500;
  --type-h3-tracking: -0.01em;
  --type-body-size: 14px;
  --type-body-leading: 1.55;
  --type-body-weight: 400;
  --type-body-tracking: -0.006em;
  --type-small-size: 13px;
  --type-small-leading: 1.45;
  --type-small-weight: 400;
  --type-small-tracking: 0em;
  --type-label-size: 12px;
  --type-label-leading: 1.3;
  --type-label-weight: 500;
  --type-label-tracking: 0em;
  --type-mono-size: 12px;
  --type-mono-leading: 1.5;
  --type-mono-weight: 400;
  --type-mono-tracking: 0em;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --radius: 6px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --radius-full: 9999px;
  --duration-instant: 80ms;
  --duration-fast: 120ms;
  --duration-base: 180ms;
  --duration-slow: 320ms;
  --ease-standard: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --reveal-distance: 8px;
  --reveal-stagger: 40ms;
  --container-max: 1200px;
  --gutter: 24px;
  --section-y: 96px;
  --section-y-mobile: 56px;
  --measure: 64ch;
  --background: #fbfbfc;
  --foreground: #16171a;
  --card: #ffffff;
  --card-foreground: #16171a;
  --muted: #f1f2f4;
  --muted-foreground: #5d6168;
  --primary: #5e6ad2;
  --primary-foreground: #ffffff;
  --secondary: #eff0f3;
  --secondary-foreground: #16171a;
  --accent: #ececf9;
  --accent-foreground: #2e3480;
  --border: rgba(22,23,26,0.09);
  --input: rgba(22,23,26,0.14);
  --ring: #5e6ad2;
  --destructive: #c42b2b;
  --destructive-foreground: #ffffff;
  --success: #1f7a4d;
  --success-foreground: #ffffff;
  --warning: #f2c94c;
  --warning-foreground: #2b2300;
  --chart-1: #5e6ad2;
  --chart-2: #26b5ce;
  --chart-3: #4cb782;
  --chart-4: #f2994a;
  --chart-5: #bb87fc;
  --shadow-sm: 0 1px 2px rgba(16,17,20,0.06);
  --shadow-md: 0 4px 16px -4px rgba(16,17,20,0.12), 0 1px 2px rgba(16,17,20,0.06);
  --shadow-lg: 0 24px 64px -16px rgba(16,17,20,0.28), 0 0 0 1px rgba(16,17,20,0.06);
}

.dark {
  --background: #08090a;
  --foreground: #f7f8f8;
  --card: #101113;
  --card-foreground: #f7f8f8;
  --muted: #18191c;
  --muted-foreground: #8f949c;
  --primary: #5e6ad2;
  --primary-foreground: #ffffff;
  --secondary: #1c1d21;
  --secondary-foreground: #e6e7ea;
  --accent: #1d1f2b;
  --accent-foreground: #d2d6ff;
  --border: rgba(255,255,255,0.08);
  --input: rgba(255,255,255,0.12);
  --ring: #7c86e6;
  --destructive: #e5484d;
  --destructive-foreground: #08090a;
  --success: #4cb782;
  --success-foreground: #08090a;
  --warning: #f2c94c;
  --warning-foreground: #08090a;
  --chart-1: #7c86e6;
  --chart-2: #26b5ce;
  --chart-3: #4cb782;
  --chart-4: #f2994a;
  --chart-5: #bb87fc;
  --shadow-sm: 0 0 0 1px rgba(255,255,255,0.06);
  --shadow-md: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 24px -8px rgba(0,0,0,0.6);
  --shadow-lg: 0 0 0 1px rgba(255,255,255,0.1), 0 32px 80px -16px rgba(0,0,0,0.8);
}

/* Tailwind v4: utilities like bg-primary, text-muted-foreground, font-heading, text-display, rounded-ui-lg, shadow-ui-md */
@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-success: var(--success);
  --color-success-foreground: var(--success-foreground);
  --color-warning: var(--warning);
  --color-warning-foreground: var(--warning-foreground);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --font-heading: var(--font-display);
  --font-body: var(--font-sans);
  --font-code: var(--font-mono);
  --radius-ui-sm: var(--radius-sm);
  --radius-ui-md: var(--radius-md);
  --radius-ui-lg: var(--radius-lg);
  --radius-ui-xl: var(--radius-xl);
  --text-display: var(--type-display-size);
  --text-display--line-height: var(--type-display-leading);
  --text-display--letter-spacing: var(--type-display-tracking);
  --text-display--font-weight: var(--type-display-weight);
  --text-h1: var(--type-h1-size);
  --text-h1--line-height: var(--type-h1-leading);
  --text-h1--letter-spacing: var(--type-h1-tracking);
  --text-h1--font-weight: var(--type-h1-weight);
  --text-h2: var(--type-h2-size);
  --text-h2--line-height: var(--type-h2-leading);
  --text-h2--letter-spacing: var(--type-h2-tracking);
  --text-h2--font-weight: var(--type-h2-weight);
  --text-h3: var(--type-h3-size);
  --text-h3--line-height: var(--type-h3-leading);
  --text-h3--letter-spacing: var(--type-h3-tracking);
  --text-h3--font-weight: var(--type-h3-weight);
  --text-body: var(--type-body-size);
  --text-body--line-height: var(--type-body-leading);
  --text-body--letter-spacing: var(--type-body-tracking);
  --text-body--font-weight: var(--type-body-weight);
  --text-small: var(--type-small-size);
  --text-small--line-height: var(--type-small-leading);
  --text-small--letter-spacing: var(--type-small-tracking);
  --text-small--font-weight: var(--type-small-weight);
  --text-label: var(--type-label-size);
  --text-label--line-height: var(--type-label-leading);
  --text-label--letter-spacing: var(--type-label-tracking);
  --text-label--font-weight: var(--type-label-weight);
  --text-mono: var(--type-mono-size);
  --text-mono--line-height: var(--type-mono-leading);
  --text-mono--letter-spacing: var(--type-mono-tracking);
  --text-mono--font-weight: var(--type-mono-weight);
  --shadow-ui-sm: var(--shadow-sm);
  --shadow-ui-md: var(--shadow-md);
  --shadow-ui-lg: var(--shadow-lg);
}

@layer base {
  body {
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-sans);
    font-size: var(--type-body-size);
    line-height: var(--type-body-leading);
    font-weight: var(--type-body-weight);
    letter-spacing: var(--type-body-tracking);
    -webkit-font-smoothing: antialiased;
  }
  .type-display {
    font-family: var(--font-display);
    font-size: var(--type-display-size);
    line-height: var(--type-display-leading);
    font-weight: var(--type-display-weight);
    letter-spacing: var(--type-display-tracking);
  }
  .type-h1 {
    font-family: var(--font-display);
    font-size: var(--type-h1-size);
    line-height: var(--type-h1-leading);
    font-weight: var(--type-h1-weight);
    letter-spacing: var(--type-h1-tracking);
  }
  .type-h2 {
    font-family: var(--font-display);
    font-size: var(--type-h2-size);
    line-height: var(--type-h2-leading);
    font-weight: var(--type-h2-weight);
    letter-spacing: var(--type-h2-tracking);
  }
  .type-h3 {
    font-family: var(--font-display);
    font-size: var(--type-h3-size);
    line-height: var(--type-h3-leading);
    font-weight: var(--type-h3-weight);
    letter-spacing: var(--type-h3-tracking);
  }
  .type-body {
    font-family: var(--font-sans);
    font-size: var(--type-body-size);
    line-height: var(--type-body-leading);
    font-weight: var(--type-body-weight);
    letter-spacing: var(--type-body-tracking);
  }
  .type-small {
    font-family: var(--font-sans);
    font-size: var(--type-small-size);
    line-height: var(--type-small-leading);
    font-weight: var(--type-small-weight);
    letter-spacing: var(--type-small-tracking);
  }
  .type-label {
    font-family: var(--font-sans);
    font-size: var(--type-label-size);
    line-height: var(--type-label-leading);
    font-weight: var(--type-label-weight);
    letter-spacing: var(--type-label-tracking);
  }
  .type-mono {
    font-family: var(--font-mono);
    font-size: var(--type-mono-size);
    line-height: var(--type-mono-leading);
    font-weight: var(--type-mono-weight);
    letter-spacing: var(--type-mono-tracking);
  }
  h1 {
    font-family: var(--font-display);
    font-size: var(--type-h1-size);
    line-height: var(--type-h1-leading);
    font-weight: var(--type-h1-weight);
    letter-spacing: var(--type-h1-tracking);
  }
  h2 {
    font-family: var(--font-display);
    font-size: var(--type-h2-size);
    line-height: var(--type-h2-leading);
    font-weight: var(--type-h2-weight);
    letter-spacing: var(--type-h2-tracking);
  }
  h3 {
    font-family: var(--font-display);
    font-size: var(--type-h3-size);
    line-height: var(--type-h3-leading);
    font-weight: var(--type-h3-weight);
    letter-spacing: var(--type-h3-tracking);
  }
  code, kbd, samp, pre {
    font-family: var(--font-mono);
  }
  ::selection {
    background: var(--primary);
    color: var(--primary-foreground);
  }
  .container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }
  .section {
    padding-block: var(--section-y);
  }
  .prose {
    max-width: var(--measure);
  }
  .reveal {
    opacity: 0;
    transform: translateY(var(--reveal-distance));
    transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
    transition-delay: calc(var(--reveal-index, 0) * var(--reveal-stagger));
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }
  }
}
```

Tailwind v3:

```js
// tailwind.config.js, Tailwind v3 (v4 users: the @theme block in tokens.css does this)
module.exports = {
  darkMode: "class",
  theme: {
    extend: {
      colors: {
        "background": "var(--background)",
        "foreground": "var(--foreground)",
        "card": { DEFAULT: "var(--card)", foreground: "var(--card-foreground)" },
        "muted": { DEFAULT: "var(--muted)", foreground: "var(--muted-foreground)" },
        "primary": { DEFAULT: "var(--primary)", foreground: "var(--primary-foreground)" },
        "secondary": { DEFAULT: "var(--secondary)", foreground: "var(--secondary-foreground)" },
        "accent": { DEFAULT: "var(--accent)", foreground: "var(--accent-foreground)" },
        "border": "var(--border)",
        "input": "var(--input)",
        "ring": "var(--ring)",
        "destructive": { DEFAULT: "var(--destructive)", foreground: "var(--destructive-foreground)" },
        "success": { DEFAULT: "var(--success)", foreground: "var(--success-foreground)" },
        "warning": { DEFAULT: "var(--warning)", foreground: "var(--warning-foreground)" },
        chart: { 1: "var(--chart-1)", 2: "var(--chart-2)", 3: "var(--chart-3)", 4: "var(--chart-4)", 5: "var(--chart-5)" },
      },
      fontFamily: { heading: ["var(--font-display)"], body: ["var(--font-sans)"], code: ["var(--font-mono)"] },
      borderRadius: { "ui-sm": "var(--radius-sm)", "ui-md": "var(--radius-md)", "ui-lg": "var(--radius-lg)", "ui-xl": "var(--radius-xl)" },
      boxShadow: { "ui-sm": "var(--shadow-sm)", "ui-md": "var(--shadow-md)", "ui-lg": "var(--shadow-lg)" },
      transitionDuration: { instant: "var(--duration-instant)", fast: "var(--duration-fast)", base: "var(--duration-base)", slow: "var(--duration-slow)" },
      transitionTimingFunction: { standard: "var(--ease-standard)", out: "var(--ease-out)", in: "var(--ease-in)" },
      maxWidth: { container: "var(--container-max)", measure: "var(--measure)" },
    },
  },
};
```

Dependencies: `lucide-react`
