---
version: alpha
name: Grail
description: "Dark interface measured from grail-app.com: PP Pangaia type with Switzer, pale purple accents, flat surfaces and pill-shaped controls."
colors:
  background: "#000000"
  surface: "#000000"
  on-surface: "#FFFFFF"
  on-background: "#FFFFFF"
  on-surface-variant: "#F5F5F5"
  on-surface-muted: "#623562"
  overlay: "#FFFFFF1A"
  overlay-strong: "#FFFFFF4D"
  primary: "#ECD2F3"
  on-primary: "#1A1018"
  inverse-surface: "#F6F6F6"
typography:
  headline-display:
    fontFamily: PP Pangaia
    fontSize: 145px
    fontWeight: 300
    lineHeight: 0.88
    letterSpacing: -0.01em
  headline-lg:
    fontFamily: PP Pangaia
    fontSize: 92px
    fontWeight: 300
    lineHeight: 0.88
    letterSpacing: -0.01em
  headline-md:
    fontFamily: Switzer
    fontSize: 24px
    fontWeight: 700
  body-md:
    fontFamily: Switzer
    fontSize: 16px
    fontWeight: 400
  body-lg:
    fontFamily: Switzer
    fontSize: 18px
    fontWeight: 700
    lineHeight: 1.12
  body-sm:
    fontFamily: system-ui
    fontSize: 13px
    fontWeight: 400
  label-lg:
    fontFamily: system-ui
    fontSize: 16px
    fontWeight: 600
  label-md:
    fontFamily: Switzer
    fontSize: 15px
    fontWeight: 600
  label-sm:
    fontFamily: system-ui
    fontSize: 14px
    fontWeight: 500
  headline-display-mobile:
    fontFamily: PP Pangaia
    fontSize: 60.5px
    fontWeight: 300
    lineHeight: 0.9
    letterSpacing: -0.01em
rounded:
  md: 24px
  full: 9999px
spacing:
  sm: 7.65px
  md: 12px
  lg: 22px
  xl: 40px
  gutter: 24px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.full}"
    padding: 12px 22px
    height: 44px
  button-primary-hover:
    backgroundColor: "#F6E3FB"
---

# Grail Design System

## Overview

Grail describes itself as: “Grail pulls you out of autopilot with one real-world quest a day. Grow four stats: Strength, Intellect, Charisma, Wisdom. When you graduate, your subscription cancels itself.” The interface is dark, built on **Near Black (#000000)** with **White (#FFFFFF)** text, and **Pale Purple (#ECD2F3)** as the main accent.

Type is set in **PP Pangaia** and **Switzer**. Headlines run large with tight negative tracking; body text is 16px. The surface language is flat. Controls are pill-shaped.

Measured from [grail-app.com](https://grail-app.com/) on November 13, 2026 at 1440×900 and 390×844 from 104 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 9 roles.

- **Near Black (#000000):** Page background, seen 2 times. Token `background`, CSS `--text-primary`.
- **White (#FFFFFF):** Primary text and headings, seen 30 times. Token `on-surface`, CSS `--bg-primary`.
- **Snow (#F5F5F5):** Secondary text, seen 3 times. Token `on-surface-variant`.
- **Dark Purple (#623562):** Muted text and metadata, seen 2 times. Token `on-surface-muted`.
- **White 10% (#FFFFFF1A):** Translucent fill for cards and controls, seen 3 times. Token `overlay`.
- **White 30% (#FFFFFF4D):** Stronger translucent fill, seen 1 time. Token `overlay-strong`.
- **Pale Purple (#ECD2F3):** Primary buttons and calls to action, seen 1 time. Token `primary`.
- **Charcoal (#1A1018):** Text and icons on primary. Token `on-primary`.
- **Snow (#F6F6F6):** High-contrast fills, seen 2 times. Token `inverse-surface`.

## Typography

**PP Pangaia**, **Switzer** and **system-ui** share the interface. Fallback stack: `PP Pangaia, Georgia, Times New Roman, serif`.

- **headline-display:** PP Pangaia 145px at weight 300, line height 0.88, tracking -0.01em, uppercase (60.5px on mobile). Page title (h1).
- **headline-lg:** PP Pangaia 92px at weight 300, line height 0.88, tracking -0.01em. Section headings (h2).
- **headline-md:** Switzer 24px at weight 700. Sub-section headings.
- **body-md:** Switzer 16px at weight 400. Body text.
- **body-lg:** Switzer 18px at weight 700, line height 1.12. Lead paragraphs.
- **body-sm:** system-ui 13px at weight 400. Secondary and small text.
- **label-lg:** system-ui 16px at weight 600. Large buttons and tabs.
- **label-md:** Switzer 15px at weight 600. Buttons, navigation and labels.
- **label-sm:** system-ui 14px at weight 500. Small labels and badges.

## Layout

Spacing does not follow a strict grid: 25% of measured values are multiples of 4px, so match the measured steps rather than rounding to a grid.

- **Scale:** sm 7.65px, md 12px, lg 22px, xl 40px.
- **Gaps:** 24px is the most common gap in flex and grid layouts.
- **Breakpoints:** 560px, 720px, 768px, 769px, 1000px, 1279px.

## Elevation & Depth

The design is flat: no shadows were measured. Hierarchy comes from color contrast.

## Shapes

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

- **full (9999px):** 24 elements.
- **md (24px):** 8 elements.

## Components

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

- **button-primary (“Join Waitlist”):** #ECD2F3 fill, #1A1018 text, 15px/600, 999px radius, padding 12px 22px.
- **button-primary-hover:** background #F6E3FB, text #1A1018 on hover.

## Do's and Don'ts

- Do use #000000 for the page.
- Do keep text in 3 levels: #FFFFFF, #F5F5F5, #623562.
- Do reserve #ECD2F3 for primary actions and key highlights.
- Do set headlines in PP Pangaia with tight tracking (-0.01em).
- Do reuse the measured spacing steps (7.65px, 12px, 22px).
- Do make buttons and chips fully rounded (9999px); most other elements use 24px corners.
- Don't use #623562 for body text; it reaches 2.20:1 on #000000. Keep it for large text or metadata.
- Don't add drop shadows for depth; use borders and contrast.
- Don't introduce new font families beyond PP Pangaia, Switzer and system-ui.
- Don't use #ECD2F3 for large backgrounds or body text.
- Don't make interface transitions slower than 0.15s.

## Motion

Interface transitions are quick: 0.15s. Longer ambient animations run 0.62s.

- **Easing:** `cubic-bezier(0.22, 1, 0.36, 1)`, `ease`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

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