# Iridescent Ledger

Crisp fintech clarity: pale blue-white canvases and deep navy ink, with vivid iridescent orange-magenta-violet silk ribbons as the single decorative flourish. Hairline column grids, light-weight geometric sans type and layered product mockups make it feel precise, trustworthy and quietly premium.

Tags: fintech, light, gradient, saas, editorial, hairline-grid, iridescent, enterprise
Inspired by: https://stripe.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` | #F8FAFD | Default page background, pale blue-white |
| `surface` | #FFFFFF | Cards, nav, inputs, panels |
| `surface-tint` | #F6F9FC | Feature card preview wells and alternate bands |
| `hairline` | #E5EDF5 | Column rules, dividers, card borders |
| `ink` | #0A2540 | Headlines and primary text |
| `ink-deep` | #061B31 | Strongest headings, dark buttons |
| `ink-muted` | #50617A | Body copy and secondary text |
| `ink-faint` | #64748D | Captions, de-emphasised stats and labels |
| `accent` | #533AFD | Primary buttons, links, icon strokes |
| `accent-soft` | #635BFF | Pills, active tabs, gradient start, hover state |
| `accent-wash` | #D6D9FC | Icon button chips and tinted highlights |
| `night` | #0D1738 | Dark developer section background |
| `night-panel` | #122054 | Dark section node and card fill |
| `signal-orange` | #FF6118 | Gradient hot stop and warm highlights |
| `signal-magenta` | #F72DF3 | Gradient mid stop |
| `cyan-action` | #00D4FF | Secondary CTA on dark navy plan card |

## Typography
| Token | Stack | Usage |
| --- | --- | --- |
| `font-sans` | sohne-var, Helvetica Neue, Arial, sans-serif | All UI and headings; variable font used at light weights (300) for large display and 400–425 for body |
| `font-display` | sohne-var, SF Pro Display, sans-serif | Large headlines with tight negative tracking |
| `font-mono` | SourceCodePro, SFMono-Regular, monospace | Code snippets inside product mockups |

| Class | Size | Line height | Weight | Tracking |
| --- | --- | --- | --- | --- |
| `text-display` | 56px | 1.0 | 300 | -0.03em |
| `text-h1` | 48px | 1.1 | 300 | -0.025em |
| `text-h2` | 32px | 1.15 | 300 | -0.02em |
| `text-h3` | 26px | 1.2 | 300 | -0.015em |
| `text-lead` | 22px | 1.4 | 300 | -0.01em |
| `text-body` | 16px | 1.5 | 425 | 0 |
| `text-ui` | 15px | 1.6 | 425 | 0.01em |
| `text-caption` | 13px | 1.5 | 400 | 0.01em |
| `text-micro` | 10px | 1.4 | 400 | 0.02em |

## Shape & depth
| Class | Value |
| --- | --- |
| `rounded-xs` | 2px |
| `rounded-sm` | 4px |
| `rounded-md` | 6px |
| `rounded-lg` | 8px |
| `rounded-pill` | 99999px |
| `shadow-raised` | rgba(50,50,93,0.25) 0px 2px 5px -1px, rgba(0,0,0,0.3) 0px 1px 3px -1px |
| `shadow-card` | rgba(50,50,93,0.25) 0px 13px 27px -5px, rgba(0,0,0,0.3) 0px 8px 16px -8px |
| `shadow-floating` | rgba(50,50,93,0.25) 0px 30px 60px -12px, rgba(0,0,0,0.3) 0px 18px 36px -18px |
| `shadow-soft-glow` | rgba(0,55,112,0.1) 0px 15px 40px 0px, rgba(0,59,137,0.04) 0px 5px 20px 0px |
| `bg-silk-radial` | radial-gradient(circle, rgb(83,58,253) 0%, rgba(247,45,243,0.87) 30%, rgb(255,97,24) 50%, rgba(255,255,255,0) 70%) |
| `bg-pastel-bloom` | radial-gradient(circle, rgb(127,125,252), rgb(244,75,204) 33%, rgb(229,237,245) 66%) |
| `bg-sunrise-bloom` | radial-gradient(circle, rgb(255,173,0), rgb(255,118,0) 33%, rgb(229,237,245) 66%) |
| `bg-photo-scrim` | linear-gradient(rgba(10,37,64,0), rgba(10,37,64,0.25)) |

