Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(marketing): polish mobile navigation and homepage demos (#8465)
Chaitanya Agarwal06c9fea94908
diff --git a/apps/marketing/README.md b/apps/marketing/README.mdindex 4d12727cc7..2232c91994 100644--- a/apps/marketing/README.md+++ b/apps/marketing/README.md@@ -301,12 +301,25 @@ hover path connected across the gap to the dropdown. Delay hover dismissal by350ms and cancel it on re-entry; keep navigation open while its links have focus.Outside clicks and Escape dismiss immediately. ArrowDown opens and focusesnavigation from the home link. Touch and narrow layouts show a single hamburger-button that opens navigation, without a separate caret. Escape and keyboard+button that opens navigation, without a separate caret. It becomes an X while+open. Mobile menus use an opaque, theme-matched surface and two-column link+groups with 48px minimum tap targets, keeping every group easy to reach. Escape and keyboardwrapping return focus to that button. Home remains available inside the menu.The product entry preloads the requested lazy route and its CSS before replacingprerendered HTML, avoiding a header-only flash on first load.+Keep 40px total mobile spacing between the Documents/Tasks links and Coding+agents: 20px below Documents and 20px above Coding agents. Do not zero that+boundary or double it to the full 80px section spacing.++Person and agent mentions use `--marketing-mention` with a soft tint in both+palettes, including static homepage conversations and editable demo tokens. The+light document graphic uses that accent for resolved mentions instead of the+neutral website control accent. Comment anchors use the product’s yellow wash+and underline; the sample date-check comment anchors to the launch date, leaving+the checklist heading unmarked.+Feature chapters rely on their heading, description, and working demo. Do notreintroduce unused feature-card guides or duplicate explanatory drawers.@@ -1013,3 +1026,15 @@ The email-sharing result uses an inline email icon and linked subject from`DocMention`. Do not add a custom preview card, Live badge, sender summary,or reply-count footer. Opening the mention shows the complete sample thread,including subsequent replies.++The landing-page CRM illustration has no playback footer or Pause/Replay controls;+it still pauses offscreen and when a visitor enters the demo.++The landing CRM drag hides its source card while preserving its slot. The drag+copy and pointer sit beside the panning canvas and use viewport-space transforms;+use a box shadow rather than a moving drop-shadow filter to avoid ghosted trails.++The landing CRM artboard fixes its card, header, and row dimensions in pixels to+match its animation coordinates before applying the viewport scale. Its shared+card surfaces are display-only: no hover transitions or cursor transform easing.+Pickup and drop must preserve the card’s screen-space bounds on phones too.diff --git a/apps/marketing/scripts/verifyCrmMotion.ts b/apps/marketing/scripts/verifyCrmMotion.tsnew file mode 100644index 0000000000..9713a25e4f--- /dev/null+++ b/apps/marketing/scripts/verifyCrmMotion.ts@@ -0,0 +1,105 @@+import { type Browser, expect } from '@playwright/test';++/** Check handoffs, not just the middle of a drag: both use the same geometry. */+export async function verifyCrmMotion(browser: Browser, origin: string) {+ for (const width of [393, 1440]) {+ const page = await browser.newPage({+ viewport: { width, height: 852 },+ isMobile: width < 800,+ hasTouch: width < 800,+ reducedMotion: 'no-preference',+ });+ try {+ await page.goto(`${origin}/?theme=cream`);+ await page.locator('#crm').scrollIntoViewIfNeeded();+ await page.locator('.homepage-crm-viewport').waitFor();+ const card = page.locator(+ '[data-crm-company="northwind"] .homepage-crm-card-surface'+ );+ const beforeHover = await card.evaluate((node) => {+ const style = getComputedStyle(node);+ return [style.backgroundColor, style.boxShadow];+ });+ const cardBounds = await card.boundingBox();+ if (!cardBounds) throw new Error('CRM card has no bounds');+ await page.mouse.move(+ cardBounds.x + cardBounds.width / 2,+ cardBounds.y + cardBounds.height / 2+ );+ expect(+ await card.evaluate((node) => {+ const style = getComputedStyle(node);+ return [style.backgroundColor, style.boxShadow];+ })+ ).toEqual(beforeHover);++ const handoffs = await page.evaluate(+ () =>+ new Promise<{ before: number[]; after: number[] }[]>(+ (resolve, reject) => {+ const changes: { before: number[]; after: number[] }[] = [];+ let previous: number[] | undefined;+ let previousPhase: string | undefined;+ const start = performance.now();+ const sample = () => {+ const source = document.querySelector(+ '[data-crm-company="northwind"]'+ );+ const drag = document.querySelector('.homepage-crm-drag');+ if (!source) {+ reject(new Error('CRM source card is missing'));+ return;+ }+ const active = drag?.textContent?.includes('Keystone')+ ? drag+ : source;+ const phase =+ active === source+ ? source.getAttribute('data-crm-stage')+ : 'drag';+ const bounds = active.getBoundingClientRect();+ const current = [+ bounds.x,+ bounds.y,+ bounds.width,+ bounds.height,+ ];+ if (previous && previousPhase && phase !== previousPhase)+ changes.push({ before: previous, after: current });+ if (phase === 'Proposal') {+ resolve(changes);+ return;+ }+ if (performance.now() - start > 14000) {+ reject(new Error('CRM pickup/drop did not complete'));+ return;+ }+ previous = current;+ previousPhase = phase ?? undefined;+ requestAnimationFrame(sample);+ };+ requestAnimationFrame(sample);+ }+ )+ );+ expect(handoffs).toHaveLength(2);+ for (const handoff of handoffs)+ for (let axis = 0; axis < 4; axis++)+ expect(+ Math.abs(handoff.before[axis] - handoff.after[axis])+ ).toBeLessThan(1);+ await expect(page.locator('.homepage-crm-cursor')).toHaveCSS(+ 'transition-duration',+ '0s'+ );+ await expect(+ page.locator('.homepage-crm-card-surface').first()+ ).toHaveCSS('pointer-events', 'none');+ console.log(+ `[prerender] CRM ${width}px: pickup/drop preserve bounds and animation has no hover/cursor easing`+ );+ } finally {+ await page.close();+ }+ }+}diff --git a/apps/marketing/scripts/verifyHomepage.ts b/apps/marketing/scripts/verifyHomepage.tsindex 9df0d230cd..460d23a872 100644--- a/apps/marketing/scripts/verifyHomepage.ts+++ b/apps/marketing/scripts/verifyHomepage.ts@@ -1,5 +1,6 @@import path from 'node:path';import { chromium, expect } from '@playwright/test';+import { verifyCrmMotion } from './verifyCrmMotion';import { verifyDemo } from './verifyDemo';import { verifyProductPages } from './verifyProductPages';@@ -100,6 +101,20 @@ export async function verifyHomepage(directory: string): Promise<void> {if (viewport.width < 800) {await expect(desktopDemo).toHaveCount(0);await expect(page.locator('.homepage-mobile-story')).toBeVisible();+ const featureGap = await page+ .locator('#coding-agents .homepage-feature-title')+ .evaluate((heading) => {+ const links = document.querySelector(+ '#documents .homepage-feature-more-group'+ );+ if (!links) throw new Error('Missing document feature links');+ return (+ heading.getBoundingClientRect().top -+ links.getBoundingClientRect().bottom+ );+ });+ expect(featureGap).toBeGreaterThanOrEqual(32);+ expect(featureGap).toBeLessThanOrEqual(56);} else await expect(desktopDemo).toBeVisible();await page.evaluate(async () => {await document.fonts.ready;@@ -183,6 +198,48 @@ export async function verifyHomepage(directory: string): Promise<void> {await expect(page.getByRole('textbox', { name: 'Email body', exact: true })).toBeEditable();+ if (colorScheme === 'light') {+ await page.locator('#documents').scrollIntoViewIfNeeded();+ await page.locator('#documents .mds-chip-person').first().waitFor();+ await page.locator('#coding-agents').scrollIntoViewIfNeeded();+ await page+ .locator('#coding-agents .homepage-person-mention')+ .waitFor();+ for (const selector of [+ '#email .demo-inline-mention.mention-person',+ '#documents .mds-chip-person',+ '#coding-agents .homepage-person-mention',+ ]) {+ const tint = await page+ .locator(selector)+ .first()+ .evaluate((node) => {+ const canvas = document.createElement('canvas');+ canvas.width = canvas.height = 1;+ const context = canvas.getContext('2d');+ if (!context) throw new Error('Missing color test context');+ context.fillStyle = '#fff';+ context.fillRect(0, 0, 1, 1);+ context.fillStyle = getComputedStyle(node).backgroundColor;+ context.fillRect(0, 0, 1, 1);+ const [red, , blue] = context.getImageData(0, 0, 1, 1).data;+ return blue - red;+ });+ // The old neutral accent produced grey chips in the cream palette.+ expect(+ tint,+ `${selector} needs a visible blue tint`+ ).toBeGreaterThan(10);+ }+ }+ await page.locator('#documents').scrollIntoViewIfNeeded();+ const comment = page.getByRole('img', {+ name: '1 comment on the launch date: Please check the date against Valentina’s email.',+ });+ await expect(comment).toBeVisible();+ await expect(+ page.locator('#documents .mds-line.h2 .mds-mark')+ ).toHaveCount(0);if (errors.length)throw new Error(`Homepage demo failed (${label}): ${errors.join('; ')}`@@ -195,6 +252,7 @@ export async function verifyHomepage(directory: string): Promise<void> {await page.close();}}+ await verifyCrmMotion(browser, origin);await verifyProductPages(browser, origin);} finally {await browser?.close();diff --git a/apps/marketing/src/app/components/featureGraphics/DocsMarkdownScene.test.tsx b/apps/marketing/src/app/components/featureGraphics/DocsMarkdownScene.test.tsxindex c59647d7d7..db2f2254ba 100644--- a/apps/marketing/src/app/components/featureGraphics/DocsMarkdownScene.test.tsx+++ b/apps/marketing/src/app/components/featureGraphics/DocsMarkdownScene.test.tsx@@ -11,3 +11,14 @@ it('renders a named scheduling link instead of exposing its raw URL', () => {expect(booking.getAttribute('href')).toBe(DEMO_BOOKING_URL);expect(view.queryByText(DEMO_BOOKING_URL)).toBeNull();});++it('anchors the date-check comment to the launch date and keeps the checklist heading plain', () => {+ const view = render(() => <DocsMarkdownScene t={() => REST_T} />);+ const badge = view.getByRole('img', {+ name: '1 comment on the launch date: Please check the date against Valentina’s email.',+ });+ expect(badge.parentElement?.textContent).toContain('Launch date:');+ expect(badge.parentElement?.querySelector('.mds-mark')).toBeTruthy();+ const heading = view.getByText('Launch checklist');+ expect(heading.closest('.mds-line')?.querySelector('.mds-mark')).toBeNull();+});diff --git a/apps/marketing/src/app/components/featureGraphics/DocsMarkdownScene.tsx b/apps/marketing/src/app/components/featureGraphics/DocsMarkdownScene.tsxindex f51fdfcb98..1448e1a4cc 100644--- a/apps/marketing/src/app/components/featureGraphics/DocsMarkdownScene.tsx+++ b/apps/marketing/src/app/components/featureGraphics/DocsMarkdownScene.tsx@@ -441,8 +441,8 @@ const SCRIPT: Block[] = [/** The run the comment lands on, and the comment itself. */const COMMENT_TEXT = 'Please check the date against Valentina’s email.';-/** Which block carries the highlight and the badge -- the "Agenda" heading. */-const COMMENT_BLOCK = 4;+/** Anchor the date-check comment to the launch date, not the checklist heading. */+const COMMENT_BLOCK = 3;// ---------------------------------------------------------------------------// The timeline, built rather than named@@ -620,7 +620,7 @@ const TL = {commentType: [TYPED_END + 3280, TYPED_END + 4540] as const,send: TYPED_END + 4860,composerOut: [TYPED_END + 4860, TYPED_END + 5080] as const,- /** The heading keeps the highlight and picks up its badge. */+ /** The commented text keeps its highlight and picks up its badge. */markIn: [TYPED_END + 4920, TYPED_END + 5240] as const,/** The pointer leaves the way it came. */pointerOut: [TYPED_END + 5080, TYPED_END + 5680] as const,@@ -1409,7 +1409,7 @@ export function DocsMarkdownScene(props: { t: Accessor<number> }) {.mds-line.h2 { font-size: 1.2em; font-weight: 600; }.mds-line.row { display: flex; gap: 0.6em; }.mds-line.rowmid { margin-bottom: 0.36em; }- /* The heading row carries its comment badge at the far end. */+ /* The commented row carries its badge at the far end. */.mds-h2row { align-items: center; display: flex; gap: 0.86em; justify-content: space-between; }.mds-run { position: relative; }@@ -1555,7 +1555,7 @@ export function DocsMarkdownScene(props: { t: Accessor<number> }) {run of one: select-all is a keystroke, so it does not sweep and itdoes not need character boundaries. */.mds-selall { background-color: color-mix(in srgb, var(--c1) 16%, transparent); bottom: -0.12em; left: -1px; position: absolute; right: -1px; top: -0.06em; }- .mds-mark { background-color: color-mix(in srgb, var(--a0) 24%, transparent); border-bottom: max(1.5px, 0.11em) solid var(--a0); bottom: -0.12em; left: -1px; position: absolute; right: -1px; top: -0.06em; }+ .mds-mark { background-color: oklch(from var(--color-yellow) l c h / .1); border-bottom: 2px solid oklch(from var(--color-yellow) l c h / .3); bottom: -0.12em; left: -1px; position: absolute; right: -1px; top: -0.06em; }.mds-runtext { position: relative; }.mds-bar {@@ -1624,7 +1624,7 @@ export function DocsMarkdownScene(props: { t: Accessor<number> }) {.mds-badge {align-items: center;- background-color: color-mix(in srgb, var(--a0) 20%, transparent);+ background-color: oklch(from var(--color-yellow) l c h / .1);border-radius: 0.36em;display: inline-flex;flex: none;@@ -1900,6 +1900,9 @@ export function DocsMarkdownScene(props: { t: Accessor<number> }) {<Show when={bi() === COMMENT_BLOCK && markAmt() > 0.004}><spanclass="mds-badge"+ role="img"+ aria-label={`1 comment on the launch date: ${COMMENT_TEXT}`}+ title={COMMENT_TEXT}style={{opacity: markAmt().toFixed(3),transform: `scale(${(0.86 + markAmt() * 0.14).toFixed(3)})`,diff --git a/apps/marketing/src/features/marketing/components/HomepageCrm.tsx b/apps/marketing/src/features/marketing/components/HomepageCrm.tsxindex 9c4b4eec26..08011e5c82 100644--- a/apps/marketing/src/features/marketing/components/HomepageCrm.tsx+++ b/apps/marketing/src/features/marketing/components/HomepageCrm.tsx@@ -29,6 +29,7 @@ type Company = (typeof CRM_DEMO_COMPANIES)[number];function DemoCard(props: { company: Company }) {return (<CompanyKanbanCardSurface+ class="homepage-crm-card-surface"icon={<span class="homepage-crm-company-mark">{props.company.initials}</span>}@@ -46,9 +47,7 @@ function DemoCard(props: { company: Company }) {);}-export default function HomepageCrm(- props: { playbackControls?: boolean } = {}-) {+export default function HomepageCrm() {const [time, setTime] = createSignal(0);const [paused, setPaused] = createSignal(false);const [visible, setVisible] = createSignal(false);@@ -131,7 +130,7 @@ export default function HomepageCrm(<divclass="homepage-crm-canvas"style={{- transform: `scale(${scale()}) translateX(${-camera()}px)`,+ transform: `translate3d(${-camera() * scale()}px, 0, 0) scale(${scale()})`,}}aria-hidden="true">@@ -168,10 +167,10 @@ export default function HomepageCrm(data-crm-stage={label}class="homepage-crm-card"style={{- opacity:+ visibility:frame().dragging && frame().company === company.id- ? 0.18- : 1,+ ? 'hidden'+ : 'visible',}}><DemoCard company={company} />@@ -182,52 +181,28 @@ export default function HomepageCrm()}</For></div>- <Show when={frame().dragging}>- <div- class="homepage-crm-drag"- style={{- transform: `translate(${frame().x - 90}px, ${frame().y - 28}px) rotate(-2deg) scale(1.035)`,- }}- >- <DemoCard company={moving()} />- </div>- </Show>- <DemoCursor- class="homepage-crm-cursor"+ </div>+ {/* Keep moving objects outside the panning board so each has one+ viewport-space transform rather than nested moving layers. */}+ <Show when={frame().dragging}>+ <div+ class="homepage-crm-drag"+ aria-hidden="true"style={{- transform: `translate(${frame().x}px, ${frame().y}px)`,- opacity: frame().opacity,+ transform: `translate3d(${(frame().x - 90 - camera()) * scale()}px, ${(frame().y - 28) * scale()}px, 0) scale(${scale()})`,}}- />- </div>- </div>- <Show when={!reduced() && props.playbackControls !== false}>- <div class="homepage-crm-footer">- <div class="flex gap-3 shrink-0">- <Show when={!complete()}>- <button- type="button"- onClick={() => setPaused((p) => !p)}- aria-label={- paused() ? 'Play CRM walkthrough' : 'Pause CRM walkthrough'- }- >- {paused() ? 'Play' : 'Pause'}- </button>- </Show>- <button- type="button"- onClick={() => {- setTime(0);- setPaused(false);- }}- aria-label="Replay CRM walkthrough"- >- Replay- </button>+ >+ <DemoCard company={moving()} /></div>- </div>- </Show>+ </Show>+ <DemoCursor+ class="homepage-crm-cursor"+ style={{+ transform: `translate3d(${(frame().x - camera()) * scale()}px, ${frame().y * scale()}px, 0) scale(${scale()})`,+ opacity: frame().opacity,+ }}+ />+ </div></DocsGraphicFrame></div>);diff --git a/apps/marketing/src/features/marketing/components/HomepagePlayback.test.tsx b/apps/marketing/src/features/marketing/components/HomepagePlayback.test.tsxindex 7d747d9cf2..4d50ccd17a 100644--- a/apps/marketing/src/features/marketing/components/HomepagePlayback.test.tsx+++ b/apps/marketing/src/features/marketing/components/HomepagePlayback.test.tsx@@ -72,6 +72,7 @@ it('waits for the email body to be visible and pauses again below its threshold'it('waits for the CRM scene before moving a company and pauses below its threshold', () => {const view = render(() => <HomepageCrm />);+ expect(view.queryByRole('button', { name: /CRM walkthrough/ })).toBeNull();const scene = view.getByRole('img', {name: /Claude moves Keystone Mechanical/,});@@ -81,8 +82,14 @@ it('waits for the CRM scene before moving a company and pauses below its threshovi.advanceTimersByTime(15000);expect(northwind().getAttribute('data-crm-stage')).toBe('Qualified');show(scene, 0.3);- vi.advanceTimersByTime(5200);+ vi.advanceTimersByTime(2600);+ expect(northwind().getAttribute('style')).toContain('visibility: hidden');+ const dragged = view.container.querySelector('.homepage-crm-drag')!;+ expect(dragged.parentElement?.className).toBe('homepage-crm-viewport');+ expect(dragged.getAttribute('style')).toContain('translate3d');+ vi.advanceTimersByTime(2600);expect(northwind().getAttribute('data-crm-stage')).toBe('Proposal');+ expect(northwind().getAttribute('style')).toContain('visibility: visible');show(scene, 0.05);vi.advanceTimersByTime(15000);expect(diff --git a/apps/marketing/src/features/marketing/components/SiteHeader.test.tsx b/apps/marketing/src/features/marketing/components/SiteHeader.test.tsxindex 5ade6e37b4..c8f3492ff5 100644--- a/apps/marketing/src/features/marketing/components/SiteHeader.test.tsx+++ b/apps/marketing/src/features/marketing/components/SiteHeader.test.tsx@@ -82,6 +82,8 @@ it('uses a single hamburger touch toggle and closes when leaving navigation', ()expect(toggle.querySelector('svg')).toBeNull();fireEvent.click(toggle);expect(screen.getByRole('navigation')).toBeTruthy();+ expect(toggle.querySelector('svg')).toBeTruthy();+ expect(toggle.querySelector('.site-menu-mark')).toBeNull();fireEvent.keyDown(toggle, { key: 'Escape' });expect(document.activeElement).toBe(toggle);expect(screen.queryByRole('navigation')).toBeNull();diff --git a/apps/marketing/src/features/marketing/components/SiteHeader.tsx b/apps/marketing/src/features/marketing/components/SiteHeader.tsxindex e0766b9d58..b6182686f0 100644--- a/apps/marketing/src/features/marketing/components/SiteHeader.tsx+++ b/apps/marketing/src/features/marketing/components/SiteHeader.tsx@@ -1,3 +1,4 @@+import X from '@phosphor/x.svg';import { createSignal, For, onCleanup, onMount, Show } from 'solid-js';import {DEMO_BOOKING_URL,@@ -163,11 +164,18 @@ export function SiteHeader(props: { hideOpenApp?: boolean }) {else openMenu();}}>- <span class="site-menu-mark" aria-hidden="true">- <span />- <span />- <span />- </span>+ <Show+ when={open()}+ fallback={+ <span class="site-menu-mark" aria-hidden="true">+ <span />+ <span />+ <span />+ </span>+ }+ >+ <X aria-hidden="true" />+ </Show></button><navid="site-main-navigation"diff --git a/apps/marketing/src/features/marketing/components/demo-mentions.css b/apps/marketing/src/features/marketing/components/demo-mentions.cssindex 0166ec6c75..4d9c229cc0 100644--- a/apps/marketing/src/features/marketing/components/demo-mentions.css+++ b/apps/marketing/src/features/marketing/components/demo-mentions.css@@ -69,8 +69,8 @@.workspace-demo .demo-inline-mention.mention-person {padding: 2px;border-radius: 6px;- color: var(--color-link, #59a8ed);- background: color-mix(in srgb, var(--color-link, #59a8ed) 8%, transparent);+ color: var(--marketing-mention, var(--color-link, #59a8ed));+ background: color-mix(in srgb, var(--marketing-mention, var(--color-link, #59a8ed)) 12%, transparent);white-space: nowrap;}.workspace-demo .demo-inline-mention > .demo-mention-icon { position: relative; top: .125em; width: 1em; height: 1em; margin-inline: .25em; }diff --git a/apps/marketing/src/features/marketing/components/homepage-closing-content.css b/apps/marketing/src/features/marketing/components/homepage-closing-content.cssindex 1c222aa99e..ba94f69567 100644--- a/apps/marketing/src/features/marketing/components/homepage-closing-content.css+++ b/apps/marketing/src/features/marketing/components/homepage-closing-content.css@@ -52,7 +52,6 @@.homepage-blog h2 { color: var(--color-ink); font-family: 'Roboto Slab Variable', display, serif; font-size: 28px; font-weight: calc(315 + var(--cream-slab-weight-increase, 0)); line-height: 1.25; letter-spacing: -.035em; }.homepage-blog-track { flex-direction: column; overflow: visible; scroll-snap-type: none; }.homepage-blog-track > li, .homepage-blog-track > li:first-child, .homepage-blog-track > li:last-child { padding: 0; border-left: 0; border-top: 1px solid var(--color-edge-muted); }- .homepage-blog-track > li:last-child { border-bottom: 1px solid var(--color-edge-muted); }.homepage-blog-track a { gap: 14px; min-height: 60px; padding: 14px 0; }.homepage-blog h3 { overflow: visible; white-space: normal; font-size: 16px; line-height: 1.4; }.homepage-blog-controls { display: none; }diff --git a/apps/marketing/src/features/marketing/components/homepage-crm.css b/apps/marketing/src/features/marketing/components/homepage-crm.cssindex 9cbe9615f2..734f4f3326 100644--- a/apps/marketing/src/features/marketing/components/homepage-crm.css+++ b/apps/marketing/src/features/marketing/components/homepage-crm.css@@ -7,15 +7,23 @@.homepage-crm-columns > div { flex: none; width: 272px; }.homepage-crm-card { height: 62px; flex-shrink: 0; }.homepage-crm-company-mark { display: flex; width: 16px; height: 16px; align-items: center; justify-content: center; border-radius: 4px; background: var(--color-surface-4); font-size: 10px; color: var(--color-ink-muted); }-.homepage-crm-drag { position: absolute; top: 0; left: 0; width: 256px; z-index: 2; pointer-events: none; filter: drop-shadow(0 16px 18px rgb(0 0 0 / 0.4)); }-.homepage-crm-cursor { z-index: 3; }-.homepage-crm-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--color-edge-muted); color: var(--color-ink-muted); font-size: 12px; min-height: 62px; }-.homepage-crm-footer button { transition: color 160ms; }-.homepage-crm-footer button:hover { color: var(--color-ink); }-.homepage-crm-footer button:focus-visible { outline: 1px solid var(--color-ink); outline-offset: 4px; border-radius: 2px; }+.homepage-crm-drag { position: absolute; top: 0; left: 0; width: 256px; z-index: 2; pointer-events: none; border-radius: 8px; box-shadow: 0 12px 24px rgb(0 0 0 / 0.22); transform-origin: top left; will-change: transform; }+.homepage-crm-cursor { z-index: 3; transform-origin: top left; will-change: transform; }@media (max-width: 699px) {.homepage-crm .mdf-frame { padding: 24px 12px; }.homepage-crm-header { padding: 16px 12px; }.homepage-crm-viewport { height: 280px; }- .homepage-crm-footer { padding: 12px; font-size: 11px; align-items: flex-start; }}++/* This fixed-coordinate illustration must not inherit rem-sized app geometry+ or interactive hover transitions. Mobile scales the entire artboard once. */+.homepage-crm-columns { box-sizing: border-box; pointer-events: none; }+.homepage-crm-columns > div { box-sizing: border-box; }+.homepage-crm-columns > div > div:first-child { box-sizing: border-box; height: 36px; flex: none; padding: 10px 12px; font-size: 12px; line-height: 16px; }+.homepage-crm-columns > div > div:last-child { padding: 0 8px 8px; gap: 8px; }+.homepage-crm-card-surface { box-sizing: border-box; height: 62px; padding: 10px; gap: 6px; font-size: 14px; line-height: 20px; pointer-events: none; transition: none; }+.homepage-crm-card-surface > div:first-child { height: 20px; }+.homepage-crm-card-surface > div:first-child > div:first-child { width: 16px; height: 16px; }+.homepage-crm-card-surface > div:first-child > img { width: 20px; height: 20px; }+.homepage-crm-card-surface > div:last-child { font-size: 12px; line-height: 16px; }+.homepage-crm-cursor { transition: none; }diff --git a/apps/marketing/src/features/marketing/components/site-navigation.css b/apps/marketing/src/features/marketing/components/site-navigation.cssindex b2c15e2f97..b2098c3a38 100644--- a/apps/marketing/src/features/marketing/components/site-navigation.css+++ b/apps/marketing/src/features/marketing/components/site-navigation.css@@ -4,6 +4,7 @@--nav-surface: rgb(18 18 20 / 78%);--nav-edge: rgb(255 255 255 / 13%);--nav-menu-surface: rgb(21 21 23 / 96%);+ --nav-mobile-surface: #121214;--nav-menu-shadow: 0 20px 60px #000a, inset 0 1px 0 #ffffff12;font-family: Inter, 'Inter Variable', -apple-system, BlinkMacSystemFont, sans-serif;color: var(--nav-ink);@@ -24,6 +25,7 @@.site-menu-trigger { display: grid; place-items: center; width: 68px; height: 68px; margin-inline: -10px; padding: 0; border: 0; background: transparent; color: var(--nav-ink); border-radius: 50%; transition: background-color 180ms ease; }/* One hamburger on touch/narrow screens; desktop keeps its home/hover link. */.site-menu-toggle { display: none; cursor: pointer; }+.site-menu-toggle > svg { width: 26px; height: 26px; }@media (hover: none), (max-width: 767px) {.site-menu-home { display: none; }.site-menu-toggle { display: grid; }@@ -139,24 +141,25 @@.site-menu-panel[hidden] { display: none; }-/* Match the live site's edge-to-edge mobile navigation. */+/* Solid mobile navigation with compact, comfortable two-column link groups. */@media (max-width: 767px) {body:has(.site-header[data-menu-open=true]),.onboarding-flow:has(.site-header[data-menu-open=true]) > .overflow-y-auto { overflow: hidden; }- .site-header[data-menu-open=true]::before { content: ''; position: fixed; inset: 0 0 auto; height: calc(84px + env(safe-area-inset-top, 0px)); z-index: 2; background: #000; }+ .site-header[data-menu-open=true]::before { content: ''; position: fixed; inset: 0 0 auto; height: calc(84px + env(safe-area-inset-top, 0px)); z-index: 2; background: var(--nav-mobile-surface); }.site-header[data-menu-open=true] .site-header-actions { visibility: hidden; pointer-events: none; }.site-header[data-menu-open=true] :is(.site-menu-trigger, .site-menu-toggle) { position: relative; z-index: 3; background: transparent; }.site-menu-panel {position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column;- width: 100%; height: 100dvh; max-height: none; gap: 26px;+ width: 100%; height: 100dvh; max-height: none; gap: 28px;padding: calc(84px + env(safe-area-inset-top, 0px)) 20px calc(28px + env(safe-area-inset-bottom, 0px));- border: 0; border-radius: 0; background: var(--nav-menu-surface); box-shadow: none;+ border: 0; border-radius: 0; background: var(--nav-mobile-surface); box-shadow: none;backdrop-filter: none; -webkit-backdrop-filter: none; overscroll-behavior: contain;animation: site-menu-in 240ms cubic-bezier(.16, 1, .3, 1);}- .site-menu-group h2 { padding: 0 4px; margin-bottom: 6px; font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: #737373; }- .site-menu-panel a { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--nav-edge); font-size: 19px; font-weight: 400; line-height: 26px; letter-spacing: .01em; }- .site-menu-panel a:last-child { border-bottom: 0; }+ .site-menu-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }+ .site-menu-group h2 { grid-column: 1 / -1; margin: 0 0 8px; padding: 0 10px; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--nav-muted); }+ .site-menu-panel a { display: flex; align-items: center; box-sizing: border-box; min-height: 48px; padding: 10px; border: 0; border-radius: 8px; font-size: 16px; font-weight: 400; line-height: 24px; letter-spacing: 0; }+ .site-menu-group:first-child a { font-size: 18px; }.site-menu-panel a:active { opacity: .55; }}@media (max-width: 767px) and (prefers-reduced-motion: reduce) {diff --git a/apps/marketing/src/features/marketing/components/workspace-story.css b/apps/marketing/src/features/marketing/components/workspace-story.cssindex d817c9a5c3..6594d767e7 100644--- a/apps/marketing/src/features/marketing/components/workspace-story.css+++ b/apps/marketing/src/features/marketing/components/workspace-story.css@@ -1,3 +1,4 @@+:root { --marketing-mention: oklch(.75 .12 250deg); }.homepage-sections { position: relative; overflow-x: clip; background: #000; color: var(--color-ink); font-family: 'Roboto Slab Variable', display, serif; }.homepage-sections-inner { width: min(1000px, calc(100% - 48px)); margin-inline: auto; padding-bottom: 100px; }.homepage-feature { padding: 64px 0; }@@ -67,8 +68,8 @@.homepage-app-landing { height: 200px; }@media(max-width: 699px) { .homepage-sections-inner { width: calc(100% - 36px); } .homepage-feature { padding: 40px 0; } .homepage-conversation { gap: 24px; margin-bottom: 32px; font-size: 15px; } .homepage-message { max-width: 92%; } }@media (max-width: 699px) {- #documents { padding-bottom: 0; }- #coding-agents { padding-top: 0; }+ #documents { padding-bottom: 20px; }+ #coding-agents { padding-top: 20px; }}.workspace-demo { color: var(--color-ink); font-family: var(--font-sans); }.homepage-compose-status { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; font-size: 13px; color: var(--color-ink-muted); }@@ -114,6 +115,6 @@.homepage-agent-avatar { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--color-panel); border: 1px solid var(--color-edge-muted); color: var(--color-ink); }.homepage-agent-avatar[data-agent=claude] { color: #d97757; }.homepage-agent-label { margin-left: 7px; font-size: 10px; color: var(--color-ink-placeholder); }-.homepage-person-mention { color: var(--color-link); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); text-underline-offset: 3px; }+.homepage-person-mention { padding: 1px 3px; border-radius: 4px; color: var(--marketing-mention); background: color-mix(in srgb, var(--marketing-mention) 12%, transparent); box-decoration-break: clone; -webkit-box-decoration-break: clone; }/* Keep the next transition's traveling layer behind the unification copy. */.homepage-sections { z-index: 1; }diff --git a/apps/marketing/src/features/setup/cream-preview.css b/apps/marketing/src/features/setup/cream-preview.cssindex ac180fdfb2..42def36ebe 100644--- a/apps/marketing/src/features/setup/cream-preview.css+++ b/apps/marketing/src/features/setup/cream-preview.css@@ -5,6 +5,7 @@Everything is scoped to html[data-palette=cream]; the dark site is unchanged. */html[data-palette='cream'] {+ --marketing-mention: oklch(.52 .14 250deg);/* Override every surface level: the frozen dark palette defines each one. */--color-surface-0: #f5f1e8;--color-surface-1: #faf8f3;@@ -62,6 +63,7 @@ html[data-palette='cream'] .site-header {--nav-muted: #72706c;--nav-surface: rgb(250 248 243 / 85%);--nav-menu-surface: var(--color-surface-2);+ --nav-mobile-surface: #f5f1e8;--nav-menu-shadow: 0 20px 60px #1d1c1a26, inset 0 1px 0 #ffffff80;--nav-edge: rgb(29 28 26 / 10%);}@@ -81,6 +83,9 @@ html[data-palette='cream'] .homepage-email-toolbar button.homepage-email-send:dihtml[data-palette='cream'] .homepage-email-format button { background: #1d1c1a0a; }/* ---- Collaborative document ------------------------------------------ */+/* Document object colors derive from a0. Keep them semantic even though the+ cream website uses a neutral accent for ordinary controls. */+html[data-palette='cream'] .mds { --a0: var(--marketing-mention); }html[data-palette='cream'] .homepage-collaborative-doc .mds-card { background: var(--color-surface-1); box-shadow: 0 10px 40px -12px #1d1c1a26; }html[data-palette='cream'] .homepage-collaborative-doc .mds-card::before { background: linear-gradient(135deg, #ffffff80, transparent 45%) border-box; border-color: #1d1c1a0d; }html[data-palette='cream'] .homepage-history-caption { background: #f5f1e8; }