# Seed Grid

A quiet, near-black page where the only light comes from things that grow. Headlines are set centered in a clean geometric sans with tight tracking, and one phrase in each turns sprout green. Below the hero sits a row of isometric blocks (pods, trays, clusters, stepped racks) drawn from thousands of tiny glowing green dots, like seedlings photographed under grow lights at night. Everything else stays restrained: pale pill buttons, hairline panels, mono labels and a greyscale logo strip. It feels fresh, precise and a little futuristic without being cold.

Use it for: agritech, indoor farming, food and sustainability hardware, climate and energy tools, lab and science products, smart home devices, infrastructure that wants to feel alive. Avoid it for: kids, fashion, luxury retail, warm hospitality, editorial sites with long reading, anything that needs more than one accent colour.

## 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 Seed Grid 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. Copy the `<svg class="sg-defs">` block from demo.html into the page and draw any art with the `#sg-cube` and `#sg-slab` shapes.

`demo.html` (a landing page), `pricing.html`, `blog.html` and `signup.html` are complete example pages built only with the kit, for an invented indoor grow rack company called Rackleaf.

## Fonts

All free on Google Fonts:

```html
<link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">
```

| Role | Font | Use |
|---|---|---|
| Headlines | Geist 500 | Display, h1, h2, prices and stat numbers. Tight tracking (-0.035em on display, -0.025em on h2), sentence case. |
| Body and buttons | Geist 400 to 600 | Body at 400, card titles and buttons at 500, the wordmark at 600. |
| Labels | Geist Mono 400 | Eyebrows, badges, table heads, panel bars, captions and meta at 11 to 12px. Eyebrows and table heads are uppercase with 0.04em tracking. |

## Color

| Token | Hex | Role |
|---|---|---|
| `--sg-night` | #07090A | The page, block faces, inputs |
| `--sg-panel` | #0E1211 | Cards, plans, panels, the CTA box |
| `--sg-raise` | #161B19 | Icon tiles, meters, the active toggle |
| `--sg-line` | #1F2724 | Every hairline border and rule |
| `--sg-line-bright` | #34403B | Button and input borders |
| `--sg-frost` | #ECF0EE | Main text and the light button |
| `--sg-mist` | #9AA5A1 | Leads, body copy in cards and articles |
| `--sg-dim` | #646F6B | Captions, meta, labels |
| `--sg-sprout` | #8BEA6B | The one accent: green headline phrases, dots, meters, focus rings |
| `--sg-harvest` | #F0C36A | A rare warm point: "ready" and "for shops" badges only |

Light effects: `--sg-glow` (soft green bloom behind blocks and the CTA), `--sg-glow-top` (green haze at the top of a hero), `--sg-dot-shadow` (the drop-shadow filter that makes dot art glow) and `--sg-dot-field` (a faint green dot grid for panel backgrounds).

Rules:
- The page is black and grey. Green appears only in one headline phrase, the dot art, small markers, badges, meters and focus rings.
- Never fill a button or a section with green. The main action is the pale `--sg-frost` pill.
- One green phrase per heading, never the whole heading.
- `--sg-harvest` is for one or two badges per page at most.

## Type scale

| Token | Size | Use |
|---|---|---|
| `--sg-text-display` | clamp(40px, 6.6vw, 88px) | The landing hero, centered |
| `--sg-text-h1` | clamp(36px, 5vw, 64px) | Page titles, CTA titles |
| `--sg-text-h2` | clamp(30px, 3.6vw, 46px) | Section headings |
| `--sg-text-h3` | 19px | Card and plan names, Geist 500 |
| `--sg-text-lead` | 18px | Mist lead, max 560px |
| `--sg-text-body` | 16px | Body |
| `--sg-text-micro` | 12px | Mono labels |

Headlines are short and plain, with the green phrase at the end: "Fresh greens, grown **a shelf away**". Wrap it in `<span class="sg-grow">`, and add `.sg-nowrap` if a short word would orphan.

## Shape and space

- Radius: 999px for buttons, chips, badges and the toggle; 10px for inputs and option tiles; 16px for cards, plans and panels; 20px for the CTA box.
- Borders: 1px `--sg-line` everywhere. Cards and panels also get `--sg-highlight`, a faint inset line on the top edge.
- Shadows: only the deep soft `--sg-shadow` under panels, and the light button's faint green halo (`--sg-shadow-btn`). Dot art glows through `--sg-dot-shadow`.
- Dot art: isometric shapes only, at true 30 degree angles. Top faces use the brightest dots (`#sg-dots-hi`), left faces the middle (`#sg-dots-mid`), right faces the dimmest (`#sg-dots-lo`), with a faint green edge line. Never draw solid green fills.
- Sections: 72 to 140px vertical padding. Container 1200px with 24px gutters; articles 700px.
- Motion: slow. `.sg-pulse` breathes a block's opacity over 2.4 seconds; hovers only brighten borders.

## Components (in components.css)

