# Design Language for layer2.quest

## Aesthetics and Tone

layer2.quest is a **candy-stained circuit board that forgot it was supposed to be serious** — an anti-design provocation where blockchain's Layer 2 infrastructure gets dressed in bubblegum pinks, neon limes, and electric corals instead of the usual cold navy and gray. The aesthetic is deliberate rule-breaking: mismatched font weights, intentional visual tension between playful color and dense technical subject matter, a site that talks about rollups and sequencers the way a friend explains it over coffee — chatty, confident, a little cheeky.

The tone is **conversational anti-authority**: no whitepaper gravity, no "enterprise-grade" posturing. The site admits that Layer 2 is complicated and leans into that with a wink. Circuit board trace lines run through the background like nervous system wiring, but they're rendered in candy-bright gradients — hot pink on lime, coral on sky blue — so they read as decoration first and metaphor second.

Mood board: a zine printed on neon cardstock, a candy shop that secretly sells cryptography textbooks, a circuit board photographed under blacklight. The visitor should feel like they stumbled into the most technically literate party in the building.

## Layout Motifs and Structure

**Single-column, maximum-width 680px prose column**, centered on screen but deliberately unaligned in its internal rhythm. Sections do not sit in tidy boxes — they breathe, collide, and occasionally overlap their decorative circuit traces into the text margin.

**Structural beats (top to bottom):**

1. **Opening screen (100svh).** Full-height entry with the domain name set in oversized Playfair Display Italic, colored with a candy-bright gradient mesh background bleeding edge to edge. A Lottie animation plays in the foreground — an animated circuit trace that draws itself from top-left to bottom-right like a wire being soldered in real time. The word "layer2" is set in roman weight; ".quest" drops to a smaller italic in a contrasting candy color.

2. **"What even is Layer 2?"** First prose section. Ultra-wide left margin that contains floating circuit node illustrations (small SVG dots and junction marks) that drift upward on scroll via CSS `transform: translateY`. Text column sits right of center.

3. **The Explainer Stack.** Three or four dense paragraphs set in a single column with candy-bright drop caps (one per section, alternating pink `#FF4FA3` and lime `#B8FF57`). No headers — sections are delineated by these large initials only.

4. **Lottie Break.** A full-width horizontal band (not full-height) showing a Lottie animation of packet routing: tiny glowing squares traveling across a simplified circuit schematic from left node to right node. Background of this band is the deepest color of the palette (`#1A0A2E`). This is the only dark section on the page.

5. **"Why does it matter?"** Continuation of prose column. Gradient mesh background shifts color here — sky blue and coral gradient replace the earlier pink-lime combination.

6. **Footnote / Footer.** Single line of text, no navigation links, no social icons. Just the domain, a period, and a date. Set small, in a muted tint of the candy palette.

**Circuit motif wiring:** thin SVG path lines (1px, 40% opacity) run vertically along the far left of the viewport, tracing a simplified PCB route from top header to footer. At each section transition, a small circular pad node punctuates the trace. These are purely decorative, rendered in the page's gradient mesh color scheme.

**No sticky navigation. No hamburger menus. No sidebars. No cards. No CTA buttons.**

## Typography and Palette

**Typography — playfair-elegant, Google Fonts only.**

Two-face system: one display serif for headlines, one humanist sans for body. The contrast is intentional — the elegance of Playfair colliding with the directness of the sans creates the anti-design tension that defines the site.

- **Display / Headlines:** *Playfair Display* — used for the hero domain name, section drop caps, and any standalone pull quotes. Weights 400 (italic) and 700 (roman). Set large: hero at `clamp(64px, 10vw, 120px)`, drop caps at 5em, pull quotes at 2.4rem. The italic variant is used whenever the tone softens; roman whenever it asserts.

- **Body / Prose:** *DM Sans* — clean humanist sans-serif at 18px / 1.75 line-height. Weight 300 for long-form paragraphs, 500 for emphasis inline. Tracking at -0.01em for comfortable reading density.

