---
version: alpha
name: Digital Risk Pakistan
description: "Light interface measured from digitalriskpakistan.com: Jost type, dark red accents, tonal surfaces and 3px corners."
colors:
  background: "#F0F1F2"
  surface: "#F0F1F2"
  on-surface: "#000000"
  on-background: "#000000"
  on-surface-variant: "#161616"
  on-surface-muted: "#505050"
  on-surface-subtle: "#8A8A8C"
  surface-container-low: "#FFFFFF"
  outline: "#D7D7D7"
  outline-variant: "#8A8A8C2E"
  primary: "#B32A00"
  on-primary: "#FFFFFF"
  inverse-surface: "#333333"
  secondary: "#4169E1"
typography:
  display-hero:
    fontFamily: Jost
    fontSize: 33.5px
    fontWeight: 500
    lineHeight: 0.8
  headline-display:
    fontFamily: Jost
    fontSize: 32px
    fontWeight: 700
    lineHeight: 1.5
  headline-lg:
    fontFamily: Jost
    fontSize: 22px
    fontWeight: 500
    lineHeight: 1.23
  headline-md:
    fontFamily: Jost
    fontSize: 21px
    fontWeight: 700
    lineHeight: 1.5
  body-md:
    fontFamily: Jost
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  body-lg:
    fontFamily: Jost
    fontSize: 18px
    fontWeight: 500
    lineHeight: 1.48
  body-sm:
    fontFamily: Jost
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.5
  label-lg:
    fontFamily: Jost
    fontSize: 16px
    fontWeight: 500
    lineHeight: 1.5
  label-md:
    fontFamily: Jost
    fontSize: 15.5px
    fontWeight: 500
  label-sm:
    fontFamily: Jost
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1.5
rounded:
  md: 3px
  full: 9999px
spacing:
  xs: 2px
  sm: 5px
  md: 15px
components:
  button-ghost:
    rounded: "{rounded.md}"
    padding: 5px
  input-field:
    backgroundColor: "{colors.surface-container-low}"
    textColor: "#666666"
    typography: "{typography.body-md}"
    rounded: "{rounded.md}"
    padding: 5px
  card:
    backgroundColor: "{colors.surface-container-low}"
    textColor: "#404040"
    typography: "{typography.body-md}"
    rounded: 0px
    padding: 7px
  link:
    textColor: "{colors.on-primary}"
---

# Digital Risk Pakistan Design System

## Overview

The interface is light, built on **Mist (#F0F1F2)** with **Near Black (#000000)** text, and **Dark Red (#B32A00)** as the main accent.

Type is set in **Jost**. Headlines run large; body text is 16px. Depth comes from soft drop shadows. Corners are mostly 3px.

Measured from [digitalriskpakistan.com](https://digitalriskpakistan.com/) on December 2, 2026 at 1440×900 and 390×844 from 393 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 12 roles, plus gradient stops #B32A00.

- **Mist (#F0F1F2):** Page background, seen 4 times. Token `background`.
- **Near Black (#000000):** Primary text and headings, seen 16 times. Token `on-surface`, CSS `--breadcrumb-text-color`.
- **Charcoal (#161616):** Secondary text, seen 2 times. Token `on-surface-variant`.
- **Slate (#505050):** Muted text and metadata, seen 2 times. Token `on-surface-muted`, CSS `--main-content-text-color`.
- **Gray (#8A8A8C):** Subtle text and placeholders, seen 52 times. Token `on-surface-subtle`.
- **White (#FFFFFF):** Raised areas one step from the page, seen 9 times. Token `surface-container-low`, CSS `--move-to-top-color`.
- **Silver (#D7D7D7):** Borders and dividers, seen 8 times. Token `outline`.
- **Gray 18% (#8A8A8C2E):** Secondary dividers, seen 2 times. Token `outline-variant`.
- **Dark Red (#B32A00):** Brand color in the header, seen 45 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Graphite (#333333):** High-contrast fills, seen 22 times. Token `inverse-surface`, CSS `--author-color`.
- **Blue (#4169E1):** Accent, seen 1 time. Token `secondary`.

## Typography

**Jost** carries the whole interface. Fallback stack: `Jost`. Other loaded fonts: Font Awesome 6 Brands, Font Awesome 6 Free, Font Awesome 5 Free.

- **display-hero:** Jost 33.5px at weight 500, line height 0.8. Oversized hero statements.
- **headline-display:** Jost 32px at weight 700, line height 1.5. Page title (h1).
- **headline-lg:** Jost 22px at weight 500, line height 1.23. Section headings (h2).
- **headline-md:** Jost 21px at weight 700, line height 1.5. Sub-section headings.
- **body-md:** Jost 16px at weight 400, line height 1.5. Body text.
- **body-lg:** Jost 18px at weight 500, line height 1.48. Lead paragraphs.
- **body-sm:** Jost 12px at weight 400, line height 1.5. Secondary and small text.
- **label-lg:** Jost 16px at weight 500, line height 1.5. Large buttons and tabs.
- **label-md:** Jost 15.5px at weight 500. Buttons, navigation and labels.
- **label-sm:** Jost 14px at weight 500, line height 1.5. Small labels and badges.

## Layout

Spacing does not follow a strict grid: 23% of measured values are multiples of 4px, so match the measured steps rather than rounding to a grid.

- **Scale:** xs 2px, sm 5px, md 15px.
- **Breakpoints:** 500px, 576px, 600px, 610px, 676px, 680px, 768px, 769px, 840px, 868px, 940px, 992px, 1086px, 1200px, 1300px, 1400px.

## Elevation & Depth

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

- `rgba(0, 0, 0, 0.75) 0px 0px 20px -9px`

## Shapes

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

- **md (3px):** 24 elements.
- **full (9999px):** 4 elements.

## Components

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

- **button-ghost (“1”):** transparent fill, #00000000 text, 0px/400, 3px radius, padding 5px.
- **input-field:** #FFFFFF fill, #666666 text, 16px/400, 3px radius, padding 5px, border 1px solid #CCCCCC.
- **card:** #FFFFFF fill, #404040 text, 16px/400, padding 7px.
- **link:** transparent fill, #FFFFFF text, padding 0px.

## Do's and Don'ts

- Do use #F0F1F2 for the page and lift surfaces in small steps: #FFFFFF.
- Do keep text in 4 levels: #000000, #161616, #505050, #8A8A8C.
- Do use #B32A00 as the brand accent: header, logo and key highlights.
- Do reuse the measured spacing steps (5px, 15px).
- Do use 3px corners on most elements.
- Don't use #8A8A8C for body text; it reaches 3.05:1 on #F0F1F2. Keep it for large text or metadata.
- Don't introduce new font families beyond Jost.
- Don't use #B32A00 for large backgrounds or body text.
- Don't make interface transitions slower than 0.4s.

## Motion

Interface transitions are quick: 0.4s, 0.25s. Longer ambient animations run 1s.

- **Easing:** `ease`, `cubic-bezier(0.02, 0.01, 0.47, 1)`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

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