# Look 9 — Checkout Fold **Rationale.** Checkout Fold brings the new checkout's signature "folding sections" architecture (`checkout/shell/Fold.tsx`) directly into email: instead of separate stacked cards (Look 5) or one undifferentiated white box with nested grey panels (Look 1), the entire email is one unified white rounded dossier divided by full-bleed horizontal hairlines into clean bands, each anchored by a 28px circular badge in a left rail. Completed or recorded bands carry soft brand-tinted badges, the action-needed band on a wire email stands out with a warm amber accent badge and tint, and the legal disclosures tuck into a quiet grey cap at the bottom of the same container. It suits a product team that wants unmistakable continuity with the checkout's step-by-step rhythm while keeping the email compact and requiring zero new progress-tracker copy. The trade-offs: the left badge column reduces desktop content width by 42px (reclaimed on mobile via the media query), and Windows Outlook renders the circular badges as squares. Read `README.md` → "Shared build contract" first; it defines the skeleton, font stacks, brand placeholders, logo fallback, verbatim copy and status glyphs used below. ## 1. Layout - **Canvas:** full-width table, `bgcolor="#f8f8f7"`. Padding `28px 16px 40px` (mobile: `14px 10px 28px`). - **Container:** 600px, centred. - **Model:** a minimal centred **identity bar** on the canvas → **one unified white container** (`bgcolor="#ffffff"`, `border:1px solid #ebebea`, `border-radius:20px`, overflow clean via inner row corners) split by `1px solid #ebebea` full-bleed horizontal dividers into **2 to 3 content bands** + a **quiet `#f8f8f7` footer cap** inside the same container. - **Band padding:** `26px 32px` at 600px; `20px 18px` at 375px. - **Left badge rail (inside each content band):** - Band header row: a 28×28 circular badge cell (`width="28"`, `vertical-align:top`) + 14px gap + band eyebrow and title. - Band body: indented `padding-left:42px` on desktop so all text and tables align cleanly under the band title, matching `FoldSection` in the checkout. On mobile (`≤620px`), class `.fold-indent` resets `padding-left:0 !important` so body copy and two-column tables use the full inner width. - Effective text gutters: 32px right / 74px left (32 + 42) at 600px; 10 + 18 = 28px on both sides at 375px. - No nested grey summary panels — the full-bleed horizontal fold dividers carry all structural separation. ## 2. Header / logo (centred identity bar on canvas) Centred on the `#f8f8f7` canvas above the unified container, padding `0 8px 16px`: - **Logo tile + name** in a centred inline table (`align="center"`): - **Logo tile:** 36×36 ``, `bgcolor="#ffffff"`, `border:1px solid #e4e4e2`, `border-radius:9px`, `text-align:center; vertical-align:middle`, with the white `linear-gradient` hardening from the README. Inside: ``, linked to `%%PORTAL_OFFERING_URL%%`. - **Name:** 10px to the right of the tile: `%%OFFERING_NAME%%`, 15px / 20px, weight 600, `#18181b`, `letter-spacing:-0.01em`. - **No logo:** alt text `%%OFFERING_NAME%%` styled 10px / 12px weight 700 `#18181b` inside the tile; the offering name beside it serves as the wordmark. With sender branching, swap the tile for a 36×36 monogram tile (`bgcolor="%%BRAND_COLOR%%"`, initials 13px weight 700 `%%BRAND_ON_COLOR%%`). - **Platform template:** centred platform logo without tile, `width="100"`, alt "Issuance" 17px weight 700 `#18181b`; no name cell. ## 3. White-label slot Structured and functional — mirroring `Fold.tsx`, brand marks completed/active structure and the primary CTA, never overwhelming the page. | Element | Property | Placeholder | |---------|----------|-------------| | Primary button cell & 1px border | `bgcolor`, `background-color`, `border-color` | `%%BRAND_COLOR%%` | | Primary button label | `color` | `%%BRAND_ON_COLOR%%` | | Account-created & Summary/Details fold badge fill | `bgcolor` + `background-color` | `%%BRAND_SOFT_COLOR%%` | | Account-created & Summary/Details fold badge glyph (`✓` / `$`) | `color` | `%%BRAND_TEXT_COLOR%%` | | Band 2/3 eyebrow label (`SUMMARY` / `DETAILS` / `WIRE INSTRUCTIONS`) | `color` | `%%BRAND_TEXT_COLOR%%` | | Wire reference value pill border & text (on `#ffffff`) | `border-color` / `color` | `%%BRAND_TEXT_COLOR%%` | | Monogram tile (only with branching) | `bgcolor` / `color` | `%%BRAND_COLOR%%` / `%%BRAND_ON_COLOR%%` | Contrast rule (README): - On the soft-tinted fold badges (`%%BRAND_SOFT_COLOR%%` fill + `%%BRAND_TEXT_COLOR%%` 14px bold glyph `✓` or `$`), the glyph is a non-text icon (3:1 required; `BRAND_TEXT` on `BRAND_SOFT` clears ~3.8:1 across all hues). Any near-white brand gets a `1px solid #c8c8c3` border on the badge (rule 4). - Band eyebrows and the wire reference pill sit on `#ffffff`, where `%%BRAND_TEXT_COLOR%%` is guaranteed 4.5:1. - Warning (`!`) and Canceled (`×`) badges always use semantic amber and red, never brand colour. ## 4. Palette | Role | Hex | |------|-----| | Canvas | `#f8f8f7` | | Unified container surface | `#ffffff` | | Quiet footer cap (bottom band inside container) | `#f8f8f7` | | Wire active-band subtle wash | `#fffdf5` | | Text (ink) | `#18181b` | | Muted text | `#64646c` | | Container hairline & fold dividers | `#ebebea` | | Row dividers inside bands | `#f1f1ef` | | Border / secondary button border | `#dededb` | | Strong border / total rule | `#c8c8c3` | | Success | badge bg `#ecfdf5`, glyph/label `#047857` | | Warning | badge bg `#fef3c7`, badge border `#fcd34d`, glyph/label `#b45309`, callout bg `#fffbeb`, callout text `#92400e` | | Danger | badge bg `#fef3f2`, badge border `#ecc8c5`, glyph/label `#b42318`, callout bg `#fef3f2` | | Neutral / waiting | badge bg `#f1f1ef`, badge border `#dededb`, glyph/label `#64646c` | ## 5. Typography Sans stack and mono stack from the README. | Style | Size / line-height | Weight | Colour | Notes | |-------|--------------------|--------|--------|-------| | h1 (Band 1 title) | 23px / 29px (mobile 20px / 26px) | 600 | `#18181b` | `letter-spacing:-0.02em` | | Band 2/3 title | 17px / 22px | 600 | `#18181b` | `letter-spacing:-0.015em` | | Band eyebrow (status / label) | 11px / 15px | 600 | per tone or `%%BRAND_TEXT_COLOR%%` | uppercase, `letter-spacing:0.08em` | | Lead (paragraph 1) | 16px / 24px | 400 | `#18181b` | | | Body | 14px / 22px | 400 | `#64646c` | | | Row label | 13px / 19px | 400 | `#64646c` | | | Row value | 14px / 20px | 600 | `#18181b` | tabular, right-aligned | | Total figure | 20px / 26px | 600 | `#18181b` | tabular, `letter-spacing:-0.02em` | | Mono (reference, wire numbers) | 14px / 20px | 600 | `#18181b` | mono stack, `letter-spacing:0.03em` | | Small / footer | 11px / 17px | 400 | `#64646c` | | ## 6. Buttons - **Primary** (account created, in Band 1 aligned with `.fold-indent`): 48px high, radius 12px, label 15px / 20px weight 600, left-aligned on desktop, full width on mobile (`btn-full`). Bulletproof padded cell: `` containing ``, with the `mso` `letter-spacing`/`mso-text-raise` handling from the current template so Windows Outlook renders the full 48px button. Label verbatim: "Log in to invest". - **Secondary:** same padded-cell construction, 42px high (`padding:10px 18px`), `bgcolor="#ffffff"`, `border:1px solid #dededb`, radius 12px, label 14px weight 600 `#18181b`. - **Inline link:** `#18181b`, weight 600, underlined (`text-decoration-color:#c8c8c3`, `text-underline-offset:3px`). ## 7. Fold bands, summary and wire block **Bands per email (all inside the one unified container, separated by `1px solid #ebebea`)** | Email | Band 1 | Band 2 | Band 3 | Bottom cap | |-------|--------|--------|--------|------------| | Account created | Status (`✓`) · h1 · copy · button · support line | — | — | Disclosures | | Wire started | Status (`!`) · h1 · paragraph 1 · warning callout | Wire instructions (`!`, subtle `#fffdf5` wash) | Summary (`$`) | Disclosures | | Card started | Status (`…`) · h1 · paragraph 1 · paragraph 2 | Summary (`$`) | — | Disclosures | | Canceled | Status (`×`) · h1 · paragraph 1 · paragraph 2 · note callout | Details (`×` neutral) | — | Disclosures | **Band 1 — Message** - Top row: 28×28 circular status badge (§8) left + 14px gap + status eyebrow directly above h1 (2px between eyebrow and h1). - 14px below, inside `.fold-indent`: paragraph 1 (lead), 10px gap, paragraph 2 (body) — or on wire, the warning callout (§8) for paragraph 2; on canceled, paragraph 2 followed 14px below by the note callout (§8); on account created, button 18px below paragraph 2, then "If you have any questions…" 14px below the button. **Summary / Details band** (Band 2 on card & canceled; Band 3 on wire): - Top row: 28×28 circular badge (`bgcolor="%%BRAND_SOFT_COLOR%%"`, glyph `$` 13px weight 700 `%%BRAND_TEXT_COLOR%%`, `line-height:28px`; on canceled, neutral `#f1f1ef` badge with `i` in `#64646c`) + 14px gap + eyebrow `SUMMARY` (or `DETAILS`) above title `%%OFFERING_NAME%% - %%SECURITY_TYPE%%` (Band 2/3 title style). - 14px below, inside `.fold-indent`: key-value table (`width:100%`), each row `padding:9px 0`, `border-top:1px solid #f1f1ef` (first row included), label left (13px muted) / value right (14px weight 600 ink, tabular): - `Reference` → `%%INVESTMENT_REFERENCE_NUMBER%%` (mono) - `Qty.` → `%%NUMBER_OF_SHARES_WITH_BONUS%%` - `Share price` → `$%%SHARE_PRICE%%` - `Subtotal` → `$%%DOLLAR_AMOUNT%%` - Fees row — label and value verbatim per template (card: `1.5% Card + Admin. Fees (Non-Refundable)` → `$%%INVESTOR_PAYMENT_PROCESSING_FEES%% + $%%ADMINISTRATIVE_FEES%%`; wire and canceled: `Fees` → `$0`). Label cell `width:55%`. - **Total row:** `border-top:1px solid #c8c8c3`, `padding:12px 0 0`; label `Total` 14px weight 700 `#18181b`; value in Total figure style (`$%%TOTAL_WITH_FEES%%` on card, `$%%DOLLAR_AMOUNT%%` on wire and canceled; canceled adds `text-decoration:line-through; color:#64646c`). **Wire-instructions band** (Band 2 on wire email): - Band cell uses a very faint warm tint `bgcolor="#fffdf5"` so the investor's action band stands apart from Band 1 and Band 3 without needing a separate card. - Top row: 28×28 amber badge (`bgcolor="#fef3c7"`, `border:1px solid #fcd34d`, glyph `!` 13px weight 700 `#b45309`) + 14px gap + eyebrow `ACTION NEEDED` (`#b45309`) above title `Wire instructions`. - 14px below, inside `.fold-indent`: key-value rows (`padding:9px 0`, `border-top:1px solid #f3ead2`) in the original order with verbatim labels: - `Bank Name` → `%%BANK_NAME%%` - `Swift Code` → `%%SWIFT_CODE%%` (mono) - `Routing Number` → `%%ROUTING_NUMBER%%` (mono) - `Account Number` → `%%ACCOUNT_NUMBER%%` (mono) - `Beneficiary Name` → `%%PORTAL_COMPANY_NAME%% FBO %%ISSUER_NAME%%` - `Beneficiary Address` → two hard-coded address lines, right-aligned - `Reference` → `%%NUMBER%%` inside a crisp white outlined pill (`bgcolor="#ffffff"`, `border:1.5px solid %%BRAND_TEXT_COLOR%%`, `border-radius:8px`, `padding:4px 10px`, mono 15px weight 700 `%%BRAND_TEXT_COLOR%%`, `letter-spacing:0.06em`). - Label column stays `width:42%` on desktop and mobile. ## 8. Status and note Status is carried by **Band 1's left-rail 28×28 circular badge + uppercase eyebrow** — zero pills, zero full-width banners, zero extra cards. | Email | Badge bg / border | Glyph & colour | Eyebrow text & colour | |-------|-------------------|----------------|-----------------------| | Account created | `%%BRAND_SOFT_COLOR%%` / none | `✓` in `%%BRAND_TEXT_COLOR%%` | `ACCOUNT CREATED` in `#047857` | | Wire started | `#fef3c7` / `1px solid #fcd34d` | `!` in `#b45309` | `ACTION NEEDED · PAYMENT PENDING` in `#b45309` | | Card started | `#f1f1ef` / `1px solid #dededb` | `…` in `#64646c` | `PAYMENT STARTED` in `#64646c` | | Canceled | `#fef3f2` / `1px solid #ecc8c5` | `×` in `#b42318` | `CANCELED` in `#b42318` | **Warning callout** (wire paragraph 2, verbatim, inside Band 1's `.fold-indent`): `bgcolor="#fffbeb"`, `border:1px solid #fcd34d`, `border-radius:10px`, `padding:12px 14px`; text 14px / 21px `#92400e`. No extra icon (the band badge already carries `!`). **Note callout** (`%%TEXT_NOTE%%`, inside Band 1's `.fold-indent`): `bgcolor="#fef3f2"`, `border:1px solid #ecc8c5`, `border-radius:10px`, `padding:14px 16px`. Heading (verbatim: `The following note has been attached to your investment:`) 13px / 18px weight 600 `#b42318`; 6px gap; note text 14px / 22px `#18181b`, `white-space:pre-line`. ## 9. Footer and disclosures Built as the **final quiet band inside the unified container** (mirroring the locked/quiet fold band in `Fold.tsx`), separated by `1px solid #ebebea`: - Cell `bgcolor="#f8f8f7"`, `border-radius:0 0 19px 19px`, padding `18px 32px 20px` (mobile `16px 18px 18px`), left-aligned (no badge rail — spans full band width). - Disclosure paragraph (verbatim) — 11px / 17px `#64646c`; links `#18181b`, weight 500, underlined. - 8px gap; copyright line (verbatim), same style. - Never tinted with the brand colour. ## 10. Dark mode and Gmail | Element | Light | Dark (`prefers-color-scheme` + `[data-ogsc]`/`[data-ogsb]`) | |---------|-------|------| | Canvas | `#f8f8f7` | `#0f0f11` | | Unified container | `#ffffff`, border `#ebebea` | `#18181b`, border `#2e2e33` | | Quiet footer cap | `#f8f8f7` | `#131316` | | Wire active band | `#fffdf5` | `#1f1b10` | | Text / muted | `#18181b` / `#64646c` | `#f4f4f5` / `#a1a1aa` | | Fold dividers / row dividers / total rule | `#ebebea` / `#f1f1ef` / `#c8c8c3` | `#2e2e33` / `#27272c` / `#52525b` | | Brand-soft badges (`✓`, `$`) | `%%BRAND_SOFT_COLOR%%` / `%%BRAND_TEXT_COLOR%%` | bg `#27272c`, border `#3f3f46`, glyph `#f4f4f5` (replaces light tint cleanly) | | Brand eyebrows (`SUMMARY`, `DETAILS`) | `%%BRAND_TEXT_COLOR%%` | `#a1a1aa` | | Wire reference pill | white, `%%BRAND_TEXT_COLOR%%` border & text | bg `#18181b`, border `#fcd34d`, text `#f4f4f5` | | Semantic badges & callouts | as §4 / §8 | bg `#0d2a20` / `#2e2206` / `#27272c` / `#33110d`; text `#6ee7b7` / `#fcd34d` / `#a1a1aa` / `#fca5a1`; borders `#14532d` / `#713f12` / `#3f3f46` / `#7f1d1d` | | Logo tile | white | **stays white** (held by `linear-gradient`) | | Primary button | brand | unchanged; with the `#18181b` default, `.btn-ink` flips to `#f4f4f5` fill with `#18181b` label | **Gmail / stripped `