---
version: alpha
name: MediFlow AI
description: "Light interface measured from mediflowai-nu.vercel.app: inter type, vivid blue accents, tonal surfaces and 12px corners."
colors:
  background: "#F0F2F9"
  surface: "#F0F2F9"
  on-surface: "#0B1C30"
  on-background: "#0B1C30"
  on-surface-variant: "#4A4F60"
  surface-container-low: "#EEF1F8E6"
  surface-container: "#F3E8FF"
  surface-container-high: "#E6EBF5"
  surface-container-highest: "#FFFFFF"
  overlay: "#FFFFFF1A"
  overlay-strong: "#00D3F240"
  outline: "#CDD5E4"
  outline-variant: "#FFFFFF40"
  primary: "#2563EB"
  on-primary: "#FFFFFF"
  secondary: "#004AC6"
  tertiary: "#006A61"
typography:
  headline-display:
    fontFamily: inter
    fontSize: 52px
    fontWeight: 700
    lineHeight: 1.15
    letterSpacing: -0.025em
  headline-lg:
    fontFamily: inter
    fontSize: 30px
    fontWeight: 600
    lineHeight: 1.2
    letterSpacing: -0.025em
  headline-md:
    fontFamily: inter
    fontSize: 20px
    fontWeight: 600
    lineHeight: 1.4
  body-md:
    fontFamily: inter
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  body-lg:
    fontFamily: inter
    fontSize: 18px
    fontWeight: 600
    lineHeight: 1.56
  body-sm:
    fontFamily: inter
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
  caption:
    fontFamily: inter
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.38
  label-lg:
    fontFamily: inter
    fontSize: 16px
    fontWeight: 600
    lineHeight: 1.5
  label-md:
    fontFamily: inter
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1.25
  label-sm:
    fontFamily: inter
    fontSize: 12px
    fontWeight: 600
    lineHeight: 1.33
    letterSpacing: 0.05em
  headline-display-mobile:
    fontFamily: inter
    fontSize: 36px
    fontWeight: 700
    lineHeight: 1.11
    letterSpacing: -0.025em
rounded:
  sm: 8px
  md: 12px
  lg: 16px
  xl: 28px
spacing:
  xs: 4px
  sm: 6px
  md: 16px
  lg: 24px
  xl: 40px
  gutter: 8px
  section: 112px
  margin: 40px
  container: 1280px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-sm}"
    rounded: "{rounded.sm}"
    padding: 8px 16px
    height: 32px
  button-outline:
    backgroundColor: "#E2E9F7"
    textColor: "{colors.on-surface}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.md}"
    padding: 0px 16px
    height: 48px
  button-ghost:
    backgroundColor: "{colors.surface-container-highest}"
    textColor: "{colors.on-surface}"
    typography: "{typography.body-lg}"
    rounded: "{rounded.md}"
    padding: 16px 32px
    height: 62px
  input-field:
    backgroundColor: "{colors.surface-container-highest}"
    textColor: "#0F172A"
    rounded: 0px
    padding: 0px 4px 0px 0px
  card:
    backgroundColor: "{colors.surface-container-highest}"
    textColor: "{colors.on-surface}"
    typography: "{typography.body-lg}"
    rounded: "{rounded.md}"
    padding: 16px 32px
  link:
    textColor: "{colors.on-surface-variant}"
---

# MediFlow AI Design System

## Overview

