---
version: alpha
name: Rulebase
description: "Dark interface measured from rulebase.co: Momo Trust Sans type with ABC Diatype, vivid orange accents, tonal surfaces and 6px corners."
colors:
  background: "#1A1716"
  surface: "#1A1716"
  on-surface: "#FFFFFF"
  on-background: "#FFFFFF"
  on-surface-variant: "#F7F7F4"
  on-surface-muted: "#F7F5EE"
  surface-container-low: "#141210"
  overlay: "#5452520F"
  overlay-strong: "#F7F5EE14"
  outline: "#0000001A"
  outline-variant: "#1A17162E"
  primary: "#FE4C00"
  on-primary: "#F7F7F4"
  secondary: "#D85210"
typography:
  headline-display:
    fontFamily: Momo Trust Sans
    fontSize: 46px
    fontWeight: 400
    lineHeight: 1.02
    letterSpacing: -0.03em
  headline-lg:
    fontFamily: Momo Trust Sans
    fontSize: 40px
    fontWeight: 400
    lineHeight: 1.1
    letterSpacing: -0.02em
  headline-md:
    fontFamily: Momo Trust Sans
    fontSize: 32px
    fontWeight: 400
    lineHeight: 1.3
    letterSpacing: -0.02em
  headline-sm:
    fontFamily: Momo Trust Sans
    fontSize: 22px
    fontWeight: 400
    lineHeight: 1.36
  title-lg:
    fontFamily: ABC Diatype
    fontSize: 20px
    fontWeight: 400
    lineHeight: 1.4
    letterSpacing: -0.02em
  body-md:
    fontFamily: Inter
    fontSize: 16px
    fontWeight: 400
  body-lg:
    fontFamily: Inter
    fontSize: 18px
    fontWeight: 500
    lineHeight: 1.33
  body-sm:
    fontFamily: Inter
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
    letterSpacing: -0.006em
  caption:
    fontFamily: Inter
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.33
    letterSpacing: -0.007em
  label-md:
    fontFamily: Momo Trust Sans
    fontSize: 13px
    fontWeight: 400
    lineHeight: 1.23
    letterSpacing: 0.12em
  label-sm:
    fontFamily: Inter
    fontSize: 11px
    fontWeight: 500
    lineHeight: 1.45
  headline-display-mobile:
    fontFamily: Momo Trust Sans
    fontSize: 36px
    fontWeight: 400
    lineHeight: 1.11
    letterSpacing: -0.028em
rounded:
  sm: 4px
  md: 6px
  full: 9999px
spacing:
  xs: 4px
  sm: 8px
  md: 12px
  lg: 20px
  xl: 40px
  gutter: 24px
  section: 100px
  margin: 40px
  container: 1512px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.body-md}"
    rounded: 2px
    padding: 6px 12px
    height: 36px
  button-secondary:
    backgroundColor: "{colors.on-surface}"
    textColor: "{colors.background}"
    typography: "{typography.body-sm}"
    rounded: "{rounded.sm}"
    padding: 6px 14px
    height: 36px
  button-ghost:
    textColor: "#000000"
    typography: "{typography.label-md}"
    rounded: 0px
    padding: 0px
  card:
    backgroundColor: "#EDEBE5"
    textColor: "#1E1E1E"
    typography: "{typography.body-md}"
    rounded: 0px
    padding: 0px
  link:
    textColor: "#1E1E1E"
---

# Rulebase Design System

## Overview

