# Flora design system — agent pack (v1.0.0)

> Warm botanical interfaces with paper surfaces and hard shadows.

An editorial, lightly neo-brutalist system distilled from the Jasurbek portfolio and Solnoma. Cream paper, sage and terracotta, deep green ink, thick outlines, offset shadows — and hand-cut flowers that stay behind the words.

## Visual brief

Design a warm botanical digital experience called **Flora** for a thoughtful software engineer or modern developer product. The visual language should feel editorial, tactile, calm, practical and slightly neo-brutalist rather than corporate or generic.

Palette:
- Warm paper canvas `#F1E9DC`, paper surfaces `#FBF6EC`, hover surface `#E9DDCD`
- Deep green ink `#2F4038` for primary text and thick outlines, muted green `#6D786D` for secondary text
- Sage `#C7D2B1` as the soft primary accent
- Terracotta `#B86752` for actions
- Dusty rose `#DDA095` for floral emphasis
- Botanical blue `#82998C` for cool contrast
- Deep teal `#273A32` for dark surfaces

Add restrained botanical decorations: transparent-background floral corner clusters, side branches, small blooms, leaf sprigs and subtle hand-drawn marks. Place them behind the content or at the edges of the composition. Keep their opacity between 18% and 72%, preserve generous negative space, and never let the flowers compete with the main copy or controls.

Typography: DM Sans for interface text; DM Serif Display sparingly for names, the hero and major editorial headings.

Shapes: rounded cards (12px) with 2–3px dark-green borders, 4–6px offset hard shadows with zero blur, compact uppercase metadata labels, pill-shaped status tags, and confident but friendly buttons that lift on hover and press flat on click.

Keep the layout airy, responsive, accessible, keyboard-friendly and easy to scan on mobile. The result should feel like a developer's personal garden: carefully built, honest, useful and a little unexpected.

Avoid: neon gradients, glassmorphism, excessive blur, generic SaaS blue, stock photography, ornamental clutter, illegible typography, and flowers placed on top of important text.

## Palette

| Name | Hex | Token | Role |
| --- | --- | --- | --- |
| Canvas | `#F1E9DC` | `--flora-canvas` | Page background |
| Surface | `#FBF6EC` | `--flora-surface` | Paper cards, panels |
| Surface hover | `#E9DDCD` | `--flora-surface-hover` | Hover, secondary surface |
| Ink | `#2F4038` | `--flora-ink` | Headings, primary text |
| Muted | `#6D786D` | `--flora-muted` | Supporting copy |
| Border | `#31473B` | `--flora-border` | Thick outlines |
| Sage | `#C7D2B1` | `--flora-sage` | Soft primary accent |
| Terracotta | `#B86752` | `--flora-terracotta` | Actions, emphasis |
| Dusty rose | `#DDA095` | `--flora-rose` | Floral accent |
| Botanical blue | `#82998C` | `--flora-botanical-blue` | Cool support |
| Deep teal | `#273A32` | `--flora-deep-teal` | Dark surfaces |

## Principles

- **Paper on paper.** Surfaces stack like cut card: cream canvas, paper panels, 2–3px ink outlines and hard offset shadows with zero blur.
- **Flowers stay behind.** Botanical layers sit at the edges at 18–72% opacity, aria-hidden and unclickable. Content always wins.
- **One warm action.** Terracotta is reserved for the primary action on a screen. Sage carries selection and soft emphasis.
- **Tactile feedback.** Controls lift 2px on hover and press flat on click, so every interaction feels physical.
- **Editorial restraint.** DM Serif Display only for names, heroes and section openers; DM Sans does the work everywhere else.

**Do:** Use one large corner flower, one side sprig and one faint bloom on a hero; Hide side decorations under 768px and keep a single corner; Use pills for status and tech tags; Keep body text at 16px or larger with ≥ 4.5:1 contrast.
**Don't:** Soft grey drop shadows or blur; Gradients, glassmorphism, neon, SaaS blue; Flowers on top of text or buttons; Stock photography.

## Tokens (tokens.css)