MediFlow AI describes itself as: “AI-powered hospital queue, triage, scheduling and emergency intelligence platform.” The interface is light, built on **Cool Snow (#F0F2F9)** with **Deep Blue (#0B1C30)** text, and **Vivid Blue (#2563EB)** as the main accent.

Type is set in **inter**. Headlines run large with tight negative tracking; body text is 16px. Depth comes from soft drop shadows. Corners are mostly 12px.

Measured from [mediflowai-nu.vercel.app](https://mediflowai-nu.vercel.app/) on November 27, 2026 at 1440×900 and 390×844 from 252 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 15 roles, plus gradient stops #CDD5E4, #0B1220, #1B2B4A, #2B7FFF.

- **Cool Snow (#F0F2F9):** Page background. Token `background`.
- **Deep Blue (#0B1C30):** Primary text and headings, seen 29 times. Token `on-surface`.
- **Dark Blue (#4A4F60):** Secondary text, seen 45 times. Token `on-surface-variant`.
- **Cool Mist 90% (#EEF1F8E6):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **Pale Violet (#F3E8FF):** Cards and panels, seen 1 time. Token `surface-container`.
- **Cool Mist (#E6EBF5):** Hover and pressed fills, seen 8 times. Token `surface-container-high`.
- **White (#FFFFFF):** Highest raised elements, seen 14 times. Token `surface-container-highest`, CSS `--cp-card`.
- **White 10% (#FFFFFF1A):** Translucent fill for cards and controls, seen 3 times. Token `overlay`.
- **Vivid Cyan 25% (#00D3F240):** Stronger translucent fill, seen 1 time. Token `overlay-strong`.
- **Light Blue (#CDD5E4):** Borders and dividers, seen 18 times. Token `outline`.
- **White 25% (#FFFFFF40):** Secondary dividers, seen 3 times. Token `outline-variant`.
- **Vivid Blue (#2563EB):** Primary buttons and calls to action, seen 2 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Blue (#004AC6):** Accent (CSS variable), seen 28 times. Token `secondary`, CSS `--cp-primary-fill`.
- **Deep Teal (#006A61):** Accent, seen 7 times. Token `tertiary`.

## Typography

**inter** carries the whole interface. Fallback stack: `inter, inter Fallback, notoDeva, notoDeva Fallback`. Other loaded fonts: notoDeva, notoTelu, notoKnda.

- **headline-display:** inter 52px at weight 700, line height 1.15, tracking -0.025em (36px on mobile). Page title (h1).
- **headline-lg:** inter 30px at weight 600, line height 1.2, tracking -0.025em. Section headings (h2).
- **headline-md:** inter 20px at weight 600, line height 1.4. Sub-section headings.
- **body-md:** inter 16px at weight 400, line height 1.5. Body text.
- **body-lg:** inter 18px at weight 600, line height 1.56. Lead paragraphs.
- **body-sm:** inter 14px at weight 400, line height 1.43. Secondary and small text.
- **caption:** inter 12px at weight 400, line height 1.38. Captions and fine print.
- **label-lg:** inter 16px at weight 600, line height 1.5. Large buttons and tabs.
- **label-md:** inter 14px at weight 600, line height 1.25. Buttons, navigation and labels.
- **label-sm:** inter 12px at weight 600, line height 1.33, tracking 0.05em. Small labels and badges.

## Layout

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

- **Scale:** xs 4px, sm 6px, md 16px, lg 24px, xl 40px.
- **Sections:** 112px vertical padding between major sections.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1280px.
- **Page margin:** 40px on each side of full-width sections.
- **Breakpoints:** 379px.

## Elevation & Depth

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

- `rgba(15, 23, 42, 0.05) 0px 1px 2px 0px, rgba(15, 23, 42, 0.12) 0px 10px 28px -10px`
- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, oklab(0.999994 0.0000455678 0.0000200868 / 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px`
- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, oklab(0.378993 -0.0114082 -0.145541 / 0.4) 0px 10px 15px -3px, oklab(0.378993 -0.0114082 -0.145541 / 0.4) 0px 4px 6px -4px`

## Shapes

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

- **md (12px):** 52 elements.
- **sm (8px):** 24 elements.
- **lg (16px):** 4 elements.
- **xl (28px):** 4 elements.

## Components

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

- **button-primary (“Sign In”):** #2563EB fill, #FFFFFF text, 12px/600, 8px radius, padding 8px 16px.
- **button-outline (“English EN”):** #E2E9F7 fill, #0B1C30 text, 16px/600, 12px radius, padding 0px 16px, border 1px solid #CDD5E4.
- **button-ghost (“See how it works”):** #FFFFFF fill, #0B1C30 text, 18px/600, 12px radius, padding 16px 32px, border 1px solid #CDD5E4.
- **input-field (“Language”):** #FFFFFF fill, #0F172A text, 11px/500, padding 0px 4px 0px 0px.
- **card:** #FFFFFF fill, #0B1C30 text, 18px/600, 12px radius, padding 16px 32px, border 1px solid #CDD5E4.
- **link:** transparent fill, #4A4F60 text, padding 0px.

## Do's and Don'ts

- Do use #F0F2F9 for the page and lift surfaces in small steps: #EEF1F8E6, #F3E8FF, #E6EBF5, #FFFFFF.
- Do keep text in 2 levels: #0B1C30, #4A4F60.
- Do reserve #2563EB for primary actions and key highlights.
- Do set headlines in inter with tight tracking (-0.025em).
- Do reuse the measured spacing steps (6px, 16px, 24px).
- Do use 12px corners on most elements; larger surfaces also use 8px, 16px and 28px.
- Don't introduce new font families beyond inter.
- Don't use #2563EB for large backgrounds or body text.
- Don't make interface transitions slower than 0.32s.

## Motion

Interface transitions are quick: 0.18s, 0.25s, 0.2s, 0.32s. Longer ambient animations run 1s, 6s.

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

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