Rulebase describes itself as: “Give Rulebase agents a goal, an SLA and your operating rules. Agents investigate, coordinate and follow through across your systems and teams over days or weeks.” The interface is dark, built on **Charcoal (#1A1716)** with **White (#FFFFFF)** text, and **Vivid Orange (#FE4C00)** as the main accent.

Type is set in **Momo Trust Sans** and **ABC Diatype**. Headlines run large with tight negative tracking; body text is 16px. Depth comes from soft drop shadows. Corners are mostly 6px.

Measured from [rulebase.co](https://rulebase.co/) on November 17, 2026 at 1440×900 and 390×844 from 318 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 12 roles.

- **Charcoal (#1A1716):** Page background, seen 3 times. Token `background`, CSS `--color-dark`.
- **White (#FFFFFF):** Primary text and headings, seen 10 times. Token `on-surface`.
- **Snow (#F7F7F4):** Secondary text, seen 7 times. Token `on-surface-variant`, CSS `--cream`.
- **Warm Mist (#F7F5EE):** Muted text and metadata, seen 7 times. Token `on-surface-muted`.
- **Charcoal (#141210):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **Slate 6% (#5452520F):** Translucent fill for cards and controls, seen 18 times. Token `overlay`.
- **Warm Mist 8% (#F7F5EE14):** Stronger translucent fill, seen 15 times. Token `overlay-strong`.
- **Near Black 10% (#0000001A):** Borders and dividers, seen 5 times. Token `outline`.
- **Charcoal 18% (#1A17162E):** Secondary dividers, seen 1 time. Token `outline-variant`.
- **Vivid Orange (#FE4C00):** Primary buttons and calls to action, seen 12 times. Token `primary`.
- **Snow (#F7F7F4):** Text and icons on primary. Token `on-primary`.
- **Vivid Orange (#D85210):** Accent (CSS variable). Token `secondary`.

## Typography

**Momo Trust Sans**, **ABC Diatype** and **Inter** share the interface. Fallback stack: `Momo Trust Sans, ABC Diatype, Inter, Inter Fallback`. Other loaded fonts: Hedvig Letters Sans, Geist Mono.

- **headline-display:** Momo Trust Sans 46px at weight 400, line height 1.02, tracking -0.03em (36px on mobile). Page title (h1).
- **headline-lg:** Momo Trust Sans 40px at weight 400, line height 1.1, tracking -0.02em. Section headings (h2).
- **headline-md:** Momo Trust Sans 32px at weight 400, line height 1.3, tracking -0.02em. Sub-section headings.
- **headline-sm:** Momo Trust Sans 22px at weight 400, line height 1.36. Card and feature titles.
- **title-lg:** ABC Diatype 20px at weight 400, line height 1.4, tracking -0.02em. Small titles.
- **body-md:** Inter 16px at weight 400. Body text.
- **body-lg:** Inter 18px at weight 500, line height 1.33. Lead paragraphs.
- **body-sm:** Inter 14px at weight 400, line height 1.43, tracking -0.006em. Secondary and small text.
- **caption:** Inter 12px at weight 400, line height 1.33, tracking -0.007em. Captions and fine print.
- **label-md:** Momo Trust Sans 13px at weight 400, line height 1.23, tracking 0.12em, uppercase. Buttons, navigation and labels.
- **label-sm:** Inter 11px at weight 500, line height 1.45. Small labels and badges.

## Layout

Spacing is mostly on a 4px grid (77% of measured values), with some off-grid steps. Match the measured scale rather than rounding everything.

- **Scale:** xs 4px, sm 8px, md 12px, lg 20px, xl 40px.
- **Sections:** 100px vertical padding between major sections.
- **Gaps:** 24px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1512px.
- **Page margin:** 40px on each side of full-width sections.
- **Breakpoints:** 500px, 560px, 640px, 641px, 760px, 767px, 900px, 1024px, 1025px, 1100px, 1200px, 1201px, 1320px, 1440px, 1513px, 1700px.

## Elevation & Depth

Raised elements use soft drop shadows. The most used recipes:

- `rgba(0, 0, 0, 0.05) 0px 4px 2px 0px`
- `rgba(26, 23, 22, 0.18) 0px 18px 48px 0px, rgba(26, 23, 22, 0.08) 0px 2px 8px 0px`

## Shapes

Most elements use 6px corners. Measured radii, most used first:

- **md (6px):** 72 elements.
- **sm (4px):** 66 elements.
- **full (9999px):** 12 elements.

## Components

Measured from the rendered page. Token values reference the tokens above.

- **button-primary (“Schedule a Demo”):** #FE4C00 fill, #F7F7F4 text, 16px/400, 2px radius, padding 6px 12px.
- **button-secondary (“Get Started”):** #FFFFFF fill, #1A1716 text, 14px/400, 4px radius, padding 6px 14px.
- **button-ghost (“Watch how Rho transformed their ”):** transparent fill, #000000 text, 13.3333px/400, padding 0px.
- **card:** #EDEBE5 fill, #1E1E1E text, 16px/400, padding 0px.
- **link:** transparent fill, #1E1E1E text, padding 0px.

## Do's and Don'ts

- Do use #1A1716 for the page and lift surfaces in small steps: #141210.
- Do keep text in 3 levels: #FFFFFF, #F7F7F4, #F7F5EE.
- Do reserve #FE4C00 for primary actions and key highlights.
- Do set headlines in Momo Trust Sans with tight tracking (-0.03em).
- Do reuse the measured spacing steps (8px, 12px, 20px).
- Do use 6px corners on most elements; larger surfaces also use 4px.
- Don't introduce new font families beyond Momo Trust Sans, ABC Diatype and Inter.
- Don't use #FE4C00 for large backgrounds or body text.
- Don't make interface transitions slower than 0.3s.

## Motion

Interface transitions are quick: 0.18s, 0.22s, 0.2s, 0.15s. Longer ambient animations run 0.85s.

- **Easing:** `ease`, `cubic-bezier(0.2, 0.8, 0.2, 1)`, `cubic-bezier(0.22, 1, 0.36, 1)`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/rulebase.co/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