- **Accents / Labels:** *Space Mono* — used only for technical terms (rollup names, transaction counts, protocol identifiers) set inline within DM Sans prose. Weight 400. Always in a candy-bright color, never in body text color. Creates a code-adjacent feel without full monospace blocks.

**Palette — candy-bright:**

- `#FF4FA3` — Bubblegum Pink. Hero gradient anchor, drop cap color A, circuit node accent.
- `#B8FF57` — Neon Lime. Hero gradient anchor B, drop cap color B, Lottie animation glow.
- `#FF7A50` — Coral Crush. Second section gradient anchor, hover highlights.
- `#50E3FF` — Sky Candy. Second section gradient anchor B, `Space Mono` term color.
- `#1A0A2E` — Deep Plum Night. Lottie break band background, footer text, body text base.
- `#FFF5F9` — Blush White. Page background (first three sections), ensures candy colors pop without overwhelming.

**Gradient mesh:** the page background in sections 1 and 2 is a CSS `background: radial-gradient` layered mesh using `#FF4FA3` at 20% opacity (top-left origin) and `#B8FF57` at 15% opacity (bottom-right origin) over `#FFF5F9`. Section 5 swaps to `#50E3FF` and `#FF7A50` mesh over `#FFF5F9`.

## Imagery and Motifs

**Imagery: gradient-mesh backgrounds** are the primary visual surface. No photographs. No stock imagery. The page's visual identity lives entirely in its color gradients, its circuit trace SVGs, and its Lottie animations.

**Circuit motif vocabulary:**

- *Trace lines* — 1px SVG `<path>` elements with right-angle turns only (PCB-accurate routing geometry). Rendered in `stroke: url(#gradient)` where the gradient runs from `#FF4FA3` to `#B8FF57`. Opacity 0.35 against light background, 0.6 against dark.
- *Pad nodes* — small filled circles (`r=4px`) at trace junctions. Filled with the candy coral `#FF7A50`.
- *Via holes* — concentric circles (`r=6px` outer, `r=3px` inner with a white fill) that appear at section transitions, suggesting the page itself is a multi-layer PCB with connections passing through.
- *Junction dots* — 2px dots scattered sparingly in the left margin gutter, suggesting signal routing endpoints.

**Lottie animations:**

1. *Hero trace draw* — A circuit path traces itself from top-left to bottom-right of the hero panel over ~3 seconds. Uses `stroke-dashoffset` animation via a Lottie JSON. The path terminates in a small glowing pad node that pulses twice after completion. Colors: `#FF4FA3` → `#B8FF57` gradient along the stroke.

2. *Packet router band* — In the dark Lottie break section: eight small square "packets" (6×6px, filled `#B8FF57` with glow) travel along a horizontal circuit schematic from a left node to a right node. Journey time ~2s each, staggered 0.25s apart. Loop plays continuously. Background schematic is a simplified PCB layout in `#FF4FA3` at 25% opacity.

**Decorative restraint:** all circuit imagery stays at the page edges and section breaks — it never overlaps the prose column's readable zone. The candy mesh backgrounds are subtle (low opacity anchors) so text remains effortless to read.

## Prompts for Implementation

Build layer2.quest as a **single-scroll prose experience with animated PCB bones** — the visitor reads an honest, chatty explanation of Layer 2 blockchain while a gentle, colorful circuit-board world lives in the margins and between sections.

**Technical directives:**

