# Emerald Paper Precision

A hushed, near-white canvas with hairline-bordered cards, tight Manrope headlines and a single restrained emerald accent. Technical but airy, with monospace details and light-touch illustrations that feel like a well-kept engineering notebook.

Tags: light, minimal, developer, saas, emerald, hairline, bento, editorial
Inspired by: https://supabase.com/

## How to use (for coding agents)

Use `tailwind.config.js` (theme.extend) and `tokens.css` from this folder. Build UI with the
token classes below rather than default Tailwind colors. Components in `components/` are
self-contained React + Tailwind files and can be copied in as-is.

## Colors
| Token | Value | Role |
| --- | --- | --- |
| `canvas` | #fdfdfd | Page background (oklch 0.995) |
| `surface` | #ffffff | Cards, panels, inputs and buttons |
| `surface-muted` | #f7f7f7 | Inset panels, table rows, note boxes, window chrome |
| `hairline` | rgba(0,0,0,0.08) | 1px borders on cards, dividers, header underline |
| `hairline-strong` | rgba(0,0,0,0.15) | Active tab outline, hovered borders |
| `ink` | #171717 | Primary text and headings |
| `ink-soft` | #424242 | Secondary body text, subheads |
| `ink-muted` | #6f6f6f | Descriptions, de-emphasised heading half, captions |
| `ink-faint` | #a0a0a0 | Greyscale logos, placeholders, disabled |
| `brand` | #117d51 | Primary buttons, accent headline text, hover text, links |
| `brand-hover` | #0f6e49 | Primary button hover |
| `brand-bright` | #3fcf8e | Highlights, in-app buttons, dot-matrix glow, check marks |
| `brand-tint` | rgba(63,207,142,0.12) | Check bullet backgrounds, Most Popular badge fill |
| `brand-deep` | #15593b | Badge text, code identifiers |
| `violet-code` | #6b35dc | Syntax highlight for keywords |
| `amber-code` | #b45309 | Syntax highlight for strings, warning pills |
| `night` | #1c1c1c | Dark illustration panels |

## Typography
| Token | Stack | Usage |
| --- | --- | --- |
| `font-display` | Manrope, 'Manrope Fallback', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif | Headlines, section titles, plan names' neighbours, large numbers |
| `font-sans` | Inter, 'Inter Fallback', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif | Body copy, UI labels, buttons, nav |
| `font-mono` | 'Source Code Pro', 'Office Code Pro', Menlo, ui-monospace, monospace | Plan names, prices, code, eyebrows, role captions, tags |

| Class | Size | Line height | Weight | Tracking |
| --- | --- | --- | --- | --- |
| `text-display` | 46px | 1.0 | 500 | -0.03em |
| `text-h1` | 34px | 1.1 | 500 | -0.02em |
| `text-h2` | 28px | 1.15 | 500 | -0.02em |
| `text-h3` | 22px | 1.3 | 500 | -0.01em |
| `text-lead` | 16px | 1.5 | 450 | 0 |
| `text-body` | 14px | 1.45 | 450 | 0 |
| `text-label` | 13px | 1.4 | 500 | 0 |
| `text-caption` | 12px | 1.4 | 450 | 0.01em |
| `text-eyebrow-mono` | 13px | 1.3 | 500 | 0.12em |

