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(website): restore the earlier hero, header and feature-page buttons (#9993)
Jacob Beckermana55284c82957
diff --git a/apps/marketing/README.md b/apps/marketing/README.mdindex e7f2783bc6..328b1d4069 100644--- a/apps/marketing/README.md+++ b/apps/marketing/README.md@@ -21,19 +21,15 @@ which builds the homepage). It stays in theaccessibility tree and page text, because that is what agents read; do not hide itwith `display: none`.-Public calls to action use the shared `site-nav-start` treatment: warm white,-soft pill corners, a fine border, and a 2px arrow shift on hover. `Book a demo` is a-soft grey secondary action; the header's `Sign Up` uses a warm-white fill with-near-black text, a fine border, and no arrow. Its fill fades with the header label during-the footer transition. As it lands in the footer, the same link reveals the-original wider white pill, glass rim, and arrow. It follows the existing scroll-animation and fits within phone widths. Its header label fades out completely-before the footer presentation fades in, so the two labels never overlap.-The homepage primary adds a subtle satin gradient and inset edge, a quieter-18px arrow, and a 1px hover lift; it remains a single link.-Feedback uses 140ms CSS transitions, respects reduced motion, and does not-track the pointer. Mobile header actions retain 44px touch targets. The homepage scroll cue is a-16px arrow inside a 44px button, inset 20px from the bottom while respecting safe areas.+Public calls to action use the shared `site-nav-start` treatment: a raised white+pill with a one-pixel glass rim and a soft highlight that follows the pointer.+`Book a demo` is the quieter cream secondary pill with the same highlight. The+homepage hero's `Get Started` and every feature page's hero `Get started` use the+same primary pill. The header's `Sign Up` is that pill with an arrow; it travels+into the closing space on the homepage. Its link keeps the header footprint while+`.site-nav-open-face` paints the pill, so the landed button can render at native+size. The homepage scroll cue reads "Explore" beside a 20px arrow, inset 48px+from the bottom while respecting safe areas.The homepage keeps the original colored constellation and grainy demo backdrop,with “with one system” in the unification heading. The original sample workspace is@@ -42,8 +38,8 @@ remain in place. Compact arrows and dots sit above the original, fuller captionsat the bottom of the frame. Slide selection is manual: arrows, dots, captionswipes, and page-level left/right keys. There is no timed cycling or oversizedside-arrow treatment. The existing scroll entrance, reduced-motion behavior,-and interaction boundary remain. The primary button keeps its larger satin-finish but has no looping glimmer. Cream typography from PR #8299 is preserved.+and interaction boundary remain. The primary button has no looping glimmer.+Cream typography from PR #8299 is preserved.The homepage feature sections retain the original centered headings, descriptions,conversations, and demos, with rules beside the descriptions. The CRM section@@ -1083,10 +1079,10 @@ footer 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 Sign Up CTA switches to native footer dimensions, text, and SVG+The travelling Sign Up CTA switches its face to native dimensions, text, and SVGsizes after its landing transition settles, removing the compositor scale toavoid Safari retaining an enlarged low-resolution text layer. Reverse scrolling-restores compact dimensions before the header reappears; keep one app link.+restores header dimensions before the header reappears; keep one app link.The landing-page CRM illustration has a transparent outer frame with nodecorative 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 cf028a78ef..6295924bae 100644--- a/apps/marketing/scripts/verifyProductPages.ts+++ b/apps/marketing/scripts/verifyProductPages.ts@@ -117,10 +117,9 @@ export async function verifyProductPages(browser: Browser, origin: string) {});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) => {+ page.locator('.site-nav-open-face').evaluate((element) => {const textSize = Number.parseFloat(getComputedStyle(element).fontSize);@@ -134,11 +133,7 @@ export async function verifyProductPages(browser: Browser, origin: string) {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(+ await expect(appLink.locator('.site-nav-open-face')).toHaveCSS('font-size','16px');diff --git a/apps/marketing/src/features/marketing/components/HomepageScrollCue.tsx b/apps/marketing/src/features/marketing/components/HomepageScrollCue.tsxindex 84c8c3f707..851b93ac49 100644--- a/apps/marketing/src/features/marketing/components/HomepageScrollCue.tsx+++ b/apps/marketing/src/features/marketing/components/HomepageScrollCue.tsx@@ -46,6 +46,7 @@ export function HomepageScrollCue() {});}}>+ <span>Explore</span><ArrowDown aria-hidden="true" /></button>);diff --git a/apps/marketing/src/features/marketing/components/SiteHeader.tsx b/apps/marketing/src/features/marketing/components/SiteHeader.tsxindex b0fc7932ef..a96baa53a2 100644--- a/apps/marketing/src/features/marketing/components/SiteHeader.tsx+++ b/apps/marketing/src/features/marketing/components/SiteHeader.tsx@@ -1,5 +1,12 @@import X from '@phosphor/x.svg';-import { createSignal, For, onCleanup, onMount, Show } from 'solid-js';+import {+ createSignal,+ For,+ type JSX,+ onCleanup,+ onMount,+ Show,+} from 'solid-js';import {DEMO_BOOKING_URL,FEATURE_PAGES,@@ -61,6 +68,47 @@ export function SiteHeader(props: { hideOpenApp?: boolean }) {setOpen(true);};onCleanup(cancelClose);+ let glowFrame = 0;+ let glowTarget: HTMLAnchorElement | undefined;+ let pointerX = 0;+ let pointerY = 0;+ const moveGlow: JSX.EventHandler<HTMLAnchorElement, PointerEvent> = (+ event+ ) => {+ if (event.pointerType === 'touch') return;+ glowTarget = event.currentTarget;+ pointerX = event.clientX;+ pointerY = event.clientY;+ if (glowFrame) return;+ glowFrame = requestAnimationFrame(() => {+ glowFrame = 0;+ if (!glowTarget) return;+ // Sign Up paints through its face, which grows as it lands in the footer.+ const bounds = (+ glowTarget.querySelector('.site-nav-open-face') ?? glowTarget+ ).getBoundingClientRect();+ glowTarget.style.setProperty(+ '--glow-x',+ `${((pointerX - bounds.left) / bounds.width) * 100}%`+ );+ glowTarget.style.setProperty(+ '--glow-y',+ `${((pointerY - bounds.top) / bounds.height) * 100}%`+ );+ });+ };+ const stopGlow = () => {+ if (glowFrame) cancelAnimationFrame(glowFrame);+ glowFrame = 0;+ glowTarget = undefined;+ };+ const centerGlow: JSX.EventHandler<HTMLAnchorElement, FocusEvent> = (+ event+ ) => {+ event.currentTarget.style.setProperty('--glow-x', '50%');+ event.currentTarget.style.setProperty('--glow-y', '50%');+ };+ onCleanup(stopGlow);const hasHoverMenu = () =>window.matchMedia('(min-width: 768px) and (hover: hover)').matches;@@ -209,6 +257,11 @@ export function SiteHeader(props: { hideOpenApp?: boolean }) {<div class="site-header-actions"><aclass="site-nav-demo"+ onPointerEnter={moveGlow}+ onPointerMove={moveGlow}+ onPointerLeave={stopGlow}+ onPointerCancel={stopGlow}+ onFocus={centerGlow}href={DEMO_BOOKING_URL}target="_blank"rel="noreferrer"@@ -217,13 +270,18 @@ export function SiteHeader(props: { hideOpenApp?: boolean }) {</a><Show when={!props.hideOpenApp}><a- class="site-nav-start site-nav-open"+ class="site-nav-open"target="_self"href="/app/signup"onClick={routePhoneToMobileSignup}+ onPointerEnter={moveGlow}+ onPointerMove={moveGlow}+ onPointerLeave={stopGlow}+ onPointerCancel={stopGlow}+ onFocus={centerGlow}><span class="site-nav-open-label">Sign Up</span>- <span class="site-nav-open-footer" aria-hidden="true">+ <span class="site-nav-open-face" aria-hidden="true"><span>Sign Up</span><svgwidth="28"diff --git a/apps/marketing/src/features/marketing/components/animateHomepageCta.ts b/apps/marketing/src/features/marketing/components/animateHomepageCta.tsindex f192262c11..32922a7183 100644--- a/apps/marketing/src/features/marketing/components/animateHomepageCta.ts+++ b/apps/marketing/src/features/marketing/components/animateHomepageCta.ts@@ -7,7 +7,7 @@ export function animateHomepageCta() {const button = root.closest('.onboarding-flow, #app-scroll-root')- ?.querySelector<HTMLAnchorElement>('.site-header .site-nav-start');+ ?.querySelector<HTMLAnchorElement>('.site-header .site-nav-open');if (!button) return () => {};let scroller = root.parentElement!;while (@@ -22,9 +22,7 @@ export function animateHomepageCta(const originalOpacity = button.style.opacity;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;let startScroll = 0;@@ -105,8 +103,6 @@ export function animateHomepageCta(// The arc descends along the right margin, then turns into the closing// space. Grow with the inward motion so the button stays small beside work.const inward = progress ** 6;- button.style.setProperty('--cta-landing', String(inward));- button.toggleAttribute('data-cta-footer', inward >= 0.98);const downward = 1 - (1 - progress) ** 3;inwardPosition = inward;downwardPosition = downward;@@ -158,11 +154,7 @@ export function animateHomepageCta();startScroll = Math.min(startScroll, maxScroll - 1);travel = Math.max(1, maxScroll - startScroll);- const landingWidth =- Number.parseFloat(- getComputedStyle(button).getPropertyValue('--cta-footer-width')- ) || start.width;- scale = Math.min(3, (viewport.width - 48) / landingWidth);+ scale = Math.min(3, (viewport.width - 48) / start.width);dx = (end.left + end.width / 2 - start.left - start.width / 2) / cssScale;dy =(end.top +@@ -198,12 +190,8 @@ export function animateHomepageCta(button.style.transform = originalTransform;button.style.transformOrigin = originalOrigin;button.style.opacity = originalOpacity;- 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/feature-page.css b/apps/marketing/src/features/marketing/components/feature-page.cssindex 3fc2d4fb62..291e349423 100644--- a/apps/marketing/src/features/marketing/components/feature-page.css+++ b/apps/marketing/src/features/marketing/components/feature-page.css@@ -12,7 +12,6 @@.feature-page-eyebrow { color: var(--color-ink-subtle); font-size: 12px; line-height: 1.6; }.feature-page-hero h1 { margin: 18px 0 24px; font: calc(315 + var(--cream-slab-weight-increase, 0)) clamp(40px, 5.4vw, 68px)/1.12 'Roboto Slab Variable', display, serif; letter-spacing: -.035em; text-wrap: balance; }.feature-page-hero > p:not(.feature-page-eyebrow) { max-width: 460px; color: var(--color-ink-muted); font-size: 16px; line-height: 1.8; text-wrap: balance; }-.feature-page .feature-page-cta { color: #1d1c1a; }.feature-page-hero > small { display: block; margin-top: 18px; color: var(--color-ink-subtle); font-size: 11px; }.feature-page-jump-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 28px 0 32px; border-block: 1px solid color-mix(in srgb, var(--color-ink) 10%, transparent); }.feature-page-jump-links a { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; color: var(--color-ink-muted); font-size: 12px; text-decoration: none; }diff --git a/apps/marketing/src/features/marketing/components/homepage-scroll-cue.css b/apps/marketing/src/features/marketing/components/homepage-scroll-cue.cssindex 7594aaf846..d60cd45f64 100644--- a/apps/marketing/src/features/marketing/components/homepage-scroll-cue.css+++ b/apps/marketing/src/features/marketing/components/homepage-scroll-cue.css@@ -1,53 +1,12 @@-.homepage-scroll-cue { position: absolute; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 12px; border: 0; border-radius: 12px; background: none; color: var(--color-ink-muted); font: inherit; font-size: 12px; line-height: 20px; }+.homepage-scroll-cue { position: absolute; bottom: max(48px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 8px; width: max-content; height: 44px; padding: 12px; border: 0; border-radius: 12px; background: none; color: var(--color-ink-muted); font: inherit; font-size: 12px; line-height: 20px; }.site-nav-start.homepage-hero-cta { font-family: 'Inter Variable', Inter, sans-serif; }-/* The hero keeps a quiet satin finish, with depth from edges rather than glow. */-.site-nav-start.homepage-primary-cta {- position: relative; isolation: isolate; overflow: hidden;- min-width: 212px; min-height: 64px; padding: 18px 32px; gap: 14px;- font-family: 'Inter Variable', Inter, sans-serif;- font-size: 17px; font-weight: 550; letter-spacing: -.015em;- color: #252624;- border-color: #ffffffc7;- background: linear-gradient(180deg, #fff 0%, #f5f5f2 48%, #e7e8e4 100%);- box-shadow: inset 0 1px 0 #fff, inset 0 -1px 1px #0000000d,- 0 0 0 1px #ffffff1c, 0 5px 12px -6px #0000005c;- transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;-}-.site-nav-start.homepage-primary-cta > span, .site-nav-start.homepage-primary-cta > svg { position: relative; z-index: 1; }-.site-nav-start.homepage-primary-cta svg { width: 18px; height: 18px; opacity: .72; }-@media (hover: hover) and (pointer: fine) {- .site-nav-start.homepage-primary-cta:hover {- transform: translateY(-1px);- box-shadow: inset 0 1px 0 #fff, inset 0 -1px 1px #00000008,- 0 0 0 1px #ffffff38, 0 7px 16px -7px #00000066;- }-}-.site-nav-start.homepage-primary-cta:active {- transform: translateY(0);- background: linear-gradient(180deg, #eceee9, #f5f5f2);- box-shadow: inset 0 1px 3px #00000017, 0 0 0 1px #ffffff14;-}-html[data-palette='cream'] .site-nav-start.homepage-primary-cta {- border-color: #ffffffd9;- box-shadow: inset 0 1px 0 #fff, inset 0 -1px 1px #0000000d,- 0 0 0 1px #25262426, 0 5px 12px -6px #25262438;-}-html[data-palette='cream'] .site-nav-start.homepage-primary-cta:active {- box-shadow: inset 0 1px 3px #00000017, 0 0 0 1px #25262426;-}-@media (prefers-reduced-motion: reduce) {- .site-nav-start.homepage-primary-cta { transition: none; }- .site-nav-start.homepage-primary-cta:hover { transform: none; }-}.homepage-hero-cta:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 4px; }-.ob-welcome:has(.homepage-primary-cta) > [data-welcome-copy] { margin-top: -12px; }.ob-welcome:has(.homepage-hero-cta) > [data-welcome-copy] > .homepage-hero-action { margin-top: 12px; padding-bottom: 8px; }-.ob-welcome:has(.homepage-primary-cta) > [data-welcome-copy] > .homepage-hero-action { margin-top: 0; padding-bottom: 0; }.homepage-scroll-cue:hover { color: var(--color-ink); }.homepage-scroll-cue:focus-visible { outline: 1px solid var(--color-ink-muted); outline-offset: 4px; }.homepage-scroll-cue { transition: opacity 240ms ease, visibility 0s 240ms; }.homepage-scroll-cue[data-dismissed=true] { opacity: 0; visibility: hidden; pointer-events: none; }-.homepage-scroll-cue svg { width: 16px; height: 16px; animation: homepage-scroll-nudge 2.4s ease-in-out infinite; }+.homepage-scroll-cue svg { width: 20px; height: 20px; animation: homepage-scroll-nudge 2.4s ease-in-out infinite; }.homepage-scroll-cue:not([data-visible=true]) svg,.homepage-scroll-cue[data-dismissed=true] svg { animation-play-state: paused; }@keyframes homepage-scroll-nudge { 0%, 25%, 100% { transform: translateY(0); } 55% { transform: translateY(5px); } 75% { transform: translateY(0); } }diff --git a/apps/marketing/src/features/marketing/components/site-navigation.css b/apps/marketing/src/features/marketing/components/site-navigation.cssindex 09e095cf4f..8e08749f81 100644--- a/apps/marketing/src/features/marketing/components/site-navigation.css+++ b/apps/marketing/src/features/marketing/components/site-navigation.css@@ -40,82 +40,53 @@.site-menu-panel a { display: block; color: var(--nav-ink); padding: 9px 10px; border-radius: 10px; font: inherit; font-size: 14px; line-height: 20px; text-decoration: none; }.site-menu-panel a:hover { background: #ffffff0a; }.site-header-actions { display: flex; align-items: center; gap: 12px; pointer-events: auto; }-/* Public actions share soft pill shapes and short, CSS-only feedback. */-.site-nav-start, .site-nav-demo {- display: inline-flex; align-items: center; justify-content: center; gap: 12px;- min-height: 52px; box-sizing: border-box; padding: 13px 20px;- border: 1px solid transparent; border-radius: 999px;- font-family: 'Inter Variable', Inter, sans-serif; font-size: 15px;- font-weight: 500; line-height: 24px; letter-spacing: -.01em;- white-space: nowrap; text-decoration: none;- transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;-}-.site-nav-start {- min-width: 160px; background: #f5f3ee; color: #1d1c1a;- border-color: #ffffffb3;- box-shadow: inset 0 1px 0 #fff, 0 1px 2px #00000014;+.site-nav-demo { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 56px; box-sizing: border-box; padding: 12px 22px; border: 0; border-radius: 999px; background: var(--nav-surface); box-shadow: inset 0 1px 0 #ffffff12, inset 0 -1px 1px #0006; color: var(--nav-muted); font: inherit; font-size: 16px; line-height: 24px; white-space: nowrap; text-decoration: none; }+.site-nav-demo::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, #ffffff59 0%, #ffffff1f 24%, #ffffff05 60%, #ffffff14 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-demo:hover { color: var(--nav-ink); }+.site-nav-start { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-width: 172px; min-height: 56px; box-sizing: border-box; padding: 12px 22px; 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; white-space: nowrap; text-decoration: none; transition: filter 180ms ease; }+/* The standard one-pixel glass rim, without an extruded base. */+.site-nav-start::after, .site-nav-open-face::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-start svg { flex-shrink: 0; width: 24px; height: 24px; }+/* The highlight is clipped to the pill and sits beneath its text and rim. */+.site-nav-start, .site-nav-demo, .site-nav-open-face { isolation: isolate; }+.site-nav-start::before, .site-nav-demo::before, .site-nav-open-face::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 220ms ease; }+.site-nav-demo::before { background: radial-gradient(ellipse 70% 150% at var(--glow-x, 50%) var(--glow-y, 50%), rgb(255 255 255 / 16%), rgb(255 255 255 / 5%) 42%, transparent 75%); }+.site-nav-start::before, .site-nav-open-face::before { background: radial-gradient(ellipse 70% 150% at var(--glow-x, 50%) var(--glow-y, 50%), rgb(185 201 222 / 30%), rgb(255 255 255 / 75%) 38%, transparent 75%); }+@media (hover: hover) and (pointer: fine) {+ .site-nav-start:hover::before, .site-nav-demo:hover::before, .site-nav-open:hover .site-nav-open-face::before { opacity: .4; }}-.site-nav-start svg { flex-shrink: 0; width: 20px; height: 20px; transition: transform 140ms ease; }-.site-nav-demo {- background: color-mix(in srgb, var(--nav-ink) 8%, transparent); color: var(--nav-ink);- border-color: var(--nav-edge); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--nav-ink) 4%, transparent);+.site-nav-start:focus-visible::before, .site-nav-demo:focus-visible::before, .site-nav-open:focus-visible .site-nav-open-face::before { opacity: .4; }+@media (prefers-reduced-motion: reduce) {+ .site-nav-start::before, .site-nav-demo::before, .site-nav-open-face::before { transition: none; }}-.site-header :is(.site-nav-start, .site-nav-demo) { min-height: 48px; padding: 11px 18px; }+.site-nav-start:active, .site-nav-open:active .site-nav-open-face { filter: brightness(.93); }+/* Sign Up scales into the closing space. Its link keeps the header footprint;+ the face paints the white pill and, once landed, renders at native size via+ --cta-rest-scale so Safari does not keep a blurry scaled text layer. */.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;-}-/* Match the primary action palette and fade with the label at the footer. */-.site-header a.site-nav-open::before {- content: ''; position: absolute; inset: -1px; z-index: -1; pointer-events: none;- border: 1px solid #1d1c1a26;- border-radius: inherit; background: #f5f3ee;- box-shadow: inset 0 1px 0 #fff, 0 1px 2px #00000014;- opacity: clamp(0, calc(1 - var(--cta-landing, 0) * 2), 1);- transition: background-color 140ms ease, border-color 140ms ease;+ --cta-min-width: 172px; --cta-height: 56px; --cta-pad-y: 12px; --cta-pad-x: 22px;+ --cta-gap: 16px; --cta-font: 16px; --cta-icon: 24px;+ position: relative; display: inline-flex; align-items: center; box-sizing: border-box;+ min-width: var(--cta-min-width); min-height: var(--cta-height);+ padding: var(--cta-pad-y) calc(var(--cta-pad-x) + var(--cta-gap) + var(--cta-icon)) var(--cta-pad-y) var(--cta-pad-x);+ border-radius: 999px; color: #000; font: inherit; font-size: var(--cta-font); font-weight: 500; line-height: 24px;+ white-space: nowrap; text-decoration: none;}-/* Fade the header label out fully before the footer presentation appears. */-.site-nav-open-label { opacity: clamp(0, calc(1 - var(--cta-landing, 0) * 2), 1); }-/* Original filled button presentation, revealed by the existing landing motion. */-.site-nav-open-footer {+.site-nav-open-label { opacity: 0; }+.site-nav-open-face {+ --face-scale: var(--cta-rest-scale, 1);position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);- 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;+ display: inline-flex; align-items: center; justify-content: center; gap: calc(var(--cta-gap) * var(--face-scale));+ min-width: calc(var(--cta-min-width) * var(--face-scale)); min-height: calc(var(--cta-height) * var(--face-scale)); box-sizing: border-box;+ padding: calc(var(--cta-pad-y) * var(--face-scale)) calc(var(--cta-pad-x) * var(--face-scale)); border-radius: 999px;color: #000; background: linear-gradient(165deg, #fff 35%, #ededee 100%);- 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: 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: 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; --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; }- .site-nav-start:hover svg { transform: translateX(2px); }- .site-nav-demo:hover { background-color: color-mix(in srgb, var(--nav-ink) 12%, transparent); border-color: color-mix(in srgb, var(--nav-ink) 25%, transparent); }- .site-header a.site-nav-open:hover { background-color: transparent; border-color: transparent; }- .site-header a.site-nav-open:hover::before { background-color: #fff; }+ box-shadow: inset 0 calc(1px * var(--face-scale)) 0 #fff, inset 0 calc(-2px * var(--face-scale)) calc(2px * var(--face-scale)) #00000018, 0 calc(1px * var(--face-scale)) 0 #ffffff26, 0 calc(10px * var(--face-scale)) calc(24px * var(--face-scale)) calc(-12px * var(--face-scale)) #0008;+ font-size: calc(var(--cta-font) * var(--face-scale)); line-height: calc(24px * var(--face-scale)); transition: filter 180ms ease;}-.site-nav-open:active .site-nav-open-footer { filter: brightness(.93); }-.site-nav-start:active { background-color: #e9e6df; box-shadow: inset 0 1px 2px #0000001a; }-.site-nav-demo:active { background-color: color-mix(in srgb, var(--nav-ink) 16%, transparent); }-.site-header a.site-nav-open:active { background-color: transparent; box-shadow: none; }-.site-header a.site-nav-open:active::before { background-color: #e9e6df; }-.site-nav-start:focus-visible, .site-nav-demo:focus-visible { outline: 2px solid var(--nav-ink, var(--color-ink)); outline-offset: 4px; }+.site-nav-open-face::after { padding: calc(1px * var(--face-scale)); }+.site-nav-open-face svg { flex-shrink: 0; width: calc(var(--cta-icon) * var(--face-scale)); height: calc(var(--cta-icon) * var(--face-scale)); }+.site-header a.site-nav-open:focus-visible { outline: none; }+.site-header a.site-nav-open:focus-visible .site-nav-open-face { outline: 2px solid var(--nav-ink); outline-offset: 3px; }@keyframes site-menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }.site-header :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }@media (min-width: 640px) { .site-header { left: 40px; } }@@ -124,16 +95,15 @@.site-menu-trigger { width: 54px; height: 54px; margin-inline: -5px; }.site-menu-mark { width: 32px; height: 32px; }.site-header-actions { gap: 8px; }- .site-header :is(.site-nav-start, .site-nav-demo) { min-height: 44px; padding: 9px 12px; font-size: 13px; }+ .site-nav-demo { min-height: 40px; padding: 8px 12px; font-size: 13px; }.site-nav-start { min-width: 144px; min-height: 48px; padding: 10px 18px; gap: 12px; font-size: 15px; }.site-nav-start svg { width: 22px; height: 22px; }- .site-header a.site-nav-open { padding-inline: 14px; gap: 8px; }- .site-header .site-nav-start svg { width: 18px; height: 18px; }+ .site-header a.site-nav-open { --cta-min-width: 0px; --cta-height: 40px; --cta-pad-y: 8px; --cta-pad-x: 14px; --cta-gap: 8px; --cta-font: 13px; --cta-icon: 18px; }.site-menu-panel { grid-template-columns: 1fr 1.2fr; width: calc(100vw - 32px); max-height: calc(100dvh - 96px); padding: 20px 14px; gap: 20px 12px; }.site-menu-group:first-child { grid-row: span 2; }}@media (prefers-reduced-motion: reduce) {- .site-menu-trigger, .site-menu-mark > span, .site-nav-start, .site-nav-demo, .site-nav-start svg, .site-header a.site-nav-open::before { transition: none; }+ .site-menu-trigger, .site-menu-mark > span, .site-nav-start, .site-nav-open-face { transition: none; }.site-menu-panel { animation: none; }}.site-menu-mark > span:nth-child(1) { clip-path: polygon(12.500% 20.833%, 50.000% 20.833%, 87.500% 20.833%, 87.500% 25.000%, 87.500% 29.167%, 50.000% 29.167%, 12.500% 29.167%, 12.500% 25.000%, 12.500% 20.833%); }diff --git a/apps/marketing/src/features/setup/Homepage.tsx b/apps/marketing/src/features/setup/Homepage.tsxindex 71cd5f858b..ce0f0c8c0e 100644--- a/apps/marketing/src/features/setup/Homepage.tsx+++ b/apps/marketing/src/features/setup/Homepage.tsx@@ -1,4 +1,3 @@-import ArrowRight from '@phosphor/arrow-right.svg';import { createSignal } from 'solid-js';import { HomepageScrollCue } from '../marketing/components/HomepageScrollCue';import { HomepageSections } from '../marketing/components/HomepageSections';@@ -37,12 +36,11 @@ export function Homepage() {action={<div class="homepage-hero-action mt-6 flex justify-center pb-5"><a- class="site-nav-start homepage-hero-cta homepage-primary-cta"+ class="site-nav-start homepage-hero-cta"href="/app/signup"onClick={routePhoneToMobileSignup}>- <span>Get started</span>- <ArrowRight aria-hidden="true" />+ Get Started</a></div>}diff --git a/apps/marketing/src/features/setup/cream-preview.css b/apps/marketing/src/features/setup/cream-preview.cssindex cf033f7a2d..44a939100c 100644--- a/apps/marketing/src/features/setup/cream-preview.css+++ b/apps/marketing/src/features/setup/cream-preview.css@@ -67,10 +67,14 @@ html[data-palette='cream'] .site-header {--nav-menu-shadow: 0 20px 60px #1d1c1a26, inset 0 1px 0 #ffffff80;--nav-edge: rgb(29 28 26 / 10%);}+html[data-palette='cream'] .site-nav-demo { color: #1d1c1a; background: linear-gradient(165deg, #f3f0e9 35%, #ebe7df 100%); }+html[data-palette='cream'] .site-nav-demo::after { background: linear-gradient(135deg, #ffffff60 0%, #ffffff1c 24%, #00000005 60%, #0000001c 100%); }html[data-palette='cream'] .site-menu-panel a:hover { background: #1d1c1a0a; }html[data-palette='cream'] .site-header :focus-visible { outline-color: #1d1c1a; }html[data-palette='cream'] .site-header[data-menu-open=true]::before { background: #f5f1e8; }-html[data-palette='cream'] .site-nav-start:not(.site-nav-open) { border-color: #1d1c1a26; }+/* The primary CTA stays raised; the secondary keeps a quieter cream finish. */+html[data-palette='cream'] :is(.site-nav-start, .site-nav-demo) { box-shadow: inset 0 1px 0 #fff, inset 0 -2px 2px #0000000f, 0 0 0 1px #1d1c1a14, 0 10px 24px -14px #1d1c1a59; }+html[data-palette='cream'] .site-nav-demo { box-shadow: inset 0 1px 0 #ffffff40, inset 0 -1px 1px #00000003, 0 0 0 1px #1d1c1a09, 0 3px 10px -6px #1d1c1a0a; }/* ---- Email composer -------------------------------------------------- */html[data-palette='cream'] .homepage-email-surface { background: var(--color-surface-1); color: #1d1c1a; box-shadow: 0 10px 40px -12px #1d1c1a26; }@@ -435,6 +439,8 @@ html[data-palette='cream'] :is(.ob-welcome-logo, .ob-orbit-tile) {/* One primary CTA finish across the public site. Legacy pages use inlineskins and important flat-button rules, so override that skin here. */html[data-palette='cream'] :is(+ .site-nav-start,+ .feature-page-cta,.home-hero-cta:not([href^='mailto:']),.base-header-pill-cta,.pricing-cta-button,@@ -462,6 +468,8 @@ html[data-palette='cream'] :is(0 0 0 1px #1d1c1a11, 0 10px 24px -14px #1d1c1a4c !important;}html[data-palette='cream'] :is(+ .site-nav-start,+ .feature-page-cta,.home-hero-cta:not([href^='mailto:']),.base-header-pill-cta,.pricing-cta-button,@@ -494,6 +502,17 @@ html[data-palette='cream'] :is(pointer-events: none;}+/* Sign Up paints the same finish through its face, scaled as it lands. */+html[data-palette='cream'] .site-nav-open-face {+ box-shadow: inset 0 calc(1px * var(--face-scale)) 0 #ffffffd9,+ inset 0 calc(-2px * var(--face-scale)) calc(2px * var(--face-scale)) #0000000d,+ 0 0 0 calc(1px * var(--face-scale)) #1d1c1a11,+ 0 calc(10px * var(--face-scale)) calc(24px * var(--face-scale)) calc(-14px * var(--face-scale)) #1d1c1a4c;+}+html[data-palette='cream'] .site-nav-open-face::after {+ background: linear-gradient(135deg, #ffffff98 0%, #ffffff2b 24%, #00000009 60%, #00000030 100%);+}+/* CRM uses the same raised panel and soft cast shadow as the composer. Theproduct page owns an outer frame, so keep its inner board transparent. */html[data-palette='cream'] :is(.homepage-sections .homepage-crm .mds-card, .crm-pipeline-frame) {