- The hero gradient mesh should be implemented as layered CSS `radial-gradient` with `background-blend-mode: screen` to achieve the candy luminosity without WebGL overhead.
- Lottie animations must be loaded via the `lottie-web` library (`DOMContentLoaded` trigger, `autoplay: false`, play triggered by `IntersectionObserver` when the element enters viewport at 20% threshold).
- Circuit SVG traces should be inline SVGs in the HTML, not background-images, so CSS animations (`stroke-dashoffset` draw-on) can animate them as the section scrolls into view.
- `Space Mono` technical terms should be wrapped in `<code>` tags styled with `color: #50E3FF; font-family: 'Space Mono', monospace; font-size: 0.9em; background: rgba(80,227,255,0.08); padding: 0.1em 0.3em; border-radius: 3px;` — subtle pill treatment, not a full code block.
- Drop caps implemented via `::first-letter { font-family: 'Playfair Display'; font-size: 5em; float: left; line-height: 0.85; margin: 0.05em 0.12em 0 0; color: [alternating pink/lime]; }`.
- The single dark band (packet router) should use `position: relative; overflow: hidden; background: #1A0A2E; padding: 3rem 0;` — the only dark surface on the page, making it read as a cinematic interlude.
- Page-wide max-width for prose: `max-width: 680px; margin: 0 auto; padding: 0 2rem;` — all Lottie and SVG decorations live *outside* this container in the full-bleed layer.

**Narrative arc:** the page tells a story, not a pitch. Opening curiosity (what is Layer 2?), honest complexity (here's how it actually works), a visual pause (the Lottie band, dark and technical), then consequence (why this matters for real people). No testimonials, no pricing, no stats table. The circuit traces suggest that all these sections are connected — one continuous board, one signal path.

**Scroll behavior:** `scroll-behavior: smooth; scroll-padding-top: 0;` — no snap points, free scrolling, letting the Lottie animations and gradient transitions unfold at the reader's own pace.

## Uniqueness Notes

**Differentiators from existing registry:**

1. **Anti-design applied to a technical subject.** The frequency report shows `anti-design` at effectively 0% among completed designs. Most technical/crypto sites in the registry use `terminal`, `cyberpunk`, or `dark-mode`. layer2.quest deliberately uses candy-bright colors and an elegant serif display face against a technical blockchain topic — the visual-subject mismatch is the design statement, not an accident.

2. **Playfair Display as an anti-design weapon.** `playfair-elegant` appears at just 1% in the typography frequency. Using a bookish, 18th-century-inspired display serif for blockchain content creates productive dissonance. The elegance of Playfair colliding with circuit traces and neon lime drop caps reads as deliberate provocation, not incongruity.

3. **Gradient mesh as primary visual surface (not decoration).** `gradient-mesh` imagery scores low in frequency. Here, the gradient mesh IS the page background — not a card accent or hero image treatment. Shifting the mesh palette mid-page (pink-lime → coral-sky) as the reader scrolls creates a continuous ambient color journey without any photographic assets.

4. **Lottie circuit animation as section divider.** The packet-router Lottie band is the only traditional "break" element on the page — it functions where other sites would put an infographic row or a testimonials band. Using Lottie for structural punctuation rather than hero decoration is a pattern inversion.

5. **Conversational tone with zero marketing language.** No "unlock the future", no "enterprise-grade", no "10x your throughput". The prose is written the way a knowledgeable friend explains things: direct sentences, honest admissions of complexity, a light wit. The circuit motifs reinforce the technical honesty — they're accurate PCB geometry, not decorative squiggles.

**Chosen seed:** `aesthetic: anti-design, layout: single-column, typography: playfair-elegant, palette: candy-bright, patterns: lottie-animation, imagery: gradient-mesh, motifs: circuit, tone: conversational`

**Avoided patterns from frequency analysis:** centered layout (89% — used single-column prose instead), full-bleed hero sections (76% — hero is gradient-mesh, not a full-bleed image), hand-drawn aesthetic (61% — circuit traces are precision PCB geometry, not sketch lines), editorial aesthetic (49% — conversational anti-design replaces editorial authority).
<!-- DESIGN STAMP
  timestamp: 2026-05-08T11:23:36
  domain: layer2.quest
  seed: seed:
  aesthetic: layer2.quest is a **candy-stained circuit board that forgot it was supposed to b...
  content_hash: 071df208a3e6
-->