| Class | What it is |
|---|---|
| `.sg` | Put on `<body>`: night page, Geist, frost text, clipped overflow |
| `.sg-defs` | The hidden SVG that holds the dot patterns, `#sg-cube` and `#sg-slab`. One per page, first thing in `<body>` |
| `.sg-container`, `.sg-narrow`, `.sg-section`, `--flush`, `.sg-rule` | Layout |
| `.sg-display`, `.sg-h1`, `.sg-h2`, `.sg-h3`, `.sg-lead`, `.sg-grow`, `.sg-eyebrow`, `.sg-mono` | Type. `.sg-eyebrow` gets a small glowing green square |
| `.sg-btn`, `--light`, `--ghost`, `--sm`, `--block`, `.sg-actions`, `.sg-link` | Pill buttons and links |
| `.sg-nav`, `.sg-logo`, `.sg-nav__links`, `.sg-nav__end` | Three column nav with centered links |
| `.sg-chip` | Announcement pill above a hero headline |
| `.sg-hero`, `.sg-hero__body` | Centered hero with a green haze at the top |
| `.sg-blocks`, `.sg-block`, `.sg-pulse` | The row of four dot-art blocks with mono captions |
| `.sg-dotfield` | A faint green dot grid behind any panel |
| `.sg-logos`, `__label`, `__row` | Greyscale logo strip that fades at both ends |
| `.sg-head`, `--center` | Section heading group |
| `.sg-grid`, `--2`, `.sg-card`, `.sg-card__art`, `.sg-icon` | Cards, optionally with dot art on top |
| `.sg-panel`, `__bar`, `__body`, `.sg-rows`, `.sg-meter` | A sensor or app window with mono rows and glowing meters |
| `.sg-stats`, `.sg-stat` | Big number row |
| `.sg-badge`, `--grow`, `--harvest`, `--alert`, `.sg-dot` | Mono pill badges |
| `.sg-toggle`, `.sg-plans`, `.sg-plan`, `--featured`, `.sg-price`, `.sg-checks` | Pricing |
| `.sg-table-wrap`, `.sg-table`, `.sg-yes` | Comparison table |
| `.sg-faq` | Details and summary list with green plus signs |
| `.sg-article-head`, `.sg-meta`, `.sg-avatar`, `.sg-prose`, `.sg-quote`, `.sg-figure`, `.sg-callout`, `.sg-tags` | Articles |
| `.sg-form`, `.sg-field`, `.sg-fieldset`, `.sg-label`, `.sg-hint`, `.sg-input`, `.sg-select`, `.sg-row`, `.sg-options`, `.sg-option`, `.sg-check`, `.sg-divider` | Forms |
| `.sg-auth`, `__side`, `__main`, `__box` | Split sign-up layout |
| `.sg-cta` | Centered call to action box with a green bloom |
| `.sg-footer` | Four column footer |

## Drawing dot art

Place shapes with `<use>` inside an `<svg>` with a viewBox around 280 units wide. A cube's origin is the top tip of its top face; it is 104 units wide and 120 tall at scale 1. A slab is the same with a 12 unit side.

```html
<svg viewBox="-140 -30 280 280"><use href="#sg-slab" transform="translate(0 130) scale(1.5)"/><use href="#sg-slab" transform="translate(0 75) scale(1.5)"/><use href="#sg-slab" transform="translate(0 20) scale(1.5)"/></svg>
```

To move one cube along the grid, step by (52, 30) times the scale to the right and down, (-52, 30) to the left and down, and (0, -60) up. Draw back to front: lowest y first, bottom cubes before the ones above them.

## Pages in this kit

| File | Page |
|---|---|
| `demo.html` | Landing: chip, centered hero, four dot blocks, logo strip, three art cards, sensor panel, stats, CTA |
| `pricing.html` | Pricing: monthly or yearly toggle, three plans with art, comparison table, FAQ, CTA |
| `blog.html` | Blog post: meta, headline, wide dot-art figure, prose with quote and callout, related cards |
| `signup.html` | Sign up: split layout with a glowing stepped rack, a quote and a form with option tiles |

## Page recipe

1. `<body class="sg">`, then the `.sg-defs` SVG, then `.sg-nav`.
2. Hero: `.sg-hero` with a centered `.sg-chip`, `.sg-display` with one `.sg-grow` phrase, a lead and two pill buttons (light first).
3. Directly under the hero, a `.sg-blocks` row of four dot-art blocks, then the `.sg-logos` strip.
4. Alternate centered and left aligned sections. Each gets an eyebrow, a heading with a green phrase and at most one lead.
5. Show the product as a `.sg-panel` with mono rows rather than a screenshot.
6. End with a `.sg-cta` on `.sg-dotfield`, then the footer.

Pricing: centered heading and toggle, three `.sg-plan` cards each with small dot art on top, the middle one `--featured` with the light button. Follow with a table and an FAQ.

Article: `.sg-narrow` column, mono meta row with one badge, an `.sg-h1` with a green ending, a wide `.sg-figure` of dot art on `.sg-dotfield`, then `.sg-prose`. One quote and one callout per post.

Sign up: `.sg-auth` with dot art and a customer quote on the left panel, and a short form on the right: name and email in a row, option tiles, one select, password, a checkbox, then the light button and a ghost alternative.

## Don'ts

- Don't use photos or illustrations in other styles. If you need a picture, draw it in dots.
- Don't add a second accent colour or a gradient button.
- Don't round corners past 16px on boxes, or square off buttons.
- Don't set headlines in bold or uppercase; 500 with tight tracking is the voice.
- Don't light up whole sections in green. The glow belongs to the dots.
- Don't use em dashes in copy.
