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(theme): complete cream website and onboarding (#7907)
Jacob Beckermanaeb3f5269720
diff --git a/apps/marketing/README.md b/apps/marketing/README.mdindex de6c8bc06d..f98c1f8e79 100644--- a/apps/marketing/README.md+++ b/apps/marketing/README.md@@ -5,6 +5,12 @@ It shares the repository with the authenticated application, but has its ownpackage manifest, Vite entry points, TypeScript aliases, styles, assets, and UIcomponents. Application UI changes must not alter the website.+The public site, product pages, blog, sample workspace, and signup introduction+follow the visitor's system color scheme. `?theme=cream` and `?theme=dark` pin a+palette. `features/setup/cream-preview.css` owns the light palette; the shared+router applies it across navigation, and each HTML entry applies it before+first paint. Check both palettes when changing a shared demo or surface.+## Ownership and dependency boundary- `src/features/marketing/`: homepage, feature demonstrations, navigation, anddiff --git a/apps/marketing/index.html b/apps/marketing/index.htmlindex 59a4e197dd..cfbde331f5 100644--- a/apps/marketing/index.html+++ b/apps/marketing/index.html@@ -4,6 +4,19 @@<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><meta name="theme-color" content="#000000" />+ <script>+ // First-paint palette for every public website route.+ // Mirrors src/features/setup/sitePalette.ts.+ (function () {+ var theme = new URLSearchParams(location.search).get('theme');+ var cream = theme === 'cream' || (theme !== 'dark' && matchMedia('(prefers-color-scheme: light)').matches);+ if (!cream) return;+ var root = document.documentElement;+ root.dataset.palette = 'cream';+ root.dataset.themeLight = 'true';+ document.querySelector('meta[name="theme-color"]').content = '#f5f1e8';+ })();+ </script><title>Macro — The Unified System for Work</title><!-- Default SEO tags. Tags marked data-seo are replaced per-route by theprerender step (scripts/prerender.ts) and updated at runtime bydiff --git a/apps/marketing/scripts/verifyHomepage.ts b/apps/marketing/scripts/verifyHomepage.tsindex d27d7923b4..edac6fd56f 100644--- a/apps/marketing/scripts/verifyHomepage.ts+++ b/apps/marketing/scripts/verifyHomepage.ts@@ -24,13 +24,15 @@ export async function verifyHomepage(directory: string): Promise<void> {try {browser = await chromium.launch();const origin = `http://127.0.0.1:${server.port}`;- for (const viewport of [- { width: 1440, height: 1000 },- { width: 390, height: 844 },- ]) {- const label = `${viewport.width}×${viewport.height}`;+ // Light mode renders the cream palette (src/features/setup/sitePalette.ts).+ for (const [viewport, colorScheme] of [+ [{ width: 1440, height: 1000 }, 'dark'],+ [{ width: 390, height: 844 }, 'light'],+ ] as const) {+ const label = `${viewport.width}×${viewport.height} ${colorScheme}`;const page = await browser.newPage({viewport,+ colorScheme,isMobile: viewport.width < 768,reducedMotion: 'reduce',});diff --git a/apps/marketing/src/app/components/base/BaseSection.tsx b/apps/marketing/src/app/components/base/BaseSection.tsxindex f7b8e825a4..01868b64f4 100644--- a/apps/marketing/src/app/components/base/BaseSection.tsx+++ b/apps/marketing/src/app/components/base/BaseSection.tsx@@ -43,7 +43,7 @@ export function BaseSection(props: SectionProps) {'font-size': breakpoint() ? '20px' : '30px','letter-spacing': '-0.02em','font-family': 'display',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))',margin: '0',}}>diff --git a/apps/marketing/src/app/components/featureGraphics/CallsGraphics.tsx b/apps/marketing/src/app/components/featureGraphics/CallsGraphics.tsxindex fd3d6622b0..dba008ae2f 100644--- a/apps/marketing/src/app/components/featureGraphics/CallsGraphics.tsx+++ b/apps/marketing/src/app/components/featureGraphics/CallsGraphics.tsx@@ -3032,7 +3032,7 @@ function _FaqSection(props: { area?: string }) {color: 'var(--c1)','font-family': 'display','font-size': mobile() ? '32px' : breakpoint() ? '38px' : '44px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.1,margin: 0,diff --git a/apps/marketing/src/app/components/featureGraphics/ChannelsGraphics.tsx b/apps/marketing/src/app/components/featureGraphics/ChannelsGraphics.tsxindex ec838073d5..97fae6e79d 100644--- a/apps/marketing/src/app/components/featureGraphics/ChannelsGraphics.tsx+++ b/apps/marketing/src/app/components/featureGraphics/ChannelsGraphics.tsx@@ -4824,7 +4824,7 @@ function _FaqSection(props: { area: string }) {color: 'var(--c1)','font-family': 'display','font-size': mobile() ? '32px' : breakpoint() ? '38px' : '44px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.1,margin: 0,diff --git a/apps/marketing/src/app/components/featureGraphics/CrmGraphics.tsx b/apps/marketing/src/app/components/featureGraphics/CrmGraphics.tsxindex 23038e487f..4dfb4892aa 100644--- a/apps/marketing/src/app/components/featureGraphics/CrmGraphics.tsx+++ b/apps/marketing/src/app/components/featureGraphics/CrmGraphics.tsx@@ -3925,7 +3925,7 @@ function _FaqSection() {color: 'var(--c1)','font-family': 'display','font-size': mobile() ? '32px' : breakpoint() ? '38px' : '44px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.1,margin: 0,diff --git a/apps/marketing/src/app/components/featureGraphics/DocumentsGraphics.tsx b/apps/marketing/src/app/components/featureGraphics/DocumentsGraphics.tsxindex 49bb7014c1..3915dcc0a4 100644--- a/apps/marketing/src/app/components/featureGraphics/DocumentsGraphics.tsx+++ b/apps/marketing/src/app/components/featureGraphics/DocumentsGraphics.tsx@@ -4844,7 +4844,7 @@ function _FaqSection() {style={{'font-family': 'display','font-size': mobile() ? '34px' : '42px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.018em','line-height': 1.1,margin: 0,diff --git a/apps/marketing/src/app/components/featureGraphics/EmailGraphics.tsx b/apps/marketing/src/app/components/featureGraphics/EmailGraphics.tsxindex 44b70848b8..cbb1547006 100644--- a/apps/marketing/src/app/components/featureGraphics/EmailGraphics.tsx+++ b/apps/marketing/src/app/components/featureGraphics/EmailGraphics.tsx@@ -2069,7 +2069,7 @@ function _EmailIntro() {style={{'font-family': 'display','font-size': compact() ? '28px' : 'clamp(32px, 4vw, 46px)',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.14,margin: '0',diff --git a/apps/marketing/src/app/components/featureGraphics/TasksGraphics.tsx b/apps/marketing/src/app/components/featureGraphics/TasksGraphics.tsxindex f7e4810e62..fa62ca78df 100644--- a/apps/marketing/src/app/components/featureGraphics/TasksGraphics.tsx+++ b/apps/marketing/src/app/components/featureGraphics/TasksGraphics.tsx@@ -3385,7 +3385,7 @@ function _FaqSection() {color: 'var(--c1)','font-family': 'display','font-size': mobile() ? '32px' : breakpoint() ? '38px' : '44px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.1,margin: 0,diff --git a/apps/marketing/src/app/components/sections/AiFeatureSection.tsx b/apps/marketing/src/app/components/sections/AiFeatureSection.tsxindex 4852972982..fd4ea4fa07 100644--- a/apps/marketing/src/app/components/sections/AiFeatureSection.tsx+++ b/apps/marketing/src/app/components/sections/AiFeatureSection.tsx@@ -69,7 +69,7 @@ export function AiFeatureSection(style={{'font-family': 'display','font-size': mobile() ? '32px' : '42px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.018em','line-height': 1.1,margin: '0',diff --git a/apps/marketing/src/app/components/sections/EmailFilteringSection.tsx b/apps/marketing/src/app/components/sections/EmailFilteringSection.tsxindex 30299d5e54..6289b774bb 100644--- a/apps/marketing/src/app/components/sections/EmailFilteringSection.tsx+++ b/apps/marketing/src/app/components/sections/EmailFilteringSection.tsx@@ -56,7 +56,7 @@ export function EmailFilteringSection(props: { mobile: () => boolean }) {color: 'var(--c1)','font-family': 'display','font-size': mobile() ? '26px' : '42px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.5,margin: 0,diff --git a/apps/marketing/src/app/components/sections/HomeDesktopFeatureCarousel.tsx b/apps/marketing/src/app/components/sections/HomeDesktopFeatureCarousel.tsxindex 2b5eb9b045..0a264df43f 100644--- a/apps/marketing/src/app/components/sections/HomeDesktopFeatureCarousel.tsx+++ b/apps/marketing/src/app/components/sections/HomeDesktopFeatureCarousel.tsx@@ -511,7 +511,7 @@ export function HomeDesktopFeatureCarousel() {color: 'var(--c1)','font-family': 'display','font-size': '34px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.2,margin: '0',diff --git a/apps/marketing/src/app/components/sections/HomeMobileFeatureCarousel.tsx b/apps/marketing/src/app/components/sections/HomeMobileFeatureCarousel.tsxindex b3e0678bb6..b60abf5fcd 100644--- a/apps/marketing/src/app/components/sections/HomeMobileFeatureCarousel.tsx+++ b/apps/marketing/src/app/components/sections/HomeMobileFeatureCarousel.tsx@@ -543,7 +543,7 @@ export function HomeMobileFeatureCarousel() {color: 'var(--c1)','font-family': 'display','font-size': 'clamp(23px, 6.2vw, 28px)',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.08,margin: '0',diff --git a/apps/marketing/src/app/components/sections/LoopsFeatureSection.tsx b/apps/marketing/src/app/components/sections/LoopsFeatureSection.tsxindex b502e167c5..9dfb448ab3 100644--- a/apps/marketing/src/app/components/sections/LoopsFeatureSection.tsx+++ b/apps/marketing/src/app/components/sections/LoopsFeatureSection.tsx@@ -226,7 +226,7 @@ export function LoopsFeatureSection(props: {style={{color: 'var(--c0)','font-family': 'display',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.018em','line-height': 1.1,margin: '0',@@ -298,7 +298,8 @@ export function LoopsFeatureSection(props: {color: 'var(--c0)','font-family': 'display','font-size': splitHeadlineSize,- 'font-weight': '315',+ 'font-weight':+ 'calc(315 + var(--cream-slab-weight-increase, 0))','grid-column': '1','grid-row': '1','letter-spacing': '-0.018em',@@ -360,7 +361,8 @@ export function LoopsFeatureSection(props: {color: 'var(--c0)','font-family': 'display','font-size': '37.38px',- 'font-weight': '315',+ 'font-weight':+ 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.006em','line-height': 1.25,margin: '0',diff --git a/apps/marketing/src/app/components/sections/MigrationPathSelector.tsx b/apps/marketing/src/app/components/sections/MigrationPathSelector.tsxindex 9924610153..a03ca87415 100644--- a/apps/marketing/src/app/components/sections/MigrationPathSelector.tsx+++ b/apps/marketing/src/app/components/sections/MigrationPathSelector.tsx@@ -279,7 +279,7 @@ export function MigrationPathSelector(props: {style={{'font-family': 'display','font-size': mobile() ? '28px' : '36px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.1,}}diff --git a/apps/marketing/src/app/components/sections/MigrationPaths.tsx b/apps/marketing/src/app/components/sections/MigrationPaths.tsxindex 328d3ad321..047a35ecb6 100644--- a/apps/marketing/src/app/components/sections/MigrationPaths.tsx+++ b/apps/marketing/src/app/components/sections/MigrationPaths.tsx@@ -234,7 +234,7 @@ export function MigrationPaths(props: { helpHref: string }) {.migration-row-icon { display: inline-flex; flex: none; color: var(--c4); padding-top: 2px; }.migration-row-icon > svg { width: 19px; height: 19px; }.migration-path-section { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 28px; border-top: 1px solid color-mix(in srgb, var(--c4) 14%, transparent); padding-top: 24px; }- .migration-path h3 { color: var(--c1); font-family: display; font-size: 32px; font-weight: 315; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 20px; }+ .migration-path h3 { color: var(--c1); font-family: display; font-size: 32px; font-weight: calc(315 + var(--cream-slab-weight-increase, 0)); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 20px; }.migration-path p { color: var(--c4); font-size: 15px; line-height: 1.7; margin: 0; text-wrap: pretty; }.migration-path-instructions { display: grid; gap: 24px; margin-top: 32px; }.migration-path h4 { display: flex; gap: 12px; align-items: flex-start; color: var(--c1); font-size: 16px; font-weight: 600; line-height: 1.5; margin: 0 0 8px; }diff --git a/apps/marketing/src/app/components/sections/SectionBento.tsx b/apps/marketing/src/app/components/sections/SectionBento.tsxindex 083097857a..dc25f1efa5 100644--- a/apps/marketing/src/app/components/sections/SectionBento.tsx+++ b/apps/marketing/src/app/components/sections/SectionBento.tsx@@ -98,7 +98,7 @@ function BentoItem(props: {<h3style={{'font-family': 'display',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','font-size': isCompact()? '17px': breakpoint()@@ -196,7 +196,7 @@ export function SectionBento() {style={{'font-family': 'display','font-size': breakpoint() ? '38px' : '40px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.024em',margin: '0',color: 'var(--c2)',diff --git a/apps/marketing/src/app/components/sections/SectionCta.tsx b/apps/marketing/src/app/components/sections/SectionCta.tsxindex 30c3fb32bb..dc3e8ab5c7 100644--- a/apps/marketing/src/app/components/sections/SectionCta.tsx+++ b/apps/marketing/src/app/components/sections/SectionCta.tsx@@ -19,7 +19,7 @@ export function SectionCta() {'max-width': '730px','line-height': 1.25,'font-family': 'display',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))',}}>Designed by engineers obsessed with performance for the kind of peoplediff --git a/apps/marketing/src/app/components/sections/SectionDesyncCaseStudy.tsx b/apps/marketing/src/app/components/sections/SectionDesyncCaseStudy.tsxindex 100482ffde..22de0ac168 100644--- a/apps/marketing/src/app/components/sections/SectionDesyncCaseStudy.tsx+++ b/apps/marketing/src/app/components/sections/SectionDesyncCaseStudy.tsx@@ -69,7 +69,7 @@ export function SectionDesyncCaseStudy() {color: 'var(--c1)','font-family': 'display','font-size': compact() ? '28px' : '34px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.01em','line-height': 1.14,margin: '0',diff --git a/apps/marketing/src/app/components/sections/SectionEngineers.tsx b/apps/marketing/src/app/components/sections/SectionEngineers.tsxindex f3f7741174..09552be417 100644--- a/apps/marketing/src/app/components/sections/SectionEngineers.tsx+++ b/apps/marketing/src/app/components/sections/SectionEngineers.tsx@@ -5,7 +5,7 @@ export function SectionEngineers() {'font-size': '24px','line-height': 1.25,'font-family': 'display',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))',}}>Designed by engineers obsessed with performance{' '}diff --git a/apps/marketing/src/app/components/sections/SectionExtensibility.tsx b/apps/marketing/src/app/components/sections/SectionExtensibility.tsxindex 6aae66e662..e140449d13 100644--- a/apps/marketing/src/app/components/sections/SectionExtensibility.tsx+++ b/apps/marketing/src/app/components/sections/SectionExtensibility.tsx@@ -46,7 +46,7 @@ export function SectionExtensibility() {style={{'font-family': 'display','font-size': breakpoint() ? '24px' : '32px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.02em','line-height': breakpoint() ? '28px' : '36px',}}@@ -94,7 +94,8 @@ export function SectionExtensibility() {color: 'var(--a0)','font-family': 'display','font-size': '18px',- 'font-weight': '315',+ 'font-weight':+ 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.01em',}}>diff --git a/apps/marketing/src/app/components/sections/SectionFeatureGrid.tsx b/apps/marketing/src/app/components/sections/SectionFeatureGrid.tsxindex a33e4ba606..c9da436bb6 100644--- a/apps/marketing/src/app/components/sections/SectionFeatureGrid.tsx+++ b/apps/marketing/src/app/components/sections/SectionFeatureGrid.tsx@@ -610,7 +610,7 @@ function TeamMemberCard(props: { member: { name: string; tags: string[] } }) {'font-family': 'display','font-size':viewportWidth() < 700 ? '30px' : breakpoint() ? '34px' : '30px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.02em','line-height': 1.05,margin: '0',@@ -699,7 +699,7 @@ function ComparisonCard(props: {style={{'font-family': 'display','font-size': viewportWidth() < 700 ? '19px' : '18px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','line-height': 1.12,margin: '0',}}@@ -811,7 +811,7 @@ function FinalBentoCta() {: compact()? '47px': '51px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.08,margin: 0,@@ -1227,7 +1227,7 @@ export function OpenSourceBento() {color: 'var(--c1)','font-family': 'display','font-size': mobile() ? '32px' : '38px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.12,margin: 0,@@ -1581,7 +1581,7 @@ export function SectionFeatureGrid(color: 'var(--c1)','font-family': 'display','font-size': mobile() ? '34px' : '44px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.2,margin: 0,@@ -1928,7 +1928,8 @@ export function SectionFeatureGrid(style={{'font-family': 'display','font-size': mobile() ? '55px' : breakpoint() ? '57px' : '53px',- 'font-weight': '315',+ 'font-weight':+ 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.08,margin: '0',@@ -2315,7 +2316,8 @@ export function SectionFeatureGrid(: stacked()? '28px': '51px',- 'font-weight': '315',+ 'font-weight':+ 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing':narrowDesktop() || stacked() ? 'normal' : '-0.015em','line-height': narrowDesktop() || stacked() ? 1.12 : 1.08,@@ -2377,7 +2379,8 @@ export function SectionFeatureGrid(display: 'grid','font-family': 'display','font-size': mobile() ? '22px' : '24px',- 'font-weight': '315',+ 'font-weight':+ 'calc(315 + var(--cream-slab-weight-increase, 0))','grid-template-columns': 'auto minmax(0, 1fr)',gap: '14px','line-height': 1.12,diff --git a/apps/marketing/src/app/components/sections/SectionFeatureLite.tsx b/apps/marketing/src/app/components/sections/SectionFeatureLite.tsxindex a46906d713..99fa9f7e2b 100644--- a/apps/marketing/src/app/components/sections/SectionFeatureLite.tsx+++ b/apps/marketing/src/app/components/sections/SectionFeatureLite.tsx@@ -675,7 +675,8 @@ export function SectionFeatureLite(props: {'font-size': mobile()? 'clamp(38px, 11vw, 52px)': 'clamp(44px, 6vw, 60px)',- 'font-weight': '315',+ 'font-weight':+ 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': 'normal','line-height': '1.08',margin: mobile() ? '16px 0 0' : '18px 0 0',diff --git a/apps/marketing/src/app/components/sections/SectionFinalCta.tsx b/apps/marketing/src/app/components/sections/SectionFinalCta.tsxindex 25fe49ea0e..a4eb49e419 100644--- a/apps/marketing/src/app/components/sections/SectionFinalCta.tsx+++ b/apps/marketing/src/app/components/sections/SectionFinalCta.tsx@@ -89,7 +89,7 @@ export function SectionFinalCta(props: SectionFinalCtaProps) {color: 'var(--c0)',display: 'grid','font-family': 'display',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.15,margin: '0',diff --git a/apps/marketing/src/app/components/sections/SectionHero.tsx b/apps/marketing/src/app/components/sections/SectionHero.tsxindex 0d54a2641a..b941482c20 100644--- a/apps/marketing/src/app/components/sections/SectionHero.tsx+++ b/apps/marketing/src/app/components/sections/SectionHero.tsx@@ -45,7 +45,7 @@ export function SectionHero() {'line-height': 1.1,'font-size': isCompact() ? '31px' : breakpoint() ? '40px' : '52px','font-family': 'display',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))',}}>The new office suite.diff --git a/apps/marketing/src/app/components/sections/SectionHomeBlog.tsx b/apps/marketing/src/app/components/sections/SectionHomeBlog.tsxindex f8fd28174f..434283d095 100644--- a/apps/marketing/src/app/components/sections/SectionHomeBlog.tsx+++ b/apps/marketing/src/app/components/sections/SectionHomeBlog.tsx@@ -335,7 +335,7 @@ export function SectionHomeBlog() {class="home-blog-title"style={{'font-family': 'display',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.1,'text-wrap': 'balance',diff --git a/apps/marketing/src/app/components/sections/SectionHomeSocialProof.tsx b/apps/marketing/src/app/components/sections/SectionHomeSocialProof.tsxindex 4e54331289..d9947b6e3a 100644--- a/apps/marketing/src/app/components/sections/SectionHomeSocialProof.tsx+++ b/apps/marketing/src/app/components/sections/SectionHomeSocialProof.tsx@@ -127,7 +127,8 @@ export function SectionHomeSocialProof() {color: 'color-mix(in srgb, var(--c3) 62%, transparent)','font-family': 'display','font-size': mobile() ? '18px' : '21px',- 'font-weight': '315',+ 'font-weight':+ 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.01em','line-height': 1,'white-space': 'nowrap',diff --git a/apps/marketing/src/app/components/sections/SectionPlan.tsx b/apps/marketing/src/app/components/sections/SectionPlan.tsxindex 4c14fe2927..86f31d1201 100644--- a/apps/marketing/src/app/components/sections/SectionPlan.tsx+++ b/apps/marketing/src/app/components/sections/SectionPlan.tsx@@ -37,7 +37,7 @@ export function SectionPlan() {style={{'font-family': 'display','font-size': breakpoint() ? '24px' : '32px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.02em','line-height': breakpoint() ? '28px' : '36px',}}@@ -91,7 +91,8 @@ export function SectionPlan() {color: 'var(--a0)','font-family': 'display','font-size': '14px',- 'font-weight': '315',+ 'font-weight':+ 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '0.04em',}}>@@ -101,7 +102,8 @@ export function SectionPlan() {style={{'font-family': 'display','font-size': breakpoint() ? '20px' : '24px',- 'font-weight': '315',+ 'font-weight':+ 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.02em','line-height': breakpoint() ? '24px' : '28px','max-width': '240px',diff --git a/apps/marketing/src/app/components/sections/SectionProblem.tsx b/apps/marketing/src/app/components/sections/SectionProblem.tsxindex ee973ada44..12631c6ab0 100644--- a/apps/marketing/src/app/components/sections/SectionProblem.tsx+++ b/apps/marketing/src/app/components/sections/SectionProblem.tsx@@ -28,7 +28,7 @@ export function SectionProblem() {style={{'font-family': 'display','font-size': breakpoint() ? '24px' : '32px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.02em','line-height': breakpoint() ? '28px' : '36px',}}diff --git a/apps/marketing/src/app/components/sections/TasksAutopilot.tsx b/apps/marketing/src/app/components/sections/TasksAutopilot.tsxindex 924769a4cb..284150fb96 100644--- a/apps/marketing/src/app/components/sections/TasksAutopilot.tsx+++ b/apps/marketing/src/app/components/sections/TasksAutopilot.tsx@@ -83,7 +83,7 @@ const Caption = (p: { team: Team }) => (// column is the largest that still fits it on one line. Capped at the// 19px it used to be fixed at, floored so it never gets silly; on a'font-size': '21px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.01em','line-height': 1.2,margin: 0,diff --git a/apps/marketing/src/app/components/sections/TasksLifecycle.tsx b/apps/marketing/src/app/components/sections/TasksLifecycle.tsxindex 66cae14f98..5f98fa0fc0 100644--- a/apps/marketing/src/app/components/sections/TasksLifecycle.tsx+++ b/apps/marketing/src/app/components/sections/TasksLifecycle.tsx@@ -626,7 +626,8 @@ export function TasksLifecycle(props: {color: active() === i() ? 'var(--c1)' : 'var(--c2)','font-family': 'display','font-size': '18px',- 'font-weight': '315',+ 'font-weight':+ 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.01em','line-height': 1.15,transition: 'color 160ms ease',diff --git a/apps/marketing/src/app/main/App.tsx b/apps/marketing/src/app/main/App.tsxindex 4824c17379..86a8306f59 100644--- a/apps/marketing/src/app/main/App.tsx+++ b/apps/marketing/src/app/main/App.tsx@@ -10,6 +10,14 @@ import {Show,Suspense,} from 'solid-js';+import { isServer } from 'solid-js/web';+import {+ applyPalette,+ onPaletteChange,+ preferredPalette,+} from '../../features/setup/sitePalette';+import '../../styles/dark-theme.css';+import '../../features/setup/cream-preview.css';import { DemoMentionMenu } from '../../features/marketing/components/DemoMentionMenu';import { PageVignette } from '../../features/marketing/components/PageVignette';import {@@ -164,6 +172,11 @@ macbook of protonsconst RootLayout: ParentComponent = (props) => {const location = useLocation();+ createEffect(() => {+ void location.search;+ if (!isServer) applyPalette(preferredPalette());+ });+ onMount(() => onCleanup(onPaletteChange(applyPalette)));let scrollRef!: HTMLDivElement;const [headerCtaActive, setHeaderCtaActive] = createSignal(false);diff --git a/apps/marketing/src/app/main/index.css b/apps/marketing/src/app/main/index.cssindex b629d3920c..3e22aab70c 100644--- a/apps/marketing/src/app/main/index.css+++ b/apps/marketing/src/app/main/index.css@@ -425,7 +425,7 @@ button:is(color: var(--c1);font-family: 'display';font-size: clamp(40px, 5vw, 56px);- font-weight: 315;+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));letter-spacing: -0.035em;line-height: 1.02;margin: 0;@@ -594,7 +594,7 @@ button:is(color: var(--c0);font-family: 'display';font-size: 52px;- font-weight: 315;+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));letter-spacing: -0.035em;line-height: 1;}@@ -730,7 +730,7 @@ button:is(color: var(--c1);font-family: 'display';font-size: clamp(34px, 4vw, 46px);- font-weight: 315;+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));letter-spacing: -0.035em;line-height: 1.06;margin: 0;@@ -814,7 +814,7 @@ button:is(color: var(--a0);font-family: 'display';font-size: 34px;- font-weight: 315;+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));line-height: 1;margin: 0;}@@ -831,7 +831,7 @@ button:is(color: var(--c0);font-family: 'display';font-size: clamp(52px, 6vw, 66px);- font-weight: 315;+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));letter-spacing: -0.045em;line-height: 1;}@@ -1107,7 +1107,7 @@ button:is(color: var(--c1);font-family: 'display';font-size: 44px;- font-weight: 315;+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));letter-spacing: -0.015em;line-height: 1.2;margin: 0;@@ -1198,7 +1198,7 @@ button:is(color: var(--c1);font-family: 'display';font-size: 44px;- font-weight: 315;+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));letter-spacing: -0.015em;line-height: 1.2;margin: 0;@@ -1398,7 +1398,7 @@ button:is(color: var(--c0);font-family: 'display';font-size: 44px;- font-weight: 315;+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));letter-spacing: -0.015em;line-height: 1.2;}@@ -1530,7 +1530,7 @@ button:is(display: grid;font-family: 'display';font-size: 18px;- font-weight: 315;+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));gap: 24px;grid-template-columns: minmax(0, 1fr) auto;line-height: 1.12;@@ -1733,7 +1733,7 @@ button:is(color: var(--c1);font-family: 'display';font-size: clamp(39px, 5vw, 51px);- font-weight: 315;+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));letter-spacing: -0.015em;line-height: 1.08;margin: 0;diff --git a/apps/marketing/src/app/routes/RouteAgents.css b/apps/marketing/src/app/routes/RouteAgents.cssindex 4db255d238..97deb44189 100644--- a/apps/marketing/src/app/routes/RouteAgents.css+++ b/apps/marketing/src/app/routes/RouteAgents.css@@ -9,7 +9,7 @@.agents-page *, .agents-page *::before, .agents-page *::after { box-sizing: border-box; }.agents-wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 14px; }.agents-page h1, .agents-page h2, .agents-page h3, .agents-page p, .agents-page figure { margin: 0; }-.agents-page h1, .agents-page h2 { font-family: 'display'; font-weight: 315; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }+.agents-page h1, .agents-page h2 { font-family: 'display'; font-weight: calc(315 + var(--cream-slab-weight-increase, 0)); letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }.agents-page h1 { font-size: clamp(48px, 4.6vw, 60px); }.agents-page h1 em { font-weight: inherit; }.agents-page h2 { font-size: clamp(36px, 3.8vw, 46px); }diff --git a/apps/marketing/src/app/routes/RouteAgents.tsx b/apps/marketing/src/app/routes/RouteAgents.tsxindex 8a6b037d81..8cdb8324de 100644--- a/apps/marketing/src/app/routes/RouteAgents.tsx+++ b/apps/marketing/src/app/routes/RouteAgents.tsx@@ -1513,7 +1513,7 @@ function ComparisonSection() {color: 'var(--c1)','font-family': 'display','font-size': mobile() ? '32px' : '44px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.1,margin: 0,@@ -1692,7 +1692,7 @@ function AgentsFinalCta() {style={{'font-family': 'display','font-size': mobile() ? '38px' : '48px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.08,margin: '0',@@ -1791,7 +1791,8 @@ export const RouteAgents: Component = () => {style={{'font-family': 'display','font-size': mobile() ? 'clamp(44px, 12vw, 60px)' : '52.36px',- 'font-weight': '315',+ 'font-weight':+ 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.012em','line-height': 1.12,margin: '0',diff --git a/apps/marketing/src/app/routes/RouteCalls.tsx b/apps/marketing/src/app/routes/RouteCalls.tsxindex 89cba10b64..d1d1b26256 100644--- a/apps/marketing/src/app/routes/RouteCalls.tsx+++ b/apps/marketing/src/app/routes/RouteCalls.tsx@@ -666,7 +666,7 @@ function ComparisonSection() {color: 'var(--c1)','font-family': 'display','font-size': mobile() ? '32px' : '44px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.1,margin: 0,@@ -845,7 +845,7 @@ function CallsFinalCta() {style={{'font-family': 'display','font-size': mobile() ? '38px' : '48px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.08,margin: '0',@@ -945,7 +945,8 @@ export const RouteCalls: Component = () => {style={{'font-family': 'display','font-size': mobile() ? 'clamp(44px, 12vw, 60px)' : '52.36px',- 'font-weight': '315',+ 'font-weight':+ 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.012em','line-height': 1.12,margin: '0',diff --git a/apps/marketing/src/app/routes/RouteChannels.tsx b/apps/marketing/src/app/routes/RouteChannels.tsxindex fdfaedd3e6..a4f309a206 100644--- a/apps/marketing/src/app/routes/RouteChannels.tsx+++ b/apps/marketing/src/app/routes/RouteChannels.tsx@@ -798,7 +798,7 @@ function ChannelsFounderLetter() {color: 'var(--c1)','font-family': 'display','font-size': mobile() ? '26px' : '32px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.12,margin: mobile() ? '0 0 40px' : '0 0 56px',@@ -1501,7 +1501,7 @@ const slabTitle = (opts?: {'font-size':opts?.size ??(mobile() ? 'clamp(32px, 9vw, 40px)' : 'clamp(40px, 4.2vw, 52px)'),- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.12,margin: '0',@@ -1954,7 +1954,7 @@ function ComparisonSection() {color: 'var(--c1)','font-family': 'display','font-size': mobile() ? '26px' : '32px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.12,margin: 0,diff --git a/apps/marketing/src/app/routes/RouteDemo.tsx b/apps/marketing/src/app/routes/RouteDemo.tsxindex 0c959f352a..3928e610b4 100644--- a/apps/marketing/src/app/routes/RouteDemo.tsx+++ b/apps/marketing/src/app/routes/RouteDemo.tsx@@ -5,6 +5,7 @@ import uiStyles from '../../styles/site-ui.css?inline';import { setPageSeo } from '../utils/utilSeo';import '../../features/marketing/components/workspace-story.css';import '../../features/setup/cream-preview.css';+import { createSitePalette } from '../../features/setup/sitePalette';// The signed-in app uses neutral dark surfaces; the marketing palette has a blue tint.const workspacePalette = palette.replaceAll('0.002 250deg', '0 0deg');@@ -17,6 +18,7 @@ const styles = uiStylesexport default function RouteDemo() {const [params] = useSearchParams();+ const palette = createSitePalette();setPageSeo({title: 'Macro — Sample workspace',description:@@ -27,8 +29,8 @@ export default function RouteDemo() {return (<mainclass="dummy-route"- data-theme-light={params.theme === 'cream' ? 'true' : 'false'}- data-palette={params.theme === 'cream' ? 'cream' : undefined}+ data-theme-light={palette() === 'cream' ? 'true' : 'false'}+ data-palette={palette() === 'cream' ? 'cream' : undefined}data-embedded={params.embedded === 'true'}><style>{properties}</style>diff --git a/apps/marketing/src/app/routes/RouteDocuments.tsx b/apps/marketing/src/app/routes/RouteDocuments.tsxindex bab6f5d0a2..1766352c0e 100644--- a/apps/marketing/src/app/routes/RouteDocuments.tsx+++ b/apps/marketing/src/app/routes/RouteDocuments.tsx@@ -283,7 +283,7 @@ function PowerInSimplicity() {// its own column is the third of those, so it drops from 36/380 to// .tasks-h3's 30/350.'font-size': mobile() ? '23px' : '30px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.01em','line-height': 1.35,// Wide gap under the heading: it reads as a title over a statement@@ -415,7 +415,7 @@ function _FeatureSplit(props: {style={{'font-family': 'display','font-size': mobile() ? '32px' : '42px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.018em','line-height': 1.1,margin: '0',@@ -1334,7 +1334,7 @@ function DocsFeatureCopy(props: { block: DocsFeatureBlock }) {'font-family': 'display','font-size': mobile() ? '32px' : '42px',// Main's h2 tier: a section title, same slot as .tasks-h2.- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.018em','line-height': mobile() ? 1.1 : `${DOCS_HEADLINE_LH}px`,// The nudge is a cross-column correction -- it registers this@@ -1562,7 +1562,7 @@ function DocsIntegrationHero() {color: 'var(--c1)','font-family': 'display','font-size': mobile() ? '32px' : '42px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.018em',// The bands set their leading in px because their two-column// header registers the headline's x-height against the subtitle's@@ -1842,7 +1842,7 @@ function ComparisonSection() {// Main's h3 tier -- the smaller section title. /tasks sets its own// "How does Macro Tasks stack up?" in .tasks-h3 at 350, which is// this heading in the same slot on the sibling page.- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.1,margin: 0,diff --git a/apps/marketing/src/app/routes/RouteDownload.css b/apps/marketing/src/app/routes/RouteDownload.cssindex cfe1ce2743..00a43e3337 100644--- a/apps/marketing/src/app/routes/RouteDownload.css+++ b/apps/marketing/src/app/routes/RouteDownload.css@@ -33,7 +33,7 @@.downloads-header h1 {margin: 0 0 14px;font:- 315 clamp(30px, 4vw, 40px) / 1.12 "Roboto Slab Variable",+ calc(315 + var(--cream-slab-weight-increase, 0)) clamp(30px, 4vw, 40px) / 1.12 "Roboto Slab Variable",display,serif;letter-spacing: -0.035em;diff --git a/apps/marketing/src/app/routes/RouteGithub.tsx b/apps/marketing/src/app/routes/RouteGithub.tsxindex 891570b91f..847235fd72 100644--- a/apps/marketing/src/app/routes/RouteGithub.tsx+++ b/apps/marketing/src/app/routes/RouteGithub.tsx@@ -3152,7 +3152,7 @@ function ComparisonSection() {color: 'var(--c1)','font-family': 'display','font-size': mobile() ? '32px' : '44px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.1,margin: 0,@@ -3331,7 +3331,7 @@ function GithubFinalCta() {style={{'font-family': 'display','font-size': mobile() ? '38px' : '48px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.08,margin: '0',@@ -3471,7 +3471,8 @@ export const RouteGithub: Component = () => {style={{'font-family': 'display','font-size': mobile() ? 'clamp(44px, 12vw, 60px)' : '52.36px',- 'font-weight': '315',+ 'font-weight':+ 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.012em','line-height': 1.12,margin: '0',diff --git a/apps/marketing/src/app/routes/RouteJobs.tsx b/apps/marketing/src/app/routes/RouteJobs.tsxindex def36a07c9..ab2e6b4c98 100644--- a/apps/marketing/src/app/routes/RouteJobs.tsx+++ b/apps/marketing/src/app/routes/RouteJobs.tsx@@ -73,7 +73,7 @@ function JobCard(props: JobCardProps) {color: 'var(--c1)','font-family': 'display','font-size': stacked() ? '26px' : '30px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.02em','line-height': 1.1,margin: '0',@@ -183,7 +183,7 @@ export const RouteJobs: Component = () => {color: 'var(--c1)','font-family': 'display','font-size': breakpoint() ? '38px' : '50px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.035em','line-height': breakpoint() ? 1.04 : 1,margin: '0',diff --git a/apps/marketing/src/app/routes/RouteMigrate.tsx b/apps/marketing/src/app/routes/RouteMigrate.tsxindex 6b4f38c7ab..26b91ee08e 100644--- a/apps/marketing/src/app/routes/RouteMigrate.tsx+++ b/apps/marketing/src/app/routes/RouteMigrate.tsx@@ -179,7 +179,7 @@ function SectionHeading(props: {color: 'var(--c1)','font-family': 'display','font-size': mobile() ? '30px' : '42px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.1,margin: 0,@@ -704,7 +704,7 @@ export const RouteMigrate: Component = () => {.migrate-hero-graphic .supermodule-cta-headline { font-size: 26px; letter-spacing: 0.03em; }.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: 315; letter-spacing: -0.015em; margin: 0 0 16px; }+ .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-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; }@@ -835,7 +835,7 @@ export const RouteMigrate: Component = () => {color: var(--c1);font-family: display, serif;font-size: 32px;- font-weight: 400;+ font-weight: calc(400 + var(--cream-slab-weight-increase, 0));letter-spacing: -0.025em;line-height: 1.1;margin: 0 0 6px;@@ -1087,7 +1087,8 @@ export const RouteMigrate: Component = () => {style={{'font-family': 'display','font-size': mobile() ? 'clamp(42px, 11.5vw, 58px)' : '52.36px',- 'font-weight': '315',+ 'font-weight':+ 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.012em','line-height': 1.12,margin: '0',@@ -1297,7 +1298,8 @@ export const RouteMigrate: Component = () => {style={{'font-family': 'display','font-size': mobile() ? '36px' : '48px',- 'font-weight': '315',+ 'font-weight':+ 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.08,margin: '0',diff --git a/apps/marketing/src/app/routes/RouteMobileSignup.tsx b/apps/marketing/src/app/routes/RouteMobileSignup.tsxindex 2f6fdd5dff..6e0b700963 100644--- a/apps/marketing/src/app/routes/RouteMobileSignup.tsx+++ b/apps/marketing/src/app/routes/RouteMobileSignup.tsx@@ -48,7 +48,7 @@ export const RouteMobileSignup: Component = () => {color: 'var(--c0)','font-family': 'display','font-size': mobile() ? 'clamp(38px, 11vw, 48px)' : '48px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.012em','line-height': 1.12,margin: '0',diff --git a/apps/marketing/src/app/routes/RouteMobileSignupSent.tsx b/apps/marketing/src/app/routes/RouteMobileSignupSent.tsxindex ba3b958ee0..b1c208bec4 100644--- a/apps/marketing/src/app/routes/RouteMobileSignupSent.tsx+++ b/apps/marketing/src/app/routes/RouteMobileSignupSent.tsx@@ -187,7 +187,7 @@ export const RouteMobileSignupSent: Component = () => {color: 'var(--c0)','font-family': 'display','font-size': mobile() ? 'clamp(28px, 7.5vw, 36px)' : '40px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.012em','line-height': 1.22,margin: '0',diff --git a/apps/marketing/src/app/routes/RoutePartners.css b/apps/marketing/src/app/routes/RoutePartners.cssindex 283c45994a..ed090b1e49 100644--- a/apps/marketing/src/app/routes/RoutePartners.css+++ b/apps/marketing/src/app/routes/RoutePartners.css@@ -2,14 +2,14 @@.partners-main { box-sizing:border-box; width:100%; max-width:1040px; margin:auto; padding:128px 32px 64px; }.partners-header { max-width:760px; }.partners-eyebrow { color:var(--a0); font-size:14px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; margin:0 0 20px; }-.partners-header h1 { font-family:display; font-size:clamp(40px,5vw,60px); font-weight: 315; letter-spacing:-.025em; line-height:1.1; margin:0 0 24px; max-width:20ch; }+.partners-header h1 { font-family:display; font-size:clamp(40px,5vw,60px); font-weight: calc(315 + var(--cream-slab-weight-increase, 0)); letter-spacing:-.025em; line-height:1.1; margin:0 0 24px; max-width:20ch; }.partners-lede { font-size:21px; line-height:1.5; color:var(--c4); max-width:52ch; }.partners-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }.partners-button { align-items:center; display:inline-flex; justify-content:center; min-height:46px; padding:0 24px; border-radius:999px; background:var(--a0); color:var(--b0); font-weight:700; font-size:17px; text-decoration:none; }.partners-button--secondary { background:transparent; border:1px solid color-mix(in srgb,var(--c4) 35%,transparent); color:var(--c1); }.partners-button:hover { transform:translateY(-1px); }.partners-facts { scroll-margin-top:96px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; border-block:1px solid var(--b3); padding:30px 0; margin:48px 0; }-.partners-facts dt { font-family:display; font-size:36px; line-height:1.2; color:var(--c1); font-weight: 315; }+.partners-facts dt { font-family:display; font-size:36px; line-height:1.2; color:var(--c1); font-weight: calc(315 + var(--cream-slab-weight-increase, 0)); }.partners-facts dt span { font-family:body; font-size:18px; color:var(--c4); }.partners-facts dd { font-size:17px; line-height:1.4; color:var(--c4); margin:12px 0 0; max-width:26ch; }.partners-video-frame { aspect-ratio:16/9; position:relative; border-radius:12px; overflow:hidden; border:1px solid var(--b3); }@@ -17,7 +17,7 @@.partners-video-play { position:absolute; inset:0; border:0; display:flex; align-items:end; gap:12px; padding:28px; background:linear-gradient(transparent 45%,rgb(0 0 0 /.7)); color:white; font:600 18px body; cursor:pointer; }.partners-video-play span { color:var(--a0); }.partners-details { display:grid; grid-template-columns:1fr 1.2fr; gap:56px; margin:72px 0; }-.partners-page h2 { font-family:display; font-size:32px; line-height:1.2; font-weight: 315; margin:0 0 24px; }+.partners-page h2 { font-family:display; font-size:32px; line-height:1.2; font-weight: calc(315 + var(--cream-slab-weight-increase, 0)); margin:0 0 24px; }.partners-details p:not(.partners-eyebrow),.partners-join p { font-size:19px; line-height:1.55; color:var(--c4); margin:0 0 20px; }.partners-details a,.partners-join>a { color:var(--c1); text-underline-offset:4px; }.partners-join { border-top:1px solid var(--b3); padding-top:48px; }diff --git a/apps/marketing/src/app/routes/RoutePartners.tsx b/apps/marketing/src/app/routes/RoutePartners.tsxindex 22da3c04d8..2370e26fb6 100644--- a/apps/marketing/src/app/routes/RoutePartners.tsx+++ b/apps/marketing/src/app/routes/RoutePartners.tsx@@ -1,5 +1,5 @@import { A } from '@solidjs/router';-import { type Component, createSignal, type JSX, Show } from 'solid-js';+import { type Component, createSignal, Show } from 'solid-js';import LogoA16z from '../../assets/logos/a16z-artdeco.svg';import LogoBoxGroup from '../../assets/logos/boxgroup.svg';import LogoNyu from '../../assets/logos/nyu.svg';@@ -10,9 +10,9 @@ import { HomeSectionRule } from '../components/sections/HomeSectionRule';import { type FaqItem, SectionFaq } from '../components/sections/SectionFaq';import { SectionMoreFeatures } from '../components/sections/SectionMoreFeatures';import { buildCalLinkWithAttribution } from '../utils/utilAnalytic';-import { viewportWidth } from '../utils/utilBreakpoint';import { setPageSeo } from '../utils/utilSeo';import '../../routes/posts/posts-shell.css';+import './partners-hero.css';const SUPPORT_EMAIL = '[email protected]';const KICKOFF_URL = 'https://cal.com/team/macro/partnerships-program';@@ -111,67 +111,19 @@ const partnerFaq: FaqItem[] = [];function PartnerCtaBar() {- const compact = () => viewportWidth() < 700;- const buttonStyle = (accent: boolean): JSX.CSSProperties => ({- 'align-items': 'center',- 'background-color': accent ? 'var(--a0)' : 'var(--c1)',- border: '1px solid color-mix(in srgb, var(--b4) 32%, transparent)',- 'border-radius': '999px',- 'box-sizing': 'border-box',- color: 'var(--b0)',- cursor: 'default',- display: 'inline-flex',- 'font-family': 'body',- 'font-size': compact() ? '15px' : '14px',- 'font-weight': '700',- height: compact() ? '38px' : '40px',- 'justify-content': 'center',- 'letter-spacing': '0.01em',- 'line-height': 1,- padding: compact() ? '0 16px' : '0 22px',- 'text-decoration': 'none',- 'text-transform': 'uppercase',- transition: 'transform 160ms ease',- 'white-space': 'nowrap',- });-return (- <div- class="home-hero-cta-bar partners-cta-bar"- style={{- 'align-items': 'center',- 'backdrop-filter': 'blur(6px)',- '-webkit-backdrop-filter': 'blur(6px)',- 'background-color': 'color-mix(in srgb, var(--b1) 86%, transparent)',- border: '1px solid color-mix(in srgb, var(--b4) 32%, transparent)',- 'border-radius': '999px',- 'box-shadow':- 'inset 0 1px 0 color-mix(in srgb, var(--c1) 6%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--b0) 40%, transparent), 0 14px 32px -22px rgb(0 0 0 / 0.55)',- 'box-sizing': 'border-box',- display: 'inline-flex',- gap: compact() ? '8px' : '10px',- 'justify-content': 'flex-start',- overflow: 'hidden',- padding: compact() ? '8px' : '10px',- position: 'relative',- width: 'fit-content',- }}- >+ <div class="partners-actions"><a- class="home-hero-cta"+ class="partners-action partners-action-primary"href={buildCalLinkWithAttribution(KICKOFF_URL)}target="_blank"rel="noreferrer"- style={buttonStyle(true)}>Book a kickoff call</a><a- class="home-hero-cta"+ class="partners-action partners-action-secondary"href="mailto:[email protected]"- target="_blank"- rel="noreferrer"- style={buttonStyle(false)}>Get in touch</a>@@ -182,8 +134,6 @@ function PartnerCtaBar() {function PartnerAnnouncementPlayer() {let videoRef!: HTMLVideoElement;const [playing, setPlaying] = createSignal(false);- const compact = () => viewportWidth() < 700;-function handlePlay() {videoRef.play()@@ -192,13 +142,7 @@ function PartnerAnnouncementPlayer() {}return (- <div- class={`partners-video-frame${playing() ? '' : ' partners-video-frame--idle'}`}- style={{ cursor: playing() ? 'default' : 'pointer' }}- onClick={() => {- if (!playing()) handlePlay();- }}- >+ <div class="partners-video-frame"><videoref={videoRef}controls={playing()}@@ -209,96 +153,18 @@ function PartnerAnnouncementPlayer() {preload="metadata"src={partnerAnnouncementVideo}aria-label="Partnership program announcement from Macro"- style={{- 'object-fit': playing() ? 'contain' : 'cover',- }}/><Show when={!playing()}>- <img- src={partnerAnnouncementPoster}- loading="lazy"- alt=""- aria-hidden="true"- style={{- display: 'block',- filter: 'grayscale(1) brightness(0.9)',- height: '100%',- inset: '0',- 'object-fit': 'cover',- 'object-position': 'center center',- 'pointer-events': 'none',- position: 'absolute',- width: '100%',- }}- />- </Show>- <Show when={!playing()}>- <div- style={{- background:- 'linear-gradient(0deg, oklch(from var(--b0) l c h / 0.78), oklch(from var(--b0) l c h / 0.12) 52%, transparent 78%)',- inset: '0',- 'pointer-events': 'none',- position: 'absolute',- 'z-index': 1,- }}- />- </Show>- <Show when={!playing()}>- <div- style={{- 'align-items': 'center',- bottom: compact() ? '20px' : '28px',- display: 'grid',- gap: compact() ? '12px' : '14px',- 'grid-template-columns': 'min-content min-content 1fr',- left: compact() ? '20px' : '28px',- 'pointer-events': 'none',- position: 'absolute',- right: compact() ? '20px' : '28px',- 'z-index': 2,- }}+ <button+ class="partners-play"+ onClick={handlePlay}+ aria-label="Play Macro Partnership Overview">- <svg- width={compact() ? '38' : '42'}- height={compact() ? '38' : '42'}- viewBox="0 0 48 48"- aria-hidden="true"- >- <circle- cx="24"- cy="24"- r="21"- fill="none"- stroke="var(--c1)"- stroke-width="2"- />- <path d="M20.5 16.5 L20.5 31.5 L32.5 24 Z" fill="var(--c1)" />- </svg>- <div- style={{- color: 'var(--c1)',- 'font-family': 'Inter, body',- 'font-size': compact() ? '14px' : '15px',- 'font-weight': '700',- 'letter-spacing': '0.1em',- 'line-height': 1,- 'text-transform': 'uppercase',- 'white-space': 'nowrap',- }}- >- Macro Partnership Overview- </div>- <div- style={{- 'background-color': 'var(--c1)',- height: '1px',- 'margin-top': '1px',- opacity: 0.8,- width: '100%',- }}- />- </div>+ <span class="partners-play-icon" aria-hidden="true">+ ▶+ </span>+ <span>Macro Partnership Overview</span>+ </button></Show></div>);@@ -327,7 +193,7 @@ export const RoutePartners: Component = () => {.posts-article-header .posts-title {font-family: display, Georgia, serif;font-size: clamp(22px, 2.8vw, 28px);- font-weight: 370;+ font-weight: calc(370 + var(--cream-slab-weight-increase, 0));letter-spacing: -0.012em;line-height: 1.25;margin-left: 0;@@ -540,17 +406,17 @@ export const RoutePartners: Component = () => {}`}</style>- <article class="posts-shell posts-article posts-article--with-footer">- <header class="posts-article-header">- <h1 class="posts-title">- Partner with us to help teams adopt Macro.- </h1>- <h2 class="partners-subtitle">- Earn on referrals, preview features before release, and help your- clients roll out a modern workspace.- </h2>- <div class="partners-header-cta">- <PartnerCtaBar />+ <article class="posts-shell posts-article posts-article--with-footer partners-article">+ <header class="posts-article-header partners-hero">+ <div class="partners-hero-copy">+ <h1 class="posts-title">Build your business with Macro.</h1>+ <h2 class="partners-subtitle">+ Help clients adopt Macro. Earn on referrals and get early access+ to new features.+ </h2>+ <div class="partners-header-cta">+ <PartnerCtaBar />+ </div></div><div class="posts-hero-art"><PartnerAnnouncementPlayer />@@ -625,18 +491,24 @@ export const RoutePartners: Component = () => {<h2>How to become a partner</h2><ol class="partners-steps"><li>- Book a partner screening call with our team{' '}- <a- href={buildCalLinkWithAttribution(DEMO_URL)}- target="_blank"- rel="noreferrer"- >- here- </a>- .+ <span>+ Book a partner screening call with our team{' '}+ <a+ href={buildCalLinkWithAttribution(DEMO_URL)}+ target="_blank"+ rel="noreferrer"+ >+ here+ </a>+ .+ </span>+ </li>+ <li>+ <span>Get approved as a partner.</span>+ </li>+ <li>+ <span>Roll out Macro to your clients.</span></li>- <li>Get approved as a partner.</li>- <li>Roll out Macro to your clients.</li></ol><div class="partners-faq">@@ -647,13 +519,13 @@ export const RoutePartners: Component = () => {<HomeSectionRule /><div class="posts-home-cta-wrap posts-shell">- <section class="posts-home-cta" aria-label="Become a partner">+ <section class="partners-closing-cta" aria-label="Become a partner"><div class="posts-home-cta-copy"><h2>Become a Macro partner.</h2></div><PartnerCtaBar /><A href="/partners/terms" class="partners-terms-link">- Full partner program terms →+ Full partner program terms</A></section></div>diff --git a/apps/marketing/src/app/routes/RoutePricing.tsx b/apps/marketing/src/app/routes/RoutePricing.tsxindex 48286fb4ee..38ac19e71f 100644--- a/apps/marketing/src/app/routes/RoutePricing.tsx+++ b/apps/marketing/src/app/routes/RoutePricing.tsx@@ -56,7 +56,7 @@ function sectionHeadingStyle(): JSX.CSSProperties {color: 'var(--c1)','font-family': 'display','font-size': mobile() ? '32px' : breakpoint() ? '38px' : '44px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1.1,margin: 0,@@ -108,7 +108,7 @@ function PlanCard(props: {color: 'var(--c0)','font-family': 'display','font-size': mobile() ? '48px' : '52px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.015em','line-height': 1,}}@@ -525,7 +525,7 @@ function CaseStudyVideo() {color: 'var(--c1)','font-family': 'display','font-size': compact() ? '28px' : '34px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.01em','line-height': 1.14,margin: '0',@@ -861,7 +861,7 @@ function FaqSection() {display: flex;font-family: 'display';font-size: 20px;- font-weight: 410;+ font-weight: calc(410 + var(--cream-slab-weight-increase, 0));gap: 16px;justify-content: space-between;letter-spacing: -0.01em;@@ -1026,7 +1026,7 @@ export const RoutePricing: Component = () => {style={{'font-family': 'display','font-size': mobile() ? 'clamp(46px, 13vw, 62px)' : '52.36px',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','letter-spacing': '-0.012em','line-height': 1.12,margin: 0,diff --git a/apps/marketing/src/app/routes/RouteStartups.css b/apps/marketing/src/app/routes/RouteStartups.cssindex c7b37577b3..8bb3704787 100644--- a/apps/marketing/src/app/routes/RouteStartups.css+++ b/apps/marketing/src/app/routes/RouteStartups.css@@ -1,7 +1,7 @@.startups-page { width:100%; }.startups-main { box-sizing:border-box; max-width:1000px; margin:auto; padding:128px 32px 64px; }.startups-eyebrow { color:var(--a0); text-transform:uppercase; letter-spacing:.1em; font-size:14px; font-weight:600; margin:0 0 20px; }-.startups-main h1 { font-family:display; font-size:clamp(40px,5vw,60px); font-weight: 315; line-height:1.1; letter-spacing:-.025em; margin:0 0 24px; }+.startups-main h1 { font-family:display; font-size:clamp(40px,5vw,60px); font-weight: calc(315 + var(--cream-slab-weight-increase, 0)); line-height:1.1; letter-spacing:-.025em; margin:0 0 24px; }.startups-intro { color:var(--c4); font-size:22px; line-height:1.5; max-width:42ch; }.startups-apply { display:inline-flex; align-items:center; gap:24px; min-height:48px; padding:0 26px; margin-top:12px; color:var(--b0); background:var(--a0); border-radius:999px; font-size:18px; font-weight:700; text-decoration:none; }.startups-offer { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:48px; border-block:1px solid var(--b3); margin:56px 0 40px; padding:40px 0; }diff --git a/apps/marketing/src/app/routes/RouteStartups.tsx b/apps/marketing/src/app/routes/RouteStartups.tsxindex b4bdc87002..37cc0577b0 100644--- a/apps/marketing/src/app/routes/RouteStartups.tsx+++ b/apps/marketing/src/app/routes/RouteStartups.tsx@@ -172,7 +172,7 @@ export const RouteStartups: Component = () => {'font-size': breakpoint() ? '38px' : '50px','line-height': breakpoint() ? '1.02' : '0.98','letter-spacing': '-0.035em',- 'font-weight': '315',+ 'font-weight': 'calc(315 + var(--cream-slab-weight-increase, 0))','max-width': '600px',margin: '0',color: 'var(--c1)',diff --git a/apps/marketing/src/app/routes/RouteTasks.css b/apps/marketing/src/app/routes/RouteTasks.cssindex 3110c43742..430114105d 100644--- a/apps/marketing/src/app/routes/RouteTasks.css+++ b/apps/marketing/src/app/routes/RouteTasks.css@@ -4,7 +4,7 @@.tasks-h3 {color: var(--c1);font-family: 'display';- font-weight: 315;+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));margin: 0;}.tasks-h1 {diff --git a/apps/marketing/src/app/routes/partners-hero.css b/apps/marketing/src/app/routes/partners-hero.cssnew file mode 100644index 0000000000..1a841b1d96--- /dev/null+++ b/apps/marketing/src/app/routes/partners-hero.css@@ -0,0 +1,155 @@+/* A landing-page hero, with the reading column preserved below it. */+.posts-shell.partners-article {+ max-width: 1200px;+ padding: 164px 40px 0;+}+.partners-article .partners-hero {+ display: grid;+ grid-template-columns: 1fr 1.08fr;+ align-items: center;+ gap: 64px;+ margin-bottom: 88px;+ text-align: left;+}+.partners-article .partners-hero .posts-title {+ margin: 0;+ font-size: clamp(36px, 3.2vw, 46px);+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));+ line-height: 1.12;+ letter-spacing: -.035em;+ color: var(--post-ink);+ width: 100%;+ max-width: none;+ text-wrap: pretty;+}+.partners-article .partners-hero .partners-subtitle {+ margin: 20px 0 0;+ max-width: 40ch;+ font-size: 17px;+ line-height: 1.65;+ font-weight: 400;+ color: var(--post-muted);+}+.partners-article .partners-hero .posts-hero-art {+ width: 100%;+ min-width: 0;+ margin: 0;+ padding: 0;+}+.partners-article .post-body { max-width: 744px; margin-inline: auto; }+.partners-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }+.posts-shell .partners-action {+ display: inline-flex;+ align-items: center;+ justify-content: center;+ gap: 16px;+ min-height: 48px;+ padding: 12px 20px;+ border-radius: 999px;+ font-size: 14px;+ line-height: 24px;+ font-weight: 500;+ text-decoration: none;+}+.posts-shell .partners-action-primary { background: #faf8f3; color: #1d1c1a; }+.posts-shell .partners-action-primary:hover { background: #eae7e0; color: #000; }+.posts-shell .partners-action-secondary { color: var(--post-muted); padding-inline: 0; }+.posts-shell .partners-action-secondary:hover { color: var(--post-ink); }+.partners-action:focus-visible, .partners-play:focus-visible { outline: 2px solid var(--post-ink); outline-offset: 5px; }+.partners-article .partners-video-frame {+ aspect-ratio: 16 / 10;+ border-radius: 20px;+ background: #141414;+ border: 1px solid #ffffff20;+ box-shadow: 0 20px 64px -24px #0009;+ isolation: isolate;+}+.partners-article .partners-video-frame video { object-fit: contain; background: #141414; }+.partners-play {+ position: absolute;+ inset: 0;+ display: flex;+ align-items: flex-end;+ gap: 12px;+ padding: 24px;+ border: 0;+ color: #fff;+ background: linear-gradient(transparent 40%, #000b);+ font: 500 14px/36px 'Inter Variable', sans-serif;+ text-align: left;+ cursor: pointer;+}+.partners-play-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: #fff; color: #1d1c1a; font-size: 12px; }+html[data-palette='cream'] .partners-action-primary { background: #1d1c1a; color: #faf8f3; }+html[data-palette='cream'] .partners-action-primary:hover { background: #38352f; color: #fff; }+html[data-palette='cream'] .partners-article .partners-video-frame { border-color: #1d1c1a20; box-shadow: 0 16px 56px -20px #40352530; }+@media (max-width: 899px) {+ .posts-shell.partners-article { padding: 124px 24px 0; }+ .partners-article .partners-hero { grid-template-columns: 1fr; gap: 36px; max-width: 640px; margin-bottom: 56px; }+ .partners-article .partners-hero .posts-title { font-size: clamp(36px, 7vw, 50px); max-width: 20ch; }+ .partners-article .partners-video-frame { aspect-ratio: 16 / 9; border-radius: 16px; }+}+@media (max-width: 399px) {+ .posts-shell.partners-article { padding-inline: 20px; }+ .partners-actions { gap: 8px 16px; }+ .posts-shell .partners-action { font-size: 13px; gap: 8px; }+ .partners-play { padding: 16px; font-size: 12px; }+}++/* The poster remains photographic in both palettes. */+.partners-article .partners-play > span:last-child { color: #fff; }+html[data-palette='cream'] .partners-article .partners-hero .partners-subtitle { color: #54524f; }++/* Keep the sequence aligned with the reading column, not nested inside it. */+.partners-article .post-body .partners-steps {+ max-width: none;+ margin: 24px 0 40px;+ padding: 0;+ list-style: none;+ counter-reset: partner-step;+}+.partners-article .post-body .partners-steps li {+ display: flex;+ gap: 12px;+ margin: 0 0 16px;+ padding: 0;+ counter-increment: partner-step;+}+.partners-article .post-body .partners-steps li::before {+ content: counter(partner-step) '.';+ flex: 0 0 20px;+ color: var(--post-muted);+}++.partners-closing-cta {+ display: flex;+ flex-direction: column;+ align-items: center;+ gap: 28px;+ width: 100%;+ max-width: 744px;+ padding-block: 16px;+ text-align: center;+}+.partners-closing-cta h2 {+ margin: 0;+ color: var(--post-ink);+ font-family: 'Roboto Slab Variable', Georgia, serif;+ font-size: clamp(28px, 3.2vw, 40px);+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));+ line-height: 1.2;+ letter-spacing: -.025em;+ text-wrap: balance;+}+.partners-closing-cta .partners-actions { justify-content: center; }+.posts-shell .partners-closing-cta .partners-terms-link {+ margin-top: 4px;+ color: var(--post-muted);+ font-size: 13px;+ font-weight: 400;+ line-height: 1.5;+ text-decoration: underline;+ text-underline-offset: 4px;+ text-decoration-color: var(--post-rule);+}+.posts-shell .partners-closing-cta .partners-terms-link:hover { color: var(--post-ink); }diff --git a/apps/marketing/src/features/marketing/components/FeaturePage.tsx b/apps/marketing/src/features/marketing/components/FeaturePage.tsxindex 82a630d08b..0074a5cdd1 100644--- a/apps/marketing/src/features/marketing/components/FeaturePage.tsx+++ b/apps/marketing/src/features/marketing/components/FeaturePage.tsx@@ -18,14 +18,12 @@ const scopedUi = uiStylesexport function FeaturePage(props: {children: JSX.Element;- light?: boolean;productSpacing?: boolean;}) {return (<mainclass="feature-page"data-product-spacing={props.productSpacing ? 'true' : undefined}- data-theme-light={props.light ? 'true' : 'false'}><style>{uiProperties}</style><style>{`@scope (.feature-page) { ${scopedUi} ${palette.replaceAll(':root', ':scope')} }`}</style>diff --git a/apps/marketing/src/features/marketing/components/HomepageOpenSource.tsx b/apps/marketing/src/features/marketing/components/HomepageOpenSource.tsxindex ad6da3d2e3..6960a7102e 100644--- a/apps/marketing/src/features/marketing/components/HomepageOpenSource.tsx+++ b/apps/marketing/src/features/marketing/components/HomepageOpenSource.tsx@@ -1,5 +1,6 @@import { createMediaQuery } from '@solid-primitives/media';import { createSignal, type JSX, onCleanup, onMount, Show } from 'solid-js';+import { pinnedPalette } from '../../setup/sitePalette';import { animateDemoEntrance } from './animateDemoEntrance';import { HomepageDemoCarousel } from './HomepageDemoCarousel';import { HomepageGithub } from './HomepageGithub';@@ -26,10 +27,10 @@ function DesktopHomepageOpenSource(props: {scroller = scroller.parentElement;}onCleanup(animateDemoEntrance(section, scroller));- // The cream homepage preview carries its palette into the sample workspace.- if (document.documentElement.dataset.palette === 'cream') {- frame.src = '/demo?embedded=true&theme=cream';- }+ // The sample workspace follows the OS color scheme on its own; a palette+ // pinned with `?theme=` carries over.+ const pinned = pinnedPalette();+ if (pinned) frame.src = `/demo?embedded=true&theme=${pinned}`;if (!props.showSidebarBreakdown) return;const reduced = window.matchMedia('(prefers-reduced-motion: reduce)');const card = connection.querySelector<HTMLElement>(diff --git a/apps/marketing/src/features/marketing/components/HomepagePullRequest.tsx b/apps/marketing/src/features/marketing/components/HomepagePullRequest.tsxindex 923e14e5db..eb0233edff 100644--- a/apps/marketing/src/features/marketing/components/HomepagePullRequest.tsx+++ b/apps/marketing/src/features/marketing/components/HomepagePullRequest.tsx@@ -62,7 +62,7 @@ export default function HomepagePullRequest() {},{person: 'cursor',- text: '',+ text: 'On it. I’ll work on your branch, fix the failures, and run the tests.',reply: (<><div class="homepage-agent-chip">diff --git a/apps/marketing/src/features/marketing/components/animateDemoEntrance.ts b/apps/marketing/src/features/marketing/components/animateDemoEntrance.tsindex 944b28284c..c591748a4d 100644--- a/apps/marketing/src/features/marketing/components/animateDemoEntrance.ts+++ b/apps/marketing/src/features/marketing/components/animateDemoEntrance.ts@@ -120,7 +120,7 @@ export function animateDemoEntrance(animate(ghost,[- { transform: 'translate(0, 0) scale(1)', opacity: 0, offset: 0 },+ { transform: 'translate(0, 0) scale(1)', opacity: 1, offset: 0 },{ opacity: 0.75, offset: 0.12 },{ opacity: 0.45, offset: 0.55 },{@@ -202,10 +202,14 @@ export function animateDemoEntrance(viewport.top +scroller.scrollTop +target.offsetHeight / 2;- // Hold the readable constellation for 100px longer before it leaves.- start = top - scroller.clientHeight * 0.82;- // Keep the travel length: the reveal also finishes 100px later.- distance = Math.max(1, center - scroller.clientHeight * 0.5 - 150 - start);+ // Give readers another 50–100px before the bubbles leave. Shift both+ // endpoints equally so the existing motion keeps its speed and path.+ const delay = Math.min(100, Math.max(50, scroller.clientWidth / 16));+ start = top - scroller.clientHeight * 0.82 + delay;+ distance = Math.max(+ 1,+ center - scroller.clientHeight * 0.5 - 150 + delay - start+ );update();};// Once somebody uses the workspace, scrolling must never hide their work.diff --git a/apps/marketing/src/features/marketing/components/animateOpenSource.test.ts b/apps/marketing/src/features/marketing/components/animateOpenSource.test.tsindex 4f389ef535..6f446478c0 100644--- a/apps/marketing/src/features/marketing/components/animateOpenSource.test.ts+++ b/apps/marketing/src/features/marketing/components/animateOpenSource.test.ts@@ -128,6 +128,10 @@ describe('mobile bubble scroll transition', () => {expect(overlay.hidden).toBe(true);expect(source.style.visibility).toBe('');scroll(450);+ step();+ expect(overlay.hidden).toBe(true);+ expect(source.style.visibility).toBe('');+ scroll(499);scroll(500);expect(frames.size).toBe(1);expect(effects[0].currentTime).toBe(0);@@ -144,13 +148,13 @@ describe('mobile bubble scroll transition', () => {});it('clamps finished effects and restores sources and pending work on disposal', () => {const { section, source, scroll } = setup();- scroll(940);+ scroll(990);step();expect(effects[1].currentTime).toBe(1300);- scroll(950);+ scroll(1000);step();expect(effects[1].currentTime).toBe(1300);- scroll(960);+ scroll(1010);expect(frames.size).toBe(1);dispose();expect(frames.size).toBe(0);diff --git a/apps/marketing/src/features/marketing/components/animateOpenSource.ts b/apps/marketing/src/features/marketing/components/animateOpenSource.tsindex c63d83e23c..648f41b829 100644--- a/apps/marketing/src/features/marketing/components/animateOpenSource.ts+++ b/apps/marketing/src/features/marketing/components/animateOpenSource.ts@@ -212,8 +212,8 @@ export function animateOpenSource(section: HTMLElement, scroller: HTMLElement) {viewport.top +scroller.scrollTop +target.offsetHeight / 2;- // Hold the readable constellation for 100px longer before it leaves.- const delay = 100;+ // Preserve the existing hold, then add 50–100px of reading room.+ const delay = 100 + Math.min(100, Math.max(50, scroller.clientWidth / 16));start = top - scroller.clientHeight * 0.82 + delay;// Shift the whole transition, preserving its travel length and speed.distance = Math.max(diff --git a/apps/marketing/src/features/marketing/components/email/email-hero.css b/apps/marketing/src/features/marketing/components/email/email-hero.cssindex e2a5b6e024..0fad7a04b3 100644--- a/apps/marketing/src/features/marketing/components/email/email-hero.css+++ b/apps/marketing/src/features/marketing/components/email/email-hero.css@@ -12,7 +12,7 @@justify-content: center;gap: 10px;margin: 0 0 22px;- color: #a3a3a3;+ color: var(--color-ink-muted);font-size: 12px;font-weight: 500;line-height: 18px;@@ -30,7 +30,7 @@margin: 0 0 24px;font-family: 'Roboto Slab Variable', display, serif;font-size: clamp(44px, 5vw, 72px);- font-weight: 315;+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));line-height: 1.06;letter-spacing: -.04em;}@@ -40,12 +40,12 @@}.email-page-hero h1 span:last-child {- color: #b8b8b8;+ color: var(--color-ink-muted);}.feature-page .email-page-hero > .email-page-hero-description {max-width: 540px;- color: #999;+ color: var(--color-ink-muted);font-size: 17px;line-height: 1.65;text-wrap: pretty;diff --git a/apps/marketing/src/features/marketing/components/feature-page.css b/apps/marketing/src/features/marketing/components/feature-page.cssindex d12997bb2c..c3d26d8ab0 100644--- a/apps/marketing/src/features/marketing/components/feature-page.css+++ b/apps/marketing/src/features/marketing/components/feature-page.css@@ -1,53 +1,53 @@/* Public feature-page pattern: homepage headings + onboarding reading column. */-.feature-page { --font-sans: 'Inter Variable', Inter, sans-serif; width: 100%; min-width: 0; background: #000; color: #fff; font-family: var(--font-sans); }+.feature-page { --font-sans: 'Inter Variable', Inter, sans-serif; width: 100%; min-width: 0; background: transparent; color: var(--color-ink); font-family: var(--font-sans); }.feature-page, .feature-page * { box-sizing: border-box; }.feature-page p { margin: 0; }.feature-page button, .feature-page input, .feature-page select { font-family: inherit; }.feature-page :is(button, a, input, select, summary):focus-visible { outline: 2px solid #aaa; outline-offset: 4px; }-.feature-page :is(h1, h2, h3) { color: #fff; }+.feature-page :is(h1, h2, h3) { color: var(--color-ink); }.feature-page-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; padding: 150px 24px 100px; text-align: center; }-.feature-page-hero::before { content: ''; position: absolute; z-index: -1; inset: 36px 0 0; pointer-events: none; background: radial-gradient(ellipse at 50% 28%, #ffffff07, transparent 57%); }-.feature-page-hero-mark { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 28px; border: 1px solid #ffffff16; border-radius: 18px; background: linear-gradient(145deg, #ffffff0a, transparent); color: #a3a3a3; }+.feature-page-hero::before { content: ''; position: absolute; z-index: -1; inset: 36px 0 0; pointer-events: none; background: radial-gradient(ellipse at 50% 28%, color-mix(in srgb, var(--color-ink) 3%, transparent), transparent 57%); }+.feature-page-hero-mark { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 28px; border: 1px solid color-mix(in srgb, var(--color-ink) 9%, transparent); border-radius: 18px; background: linear-gradient(145deg, color-mix(in srgb, var(--color-ink) 4%, transparent), transparent); color: var(--color-ink-muted); }.feature-page-hero-mark svg { width: 28px; height: 28px; }-.feature-page-eyebrow { color: #777; font-size: 12px; line-height: 1.6; }-.feature-page-hero h1 { margin: 18px 0 24px; font: 315 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: #999; font-size: 16px; line-height: 1.8; text-wrap: balance; }+.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-cta { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 14px 25px; border-radius: 999px; background: #fafafa; color: #080808; font-size: 15px; font-weight: 500; line-height: 24px; text-decoration: none; transition: background 180ms; }.feature-page .feature-page-cta { color: #080808; }.feature-page-cta svg { width: 21px; height: 21px; }.feature-page-cta:hover { background: #ddd; }.feature-page-hero .feature-page-cta { margin-top: 32px; }-.feature-page-hero > small { display: block; margin-top: 18px; color: #666; 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 #ffffff1a; }-.feature-page-jump-links a { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; color: #999; font-size: 12px; text-decoration: none; }-.feature-page-jump-links a:hover { color: #fff; }+.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; }+.feature-page-jump-links a:hover { color: var(--color-ink); }.feature-page-section { padding: 86px 0 56px; scroll-margin-top: 105px; }.feature-page-section .homepage-feature-heading { margin-bottom: 48px; }.feature-page-section .homepage-feature-heading h2 { font-size: clamp(28px, 3.2vw, 40px); }.feature-page-visual { width: min(920px, 100%); margin-inline: auto; }-.feature-page-caption { max-width: 440px; margin: 24px auto 0 !important; color: #777; text-align: center; font-size: 12px; line-height: 1.8; text-wrap: balance; }-.feature-page-reading { width: min(608px, 100%); margin: 68px auto 0; padding: 64px 24px 72px; color: #a3a3a3; font: 400 15px/28px 'Inter Variable', Inter, sans-serif; }-.feature-page-reading-rule { width: 48px; height: 1px; margin-bottom: 40px; background: #333; }+.feature-page-caption { max-width: 440px; margin: 24px auto 0 !important; color: var(--color-ink-subtle); text-align: center; font-size: 12px; line-height: 1.8; text-wrap: balance; }+.feature-page-reading { width: min(608px, 100%); margin: 68px auto 0; padding: 64px 24px 72px; color: var(--color-ink-muted); font: 400 15px/28px 'Inter Variable', Inter, sans-serif; }+.feature-page-reading-rule { width: 48px; height: 1px; margin-bottom: 40px; background: var(--color-edge); }.feature-page-reading > h2 { margin: 16px 0 28px; font: 500 24px/32px 'Inter Variable', Inter, sans-serif; letter-spacing: -.025em; }.feature-page-prose { display: grid; gap: 24px; }.feature-page-reading h3 { margin: 48px 0 12px; font: 500 16px/24px 'Inter Variable', Inter, sans-serif; }-.feature-page-faq { border-top: 1px solid #ffffff10; }-.feature-page-faq__item { border-bottom: 1px solid #ffffff10; }-.feature-page-faq__item > summary, .feature-page-comparison > summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px 0; list-style: none; color: #a3a3a3; font-size: 14px; line-height: 24px; font-weight: 500; }+.feature-page-faq { border-top: 1px solid color-mix(in srgb, var(--color-ink) 6%, transparent); }+.feature-page-faq__item { border-bottom: 1px solid color-mix(in srgb, var(--color-ink) 6%, transparent); }+.feature-page-faq__item > summary, .feature-page-comparison > summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px 0; list-style: none; color: var(--color-ink-muted); font-size: 14px; line-height: 24px; font-weight: 500; }.feature-page :is(.feature-page-faq__item, .feature-page-comparison) > summary::-webkit-details-marker { display: none; }-.feature-page :is(.feature-page-faq__item, .feature-page-comparison) > summary:hover { color: #fff; }-.feature-page :is(.feature-page-faq__item, .feature-page-comparison) > summary > svg { flex: none; width: 16px; height: 16px; margin-top: 4px; color: #666; transition: transform 180ms; }+.feature-page :is(.feature-page-faq__item, .feature-page-comparison) > summary:hover { color: var(--color-ink); }+.feature-page :is(.feature-page-faq__item, .feature-page-comparison) > summary > svg { flex: none; width: 16px; height: 16px; margin-top: 4px; color: var(--color-ink-subtle); transition: transform 180ms; }.feature-page :is(.feature-page-faq__item, .feature-page-comparison)[open] > summary > svg { transform: rotate(180deg); }.feature-page-faq__answer { padding: 0 24px 24px 0; }.feature-page-reading a, .feature-page-comparison-content a { color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #666; }-.feature-page-reading-links { margin-top: 32px !important; font-size: 12px; color: #777; }-.feature-page-comparison { margin: 0 auto 72px; max-width: 920px; border-block: 1px solid #ffffff16; }+.feature-page-reading-links { margin-top: 32px !important; font-size: 12px; color: var(--color-ink-subtle); }+.feature-page-comparison { margin: 0 auto 72px; max-width: 920px; border-block: 1px solid color-mix(in srgb, var(--color-ink) 9%, transparent); }.feature-page-comparison-content { min-width: 0; padding: 16px 0 32px; }-.feature-page-comparison-content > p { margin-top: 20px; color: #888; font-size: 12px; text-align: center; }-.feature-page-end { display: flex; align-items: center; flex-direction: column; gap: 28px; padding: 76px 0 100px; border-top: 1px solid #ffffff16; text-align: center; }-.feature-page-end h2 { margin: 0; font: 315 clamp(30px, 4vw, 44px)/1.2 'Roboto Slab Variable', display, serif; letter-spacing: -.03em; }+.feature-page-comparison-content > p { margin-top: 20px; color: var(--color-ink-subtle); font-size: 12px; text-align: center; }+.feature-page-end { display: flex; align-items: center; flex-direction: column; gap: 28px; padding: 76px 0 100px; border-top: 1px solid color-mix(in srgb, var(--color-ink) 9%, transparent); text-align: center; }+.feature-page-end h2 { margin: 0; font: calc(315 + var(--cream-slab-weight-increase, 0)) clamp(30px, 4vw, 44px)/1.2 'Roboto Slab Variable', display, serif; letter-spacing: -.03em; }.feature-page-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; padding: 0 0 100px; }-.feature-page-footer a { color: #777; font-size: 12px; text-decoration: none; }+.feature-page-footer a { color: var(--color-ink-subtle); font-size: 12px; text-decoration: none; }@media (max-width: 699px) {.feature-page-hero { padding: 120px 0 64px; }.feature-page-hero h1 { font-size: clamp(34px, 8vw, 44px); }@@ -61,7 +61,7 @@}@media (prefers-reduced-motion: reduce) { .feature-page *, .feature-page *::before, .feature-page *::after { transition: none !important; animation-duration: .01ms !important; } }-.email-feature-graphic { display: block; width: 144px; max-width: 100%; height: 90px; color: #999; transition: color 180ms ease; }+.email-feature-graphic { display: block; width: 144px; max-width: 100%; height: 90px; color: var(--color-ink-muted); transition: color 180ms ease; }.feature-page-jump-links a:hover .email-feature-graphic { color: #ddd; }@media (max-width: 699px) {.feature-page-jump-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 8px; padding: 24px 0; }diff --git a/apps/marketing/src/features/marketing/components/homepage-closing-content.css b/apps/marketing/src/features/marketing/components/homepage-closing-content.cssindex 6795e6dead..1c222aa99e 100644--- a/apps/marketing/src/features/marketing/components/homepage-closing-content.css+++ b/apps/marketing/src/features/marketing/components/homepage-closing-content.css@@ -8,7 +8,7 @@.homepage-testimonials blockquote {margin: 0;font-family: 'Roboto Slab Variable', serif;- font-weight: 315;+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));font-size: clamp(24px, 2.4vw, 32px);line-height: 1.4;letter-spacing: -.035em;@@ -49,7 +49,7 @@@media (max-width: 699px) {.homepage-blog { padding: 48px 0 32px; }.homepage-blog > header { align-items: baseline; gap: 20px; margin-bottom: 20px; }- .homepage-blog h2 { color: var(--color-ink); font-family: 'Roboto Slab Variable', display, serif; font-size: 28px; font-weight: 315; line-height: 1.25; letter-spacing: -.035em; }+ .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); }diff --git a/apps/marketing/src/features/marketing/components/homepage-collaborative-doc.css b/apps/marketing/src/features/marketing/components/homepage-collaborative-doc.cssindex 6b15cf1c3d..cc5ce067c8 100644--- a/apps/marketing/src/features/marketing/components/homepage-collaborative-doc.css+++ b/apps/marketing/src/features/marketing/components/homepage-collaborative-doc.css@@ -7,8 +7,13 @@/* Finish the dissolve before the timeline, leaving its rule on the page background. */.homepage-collaborative-doc > .mdf-frame {height: 600px;- max-width: 920px;- padding: 40px 0 0;+ /* Let the shadow extend inside the fade mask without widening the card. */+ width: calc(100% + 96px);+ max-width: 1016px;+ left: 50%;+ transform: translateX(-50%);+ margin-inline: 0;+ padding: 40px 48px 0;background: transparent;-webkit-mask-image: linear-gradient(to bottom, #000 36%, rgb(0 0 0 / 30%) 64%, transparent calc(100% - var(--history-overlap)));mask-image: linear-gradient(to bottom, #000 36%, rgb(0 0 0 / 30%) 64%, transparent calc(100% - var(--history-overlap)));diff --git a/apps/marketing/src/features/marketing/components/homepage-github.css b/apps/marketing/src/features/marketing/components/homepage-github.cssindex fa3e3354a7..6a88ba5eef 100644--- a/apps/marketing/src/features/marketing/components/homepage-github.css+++ b/apps/marketing/src/features/marketing/components/homepage-github.css@@ -7,7 +7,7 @@.homepage-github-stars { display: inline-flex; gap: 9px; align-items: center; min-height: 28px; margin-top: -12px; font-size: 17px; color: var(--color-ink-muted); font-variant-numeric: tabular-nums; }.homepage-github-star { color: #f69232; }.homepage-github-link:hover .homepage-github-stars { color: var(--color-ink); }-.homepage-open-source h2 { margin: calc(44 * var(--graphic-unit)) 0 0; font-family: 'Roboto Slab Variable', display, serif; font-size: clamp(36px, min(4.5vw, 6.5svh), 60px); font-weight: 315; line-height: 1.12; letter-spacing: -.025em; }+.homepage-open-source h2 { margin: calc(44 * var(--graphic-unit)) 0 0; font-family: 'Roboto Slab Variable', display, serif; font-size: clamp(36px, min(4.5vw, 6.5svh), 60px); font-weight: calc(315 + var(--cream-slab-weight-increase, 0)); line-height: 1.12; letter-spacing: -.025em; }.homepage-open-source-subtext { margin: clamp(20px, 3svh, 30px) 0 0; font-size: clamp(14px, 1.4vw, 17.5px); line-height: 1.8; color: var(--color-ink-muted); }.homepage-open-source-badges { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 4vw, 56px); margin: calc(52 * var(--graphic-unit)) auto 0; color: var(--color-ink-extra-muted); }.homepage-open-source-badges > div { display: flex; flex-direction: column; align-items: center; gap: 14px; }diff --git a/apps/marketing/src/features/marketing/components/homepage-open-source.css b/apps/marketing/src/features/marketing/components/homepage-open-source.cssindex f10860b7ce..8d445c5dce 100644--- a/apps/marketing/src/features/marketing/components/homepage-open-source.css+++ b/apps/marketing/src/features/marketing/components/homepage-open-source.css@@ -27,7 +27,7 @@.homepage-demo-carousel { position: relative; z-index: 1; margin-top: -120px; text-align: center; touch-action: pan-y; }.homepage-demo-slide-copy { min-height: 120px; display: grid; justify-items: center; align-content: start; user-select: none; cursor: grab; }.homepage-demo-slide-copy:active { cursor: grabbing; }-.homepage-demo-slide-copy h2 { margin: 0; max-width: 900px; color: #eee; font-family: 'Roboto Slab Variable', display, serif; font-size: 34px; font-weight: 315; letter-spacing: -.015em; line-height: 1.2; white-space: pre-line; }+.homepage-demo-slide-copy h2 { margin: 0; max-width: 900px; color: #eee; font-family: 'Roboto Slab Variable', display, serif; font-size: 34px; font-weight: calc(315 + var(--cream-slab-weight-increase, 0)); letter-spacing: -.015em; line-height: 1.2; white-space: pre-line; }.homepage-demo-slide-controls { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 0 12px; }.homepage-demo-carousel button { color: #999; background: transparent; border: 0; font: inherit; }.homepage-demo-carousel button:hover { color: #eee; }diff --git a/apps/marketing/src/features/marketing/components/homepage-unification.css b/apps/marketing/src/features/marketing/components/homepage-unification.cssindex 8a04cb6010..be14cc75ee 100644--- a/apps/marketing/src/features/marketing/components/homepage-unification.css+++ b/apps/marketing/src/features/marketing/components/homepage-unification.css@@ -1,7 +1,7 @@.homepage-unification { position: relative; isolation: isolate; overflow-x: clip; width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 28px; color: var(--color-ink); }.homepage-unification .feature-flow { height: clamp(280px, 36vw, 370px); }.unification-copy { position: relative; max-width: 680px; margin: 72px auto 0; text-align: center; }-.unification-copy h2, .unification-before { margin: 0; font-family: 'Roboto Slab Variable', display, serif; font-weight: 315; font-size: 48px; line-height: 1.12; letter-spacing: -.025em; }+.unification-copy h2, .unification-before { margin: 0; font-family: 'Roboto Slab Variable', display, serif; font-weight: calc(315 + var(--cream-slab-weight-increase, 0)); font-size: 48px; line-height: 1.12; letter-spacing: -.025em; }.unification-before { position: absolute; inset: 0 0 auto; visibility: hidden; }.unification-subtext { margin: 24px 0 0; font-size: 14px; line-height: 1.8; color: var(--color-ink-muted); }.unification-subtext-desktop { display: none; }diff --git a/apps/marketing/src/features/marketing/components/pricing/savings-calculator.css b/apps/marketing/src/features/marketing/components/pricing/savings-calculator.cssindex 20d873c6b1..ff326d77a8 100644--- a/apps/marketing/src/features/marketing/components/pricing/savings-calculator.css+++ b/apps/marketing/src/features/marketing/components/pricing/savings-calculator.css@@ -19,7 +19,7 @@.pricing-savings-price span { margin-left: 2px; color: var(--ps-ink-muted); font-size: 12px; font-weight: 400; }.pricing-savings-summary { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 28px; padding: 28px; border: 1px solid var(--ps-edge-muted); border-radius: 20px; background: var(--ps-panel); }.pricing-savings-result { display: flex; flex-direction: column; gap: 6px; margin: 0; color: var(--ps-ink-muted); font: 400 14px/1.6 Inter, body; text-wrap: balance; }-.pricing-savings-result strong { margin: 4px 0 2px; overflow-wrap: anywhere; color: var(--ps-ink); font: 315 52px/1.05 display; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }+.pricing-savings-result strong { margin: 4px 0 2px; overflow-wrap: anywhere; color: var(--ps-ink); font: calc(315 + var(--cream-slab-weight-increase, 0)) 52px/1.05 display; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }.pricing-savings-seats { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--ps-edge-muted); color: var(--ps-ink-muted); font: 400 14px/1.5 Inter, body; }.pricing-savings-stepper { display: inline-flex; align-items: center; padding: 2px; border: 1px solid var(--ps-edge-muted); border-radius: 999px; }.pricing-savings-stepper button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--ps-ink-muted); }diff --git a/apps/marketing/src/features/marketing/components/product/product-page.css b/apps/marketing/src/features/marketing/components/product/product-page.cssindex 5188cc7e9a..75705a77cc 100644--- a/apps/marketing/src/features/marketing/components/product/product-page.css+++ b/apps/marketing/src/features/marketing/components/product/product-page.css@@ -6,14 +6,14 @@.product-page .homepage-section-break p { max-width: 100%; margin-inline: 0; white-space: pre-line; text-wrap: wrap; }.product-page .feature-page-visual { width: min(872px, calc(100% - 48px)); }.product-page .feature-page-jump-links { width: min(872px, calc(100% - 48px)); margin-inline: auto; border: 0; padding-block: 12px 32px; }-.product-page .email-feature-graphic { width: 180px; height: 112px; color: #b8b8b3; }-.product-prose { width: min(var(--product-measure), 100%); margin: 28px auto 0; padding-inline: 24px; color: #a3a3a3; font: 400 15px/1.85 'Inter Variable', Inter, sans-serif; }+.product-page .email-feature-graphic { width: 180px; height: 112px; color: var(--color-ink-muted); }+.product-prose { width: min(var(--product-measure), 100%); margin: 28px auto 0; padding-inline: 24px; color: var(--color-ink-muted); font: 400 15px/1.85 'Inter Variable', Inter, sans-serif; }.product-prose p + p { margin-top: 18px; }.product-page .feature-page-reading { width: min(var(--product-measure), 100%); }.product-page .feature-page-reading-rule { display: none; }.product-page .feature-page-comparison, .product-page > .homepage-feature-end { width: min(872px, calc(100% - 48px)); margin-inline: auto; }.product-demo-stage { position: relative; isolation: isolate; }-.product-demo-stage::before { content: ''; position: absolute; pointer-events: none; z-index: -1; inset: -24px -32px; background: radial-gradient(#ffffff18 .6px, transparent .6px) 0 0 / 12px 12px; mask-image: radial-gradient(ellipse, #0008, transparent 70%); }+.product-demo-stage::before { content: ''; position: absolute; pointer-events: none; z-index: -1; inset: -24px -32px; background: radial-gradient(color-mix(in srgb, var(--color-ink) 9%, transparent) .6px, transparent .6px) 0 0 / 12px 12px; mask-image: radial-gradient(ellipse, #0008, transparent 70%); }.product-page .product-demo { height: var(--demo-h, 580px); border-radius: 16px; overflow: hidden; background-color: var(--color-panel); box-shadow: var(--glass-shadow); }.product-demo > .dummy-main { height: 100%; }.product-demo .sample-chat-log { padding: 32px; }diff --git a/apps/marketing/src/features/marketing/components/sales/DemoBookingEmbed.tsx b/apps/marketing/src/features/marketing/components/sales/DemoBookingEmbed.tsxindex 9789c6002b..de11100a35 100644--- a/apps/marketing/src/features/marketing/components/sales/DemoBookingEmbed.tsx+++ b/apps/marketing/src/features/marketing/components/sales/DemoBookingEmbed.tsx@@ -72,9 +72,9 @@ function loadCal(): CalApi {const CREAM_BRAND = '#1d1c1a';const creamThemeVars = {'cal-bg': '#faf8f3',- 'cal-bg-emphasis': '#ece8df',- 'cal-bg-subtle': '#f2eee6',- 'cal-bg-muted': '#f2eee6',+ 'cal-bg-emphasis': '#fdfcfb',+ 'cal-bg-subtle': '#fcfbf8',+ 'cal-bg-muted': '#fcfbf8','cal-bg-inverted': '#1d1c1a','cal-border': '#1d1c1a1a','cal-border-default': '#1d1c1a1a',diff --git a/apps/marketing/src/features/marketing/components/sales/sales-calculator.css b/apps/marketing/src/features/marketing/components/sales/sales-calculator.cssindex 6258334567..dd11d1d666 100644--- a/apps/marketing/src/features/marketing/components/sales/sales-calculator.css+++ b/apps/marketing/src/features/marketing/components/sales/sales-calculator.css@@ -30,7 +30,7 @@.sales-calc-lines s { text-decoration-color: color-mix(in srgb, var(--color-ink) 50%, transparent); }.sales-calc-lines strong { color: var(--color-ink); font-weight: 500; }.sales-calc-saved { display: grid; justify-items: center; gap: 4px; padding-top: 20px; border-top: 1px solid var(--color-edge-muted); color: var(--color-ink-muted); font-size: 14px; text-align: center; }-.sales-calc-saved strong { color: var(--color-ink); font: 315 clamp(48px, 14vw, 64px)/1.1 'Roboto Slab Variable', display, serif; letter-spacing: -.035em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }+.sales-calc-saved strong { color: var(--color-ink); font: calc(315 + var(--cream-slab-weight-increase, 0)) clamp(48px, 14vw, 64px)/1.1 'Roboto Slab Variable', display, serif; letter-spacing: -.035em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }.sales-calc-even { padding-top: 20px; border-top: 1px solid var(--color-edge-muted); color: var(--color-ink-muted); font-size: 15px; line-height: 1.6; text-align: center; text-wrap: balance; }.sales-calc-result .homepage-hero-cta { width: 100%; color: #000; }/* Beats `.feature-page p { margin: 0 }` without !important. */diff --git a/apps/marketing/src/features/marketing/components/site-navigation.css b/apps/marketing/src/features/marketing/components/site-navigation.cssindex 0baf43c24d..74911ee011 100644--- a/apps/marketing/src/features/marketing/components/site-navigation.css+++ b/apps/marketing/src/features/marketing/components/site-navigation.css@@ -3,6 +3,8 @@--nav-muted: #b8b8bd;--nav-surface: rgb(18 18 20 / 78%);--nav-edge: rgb(255 255 255 / 13%);+ --nav-menu-surface: rgb(21 21 23 / 96%);+ --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);font-weight: 400;@@ -22,7 +24,7 @@.site-menu-mark > span { position: absolute; inset: 0; background: currentColor; transition: clip-path 440ms cubic-bezier(.22,1,.36,1); }.site-menu-mark > span:nth-child(2) { transition-delay: 35ms; }.site-menu-mark > span:nth-child(3) { transition-delay: 70ms; }-.site-menu-panel { position: absolute; top: calc(100% + 12px); left: 0; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 24px; width: min(560px, calc(100vw - 64px)); max-height: calc(100dvh - 140px); overflow-y: auto; padding: 24px; box-sizing: border-box; border-radius: 24px; background: rgb(21 21 23 / 96%); border: 1px solid var(--nav-edge); box-shadow: 0 20px 60px #000a, inset 0 1px 0 #ffffff12; backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); animation: site-menu-in 180ms ease-out; }+.site-menu-panel { position: absolute; top: calc(100% + 12px); left: 0; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 24px; width: min(560px, calc(100vw - 64px)); max-height: calc(100dvh - 140px); overflow-y: auto; padding: 24px; box-sizing: border-box; border-radius: 24px; background: var(--nav-menu-surface); border: 1px solid var(--nav-edge); box-shadow: var(--nav-menu-shadow); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); animation: site-menu-in 180ms ease-out; }.site-menu-group h2 { margin: 0 0 12px; padding: 0 10px; font: inherit; font-size: 11px; color: var(--nav-muted); }.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; }@@ -89,7 +91,7 @@position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column;width: 100%; height: 100dvh; max-height: none; gap: 26px;padding: calc(84px + env(safe-area-inset-top, 0px)) 20px calc(28px + env(safe-area-inset-bottom, 0px));- border: 0; border-radius: 0; background: #000; box-shadow: none;+ border: 0; border-radius: 0; background: var(--nav-menu-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);}diff --git a/apps/marketing/src/features/marketing/components/workspace-story.css b/apps/marketing/src/features/marketing/components/workspace-story.cssindex 8aa0cf5b4d..d817c9a5c3 100644--- a/apps/marketing/src/features/marketing/components/workspace-story.css+++ b/apps/marketing/src/features/marketing/components/workspace-story.css@@ -45,7 +45,7 @@.homepage-feature-heading { margin-bottom: 56px; text-align: center; }.homepage-feature-title { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 20px; }#coding-agents .homepage-feature-title { flex-direction: column; }-.homepage-feature-heading h2 { text-wrap: balance; margin: 0; color: var(--color-ink); font-family: 'Roboto Slab Variable', display, serif; font-size: clamp(28px, 3.2vw, 40px); font-weight: 315; line-height: 1.25; letter-spacing: -.035em; }+.homepage-feature-heading h2 { text-wrap: balance; margin: 0; color: var(--color-ink); font-family: 'Roboto Slab Variable', display, serif; font-size: clamp(28px, 3.2vw, 40px); font-weight: calc(315 + var(--cream-slab-weight-increase, 0)); line-height: 1.25; letter-spacing: -.035em; }.homepage-section-break { display: flex; align-items: center; gap: 24px; width: 100%; color: var(--color-ink-placeholder); font: 400 14px/1.65 'Inter Variable', Inter, sans-serif; }.homepage-section-break > span { flex: 1; height: 1px; background: color-mix(in srgb, var(--color-ink) 16%, transparent); }.homepage-section-break p { flex: 0 1 440px; min-width: 0; margin: 0; color: inherit; text-wrap: balance; }diff --git a/apps/marketing/src/features/marketing/components/workspace/dummy-workspace.css b/apps/marketing/src/features/marketing/components/workspace/dummy-workspace.cssindex 60ae29d4a9..d2b99347ea 100644--- a/apps/marketing/src/features/marketing/components/workspace/dummy-workspace.css+++ b/apps/marketing/src/features/marketing/components/workspace/dummy-workspace.css@@ -239,3 +239,10 @@ html:has(.dummy-route[data-embedded=true]), html:has(.dummy-route[data-embedded=.chat-sidebar-conversations .chat-sidebar-group[data-open=true] { flex:1; min-height:0; }.chat-sidebar-conversations .chat-sidebar-group nav { min-height:0; flex-shrink:1; overflow:auto; }.chat-sidebar-group-heading { flex-shrink:0; }++/* The homepage sidebar is a fixed preview; wheel gestures belong to the page. */+.dummy-route[data-embedded=true] .dummy-sidebar [data-view-sidebar-content],+.dummy-route[data-embedded=true] .dummy-sidebar .dummy-scroll,+.dummy-route[data-embedded=true] .dummy-sidebar .chat-sidebar-group nav {+ overflow: clip;+}diff --git a/apps/marketing/src/features/marketing/views/SalesPage.tsx b/apps/marketing/src/features/marketing/views/SalesPage.tsxindex e20da96dcc..7908c5d937 100644--- a/apps/marketing/src/features/marketing/views/SalesPage.tsx+++ b/apps/marketing/src/features/marketing/views/SalesPage.tsx@@ -1,9 +1,8 @@-import { onCleanup } from 'solid-js';-import { isServer } from 'solid-js/web';import { handleDemoClick } from '../../../app/utils/utilCta';import { setPageSeo } from '../../../app/utils/utilSeo';import { FeatureConstellation } from '../../setup/components/FeatureOverview';import { WelcomeStep } from '../../setup/components/WelcomeSteps';+import { createSitePalette } from '../../setup/sitePalette';import { FeaturePage } from '../components/FeaturePage';import { HomepageTrustBadges } from '../components/HomepageTrustBadges';import { DemoBookingEmbed } from '../components/sales/DemoBookingEmbed';@@ -57,25 +56,11 @@ export function RouteTour() {path: '/tour',noindex: true,});- // `?theme=cream` previews the page in the cream palette (cream-preview.css).- const cream =- !isServer &&- new URLSearchParams(window.location.search).get('theme') === 'cream';- if (cream) {- const root = document.documentElement;- const previousLight = root.dataset.themeLight;- root.dataset.palette = 'cream';- // Light glass (white rims, softer shadows) is keyed off <html>.- root.dataset.themeLight = 'true';- onCleanup(() => {- delete root.dataset.palette;- if (previousLight === undefined) delete root.dataset.themeLight;- else root.dataset.themeLight = previousLight;- });- }+ const palette = createSitePalette();+ const cream = () => palette() === 'cream';return (- <FeaturePage light={cream}>+ <FeaturePage><div class="homepage-sections tour-page"><div class="homepage-sections-inner">{/* The homepage hero inside `OnboardingShell`'s palette and card. */}@@ -168,7 +153,7 @@ export function RouteTour() {title="See how to grow your business faster."description="A 30-minute call with our CEO or a member of our team. Pick a time below."/>- <DemoBookingEmbed id="tour-booking" cream={cream} />+ <DemoBookingEmbed id="tour-booking" cream={cream()} /></section><footer class="tour-footer">diff --git a/apps/marketing/src/features/setup/cream-preview.css b/apps/marketing/src/features/setup/cream-preview.cssindex 0b3e101899..48e06e3993 100644--- a/apps/marketing/src/features/setup/cream-preview.css+++ b/apps/marketing/src/features/setup/cream-preview.css@@ -1,18 +1,24 @@-/* Cream homepage preview, enabled with `?theme=cream` (see preview.tsx).- Palette sampled from the cream ad set: page #f5f1e8, rail #efebe3, panels- #e8e5dc, tiles #dfdbd3, body #54524f, labels #72706c, near-black ink.+/* Cream palette for the public website, /start, and the sample workspace.+ Applied when the OS or browser prefers light mode (see sitePalette.ts).+ Palette sampled from the cream ad set: page #f5f1e8, with brighter, less saturated+ raised surfaces; body #54524f, labels #72706c, near-black ink.Everything is scoped to html[data-palette=cream]; the dark site is unchanged. */html[data-palette='cream'] {- /* Shared website tokens (dark-theme.css). Surfaces 1–4 mix toward ink, so- they land on the rail, panel, and tile beiges. */+ /* Override every surface level: the frozen dark palette defines each one. */--color-surface-0: #f5f1e8;+ --color-surface-1: #faf8f3;+ --color-surface-2: #fcfbf8;+ --color-surface-3: #fdfcfb;+ --color-surface-4: #fefefd;--color-content-0: oklch(0.2 0.004 70deg);--color-content-1: #54524f;--color-content-2: #72706c;--color-content-3: #8f8c86;--color-content-4: #a29f98;- --color-chrome: #efebe3;+ --color-chrome: #faf8f3;+ --color-edge: #d9d4ca;+ --color-edge-muted: #e6e1d7;--color-accent: oklch(0.2 0.004 70deg);background: #f5f1e8;color-scheme: light;@@ -22,16 +28,17 @@ html[data-palette='cream'] {:root and again on each scoped copy, so set their inputs on both. */html[data-palette='cream'],html[data-palette='cream'] :is(.homepage-sections, .feature-page) {- --b0l: 0.959; --b0c: 0.011; --b0h: 85deg;- --b1l: 0.937; --b1c: 0.011; --b1h: 85deg;- --b2l: 0.913; --b2c: 0.011; --b2h: 85deg;- --b3l: 0.887; --b3c: 0.010; --b3h: 85deg;- --b4l: 0.78; --b4c: 0.010; --b4h: 85deg;- --c0l: 0.15; --c0c: 0.004; --c0h: 70deg;- --c1l: 0.2; --c1c: 0.004; --c1h: 70deg;- --c2l: 0.36; --c2c: 0.005; --c2h: 70deg;- --c3l: 0.45; --c3c: 0.005; --c3h: 70deg;- --c4l: 0.54; --c4c: 0.006; --c4h: 75deg;+ --a0l: 0.2 !important; --a0c: 0.004 !important; --a0h: 70deg !important;+ --b0l: 0.959 !important; --b0c: 0.011 !important; --b0h: 85deg !important;+ --b1l: .981 !important; --b1c: .007 !important; --b1h: 85deg !important;+ --b2l: .988 !important; --b2c: .004 !important; --b2h: 85deg !important;+ --b3l: .992 !important; --b3c: .002 !important; --b3h: 85deg !important;+ --b4l: .997 !important; --b4c: .001 !important; --b4h: 85deg !important;+ --c0l: 0.15 !important; --c0c: 0.004 !important; --c0h: 70deg !important;+ --c1l: 0.2 !important; --c1c: 0.004 !important; --c1h: 70deg !important;+ --c2l: 0.36 !important; --c2c: 0.005 !important; --c2h: 70deg !important;+ --c3l: 0.45 !important; --c3c: 0.005 !important; --c3h: 70deg !important;+ --c4l: 0.54 !important; --c4c: 0.006 !important; --c4h: 75deg !important;}html[data-palette='cream'] body { background: #f5f1e8; color: var(--color-ink); }@@ -53,20 +60,22 @@ html[data-palette='cream'] .site-page-vignette::after { background: linear-gradihtml[data-palette='cream'] .site-header {--nav-ink: #1d1c1a;--nav-muted: #72706c;- --nav-surface: rgb(236 232 223 / 85%);+ --nav-surface: rgb(250 248 243 / 85%);+ --nav-menu-surface: var(--color-surface-2);+ --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; }-html[data-palette='cream'] .site-nav-demo::after { background: linear-gradient(135deg, #ffffffb3 0%, #ffffff40 24%, #0000000a 60%, #0000001f 100%); }+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; }-/* The white primary button reads as a raised cream-white pill; keep it, but- give it the ink-colored edge the ads use. */-html[data-palette='cream'] .site-nav-start { box-shadow: inset 0 1px 0 #fff, inset 0 -2px 2px #0000000f, 0 0 0 1px #1d1c1a14, 0 10px 24px -14px #1d1c1a59; }+/* 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: #ece8df; color: #1d1c1a; box-shadow: 0 10px 40px -12px #1d1c1a26; }+html[data-palette='cream'] .homepage-email-surface { background: var(--color-surface-1); color: #1d1c1a; box-shadow: 0 10px 40px -12px #1d1c1a26; }html[data-palette='cream'] .homepage-email-surface::after { border-color: #1d1c1a0d; background: linear-gradient(135deg, #ffffff80, transparent 45%) border-box; }html[data-palette='cream'] .homepage-email-row { border-bottom-color: #1d1c1a12; }html[data-palette='cream'] .homepage-email-row input { color: #1d1c1a; }@@ -76,22 +85,24 @@ html[data-palette='cream'] .homepage-email-toolbar button.homepage-email-send:dihtml[data-palette='cream'] .homepage-email-format button { background: #1d1c1a0a; }/* ---- Collaborative document ------------------------------------------ */-html[data-palette='cream'] .homepage-collaborative-doc .mds-card { background: #ece8df; box-shadow: 0 10px 40px -12px #1d1c1a26; }+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; }/* ---- Spreadsheet ----------------------------------------------------- */+html[data-palette='cream'] .homepage-spreadsheet { box-shadow: 0 10px 40px -12px #1d1c1a26; }html[data-palette='cream'] .homepage-sheet-editor { background: #faf8f3; color: #1d1c1a; }html[data-palette='cream'] :is(.homepage-sheet-toolbar, .homepage-sheet-formula, .homepage-sheet-formula input:first-child) { border-color: #1d1c1a14; }html[data-palette='cream'] .homepage-sheet-tool:hover:not(:disabled),html[data-palette='cream'] .homepage-sheet-tool[aria-pressed=true] { color: #1d1c1a; background: #1d1c1a0d; }html[data-palette='cream'] :is(.homepage-sheet-tool, .homepage-sheet-font-size):focus-visible { outline-color: #1d1c1a; }-html[data-palette='cream'] .homepage-sheet-menu { background: #ece8df; border-color: #1d1c1a14; }+html[data-palette='cream'] .homepage-sheet-menu { background: var(--color-surface-1); border-color: #1d1c1a14; }html[data-palette='cream'] .homepage-sheet-divider { background: #1d1c1a14; }html[data-palette='cream'] .homepage-sheet-font-size { border-color: #1d1c1a14; color: #1d1c1a; }html[data-palette='cream'] .homepage-sheet-formula input { color: #1d1c1a; }html[data-palette='cream'] .homepage-sheet-formula svg { color: #8f8c86; }-html[data-palette='cream'] :is(.homepage-sheet-column-row, .homepage-sheet-row > [role=rowheader], .homepage-sheet-footer) { background: #efebe3; color: #72706c; }+html[data-palette='cream'] :is(.homepage-sheet-column-row, .homepage-sheet-row > [role=rowheader], .homepage-sheet-footer) { background: var(--color-surface-1); color: #72706c; }+html[data-palette='cream'] .homepage-sheet-column-row > div { color: var(--color-ink-muted); }html[data-palette='cream'] :is(.homepage-sheet-column-row > div, .homepage-sheet-row > [role=rowheader], .homepage-sheet-cell) { border-color: #1d1c1a12; }html[data-palette='cream'] .homepage-sheet-column-row > div.homepage-sheet-column-selected { background: #1d1c1a0a; color: #1d1c1a; }html[data-palette='cream'] .homepage-sheet-cell[aria-selected=true] { box-shadow: inset 0 0 0 2px #1d1c1a; }@@ -102,21 +113,27 @@ html[data-palette='cream'] .homepage-sheet-tab { border-bottom-color: #1d1c1a; bhtml[data-palette='cream'] .homepage-sheet-add-rows { background: #1d1c1a08; border-color: #1d1c1a14; }/* ---- GitHub / open source -------------------------------------------- */-html[data-palette='cream'] .homepage-github-mark { background: #dfdbd3; box-shadow: 0 0 0 7px #1d1c1a05; color: #1d1c1a; }+html[data-palette='cream'] .homepage-github-mark { background: var(--color-surface-3); box-shadow: 0 0 0 7px #1d1c1a05; color: #1d1c1a; }html[data-palette='cream'] .homepage-embedded-window { background: #faf8f3; border-color: #1d1c1a1a; box-shadow: 0 32px 70px -24px #1d1c1a40; }html[data-palette='cream'] .homepage-embedded-stage::after { background: linear-gradient(to bottom, transparent, #f5f1e855 35%, #f5f1e8bb 65%, #f5f1e8 96%); }html[data-palette='cream'] .homepage-demo-slide-copy h2 { color: #1d1c1a; }-/* ---- Sample workspace (/demo?theme=cream, embedded on the homepage) ----+/* ---- Sample workspace (/demo, embedded on the homepage) ----------------RouteDemo injects the dark palette on .dummy-route via @scope; outrank it. */.dummy-route[data-palette='cream'] {--color-surface-0: #f5f1e8;+ --color-surface-1: #faf8f3;+ --color-surface-2: #fcfbf8;+ --color-surface-3: #fdfcfb;+ --color-surface-4: #fefefd;--color-content-0: oklch(0.2 0.004 70deg);--color-content-1: #54524f;--color-content-2: #72706c;--color-content-3: #8f8c86;--color-content-4: #a29f98;- --color-chrome: #efebe3;+ --color-chrome: #faf8f3;+ --color-edge: #d9d4ca;+ --color-edge-muted: #e6e1d7;--color-accent: oklch(0.2 0.004 70deg);--glass-tint: white;--glass-shade-color: var(--color-content-0);@@ -147,30 +164,45 @@ html[data-palette='cream'] .homepage-demo-slide-dot span { background: #cfcac0;html[data-palette='cream'] .homepage-demo-slide-dot[aria-pressed=true] span { background: #1d1c1a; }/* ---- Chat bubbles ------------------------------------------------------- Glass draws a white top highlight and white rim, which on cream reads as a- ragged pale edge. Give the top a faint ink edge that mirrors the bottom one,- and an even ink rim, a touch stronger at the top and bottom. */-html[data-palette='cream'] [data-user-message-bubble] {- box-shadow: inset 0 1px 0 #1d1c1a0f, inset 0 -1px 0 #1d1c1a14, 0 14px 32px -22px #1d1c1a47;+ Match dark mode's hierarchy with warm cream tones: sent messages have a+ stronger fill, while received messages stay close to the page surface. */+html[data-palette='cream'] [data-user-message-bubble],+html[data-palette='cream'] .homepage-message [data-user-message-bubble] {+ background: #e9e3d9;+ border: 0;+ outline: 1px solid #1d1c1a0a;+ outline-offset: -1px;+ box-shadow: 0 6px 22px -8px #1d1c1a0d;+ backdrop-filter: none;+}+html[data-palette='cream'] [data-user-message-bubble].glass,+html[data-palette='cream'] .homepage-message[data-side=peer] [data-user-message-bubble] {+ background: #faf8f3;+ outline-color: #1d1c1a08;}-/* An even base edge all the way round, so the sides match the top and bottom. */+html[data-palette='cream'] [data-user-message-bubble]::before,html[data-palette='cream'] [data-user-message-bubble]::after {- background: linear-gradient(to bottom, #1d1c1a0a 0%, transparent 35%, transparent 65%, #1d1c1a0c 100%);- background-color: #1d1c1a12;+ content: none;}-/* ---- Public feature pages (/tour?theme=cream) ---------------------------+/* ---- Public feature pages (/tour) ----------------------------------------FeaturePage scopes the dark palette onto .feature-page with @scope; thisselector outranks it. Pages also set OnboardingShell's palette inline onhero and heading wrappers, so those need !important. */html[data-palette='cream'] .feature-page {--color-surface-0: #f5f1e8;+ --color-surface-1: #faf8f3;+ --color-surface-2: #fcfbf8;+ --color-surface-3: #fdfcfb;+ --color-surface-4: #fefefd;--color-content-0: oklch(0.2 0.004 70deg);--color-content-1: #54524f;--color-content-2: #72706c;--color-content-3: #8f8c86;--color-content-4: #a29f98;- --color-chrome: #efebe3;+ --color-chrome: #faf8f3;+ --color-edge: #d9d4ca;+ --color-edge-muted: #e6e1d7;--color-accent: oklch(0.2 0.004 70deg);background: #f5f1e8;color: #1d1c1a;@@ -192,10 +224,10 @@ html[data-palette='cream'] .sales-booking-embed { background: #faf8f3; box-shadoon <html>; only !important outranks inline declarations. */html[data-palette='cream'] {--b0l: 0.959 !important; --b0c: 0.011 !important; --b0h: 85deg !important;- --b1l: 0.937 !important; --b1c: 0.011 !important; --b1h: 85deg !important;- --b2l: 0.913 !important; --b2c: 0.011 !important; --b2h: 85deg !important;- --b3l: 0.887 !important; --b3c: 0.010 !important; --b3h: 85deg !important;- --b4l: 0.78 !important; --b4c: 0.010 !important; --b4h: 85deg !important;+ --b1l: .981 !important; --b1c: .007 !important; --b1h: 85deg !important;+ --b2l: .988 !important; --b2c: .004 !important; --b2h: 85deg !important;+ --b3l: .992 !important; --b3c: .002 !important; --b3h: 85deg !important;+ --b4l: .997 !important; --b4c: .001 !important; --b4h: 85deg !important;--c0l: 0.15 !important; --c0c: 0.004 !important; --c0h: 70deg !important;--c1l: 0.2 !important; --c1c: 0.004 !important; --c1h: 70deg !important;--c2l: 0.36 !important; --c2c: 0.005 !important; --c2h: 70deg !important;@@ -204,3 +236,389 @@ html[data-palette='cream'] {}html[data-palette='cream'] :is(#root, #app-scroll-root) { background: #f5f1e8; }html[data-palette='cream'] .site-menu-trigger { color: #1d1c1a; }++/* Shared product walkthroughs and public-page copy use the same light surfaces+ as the homepage, including the menus revealed by interaction. */+html[data-palette='cream'] :is(+ .mail-sharing-stage .mail-app,+ .email-tags-demo .mail-app,+ .email-keyboard-stage .mail-app,+ .mail-sharing-stage .mail-share-form,+ .mail-shared-thread,+ .mail-arrived-reply,+ .crm-pipeline-frame,+ .tasks-conversation-demo .tlc-frame+) {+ background: var(--color-surface-1) !important;+ color: var(--color-ink);+}+html[data-palette='cream'] .email-tags-demo .email-auto-tag-menu {+ background: var(--color-surface-2);+ border-color: var(--color-edge);+ box-shadow: 0 16px 40px #1d1c1a26;+}+html[data-palette='cream'] :is(+ .email-tags-demo .mail-row[aria-current='true'],+ .email-keyboard-stage .mail-row[aria-current='true']+) {+ background: var(--color-active);+ box-shadow: inset 2px 0 var(--color-accent);+}+html[data-palette='cream'] :is(+ .mail-shared-thread > strong,+ .chat-shortcut-dock > button:hover,+ .chat-shortcut-dock > button[data-active='true'],+ .email-keyboard-stage .email-shortcut-dock > button[data-active='true'],+ .tasks-founder-letter h2,+ .tasks-founder-person strong,+ .tasks-founder-card-article,+ .tasks-founder-card:hover .tasks-founder-card-article > span:last-child,+ .feature-page-jump-links a:hover .email-feature-graphic+) { color: var(--color-ink); }+html[data-palette='cream'] :is(+ .chat-shortcut-dock,+ .chat-shortcut-dock > button,+ .email-shortcut-dock,+ .email-shortcut-dock > button,+ .email-feature-prose,+ .feature-comparison-key,+ .tasks-founder-letter,+ .tasks-founder-letter footer,+ .tasks-founder-person span,+ .tasks-founder-card-article > span:last-child,+ .homepage-email-bcc,+ .homepage-email-generating,+ .homepage-email-toolbar button,+ .homepage-email-sent,+ .email-desktop-caption,+ .homepage-demo-carousel button,+ .homepage-demo-launch+) { color: var(--color-ink-muted); }+html[data-palette='cream'] .homepage-history-caption { color: #aaa; }+html[data-palette='cream'] .homepage-history-caption > span { color: var(--color-ink-muted); }+html[data-palette='cream'] .homepage-history svg text { fill: var(--color-ink-muted); }+html[data-palette='cream'] .homepage-history .docs-timeline-stamp { fill: #42658a; }+html[data-palette='cream'] .homepage-embedded-loading { color: var(--color-ink-muted); }+html[data-palette='cream'] :is(+ .mail-shared-thread-label,+ .mail-shared-thread-label > span,+ .mail-shared-thread-preview,+ .mail-shared-thread-footer,+ .mail-arrived-reply header span,+ .email-tag-count+) { color: var(--color-ink-muted); }+html[data-palette='cream'] :is(.chat-shortcut-dock, .email-shortcut-dock) kbd {+ background: linear-gradient(#fefefd, #faf8f3);+ color: var(--color-ink);+ box-shadow: inset 0 1px #fff, inset 0 0 0 1px #1d1c1a14, 0 3px 0 #d9d4ca;+}+html[data-palette='cream'] :is(.chat-shortcut-dock, .email-shortcut-dock) > button[data-active='true'] kbd {+ background: var(--color-ink);+ color: var(--color-surface-0);+}+html[data-palette='cream'] .email-desktop-window {+ background: var(--color-surface-0);+ border-color: var(--color-edge);+}+html[data-palette='cream'] .email-desktop-demo .email-desktop-titlebar {+ background: var(--color-surface-1);+ color: var(--color-ink-muted);+ border-color: var(--color-edge);+}+html[data-palette='cream'] .email-desktop-titlebar a { color: var(--color-ink-muted); }+html[data-palette='cream'] .email-desktop-titlebar a:hover { color: var(--color-ink); }+html[data-palette='cream'] .email-desktop-demo[data-hero-frame=true] .email-desktop-wallpaper {+ background: #ebe6dc;+}+html[data-palette='cream'] .email-desktop-demo[data-hero-frame=true] .email-desktop-wallpaper::before {+ background: radial-gradient(ellipse at 8% 20%, #e7dfd2, transparent 53%),+ radial-gradient(ellipse at 72% 0%, #dde3da, transparent 55%), #ebe6dc;+ filter: none;+}+html[data-palette='cream'] .sales-calc-tools button[aria-pressed=true] .sales-calc-check {+ color: var(--color-surface-0);+}+html[data-palette='cream'] .dummy-banner {+ background: var(--color-surface-1);+ color: var(--color-ink-muted);+}+html[data-palette='cream'] :is(.tasks-founder-card, .homepage-demo-modal) {+ background: var(--color-surface-1);+ border-color: var(--color-edge);+ color: var(--color-ink);+}+html[data-palette='cream'] :is(.tasks-page .tasks-founder-letter blockquote, .tasks-page .product-prose a) {+ color: var(--color-ink-muted);+}+html[data-palette='cream'] .tasks-founder-card-article { border-color: var(--color-edge); }+html[data-palette='cream'] .tasks-founder-card:hover { border-color: var(--color-ink-muted); }+html[data-palette='cream'] :is(.homepage-demo-titlebar, .homepage-demo-frame) {+ background: var(--color-surface-1);+ border-color: var(--color-edge);+}+html[data-palette='cream'] :is(.homepage-demo-titlebar h2, .homepage-demo-titlebar .homepage-demo-close, .homepage-demo-loading) {+ color: var(--color-ink-muted);+}+html[data-palette='cream'] .downloads-header p { color: var(--color-ink-muted); }+html[data-palette='cream'] :is(.downloads-release a, .downloads-page .downloads-version) {+ color: var(--color-ink-subtle);+}+html[data-palette='cream'] .downloads-release a:hover { color: var(--color-ink); }++/* Status colors and small labels need darker values on light surfaces. Repeat+ at scoped UI roots so their frozen dark tokens cannot shadow the palette. */+html[data-palette='cream'],+html[data-palette='cream'] .feature-page,+html[data-palette='cream'] .workspace-demo,+.dummy-route[data-palette='cream'] {+ --color-accent: oklch(0.2 0.004 70deg);+ --color-content-3: #72706c;+ --color-content-4: #72706c;+ --color-red: oklch(0.5 0.17 25deg);+ --color-orange: oklch(0.5 0.13 48deg);+ --color-amber: oklch(0.48 0.1 70deg);+ --color-yellow: oklch(0.48 0.1 86deg);+ --color-lime: oklch(0.48 0.12 130deg);+ --color-green: oklch(0.46 0.12 150deg);+ --color-teal: oklch(0.46 0.08 183deg);+ --color-cyan: oklch(0.46 0.08 215deg);+ --color-blue: oklch(0.5 0.15 260deg);+ --color-violet: oklch(0.5 0.15 293deg);+ --color-purple: oklch(0.5 0.15 304deg);+ --color-pink: oklch(0.5 0.15 354deg);+}+html[data-palette='cream'] .posts-shell {+ --post-ink: #1d1c1a;+ --post-muted: #54524f;+ --post-faint: #72706c;+ --post-rule: #d9d4ca;+}+/* Legacy CTAs set both colors inline; override the pair together. */+html[data-palette='cream'] .home-hero-cta {+ background: #faf8f3 !important;+ color: #1d1c1a !important;+}+html[data-palette='cream'] :is(.pricing-savings-note, .partners-terms-link) {+ color: #54524f;+}+html[data-palette='cream'] [data-slot='avatar'] {+ background-color: var(--color-surface-3);+ color: var(--color-ink);+}+html[data-palette='cream'] body .feature-page .email-desktop-demo[data-hero-frame=true] .email-desktop-titlebar {+ background: var(--color-surface-1);+}+html[data-palette='cream'] body .feature-page .email-desktop-demo[data-hero-frame=true] .email-desktop-wallpaper {+ background: #ebe6dc;+}+html[data-palette='cream'] body .feature-page .email-desktop-demo[data-hero-frame=true] .email-desktop-wallpaper::before {+ background: radial-gradient(ellipse at 8% 20%, #e7dfd2, transparent 53%),+ radial-gradient(ellipse at 72% 0%, #dde3da, transparent 55%), #ebe6dc;+ filter: none;+}+html[data-palette='cream'] :is(.agents-connection-path p, .agents-connection-path a, .calls-page .product-prose a, .calls-scene-picker button) {+ color: var(--color-ink-muted);+}+html[data-palette='cream'] .calls-scene-picker button[aria-pressed=true] {+ color: var(--color-ink);+ border-color: var(--color-ink);+}+html[data-palette='cream'] .pricing-savings { --ps-ink-faint: #72706c; }+html[data-palette='cream'] [class~='text-ink-extra-muted/60'] { color: #72706c; }+html[data-palette='cream'] .agents-connections :is(h3, .agents-setup-link, summary) {+ color: var(--color-ink);+}+html[data-palette='cream'] :is(.agents-connection-path, .agents-mcp-disclosure) {+ border-color: var(--color-edge);+}+html[data-palette='cream'] :is(.link-book-demo, .pdg-arrow) { color: #72706c; }+html[data-palette='cream'] .homepage-sheet-toolbar .homepage-sheet-tool {+ color: var(--color-ink-muted);+}++/* Slab display copy stays pure black across every cream page, including+ secondary headline lines that otherwise inherit a muted text color. */+html[data-palette='cream'] :is(+ h1, h2, h3,+ [class*='font-[Roboto_Slab'],+ .homepage-testimonials blockquote,+ .unification-before,+ .sales-calc-saved strong+),+html[data-palette='cream'] :is(+ h1, h2, h3,+ [class*='font-[Roboto_Slab'],+ .homepage-testimonials blockquote,+ .unification-before,+ .sales-calc-saved strong+) :is(span, em, strong, a) {+ color: #000 !important;+}++/* Orbit surfaces previously mixed dark ink into the page.+ In cream mode their lift comes from a brighter, less creamy surface. */+html[data-palette='cream'] :is(.ob-welcome-logo, .ob-orbit-tile) {+ background-color: var(--color-surface-1);+}++/* One primary CTA finish across the public site. Legacy pages use inline+ skins 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,+ .pricing-final-cta,+ .feat-lite-cta-primary,+ .email-cta-button,+ .agents-cta-button,+ .crm-cta-button,+ .channels-cta-button,+ .docs-cta-button,+ .docs-final-cta,+ .migrate-cta-button,+ .tasks-cta-button,+ .gh-cta-button,+ .calls-cta-button,+ .hero-cta-button,+ .final-bento-cta-button,+ .mobile-signup-submit+) {+ position: relative;+ border: 0 !important;+ background: linear-gradient(165deg, #fff 35%, #ededee 100%) !important;+ color: #000 !important;+ box-shadow: inset 0 1px 0 #ffffffd9, inset 0 -2px 2px #0000000d,+ 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,+ .pricing-final-cta,+ .feat-lite-cta-primary,+ .email-cta-button,+ .agents-cta-button,+ .crm-cta-button,+ .channels-cta-button,+ .docs-cta-button,+ .docs-final-cta,+ .migrate-cta-button,+ .tasks-cta-button,+ .gh-cta-button,+ .calls-cta-button,+ .hero-cta-button,+ .final-bento-cta-button,+ .mobile-signup-submit+)::after {+ content: '';+ position: absolute;+ inset: 0;+ border-radius: inherit;+ padding: 1px;+ background: linear-gradient(135deg, #ffffff98 0%, #ffffff2b 24%, #00000009 60%, #00000030 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;+}++/* CRM uses the same raised panel and soft cast shadow as the composer. The+ product 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) {+ background: var(--color-surface-1);+ box-shadow: 0 10px 40px -12px #1d1c1a26;+}+html[data-palette='cream'] .homepage-sections .homepage-crm .mds-card::before {+ background: linear-gradient(to bottom, #ffffff80, #1d1c1a0d);+}++/* Toolbar label colors must not override the contrast of the send action. */+html[data-palette='cream'] :is([data-send-button], .homepage-email-toolbar button.homepage-email-send):not(:disabled):not([data-disabled]) {+ background-color: var(--color-ink);+ color: #f5f1e8;+}++/* A colorful, warm field for cream, with a soft perimeter and a bright+ center. The existing opacity timeline still controls its entrance. */+html[data-palette='cream'] .homepage-unification {+ overflow: visible;+}+html[data-palette='cream'] .feature-flow-light {+ inset: -30.6% -25.4%;+ mask-image: radial-gradient(ellipse 50% 50% at center, #000 12%, transparent 100%);+ background:+ radial-gradient(ellipse at 48% 38%, #fff6df66 0%, #fff6df00 48%),+ radial-gradient(ellipse at 20% 42%, #eeb47b73 0%, #eeb47b00 58%),+ radial-gradient(ellipse at 78% 32%, #e6a8a366 0%, #e6a8a300 58%),+ radial-gradient(ellipse at 75% 78%, #b9c8a273 0%, #b9c8a200 60%),+ radial-gradient(ellipse at 28% 80%, #e8cb7673 0%, #e8cb7600 58%);+}+html[data-palette='cream'] .feature-flow-light::after {+ content: '';+ position: absolute;+ inset: 0;+ pointer-events: none;+ opacity: .065;+ mix-blend-mode: multiply;+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='sand'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Cpath fill='%23988c79' filter='url(%23sand)' d='M0 0h160v160H0z'/%3E%3C/svg%3E");+}+html[data-palette='cream'] .feature-flow-halo {+ background: none;+}+html[data-palette='cream'] .feature-flow-halo::after {+ content: none;+}+html[data-palette='cream'] .feature-flow-texture {+ opacity: .12;+}++html[data-palette='cream'] :is(.homepage-sidebar-connection-line, .homepage-demo-connection) path {+ stroke: #72706c80;+}++/* Translucent constellation glass lets the color field show through in cream+ just as it does in dark mode. The shared glass class owns highlights/rims. */+html[data-palette='cream'] :is(.feature-flow-icon, .feature-flow-core) {+ --glass-shade-base: 3%;+ --glass-rim-shade-base: 3%;+ --glass-rim-soft-base: 18%;+ background: linear-gradient(145deg, #fffdf5a6, #f5f1e833);+ backdrop-filter: none;+}+html[data-palette='cream'] .feature-flow-core {+ background: linear-gradient(145deg, #fffdf5c2, #f5f1e859);+}+html[data-palette='cream'] .feature-flow {+ overflow: visible;+}++/* Add weight to the existing slab styles without changing their type scale. */+html[data-palette='cream'] { --cream-slab-weight-increase: 15; }+html[data-palette='cream'] [class*='font-[Roboto_Slab'] { font-weight: 330; }+html[data-palette='cream'] .tasks-founder-card h2 { font-weight: 415; }++/* Product walkthroughs sit above the cream canvas, like the homepage composer. */+html[data-palette='cream'] :is(.product-page, .feature-page) :is(+ .product-demo,+ .email-desktop-window,+ .mail-app,+ .crm-pipeline-frame+) {+ --color-panel: #faf8f3;+ --theme-panel: #faf8f3;+ background-color: #faf8f3;+ outline: 1px solid #1d1c1a1a;+ outline-offset: -1px;+ box-shadow: 0 10px 40px -12px #1d1c1a26;+}++/* Replace the glass rim with one even outline; leave the existing bottom fade. */+html[data-palette='cream'] .product-page .product-demo::before {+ background: none;+ border: 0;+}diff --git a/apps/marketing/src/features/setup/preview.tsx b/apps/marketing/src/features/setup/preview.tsxindex 8687a497bc..f68aa6f047 100644--- a/apps/marketing/src/features/setup/preview.tsx+++ b/apps/marketing/src/features/setup/preview.tsx@@ -8,6 +8,7 @@ import { hydrate, render } from 'solid-js/web';import { analytics } from '../../app/utils/utilAnalytic';import { buildAppUrl } from '../../app/utils/utilBaseUrl';import { Homepage } from './Homepage';+import { applyPalette, onPaletteChange, preferredPalette } from './sitePalette';// The homepage does not need the account, integration, and team setup screens.const PublicOnboarding = lazy(async () => {@@ -16,7 +17,6 @@ const PublicOnboarding = lazy(async () => {});function Preview() {- document.documentElement.dataset.themeLight = cream ? 'true' : 'false';if (window.location.pathname !== '/') {const loginUrl = new URL(import.meta.env.DEV@@ -46,13 +46,9 @@ function Preview() {return <Homepage />;}-// `?theme=cream` previews the homepage in the cream palette; see cream-preview.css.-const cream =- new URLSearchParams(window.location.search).get('theme') === 'cream';-if (cream) {- document.documentElement.dataset.palette = 'cream';- document.documentElement.dataset.themeLight = 'true';-}+// Light-mode visitors get the cream palette; see sitePalette.ts.+applyPalette(preferredPalette());+onPaletteChange(applyPalette);const root = document.getElementById('root');if (root) {diff --git a/apps/marketing/src/features/setup/sitePalette.ts b/apps/marketing/src/features/setup/sitePalette.tsnew file mode 100644index 0000000000..a1fb10cc60--- /dev/null+++ b/apps/marketing/src/features/setup/sitePalette.ts@@ -0,0 +1,60 @@+import { createSignal, onCleanup } from 'solid-js';+import { isServer } from 'solid-js/web';++/**+ * The public website and `/start` render in the cream palette+ * (cream-preview.css) when the visitor's OS or browser prefers a light color+ * scheme, and in the dark palette otherwise. `?theme=cream` or `?theme=dark`+ * pins either one.+ *+ * start.html and index.html apply the same choice in an inline <head> script+ * so prerendered pages paint in the right palette; keep them in sync.+ */+export type SitePalette = 'cream' | 'dark';++const LIGHT_SCHEME = '(prefers-color-scheme: light)';+const THEME_COLOR: Record<SitePalette, string> = {+ cream: '#f5f1e8',+ dark: '#000000',+};++/** The palette `?theme=` pins, if any. */+export function pinnedPalette(): SitePalette | undefined {+ if (isServer) return undefined;+ const theme = new URLSearchParams(window.location.search).get('theme');+ return theme === 'cream' || theme === 'dark' ? theme : undefined;+}++export function preferredPalette(): SitePalette {+ if (isServer) return 'dark';+ return (+ pinnedPalette() ??+ (window.matchMedia?.(LIGHT_SCHEME).matches ? 'cream' : 'dark')+ );+}++/** Marks <html> with the palette; light glass is keyed off `data-theme-light`. */+export function applyPalette(palette: SitePalette) {+ const root = document.documentElement;+ if (palette === 'cream') root.dataset.palette = 'cream';+ else delete root.dataset.palette;+ root.dataset.themeLight = palette === 'cream' ? 'true' : 'false';+ document+ .querySelector('meta[name="theme-color"]')+ ?.setAttribute('content', THEME_COLOR[palette]);+}++/** Calls `listener` with the preferred palette whenever the OS scheme changes. */+export function onPaletteChange(listener: (palette: SitePalette) => void) {+ const query = window.matchMedia?.(LIGHT_SCHEME);+ const handle = () => listener(preferredPalette());+ query?.addEventListener('change', handle);+ return () => query?.removeEventListener('change', handle);+}++/** The preferred palette as a signal, following OS scheme changes. */+export function createSitePalette() {+ const [palette, setPalette] = createSignal(preferredPalette());+ if (!isServer) onCleanup(onPaletteChange(setPalette));+ return palette;+}diff --git a/apps/marketing/src/routes/posts/entries/code-reviews-report/CodeReviewsReport.css b/apps/marketing/src/routes/posts/entries/code-reviews-report/CodeReviewsReport.cssindex c9313f5cad..f6d433a62b 100644--- a/apps/marketing/src/routes/posts/entries/code-reviews-report/CodeReviewsReport.css+++ b/apps/marketing/src/routes/posts/entries/code-reviews-report/CodeReviewsReport.css@@ -29,7 +29,7 @@color: var(--crr-text-bright);font-family: 'display', Georgia, serif;font-size: clamp(28px, 4vw, 38px);- font-weight: 315;+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));letter-spacing: -0.02em;line-height: 1.12;margin: 68px 0 24px;diff --git a/apps/marketing/src/routes/posts/post-reading.css b/apps/marketing/src/routes/posts/post-reading.cssindex a1ed6fc4eb..a129344d44 100644--- a/apps/marketing/src/routes/posts/post-reading.css+++ b/apps/marketing/src/routes/posts/post-reading.css@@ -3,7 +3,7 @@color: var(--post-ink);font-family: 'Roboto Slab Variable', display, serif;font-size: clamp(36px, 5.4vw, 56px);- font-weight: 315;+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));letter-spacing: -0.035em;line-height: 1.16;text-wrap: balance;diff --git a/apps/marketing/src/routes/posts/posts-index.css b/apps/marketing/src/routes/posts/posts-index.cssindex b7d1792034..b813c0b46b 100644--- a/apps/marketing/src/routes/posts/posts-index.css+++ b/apps/marketing/src/routes/posts/posts-index.css@@ -15,7 +15,7 @@.posts-index-list .posts-index-hero h1 {color: var(--post-ink);- font: 315 clamp(40px, 5.4vw, 68px)/1.12 'Roboto Slab Variable', display, serif;+ font: calc(315 + var(--cream-slab-weight-increase, 0)) clamp(40px, 5.4vw, 68px)/1.12 'Roboto Slab Variable', display, serif;letter-spacing: -0.035em;}diff --git a/apps/marketing/src/routes/posts/posts-shell.css b/apps/marketing/src/routes/posts/posts-shell.cssindex 61e4f23157..828ffc5684 100644--- a/apps/marketing/src/routes/posts/posts-shell.css+++ b/apps/marketing/src/routes/posts/posts-shell.css@@ -417,7 +417,7 @@color: var(--c1);font-family: 'display', Georgia, serif;font-size: clamp(38px, 9vw, 56px);- font-weight: 315;+ font-weight: calc(315 + var(--cream-slab-weight-increase, 0));letter-spacing: normal;line-height: 1.12;margin: 0;diff --git a/apps/marketing/src/ui/components/Avatar.tsx b/apps/marketing/src/ui/components/Avatar.tsxindex 2140df1730..3ea80e295a 100644--- a/apps/marketing/src/ui/components/Avatar.tsx+++ b/apps/marketing/src/ui/components/Avatar.tsx@@ -27,7 +27,7 @@ const SQUARE_RADIUS = {export const avatarVariants = createVariants(cn('group/avatar relative flex shrink-0 select-none items-center justify-center overflow-hidden',- 'bg-ink-extra-muted has-[img:not([data-failed])]:bg-transparent text-surface'+ 'bg-surface-3 has-[img:not([data-failed])]:bg-transparent text-ink'),{size: {diff --git a/apps/marketing/src/ui/components/SendButton.tsx b/apps/marketing/src/ui/components/SendButton.tsxindex b943a6ad8f..67ef0e42ca 100644--- a/apps/marketing/src/ui/components/SendButton.tsx+++ b/apps/marketing/src/ui/components/SendButton.tsx@@ -33,6 +33,7 @@ export function SendButton(props: SendButtonProps) {variant="strong"size={local.appearance === 'composer' ? 'icon-composer' : 'icon-sm'}draggable={false}+ data-send-buttonaria-label={local['aria-label'] ?? 'Send'}tooltip={local.tooltip ?? 'Send'}class={cn(diff --git a/apps/marketing/start.html b/apps/marketing/start.htmlindex ca6444a07d..3ca3b03097 100644--- a/apps/marketing/start.html+++ b/apps/marketing/start.html@@ -3,7 +3,20 @@<head><link rel="preload" href="/fonts/roboto-slab-variable.woff2" as="font" type="font/woff2" crossorigin /><link rel="preload" href="/fonts/inter-variable.woff2" as="font" type="font/woff2" crossorigin /><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><title>Macro — One unified interface for all your work.</title><link rel="icon" href="/macro-favicon.svg" type="image/svg+xml" /><meta name="theme-color" content="#000000" />- <style>html,body{margin:0;background:#000;color:#fff}</style>+ <style>html,body{margin:0;background:#000;color:#fff}html[data-palette=cream],html[data-palette=cream] body{background:#f5f1e8;color:#1d1c1a}</style>+ <script>+ // First-paint palette, so the prerendered homepage never flashes dark in+ // light mode. Mirrors src/features/setup/sitePalette.ts.+ (function () {+ var theme = new URLSearchParams(location.search).get('theme');+ var cream = theme === 'cream' || (theme !== 'dark' && matchMedia('(prefers-color-scheme: light)').matches);+ var root = document.documentElement;+ root.dataset.themeLight = String(cream);+ if (!cream) return;+ root.dataset.palette = 'cream';+ document.querySelector('meta[name="theme-color"]').content = '#f5f1e8';+ })();+ </script><script>if (location.hostname !== 'localhost' && location.hostname !== '127.0.0.1') {!function(f,b,e,v,n,t,s)diff --git a/apps/web/src/features/onboarding/browser-test/README.md b/apps/web/src/features/onboarding/browser-test/README.mdindex fe5aec15c5..5690e58c75 100644--- a/apps/web/src/features/onboarding/browser-test/README.md+++ b/apps/web/src/features/onboarding/browser-test/README.md@@ -23,6 +23,8 @@ To click through by hand, start the fixture and open `http://127.0.0.1:3021/`:bunx vite --config src/features/onboarding/browser-test/vite.config.ts```+- Add `&theme=cream` or `&theme=dark` to preview either palette. Without an override,+ the fixture follows the system color scheme. Overrides survive simulated redirects.- `/?view=signup` shows the signed-out slides; Google sign-up continues into the flow.- `/?view=flow&next=/channel/x` shows the signed-in flow with a deep link.diff --git a/apps/web/src/features/onboarding/browser-test/fixture-keys.ts b/apps/web/src/features/onboarding/browser-test/fixture-keys.tsindex 6fa5c9eefc..16f5844941 100644--- a/apps/web/src/features/onboarding/browser-test/fixture-keys.ts+++ b/apps/web/src/features/onboarding/browser-test/fixture-keys.ts@@ -1,5 +1,7 @@/** sessionStorage keys shared by the fixture page and its Playwright tests. */export const FIXTURE_KEYS = {+ /** Explicit preview palette retained through simulated external redirects. */+ theme: 'onboarding-fixture:theme',/** Partial world merged over the defaults on the first load. */seed: 'onboarding-fixture:seed',/** The fake backend's current state, persisted across reloads. */diff --git a/apps/web/src/features/onboarding/browser-test/fixture.tsx b/apps/web/src/features/onboarding/browser-test/fixture.tsxindex 6cc7c05199..12a8429339 100644--- a/apps/web/src/features/onboarding/browser-test/fixture.tsx+++ b/apps/web/src/features/onboarding/browser-test/fixture.tsx@@ -34,6 +34,19 @@ const land = (landing: FixtureLanding) => {};const params = Object.fromEntries(new URLSearchParams(location.search));+if (params.theme === 'cream' || params.theme === 'dark') {+ sessionStorage.setItem(FIXTURE_KEYS.theme, params.theme);+}+const previewTheme = sessionStorage.getItem(FIXTURE_KEYS.theme);+// Preview the same local palette that the app's theme selection supplies.+const lightScheme = window.matchMedia('(prefers-color-scheme: light)');+const applyPreviewTheme = () => {+ document.documentElement.dataset.themeLight = String(+ previewTheme === 'cream' || (previewTheme !== 'dark' && lightScheme.matches)+ );+};+applyPreviewTheme();+lightScheme.addEventListener('change', applyPreviewTheme);const fake = createFakeOnboarding(loadWorld(), {onChange: saveWorld,// The inbox OAuth leaves the page and returns to bare /onboarding.diff --git a/apps/web/src/features/onboarding/browser-test/onboarding.browser.e2e.ts b/apps/web/src/features/onboarding/browser-test/onboarding.browser.e2e.tsindex f386ca337d..c9bdf65663 100644--- a/apps/web/src/features/onboarding/browser-test/onboarding.browser.e2e.ts+++ b/apps/web/src/features/onboarding/browser-test/onboarding.browser.e2e.ts@@ -109,10 +109,7 @@ test('Free, Pro, and Max appear below the unchanged trial offer', async ({name: 'Compare Free, Pro, and Max plans',});await expect(comparison).not.toBeInViewport();- await page- .getByRole('button', { name: 'Continue with Free' })- .first()- .click();+ await page.getByRole('button', { name: 'See more' }).click();await expect(comparison).toBeInViewport();for (const name of ['Free', 'Pro', 'Max']) {await expect(@@ -126,10 +123,7 @@ test('Free, Pro, and Max appear below the unchanged trial offer', async ({page.getByRole('button', { name: 'Start 30 day trial' })).toBeInViewport();await page.setViewportSize({ width: 390, height: 844 });- await page- .getByRole('button', { name: 'Continue with Free' })- .first()- .click();+ await page.getByRole('button', { name: 'See more' }).click();expect(await page.evaluate(() => document.documentElement.scrollWidth <= window.innerWidth@@ -340,3 +334,89 @@ test.describe('on a phone-sized screen', () => {await expect(heading(page, /Connect your work/)).toBeVisible();});});++for (const width of [1440, 390]) {+ for (const theme of ['cream', 'dark'] as const) {+ test(`${theme} onboarding stays readable across all steps at ${width}px`, async ({+ page,+ }) => {+ await page.setViewportSize({ width, height: 900 });+ await openFixture(page, `/?view=flow&theme=${theme}`);+ const background =+ theme === 'cream' ? 'rgb(245, 241, 232)' : 'rgb(0, 0, 0)';+ const ink = theme === 'cream' ? 'rgb(0, 0, 0)' : 'rgb(255, 255, 255)';+ for (const step of [+ 'welcome',+ 'vision',+ 'security',+ 'work',+ 'personal',+ 'tools',+ 'team',+ 'plan',+ ]) {+ await page.evaluate((step) => {+ sessionStorage.setItem(+ 'onboarding-flow-step',+ JSON.stringify({ user: 'macro|[email protected]', step })+ );+ }, step);+ await page.reload();+ await expect(page.locator('.onboarding-flow')).toHaveCSS(+ 'background-color',+ background+ );+ await expect(page.getByRole('heading', { level: 1 })).toBeVisible();+ await expect(page.getByRole('heading', { level: 1 })).toHaveCSS(+ 'color',+ ink+ );+ expect(+ await page.evaluate(+ () => document.documentElement.scrollWidth <= innerWidth+ )+ ).toBe(true);+ }+ // The explicit palette also survives a simulated Google redirect that drops query params.+ await page.evaluate(() =>+ sessionStorage.setItem(+ 'onboarding-flow-step',+ JSON.stringify({ user: 'macro|[email protected]', step: 'work' })+ )+ );+ await page.reload();+ await page.getByRole('button', { name: 'Connect work email' }).click();+ await expect(page.getByText('[email protected]')).toBeVisible();+ await expect(page.locator('.onboarding-flow')).toHaveCSS(+ 'background-color',+ background+ );+ });+ }+}++test('system theme changes keep the current onboarding step and selected accent', async ({+ page,+}) => {+ await page.emulateMedia({ colorScheme: 'dark' });+ await openFixture(page, '/?view=flow');+ await accentSwatch(page, 'Coral').click();+ await page.getByRole('button', { name: 'Get started' }).click();+ await page.emulateMedia({ colorScheme: 'light' });+ await expect(+ heading(page, 'Which features do you want to try first?')+ ).toBeVisible();+ await expect(page.locator('.onboarding-flow')).toHaveCSS(+ 'background-color',+ 'rgb(245, 241, 232)'+ );+ expect((await fakeWorld(page)).accent).toBe('#f77d67');+ await page.emulateMedia({ colorScheme: 'dark' });+ await expect(+ heading(page, 'Which features do you want to try first?')+ ).toBeVisible();+ await expect(page.locator('.onboarding-flow')).toHaveCSS(+ 'background-color',+ 'rgb(0, 0, 0)'+ );+});diff --git a/apps/web/src/features/onboarding/components/controls.tsx b/apps/web/src/features/onboarding/components/controls.tsxindex f03ca2d80f..a1a54a3f46 100644--- a/apps/web/src/features/onboarding/components/controls.tsx+++ b/apps/web/src/features/onboarding/components/controls.tsx@@ -45,16 +45,6 @@ export function FormInput(props: {);}-/** A quiet inset frame, free of gradients. */-export function NoiseBackground() {- return (- <div- aria-hidden="true"- class="pointer-events-none absolute inset-4 rounded-[32px] border border-ink/[0.04] sm:inset-6"- />- );-}-export function SkipButton(props: {label?: string;disabled?: boolean;diff --git a/apps/web/src/features/onboarding/components/onboarding-shell.tsx b/apps/web/src/features/onboarding/components/onboarding-shell.tsxindex 4d660ac9be..f909d8c8a1 100644--- a/apps/web/src/features/onboarding/components/onboarding-shell.tsx+++ b/apps/web/src/features/onboarding/components/onboarding-shell.tsx@@ -2,7 +2,6 @@ import ArrowDownIcon from '@phosphor/arrow-down.svg';import ArrowLeftIcon from '@phosphor/arrow-left.svg';import { cn } from '@ui/utils/classname';import { children, createMemo, createUniqueId, type JSX, Show } from 'solid-js';-import { NoiseBackground } from './controls';import './onboarding.css';export function OnboardingShell(props: {@@ -20,28 +19,7 @@ export function OnboardingShell(props: {const heroFooter = children(() => props.heroFooter);let details!: HTMLDivElement;return (- <div- class="onboarding-flow relative size-full overflow-hidden bg-surface font-sans text-ink"- style={{- '--color-surface': '#000',- '--color-ink': '#fff',- '--color-ink-muted': '#a8a8a8',- '--color-ink-extra-muted': '#737373',- '--color-edge': '#292929',- '--color-edge-muted': '#1c1c1c',- '--color-accent': 'var(--color-ink)',- '--color-accent-contrast': '#000',- '--color-accent-contrast-muted': '#292929',- '--color-input': '#171717',- '--color-ink-placeholder': '#737373',- '--glass-tint': '#fff',- '--glass-shade-color': '#000',- '--glass-highlight-base': '6%',- '--glass-rim-strong-base': '13.5%',- '--glass-rim-soft-base': '9%',- '--glass-rim-shade-base': '0%',- }}- >+ <div class="onboarding-flow relative size-full overflow-hidden bg-surface font-sans text-ink"><style>{/*css*/ `@keyframes obf-card-in {@@ -68,7 +46,6 @@ export function OnboardingShell(props: {`}</style>- <NoiseBackground /><header class="absolute left-6 top-5 z-50 sm:left-10"><Show when={props.onBack}><buttondiff --git a/apps/web/src/features/onboarding/components/onboarding.css b/apps/web/src/features/onboarding/components/onboarding.cssindex 0bb8f276a5..2afc1eaa6e 100644--- a/apps/web/src/features/onboarding/components/onboarding.css+++ b/apps/web/src/features/onboarding/components/onboarding.css@@ -5,3 +5,80 @@font-display: swap;src: url('../assets/roboto-slab-variable.woff2') format('woff2');}++/* Keep the onboarding palette local; the app's theme selection owns light/dark. */+.onboarding-flow {+ color-scheme: dark;+ --color-surface: #000;+ --color-ink: #fff;+ --color-ink-muted: #a8a8a8;+ --color-ink-extra-muted: #737373;+ --color-edge: #292929;+ --color-edge-muted: #1c1c1c;+ --color-accent: var(--color-ink);+ --color-accent-contrast: #000;+ --color-accent-contrast-muted: #292929;+ --color-input: #171717;+ --color-ink-placeholder: #737373;+ --glass-tint: #fff;+ --glass-shade-color: #000;+ --glass-highlight-base: 6%;+ --glass-rim-strong-base: 13.5%;+ --glass-rim-soft-base: 9%;+ --glass-rim-shade-base: 0%;+}++html[data-theme-light='true'] .onboarding-flow {+ color-scheme: light;+ --onboarding-intro-background: linear-gradient(145deg, #fdfcfb, #faf8f3);+ --onboarding-intro-shadow: 0 8px 30px -12px #1d1c1a20;+ --color-surface: #f5f1e8;+ --color-surface-0: #f5f1e8;+ --color-surface-1: #faf8f3;+ --color-surface-2: #fcfbf8;+ --color-surface-3: #fdfcfb;+ --color-surface-4: #fefefd;+ --color-panel: #faf8f3;+ --color-ink: #1d1c1a;+ --color-ink-muted: #54524f;+ --color-ink-extra-muted: #72706c;+ --color-ink-placeholder: #8f8c86;+ --color-edge: #d9d4ca;+ --color-edge-muted: #e6e1d7;+ --color-accent-contrast: #f5f1e8;+ --color-accent-contrast-muted: #e6e1d7;+ --color-input: #faf8f3;+ --glass-highlight-base: 18%;+ --glass-rim-strong-base: 18%;+ --glass-rim-soft-base: 12%;+ --glass-rim-shade-base: 3%;+ --glass-shade-base: 3%;+}++html[data-theme-light='true'] .onboarding-flow h1,+html[data-theme-light='true'] .onboarding-flow h2 {+ color: #000;+}++html[data-theme-light='true'] .onboarding-flow .onboarding-tool-icon {+ background: #faf8f3;+}++html[data-theme-light='true'] .onboarding-flow :is(.feature-flow-icon, .feature-flow-core) {+ background: linear-gradient(145deg, #fffdf5a6, #f5f1e833);+}++html[data-theme-light='true'] [data-workspace-intro] {+ --workspace-grain-opacity: 0.42;+ --workspace-accent-ring-width: 2.667px;+ --workspace-accent-ring-color: #8c8478;+}++html[data-theme-light='true'] [data-workspace-intro] [data-accent-option='Pearl'] {+ display: none;+}++/* Slightly stronger cream display type; keep the existing font metrics/layout. */+html[data-theme-light='true'] .onboarding-flow [class*='font-[Roboto_Slab'] {+ font-weight: 330;+}diff --git a/apps/web/src/features/onboarding/components/plan-comparison.tsx b/apps/web/src/features/onboarding/components/plan-comparison.tsxindex d1afa4e473..d76061260a 100644--- a/apps/web/src/features/onboarding/components/plan-comparison.tsx+++ b/apps/web/src/features/onboarding/components/plan-comparison.tsx@@ -31,7 +31,6 @@ export function PlanComparison(props: {removes the email watermark, and gives you more storage and teamfeatures.</p>- <p class="mt-5">Max includes everything in Pro with 10× usage.</p><Show when={props.catalog.t === 'error'}><p role="alert" class="mt-5">We couldn't load plan prices. You can continue with Free or{' '}@@ -69,11 +68,11 @@ export function PlanComparison(props: {<Show when={plan.tier === 'premium'}>30 days free, then{' '}</Show>- <span class="block">+ <span class="block whitespace-nowrap max-[375px]:text-[10px]">{formatPlanPrice(entry()?.monthly_price_cents) ??'—'}+ <span title="per user per month">/usr/mo</span></span>- <span class="block">per user / month</span></>)}</span>diff --git a/apps/web/src/features/onboarding/components/tool-tile.tsx b/apps/web/src/features/onboarding/components/tool-tile.tsxindex 646efe0aa1..57604a6c9a 100644--- a/apps/web/src/features/onboarding/components/tool-tile.tsx+++ b/apps/web/src/features/onboarding/components/tool-tile.tsx@@ -22,7 +22,7 @@ export function ToolTile(props: {class="group flex min-w-0 flex-col items-center gap-3 rounded-2xl p-2 text-center outline-none focus-visible:ring-2 focus-visible:ring-ink/50"><span- class="relative flex size-20 items-center justify-center rounded-[22px] bg-ink/5 transition-colors group-hover:bg-ink/10"+ class="onboarding-tool-icon relative flex size-20 items-center justify-center rounded-[22px] bg-ink/5 transition-colors group-hover:bg-ink/10"classList={{glass: !props.connected,'border-2 border-success': props.connected,diff --git a/apps/web/src/features/onboarding/components/workspace-intro.tsx b/apps/web/src/features/onboarding/components/workspace-intro.tsxindex 0ca3c77a5f..0c7b32a135 100644--- a/apps/web/src/features/onboarding/components/workspace-intro.tsx+++ b/apps/web/src/features/onboarding/components/workspace-intro.tsx@@ -1,5 +1,13 @@import CheckIcon from '@phosphor/check.svg';-import { createUniqueId, For, type JSX, onCleanup } from 'solid-js';+import {+ createEffect,+ createSignal,+ createUniqueId,+ For,+ type JSX,+ onCleanup,+ onMount,+} from 'solid-js';import {WORKSPACE_ACCENTS,type WorkspaceAccent,@@ -17,6 +25,21 @@ export function WorkspaceIntro(props: {action?: JSX.Element;}) {const accent = () => props.accent;+ const [creamMode, setCreamMode] = createSignal(false);+ onMount(() => {+ const root = document.documentElement;+ const syncMode = () => setCreamMode(root.dataset.themeLight === 'true');+ syncMode();+ const observer = new MutationObserver(syncMode);+ observer.observe(root, {+ attributes: true,+ attributeFilter: ['data-theme-light'],+ });+ onCleanup(() => observer.disconnect());+ });+ createEffect(() => {+ if (creamMode() && accent().name === 'Pearl') props.onSelectAccent('Mint');+ });const noiseId = createUniqueId();let burst!: HTMLDivElement;let burstAnimation: Animation | undefined;@@ -107,9 +130,9 @@ export function WorkspaceIntro(props: {style={{color: 'var(--intro-accent)',background:- 'linear-gradient(145deg, color-mix(in srgb, var(--intro-accent) 7%, #171717), #090909 65%)',+ 'var(--onboarding-intro-background, linear-gradient(145deg, color-mix(in srgb, var(--intro-accent) 7%, #171717), #090909 65%))','box-shadow':- 'inset .5px .5px 1px #ffffff1c, inset -.5px -.5px 1px #0008, 0 1px 1px #131313, 0 4px 10px #0005',+ 'var(--onboarding-intro-shadow, inset .5px .5px 1px #ffffff1c, inset -.5px -.5px 1px #0008, 0 1px 1px #131313, 0 4px 10px #0005)',}}><MacroMarkIcon class="h-7 w-10 overflow-visible" />@@ -120,10 +143,13 @@ export function WorkspaceIntro(props: {Your accent{' '}<span class="text-ink-extra-muted">· {accent().name}</span></legend>- <div class="flex justify-between gap-2">+ <div class="flex justify-center gap-2"><For each={WORKSPACE_ACCENTS}>{(item) => (- <label class="relative flex size-9 items-center justify-center rounded-full has-[:focus-visible]:outline-2 has-[:focus-visible]:outline-offset-2 has-[:focus-visible]:outline-ink">+ <label+ data-accent-option={item.name}+ class="relative flex size-9 items-center justify-center rounded-full has-[:focus-visible]:outline-2 has-[:focus-visible]:outline-offset-2 has-[:focus-visible]:outline-ink"+ ><inputtype="radio"name="workspace-accent"@@ -137,8 +163,12 @@ export function WorkspaceIntro(props: {style={{background: item.color,'background-clip': 'padding-box',- 'border-width': accent().name === item.name ? '4px' : '0px',- 'border-color': 'var(--color-ink)',+ 'border-width':+ accent().name === item.name+ ? 'var(--workspace-accent-ring-width, 4px)'+ : '0px',+ 'border-color':+ 'var(--workspace-accent-ring-color, var(--color-ink))','box-shadow':'inset 0 1px 1px #ffffff66, inset 0 -1px 1px #00000030',}}diff --git a/apps/web/src/features/onboarding/components/workspace-texture.tsx b/apps/web/src/features/onboarding/components/workspace-texture.tsxindex 9cc62dab2f..8c029b20b5 100644--- a/apps/web/src/features/onboarding/components/workspace-texture.tsx+++ b/apps/web/src/features/onboarding/components/workspace-texture.tsx@@ -18,7 +18,10 @@ export function WorkspaceTexture(props: { accent: string; filterId: string }) {data-workspace-texturearia-hidden="true"class="pointer-events-none absolute inset-0 size-full"- style={{ opacity: 0.2, 'mask-image': textureMask }}+ style={{+ opacity: 'var(--workspace-grain-opacity, 0.2)',+ 'mask-image': textureMask,+ }}><filter id={props.filterId}><feTurbulencediff --git a/apps/web/src/features/onboarding/core/plan-comparison.ts b/apps/web/src/features/onboarding/core/plan-comparison.tsindex 2b674d5ecb..bfb42b00ab 100644--- a/apps/web/src/features/onboarding/core/plan-comparison.ts+++ b/apps/web/src/features/onboarding/core/plan-comparison.ts@@ -10,7 +10,7 @@ export const PLAN_COMPARISON = [{feature: 'Email branding',values: {- free: '“Sent with Macro” footer',+ free: '“Sent with Macro”',premium: 'No watermark',max: 'No watermark',},diff --git a/apps/web/src/features/onboarding/views/onboarding-flow-view.tsx b/apps/web/src/features/onboarding/views/onboarding-flow-view.tsxindex 23f526cb8f..0d9565810f 100644--- a/apps/web/src/features/onboarding/views/onboarding-flow-view.tsx+++ b/apps/web/src/features/onboarding/views/onboarding-flow-view.tsx@@ -142,7 +142,7 @@ export function OnboardingFlowView(props: {)}</Show>}- explainerLabel={showPlanOffer() ? 'Continue with Free' : undefined}+ explainerLabel={showPlanOffer() ? 'See more' : undefined}explainer={showPlanOffer() ? (<PlanComparisonViewdiff --git a/docs/AGENT_GUIDE/login.md b/docs/AGENT_GUIDE/login.mdindex 81280b890d..bf55f3cf17 100644--- a/docs/AGENT_GUIDE/login.md+++ b/docs/AGENT_GUIDE/login.md@@ -114,10 +114,21 @@ button. The chosen accent and work step survive the OAuthredirect; after authentication the accent is saved to the user's theme and setupresumes at work email. Regular `/app/login` retains the direct sign-in screen.+Onboarding follows the app's light/dark setting. Light mode uses the marketing+cream background, black headings, muted warm text, and brighter ivory inputs and+integration tiles. Dark mode retains its black palette. Verify both modes at+desktop and mobile widths, including the below-fold security and pricing details.+For a safe local walkthrough with simulated connections and billing, use the real+view fixture documented in `apps/web/src/features/onboarding/browser-test/README.md`;+`/?view=flow&theme=cream` forces its cream preview without changing account settings.+The steps are workspace color, feature interests, security, work Google account,personal Google account, tools, team, and plan selection. Color selection forksthe default Macro Light or Macro Dark theme for the current mode and pins the-custom accent palette; it does not modify a built-in theme. Interests are visual+custom accent palette; it does not modify a built-in theme. Cream mode hides+Pearl and centers the remaining five swatches. A selected Pearl falls back to Mint+when entering cream mode; Pearl stays available in dark mode. Cream slab headings use weight 330+(15 above dark mode) with the same sizing and line breaks. Interests are visualpreferences only. Security and Google steps have a Read more section below the fold.Work and personal account buttons use the existing Gmail linking flow. Skipping@@ -145,10 +156,12 @@ finish must not show "Couldn't finish setup — please try again", including whea background session refresh overlaps it.The final screen keeps the “Free Claude & GPT for 30 days” headline and trial-button above the fold. The “Continue with Free” scroll cue opens the pricing grid+button above the fold. The “See more” scroll cue opens the pricing gridbelow, comparing Free, Pro, and Max. The grid loads monthly subscription pricesfrom the billing catalog and describes Max as 10× Pro usage, without displaying-dollar-denominated included AI allowances. Free completes onboarding without a+dollar-denominated included AI allowances. Monthly prices use the compact+`/usr/mo` unit on one line; Free email branding reads “Sent with Macro”.+Free completes onboarding without acard. Pro returns to the trial offer; Max starts standard paid checkout.The trial button requests 30 days free through Stripe Checkout, with no couponrequired. Stripe collects the payment method for billing after the trial. Only a