coinbase_spain___style_reference:
  info: "> Digital Trust, Blueprinted. A system built on the clarity of an architectural plan, energized by a single, electric blue neuron."

  theme: "light"

  info: "The design system establishes a feeling of digital-native trust, grounded in a high-contrast, minimalist palette. A precise foundation of pure white (#ffffff) and near-black (#0a0b0d) creates an environment of clarity and focus. The system's entire personality is injected through a single, electric `Coinbase Blue` (#0052ff), which is reserved exclusively for primary actions and brand marks, acting as a confident guide. A suite of custom fonts (Coinbase Display, Sans, Text) provides a unique and cohesive typographic voice across all scales. Depth is achieved not with shadows but with bold, full-width color blocks, alternating between bright white and deep midnight sections, creating a clean, architectural rhythm."

  tokens___colors:

    info: "| Name | Value | Token | Role |"
    info: "|------|-------|-------|------|"
    info: "| Coinbase Blue | `#0052ff` | `--color-coinbase-blue` | Primary CTAs, logos, active states — the core brand identifier. |"
    info: "| Interactive Blue | `#578bfa` | `--color-interactive-blue` | Secondary links and interactive elements. |"
    info: "| Pure White | `#ffffff` | `--color-pure-white` | Primary page background, text on dark surfaces. |"
    info: "| Midnight | `#0a0b0d` | `--color-midnight` | Dark section backgrounds, primary text. |"
    info: "| Slate | `#5b616` | `--color-slate` | Body text, secondary headings, footer links. |"
    info: "| Ash | `#8a919` | `--color-ash` | Helper text, disabled states, subtle UI text. |"
    info: "| Frost | `#f7f8f9` | `--color-frost` | Subtle light backgrounds, like the footer area. |"
    info: "| Cloud | `#eef0f3` | `--color-cloud` | Light background dividers or button hover states. |"
    info: "| Pewter | `#dedfe2` | `--color-pewter` | Borders between light sections. |"
    info: "| Charcoal | `#141519` | `--color-charcoal` | Alternative dark section background surface. |"
    info: "| Positive Green | `#27ad75` | `--color-positive-green` | Price increases, success messages. |"
    info: "| Negative Red | `#f0616d` | `--color-negative-red` | Price decreases, error messages. |"

  tokens___typography:

    coinbasedisplay___used_exclusively_for_large__impactful_headlines_h1_h2__its_clean__slightly_wide_geometry_gives_headlines_a_declarative__confident_presence_____font_coinbasedisplay:
      - "**Substitute:** Manrope"
      - "**Weights:** 400"
      - "**Sizes:** 44px, 52px, 64px, 80px"
      - "**Line height:** 1.0-1.09"
      - "**Role:** Used exclusively for large, impactful headlines (H1/H2). Its clean, slightly wide geometry gives headlines a declarative, confident presence."

    coinbasesans___the_primary_workhorse_font_for_subheadings__buttons__and_some_body_copy__the_600_weight_is_used_for_emphasis_and_smaller_headings_____font_coinbasesans:
      - "**Substitute:** Inter"
      - "**Weights:** 400, 600"
      - "**Sizes:** 13px, 16px, 18px, 20px, 28px, 36px, 64px"
      - "**Line height:** 1.11-1.50"
      - "**Role:** The primary workhorse font for subheadings, buttons, and some body copy. The 600 weight is used for emphasis and smaller headings."

    coinbasetext___optimized_for_readability_in_dense_ui_and_long_form_text_blocks__its_generous_line_height_makes_paragraphs_breathable_____font_coinbasetext:
      - "**Substitute:** Inter"
      - "**Weights:** 400, 700"
      - "**Sizes:** 13px, 16px, 18px"
      - "**Line height:** 1.50-1.56"
      - "**Role:** Optimized for readability in dense UI and long-form text blocks. Its generous line-height makes paragraphs breathable."

    type_scale:

      info: "| Role | Size | Line Height | Letter Spacing | Token |"
      info: "|------|------|-------------|----------------|-------|"
      info: "| caption | 13px | 1.54 | — | `--text-caption` |"
      info: "| body | 16px | 1.5 | — | `--text-body` |"
      info: "| subheading | 18px | 1.56 | — | `--text-subheading` |"
      info: "| heading-sm | 28px | 1.25 | — | `--text-heading-sm` |"
      info: "| heading | 44px | 1.09 | — | `--text-heading` |"
      info: "| heading-lg | 64px | 1 | — | `--text-heading-lg` |"
      info: "| display | 80px | 1 | — | `--text-display` |"

  tokens___spacing___shapes:

    base_unit: "8px"

    density: "comfortable"

    spacing_scale:

      info: "| Name | Value | Token |"
      info: "|------|-------|-------|"
      info: "| 8 | 8px | `--spacing-8` |"
      info: "| 16 | 16px | `--spacing-16` |"
      info: "| 24 | 24px | `--spacing-24` |"
      info: "| 32 | 32px | `--spacing-32` |"
      info: "| 48 | 48px | `--spacing-48` |"
      info: "| 64 | 64px | `--spacing-64` |"
      info: "| 80 | 80px | `--spacing-80` |"

    border_radius:

      info: "| Element | Value |"
      info: "|---------|-------|"
      info: "| tags | 100000px |"
      info: "| cards | 24px |"
      info: "| inputs | 8px |"
      info: "| buttons | 56px |"

    layout:

      - "**Page max-width:** 1200px"
      - "**Card padding:** 24px"

  components:

    primary_cta_button:
      role: "The main call-to-action on any page."

      background: "`Coinbase Blue` (#0052ff). Text: `Pure White` (#ffffff). Padding: 16px 32px. Radius: a distinctive elongated pill shape at 56px."

    secondary_pill_button:
      role: "Secondary action, often on a dark background."

      background: "`Pure White` (#ffffff). Text: `Midnight` (#0a0b0d). Padding: 12px 24px. Radius: a perfect pill shape at 100000px."

    ghost_link:
      role: "Inline, text-style interactive elements."

      background: "transparent. Text: `Interactive Blue` (#578bfa). No padding or border. Used for tertiary actions like 'Learn more'."

    header_nav_link:
      role: "Top-level navigation items."

      background: "transparent. Text: `Midnight` (#0a0b0d). No padding. Font: CoinbaseSans 16px."

    filter_tag:
      role: "Toggleable filter in data views."

      background: "typically transparent with a subtle border, or a light fill on hover/active. Text: `Slate` (#5b616e). Padding: 12px 24px. Radius: 100000px."

    footer_link:
      role: "Tertiary navigation links in the page footer."

      background: "transparent. Text: `Slate` (#5b616e). Font: CoinbaseText 16px. No underline until hover."

    large_headline:
      role: "The primary heading for a page or hero section."

      font: "CoinbaseDisplay, 64px. Color: `Midnight` (#0a0b0d)."

  do_s_and_don_ts:

    do:
      - "Use `Coinbase Blue` (#0052ff) exclusively for primary CTAs and the brand logo."
      - "Define primary buttons with the signature 56px border-radius."
      - "Construct all major page headlines using the `CoinbaseDisplay` font."
      - "Create visual hierarchy by alternating full-width #ffffff and #0a0b0d sections."
      - "Reserve `Slate` (#5b616e) for all secondary body copy and footer links."
      - "Set body text at 16px with `CoinbaseSans` or `CoinbaseText` for optimal readability."
      - "Apply a 24px radius to all larger content cards."

    don_t:
      - "Don't use shadows on any element; rely on color blocking for depth."
      - "Don't use `Coinbase Blue` (#0052ff) for text or non-interactive elements."
      - "Don't use multiple saturated colors in one section; stick to the neutral palette with one blue accent."
      - "Don't use sharp corners for buttons or tags; they must be rounded (56px or 100000px)."
      - "Don't use system fonts; the custom Coinbase font suite is essential to the brand identity."
      - "Don't create visual dividers with lines; use negative space and background color changes."
      - "Don't make footer links any color other than `Slate` (#5b616e)."

  elevation:

    info: "The design intentionally avoids shadows. Depth and hierarchy are created through color blocking, contrasting light backgrounds (#ffffff) with distinct dark sections (#0a0b0d)."

  imagery:

    info: "Visuals are dominated by abstract vector illustrations and clean product UI screenshots. Illustrations use a flat-color, geometric style featuring brand colors, making complex financial concepts feel approachable and modern. They are always contained within layout blocks, reinforcing the structured, grid-based feel of the page. Photography is absent, placing the focus squarely on the product's interface and stylized brand graphics."

  layout:

    info: "The layout is a centered, max-width container (approx. 1200px) providing a stable reading experience. A key pattern is the rhythmic alternation between a white-background hero (split-column text/visual) and a full-bleed dark feature section. This creates dramatic contrast and pacing. Content is organized in simple, clear structures like 2-column feature blocks and multi-column card grids. Generous vertical spacing (64px+) between sections ensures each message has room to breathe."

  agent_prompt_guide:

    quick_color_reference:
      - "**Text:** `#0a0b0d`"
      - "**Background:** `#ffffff`"
      - "**CTA Button:** `#0052ff`"
      - "**Dark Section BG:** `#0a0b0d`"
      - "**Secondary Text:** `#5b616e`"
      - "**Link:** `#578bfa`"

    example_component_prompts:
      - "**Hero Section:** \"Create a two-column hero on a `#ffffff` background. Left column: headline 'Hello, Spain!' at 64px CoinbaseDisplay weight 400 in `#0a0b0d`. Subtext 'Coinbase is the world's safest platform...' at 18px CoinbaseSans weight 400 in `#5b616e`. Primary button 'Sign up' with `#0052ff` background, `#ffffff` text, 16px 32px padding, and 56px border-radius.\""
      - "**Dark Promo Section:** \"Create a full-width section with a `#0a0b0d` background and 80px vertical padding. Inside, place a centered headline 'Earn up to 14% APY on your crypto' at 36px CoinbaseSans weight 600 in `#ffffff`. Add a subtext below it. Below that, add a secondary pill button 'Explore staking options' with a `#ffffff` background, `#0a0b0d` text, 12px 24px padding, and 100000px radius.\""
      - "**Footer:** \"Design a footer on a `#f7f8f9` background. Create four columns. Each column has a heading like 'Company' or 'Learn' using 16px CoinbaseSans weight 600 in `#0a0b0d`. List links below each heading like 'About' or 'Blog' using 16px CoinbaseText weight 400 in `#5b616e`.\""

  similar_brands:

    - "**Stripe** — Shared aesthetic of high-contrast typography, a single strong brand color, and a clean, developer-friendly feel."
    - "**Robinhood** — Similar goal of simplifying finance with a clean, mobile-first design and a dominant, optimistic brand color."
    - "**Intercom** — Uses a similar strategy of a strong blue brand color, custom illustrations, and ample white space."
    - "**Wealthsimple** — Also combines a trustworthy-but-not-stodgy feel with clean typography and approachable graphics."

  quick_start:

    css_custom_properties:

      css: |
        :root {
          /* Colors */
          --color-coinbase-blue: #0052ff;
          --color-interactive-blue: #578bfa;
          --color-pure-white: #ffffff;
          --color-midnight: #0a0b0d;
          --color-slate: #5b616;
          --color-ash: #8a919;
          --color-frost: #f7f8f9;
          --color-cloud: #eef0f3;
          --color-pewter: #dedfe2;
          --color-charcoal: #141519;
          --color-positive-green: #27ad75;
          --color-negative-red: #f0616d;
        
          /* Typography — Font Families */
          --font-coinbasedisplay: 'CoinbaseDisplay', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
          --font-coinbasesans: 'CoinbaseSans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
          --font-coinbasetext: 'CoinbaseText', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        
          /* Typography — Scale */
          --text-caption: 13px;
          --leading-caption: 1.54;
          --text-body: 16px;
          --leading-body: 1.5;
          --text-subheading: 18px;
          --leading-subheading: 1.56;
          --text-heading-sm: 28px;
          --leading-heading-sm: 1.25;
          --text-heading: 44px;
          --leading-heading: 1.09;
          --text-heading-lg: 64px;
          --leading-heading-lg: 1;
          --text-display: 80px;
          --leading-display: 1;
        
          /* Typography — Weights */
          --font-weight-regular: 400;
          --font-weight-semibold: 600;
          --font-weight-bold: 700;
        
          /* Spacing */
          --spacing-unit: 8px;
          --spacing-8: 8px;
          --spacing-16: 16px;
          --spacing-24: 24px;
          --spacing-32: 32px;
          --spacing-48: 48px;
          --spacing-64: 64px;
          --spacing-80: 80px;
        
          /* Layout */
          --page-max-width: 1200px;
          --card-padding: 24px;
        
          /* Border Radius */
          --radius-xl: 12px;
          --radius-3xl: 24px;
          --radius-3xl-2: 40px;
          --radius-full: 56px;
          --radius-full-2: 100000px;
        
          /* Named Radii */
          --radius-tags: 100000px;
          --radius-cards: 24px;
          --radius-inputs: 8px;
          --radius-buttons: 56px;
        }

    tailwind_v4:

      css: |
        @theme {
          /* Colors */
          --color-coinbase-blue: #0052ff;
          --color-interactive-blue: #578bfa;
          --color-pure-white: #ffffff;
          --color-midnight: #0a0b0d;
          --color-slate: #5b616;
          --color-ash: #8a919;
          --color-frost: #f7f8f9;
          --color-cloud: #eef0f3;
          --color-pewter: #dedfe2;
          --color-charcoal: #141519;
          --color-positive-green: #27ad75;
          --color-negative-red: #f0616d;
        
          /* Typography */
          --font-coinbasedisplay: 'CoinbaseDisplay', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
          --font-coinbasesans: 'CoinbaseSans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
          --font-coinbasetext: 'CoinbaseText', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        
          /* Typography — Scale */
          --text-caption: 13px;
          --leading-caption: 1.54;
          --text-body: 16px;
          --leading-body: 1.5;
          --text-subheading: 18px;
          --leading-subheading: 1.56;
          --text-heading-sm: 28px;
          --leading-heading-sm: 1.25;
          --text-heading: 44px;
          --leading-heading: 1.09;
          --text-heading-lg: 64px;
          --leading-heading-lg: 1;
          --text-display: 80px;
          --leading-display: 1;
        
          /* Spacing */
          --spacing-8: 8px;
          --spacing-16: 16px;
          --spacing-24: 24px;
          --spacing-32: 32px;
          --spacing-48: 48px;
          --spacing-64: 64px;
          --spacing-80: 80px;
        
          /* Border Radius */
          --radius-xl: 12px;
          --radius-3xl: 24px;
          --radius-3xl-2: 40px;
          --radius-full: 56px;
          --radius-full-2: 100000px;
        }