## Shape & depth
| Class | Value |
| --- | --- |
| `rounded-xs` | 5px |
| `rounded-md` | 8px |
| `rounded-lg` | 11px |
| `rounded-xl` | 16px |
| `rounded-pill` | 9999px |
| `shadow-inset-bevel` | inset 0 1px 0 rgba(0,0,0,0.08), inset 0 2px 0 rgba(255,255,255,0.8) |
| `shadow-card-hairline` | 0 1px 3px rgba(0,0,0,0.04), inset 0 0 0 1px rgba(0,0,0,0.067), inset 0 -1px 0 rgba(0,0,0,0.04) |
| `shadow-popover` | 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1) |
| `bg-card-wash` | linear-gradient(rgba(23,23,23,0.081) 0px, rgba(23,23,23,0.04) 100%) |
| `bg-fade-to-canvas` | linear-gradient(to top, #ffffff 0px, rgba(255,255,255,0) 100%) |
| `bg-story-sunset` | linear-gradient(#fd49a8 0%, #fc1a58 20%, #fb3d26 50%, #fe6a1e 70%, #ff8f1b 100%) |
| `bg-dot-vignette` | radial-gradient(70% 80% at 50% 50%, #000 25%, transparent 75%) |

## Motion
| Token | Kind | Duration | Easing | Notes |
| --- | --- | --- | --- | --- |
| `hover-color` | transition | 200ms | cubic-bezier(0.22, 1, 0.36, 1) | Colour, background and border shifts on nav items, buttons and links (text to emerald, primary darkens). |
| `base-transition` | transition | 150ms | cubic-bezier(0.4, 0, 0.2, 1) | Default Tailwind-style transition for colour, border, shadow, transform. |
| `fade-in` | animation | 400ms | ease | Scroll-into-view reveal for cards and testimonial tiles, staggered ~440ms in masonry walls. |
| `marquee-drift` | animation | 30000ms | linear | Slow ambient horizontal drift of rows inside feature-card illustrations (auth emails, storage tiles). |
| `badge-shimmer` | animation | 2000ms | linear | Light sweep across the Most Popular pill. |
| `blur-rise-out` | animation | 500ms | linear | Logo row items rotate out upward with blur, staggered 100–180ms. |
| `dropdown-pop` | animation | 150ms | cubic-bezier(0, 0, 0.2, 1) | Menus and popovers scale in from 95%. |

## Components
- **Hairline Site Header** (`components/hairline-nav-bar.tsx`, header) — Slim white bar with a 1px bottom border, logo left, text nav with chevron dropdown triggers (Product, Developers, Solutions) plus plain links, and on the right a GitHub star-count chip, a white outlined Sign in button and a solid emerald CTA. Content aligned to a 1128px container. Props: brand, stars, signInLabel, ctaLabel and items (nav entries; give an item a `menu` array of {title, desc} for a chevron dropdown). Renders standalone with defaults; the nav hides below md.
- **Framework Icon Tab Code Panel** (`components/framework-code-tabs.tsx`, code) — Bordered panel with a row of six icon-only framework tabs along the top and a syntax-highlighted code block below (violet keywords, amber strings, green identifiers, grey punctuation), plus a small pill 'Read docs' link anchored bottom-right. Heading to the left with muted lead-in and dark framework name. Props: lead (heading lead-in) and docsLabel (pill text prefix). Click an icon tab to swap the heading word and code with a 150ms fade.
- **Gradient Customer Story Strip** (`components/gradient-story-accordion.tsx`, testimonial) — One expanded story card with a full vertical pink-to-orange gradient, white logo, large white quote and avatar byline with an underlined 'Read the story' link, flanked by four narrow collapsed solid-colour cards (navy, teal, black, blue) showing only a white logo. Pass `stories` (name, blurb, quote, author, bg class, mark index) plus heading props. Hover or focus a card to expand it accordion-style while the others collapse to logo-only strips.
- **Compute Pricing Calculator** (`components/compute-pricing-calculator.tsx`, form) — Large rounded panel with a washed top gradient: left plan selector with a small Pro/Team segmented toggle and check list, right an estimate summary and project card with a tick-mark slider, mono 'MICRO' tag and an emerald Add Project button. Below, a spec table with muted header row, highlighted first row and a bottom fade with a 'Show pricing breakdown' pill. Renders standalone; optional props `heading` and `subheading` change the section title. Drag the tick slider to pick a size, switch tiers with the toggle, and expand the table with the pill button.
- **Two-Tone Split Hero** (`components/two-tone-split-hero.tsx`, hero) — Left-aligned two-line headline where the first line is near-black and the second is emerald, with a muted paragraph offset to the right column and a button pair beneath (solid emerald + white outlined). Generous whitespace on a near-white canvas. Props: headlineTop, headlineAccent, description, primaryLabel/primaryHref, secondaryLabel/secondaryHref. All have defaults, so it renders with no props.
- **Hairline Bento Product Grid** (`components/bento-product-grid.tsx`, features) — Two-row bento of bordered white cards with a subtle top-down grey wash: one wide card and two narrow on top, four equal cards below. Each has an icon+title, a muted description with key phrases darkened, and a light line-art illustration at the bottom (elephant mark, scrolling email rows, wireframe globe, file tiles, cursor grid, isometric cube, API pill list). Ends with a large 'Use one or all.' two-tone tagline. Optional props: tagline and taglineMuted set the two-tone closing line; card copy lives in the cards array. Rows drift on 30–35s linear loops and cards darken their border on hover.
- **Greyscale Logo Cloud Grid** (`components/greyscale-logo-grid.tsx`, logo-cloud) — Small caption above a bordered 6×2 grid of flat grey logos separated by vertical hairlines, quiet and low contrast. Props: `caption` text, `sets` (arrays of 12 {name, kind} logos; kind 0–5 picks a geometric mark) and `interval` in ms between swaps. Logos blur and rise out in a 100ms stagger per column, then the next set appears.
- **Tabbed App Window Showcase** (`components/tabbed-app-window.tsx`, media) — Two-tone heading, outlined pill tabs (active has a dark 1px border), then a large rounded 1070px frame with traffic-light dots containing a muted product UI video/screenshot of a dashboard. Props: headingStrong, headingMuted, and tabs (array of {id,label,title,empty,cta}). Clicking a tab swaps the mock app window content with a fade-in; the frame itself reveals on scroll.
- **Starter Template Card Grid** (`components/starter-template-cards.tsx`, card) — Asymmetric grid: two large cards with logo, title, muted description and a cropped wireframe app-window preview bleeding off the bottom, over a row of four compact cards with small icon, title and line-clamped description. All white with hairline borders and ~16px radius. Props: headingMuted, headingStrong, linkLabel, linkHref, featured (two large cards with title/description) and compact (four small cards). Renders standalone with defaults; logos and window previews are drawn in code.
- **Fading Social Proof Masonry** (`components/fading-tweet-masonry.tsx`, testimonial) — Centered heading, subline and outlined Discord pill above a five-column staggered masonry of white bordered tweet cards (avatar, handle, X badge, grey body text). The top and bottom edges and outer columns fade out via mask gradients. Props: heading, subline, ctaLabel, ctaHref, and columns (array of arrays of {handle, body, initials, hue}). Renders standalone with fresh default copy; columns are offset vertically and masked at the edges.
- **Dot-Matrix Stat Counter** (`components/dot-matrix-counter.tsx`, stats) — Left column with heading, muted paragraph and outlined GitHub button; right side a huge pixel-dot display of '115.4K' in emerald squares on a faint grid of tinted dots, vignetted by a radial mask so it dissolves into the canvas. Props: heading, body, buttonLabel, buttonHref, and value (digits, ".", "K" or "M" render as a dot-matrix display). Renders standalone with defaults; the faint background dots shimmer softly and respect reduced motion.
- **Four-Column Pricing Matrix** (`components/four-tier-pricing-table.tsx`, pricing) — One bordered container divided into four plan columns with vertical hairlines. Each has a monospace plan name, muted blurb, large mono price with '/ month', full-width button (emerald for the featured plan, white outlined otherwise), a grey note box and a check-bulleted feature list with tiny emerald-tint circle ticks and grey secondary pricing lines. Featured column gets a shimmering 'Most Popular' pill. Pass `plans` (array with name, blurb, price, cta, note, lead, features, featured) and `badge` to override copy; renders standalone with defaults. The featured plan gets the shimmering pill and emerald button.
- **Airy Spec Table Card** (`components/spec-comparison-table.tsx`, table) — Rounded hairline card with borderless table rows: muted column headers, bold row names with grey sublabels, and values with 'then $…' secondary lines. A small outlined arrow-link pill sits centered below. Pass title, subtitle, rows (name, sub, max, size[], iops[], throughput[], durability), linkLabel and linkHref. Renders standalone with defaults; the table scrolls horizontally on small screens.
- **Add-on Feature Cards with Toggle** (`components/feature-upsell-cards.tsx`, card) — One wide horizontal card with a light chart illustration (green toggle chip 'Spend Cap On', bars under a green threshold line) beside eyebrow, title, description and outlined arrow button; below, two half-width cards with pill/stack illustrations, price line, icon title and corner arrow. All copy is exposed as props with defaults (heading, featureTitle, domainTitle, recoveryTitle, etc.). The spend-cap chip is a working switch that animates its thumb and dims the threshold line; bars and layered illustrations fade in staggered at 80ms.
- **Mono Eyebrow Centered Hero** (`components/centered-eyebrow-hero.tsx`, hero) — Centered page hero used on solution pages: emerald uppercase monospace eyebrow, Manrope headline, soft grey paragraph and a button pair, followed by a row of small greyscale partner logos. Props: eyebrow, title, description, primaryLabel/Href, secondaryLabel/Href, logos (name + shape) and interval (ms) for the logo blur-rise cycle. Renders standalone with defaults.
- **Emphasised Quote Card Row** (`components/quote-cards-with-roles.tsx`, testimonial) — Four equal white hairline cards with quotes in grey where key phrases are darkened for emphasis, then a bottom byline with round avatar, name and monospace uppercase 'COMPANY – ROLE' caption. Pass a `quotes` array of {parts, name, company, role, from, to}; parts marked `em: true` are darkened for emphasis, and from/to set the avatar gradient. Renders standalone with defaults.
- **Ruled Icon Benefit Columns** (`components/ruled-benefit-columns.tsx`, features) — Three-column benefits under a three-tone heading (muted/dark/muted); each column has a line icon, a thin hairline rule with a short dark segment at the left, a Manrope title and small muted paragraph. Props: headingStart, headingHighlight, headingEnd for the three-tone heading, and items (array of {icon: 'timer'|'box'|'shield', title, body}). Renders standalone with defaults; columns fade in on scroll.
- **Platform Capability Bento** (`components/platform-bento-cards.tsx`, features) — Mixed-width white bento cards with greyed icon titles and bottom-anchored copy where the lead sentence is dark and the rest is muted; includes a chip grid of services (Database, Storage, Auth…) and one dark inset panel with dashed green outline and an orange 'Shared Infrastructure' tag. Props: heading, intro, chips (string[]), mainTitle/mainLead/mainRest for the first card, cards (6 items of title, lead, rest) and tag for the dark panel. Renders standalone with defaults.
- **Double-Border Frame Cards** (`components/nested-frame-placeholder-cards.tsx`, card) — Two large cards with an outer hairline frame and an inner white inset panel with its own border, creating a matted frame for embedded tools or screenshots. Props: heading, subheading, and cards (array of {title, rows}). Each card renders an outer hairline frame with an inner bordered panel containing a mini tool UI; cards fade in on scroll.
- **Bevelled Button Set** (`components/pill-link-button-set.tsx`, button) — Buttons with 8px radius and an inset bevel shadow: solid emerald primary with white text, white secondary with hairline border, and small pill links with a trailing diagonal arrow icon. Props: primaryLabel, secondaryLabel, links (string array for pill links), onPrimary, onSecondary. Renders standalone with defaults; buttons darken over 200ms on hover and show a thin ring on focus.
