# Group Text

A loud, after-dark social style that looks like the group chat the night before something good. A pure black page, huge heavy wide grotesk headlines in capitals, and a pale pill nav floating at the top. The hero is the conversation itself: chat bubbles in light grey and send blue, round gradient avatars ringed in black, typing dots, all stacked over a glowing photo-like scene. The one flash of color is "foil", a pink, violet, cyan and lime gradient used on a ticket card, the featured plan and one word in a headline. Buttons are small slabs with barely rounded corners; bubbles, badges and the nav are fully round.

Use it for: social and consumer apps, group payments and gifting, invites and RSVPs, nightlife, festivals and venues, dating and friendship apps, creator memberships, anything people share in a group chat. Avoid it for: banks and insurers that need to feel sober, healthcare, legal, dense dashboards and documentation, anything that must read well printed.

## How to use this file

Give this file, `tokens.css` and `components.css` to your AI coding tool and say:

> Build [your page] in the Group Text style. Follow DESIGN.md exactly. Use the tokens in tokens.css and the classes in components.css; don't invent new colors, fonts, radii or shadows.

`demo.html` (a landing page), `pricing.html`, `blog.html` and `signup.html` are complete example pages built only with the kit, for a made-up group money pot app called Whipround.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@100..125,500..900&family=Hanken+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
```

| Role | Font | Weight | Use |
|---|---|---|---|
| Display | Archivo, width 125 | 900 | Always uppercase: hero titles, section titles, card titles, prices, stats, the logo, the footer sign-off |
| Body and UI | Hanken Grotesk | 400 to 700 | Body copy, bubbles, buttons, labels, nav links, meta |

Archivo must be loaded with its width axis (`wdth` 100 to 125) and set with `font-variation-settings: "wdth" 125`. Without it the headlines lose their wide, stamped look. Pull quotes use width 112 and weight 800.

## Color

| Token | Hex | Use |
|---|---|---|
| `--gt-black` | #050506 | The page |
| `--gt-night` | #111114 | Cards, alternate sections, fields, the sign-up side panel |
| `--gt-smoke` | #1C1C21 | Badges, the toggle track, dark bubbles |
| `--gt-line`, `--gt-line-strong` | #2A2A31, #3D3D46 | Card borders, rules, ghost button and field borders |
| `--gt-white` | #F7F6F2 | Text and the primary button |
| `--gt-pill` | #CFCED4 | The nav pill only |
| `--gt-bubble-light` | #E9E8ED | Received bubbles |
| `--gt-blue` | #2C7CF4 | Sent bubbles, chips, focus rings, the "copy link" button |
| `--gt-soft`, `--gt-faint` | #A3A2AC, #6C6B75 | Secondary text, placeholders |
| `--gt-foil-*` | #FF5CA8, #A98BFF, #5AD7FF, #D6FF66 | Only as the `--gt-foil` gradient, plus avatar gradients |
| `--gt-yes` | #3EE08F | Paid dots and check marks |

`--gt-foil-soft` is the pale version of the foil for big surfaces (the featured plan, a highlighted card, pull quotes) with dark text on it. The `--gt-glow-*` tokens only paint the scene and cover backgrounds. Foil is a treat: one foil ticket, one foil word and one foil card per screen at most.

## Type scale

| Class | Size | Notes |
|---|---|---|
| `gt-hero-title` | clamp(48px, 7.4vw, 108px) | Archivo 900 wide, uppercase, line-height 0.9, short lines broken by hand |
| `gt-h2` | clamp(34px, 4.6vw, 64px) | Archivo 900 wide, uppercase |
| `gt-h3` | 22px | Archivo 900 wide, uppercase |
| `gt-lead` | clamp(18px, 1.6vw, 22px) | Hanken Grotesk 400, max 520px |
| Body | 16px | Hanken Grotesk 400, line-height 1.55 |
| `gt-prose` | 18px | Line-height 1.7 for articles |
| `gt-eyebrow` | 12px | 700, uppercase, tracking 0.14em, `--gt-soft` |
| `gt-foil-text` | inherits | Clips the foil gradient into one word of a headline |

## Shape and space

- Two shapes on purpose: buttons are slabs (`--gt-radius-btn`, 4px), while bubbles (22px), cards (22px), badges, chips, the toggle and the nav are round or pill shaped.
- Shadows only on things that float over a scene: bubbles (`--gt-shadow-bubble`) and the ticket (`--gt-shadow-card`). Cards on the page use a 1px `--gt-line` border instead.
- Avatars always carry a 3px black ring so they cut cleanly into whatever is behind them, and overlap by 10px in a row.
- Sections are 72 to 128px tall in padding; the black between them is part of the look, so don't fill it.

## Components (in components.css)

- **Nav** `gt-nav-wrap` > `gt-nav`: a sticky pale pill with `gt-logo` (a speech-bubble `gt-logo__mark` plus the name), `gt-nav__links` (hidden under 860px) and `gt-nav__end` with `gt-pill--dark` and `gt-pill--light` buttons. Mark the current page with `aria-current`.
- **Buttons** `gt-btn` plus `--primary` (white slab), `--ghost` (black with a hairline), `--blue`, `--foil`, `--block`. Pills (`gt-pill`) are for the nav only.
- **Hero** `gt-hero`: words on the left, `gt-scene` on the right; stacks under 900px.
- **Scene** `gt-scene`: `gt-scene__photo` (gradient glows standing in for a party photo; swap in a real photo when you have one), `gt-scene__stack` of messages, and a `gt-ticket` pinned to the bottom right.
- **Messages** `gt-msg` (add `--sent` to flip it) holding a `gt-avatar` and a `gt-bubble` (`--sent` blue, `--dark` smoke). Add `gt-typing` with three spans for typing dots.
- **Avatar** `gt-avatar` with initials, variants `--b`, `--c`, `--d` for other gradients, `--sm`, and `gt-avatars` for an overlapping row.
- **Ticket** `gt-ticket`: a white card with a foil `gt-ticket__art` and a `gt-ticket__body` row ending in a blue `gt-chip`.
- **Badge** `gt-badge`, `--foil`, `--light`, `--yes` (green dot).
- **Marquee** `gt-marquee` > `gt-marquee__track` of badges, duplicated once for a seamless loop. Wrapper clips overflow.
- **Cards** `gt-grid` of `gt-card` (`--foil` for the one highlighted card), `gt-stats` of `gt-stat`, and `gt-thread` (a chat used as a how-it-works list).
- **Pricing** `gt-toggle`, `gt-plans` of `gt-plan` (`--featured` uses the soft foil), `gt-plan__price`, `gt-list`, and `gt-faq` built on `details`.
- **Article** `gt-article-head`, `gt-byline`, `gt-cover`, `gt-prose`, `gt-pull`, `gt-note`.
- **Forms** `gt-form`, `gt-field`, `gt-label`, `gt-input`, `gt-hint`, `gt-choices` of `gt-choice` pills, `gt-check`, `gt-or`.
- **Sign-up** `gt-split` with `gt-split__side` (the chat and a ticket) and `gt-split__main`.
- **Footer** `gt-footer` with a giant `gt-footer__big` sign-off, `gt-footer__cols` and `gt-footer__legal`.

## Pages in this kit

- `demo.html`: landing page. Nav, hero with scene, marquee, a chat thread as how-it-works, three idea cards, stats, a big closing call to action, footer.
- `pricing.html`: centered hero with a foil word, billing toggle, three plans with the middle one in soft foil, a chat that explains the fee, FAQ.
- `blog.html`: article head with badges and byline, a cover drawn as a chat, prose with a pull quote and list, a try-it note, more posts.
- `signup.html`: split screen, a chat and ticket on the side, a form with pill choices and a success state.

## Page recipe

1. `gt-nav-wrap` at the top of every page.
2. A hero whose title is two to four short uppercase lines, one of them in `gt-foil-text`, then a lead and two buttons (primary plus ghost).
3. Show the product as a conversation: a `gt-scene` or `gt-thread` instead of a screenshot.
4. Alternate black and `gt-section--night` sections. One foil card per grid.
5. End with a centered `gt-hero-title` call to action, then the footer with its giant sign-off.

**Pricing recipe:** centered title, `gt-toggle`, three `gt-plan`s with the middle one `--featured` and a white primary button; the others get ghost buttons. Explain fees in bubbles, then a two-column FAQ on `--night`.

**Article recipe:** `gt-narrow` head with a foil badge, a `gt-h2` title (not the hero size), lead and byline; a `gt-cover`; then `gt-prose` with uppercase h2s, one `gt-pull` and a `gt-note` call to action.

**Sign-up recipe:** `gt-split`. The side shows a short chat about the thing being signed up for and a ticket preview. The form asks four things at most, uses `gt-choices` instead of selects where it can, and shows a success state in place.

## Don'ts

- Don't use the foil on more than one card, ticket or word per screen, and never as a page background.
- Don't round the buttons into pills; pills belong to the nav, badges and choices.
- Don't set headlines in lowercase or without the width axis.
- Don't put bubbles on a light page. The style lives on black.
- Don't use photos of real people without permission; the gradient scene and initials avatars are there so you don't have to.
- Don't add more accent colors. Blue is for "sent" and actions, green is for "paid", foil is for joy.