```css
/* ==========================================================================
   Flora — design tokens v1.0
   Warm botanical, editorial, lightly neo-brutalist.
   Drop this file in first; every Flora component reads from these variables.
   ========================================================================== */

:root {
  /* — Color: surfaces — */
  --flora-canvas: #F1E9DC;          /* warm page background */
  --flora-surface: #FBF6EC;         /* paper cards, panels */
  --flora-surface-hover: #E9DDCD;   /* hover + secondary surface */
  --flora-surface-sunk: #E4D7C4;    /* inputs on cards, wells */

  /* — Color: ink — */
  --flora-ink: #2F4038;             /* headings, primary text */
  --flora-muted: #6D786D;           /* supporting copy, metadata */
  --flora-border: #31473B;          /* thick outlines */
  --flora-shadow-color: #35483B;    /* hard offset shadows */

  /* — Color: accents — */
  --flora-sage: #C7D2B1;            /* soft primary accent */
  --flora-sage-strong: #B4C39A;     /* sage hover */
  --flora-terracotta: #B86752;      /* actions, warm emphasis */
  --flora-terracotta-strong: #9C5341; /* action hover / pressed */
  --flora-rose: #DDA095;            /* floral accent */
  --flora-botanical-blue: #82998C;  /* cool supporting accent */
  --flora-deep-teal: #273A32;       /* dark contrast surface */
  --flora-on-dark: #F1E9DC;         /* text on deep teal / terracotta */

  /* — Color: feedback — */
  --flora-success: #4F7A55;
  --flora-warning: #B98A2E;
  --flora-danger: #A4473A;
  --flora-focus: #B86752;

  /* — Borders + radius — */
  --flora-border-thin: 1.5px;
  --flora-border-medium: 2px;
  --flora-border-thick: 3px;
  --flora-radius-sm: 6px;
  --flora-radius-button: 8px;
  --flora-radius-card: 12px;
  --flora-radius-panel: 18px;
  --flora-radius-pill: 999px;

  /* — Shadows (always hard, never blurred) — */
  --flora-shadow-small: 2px 2px 0 var(--flora-shadow-color);
  --flora-shadow-card: 4px 4px 0 var(--flora-shadow-color);
  --flora-shadow-large: 6px 6px 0 var(--flora-shadow-color);
  --flora-shadow-hover: 6px 6px 0 var(--flora-shadow-color);
  --flora-shadow-pressed: 0 0 0 var(--flora-shadow-color);

  /* — Typography — */
  --flora-font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --flora-font-serif: "DM Serif Display", ui-serif, Georgia, serif;
  --flora-font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --flora-text-xs: 0.75rem;    /* 12 — metadata, pills */
  --flora-text-sm: 0.875rem;   /* 14 — secondary copy */
  --flora-text-base: 1rem;     /* 16 — body */
  --flora-text-lg: 1.125rem;   /* 18 — lead */
  --flora-text-xl: 1.5rem;     /* 24 — card titles */
  --flora-text-2xl: 2rem;      /* 32 — section titles */
  --flora-text-3xl: clamp(2.5rem, 5vw + 1rem, 4.25rem); /* hero */

  --flora-leading-tight: 1.1;
  --flora-leading-snug: 1.35;
  --flora-leading-body: 1.65;
  --flora-tracking-meta: 0.08em;

  /* — Spacing (4px base) — */
  --flora-space-1: 0.25rem;
  --flora-space-2: 0.5rem;
  --flora-space-3: 0.75rem;
  --flora-space-4: 1rem;
  --flora-space-5: 1.5rem;
  --flora-space-6: 2rem;
  --flora-space-7: 3rem;
  --flora-space-8: 4.5rem;

  /* — Layout — */
  --flora-container: 72rem;
  --flora-measure: 68ch;

  /* — Motion — */
  --flora-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --flora-duration: 160ms;
}
```

## Components

The full stylesheet (tokens + base + components) is at `http://localhost:3000/r/flora/flora.css`. Class reference:

- **Button** — Primary, secondary, dark, ghost and icon buttons that lift and press. Classes: `fl-btn fl-btn--primary|secondary|dark|ghost fl-btn--sm|lg|icon`
- **Card** — Paper, sage and dark cards; link cards lift on hover. Classes: `fl-card fl-card--link|sage|dark, fl-card__media|title|body|footer`
- **Pill & count** — Status pills with dots, tech tags and a counter badge. Classes: `fl-pill fl-pill--live|wip|paused|archived|solid, fl-count`
- **Form fields** — Input, select, textarea, checkbox with hint and error states. Classes: `fl-field fl-label fl-input fl-select fl-textarea fl-hint fl-error fl-check`
- **Navbar** — Serif brand, pill links, CTA and a mobile disclosure menu. Classes: `fl-nav fl-nav__brand fl-nav__links fl-nav__cta fl-nav__toggle [data-open]`
- **Callout** — Tip, info, warning and danger notes with a thick accent edge. Classes: `fl-callout fl-callout--tip|info|warning|danger, fl-callout__icon|title|body`
- **Hero** — Serif headline on paper with a three-layer botanical composition. Classes: `fl-hero fl-hero__title|lead|actions + fl-deco fl-deco--corner|left|bloom`
- **Stat & table** — Serif stat tiles with deltas and a dashed-row data table. Classes: `fl-stat fl-stat__label|value|delta[data-trend=down], fl-table-wrap fl-table`

## Templates

- **Product landing** — Sticky nav, botanical hero, features, numbered steps, pricing and CTA. HTML: `http://localhost:3000/r/flora/templates/landing.html`
- **Developer portfolio** — One paper sheet: intro, selected work, writing list and contact. HTML: `http://localhost:3000/r/flora/templates/portfolio.html`
- **Admin dashboard** — Sidebar, stat tiles, bar chart, activity feed and data table. HTML: `http://localhost:3000/r/flora/templates/dashboard.html`
- **Blog article** — Long-form post with code block, callout and pull quote. HTML: `http://localhost:3000/r/flora/templates/article.html`
- **Sign in** — Auth card with OAuth buttons, email form and floral backdrop. HTML: `http://localhost:3000/r/flora/templates/sign-in.html`

## Assets

- Floral corner: `http://localhost:3000/designs/flora/floral-corner.webp`
- Floral left: `http://localhost:3000/designs/flora/floral-left.webp`
- Floral bloom: `http://localhost:3000/designs/flora/floral-bloom.webp`
- Solnoma corner: `http://localhost:3000/designs/flora/sol-corner.webp`
- Solnoma branch: `http://localhost:3000/designs/flora/sol-left.webp`
- Solnoma bloom: `http://localhost:3000/designs/flora/sol-bloom.webp`
- Solnoma sprig: `http://localhost:3000/designs/flora/sol-sprig.webp`
- Solnoma top: `http://localhost:3000/designs/flora/sol-top.webp`
