# CPC Corporation, Taiwan DESIGN.md

> Public preview. The complete DESIGN.md source (all 61 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

Civic-portal identity for CPC Corporation, Taiwan (台灣中油) — a government-style teal header, warm charcoal text on white and light-mint surfaces, colorful safety-education illustrations, and pill search with tabbed news panels.

- Website: https://cpc.com.tw
- Primary color: Teal `#0D8993`
- Fonts: OpenSans, OpenSansBold
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/cpc-corporation-taiwan

## Palette preview

- `outline`: `#ebebeb`
- `primary`: `#0d8993`
- `surface`: `#ffffff`
- `secondary`: `#f2703c`
- `on-primary`: `#ffffff`
- `on-surface`: `#413830`
- `on-secondary`: `#ffffff`
- `inverse-surface`: `#34322f`

## Typography preview

- `body-md`: OpenSans
- `headline-md`: OpenSansBold

---

## Overview

CPC Corporation's portal is a Taiwanese state-enterprise classic: a dense utility strip (回首頁, 網站導覽, ODF格式, 資料開放, English, font-size S/M/L controls) over the logo lockup, a teal main nav, and a giant illustrated public-notice banner — currently an anti-phishing explainer with orange alert marks and cartoon callouts. Below, tabbed news columns share space with a live fuel-price card. The mood is civic, service-oriented, and unabashedly busy — information density is the point.

## Colors

Teal institution with orange warnings on warm-tinted neutrals.

- **CPC Teal (#0D8993):** The operating color — nav bar, active tabs, section headings, links, icon fills, even focus rings (a 1px teal outer ring is the measured "shadow").
- **Alert Orange (#F2703C):** Fuel-price figures, warning motifs, and attention accents.
- **Warm neutrals:** Text is a brown-black `#413830` (not pure black) with `#807D7A` secondary; surfaces run `#FFFFFF`, `#F4F4F4`, `#F6F6F6`; footers go warm-dark `#34322F`/`#444340`/`#5C5C5C`.
- **Hairlines:** `#EBEBEB`/`#EFEFEF`/`#DFDFDF` light borders; teal for interactive outlines.

## Typography

**OpenSans** (plus the loaded **OpenSansBold**) with 微軟正黑體 for CJK.

- **Section heads (`headline-md`):** 20.8px/700 teal with a very wide 0.19em letterspacing — the signature heading treatment.
- **Body:** 16px regular, generous ~1.7 leading for long civic copy.
- **Chrome:** 16px nav/search, 13–14px meta text.
- Hero banner type lives inside artwork — giant stylized characters are illustration, not UI.

## Layout

Top utility strip → logo row with pill search → teal nav bar → full-width illustrated banner → two-column content (tabbed news left, price/service cards right) inside a 1200px container. Spacing is fine-grained and non-uniform (2/3/5/6/8/10/15/18/19/20px) — an organic legacy rhythm rather than a strict scale; keep the 19px gutter.

## Elevation & Depth

Minimal: small UI shadows only — `0 1px 1px rgba(0,0,0,0.18)` on controls, `0 2px 6px rgba(0,0,0,0.1)` on cards, and a distinctive `0 0 0 1px #0D8993` teal ring marking selected/focused controls. Elevation signals state, not hierarchy.

## Shapes

Mixed civic geometry: pill-first for interactive elements (search input is a full 100px-radius pill; icon buttons are circles), 5px radius on cards and tabs, 3px on small controls, occasional top-only rounding on tab edges. The flat illustrated banner uses its own rounded rectangles inside the art.

## Motion & Micro-interaction

Soft, slightly slow portal motion: `all 0.4s ease-out` is the default, with quick 0.15s ease hovers and longer 0.6–0.8s ease-out moves on banners and accordions. Everything interpolates — avoid hard snaps; keep transform/opacity only.

## Voice & Content Strategy

Public-service formal Chinese with practical English labels. The headline banner is pure civic warning ("提高警覺！辨識詐騙電子郵件", "中油1912專線/165反詐騙專線"). Utility links are bureaucratic nouns (ODF格式, 資料開放, 意見信箱, 常見問答). Data copy is tabular and dated ("自11月16日零時起實施", "本週汽油價格不調整", prices "92無鉛 31.2"). Search uses hot-keyword suggestions ("熱門關鍵字: 油價, 加油站, 天然氣").

## Components

- **Utility strip:** Top-right text links, language link, accessibility font-size buttons (小/中/大).
- **Logo row:** CPC torch roundel + bilingual name left; hot-keywords hint + 38px pill `input-search` with round icon buttons right.
- **Main nav (`nav-main`):** Teal bar, white 16px links — 關於台灣中油, 新聞廣場, 產品與服務, 石油生活館, 資訊公開, 業務公告, 電子書城, ESG永續發展專區.
- **Illustrated banner:** Full-width safety campaign art with its own internal chips/callouts.
- **News tabs (`tab-active`/`tab-inactive`):** Teal-filled active tab (新聞稿) beside inactive text tabs; date+title lists below.
- **Price card:** White panel, teal section header, orange price figures (`price-figure`), small unit captions.
- **Focus state:** 1px teal ring (`#0D8993` outline) instead of a shadow.

## Do's and Don'ts

- Do use teal for every interactive signal — nav, tabs, links, focus rings.
- Do render prices and alerts in orange `#F2703C`; never in red.
- Do letterspace section headings generously (0.19em) and keep them teal.
- Do keep search and icon buttons fully round; it's the portal's friendliest cue.
- Don't switch body text to pure black — the system uses warm `#413830`.
- Don't flatten the banner into a plain text alert; illustrated public notices are the brand's voice.
- Don't add heavy shadows — state is shown by the teal 1px ring.
- Don't reorganize the utility links into a hamburger; accessibility and open-data links are regulatory fixtures.
