# Consensus DESIGN.md

> Public preview. The complete DESIGN.md source (all 102 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

Consensus is a product-first academic AI search tool — the homepage is the app itself, not a landing page. A quiet zinc-gray interface in Circular XX with one brand-blue pill CTA, a centered "ask the research" input card, and the signature Consensus Meter semantics (teal agree / amber maybe / red disagree) reserved for evidence verdicts. Flat, dense, and utilitarian — Tailwind-style 100ms micro-transitions and hairline borders throughout.

- Website: https://consensus.app
- Primary color: Blue `#006FCE`
- Fonts: CircularXXWeb
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/consensus

## Palette preview

- `error`: `#e7000b`
- `outline`: `#e4e4e7`
- `primary`: `#006fce`
- `surface`: `#ffffff`
- `warning`: `#fdc700`
- `on-error`: `#ffffff`
- `tertiary`: `#3bcdaa`
- `secondary`: `#068ef1`

## Typography preview

- `body-md`: CircularXXWeb
- `body-sm`: CircularXXWeb

---

## Overview

Consensus skips the marketing site — the homepage *is* the product: a left nav rail (New Thread, My Library, Paper search, Extract data, Citation graph), a centered "Research starts here" prompt box, and below the fold the trust apparatus (publisher logos — Wiley, Sage, AAAS/Science — then university logos — Ohio State, Rice, Yale). The aesthetic is restrained SaaS: white canvas, zinc grays, hairline borders, small text, and a single brand-blue pill button. Personality lives in two places — the teal-to-blue gradient "C" logomark and the Consensus Meter's verdict colors. The mood is academic-utility: dense, quiet, credible.

The signature look: near-monochrome zinc UI, one saturated #006FCE pill ("Sign up" / "Upgrade to Pro" / blue send arrow), prompt chips as gray pills, mint "Saving $96/yr" badges, and verdict semantics that only appear when science is being judged.

## Colors

- **Consensus Blue (#006FCE, `primary`):** The one brand action — Sign-up pill, send arrow, "Upgrade to Pro". Its light tints (#EFF7FF `primary-container`, #068EF1 `secondary`) back secondary buttons and icons. The logomark gradients mint→blue (#86E7CD→#57B8FF) — the only gradient in the system.
- **Zinc neutrals (#18181B ink, #52525C secondary, #F4F4F5 chips/sidebar accents, #FAFAFA sidebar, #E4E4E7/#D4D4D8 hairlines):** 95% of the interface. Text hierarchy is ink vs. zinc-600; surfaces step white → #FAFAFA → #F4F4F5.
- **Verdict teal (#3BCDAA `tertiary`)** on **mint (#CEF9EB `tertiary-container`, text #14715F):** "Yes" answers, green checks, and the savings badges — mint chips carry dark teal labels.
- **Maybe amber (#FDC700 `warning`)** and **No red (#E7000B `error`):** Consensus Meter segments only — never used for decoration or alerts elsewhere on the marketing surface.

## Typography

Single family: **Circular XX** (`CircularXXWeb`, 400/500 loaded; 700 appears on plan/pricing heads). This is a product UI scale, not editorial — the hero headline is a modest 28px/400 ("Research starts here"), section heads 18–22px at 500–700, body and nav 16px/400, buttons 15px/500, chips and metadata 13px. Line-height is a constant ~1.5; no letter-spacing, no uppercase, no display face. Weight carries the only hierarchy: 400 text → 500 interactive → 700 plan names/prices.

## Layout

App shell: a ~260px #FAFAFA sidebar (nav items at 32px rows, 12px-radius active fill, sign-in/up pinned to bottom) + a centered ~768px content column. The ask-box is the hero — a 16px-radius card with a text field row and a control row (+ button, Skills pill, Deep pill, Filter, blue circular send). Quick-action suggestion chips sit directly beneath as gray pills. Below the fold: logo walls, then feature blocks ("Deep Search", "Medical mode", filters, Consensus Meter) each pairing a short description with a stacked list of real example queries in hairline rows. Pricing is a 3-column table with a Monthly/Annual pill toggle.

## Elevation & Depth

Hairline-first: 1px #E4E4E7 borders define chips, buttons, input cards, and plan columns. A restrained Tailwind `shadow-sm` (`0 1px 3px rgba(0,0,0,.1), 0 1px 2px -1px`) floats only the ask-box and popovers. The Sign-up button adds a subtle `rgba(0,0,0,0.16)` keyline over its blue. No large shadows, no blur, no gradients (except the logo).

## Shapes

Pills vs. boxes: **full-radius (`9999px`)** on every button, chip, pill toggle, and the circular send arrow; **12px** on sidebar rows, buttons-in-forms ("New Thread"), and small cards; **16px** on the hero input card; **24px** on larger panels; **8px** on badges. Sharp corners only inside icons. The meter segments are pills that join into a continuous bar.

## Motion & Micro-interaction

Everything interactive shares a **100ms ease** color/outline transition — hovers feel instant, invisible. The sidebar collapse and width changes use **300ms `cubic-bezier(0.4,0,0.2,1)`** (Material standard curve); fades run 150ms on the same curve. No looping, no parallax — motion is purely functional state feedback.

## Voice & Content Strategy

Terse, scholarly, user-imperative. The hero says "Research starts here"; CTAs name outcomes — "New Thread", "Get a Yes / No answer", "Find the Consensus", "Build a comparison table", "Upgrade to Pro". Feature blocks read like commands to try ("Automate Literature Review with Deep Search", "Try Medical mode") with real example queries as the content ("Does intermittent fasting lead to meaningful long-term weight loss?"). Claims cite volume precisely — "400M+ peer-reviewed papers", "Used at Mayo Clinic, Texas A&M, and 10,000+ universities". Plan names: Free / Pro / Deep / Team & Enterprise. Sentence case, minimal punctuation, zero exclamation.

## Components

### Buttons
36px pills, 15px/500 labels: **primary** blue + white label + faint dark keyline; **secondary** light-blue fill + blue label ("Upgrade to Deep"); **outline** white + #E4E4E7 border ("Sign in", "Try for free"). In-toolbar variants drop to 13px/32px rows.

### Navigation
Sidebar rows are 32px, 12px-radius on the active/hover fill (#F4F4F5), icon + 16px/400 label; "New Thread" is a persistent filled-gray action row at the top.

### Ask box & chips
The hero input is a 16px-radius white card, hairline + `shadow-sm`; interior controls are small pills and a filled blue circle send-button. Suggestion chips below are #F4F4F5 pills with a tiny colored glyph.

### Pricing
Column layout over cards: plan name + icon, bold price ($0/$12/$45), mint "Saving $X/yr" badge, CTA pill per column (outline → blue → light-blue), then green-checked feature rows separated by hairlines. Billing toggle is a two-segment gray pill.

### Consensus Meter
The signature widget — a proportional bar of rounded segments in verdict teal / amber / red showing how evidence lands, with counts. Kept in prose because it's a data-viz element; the three verdict tokens (`tertiary`, `warning`, `error`) exist only for it and its cousins.

## Do's and Don'ts

- Do keep the page nearly monochrome — brand blue is for exactly one action class: commit/upgrade/send.
- Don't use the verdict trio (teal/amber/red) for ordinary decoration or errors; it means "the evidence says yes/maybe/no".
- Do put secondary actions in the #EFF7FF light-blue pill, never a second saturated hue.
- Don't bold body copy — weight 400 for text, 500 for interactive labels, 700 only on plan names/prices.
- Do ship 100ms color transitions on every interactive element; the UI should feel instant, not animated.
- Don't add shadows beyond `shadow-sm` on floating elements; hairlines do the layout work.
- Do keep example content real — suggestion chips and feature demos show actual research questions in sentence case.
- Don't mix radii inside a component class: pills for actions, 12–16px for containers.
