---
version: alpha
name: Brilliant
description: "Light interface measured from brilliant.org: CoFo Robert type with CoFo Brilliant, green accents, tonal surfaces and pill-shaped controls."
colors:
  background: "#F5F3F1"
  surface: "#F5F3F1"
  on-surface: "#000000"
  on-background: "#000000"
  on-surface-variant: "#626160"
  on-surface-muted: "#999999"
  surface-container-low: "#FAF9F8"
  surface-container: "#FFFFFF"
  outline: "#E4E4E4"
  primary: "#29CC57"
  on-primary: "#FFFFFF"
  secondary: "#FF5D5D"
  tertiary: "#009B2B"
  link: "#279B8D"
typography:
  headline-display:
    fontFamily: CoFo Robert
    fontSize: 54px
    fontWeight: 500
    lineHeight: 1.1
    letterSpacing: -0.019em
  headline-lg:
    fontFamily: CoFo Robert
    fontSize: 44px
    fontWeight: 500
    lineHeight: 1.1
    letterSpacing: -0.009em
  headline-md:
    fontFamily: CoFo Brilliant
    fontSize: 30px
    fontWeight: 400
    lineHeight: 1.25
    letterSpacing: -0.012em
  body-md:
    fontFamily: CoFo Brilliant
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.25
  body-lg:
    fontFamily: CoFo Brilliant
    fontSize: 18px
    fontWeight: 400
    lineHeight: 1.5
  body-sm:
    fontFamily: CoFo Brilliant
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.5
  label-md:
    fontFamily: CoFo Brilliant
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  headline-display-mobile:
    fontFamily: CoFo Robert
    fontSize: 36px
    fontWeight: 500
    lineHeight: 1.1
    letterSpacing: -0.01em
  headline-lg-mobile:
    fontFamily: CoFo Robert
    fontSize: 32px
    fontWeight: 500
    lineHeight: 1.1
  headline-md-mobile:
    fontFamily: CoFo Brilliant
    fontSize: 24px
    fontWeight: 400
    lineHeight: 1.25
    letterSpacing: -0.012em
rounded:
  xs: 2px
  sm: 12px
  md: 28px
  lg: 56px
  xl: 60px
  full: 9999px
spacing:
  xs: 4px
  sm: 8px
  md: 14px
  lg: 20px
  xl: 36px
  gutter: 8px
  section: 88px
  margin: 20px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.xl}"
    padding: 0px
    height: 47px
  button-primary-hover:
    backgroundColor: "#48D26E"
  button-outline:
    backgroundColor: "{colors.surface-container}"
    textColor: "#00000066"
    typography: "{typography.label-md}"
    rounded: "{rounded.xl}"
    padding: 0px
    height: 47px
  button-ghost:
    textColor: "{colors.on-surface}"
    typography: "{typography.body-md}"
    rounded: 54px
    padding: 8px 14px
    height: 36px
  card:
    backgroundColor: "{colors.surface-container}"
    textColor: "{colors.on-surface}"
    typography: "{typography.label-md}"
    rounded: "{rounded.md}"
    padding: 36px
  link:
    textColor: "{colors.link}"
---

# Brilliant Design System

## Overview

