# Mixpanel DESIGN.md

> Public preview. The complete DESIGN.md source (all 105 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

A soft, pastel-forward product-intelligence brand built on an off-white canvas, ink-black headlines in Garnett, pill-shaped CTAs, and a signature violet-to-coral gradient spectrum used across hero panels and dark plum feature bands.

- Website: https://mixpanel.com
- Primary color: Black `#1F2023`
- Fonts: Garnett Regular, Apercu Pro, Garnett Medium
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/mixpanel

## Palette preview

- `error`: `#cc5849`
- `outline`: `#eaeaea`
- `primary`: `#1f2023`
- `surface`: `#fafafa`
- `tertiary`: `#ff7557`
- `secondary`: `#7856ff`
- `on-primary`: `#ffffff`
- `on-surface`: `#1f2023`

## Typography preview

- `body-lg`: Garnett Regular
- `label-md`: Apercu Pro
- `title-md`: Garnett Medium

---

## Overview

Mixpanel's site is the friendlier, more colorful face of product analytics: a soft off-white (`#FAFAFA`) canvas, near-black Garnett headlines, and a signature **violet gradient spectrum** that washes across hero panels, section edges, and the /ai landing page in vertical columns and blurred aurora fields. Dark sections flip the canvas to a deep plum (`#33001F`) where pastel accents — mint, peach, coral — glow against the dark ground.

The mood is warm, optimistic, and AI-forward: product UI is shown inside large rounded screenshot cards, an always-present AI assistant ("Melissa") floats bottom-right, and copy speaks directly to "teams that move." Depth is softer than typical SaaS — big gradient panels carry a subtle inset top highlight plus a very diffuse purple-tinted drop shadow.

## Colors

The palette is a real multi-hue token system shipped as CSS custom properties — ten-step ramps for purple, sky blue, mint, coral, orange, amber, and green, layered over a warm neutral scale.

- **Ink (#1F2023):** Headlines, body text on light, and the primary black CTA fill.
- **Off-White (#FAFAFA):** The default page canvas — softer than pure white and part of the brand's gentle feel.
- **Mixpanel Purple (#7856FF):** The core brand accent — gradient fields, the assistant's "Request a Demo" button, checkbox ticks, tab indicators, and tinted badge fills at 10–80% alpha.
- **Purple Ramp (#F2EEFF → #150040):** Light tints (`#F2EEFF`, `#DAD0FF`) for badge fills and hovers; deep shades (`#472BA0`, `#2E1670`, `#150040`) for gradient endpoints and pressed states.
- **Deep Plum (#33001F / #661D2D):** The dark-section ground — a maroon-black that makes pastel accents luminous.
- **Pastel Accents:** Mint `#C4F1ED`, Sky `#72BEF4`, Coral `#FF7557`, Peach `#FFBFB1`, Amber `#F9C85F` — used as headline accents and gradient stops on dark sections, never as body text on light.
- **Neutrals (#F4F4F4 → #515151):** Hairlines `#EAEAEA`, muted text `#797979`/`#515151`, and `#000` at 7% for subtle fills.

## Typography

Two brand sans-serifs share the work: **Garnett** (Regular + Medium cuts, used for virtually all text) and **Apercu Pro** (buttons and small UI labels). An editorial serif italic — **ABC Arizona Text Light Italic** — appears sparingly for pull-quotes and testimonial flourishes.

- **Display / Headlines (60–48px):** Garnett Medium at weight 400 with −0.02em tracking and 1.2 line height — big, rounded, friendly letterforms rather than condensed grotesques.
- **Headlines Small (28–22px):** Section subheads and card titles; on dark bands these pick up pastel accent colors (peach `#FFBFB1`, mint `#C4F1ED`).
- **Body (18–14px Garnett Regular):** Reading text in ink or `#000` at 70%; smaller sizes gain +0.02em tracking.
- **Labels (16px Apercu Pro Medium):** CTAs, tabs, and nav items — a subtly different texture from headline Garnett.

## Layout

A very wide **1500px** max container on an 8px spacing base (with a recurring 10px micro-step). Sections alternate between flat off-white and large inset "sheet" panels — the hero on /ai is literally a giant rounded gradient card inset from the viewport edges. Product screenshots sit inside white rounded frames that bleed below the hero fold. Pricing uses three equal white cards; feature pages mix two-column copy+media rows and accordion-style argument lists.

## Elevation & Depth

Mostly flat surfaces separated by `#EAEAEA` hairlines and tonal fills — **except** the signature gradient panels, which get a two-part elevation: an inset white highlight along the top edge (`rgba(255,255,255,0.15–0.25) 0 3px 4px inset`) plus a very soft, very large plum-tinted drop shadow (`rgba(21,0,64,0.2) 0 31px 60px`). The result is that gradient panels feel like physical glass sheets floating off the page while ordinary cards stay quiet.

## Shapes

- **Pills (9999px / 100px):** Every CTA, badge, and chip is fully rounded — the dominant shape token.
- **Cards (20–24px):** Pricing cards and dark feature cards use generous radii; screenshot frames run even larger.
- **Small elements (4–8px):** Checkboxes, list markers, inputs inside cards.
- **Asymmetric radii:** Chat bubbles and the assistant panel occasionally use mixed corner values (e.g. `14px 3.5px 14px 14px`).

## Motion & Micro-interaction

Simple and quick: background/color state changes run **150ms ease**; larger UI transitions (tab underlines, reveals) use **550ms `cubic-bezier(0.4, 0, 0.2, 1)`** transforms. Ambient gradient fields animate slowly in the background of hero panels. Hover feedback is a fill shift, not a lift.

## Voice & Content Strategy

Direct, kinetic, second-person copy aimed at builders. Headlines are conversational sentences in sentence case, often spanning two lines.

- Headlines: "Build like your customers are right beside you", "Plans that grow with you", "Always-on product intelligence for AI-native teams".
- CTAs: "Get Started Free", "Book a Demo", "Contact Sales", "Start for Free", "Request a Demo" — Title Case with arrow glyphs (`>`) on secondary pills.
- Proof: "Trusted by 29,000+ companies", "Mixpanel is for teams that move. Make your move."
- Product language is plain ("Session Replay", "Metric Trees", "Experiments") — no jargon walls.

## Components

### Buttons & CTAs

Fully rounded pills (~44px), Apercu Pro Medium 16px labels. **Primary** is ink fill `#1F2023` with white text ("Book a Demo", "Get Started Free" in the nav). **Secondary** is a light-gray fill with ink text and a trailing `>` arrow. **Accent** is solid Mixpanel Purple used sparingly (the Melissa assistant's "Request a Demo"). Hovers darken the fill — no shadows or lifts.

### Navigation

Transparent over the off-white canvas: lowercase "mixpanel" wordmark left, dropdown links center (Platform, Solutions, Resources, Pricing), a globe locale icon, "Log In" text link, gray "Contact Sales" pill, and black "Get Started Free" pill right.

### Cards & Panels

White cards on the off-white canvas with 20–24px radius and hairline borders; dark feature bands use the deep-plum ground with pastel headline accents. The showpiece is the **gradient panel** — a viewport-inset rounded rectangle filled with a violet→pink→blue aurora, white inner cards, and the signature plum-tinted shadow.

### Badges, Tabs & The Prompt Box

Small pill chips pair `#F2EEFF` fills with deep-purple `#472BA0` text. Product tab strips use 16px items where the active tab is white with purple text. The "Ask Mixpanel Agent" prompt is a tall white card (radius ~20px) with a hairline border and an arrow submit button — the recurring AI-interaction motif.

## Do's and Don'ts

- **Do** keep the canvas off-white `#FAFAFA` — pure white is reserved for cards and inner surfaces.
- **Do** use ink `#1F2023` (not pure `#000`) for headlines and primary CTAs.
- **Do** reserve purple `#7856FF` for gradients, badges, and one accent CTA per view — it is a spice, not a surface.
- **Do** put pastel accents (mint, peach, coral) only on dark plum grounds where they can glow.
- **Do** give gradient panels the inset-highlight + plum-shadow treatment — flat gradients look unfinished here.
- **Don't** use shadows on ordinary cards; hairlines and tonal fills do the work.
- **Don't** set headlines in heavy weights — Garnett Medium at nominal 400 is the house style.
- **Don't** use uppercase eyebrow labels; chips and small text stay in a lightly-tracked sentence case.
- **Don't** square off CTAs — anything clickable at marketing scale is a pill.
