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 CTA rendering and homepage layouts (#8496)
Chaitanya Agarwal547534089220
diff --git a/apps/marketing/README.md b/apps/marketing/README.mdindex fcf2163601..2278e68f8b 100644--- a/apps/marketing/README.md+++ b/apps/marketing/README.md@@ -75,6 +75,10 @@ The homepage carousel advances only when the visitor selects a highlight.fonts, videos, styling, and other static files.- `scripts/`: public build, prerendering, SEO, and architecture checks.+Hero descriptions fill their available width up to the shared maximum rather+than shrink-wrapping their text, so Safari does not wrap a planned desktop line+before the explicit line break. Phone copy remains free to wrap.+Email is the visual reference for product pages. Tasks, Channels, Documents,Agents, Calls, and Reviews use `ProductPage` on top of `FeaturePage`: centeredSlab heroes, a 920px outer feature measure with 24px inset, left-aligned@@ -320,6 +324,9 @@ neutral website control accent. Comment anchors use the product’s yellow washand underline; the sample date-check comment anchors to the launch date, leavingthe checklist heading unmarked.+Feature demos use the shared section padding for the next heading. Avoid+extra bottom spacers on demo wrappers, including the homepage spreadsheet.+Feature chapters rely on their heading, description, and working demo. Do notreintroduce unused feature-card guides or duplicate explanatory drawers.@@ -679,9 +686,14 @@ sales reporting is checked for those CRMs and partial for Macro’s agent summarConnected collaboration tools receive partial credit alongside Macro’s native workspace.Credit Macro’s Granola connection for reading captured notes, not for nativerecording of other meeting apps or every feature of the connected product. ClickUp-stays in the migration overview. Overview links scroll to the matching product-comparison; verify both initial-load and client-side navigation hashes. Keep cells to checks, crosses, or explained partial marks and label built-in tools explicitly. Retain detailed article links when an article exists. Source URLs-are not shown in the UI. Icon-only comparison tables are not exported as prose+stays in the migration overview. The migration overview uses the same framed+`FeatureComparisons` renderer with plain, unlinked headers and row labels. Its+verified rows and source URLs live in `core/migration-comparisons.ts`; CRM+templates and Salesforce-backed Slack CRM receive explained partial marks.+The wide overview remains horizontally scrollable on all viewport sizes. Keep+cells to checks, crosses, or explained partial marks and label built-in tools+explicitly. Detailed articles remain discoverable through navigation rather than+comparison-table labels. Source URLs are not shown in the UI. Icon-only comparison tables are not exported as proseFAQ answers. Verify table columns, keyboard focus, scrolling, and existingfunctional FAQs after moving or adding a comparison.@@ -992,6 +1004,9 @@ section collapse, Threads navigation, and opening a mentioned source afterswitching channels. Message text uses the app's 15px/24px reading size; darksurface and edge tokens are frozen from `apps/web/src/index.css`.+Keep Merge/Merged and Open session actions in the shared agent chip at the same+24px height and pill radius, with touch resizing disabled for both.+Cursor replies in the Agents, Channels, and GitHub walkthroughs share`DemoAgentChip`, adapted from the current `MagicChipView` in the app. It usesthe settled 88px rounded session card, Open session action, and an output/PR@@ -1043,3 +1058,11 @@ On phones, retain the final blog-row divider and hide the adjacent closingfooter rule. The homepage document frame is 420px tall below 700px because itsversion-history band is hidden there; avoid retaining empty desktop fade spacebetween the document and its Learn more links.++The travelling Open app CTA switches to native footer dimensions, text, and SVG+sizes after its landing transition settles, removing the compositor scale to+avoid Safari retaining an enlarged low-resolution text layer. Reverse scrolling+restores compact dimensions before the header reappears; keep one app link.++The landing-page CRM illustration has a transparent outer frame with no+decorative rim in either palette. Keep the inner CRM window surface and shadow.diff --git a/apps/marketing/scripts/verifyProductPages.ts b/apps/marketing/scripts/verifyProductPages.tsindex 83e1f1ac55..451c55bc85 100644--- a/apps/marketing/scripts/verifyProductPages.ts+++ b/apps/marketing/scripts/verifyProductPages.ts@@ -66,6 +66,53 @@ export async function verifyProductPages(browser: Browser, origin: string) {false);expect(errors, `${route}: no browser errors`).toEqual([]);+ if (route === '/tasks') {+ await page.setViewportSize({ width: 1000, height: 844 });+ await page.evaluate(() => document.fonts.ready);+ const lines = await page+ .locator('.email-page-hero-description')+ .evaluate(+ (element) =>+ element.clientHeight /+ Number.parseFloat(getComputedStyle(element).lineHeight)+ );+ expect(+ lines,+ 'Tasks desktop subheading stays on its two intended lines'+ ).toBeCloseTo(2, 1);+ await page.emulateMedia({ reducedMotion: 'no-preference' });+ const scroller = page.locator('#app-scroll-root');+ await scroller.evaluate((element) => {+ element.scrollTop = element.scrollHeight;+ });+ const appLink = page.locator('.site-header a.site-nav-open');+ await expect(appLink).toHaveCount(1);+ await expect(appLink).toHaveAttribute('data-cta-footer', '');+ await expect+ .poll(() =>+ page.locator('.site-nav-open-footer').evaluate((element) => {+ const textSize = Number.parseFloat(+ getComputedStyle(element).fontSize+ );+ const matrix = new DOMMatrixReadOnly(+ getComputedStyle(element.parentElement!).transform+ );+ return textSize > 24 && matrix.a === 1;+ })+ )+ .toBe(true);+ await scroller.evaluate((element) => {+ element.scrollTop = 0;+ });+ await expect(appLink.locator('.site-nav-open-label')).toHaveCSS(+ 'opacity',+ '1'+ );+ await expect(appLink.locator('.site-nav-open-footer')).toHaveCSS(+ 'font-size',+ '16px'+ );+ }console.log(`[prerender] ${route}: ${count} mobile demos accept touch entry and return to page scrolling`);diff --git a/apps/marketing/src/app/components/sections/ComparisonTable.tsx b/apps/marketing/src/app/components/sections/ComparisonTable.tsxindex fbaf73e3d3..0417326bea 100644--- a/apps/marketing/src/app/components/sections/ComparisonTable.tsx+++ b/apps/marketing/src/app/components/sections/ComparisonTable.tsx@@ -30,6 +30,8 @@ export type ComparisonTableProps = {rows: readonly ComparisonRow[];mobileCellWidth?: number;mobileMinWidth?: number;+ /** Keep wide overview tables readable and scrollable at every viewport. */+ minWidth?: number;sortRows?: boolean;valueWrap?: 'normal' | 'nowrap';scrollLabel?: string;@@ -318,7 +320,7 @@ export function ComparisonTable(props: ComparisonTableProps) {'-webkit-overflow-scrolling': 'touch','max-width': '100%','min-width': '0',- 'overflow-x': mobile() ? 'auto' : 'visible',+ 'overflow-x': mobile() || props.minWidth ? 'auto' : 'visible',width: '100%',}}>@@ -328,9 +330,11 @@ export function ComparisonTable(props: ComparisonTableProps) {display: 'grid','font-family': "'Inter', body",'grid-template-columns': gridTemplate(),- 'min-width': mobile()- ? `${props.mobileMinWidth ?? Math.max(480, 132 + columns().length * (props.mobileCellWidth ?? 58))}px`- : 'auto',+ 'min-width': props.minWidth+ ? `${props.minWidth}px`+ : mobile()+ ? `${props.mobileMinWidth ?? Math.max(480, 132 + columns().length * (props.mobileCellWidth ?? 58))}px`+ : 'auto',overflow: props.presentation === 'framed' ? 'visible' : 'hidden',}}>diff --git a/apps/marketing/src/app/routes/RouteMigrate.tsx b/apps/marketing/src/app/routes/RouteMigrate.tsxindex 3286056cfe..ef290ee113 100644--- a/apps/marketing/src/app/routes/RouteMigrate.tsx+++ b/apps/marketing/src/app/routes/RouteMigrate.tsx@@ -4,12 +4,12 @@* guidance aligned with the authenticated app and import pipeline.*/import CaretDown from '@phosphor/caret-down.svg';-import { A } from '@solidjs/router';import { type Component, createSignal, For, type JSX, Show } from 'solid-js';import { isServer } from 'solid-js/web';import markDesyncPlaceholder from '../../assets/mark-desync-placeholder.jpg';import markAvatar from '../../assets/people/mark.jpeg';-import { MacroMarkIcon } from '../components/graphics/MacroMarkIcon';+import { FeatureComparisons } from '../../features/marketing/components/comparisons/FeatureComparisons';+import { migrationComparisons } from '../../features/marketing/core/migration-comparisons';import { ModuleGraphic } from '../components/graphics/ModuleGraphic';import { MODULE_LOGOS } from '../components/graphics/moduleLogos';import { SetupGraphic } from '../components/graphics/SetupGraphic';@@ -111,38 +111,6 @@ function BookCallButton(props: { large?: boolean; label?: string }) {);}-/** Inline link styled like the surrounding body copy. */-function InlineLink(props: {- href: string;- external?: boolean;- children: JSX.Element;-}) {- const style: JSX.CSSProperties = {- color: 'var(--a0)',- 'text-decoration': 'none',- };- return (- <Show- when={props.external}- fallback={- <A href={props.href} class="migrate-link" style={style}>- {props.children}- </A>- }- >- <a- href={props.href}- target="_blank"- rel="noreferrer"- class="migrate-link"- style={style}- >- {props.children}- </a>- </Show>- );-}-function SectionHeading(props: {eyebrow?: string;title: string;@@ -200,332 +168,6 @@ function SectionHeading(props: {);}-// ----------------------------------------------------------------------------// Comparison-table marks and cells-// -----------------------------------------------------------------------------type Cell = boolean;--function CheckMark() {- return (- <svg- width="16"- height="13"- viewBox="0 0 16 13"- aria-label="Yes"- role="img"- style={{ display: 'block' }}- >- <path- d="M1.5 6.5 L5.8 11 L14.5 1.6"- fill="none"- stroke="var(--a0)"- stroke-width="2.4"- stroke-linecap="round"- stroke-linejoin="round"- />- </svg>- );-}--function CrossMark() {- return (- <svg- width="13"- height="13"- viewBox="0 0 13 13"- aria-label="No"- role="img"- style={{ display: 'block', opacity: 0.45 }}- >- <path- d="M2 2 L11 11 M11 2 L2 11"- fill="none"- stroke="var(--c4)"- stroke-width="1.8"- stroke-linecap="round"- />- </svg>- );-}--function ComparisonCell(props: { value: Cell }) {- return (- <div- style={{- display: 'flex',- 'align-items': 'center',- 'justify-content': 'center',- 'min-height': '22px',- }}- >- <Show when={props.value} fallback={<CrossMark />}>- <CheckMark />- </Show>- </div>- );-}--function ComparisonKey() {- return (- <div class="migrate-comparison-legend">- <span>- <CheckMark /> Available- </span>- <span>- <CrossMark /> Not offered as a built-in tool- </span>- </div>- );-}--const compareHeaderStyle = (macro: boolean): JSX.CSSProperties => ({- 'align-items': 'center',- 'background-color': 'transparent',- color: macro ? 'var(--a0)' : 'var(--c2)',- display: 'flex',- 'font-family': "'Inter', body",- 'font-size': mobile() ? '9px' : '11px',- 'font-weight': '400',- 'justify-content': 'center',- 'letter-spacing': '0.04em',- 'line-height': 1.1,- padding: mobile() ? '10px 6px' : '12px 12px',- 'text-align': 'center',- 'text-transform': macro ? 'uppercase' : 'none',-});--const compareRowBg = (rowIndex: number) =>- rowIndex % 2 === 1- ? 'color-mix(in srgb, var(--c4) 4%, var(--b0))'- : 'var(--b0)';--function CompareHeaderLabel(props: {- label: string;- macro: boolean;- href?: string;-}) {- return (- <span- style={{- 'align-items': 'center',- display: 'inline-flex',- 'flex-direction': 'column',- gap: mobile() ? '5px' : '7px',- }}- >- <Show when={props.macro}>- <MacroMarkIcon- style={{- color: 'var(--a0)',- display: 'block',- fill: 'currentColor',- flex: 'none',- height: mobile() ? '13px' : '15px',- overflow: 'visible',- stroke: 'none',- }}- />- </Show>- <Show when={props.href} fallback={<span>{props.label}</span>}>- {(href) => (- <A- href={href()}- style={{- color: 'inherit',- 'text-underline-offset': '3px',- 'text-decoration': 'underline',- }}- >- {props.label}- </A>- )}- </Show>- </span>- );-}--const WORLD_DETAILS: Record<string, string> = {- 'Superhuman Mail': '/email#compare-superhuman',- Notion: '/documents#compare-notion',- Slack: '/channels#compare-slack',- Linear: '/tasks#compare-linear',- ClickUp: '/posts/clickup-alternative',-};--const WORLD_COLUMNS = [- 'Macro',- 'Superhuman Mail',- 'Notion',- 'Slack',- 'Linear',- 'ClickUp',-];--type WorldRow = {- feature: string;- href: string;- external?: boolean;- cells: [Cell, Cell, Cell, Cell, Cell, Cell];-};--const WORLD_ROWS: WorldRow[] = [- {- feature: 'Full email client',- href: '/email',- cells: [true, true, false, false, false, false],- },- {- feature: 'Team chat / channels',- href: '/channels',- cells: [true, false, false, true, false, true],- },- {- feature: 'Task management',- href: '/tasks',- cells: [true, false, true, true, true, true],- },- {- feature: 'Collaborative docs',- href: '/documents',- cells: [true, false, true, true, true, true],- },- {- feature: 'Dedicated CRM',- href: '/crm',- cells: [true, false, false, false, false, false],- },- {- feature: 'Video calls',- href: '/calls',- cells: [true, false, false, true, false, true],- },- {- feature: 'Agents',- href: '/agents',- cells: [true, true, true, true, true, true],- },- {- feature: 'Email, tasks, and chat in one inbox',- href: `${DOCS}/product/inbox`,- external: true,- cells: [true, false, false, false, false, false],- },-];--function WorldTable() {- const gridTemplate = () =>- mobile()- ? 'minmax(140px, 1.2fr) repeat(6, minmax(100px, 1fr))'- : 'minmax(0, 1.8fr) repeat(6, minmax(0, 1fr))';-- return (- <div- class="migrate-world-table-scroll"- tabIndex={0}- role="region"- aria-label="Compare all tools; scroll sideways for more"- style={{- '-webkit-overflow-scrolling': 'touch',- 'max-width': '100%',- 'min-width': '0',- 'overflow-x': 'auto',- width: '100%',- }}- >- <div- style={{- 'box-sizing': 'border-box',- display: 'grid',- 'font-family': "'Inter', body",- 'grid-template-columns': gridTemplate(),- 'min-width': mobile() ? '820px' : '760px',- overflow: 'hidden',- }}- >- {/* Empty top-left cell with the notched frame used on /email. */}- <div- style={{- 'background-color': 'transparent',- 'border-bottom': '1px solid var(--b2)',- }}- />- <For each={WORLD_COLUMNS}>- {(col, index) => (- <div- style={{- ...compareHeaderStyle(index() === 0),- 'border-top': '1px solid var(--b2)',- 'border-bottom': '1px solid var(--b2)',- 'border-left': '1px solid var(--b2)',- 'border-right':- index() === WORLD_COLUMNS.length - 1- ? '1px solid var(--b2)'- : '0',- padding: mobile() ? '10px 4px' : '12px 8px',- }}- >- <CompareHeaderLabel- label={col}- macro={index() === 0}- href={WORLD_DETAILS[col]}- />- </div>- )}- </For>-- <For each={WORLD_ROWS}>- {(row, rowIndex) => (- <>- <div- style={{- 'align-items': 'center',- 'background-color': compareRowBg(rowIndex()),- 'border-bottom': '1px solid var(--b2)',- 'border-left': '1px solid var(--b2)',- color: 'var(--c2)',- display: 'flex',- 'font-size': mobile() ? '10px' : '12px',- left: mobile() ? '0' : 'auto',- 'line-height': 1.25,- padding: mobile() ? '9px 10px' : '10px 20px',- position: mobile() ? 'sticky' : 'static',- 'z-index': mobile() ? 1 : 'auto',- }}- >- <InlineLink href={row.href} external={row.external}>- {row.feature}- </InlineLink>- </div>- <For each={row.cells}>- {(cell, cellIndex) => (- <div- style={{- 'align-items': 'center',- 'background-color': compareRowBg(rowIndex()),- 'border-bottom': '1px solid var(--b2)',- 'border-left': '1px solid var(--b2)',- 'border-right':- cellIndex() === row.cells.length - 1- ? '1px solid var(--b2)'- : '0',- display: 'flex',- 'justify-content': 'center',- padding: mobile() ? '9px 4px' : '10px 8px',- }}- >- <ComparisonCell value={cell} />- </div>- )}- </For>- </>- )}- </For>- </div>- </div>- );-}-// ---------------------------------------------------------------------------// Desync case study — wide video + Mark quote as figcaption// ---------------------------------------------------------------------------@@ -702,7 +344,7 @@ export const RouteMigrate: Component = () => {.migrate-page :focus-visible { outline: 2px solid var(--c1); outline-offset: 4px; }.migrate-full-comparison { width: 100%; max-width: 980px; min-width: 0; }.migrate-full-comparison h2 { font-family: display; font-size: clamp(28px, 4vw, 40px); font-weight: calc(315 + var(--cream-slab-weight-increase, 0)); letter-spacing: -0.015em; margin: 0 0 16px; }- .migrate-full-comparison-content { display: grid; gap: 24px; padding-top: 20px; min-width: 0; }+ .migrate-page .migrate-full-comparison .feature-comparisons { width: 100%; max-width: none; margin: 0; --comparison-header-size: 15px; --comparison-header-padding: 20px 10px; }.migrate-connected-tools { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; width: 100%; max-width: 760px; justify-items: center; }.migrate-agent-prompt { max-width: 660px; margin: 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--c4); color: var(--c2); font: 400 20px/1.55 Inter, body; text-wrap: pretty; }.migrate-practical-faq details { border-bottom: 1px solid var(--b2); padding: 20px 0; }@@ -713,12 +355,9 @@ export const RouteMigrate: Component = () => {.migrate-practical-faq p { color: var(--c4); font: 400 15px/1.75 Inter, body; margin: 16px 0 0; }.migrate-practical-faq a { color: var(--c2); text-decoration: underline; text-underline-offset: 3px; }@media (max-width: 699px) { .migrate-connected-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .migrate-agent-prompt { font-size: 17px; padding-left: 16px; } }- .migrate-comparison-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; color: var(--c4); font-family: Inter, body; font-size: 12px; }- .migrate-comparison-legend > span { display: inline-flex; align-items: center; gap: 8px; }.migrate-scroll-hint { color: var(--c4); font-family: Inter, body; font-size: 12px; margin: 12px 0 0; }@media (hover) {.migrate-cta-button:hover { transform: scale(1.02); }- .migrate-link:hover { text-decoration: underline; }}.migrate-hero-graphic, .migrate-module-graphic { display: block; height: auto; width: 100%; }.migrate-world-table-scroll,@@ -1253,14 +892,14 @@ export const RouteMigrate: Component = () => {}}><div class="migrate-full-comparison">- <h2>Compare all tools</h2>- <div class="migrate-full-comparison-content">- <WorldTable />- <ComparisonKey />- <Show when={mobile()}>- <p class="migrate-scroll-hint">Scroll sideways to compare →</p>- </Show>- </div>+ <FeatureComparisons+ title="Compare all tools"+ comparisons={migrationComparisons}+ tableMinWidth={900}+ />+ <Show when={mobile()}>+ <p class="migrate-scroll-hint">Scroll sideways to compare →</p>+ </Show></div></section>diff --git a/apps/marketing/src/features/marketing/components/HomepagePullRequest.tsx b/apps/marketing/src/features/marketing/components/HomepagePullRequest.tsxindex 2417973e23..954e84ad12 100644--- a/apps/marketing/src/features/marketing/components/HomepagePullRequest.tsx+++ b/apps/marketing/src/features/marketing/components/HomepagePullRequest.tsx@@ -76,6 +76,7 @@ export default function HomepagePullRequest() {<Buttonvariant="success"size="sm"+ noTouchResizeclass="homepage-agent-merge"aria-label={merged()@@ -85,7 +86,7 @@ export default function HomepagePullRequest() {disabled={merged()}onClick={() => setMerged(true)}>- <GitMerge class="size-3.5" />+ <GitMerge class="size-3" />{merged() ? 'Merged' : 'Merge'}</Button>}diff --git a/apps/marketing/src/features/marketing/components/HomepageSpreadsheet.tsx b/apps/marketing/src/features/marketing/components/HomepageSpreadsheet.tsxindex 99765f9f52..93ffc380dc 100644--- a/apps/marketing/src/features/marketing/components/HomepageSpreadsheet.tsx+++ b/apps/marketing/src/features/marketing/components/HomepageSpreadsheet.tsx@@ -212,7 +212,7 @@ export default function HomepageSpreadsheet() {}return (- <div class="relative pb-24">+ <div class="relative"><Show when={record()}>{(reference) => (<Suspense>@@ -227,10 +227,6 @@ export default function HomepageSpreadsheet() {)}</Show><div class="workspace-demo homepage-spreadsheet">- <div class="homepage-compose-status">- <span>{NAME}</span>- <span>Interactive demo</span>- </div><sectionclass="homepage-sheet-editor"aria-label={`${NAME} spreadsheet`}diff --git a/apps/marketing/src/features/marketing/components/animateHomepageCta.ts b/apps/marketing/src/features/marketing/components/animateHomepageCta.tsindex 57359eea19..f192262c11 100644--- a/apps/marketing/src/features/marketing/components/animateHomepageCta.ts+++ b/apps/marketing/src/features/marketing/components/animateHomepageCta.ts@@ -23,6 +23,7 @@ export function animateHomepageCta(const originalTransition = button.style.transition;const originalWillChange = button.style.willChange;const originalLanding = button.style.getPropertyValue('--cta-landing');+ const originalRestScale = button.style.getPropertyValue('--cta-rest-scale');const originalFooter = button.hasAttribute('data-cta-footer');const closing = destination.closest('footer') ?? destination;let maxScroll = 0;@@ -41,11 +42,30 @@ export function animateHomepageCta(let settling = false;let settleTimer: ReturnType<typeof setTimeout> | undefined;let brake: ReturnType<typeof attachLandingBrake> | undefined;+ let inwardPosition = 0;+ let downwardPosition = 0;+ const paintTransform = () => {+ // Rerender settled text at its actual size instead of retaining a scaled+ // compositor bitmap. Keep the same element, center, and visual bounds.+ const nativeSize = lastRaw >= 0.999 && !settling;+ button.style.setProperty(+ '--cta-rest-scale',+ nativeSize ? String(scale) : '1'+ );+ const snap = (value: number) =>+ nativeSize+ ? Math.round(value * cssScale * window.devicePixelRatio) /+ (cssScale * window.devicePixelRatio)+ : value;+ const zoom = nativeSize ? 1 : 1 + (scale - 1) * inwardPosition;+ button.style.transform = `translate(${snap(dx * inwardPosition)}px, ${snap(dy * downwardPosition)}px) scale(${zoom})`;+ };const stopSettling = () => {clearTimeout(settleTimer);settling = false;button.style.transition = originalTransition;button.style.willChange = originalWillChange;+ paintTransform();};const update = () => {@@ -88,7 +108,9 @@ export function animateHomepageCta(button.style.setProperty('--cta-landing', String(inward));button.toggleAttribute('data-cta-footer', inward >= 0.98);const downward = 1 - (1 - progress) ** 3;- button.style.transform = `translate(${dx * inward}px, ${dy * downward}px) scale(${1 + (scale - 1) * inward})`;+ inwardPosition = inward;+ downwardPosition = downward;+ paintTransform();let opacity = 1 - 0.55 * Math.sin(Math.PI * progress) ** 2;if (narrow && !reduced.matches) {// Phones have no outer margin to travel through. Fade out at the header@@ -109,6 +131,7 @@ export function animateHomepageCta(stopSettling();lastRaw = -1;button.style.transform = originalTransform;+ button.style.setProperty('--cta-rest-scale', '1');button.style.transformOrigin = 'center';const start = button.getBoundingClientRect();const end = destination.getBoundingClientRect();@@ -178,6 +201,9 @@ export function animateHomepageCta(if (originalLanding)button.style.setProperty('--cta-landing', originalLanding);else button.style.removeProperty('--cta-landing');+ if (originalRestScale)+ button.style.setProperty('--cta-rest-scale', originalRestScale);+ else button.style.removeProperty('--cta-rest-scale');button.toggleAttribute('data-cta-footer', originalFooter);};}diff --git a/apps/marketing/src/features/marketing/components/comparisons/FeatureComparisons.tsx b/apps/marketing/src/features/marketing/components/comparisons/FeatureComparisons.tsxindex 12399eeb92..340cd61347 100644--- a/apps/marketing/src/features/marketing/components/comparisons/FeatureComparisons.tsx+++ b/apps/marketing/src/features/marketing/components/comparisons/FeatureComparisons.tsx@@ -13,6 +13,7 @@ import './feature-comparisons.css';export function FeatureComparisons(props: {title: string;comparisons: readonly FeatureComparison[];+ tableMinWidth?: number;}) {let container!: HTMLDivElement;const rows = () =>@@ -77,6 +78,7 @@ export function FeatureComparisons(props: {<h2 class="feature-comparison-heading">{props.title}</h2><ComparisonTablepresentation="framed"+ minWidth={props.tableMinWidth}columns={[{ label: 'Macro', macro: true, icon: <ComparisonMacroLogo /> },...props.comparisons.map((comparison) => ({diff --git a/apps/marketing/src/features/marketing/components/comparisons/MigrationComparison.test.tsx b/apps/marketing/src/features/marketing/components/comparisons/MigrationComparison.test.tsxnew file mode 100644index 0000000000..102dc91e64--- /dev/null+++ b/apps/marketing/src/features/marketing/components/comparisons/MigrationComparison.test.tsx@@ -0,0 +1,73 @@+import { cleanup, render, within } from '@solidjs/testing-library';+import { afterEach, expect, it } from 'vitest';+import { setViewportWidth } from '../../../../app/utils/utilBreakpoint';+import { migrationComparisons } from '../../core/migration-comparisons';+import { FeatureComparisons } from './FeatureComparisons';++afterEach(cleanup);++it('uses the framed comparison with plain headers and feature labels', () => {+ setViewportWidth(1440);+ const view = render(() => (+ <FeatureComparisons+ title="Compare all tools"+ comparisons={migrationComparisons}+ tableMinWidth={900}+ />+ ));+ const table = view.getByRole('region', { name: 'Compare Macro' });+ expect(table.getAttribute('data-presentation')).toBe('framed');+ expect(table.querySelectorAll('a')).toHaveLength(0);+ for (const name of [+ 'Macro',+ 'Superhuman Mail',+ 'Notion',+ 'Slack',+ 'Linear',+ 'ClickUp',+ ])+ expect(within(table).getByText(name)).toBeTruthy();+ expect(within(table).getByText('Features')).toBeTruthy();+ expect(view.getByText('Partial')).toBeTruthy();+});++it('credits CRM templates and Salesforce-backed CRM with explained partial marks', () => {+ setViewportWidth(390);+ const view = render(() => (+ <FeatureComparisons+ title="Compare all tools"+ comparisons={migrationComparisons}+ tableMinWidth={900}+ />+ ));+ const table = view.getByRole('region', { name: 'Compare Macro' });+ let cell = within(table).getByText('Dedicated CRM').nextElementSibling;+ const cells: Element[] = [];+ for (let index = 0; index < 6; index++) {+ if (!cell) throw new Error('Missing CRM comparison cell');+ cells.push(cell);+ cell = cell.nextElementSibling;+ }+ expect(cells[0].querySelector('[aria-label="Yes"]')).toBeTruthy();+ expect(cells[1].querySelector('[aria-label="No"]')).toBeTruthy();+ expect(+ cells[2]+ .querySelector('[aria-label="Partial"]')+ ?.getAttribute('aria-description')+ ).toContain('Notion databases');+ expect(+ cells[3]+ .querySelector('[aria-label="Partial"]')+ ?.getAttribute('aria-description')+ ).toContain('Salesforce Free Edition');+ expect(cells[4].querySelector('[aria-label="No"]')).toBeTruthy();+ expect(+ cells[5]+ .querySelector('[aria-label="Partial"]')+ ?.getAttribute('aria-description')+ ).toContain('custom fields');+ expect(table.style.overflowX).toBe('auto');+ expect(table.firstElementChild?.getAttribute('style')).toContain(+ 'min-width: 900px'+ );+});diff --git a/apps/marketing/src/features/marketing/components/comparisons/feature-comparisons.css b/apps/marketing/src/features/marketing/components/comparisons/feature-comparisons.cssindex 77778958b0..bdea875b5b 100644--- a/apps/marketing/src/features/marketing/components/comparisons/feature-comparisons.css+++ b/apps/marketing/src/features/marketing/components/comparisons/feature-comparisons.css@@ -1,4 +1,5 @@-.feature-page .feature-comparisons {+.feature-page .feature-comparisons,+.migrate-full-comparison .feature-comparisons {--comparison-header-bg: color-mix(in srgb, var(--color-ink) 5%, var(--b0));--comparison-header-size: 17px;--comparison-header-padding: 24px 16px;@@ -27,7 +28,8 @@.feature-comparison-key svg { flex: none; }.feature-comparisons .comparison-table-scroll svg { filter: grayscale(1); }@media (max-width: 799px) {- .feature-page .feature-comparisons { width: calc(100% - 36px); margin-inline: auto; margin-bottom: 48px; }+ .feature-page .feature-comparisons,+ .migrate-full-comparison .feature-comparisons { width: calc(100% - 36px); margin-inline: auto; margin-bottom: 48px; }}@media (max-width: 699px) {.feature-page .product-page .feature-comparisons { width: 100%; }@@ -56,7 +58,8 @@}.comparison-inline-brand { display: inline-flex; align-items: center; gap: 9px; }@media (max-width: 699px) {- .feature-page .feature-comparisons {+ .feature-page .feature-comparisons,+ .migrate-full-comparison .feature-comparisons {--comparison-header-size: 14px;--comparison-header-padding: 20px 12px;--comparison-row-size: 13px;diff --git a/apps/marketing/src/features/marketing/components/demo-agent-chip.css b/apps/marketing/src/features/marketing/components/demo-agent-chip.cssindex 3a21e0795a..8a2987f6b5 100644--- a/apps/marketing/src/features/marketing/components/demo-agent-chip.css+++ b/apps/marketing/src/features/marketing/components/demo-agent-chip.css@@ -10,7 +10,7 @@.demo-cursor-check { display:flex; align-items:center; justify-content:center; flex:none; width:18px; height:18px; border-radius:50%; background:var(--color-success); color:var(--color-panel); }.demo-cursor-model { font-size:12px; color:var(--color-ink-muted); }.demo-cursor-status { border-radius:999px; padding:2px 8px; font-size:12px; color:var(--color-success); background:color-mix(in oklch,var(--color-success) 14%,transparent); }-.demo-cursor-open { border-radius:999px; padding:3px 8px; font-size:12px; gap:4px; }+.demo-cursor-open, .homepage-agent-merge { box-sizing:border-box; height:24px; min-height:0; border-radius:999px; padding:3px 8px; font-size:12px; line-height:16px; gap:4px; }.demo-cursor-output { display:flex; align-items:center; min-width:0; margin-top:8px; min-height:32px; border-radius:8px; background:var(--color-hover); }.demo-cursor-output > button { display:flex; align-items:center; gap:8px; width:100%; min-width:0; border:0; border-radius:8px; padding:6px 10px; margin:0; background:transparent; color:var(--color-ink-muted); text-align:left; font-size:13px; }.demo-cursor-output > button:hover { background:var(--color-active); }diff --git a/apps/marketing/src/features/marketing/components/email/email-hero.css b/apps/marketing/src/features/marketing/components/email/email-hero.cssindex 47f9396579..aaf8d373ad 100644--- a/apps/marketing/src/features/marketing/components/email/email-hero.css+++ b/apps/marketing/src/features/marketing/components/email/email-hero.css@@ -44,6 +44,7 @@}.feature-page .email-page-hero > .email-page-hero-description {+ width: 100%;max-width: 540px;color: var(--color-ink-muted);font-size: 17px;diff --git a/apps/marketing/src/features/marketing/components/homepage-agent-trace.css b/apps/marketing/src/features/marketing/components/homepage-agent-trace.cssindex b434df75f0..f8ba08aa34 100644--- a/apps/marketing/src/features/marketing/components/homepage-agent-trace.css+++ b/apps/marketing/src/features/marketing/components/homepage-agent-trace.css@@ -10,7 +10,6 @@.homepage-agent-pr-link:hover { text-decoration-color: currentColor; }.homepage-agent-pr-link:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }.homepage-agent-chip { border-radius: 14px; }-.homepage-agent-merge { height: 32px; border-radius: 8px; padding-inline: 10px; }.homepage-agent-dialog { --glass-scale: 1.5; display: flex; flex-direction: column; width: min(860px, calc(100vw - 32px)); height: min(760px, calc(100dvh - 64px)); overflow: hidden; font: 400 14px/1.6 var(--font-sans), sans-serif; color: var(--color-ink); background: var(--color-surface-2); }.homepage-agent-dialog-header { display: flex; flex-shrink: 0; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--color-edge-muted); }diff --git a/apps/marketing/src/features/marketing/components/homepage-crm.css b/apps/marketing/src/features/marketing/components/homepage-crm.cssindex 734f4f3326..54dc662980 100644--- a/apps/marketing/src/features/marketing/components/homepage-crm.css+++ b/apps/marketing/src/features/marketing/components/homepage-crm.css@@ -1,4 +1,5 @@-.homepage-crm .mdf-frame { height: auto; padding: 48px 32px; }+.homepage-crm .mdf-frame { height: auto; padding: 48px 32px; background: none; }+.homepage-crm .mdf-frame::before { display: none; }.homepage-crm .mds-card { max-width: none; height: auto; overflow: hidden; }.homepage-crm-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--color-edge-muted); font-size: 14px; }.homepage-crm-viewport { height: 330px; overflow: hidden; position: relative; }diff --git a/apps/marketing/src/features/marketing/components/site-navigation.css b/apps/marketing/src/features/marketing/components/site-navigation.cssindex b2098c3a38..09e095cf4f 100644--- a/apps/marketing/src/features/marketing/components/site-navigation.css+++ b/apps/marketing/src/features/marketing/components/site-navigation.css@@ -63,6 +63,12 @@.site-header :is(.site-nav-start, .site-nav-demo) { min-height: 48px; padding: 11px 18px; }.site-header a.site-nav-open {--cta-footer-width: 172px;+ --cta-footer-height: 56px;+ --cta-footer-pad-y: 12px;+ --cta-footer-pad-x: 22px;+ --cta-footer-gap: 16px;+ --cta-footer-font: 16px;+ --cta-footer-icon: 24px;position: relative; isolation: isolate;min-width: 0; padding-inline: 18px; gap: 8px;background: transparent; border-color: transparent; color: #1d1c1a; box-shadow: none;@@ -81,23 +87,21 @@/* Original filled button presentation, revealed by the existing landing motion. */.site-nav-open-footer {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);- display: inline-flex; align-items: center; justify-content: center; gap: 16px;- width: var(--cta-footer-width); min-height: 56px; box-sizing: border-box;- padding: 12px 22px; border: 0; border-radius: 999px;+ display: inline-flex; align-items: center; justify-content: center; gap: calc(var(--cta-footer-gap) * var(--cta-rest-scale, 1));+ width: calc(var(--cta-footer-width) * var(--cta-rest-scale, 1)); min-height: calc(var(--cta-footer-height) * var(--cta-rest-scale, 1)); box-sizing: border-box;+ padding: calc(var(--cta-footer-pad-y) * var(--cta-rest-scale, 1)) calc(var(--cta-footer-pad-x) * var(--cta-rest-scale, 1)); border: 0; border-radius: 999px;color: #000; background: linear-gradient(165deg, #fff 35%, #ededee 100%);- box-shadow: inset 0 1px 0 #fff, inset 0 -2px 2px #00000018, 0 1px 0 #ffffff26, 0 10px 24px -12px #0008;- font: inherit; font-size: 16px; font-weight: 500; line-height: 24px;+ box-shadow: inset 0 calc(1px * var(--cta-rest-scale, 1)) 0 #fff, inset 0 calc(-2px * var(--cta-rest-scale, 1)) calc(2px * var(--cta-rest-scale, 1)) #00000018, 0 calc(1px * var(--cta-rest-scale, 1)) 0 #ffffff26, 0 calc(10px * var(--cta-rest-scale, 1)) calc(24px * var(--cta-rest-scale, 1)) calc(-12px * var(--cta-rest-scale, 1)) #0008;+ font: inherit; font-size: calc(var(--cta-footer-font) * var(--cta-rest-scale, 1)); font-weight: 500; line-height: calc(24px * var(--cta-rest-scale, 1));opacity: clamp(0, calc(var(--cta-landing, 0) * 2 - 1), 1); pointer-events: none;}-.site-nav-open-footer::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, #ffffffb3 0%, #ffffff33 24%, #0000000a 60%, #00000038 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; }+.site-nav-open-footer::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: calc(1px * var(--cta-rest-scale, 1)); background: linear-gradient(135deg, #ffffffb3 0%, #ffffff33 24%, #0000000a 60%, #00000038 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; }.site-header a.site-nav-open[data-cta-footer] .site-nav-open-footer { pointer-events: auto; }.site-header a.site-nav-open[data-cta-footer]:focus-visible { outline: none; }.site-header a.site-nav-open:focus-visible .site-nav-open-footer { outline: 2px solid var(--nav-ink); outline-offset: 3px; }-.site-header a.site-nav-open .site-nav-open-footer svg { width: 24px; height: 24px; }+.site-header a.site-nav-open .site-nav-open-footer svg { width: calc(var(--cta-footer-icon) * var(--cta-rest-scale, 1)); height: calc(var(--cta-footer-icon) * var(--cta-rest-scale, 1)); }@media (max-width: 600px) {- .site-header a.site-nav-open { --cta-footer-width: 144px; }- .site-nav-open-footer { min-height: 48px; padding: 10px 18px; gap: 12px; font-size: 15px; }- .site-header a.site-nav-open .site-nav-open-footer svg { width: 22px; height: 22px; }+ .site-header a.site-nav-open { --cta-footer-width: 144px; --cta-footer-height: 48px; --cta-footer-pad-y: 10px; --cta-footer-pad-x: 18px; --cta-footer-gap: 12px; --cta-footer-font: 15px; --cta-footer-icon: 22px; }}@media (hover: hover) and (pointer: fine) {.site-nav-start:hover { background-color: #fff; border-color: #fff; }diff --git a/apps/marketing/src/features/marketing/components/workspace-story.css b/apps/marketing/src/features/marketing/components/workspace-story.cssindex 6594d767e7..40d2c74b7d 100644--- a/apps/marketing/src/features/marketing/components/workspace-story.css+++ b/apps/marketing/src/features/marketing/components/workspace-story.css@@ -58,7 +58,6 @@.homepage-feature-email .homepage-email-demo { --color-composer: var(--color-surface-0); }.homepage-feature-email .homepage-compose-loading { height: var(--homepage-email-height); min-height: var(--homepage-email-height); }.homepage-spreadsheet { display: flex; flex-direction: column; height: 460px; overflow: hidden; border: 1px solid var(--color-edge-muted); border-radius: 16px; background: var(--color-surface); }-.homepage-spreadsheet .homepage-compose-status { padding: 16px 20px 0; }.homepage-doc-history { position: relative; margin: 0; }@media (max-width: 767px) {.homepage-doc-history .homepage-doc-timeline { display: none; }diff --git a/apps/marketing/src/features/marketing/core/migration-comparisons.ts b/apps/marketing/src/features/marketing/core/migration-comparisons.tsnew file mode 100644index 0000000000..b1b70082d8--- /dev/null+++ b/apps/marketing/src/features/marketing/core/migration-comparisons.ts@@ -0,0 +1,138 @@+import type { FeatureComparison } from './feature-comparisons';++type Provider = 'superhuman' | 'notion' | 'slack' | 'linear' | 'clickup';+type Availability = boolean | 'partial';+type OverviewRow = {+ feature: string;+ cells: readonly [+ Availability,+ Availability,+ Availability,+ Availability,+ Availability,+ ];+ notes?: Partial<Record<Provider, string>>;+};++// Reviewed against the official sources below on 2026-10-21. Compare the named+// workspace, not every separate product or integration sold by its parent.+const rows: readonly OverviewRow[] = [+ {+ feature: 'Full email client',+ cells: [true, false, false, false, false],+ notes: {+ notion:+ 'Notion Mail is separate from the Notion workspace; email connectors let agents work with mail.',+ clickup:+ 'Email in ClickUp sends and receives messages inside task activity rather than providing a full mailbox.',+ linear:+ 'Linear Asks supports email intake and replies, rather than a full personal or work mailbox.',+ },+ },+ { feature: 'Team chat / channels', cells: [false, false, true, false, true] },+ { feature: 'Task management', cells: [false, true, true, true, true] },+ { feature: 'Collaborative docs', cells: [false, true, true, true, true] },+ {+ feature: 'Dedicated CRM',+ cells: [false, 'partial', 'partial', false, 'partial'],+ notes: {+ notion:+ 'Build a CRM with Notion databases and templates rather than dedicated company, contact, and pipeline tools.',+ slack:+ 'Slack CRM is available on Business+ and requires setting up a Salesforce Free Edition org.',+ clickup:+ 'Build a CRM using tasks, custom fields, relationships, and CRM templates.',+ },+ },+ { feature: 'Video calls', cells: [false, false, true, false, true] },+ { feature: 'AI agents', cells: [true, true, true, true, true] },+ {+ feature: 'Email, tasks, and chat in one inbox',+ cells: [false, false, false, false, false],+ notes: {+ notion:+ 'Notion Inbox contains workspace notifications; connected mail and Notion Mail are different interfaces.',+ clickup:+ 'ClickUp Inbox groups workspace notifications. Task emails are read in task activity rather than a full email inbox.',+ },+ },+];++const providers: readonly {+ id: Provider;+ competitor: string;+ column: 0 | 1 | 2 | 3 | 4;+ sources: readonly string[];+}[] = [+ {+ id: 'superhuman',+ competitor: 'Superhuman Mail',+ column: 0,+ sources: [+ 'https://help.superhuman.com/hc/en-us/articles/46005854346893-Email-Assistant-by-Superhuman-Mail-Gmail',+ 'https://help.superhuman.com/hc/en-us/articles/46005658551053-Auto-Reminders-Auto-Drafts',+ ],+ },+ {+ id: 'notion',+ competitor: 'Notion',+ column: 1,+ sources: [+ 'https://www.notion.com/help/notion-agent',+ 'https://www.notion.com/help/guides/simple-crm-for-strengthening-client-relationships-and-managing-work',+ 'https://www.notion.com/help/connect-mail-to-custom-agents',+ 'https://www.notion.com/help/manage-your-inbox-with-notion-agent',+ ],+ },+ {+ id: 'slack',+ competitor: 'Slack',+ column: 2,+ sources: [+ 'https://slack.com/help/articles/27452748828179-Use-lists-in-Slack',+ 'https://slack.com/help/articles/19470130744595-Discover-ways-to-use-canvases',+ 'https://slack.com/help/articles/36218786859667-Use-Agentforce-in-Slack',+ 'https://slack.com/help/articles/45816806110739-Set-up-and-manage-Slack-CRM',+ 'https://slack.com/help/articles/4402059015315-Use-huddles-in-Slack',+ ],+ },+ {+ id: 'linear',+ competitor: 'Linear',+ column: 3,+ sources: [+ 'https://linear.app/docs/documents',+ 'https://linear.app/docs/agents-in-linear',+ 'https://linear.app/docs/linear-asks-email',+ ],+ },+ {+ id: 'clickup',+ competitor: 'ClickUp',+ column: 4,+ sources: [+ 'https://help.clickup.com/hc/en-us/articles/17650012803735-Use-Custom-Fields-for-CRM',+ 'https://clickup.com/features/chat',+ 'https://clickup.com/features/docs',+ 'https://help.clickup.com/hc/en-us/articles/27613433847063-What-are-SyncUps',+ 'https://help.clickup.com/hc/en-us/articles/37045015737111-What-are-Autopilot-Agents',+ 'https://help.clickup.com/hc/en-us/sections/6131842134935-Email',+ 'https://help.clickup.com/hc/en-us/articles/15147158275735-Intro-to-Inbox-on-mobile',+ ],+ },+];++export const migrationComparisons: readonly FeatureComparison[] = providers.map(+ (provider) => ({+ id: provider.id,+ question: `How does Macro compare with ${provider.competitor}?`,+ competitor: provider.competitor,+ sources: provider.sources,+ rows: rows.map((row) => ({+ feature: row.feature,+ macro: true,+ competitor: row.cells[provider.column],+ competitorNote: row.notes?.[provider.id],+ })),+ })+);diff --git a/apps/marketing/src/features/setup/cream-preview.css b/apps/marketing/src/features/setup/cream-preview.cssindex 42def36ebe..cf033f7a2d 100644--- a/apps/marketing/src/features/setup/cream-preview.css+++ b/apps/marketing/src/features/setup/cream-preview.css@@ -143,15 +143,6 @@ html[data-palette='cream'] .dummy-route {color-scheme: light;}-/* ---- Demo backdrops ---------------------------------------------------- The frames fade from the ink color, which is near-black here; use a faint- ink wash instead. */-html[data-palette='cream'] .homepage-crm .mdf-frame {- background: linear-gradient(to bottom, #1d1c1a12 0%, #1d1c1a08 45%, #1d1c1a03 78%, transparent 100%);-}-html[data-palette='cream'] .homepage-crm .mdf-frame::before {- background: linear-gradient(to bottom, #1d1c1a14 0%, #1d1c1a0a 45%, transparent 100%);-}html[data-palette='cream'] .homepage-demo-slide-copy h2 { color: var(--color-ink); }/* ---- Chat bubbles ------------------------------------------------------