Brilliant describes itself as: “Visual, interactive tutoring in math and coding, from 5th grade through college. Master concepts in algebra, calculus, Python, computer science, and more.” The interface is light, built on **Mist (#F5F3F1)** with **Near Black (#000000)** text, and **Green (#29CC57)** as the main accent.

Type is set in **CoFo Robert** and **CoFo Brilliant**. Headlines run large with tight negative tracking; body text is 14px. Depth comes from soft drop shadows. Controls are pill-shaped.

Measured from [brilliant.org](https://brilliant.org/) on November 14, 2026 at 1440×900 and 390×844 from 253 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 12 roles.

- **Mist (#F5F3F1):** Page background, seen 3 times. Token `background`.
- **Near Black (#000000):** Primary text and headings, seen 45 times. Token `on-surface`, CSS `--panda-colors-border-active`.
- **Slate (#626160):** Secondary text, seen 13 times. Token `on-surface-variant`, CSS `--panda-colors-black-alpha-700`.
- **Gray (#999999):** Muted text and metadata, seen 11 times. Token `on-surface-muted`.
- **Snow (#FAF9F8):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **White (#FFFFFF):** Cards and panels, seen 15 times. Token `surface-container`.
- **Mist (#E4E4E4):** Borders and dividers, seen 12 times. Token `outline`.
- **Green (#29CC57):** Primary buttons and calls to action, seen 1 time. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Red (#FF5D5D):** Accent (CSS variable). Token `secondary`.
- **Dark Green (#009B2B):** Accent (CSS variable). Token `tertiary`.
- **Teal (#279B8D):** Inline links, seen 1 time. Token `link`.

## Typography

**CoFo Robert** and **CoFo Brilliant** share the interface. Fallback stack: `CoFo Robert, sans-serif`.

- **headline-display:** CoFo Robert 54px at weight 500, line height 1.1, tracking -0.019em (36px on mobile). Page title (h1).
- **headline-lg:** CoFo Robert 44px at weight 500, line height 1.1, tracking -0.009em (32px on mobile). Section headings (h2).
- **headline-md:** CoFo Brilliant 30px at weight 400, line height 1.25, tracking -0.012em (24px on mobile). Sub-section headings.
- **body-md:** CoFo Brilliant 14px at weight 400, line height 1.25. Body text.
- **body-lg:** CoFo Brilliant 18px at weight 400, line height 1.5. Lead paragraphs.
- **body-sm:** CoFo Brilliant 12px at weight 400, line height 1.5. Secondary and small text.
- **label-md:** CoFo Brilliant 16px at weight 400, line height 1.5. Buttons, navigation and labels.

## Layout

Spacing is mostly on a 4px grid (83% of measured values), with some off-grid steps. Match the measured scale rather than rounding everything.

- **Scale:** xs 4px, sm 8px, md 14px, lg 20px, xl 36px.
- **Sections:** 88px vertical padding between major sections.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Page margin:** 20px on each side of full-width sections.
- **Breakpoints:** 380px, 393px, 491px, 768px, 900px.

## Elevation & Depth

Raised elements use soft drop shadows. The most used recipes:

- `rgba(0, 0, 0, 0.05) 0px 4px 10px 0px`
- `rgb(21, 180, 65) 0px 4px 0px 0px`
- `rgb(220, 218, 216) 0px 4px 0px 0px`

## Shapes

Interactive controls are pill-shaped. Measured radii, most used first:

- **full (9999px):** 52 elements.
- **md (28px):** 20 elements.
- **xl (60px):** 16 elements.
- **lg (56px):** 12 elements.
- **xs (2px):** 8 elements.
- **sm (12px):** 8 elements.

## Components

Measured from the rendered page. Token values reference the tokens above.

- **button-primary (“I’m a learner”):** #29CC57 fill, #FFFFFF text, 16px/400, 60px radius, padding 0px.
- **button-primary-hover:** background #48D26E, text #FFFFFF on hover.
- **button-outline (“I’m a parent or teacher”):** #FFFFFF fill, #00000066 text, 16px/400, 60px radius, padding 0px.
- **button-ghost (“Sign in”):** transparent fill, #000000 text, 14px/400, 54px radius, padding 8px 14px, border 1px solid #E4E4E4.
- **card:** #FFFFFF fill, #000000 text, 16px/400, 28px radius, padding 36px, border 1px solid #E4E4E4.
- **link:** transparent fill, #279B8D text, padding 0px.

## Do's and Don'ts

- Do use #F5F3F1 for the page and lift surfaces in small steps: #FAF9F8, #FFFFFF.
- Do keep text in 3 levels: #000000, #626160, #999999.
- Do reserve #29CC57 for primary actions and key highlights.
- Do set headlines in CoFo Robert with tight tracking (-0.019em).
- Do reuse the measured spacing steps (8px, 14px, 20px).
- Do make buttons and chips fully rounded (9999px); most other elements use 28px corners.
- Don't use #999999 for body text; it reaches 2.57:1 on #F5F3F1. Keep it for large text or metadata.
- Don't introduce new font families beyond CoFo Robert and CoFo Brilliant.
- Don't use #29CC57 for large backgrounds or body text.
- Don't make interface transitions slower than 0.3s.

## Motion

Interface transitions are quick: 0.3s, 0.25s, 0.15s, 0.1s. Longer ambient animations run 0.75s, 0.7s, 1s.

- **Easing:** `ease`, `cubic-bezier(0.22, 1, 0.36, 1)`, `ease-out`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/brilliant.org/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
