refero___style_reference:
  info: "> Editorial ink on white marble — a typographer's product page where the serif headline IS the brand, and everything else stays out of its way."

  theme: "light"

  info: "Refero uses a white-canvas editorial language where a high-contrast serif headline font (Title) carries nearly all expressive weight against an otherwise achromatic UI. The page breathes with generous vertical rhythm, letting black-on-white hierarchy do the work that other systems hand to color. The single accent move is a filled black pill button against white — no gradients, no color splashes, just ink-weight contrast. Borders and muted grays form a quiet structural grid, while the inset blue-tinted shadow on surface elements is the only chromatic whisper in an otherwise monochrome system."

  tokens___colors:

    info: "| Name | Value | Token | Role |"
    info: "|------|-------|-------|------|"
    info: "| Pure Canvas | `#ffffff` | `--color-pure-canvas` | Primary page background, modal/dialog background |"
    info: "| Frost Surface | `#f7f8fb` | `--color-frost-surface` | Secondary surface, subtle background containers, nav pill background |"
    info: "| Midnight Ink | `#000000` | `--color-midnight-ink` | Neutral form states, badge text, and quiet UI feedback where color should stay understated. Do not promote it to the primary CTA color |"
    info: "| Deep Charcoal | `#13151b` | `--color-deep-charcoal` | Near-black text for dense UI labels, active nav tab text |"
    info: "| Graphite | `#2d313f` | `--color-graphite` | Navigation link text, secondary headings, mid-level labels |"
    info: "| Slate | `#525769` | `--color-slate` | Tertiary text, supporting body copy, muted label text |"
    info: "| Ash | `#777d90` | `--color-ash` | Subdued body text, hairline borders, icon strokes, placeholder text — the dominant mid-gray in this system |"
    info: "| Fog | `#9fa5ba` | `--color-fog` | Light borders, icon outlines, de-emphasized link borders, ghost UI outlines |"
    info: "| Modal Veil | `#0c2970` | `--color-modal-veil` | Inset ring shadow on elevated cards/surfaces — blue-tinted at 7% opacity creates structural definition without neutral gray shadows |"

  tokens___typography:

    title_custom_serif___all_editorial_headlines_and_display_text___the_expressive_backbone_of_the_brand__weight_400_for_a_serif_at_64px_is_anti_convention__most_product_sites_use_weight_700__but_this_regular_weight_serif_creates_authority_through_ink_texture_rather_than_mass__the__0_02em_tracking_tightens_large_display_lines_without_condensing_smaller_ones_____font_title_custom_serif:
      - "**Substitute:** Playfair Display 400, or Georgia for fallback"
      - "**Weights:** 400"
      - "**Sizes:** 36px, 40px, 50px, 64px"
      - "**Line height:** 1.12–1.28"
      - "**Letter spacing:** -0.02em at all display sizes"
      - "**Role:** All editorial headlines and display text — the expressive backbone of the brand. Weight 400 for a serif at 64px is anti-convention; most product sites use weight 700+, but this regular-weight serif creates authority through ink texture rather than mass. The -0.02em tracking tightens large display lines without condensing smaller ones."

    base_variable_custom_sans___all_ui_text__navigation__buttons__body_copy__labels__captions__input_text__variable_font_exploited_for_precise_weight_stepping___650_for_strong_ui_labels__600_for_subheadings__500_for_body_and_supporting_text__negative_tracking_throughout__0_015em_to__0_026em_keeps_the_sans_from_spreading_loose_____font_base_variable_custom_sans:
      - "**Substitute:** Inter Variable or DM Sans"
      - "**Weights:** 500, 600, 650"
      - "**Sizes:** 13px, 15px, 16px, 17px, 20px, 25px"
      - "**Line height:** 1.40–1.60 for body, 0.96–1.20 for tight UI labels"
      - "**Letter spacing:** -0.026em at 13px, -0.025em at 15px, -0.022em at 16px, -0.020em at 17–20px, -0.015em at 25px"
      - "**OpenType features:** `\"tnum\"`"
      - "**Role:** All UI text: navigation, buttons, body copy, labels, captions, input text. Variable font exploited for precise weight stepping — 650 for strong UI labels, 600 for subheadings, 500 for body and supporting text. Negative tracking throughout (-0.015em to -0.026em) keeps the sans from spreading loose."

    type_scale:

      info: "| Role | Size | Line Height | Letter Spacing | Token |"
      info: "|------|------|-------------|----------------|-------|"
      info: "| caption | 13px | 1.4 | -0.34px | `--text-caption` |"
      info: "| body-sm | 15px | 1.5 | -0.38px | `--text-body-sm` |"
      info: "| heading-sm | 20px | 1.4 | -0.4px | `--text-heading-sm` |"
      info: "| heading | 25px | 1.2 | -0.38px | `--text-heading` |"
      info: "| heading-lg | 36px | 1.28 | -0.72px | `--text-heading-lg` |"
      info: "| display | 64px | 1.12 | -1.28px | `--text-display` |"

  tokens___spacing___shapes:

    base_unit: "4px"

    density: "comfortable"

    spacing_scale:

      info: "| Name | Value | Token |"
      info: "|------|-------|-------|"
      info: "| 4 | 4px | `--spacing-4` |"
      info: "| 8 | 8px | `--spacing-8` |"
      info: "| 12 | 12px | `--spacing-12` |"
      info: "| 16 | 16px | `--spacing-16` |"
      info: "| 20 | 20px | `--spacing-20` |"
      info: "| 24 | 24px | `--spacing-24` |"
      info: "| 32 | 32px | `--spacing-32` |"
      info: "| 48 | 48px | `--spacing-48` |"
      info: "| 96 | 96px | `--spacing-96` |"
      info: "| 100 | 100px | `--spacing-100` |"

    border_radius:

      info: "| Element | Value |"
      info: "|---------|-------|"
      info: "| tags | 8px |"
      info: "| cards | 64px |"
      info: "| small | 4px |"
      info: "| inputs | 12px |"
      info: "| modals | 24px |"
      info: "| panels | 20px |"
      info: "| buttons | 9999px |"

    shadows:

      info: "| Name | Value | Token |"
      info: "|------|-------|-------|"
      info: "| subtle | `rgba(12, 41, 126, 0.07) 0px 0px 0px 1px inset` | `--shadow-subtle` |"

    layout:

      - "**Page max-width:** 1200px"
      - "**Section gap:** 80px"
      - "**Card padding:** 24px"
      - "**Element gap:** 12px"

  components:

    black_pill_button_primary:
      role: "Primary call-to-action, install/demo actions"

      info: "Background #000000, text #f7f8fb at 15px Base-Variable weight 600, letter-spacing -0.025em. Padding 12px 24px. Border-radius 9999px. No shadow. The filled black pill against white is the sole high-contrast action affordance in the system — all other interactive elements are ghost or text links."

    ghost_pill_button_secondary:
      role: "Secondary action alongside the primary pill"

      info: "Background transparent, border 1px solid #9fa5ba, text #2d313f at 15px Base-Variable weight 600, letter-spacing -0.025em. Padding 12px 24px. Border-radius 9999px. Sits directly beside the black pill; the border-only treatment recedes while maintaining shape parity."

    platform_toggle_web___ios:
      role: "Segmented control for switching platform context in nav"

      info: "Container background #f7f8fb, border-radius 9999px, padding 4px. Active tab: background #ffffff, text #13151b at 15px weight 600, radius 9999px, shadow rgba(12,41,126,0.07) 0px 0px 0px 1px inset. Inactive tab: text #777d90 at 15px weight 500. Height ~36px."

    search_bar:
      role: "Global AI-query input in top navigation"

      info: "Background transparent, border-bottom 1px solid #000000 (underline only, borderRadius 0px), padding-left 8px. Placeholder text #9fa5ba at 16px Base-Variable weight 500. Full-width inside its container. The underline-only input is the most minimal possible treatment — no box, no rounded container."

    feature_card:
      role: "Content showcase containers for product screenshots/feature blocks"

      info: "Background rgba(55,80,155,0.04) — a barely-there blue tint distinguishes card from pure white canvas without introducing visible color. Border-radius 64px — extremely large radius creates a pill-like container card, the most distinctive shape token in the system. Padding 0px (content bleeds to edges). No box-shadow."

    inset_surface_ring:
      role: "Elevated UI panels, chat interface frames"

      info: "Background #ffffff, border-radius 12px–24px. Box-shadow: rgba(12,41,126,0.07) 0px 0px 0px 1px inset — the blue-tinted inset ring replaces an outset shadow; it defines the panel boundary without lifting it off the page. Used on the product demo screenshot panel."

    logo___brand_badge:
      role: "Circular brand mark in top-left navigation"

      info: "Black circle with white 'R' lettermark. 32px diameter, border-radius 9999px. Background #000000, icon #ffffff. Compact, no text label beside it."

    partner_logomark_row:
      role: "Social proof / compatibility strip (Claude, Cursor, Lovable, Codex)"

      info: "Inline row of partner logos in #777d90 (muted gray), horizontally spaced at 24px gaps. No backgrounds, no cards — floating text-weight logotypes on white. The gray tint de-emphasizes them as supporting context rather than primary content."

    announcement_chip:
      role: "Top-of-hero contextual label ('Refero MCP for AI agents')"

      small_inline_label: "13px Base-Variable weight 500, #525769, letter-spacing -0.026em. Diamond/astisk icon at 12px preceding text. No background fill, no border — pure text label with icon punctuation. Sits centered above the main headline."

    navigation_link:
      role: "Top navigation text links (Pricing, How It Works)"

      info: "Text #2d313f at 15px Base-Variable weight 500, letter-spacing -0.025em. No underline at rest. Hover state transitions color using 0.2s ease. No background, no border. Minimal by design — these links recede relative to the black pill action."

  do_s_and_don_ts:

    do:
      - "Use the Title serif at weight 400 for all display headlines (36–64px) with -0.02em tracking — never bold or semi-bold the serif."
      - "Fill primary buttons with #000000 background and #f7f8fb text at 9999px radius; this is the only filled color action in the system."
      - "Apply border-radius 64px to feature/showcase cards to create the signature pill-card shape — do not use standard 8–16px card radii for these containers."
      - "Use rgba(12,41,126,0.07) 0px 0px 0px 1px inset as the shadow token for elevated surfaces — never use outset drop shadows."
      - "Keep the palette achromatic for all UI chrome; introduce color only through semantic states (error #a10214, warning #7c4b01, success #02a745) and the structural accent tint rgba(55,80,155,0.04) on card backgrounds."
      - "Apply negative letter-spacing to all Base-Variable UI text: -0.026em at 13px scaling to -0.015em at 25px — loose tracking is never correct."
      - "Reserve #777d90 for all subdued borders, placeholder text, and partner/supporting iconography — it is the system's workhorse mid-gray."

    don_t:
      - "Never introduce chromatic accent colors (blue, purple, green) as UI button fills or background washes — the system is intentionally achromatic outside semantic states."
      - "Never use the Title serif below 36px — it is a display-only typeface; all body and UI text uses Base-Variable."
      - "Never apply drop shadows or elevation halos (box-shadow: 0 4px 24px ...) — the only allowed shadow is the inset blue-tinted ring rgba(12,41,126,0.07)."
      - "Never use a border-radius below 20px for major container panels or modal sheets — the system skews large-radius throughout."
      - "Never set Base-Variable at weight 400 or below — minimum weight is 500 to maintain the compact, confident stroke density."
      - "Never use #9fa5ba or lighter grays as body text color — they are border and ghost-UI colors only; minimum body text is #777d90."
      - "Never stack multiple button styles of the same hierarchy — one black pill + one ghost pill per action group; do not add a third tier."

  surfaces:

    info: "| Level | Name | Value | Purpose |"
    info: "|-------|------|-------|---------|"
    info: "| 1 | Page Canvas | `#ffffff` | Base page background for all content sections |"
    info: "| 2 | Frost Surface | `#f7f8fb` | Secondary containers: nav segmented control background, subtle section washes |"
    info: "| 3 | Card Tint | `#f4f5fb` | Feature cards at rgba(55,80,155,0.04) over white — barely-perceptible blue-gray tint distinguishing card from canvas |"
    info: "| 4 | Elevated Panel | `#ffffff` | Modal dialogs, product demo frames — white surface defined by inset ring shadow rather than color change |"

  elevation:

    info: "Refero deliberately avoids outset drop shadows. Elevation is communicated through the inset ring shadow rgba(12,41,126,0.07) 0px 0px 0px 1px inset — a blue-tinted 1px inset border that defines surface edges without creating depth illusion. This keeps the page fully flat while still distinguishing panels from background. The blue tint at 7% opacity is the only chromatic element in the structural layer."

  imagery:

    info: "Product UI screenshots are the primary visual content — contained inside the 64px-radius pill-cards, cropped tightly to show interface grids and chat flows. No photography, no illustration, no 3D. The screenshots are presented raw-edged within the rounded card container, creating a framed product showcase. Icons throughout are outlined, single-color (#777d90 or #000000), with consistent ~1.5px apparent stroke weight — never filled multicolor. The visual density is low: large amounts of white space surround a single centered product demo panel, making the screenshots the sole focal object on each screen."

  agent_prompt_guide:

    quick_color_reference:
    - "text (primary): #000000"
    - "text (secondary): #777d90"
    - "text (nav links): #2d313f"
    - "background: #ffffff"
    - "surface (secondary): #f7f8fb"
    - "border (default): #777d90"
    - "border (light): #9fa5ba"
    - "primary action: no distinct CTA color"

    example_component_prompts:

    - "**Hero Section**: White background (#ffffff). Display headline at 64px Title serif weight 400, color #000000, letter-spacing -1.28px, line-height 1.12, centered, max-width 800px. Sub-headline at 17px Base-Variable weight 500, color #777d90, letter-spacing -0.34px, centered, max-width 560px. Two pill buttons side by side, gap 12px: primary = background #000000, text #f7f8fb, 15px weight 600, padding 12px 24px, radius 9999px; secondary = background transparent, border 1px solid #9fa5ba, text #2d313f, same font/padding/radius. Announcement chip above headline: 13px weight 500, color #525769, letter-spacing -0.34px, diamond icon preceding text."

    - "**Feature Showcase Card**: Background rgba(55,80,155,0.04), border-radius 64px, padding 0. Contains a product screenshot image that fills the card with rounded overflow. Below the card, small caption at 13px Base-Variable weight 500, color #777d90, letter-spacing -0.34px."

    - "**Elevated Panel / Demo Frame**: Background #ffffff, border-radius 24px, box-shadow rgba(12,41,126,0.07) 0px 0px 0px 1px inset. Internal padding 24px. Text inside at 15px Base-Variable weight 500, color #2d313f."

    - "**Search Input (Nav)**: Full-width container, background transparent, no top/side/bottom border except border-bottom 1px solid #000000. Padding-left 8px. Placeholder text 'AI chat interface' at 16px Base-Variable weight 500, color #9fa5ba, letter-spacing -0.35px. Border-radius 0px."

    - "**Platform Toggle (Segmented Control)**: Outer pill: background #f7f8fb, radius 9999px, padding 4px. Two tabs side by side: active tab background #ffffff, radius 9999px, box-shadow rgba(12,41,126,0.07) 0px 0px 0px 1px inset, text #13151b 15px weight 600; inactive tab background transparent, text #777d90 15px weight 500. Total height ~36px."

  similar_brands:

    - "**Linear** — Same achromatic palette with black pill buttons and weight-400 serif headlines as the sole expressive element"
    - "**Vercel** — White canvas with black-only action buttons, minimal navigation, and product screenshots as primary hero content"
    - "**Pitch** — Editorial serif headlines at light weight against white, with ghost secondary buttons and muted gray supporting text"
    - "**Loom** — Centered hero with large display text and contained product UI screenshot as the dominant visual below the headline"
    - "**Framer** — Custom variable sans for UI text paired with serif display type, achromatic primary actions, inset surface shadows"

  quick_start:

    css_custom_properties:

      css: |
        :root {
          /* Colors */
          --color-pure-canvas: #ffffff;
          --color-frost-surface: #f7f8fb;
          --color-midnight-ink: #000000;
          --color-deep-charcoal: #13151b;
          --color-graphite: #2d313f;
          --color-slate: #525769;
          --color-ash: #777d90;
          --color-fog: #9fa5ba;
          --color-modal-veil: #0c2970;
        
          /* Typography — Font Families */
          --font-title-custom-serif: 'Title (custom serif)', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
          --font-base-variable-custom-sans: 'Base-Variable (custom sans)', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        
          /* Typography — Scale */
          --text-caption: 13px;
          --leading-caption: 1.4;
          --tracking-caption: -0.34px;
          --text-body-sm: 15px;
          --leading-body-sm: 1.5;
          --tracking-body-sm: -0.38px;
          --text-heading-sm: 20px;
          --leading-heading-sm: 1.4;
          --tracking-heading-sm: -0.4px;
          --text-heading: 25px;
          --leading-heading: 1.2;
          --tracking-heading: -0.38px;
          --text-heading-lg: 36px;
          --leading-heading-lg: 1.28;
          --tracking-heading-lg: -0.72px;
          --text-display: 64px;
          --leading-display: 1.12;
          --tracking-display: -1.28px;
        
          /* Typography — Weights */
          --font-weight-regular: 400;
          --font-weight-medium: 500;
          --font-weight-semibold: 600;
          --font-weight-w650: 650;
        
          /* Spacing */
          --spacing-unit: 4px;
          --spacing-4: 4px;
          --spacing-8: 8px;
          --spacing-12: 12px;
          --spacing-16: 16px;
          --spacing-20: 20px;
          --spacing-24: 24px;
          --spacing-32: 32px;
          --spacing-48: 48px;
          --spacing-96: 96px;
          --spacing-100: 100px;
        
          /* Layout */
          --page-max-width: 1200px;
          --section-gap: 80px;
          --card-padding: 24px;
          --element-gap: 12px;
        
          /* Border Radius */
          --radius-md: 4px;
          --radius-lg: 8px;
          --radius-xl: 12px;
          --radius-2xl: 20px;
          --radius-3xl: 24px;
          --radius-3xl-2: 28px;
          --radius-3xl-3: 32px;
          --radius-full: 64px;
        
          /* Named Radii */
          --radius-tags: 8px;
          --radius-cards: 64px;
          --radius-small: 4px;
          --radius-inputs: 12px;
          --radius-modals: 24px;
          --radius-panels: 20px;
          --radius-buttons: 9999px;
        
          /* Shadows */
          --shadow-subtle: rgba(12, 41, 126, 0.07) 0px 0px 0px 1px inset;
        
          /* Surfaces */
          --surface-page-canvas: #ffffff;
          --surface-frost-surface: #f7f8fb;
          --surface-card-tint: #f4f5fb;
          --surface-elevated-panel: #ffffff;
        }

    tailwind_v4:

      css: |
        @theme {
          /* Colors */
          --color-pure-canvas: #ffffff;
          --color-frost-surface: #f7f8fb;
          --color-midnight-ink: #000000;
          --color-deep-charcoal: #13151b;
          --color-graphite: #2d313f;
          --color-slate: #525769;
          --color-ash: #777d90;
          --color-fog: #9fa5ba;
          --color-modal-veil: #0c2970;
        
          /* Typography */
          --font-title-custom-serif: 'Title (custom serif)', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
          --font-base-variable-custom-sans: 'Base-Variable (custom sans)', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        
          /* Typography — Scale */
          --text-caption: 13px;
          --leading-caption: 1.4;
          --tracking-caption: -0.34px;
          --text-body-sm: 15px;
          --leading-body-sm: 1.5;
          --tracking-body-sm: -0.38px;
          --text-heading-sm: 20px;
          --leading-heading-sm: 1.4;
          --tracking-heading-sm: -0.4px;
          --text-heading: 25px;
          --leading-heading: 1.2;
          --tracking-heading: -0.38px;
          --text-heading-lg: 36px;
          --leading-heading-lg: 1.28;
          --tracking-heading-lg: -0.72px;
          --text-display: 64px;
          --leading-display: 1.12;
          --tracking-display: -1.28px;
        
          /* Spacing */
          --spacing-4: 4px;
          --spacing-8: 8px;
          --spacing-12: 12px;
          --spacing-16: 16px;
          --spacing-20: 20px;
          --spacing-24: 24px;
          --spacing-32: 32px;
          --spacing-48: 48px;
          --spacing-96: 96px;
          --spacing-100: 100px;
        
          /* Border Radius */
          --radius-md: 4px;
          --radius-lg: 8px;
          --radius-xl: 12px;
          --radius-2xl: 20px;
          --radius-3xl: 24px;
          --radius-3xl-2: 28px;
          --radius-3xl-3: 32px;
          --radius-full: 64px;
        
          /* Shadows */
          --shadow-subtle: rgba(12, 41, 126, 0.07) 0px 0px 0px 1px inset;
        }