## Motion
| Token | Kind | Duration | Easing | Notes |
| --- | --- | --- | --- | --- |
| `link` | transition | 150ms | cubic-bezier(0.215, 0.61, 0.355, 1) | Color and opacity change on links and buttons; transforms use the same curve. |
| `smooth` | transition | 300ms | cubic-bezier(0.25, 1, 0.5, 1) | Color, fill, opacity and transform changes for icons, cards and arrow links. |
| `nav-arrow-in` | animation | 200ms | ease-out | Chevron slides in 3px from the left on nav and link hover. |
| `chat-card-entrance` | animation | 300ms | cubic-bezier(0.25, 1, 0.5, 1) | Floating sales chat card rises into the bottom-right corner on load and scroll. |
| `lazy-fade` | animation | 500ms | cubic-bezier(0.33, 1, 0.68, 1) | Product graphics and diagrams fade in as they scroll into view. |
| `fixed-nav-drop` | transition | 250ms | ease | Sticky sub-navigation pill slides down from translateY(-100%) with a fade on scroll. |
| `graphic-rise` | animation | 900ms | cubic-bezier(0.16, 1, 0.3, 1) | Mockup browser windows and UI layers lift and scale into place on scroll. |

## Components
- **Checklist Feature Columns** (`components/feature-checklist-grid.tsx`, features) — Four-column grid divided by dashed vertical hairlines. Each column has a duotone blue-purple illustration, a small purple tick marker next to the title, and a check-icon bullet list. Pass `heading` and `columns` (array of {title, items, icon 0-7}); renders standalone with defaults. Icons tilt on column hover.
- **Iridescent Ribbon Hero** (`components/ribbon-hero.tsx`, hero) — Left-aligned light-weight headline where the first sentence is dark navy and the remainder is slate blue and picks up a violet-to-magenta gradient where it crosses the artwork. A huge animated silk ribbon in orange, magenta and periwinkle sweeps in from the top right. A purple primary button and an outlined Google sign-up button sit below, and a live counter eyebrow sits above. A logo strip anchors the bottom edge. Props: eyebrow, startValue (live counter start), leadLine (dark first sentence), body (slate/gradient remainder), primaryLabel, secondaryLabel, logos (string[] for the marquee). Renders standalone with defaults; the SVG ribbon drifts via CSS and respects reduced motion.
- **Dated Article Row** (`components/blog-feature-post.tsx`, blog) — Rows split by hairlines: a purple category label with marker, a large bold navy title, a muted excerpt and a 'Read more' arrow link on the left; on the right, a date and an author with a round avatar and role, over a large shadowed image card with colorful silk framing. Pass an `articles` array (category, date, title, excerpt, author, role, initials, variant: "confirm" | "chat") to render rows; it renders with two sample rows by default. Hovering a row shifts the link chevron, tints the title and lifts the image card.
- **Saturated Highlight Card Strip** (`components/highlight-color-cards.tsx`, carousel) — A horizontal strip of equal-width rounded cards, each a flat saturated blue gradient from cyan through indigo to deep navy, with a white title, a dated subtitle, a short blurb and a 'Learn more' link pinned to the bottom. Overflowing cards bleed off the right. Props: heading, cards (title, date, body, href, bg class) and linkLabel. Scroll horizontally or drag with the pointer; cards lift with a stronger shadow on hover.
- **Frosted Hairline Header** (`components/hairline-header.tsx`, header) — Full-width white bar with a wordmark on the left, dark navy nav items with small chevrons, and a solid purple 'Contact sales' button on the right. The ribbon artwork bleeds in behind the bar's right half. Props: brand, items (array of {label, menu?}), ctaLabel, ctaHref. Items with a menu array open a megamenu panel on hover or focus; renders standalone with defaults.
- **Sticky Pill Sub-Navigation** (`components/capsule-subnav.tsx`, tabs) — A white pill-shaped floating bar with soft shadow, holding in-page anchors (Standard pricing, Custom pricing, FAQs). It centers near the bottom of the hero and then pins to the top when scrolling. Pass `items` (id + label) matching your section ids, `defaultActive`, and `pinOffset` (scroll px before the bar pins to the top). Clicking an anchor tints it with the accent pill.
- **Mockup Bento Grid** (`components/solution-bento.tsx`, features) — Two-column bento of white hairline-bordered cards with a light-weight heading at the top left and a tiny expand icon chip at the top right. Each card holds a layered product mockup (terminal, checkout, usage meter, card, globe) over a pastel orange-to-violet bloom or grid backdrop. Props: heading, subheading and cards (title, span class, kind: checkout|meter|form|card|globe). The expand chip on each card toggles a simple detail overlay.
- **Product Catalog Card** (`components/product-feature-card.tsx`, card) — Bordered white card with a purple product name, a muted two-line description and a tinted preview well below containing a clipped, cropped mini-UI illustration with skeleton bars and edge-fade masks. Cards are arranged two per row on the right of a sticky category title. Props: title, intro, and items (array of {name, desc, kind: chat|form|list|chart}). Renders a two-column grid of bordered cards whose preview wells shift on hover; works with no props.
- **Gradient Product Search Bar** (`components/product-filter-bar.tsx`, search) — A white rounded toolbar floating over a vivid orange-purple silk gradient banner. It contains a search field with magnifier icon and two select dropdowns (Use case, Product area). Props: headline, subline, placeholder, useCases, areas, and onChange({query, useCase, area}) to filter a catalog below. Renders standalone with defaults; fields show an accent focus ring.
- **Hairline Stat Row with Sunburst** (`components/stat-ribbon.tsx`, stats) — A centered headline above four-column KPI cells split by hairline rules. Numbers are large light-weight navy and fade to slate. Below sits a huge blue fiber-optic canvas sunburst over a soft blue radial glow, with a small theme toggle chip in the corner. Props: `heading` (use \n for line breaks) and `stats` (array of {to, decimals, prefix, suffix, label, faded}). Numbers count up on scroll; the sunburst animates outward on load and the corner chip toggles a dark theme.
- **Scrimmed Event Banner** (`components/story-photo-banner.tsx`, cta) — Rounded 6px full-width photo panel of a conference stage with a dark violet scrim, a large white light-weight headline and a white button with purple text. A small wordmark sits at the bottom right. Props: headline, ctaLabel, href, wordmark, wordmarkSuffix, imageSrc (defaults to a stock stage photo). Renders standalone; the photo fades in on load and zooms slightly on hover while the chevron slides.
- **Customer Story Showcase** (`components/customer-story-accordion.tsx`, accordion) — A section lead with heading, purple button and right-aligned paragraph, then a featured story row with a logo tile, title and outlined 'Read the story' link, over a wide 21:9 aerial photo with a three-fact stat strip. Below, collapsed stories sit on dashed hairlines with plus chip toggles. Props: heading, intro, ctaLabel, featuredTitle, featuredImage, stats, and stories (title, mark, detail, image). Click a plus chip to expand a story row and reveal its photo; hover 'Read the story' to cross-fade label and chevron.
- **Portrait Story Carousel** (`components/story-card-carousel.tsx`, carousel) — Row of 3:4 rounded image cards with colorful abstract artwork and a white logo at the bottom, each with a two-line caption and purple arrow link beneath. Previous and next square icon buttons sit top right. Pass heading, intro, ctaLabel and a stories array (name, caption, link, from/to gradient colors, shape 0-3). Previous/next buttons shift the track by one card over 350ms.
- **Floating Dashboard Window on Silk** (`components/platform-window-mockup.tsx`, media) — A frosted browser-window mockup with traffic-light dots and a URL pill on an orange-magenta silk background. Inside is a maroon sidebar and dashed skeleton placeholders, with a small code tooltip card floating over the lower left corner. Props: url, brand, greeting, tooltipTitle, tooltipText, tooltipCode, nav (string array). Renders standalone; layers rise and scale in sequence once the graphic scrolls into view.
- **Midnight Integration Diagram** (`components/night-integration-diagram.tsx`, animated-graphic) — A deep navy section with dotted grid texture, a central rounded logo node and purple label chips (SDK, Event Destinations, Orchestration, PSP) connected by dotted lines. The stats row below uses pastel-gradient numerals. Primary and ghost-outline buttons sit in the heading block. All copy is overridable via props (heading, headingMuted, CTAs, topChips, stats array of {to, suffix, label}). Renders standalone with defaults; the diagram fades in on scroll and its dotted connectors pulse.
- **Split Plan Pricing Cards** (`components/split-plan-cards.tsx`, pricing) — Two side-by-side cards that overlap a diagonal silk ribbon. The white Standard card shows a description, a small purple pill button and a tinted panel with a big price (2.9% + 30¢). The dark navy Custom card has a cyan pill CTA and a stack of translucent blue option tiles. All copy is exposed as props (heading, standardTitle, price, options array, CTAs); renders standalone with defaults. Hover lifts the cards and slides the chevrons.
- **Sales Chat Floating Card** (`components/floating-sales-chat.tsx`, toast) — A white rounded card with a soft shadow in the bottom-right corner, showing overlapping round avatars, a green availability dot, a bold 'N sales reps available' heading, a muted line and a close icon. A dark navy 'Chat now' button sits below. Props: count, heading, message, buttonLabel, hideAfter/showAfter (scroll range in px where it is visible), onChat, onClose. Fixed bottom-right; the close icon dismisses it permanently.
- **Marker-Rule Results Columns** (`components/results-metric-columns.tsx`, stats) — Large light-weight headline over four columns of bold figures ($70M, 6 months faster), each with a thin purple vertical marker at the left and a muted description. Pass `heading` and a `stats` array of {value, label}; renders standalone with defaults. Four columns on large screens, two on small, with a thin accent marker at each column's top-left.
- **Filter Pills with Featured Story Card** (`components/segmented-story-feature.tsx`, tabs) — Eyebrow, heading and a row of pill tabs (the active one in solid purple with white text, the other in plain navy) beside a purple arrow link. A left stat column with marker rules leads to a large orange-duotone photo card with a logo and white bold caption. Pass eyebrow, heading, linkLabel, and startup/enterprise story objects (stats, products, more, caption, brand, image). Clicking a pill slides the featured story horizontally over 350ms.
- **Challenge-Solution Case Study** (`components/case-study-split.tsx`, features) — Left column of marker-ruled labels (Challenge, Solution, Products) with muted paragraphs and a check-bullet purple product list. On the right an app screenshot in a phone frame overlaps a rounded photo. A row of logos beneath is dimmed, with the active one in full color and a colored top rule. Pass `cases` (array of id, name, color, title, challenge, solution, products, photo, amount, phoneColor) plus optional eyebrow, heading and intro. Clicking a logo in the bottom row switches the displayed case study.
- **Newsletter Signup Block** (`components/newsletter-footer-cta.tsx`, form) — A tinted band with a heading, muted lead, a pill-shaped input with a placeholder and a purple pill Subscribe button, and a legal note. To the right sit two icon columns with duotone illustrations and arrow links. All copy, link labels and hrefs are props with defaults; pass onSubscribe(email) to handle form submission. Renders standalone with no props.
