${svg(' ', 15)}${x.searchBtn} ⌘K
@@ -485,10 +495,14 @@ function topbar(lang, active, pagePath, otherPath) {
}
function footer(lang, pagePath) {
- const t = T[lang], x = X[lang];
- const p = (target) => rel(pagePath, (lang === 'zh' ? 'zh/' : '') + target);
- return ``;
+ const t = T[lang];
+ const link = ([label, href]) => {
+ const external = /^https?:/.test(href);
+ const url = external ? href : rel(pagePath, pathOf(lang, href));
+ return `
${label} `;
+ };
+ const links = [...t.footLinks, ['GitHub', GH]].map(link).join('');
+ return ``;
}
const pathOf = (lang, page) => (lang === 'zh' ? 'zh/' : '') + page;
@@ -539,75 +553,45 @@ function home(lang) {
const page = 'index.html', pagePath = pathOf(lang, page);
const r = (p) => rel(pagePath, p);
const docLink = (k) => rel(pagePath, pathOf(lang, 'docs/' + keyFor(k) + '.html'));
- // Turns are marked with a square avatar rather than a name inside the bubble: the reader's own
- // words carry their avatar on the right, the agent's carries it on the left.
- const avatar = (sd) => `
${sd ? t.avatarSd : t.avatarAgent} `;
- const userTurn = (text) => `
`;
- const botTurn = (text, sd, cls = '') => `
`;
- // The reply is about files landing in the workspace, so name a few of them and let three dots
- // say the list keeps going.
- const FILE_IC = '
';
- const fileList = (names) => `
${names.map((n) => `${FILE_IC}${n} `).join('')} ··· `;
- // A file the run produced or fetched opens in place. The two columns open to different things:
- // the generic agent can only show the raw record, ScienceDiscovery reveals the rendered artifact.
- // Both carry a hint and a glyph, because a bare file name reads as a label.
- const CHEV = '
';
- const fold = (name, hint, body) => `
${FILE_IC}${name}${hint} ${CHEV} ${body}
`;
- // The hint that opens the viewer is the one readers must not miss, so it carries hint-live
- // (a colour cycle) while the plain column's hint stays quiet.
- const chipIcon = (f) => (f.ic ? svg(IC[f.ic], 13) : FILE_IC);
- const viewerChip = (f) => `
${f.label} ${chipIcon(f)}${f.name}${f.hint} ${CHEV} `;
- // What a chip opens is too large for the reading flow, so it lives in a modal with a way out.
- // Two kinds exist: a real Mol* viewer (bundle and structure fetched on first open) and a still
- // screenshot of an Evolve run.
- const viewerPanel = (f) => {
- // A screenshot panel carries its own aspect ratio so the dialog can be narrowed to the image;
- // the Mol* panel keeps the full 80vw because the viewer wants the room.
- const cls = f.structure ? 'viewer-dialog' : 'viewer-dialog shot-dialog';
- const style = f.structure ? '' : ` style="--shot-ratio:${shotRatio(f.image)}"`;
- const body = f.structure
- ? `
${f.loading}
`
- : `
`;
- return `
${chipIcon(f)}${f.name} ✕
${f.caption}
${body}`;
- };
- // What the run cost is a per-column footnote, not part of the transcript: it sits under the
- // bubble, centred, so the two columns can be read against each other.
- const tally = (text, ic) => (text ? `
${ic ? svg(IC[ic], 16) : ''}${text}
` : '');
- const feats = t.feats.map((f) => `
-${svg(IC[f.ic], 14)}${f.tag}
-${f.title}
-${f.text}
-
-
${t.chatPlain}
-${userTurn(f.ask)}
-${botTurn(`${f.plain}${f.plainFold ? fold(f.plainFold.name, f.plainFold.hint, `${esc(f.plainFold.text)} ${f.plainFold.note} `) : ''}`, false)}
-${f.plain2 ? botTurn(`${f.plain2} `, false, 'progress') : ''}
-${tally(f.tally, f.tallyIcon)}
-
-
${t.chatSd}
-${userTurn(f.ask)}
-${botTurn(`${f.sd}${f.files ? fileList(f.files) : ''}${f.sdFold ? viewerChip(f.sdFold) : ''}${f.sdTask ? viewerChip(f.sdTask) : ''}`, true)}
-${tally(f.sdTally, f.sdTallyIcon)}
-
+ // Each feature pairs its copy with the product shot drawn for that column. Light and dark have
+ // their own export, so the theme swaps the picture instead of recolouring one.
+ const feature = (f, i) => `
+
+
${svg(IC[f.ic], 14)}${f.tag}
+
${f.title}
+
${f.text}
+
${t.learn}
-${f.sdFold ? viewerPanel(f.sdFold) : ''}
-${f.sdTask ? viewerPanel(f.sdTask) : ''}
-${(f.evidence || []).map(viewerPanel).join('')}
-${t.learn}
-`).join('\n');
+
+
+
+
+ `;
return head(lang, `${t.name} — ${t.tag}`, pagePath) + `
-
${topbar(lang, 'home', pagePath, other(lang, page))}
-
-
-${svg(IC.flask, 14)}${t.eyebrow}
-${t.h1} ${t.lead}
-${svg(IC.download, 18)}${t.ctaDownload}
+
+
+
+
${svg(IC.flask, 15)}${esc(t.eyebrow)}
+
+
+
ScienceDiscovery
+
+
${esc(t.h1Title)}
+
${esc(t.lead)}
+
${svg(IC.download, 18)}${t.ctaDownload}
${downloadPanel(lang)}
+
+
+
+
+
+${t.feats.map(feature).join('\n')}
+
-
-${feats}
${footer(lang, pagePath)}
@@ -736,8 +720,9 @@ for (const f of ['molstar.css', 'molstar.js']) cpSync(join(ROOT, 'node_modules',
cpSync(join(DOCS, 'images'), join(DIST, 'docs', 'images'), { recursive: true });
// The walkthrough links the sample data it asks readers to upload, so it has to ship with the page.
if (existsSync(join(DOCS, 'examples'))) cpSync(join(DOCS, 'examples'), join(DIST, 'docs', 'examples'), { recursive: true });
-// The tab icon is the product's own app icon, so the browser tab and the header brand never drift.
-cpSync(join(HERE, 'src', 'media', 'app-icon.png'), join(DIST, 'favicon.png'));
+// The tab icon is the brand mark on a rounded square, cut from the same artwork as the header lockup,
+// so the browser tab and the header never drift.
+cpSync(join(HERE, 'src', 'media', 'logo', 'favicon.png'), join(DIST, 'favicon.png'));
write('.nojekyll', '');
write('404.html', 'ScienceDiscovery ');
diff --git a/site/src/media/ScienceDiscovery.mp4 b/site/src/media/ScienceDiscovery.mp4
index 7004cb3..40cb766 100644
Binary files a/site/src/media/ScienceDiscovery.mp4 and b/site/src/media/ScienceDiscovery.mp4 differ
diff --git a/site/src/media/landing/cta-bg-light.webp b/site/src/media/landing/cta-bg-light.webp
new file mode 100644
index 0000000..5ba4e99
Binary files /dev/null and b/site/src/media/landing/cta-bg-light.webp differ
diff --git a/site/src/media/landing/feature-1-dark.webp b/site/src/media/landing/feature-1-dark.webp
new file mode 100644
index 0000000..81cad43
Binary files /dev/null and b/site/src/media/landing/feature-1-dark.webp differ
diff --git a/site/src/media/landing/feature-1-light.webp b/site/src/media/landing/feature-1-light.webp
new file mode 100644
index 0000000..49a614a
Binary files /dev/null and b/site/src/media/landing/feature-1-light.webp differ
diff --git a/site/src/media/landing/feature-2-dark.webp b/site/src/media/landing/feature-2-dark.webp
new file mode 100644
index 0000000..e9c58d9
Binary files /dev/null and b/site/src/media/landing/feature-2-dark.webp differ
diff --git a/site/src/media/landing/feature-2-light.webp b/site/src/media/landing/feature-2-light.webp
new file mode 100644
index 0000000..cfcfc63
Binary files /dev/null and b/site/src/media/landing/feature-2-light.webp differ
diff --git a/site/src/media/landing/feature-3-dark.webp b/site/src/media/landing/feature-3-dark.webp
new file mode 100644
index 0000000..6d41ae9
Binary files /dev/null and b/site/src/media/landing/feature-3-dark.webp differ
diff --git a/site/src/media/landing/feature-3-light.webp b/site/src/media/landing/feature-3-light.webp
new file mode 100644
index 0000000..ba9e719
Binary files /dev/null and b/site/src/media/landing/feature-3-light.webp differ
diff --git a/site/src/media/landing/feature-4-dark.webp b/site/src/media/landing/feature-4-dark.webp
new file mode 100644
index 0000000..afa4f37
Binary files /dev/null and b/site/src/media/landing/feature-4-dark.webp differ
diff --git a/site/src/media/landing/feature-4-light.webp b/site/src/media/landing/feature-4-light.webp
new file mode 100644
index 0000000..2293dc6
Binary files /dev/null and b/site/src/media/landing/feature-4-light.webp differ
diff --git a/site/src/media/logo/favicon.png b/site/src/media/logo/favicon.png
new file mode 100644
index 0000000..02ca218
Binary files /dev/null and b/site/src/media/logo/favicon.png differ
diff --git a/site/src/media/logo/logo-black.svg b/site/src/media/logo/logo-black.svg
new file mode 100644
index 0000000..7a912ef
--- /dev/null
+++ b/site/src/media/logo/logo-black.svg
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/site/src/media/logo/logo-dark.svg b/site/src/media/logo/logo-dark.svg
new file mode 100644
index 0000000..1e9a31f
--- /dev/null
+++ b/site/src/media/logo/logo-dark.svg
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/site/src/media/logo/logo-light.svg b/site/src/media/logo/logo-light.svg
new file mode 100644
index 0000000..ba5a37d
--- /dev/null
+++ b/site/src/media/logo/logo-light.svg
@@ -0,0 +1,152 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/site/src/media/logo/logo-white.svg b/site/src/media/logo/logo-white.svg
new file mode 100644
index 0000000..3ae2108
--- /dev/null
+++ b/site/src/media/logo/logo-white.svg
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/site/src/media/logo/mark.svg b/site/src/media/logo/mark.svg
new file mode 100644
index 0000000..bfaf89b
--- /dev/null
+++ b/site/src/media/logo/mark.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/site/src/site.css b/site/src/site.css
index a0bf5c3..9de2c89 100644
--- a/site/src/site.css
+++ b/site/src/site.css
@@ -67,8 +67,8 @@
--shadow-2: 0 12px 32px rgba(28, 47, 84, .12);
--shadow-card: 0 18px 45px rgba(28, 47, 84, .09);
--shadow-4: 0 28px 80px rgba(31, 41, 55, .24);
- --font: "Microsoft YaHei", "微软雅黑", "Manrope Variable", "PingFang SC", "Hiragino Sans GB", ui-sans-serif, sans-serif;
- --serif: "Microsoft YaHei", "微软雅黑", "Source Serif 4 Variable", "PingFang SC", "Hiragino Sans GB", ui-sans-serif, sans-serif;
+ --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "微软雅黑", "Manrope Variable", "Hiragino Sans GB", ui-sans-serif, sans-serif;
+ --serif: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "微软雅黑", "Source Serif 4 Variable", "Hiragino Sans GB", ui-sans-serif, sans-serif;
--mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
--nav-h: 60px;
--topbar-bg: rgba(248, 250, 252, .88);
@@ -118,22 +118,6 @@ img { max-width: 100%; }
button { font: inherit; }
code, pre, kbd { font-family: var(--mono); }
-/* ---------- top bar ---------- */
-.topbar { position: sticky; top: 0; z-index: 30; height: var(--nav-h); background: var(--topbar-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
-.topbar-inner { max-width: 1240px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
-.brand { display: flex; align-items: center; gap: 11px; color: var(--text-strong); font-weight: 800; font-size: 17px; letter-spacing: -.035em; }
-.brand:hover { text-decoration: none; }
-/* The app icon carries its own rounded square and colours, so the mark is just the image. */
-.brand-mark { display: block; width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 5px 12px rgba(37, 99, 235, .18); }
-.topnav { display: flex; gap: 4px; margin-right: auto; }
-.topnav a { padding: 8px 14px; border-radius: var(--radius-m); color: var(--text-secondary); font-size: 13.5px; font-weight: 600; }
-.topnav a:hover { background: var(--surface-hover); color: var(--text-strong); text-decoration: none; }
-.topnav a.active { background: var(--accent-softer); color: var(--accent-deep); font-weight: 650; }
-.topbar-actions { display: flex; align-items: center; gap: 8px; }
-.icon-link, .lang-switch { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--surface); color: var(--text-secondary); font-size: 13px; }
-.icon-link:hover, .lang-switch:hover { border-color: var(--accent-border-soft); background: var(--accent-soft); color: var(--accent-strong); text-decoration: none; }
-.btn.menu-toggle { display: none; }
-
/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 21px; border: 1px solid var(--border-strong); border-radius: var(--radius-m); background: var(--surface); color: var(--text-heading); font-weight: 700; font-size: 13.5px; cursor: pointer; transition: background .18s, box-shadow .18s, transform .18s; }
.btn:hover { background: var(--surface-hover); box-shadow: var(--shadow-1); text-decoration: none; transform: translateY(-1px); }
@@ -142,237 +126,280 @@ code, pre, kbd { font-family: var(--mono); }
.btn.small { min-height: 34px; padding: 0 14px; font-size: 13px; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }
-/* ---------- home ---------- */
-/* The backdrop is one fixed layer behind the page: a soft colour wash at the top, three
- glows that fall off before the copy starts, and a grid that is masked out below the hero.
- Dark mode adds grain so the large gradients do not band. Content paints above it because
- the layer sits at z-index -1, which is still above the canvas background. */
-body.home { background: var(--bg-home); }
-.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
+/* ================= landing (2026 redesign) ================= */
+/* The public site follows the new design: a floating pill navigation bar, a gradient hero with the
+ product shot, alternating feature rows and a closing call to action. The palette is rebuilt around
+ the design's near-black ink (#191919) and neutral greys, while the brand gradient is reserved for
+ the wordmark in the hero. */
+:root {
+ --ink-1: #191919; --ink-2: #4d4d4d; --ink-3: #777777; --ink-4: #808080;
+ --page: #ffffff; --soft: #f4f6fa;
+ --hairline: rgba(16, 24, 40, .08); --hairline-strong: rgba(16, 24, 40, .16);
+ --brand-grad: linear-gradient(96deg, #00d8ff 0%, #0089ff 24%, #0013ff 52%, #b36bff 78%, #ff6fff 100%);
+ --landing-container: min(1600px, calc(100% - clamp(40px, 16.6vw, 320px)));
+ --shot-shadow: 0 40px 90px rgba(21, 45, 96, .20);
+}
+:root[data-theme="dark"] {
+ --ink-1: #ffffff; --ink-2: rgba(255, 255, 255, .72); --ink-3: rgba(255, 255, 255, .62); --ink-4: rgba(255, 255, 255, .46);
+ --page: #000000; --soft: #0b0b0c;
+ --hairline: rgba(255, 255, 255, .12); --hairline-strong: rgba(255, 255, 255, .24);
+ --shot-shadow: 0 40px 100px rgba(0, 0, 0, .65);
+}
+
+/* ---------- top bar ---------- */
+/* The bar floats over the page instead of sitting flush against it: a rounded, translucent strip
+ with a soft shadow, so the hero gradient keeps running behind it. */
+.topbar {
+ position: sticky; top: 14px; z-index: 40;
+ width: min(1600px, calc(100% - clamp(16px, 16.6vw, 320px))); height: 52px; margin: clamp(10px, 1.25vw, 24px) auto 0;
+ border: 1px solid rgba(255, 255, 255, .8); border-radius: 16px;
+ background: rgba(255, 255, 255, .5);
+ box-shadow: 0 12px 34px rgba(18, 38, 84, .10);
+ -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
+}
+:root[data-theme="dark"] .topbar {
+ border-color: rgba(255, 255, 255, .10); background: rgba(10, 13, 20, .45);
+ box-shadow: 0 16px 42px rgba(0, 0, 0, .55);
+}
+.topbar-inner { max-width: none; height: 100%; margin: 0; padding: 0 14px 0 16px; display: flex; align-items: center; gap: 22px; }
+/* The bar carries the same colour story as the hero: the gradient mark beside the wordmark
+ painted with the brand gradient. Both are bright enough on the light and the dark strip, so
+ one treatment serves both themes and no monochrome lockup is needed. */
+.brand { display: flex; align-items: center; gap: 9px; }
+.brand:hover { text-decoration: none; }
+.brand-mark { display: block; width: auto; height: 27px; }
+.brand-word {
+ font-size: 17px; font-weight: 700; letter-spacing: .012em; line-height: 1.2;
+ background: var(--brand-grad); -webkit-background-clip: text; background-clip: text;
+ -webkit-text-fill-color: transparent; color: transparent;
+}
+.topnav { display: flex; gap: 4px; margin-right: auto; }
+.topnav a { padding: 7px 12px; border-radius: 10px; color: var(--ink-3); font-size: 14px; font-weight: 500; }
+.topnav a:hover { background: rgba(16, 24, 40, .05); color: var(--ink-1); text-decoration: none; }
+.topnav a.active { background: rgba(16, 24, 40, .06); color: var(--ink-1); font-weight: 600; }
+:root[data-theme="dark"] .topnav a:hover { background: rgba(255, 255, 255, .07); }
+:root[data-theme="dark"] .topnav a.active { background: rgba(255, 255, 255, .10); }
+.topbar-actions { display: flex; align-items: center; gap: 2px; }
+.icon-link, .lang-switch {
+ display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px;
+ border: 0; border-radius: 9px; background: transparent; color: var(--ink-1); font-size: 14px;
+}
+.icon-link:hover, .lang-switch:hover { background: rgba(16, 24, 40, .05); color: var(--ink-1); text-decoration: none; }
+:root[data-theme="dark"] .icon-link, :root[data-theme="dark"] .lang-switch { color: rgba(255, 255, 255, .82); }
+:root[data-theme="dark"] .icon-link:hover, :root[data-theme="dark"] .lang-switch:hover { background: rgba(255, 255, 255, .08); }
+.btn.menu-toggle { display: none; }
+
+/* ---------- hero ---------- */
+body.home { background: var(--page); }
+.home-hero {
+ position: relative; overflow: hidden; text-align: center;
+ /* Pull the hero up behind the floating topbar so the gradient fills the bar's background,
+ instead of leaving a white/black strip between the bar and the hero. */
+ margin-top: calc(-52px - clamp(10px, 1.25vw, 24px));
+ padding: calc(52px + clamp(10px, 1.25vw, 24px) + clamp(36px, 3vw, 58px)) 0 clamp(40px, 2.9vw, 56px);
+ /* Rebuilt in CSS instead of the handoff still: the export carried the tool's layout grid, so a
+ clean gradient keeps every arc without the gridlines. A blue wash across the top, the large
+ blue shape on the left, a violet breath on the right, fading to white. */
+ background:
+ radial-gradient(circle 360px at 7% 40%, rgba(41, 134, 255, .32), rgba(41, 134, 255, .10) 52%, transparent 70%),
+ radial-gradient(58% 42% at 50% -6%, rgba(41, 134, 255, .13), transparent 70%),
+ radial-gradient(34% 26% at 94% 4%, rgba(150, 120, 255, .10), transparent 72%),
+ linear-gradient(180deg, #eaf1ff 0%, #f3f7ff 44%, #ffffff 74%);
+}
+:root[data-theme="dark"] .home-hero {
background:
- radial-gradient(56% 40% at 50% -6%, var(--glow-1), transparent 72%),
- radial-gradient(34% 28% at 93% 4%, var(--glow-2), transparent 74%),
- radial-gradient(38% 30% at 3% 24%, var(--glow-3), transparent 74%),
- linear-gradient(180deg, var(--bg-top), var(--bg-home) 52%); }
-.aurora::before { content: ""; position: absolute; inset: 0; background-size: 68px 68px;
- background-image: linear-gradient(to right, var(--grid) 1px, transparent 1px), linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
- -webkit-mask-image: radial-gradient(114% 64% at 50% -4%, #000 32%, transparent 76%);
- mask-image: radial-gradient(114% 64% at 50% -4%, #000 32%, transparent 76%); }
-.aurora::after { content: ""; position: absolute; inset: 0; opacity: .55; background-size: 180px 180px; }
-:root[data-theme="dark"] .aurora::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E"); }
-.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
-.hero { padding: 72px 0 36px; text-align: center; }
-.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; border: 1px solid var(--accent-border-soft); border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent-deep); font-size: 13px; font-weight: 600; }
-.hero h1 { max-width: 820px; margin: 20px auto 0; color: var(--text-strong); font-size: clamp(32px, 5vw, 52px); line-height: 1.12; letter-spacing: -.03em; }
-/* The brand takes its own line so the slogan wraps as one phrase: left to flow, the headline
- broke after 「你」 and orphaned it from the words it belongs to. */
-.quick-install h1 > span { display: block; }
-/* The two initials of the wordmark carry the accent, so the name reads as one logo in the headline. */
-.quick-install h1 .h1-initial { color: var(--accent); }
-.quick-install h1 .h1-slogan { margin-top: 12px; }
-/* The hero's only action sits centred on its own. It inverts on hover — white with blue text at
- rest, blue fill under the pointer — and is widened to roughly twice the room its label takes. */
-.quick-install .hero-cta .btn.primary { min-width: 195px; border-color: var(--accent); background: var(--surface); color: var(--accent-strong); }
-.quick-install .hero-cta .btn.primary:hover { background: var(--accent); color: #fff; }
-/* `em` in a headline is an accent, not emphasis: YaHei only ships a synthetic oblique. */
-.quick-install h1 em { color: var(--accent); font-style: normal; }
-.hero p.lead { max-width: 680px; margin: 18px auto 0; color: var(--muted); font-size: 17px; }
-.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
-.quick-install { max-width: 1000px; margin: 0 auto; padding-top: 86px; text-align: center; }
-.quick-install h1 { max-width: 900px; margin: 22px auto 0; color: var(--text-strong); font-size: clamp(38px, 5.2vw, 62px); line-height: 1.25; letter-spacing: -.045em; }
-.quick-install .lead { max-width: 750px; margin: 38px auto 0; color: var(--muted); font-size: 17.5px; line-height: 1.75; }
-/* The recording replaced the scripted demo and owns the middle of the page: same column as the
- hero, so the video edge lines up with the copy above it. */
-.home-video { max-width: 1000px; margin: 76px auto 0; }
-.home-video video { display: block; width: 100%; border: 1px solid var(--border); border-radius: var(--radius-l); background: #0b1220; box-shadow: var(--shadow-card); }
+ radial-gradient(66% 52% at 50% 112%, rgba(122, 180, 255, .48), transparent 60%),
+ linear-gradient(180deg, #02040a 0%, #040c1e 30%, #071f52 58%, #123f9b 82%, #1556c8 100%);
+}
+.hero-inner { position: relative; z-index: 1; width: var(--landing-container); margin: 0 auto; }
+.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--ink-4); font-size: clamp(14px, .84vw, 16px); }
+.hero-eyebrow svg { flex: none; }
+/* The brand line pairs the mark with the gradient wordmark. The row owns the type size, so the
+ icon can be sized in em and the two always scale together; the mark runs a touch larger than
+ the cap height so it reads as the logo leading the name. */
+.hero-brandline {
+ display: flex; align-items: center; justify-content: center; gap: .2em;
+ margin: 14px 0 0; font-size: clamp(28px, 2.8vw, 54px);
+}
+.hero-mark { flex: none; height: 1.18em; width: auto; }
+/* The gradient is painted through the glyphs, so it only fills the element's own box: a tight
+ line-height left the descender of the final "y" outside that box and it vanished. The bottom
+ padding widens the painted area to include the descender, and the title's margin adds the air
+ the two lines need. */
+.hero-wordmark {
+ padding-bottom: .14em; font-size: inherit; font-weight: 700; line-height: 1.1; letter-spacing: .012em;
+ background: var(--brand-grad); -webkit-background-clip: text; background-clip: text;
+ -webkit-text-fill-color: transparent; color: transparent;
+}
+.hero-title { margin: clamp(12px, 1.5vw, 28px) 0 0; color: var(--ink-1); font-size: clamp(30px, 2.92vw, 56px); font-weight: 700; line-height: 1.16; letter-spacing: .012em; }
+.hero-lead { max-width: min(800px, max(360px, 41.6vw)); margin: clamp(18px, 1.5vw, 28px) auto 0; color: var(--ink-2); font-size: clamp(15px, .94vw, 18px); line-height: 1.62; }
+.hero-actions { display: flex; justify-content: center; margin-top: clamp(26px, 3vw, 58px); }
+.home-download {
+ display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 26px;
+ border: 0; border-radius: 999px; background: #101318; color: #fff;
+ font-size: clamp(14px, .84vw, 16px); font-weight: 500; cursor: pointer;
+ box-shadow: 0 16px 34px rgba(10, 18, 40, .24);
+ transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
+}
+.home-download:hover { transform: translateY(-2px); box-shadow: 0 22px 44px rgba(10, 18, 40, .3); background: #1b1f26; }
+.home-download:focus-visible { outline: 2px solid #4f8cff; outline-offset: 3px; }
+:root[data-theme="dark"] .home-download {
+ background: linear-gradient(180deg, #3f92ff 0%, #1668ff 100%);
+ box-shadow: 0 0 44px rgba(59, 141, 255, .55), 0 10px 24px rgba(0, 0, 0, .4);
+}
+:root[data-theme="dark"] .home-download:hover { background: linear-gradient(180deg, #5aa2ff 0%, #2a78ff 100%); }
-/* sections */
-.section { padding: 84px 0 0; }
-.section h2 { margin: 0; text-align: center; color: var(--text-strong); font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -.045em; }
-.section .sub { max-width: 620px; margin: 10px auto 0; text-align: center; color: var(--muted); }
-.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
-/* One capability per band: the claim, the detail, then the same question answered by a generic
- agent and by ScienceDiscovery so the difference is visible side by side. */
-.feature { max-width: 1080px; margin: 0 auto; padding: 76px 0 0; text-align: center; }
-.feature h3 { margin: 18px 0 0; color: var(--text-strong); font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.04em; }
-.feature-text { max-width: 820px; margin: 14px auto 0; color: var(--text-secondary); font-size: 16.5px; line-height: 1.8; }
-.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; text-align: left; }
-.chat { margin: 0; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-1); }
-.chat figcaption { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
-.chat.sd { border-color: var(--accent-border-soft); background: linear-gradient(160deg, var(--surface), var(--accent-soft)); }
-.chat.sd figcaption { color: var(--accent-deep); }
-.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
-.chat.sd .dot { background: var(--accent); }
-.bubble { margin: 12px 0 0; padding: 11px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.7; }
-.bubble.user { border: 1px solid var(--border); background: var(--surface-soft); color: var(--text-secondary); }
-.bubble.bot { background: var(--surface-subtle); color: var(--muted); }
-.chat.sd .bubble.bot { background: var(--accent-soft); color: var(--text); }
-/* A turn is a bubble plus a square avatar: the reader's own words carry theirs on the right,
- the agent's on the left, so the two voices in a column are never confused. */
-.turn { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; }
-.turn.user { justify-content: flex-end; }
-.turn .bubble { flex: 1; min-width: 0; margin: 0; }
-.avatar { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; font-weight: 700; }
-.turn.user .avatar { background: var(--accent); color: #fff; font-size: 15px; box-shadow: 0 4px 10px rgba(37, 99, 235, .18); }
-.turn.bot .avatar { border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary); font-size: 10.5px; }
-.turn.bot .avatar.sd { border-color: var(--accent-border); background: var(--accent-softer); color: var(--accent-deep); font-size: 13px; }
-.bubble.progress { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; border: 1px dashed var(--border); background: transparent; color: var(--text-faint); }
-/* Files the agent already pulled in: the point of the reply is that things landed in the
- workspace, so name a few of them and let the three dots say the list keeps going. */
-.files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
-.file { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--accent-border-soft); border-radius: var(--radius-s); background: var(--surface); color: var(--text-secondary); font: 12px var(--mono); }
-.file svg { flex: none; color: var(--accent); }
-.files-more { display: block; margin-top: 9px; color: var(--text-faint); font-size: 17px; line-height: .6; letter-spacing: 3px; }
-/* A reply can hold paragraphs, a table, tool-call chips or a fold, so the bubble spaces its own
- children instead of leaning on default paragraph margins. */
-.bubble > * { margin-block: 0; }
-.bubble > :not(:first-child) { margin-top: 12px; }
-.bubble code { padding: 1px 5px; border-radius: 5px; background: var(--surface-track); font-size: 12px; }
-.bubble table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
-.bubble th, .bubble td { padding: 6px 10px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
-.bubble th { width: 1%; background: var(--surface-soft); color: var(--text-secondary); font-weight: 650; white-space: nowrap; }
-/* Tool calls and thinking rounds annotate the reply rather than compete with it, so both are the
- same small muted line: no chip, no border, no weight. */
-.tool, .step { display: block; color: var(--text-faint); font-size: 12px; letter-spacing: .02em; }
-/* A citation marker inside a reply: bracketed like the source text it stands for, but an actual
- control, so it opens the evidence behind the claim. */
-.ev { display: inline-block; padding: 1px 7px; border: 1px solid var(--accent-border-soft); border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent-deep); font-family: var(--mono); font-size: 11.5px; font-weight: 650; line-height: 1.5; cursor: pointer; }
-.ev:hover { border-color: var(--accent-border); background: var(--accent-tint); }
-.ev-hint { margin-left: 5px; color: var(--text-faint); font-family: var(--font); font-size: 11px; font-weight: 500; }
-/* A downloaded file opens: the left column shows the raw record, the right the rendered result.
- A bare file name reads as a label, so each one carries a hint and a glyph, and both react. */
-.fold-label { display: block; color: var(--text-faint); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
-.fold > summary, .fold-open { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--accent-border-soft); border-radius: var(--radius-s); background: var(--surface); color: var(--text-secondary); font: 12px var(--mono); cursor: pointer; transition: border-color .18s, background .18s, color .18s; }
-.fold > summary::marker, .fold > summary::-webkit-details-marker { content: ""; }
-.fold[open] > summary, .fold > summary:hover, .fold-open:hover { border-color: var(--accent-border); background: var(--accent-softer); color: var(--accent-deep); }
-.fold > summary svg, .fold-open svg { flex: none; color: var(--accent); }
-.fold-hint { color: var(--text-faint); font-family: var(--font); }
-/* The invitation to open the 3D view is the payoff of the whole column, so it keeps cycling
- through the palette instead of sitting still like the other captions. */
-.fold-hint.hint-live { font-weight: 650; animation: hint-live 2.4s ease-in-out infinite; }
-@keyframes hint-live { 0%, 100% { color: var(--accent-strong); } 33% { color: var(--violet); } 66% { color: var(--teal); } }
-.fold > summary:hover .fold-hint, .fold-open:hover .fold-hint, .fold[open] > summary .fold-hint { color: var(--accent-ink); }
-.chev { transition: transform .18s; }
-.fold[open] > summary .chev { transform: rotate(180deg); }
-.fold-body pre { max-height: 236px; margin: 0; padding: 12px 13px; border: 1px solid var(--code-border); border-radius: var(--radius-s); background: var(--code-bg); color: #cbd5e1; overflow: auto; font-size: 11.5px; line-height: 1.65; }
-.fold-note { display: block; margin-top: 7px; color: var(--text-faint); font-size: 11.5px; }
-/* The structure viewer takes over four fifths of the screen, so it gets a way out as well: the
- close button, Escape, or a click on the backdrop. */
-.viewer-dialog { width: 80vw; height: 80vh; max-width: 1700px; padding: 0; border: 1px solid var(--border-strong); border-radius: var(--radius-l); background: var(--surface); color: var(--text); box-shadow: var(--shadow-4); overflow: hidden; }
-/* minmax(0, 1fr) rather than 1fr: the third row must never grow past the dialog, or a tall
- screenshot would be clipped by the dialog's own overflow instead of scaling down to fit. */
-.viewer-dialog[open] { display: grid; grid-template-rows: auto auto minmax(0, 1fr); }
-/* A screenshot panel is only as wide as the picture needs: 80vw would leave a wide empty margin
- either side of an image that is scaled down to fit the height. The height left for the picture
- is the 80vh minus the header, the caption line and the padding (--shot-chrome), turned into a
- width by the image's own aspect ratio (--shot-ratio, written inline per dialog at build time). */
-.viewer-dialog.shot-dialog {
- --shot-chrome: 130px; --shot-pad: 32px;
- width: min(92vw, calc((80vh - var(--shot-chrome)) * var(--shot-ratio) + var(--shot-pad)));
-}
-.viewer-dialog::backdrop { background: rgba(9, 14, 24, .68); }
-.viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--border); }
-.viewer-name { display: inline-flex; align-items: center; gap: 7px; color: var(--text-secondary); font: 13px var(--mono); }
-.viewer-name svg { flex: none; color: var(--accent); }
-.viewer-close { width: 30px; height: 30px; border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--surface); color: var(--text-secondary); font-size: 12px; cursor: pointer; }
-.viewer-close:hover { border-color: var(--accent-border); background: var(--accent-soft); color: var(--accent-strong); }
-.viewer-note { margin: 0; padding: 10px 18px; border-bottom: 1px solid var(--border); background: var(--surface-subtle); color: var(--text-faint); font-size: 12.5px; line-height: 1.6; }
-/* The Evolve panel is a still screenshot, so it only has to fit inside the dialog. The track is
- written out rather than left implicit: a percentage max-height cannot resolve against an
- auto-sized track, and the picture would then overflow the dialog instead of scaling down. */
-.viewer-shot { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); min-height: 0; padding: 14px; background: var(--surface-subtle); }
-.viewer-shot img { grid-area: 1 / 1; place-self: center; max-width: 100%; max-height: 100%; border: 1px solid var(--border); border-radius: var(--radius-s); background: #fff; }
-.viewer-stage { position: relative; min-height: 0; background: #0b1220; }
-.viewer-stage > :not(.viewer-msg) { position: absolute; inset: 0; }
-.viewer-msg { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 24px; color: #8a96a8; font-size: 13px; text-align: center; }
-.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.1s ease-in-out infinite; }
-@keyframes pulse { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
-/* The cost line closes the column under the transcript: centred and in the accent colour, because
- the two numbers are meant to be compared across the pair rather than read as chat. */
-.tally { display: flex; align-items: center; gap: 7px; width: fit-content; margin: 16px auto 0; padding: 6px 15px; border: 1px solid var(--accent-border-soft); border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent-deep); font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; box-shadow: var(--shadow-1); }
-.tally svg { flex: none; }
-/* The two transcripts differ in length, so a cost line that simply followed its own bubble would
- sit at a different height on each side. Pinning it to the bottom edge of the column keeps the
- pair level, and the reserved padding keeps the transcripts from growing into it. */
-.chat.tallied { position: relative; padding-bottom: 80px; }
-.chat.tallied .tally { position: absolute; right: 0; left: 0; bottom: 20px; margin: 0 auto; }
-.feature-more { margin: 16px 0 0; font-size: 13.5px; font-weight: 650; }
-.card { padding: 25px; border: 1px solid var(--border); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-1); transition: box-shadow .18s, border-color .18s, transform .18s; }
-a.card { display: block; color: inherit; }
-a.card:hover { border-color: var(--accent-border-soft); box-shadow: var(--shadow-card); text-decoration: none; transform: translateY(-3px); }
-.card .ico { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 10px; background: var(--accent-softer); color: var(--accent); }
-.card h3 { margin: 0 0 7px; color: var(--text-strong); font-size: 17px; letter-spacing: -.025em; }
-.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
-.card .more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; }
-.footer { margin-top: 84px; padding: 28px 0 40px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
-.footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
-.footer a { color: var(--text-secondary); }
+/* The recording is the hero's second half and plays on load: no poster, no dialog. It is muted and
+ looping so the browser's autoplay policy allows it to start without a gesture. */
+.hero-shot {
+ display: block; width: min(1200px, 62.5vw); margin: clamp(26px, 2.6vw, 50px) auto 0;
+ border-radius: 14px; background: #0b0b0c; overflow: hidden; box-shadow: var(--shot-shadow);
+}
+.hero-shot video { display: block; width: 100%; height: auto; background: #0b0b0c; }
-/* ---------- download ---------- */
-.page-head { padding: 68px 0 10px; text-align: center; }
-.page-head h1 { margin: 0; color: var(--text-strong); font-size: clamp(36px, 4vw, 46px); line-height: 1.12; letter-spacing: -.05em; }
-.page-head p { margin: 16px auto 0; max-width: 670px; color: var(--muted); font-size: 16px; line-height: 1.7; }
-.os-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 860px; margin: 34px auto 0; }
-.os, .os .files > div { min-width: 0; }
-.os { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-1); }
-.os.recommended { border-color: var(--accent-border); box-shadow: 0 0 0 3px var(--accent-tint), var(--shadow-card); }
-.os .ico { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 12px; background: var(--surface-soft); color: var(--text-heading); }
-.os.recommended .ico { background: var(--accent-softer); color: var(--accent); }
-.os h3 { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text-strong); font-size: 18px; }
-.os .req { margin: 4px 0 16px; color: var(--muted); font-size: 13px; }
-.os .files { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: auto; }
-.file { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--surface-subtle); color: var(--text-heading); font-size: 13px; }
-a.file:hover { border-color: var(--accent-border-soft); background: var(--accent-soft); color: var(--accent-strong); text-decoration: none; }
-.file small { color: var(--text-faint); font-size: 12px; }
-.file.off { color: var(--text-faint); border-style: dashed; }
-.ver-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; color: var(--muted); font-size: 13px; }
-.steps { margin: 40px 0 0; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius-l); background: var(--surface); }
-.steps h2 { margin: 0 0 12px; font-size: 18px; color: var(--text-strong); }
-.steps pre { margin: 10px 0 0; }
-.note { margin-top: 16px; padding: 12px 16px; border: 1px solid var(--accent-border-soft); border-radius: var(--radius-m); background: var(--accent-soft); color: var(--accent-deep); font-size: 13.5px; }
-/* The homepage's only action now opens the download, so it is filled and sized like the primary
- action it is, rather than the outlined button that used to lead to the install page. */
-.quick-install .hero-cta .btn.download { min-width: 268px; min-height: 54px; padding: 0 30px; border-color: var(--accent); background: var(--accent); color: #fff; font-size: 15.5px; box-shadow: 0 8px 20px rgba(37, 99, 235, .22); }
-.quick-install .hero-cta .btn.download:hover { background: var(--accent-strong); color: #fff; box-shadow: 0 11px 26px rgba(37, 99, 235, .3); }
-/* The button unfolds a platform picker beneath itself, inside the page flow: opening it pushes the
- video below down and closing it lets the page close up again. The row animates from zero to its
- own natural height — no magic number — and the panel fades along with it, in both directions. */
+/* ---------- feature rows ---------- */
+.home-feature {
+ display: grid; grid-template-columns: 560fr 890fr; column-gap: clamp(40px, 7.8vw, 150px);
+ align-items: center; width: var(--landing-container); margin: 0 auto;
+ padding: clamp(44px, 4.6vw, 80px) 0;
+}
+.home-feature.flip { grid-template-columns: 890fr 560fr; }
+.home-feature.flip .feature-copy { order: 2; }
+.home-feature.flip .feature-figure { order: 1; }
+.chip {
+ display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px;
+ border: 1px solid var(--hairline); border-radius: 8px; background: var(--soft); color: var(--ink-1);
+ font-size: 14px; line-height: 1.5;
+}
+.chip svg { flex: none; color: var(--ink-1); }
+.feature-copy h2 { margin: 18px 0 0; color: var(--ink-1); font-size: clamp(26px, 2.08vw, 40px); font-weight: 700; line-height: 1.22; letter-spacing: .005em; }
+.feature-copy p { margin: 20px 0 0; max-width: 560px; color: var(--ink-3); font-size: clamp(15px, 1.04vw, 20px); line-height: 1.62; }
+.feature-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; color: var(--ink-1); font-size: 14px; }
+.feature-link svg { flex: none; }
+.feature-figure { margin: 0; }
+.feature-figure img { display: block; width: 100%; height: auto; border-radius: 14px; }
+.feature-figure .visual-dark { display: none; }
+:root[data-theme="dark"] .feature-figure .visual-light { display: none; }
+:root[data-theme="dark"] .feature-figure .visual-dark { display: block; }
+
+/* ---------- closing call to action ---------- */
+.home-cta {
+ position: relative; overflow: hidden; margin-top: clamp(30px, 3vw, 56px);
+ padding: clamp(64px, 7.3vw, 130px) 24px clamp(72px, 8vw, 150px);
+ text-align: center;
+ /* Same treatment as the hero: the closing band keeps the design's prism glow. */
+ background: #ffffff url("media/landing/cta-bg-light.webp") bottom center / cover no-repeat;
+}
+ :root[data-theme="dark"] .home-cta {
+ /* The design's dark prism glow, rebuilt in CSS so it stays resolution-independent and has no
+ baked-in copy; the light band keeps the exported artwork because that file is copy-free. */
+ background:
+ radial-gradient(42% 68% at 16% 122%, rgba(96, 78, 220, .45), transparent 70%),
+ radial-gradient(50% 72% at 84% 124%, rgba(0, 122, 255, .36), transparent 72%),
+ radial-gradient(30% 40% at 60% 132%, rgba(0, 200, 220, .26), transparent 70%),
+ linear-gradient(180deg, #000000 0%, #03050a 100%);
+}
+.home-cta h2 { margin: 0; color: var(--ink-1); font-size: clamp(28px, 2.08vw, 40px); font-weight: 700; letter-spacing: .01em; }
+.home-cta p { max-width: 660px; margin: 16px auto 0; color: var(--ink-3); font-size: clamp(15px, 1.04vw, 20px); line-height: 1.55; }
+.cta-actions { display: flex; justify-content: center; gap: 16px; margin-top: clamp(28px, 2.6vw, 44px); }
+.cta-ghost, .cta-solid {
+ display: inline-flex; align-items: center; justify-content: center; min-width: 128px; min-height: 48px; padding: 0 28px;
+ border-radius: 999px; font-size: clamp(14px, .84vw, 16px); font-weight: 500; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
+}
+.cta-ghost { border: 1px solid var(--hairline-strong); background: transparent; color: var(--ink-1); }
+.cta-ghost:hover { background: rgba(16, 24, 40, .04); text-decoration: none; transform: translateY(-2px); }
+.cta-solid { border: 1px solid #101318; background: #101318; color: #fff; box-shadow: 0 14px 30px rgba(10, 18, 40, .22); }
+.cta-solid:hover { background: #1b1f26; text-decoration: none; transform: translateY(-2px); }
+:root[data-theme="dark"] .cta-ghost { border-color: rgba(255, 255, 255, .38); background: transparent; color: #fff; }
+:root[data-theme="dark"] .cta-ghost:hover { background: rgba(255, 255, 255, .08); }
+:root[data-theme="dark"] .cta-solid { border-color: #fff; background: #fff; color: #000; }
+
+/* ---------- footer ---------- */
+.footer { margin-top: 0; padding: 0; border-top: 0; background: #f3f3f3; color: var(--ink-4); font-size: 12px; }
+:root[data-theme="dark"] .footer { background: #0a0a0a; }
+.footer .wrap { width: 100%; max-width: none; min-height: 60px; margin: 0 auto; padding: 0 clamp(16px, 2vw, 32px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; }
+.footer a { color: var(--ink-4); }
+.footer a:hover { color: var(--ink-1); }
+.foot-links { display: inline-flex; align-items: center; gap: 6px; }
+.foot-dot { opacity: .6; }
+
+/* ---------- download panel ---------- */
+.quick-install .hero-cta .btn.download,
+.hero-actions .btn.download { min-width: 268px; min-height: 54px; padding: 0 30px; border-color: var(--accent); background: var(--accent); color: #fff; font-size: 15.5px; box-shadow: 0 8px 20px rgba(37, 99, 235, .22); }
.dl-reveal { display: grid; grid-template-rows: 0fr; margin-top: 0; opacity: 0; visibility: hidden; transition: grid-template-rows .3s ease, margin-top .3s ease, opacity .24s ease, visibility .3s; }
.dl-reveal.open { grid-template-rows: 1fr; margin-top: 22px; opacity: 1; visibility: visible; }
-/* The collapsed row is clipped by a bare wrapper: were the panel itself the row's only child, its
- own padding and border would hold roughly 30px of the closed row open. */
.dl-clip { min-height: 0; overflow: hidden; }
-/* One row of two short strips, so the picker reads as a wide rectangle rather than a block of
- squares. Inside a strip the icon, the name and any published builds are centred as one group —
- for Windows that is x64 after the name, for Linux x86_64 then aarch64 — while the recommended
- pill takes the strip's right edge. The panel is three quarters of the blocks below it, which
- still leaves each strip about 360px: enough to centre the Windows group and clear the pill. */
-.dl-panel { width: min(750px, 100%); margin: 0 auto; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-l); background: var(--surface); text-align: left; }
+.dl-panel {
+ width: min(750px, 100%); margin: 0 auto; padding: 12px 14px;
+ border: 1px solid var(--hairline); border-radius: 20px; background: var(--page); text-align: left;
+ box-shadow: 0 24px 60px rgba(18, 38, 84, .10);
+}
+:root[data-theme="dark"] .dl-panel { background: #0d0f13; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.dl-panel .os-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: none; margin: 0; }
-.dl-panel .os { position: relative; flex-direction: row; align-items: center; justify-content: center; gap: 10px; padding: 6px 12px; border-radius: var(--radius-m); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
-.dl-panel .os:hover { transform: translateY(-3px); border-color: var(--accent-border); box-shadow: var(--shadow-2); }
-.dl-panel .os .ico { flex: none; width: 28px; height: 28px; margin-bottom: 0; border-radius: 8px; transition: transform .18s ease, background .18s ease, color .18s ease; }
-.dl-panel .os:hover .ico { transform: scale(1.08); background: var(--accent-softer); color: var(--accent); }
-.dl-panel .os h3 { flex: none; font-size: 15px; }
-/* Builds run left to right on the name's own line, so the strip stays one line tall. */
+.dl-panel .os { position: relative; flex-direction: row; align-items: center; justify-content: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--page); box-shadow: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
+.dl-panel .os:hover { transform: translateY(-2px); border-color: var(--hairline-strong); box-shadow: 0 10px 26px rgba(18, 38, 84, .12); }
+.dl-panel .os .ico { flex: none; width: 28px; height: 28px; margin-bottom: 0; border-radius: 8px; }
+.dl-panel .os h3 { flex: none; font-size: 15px; color: var(--ink-1); }
.dl-panel .os .files { grid-template-columns: none; grid-auto-flow: column; gap: 4px; margin-top: 0; }
-/* A build chip is a small rounded label, not a pill: the shared radius would round a short chip
- into a capsule. The chip is two thirds of its first 1.5× height, so it stays a compact label. */
.dl-panel .os .file { justify-content: flex-start; padding: 2px 10px; border-radius: 5px; font-size: 13px; line-height: 1.2; }
-/* The release line sits outside the panel, tucked under its right-hand edge, and appears and
- disappears with it because it shares the panel's collapsing row. */
-.dl-meta { width: min(750px, 100%); margin: 9px auto 0; justify-content: flex-end; flex-wrap: wrap; font-size: 12px; }
-/* Two strips need the full 750px before the centred Windows group and the pill stop sharing space,
- so below that they stack and each one keeps the panel width. */
-@media (max-width: 820px) {
- .dl-panel .os-grid { grid-template-columns: minmax(0, 1fr); }
-}
-/* The card for the visitor's own system gets the ring, and this pill is pinned to that card's right
- edge, out of the flow so the icon, name and chips stay centred in the strip. */
+.dl-meta { width: min(750px, 100%); margin: 9px auto 0; justify-content: flex-end; flex-wrap: wrap; font-size: 12px; color: var(--ink-4); }
.dl-panel .os > #recommend-tag { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); }
#recommend-tag { display: inline-block; padding: 2px 8px; border: 1px solid var(--accent-border); border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent-deep); font-size: 10.5px; font-weight: 700; line-height: 1.3; letter-spacing: 0; vertical-align: middle; white-space: nowrap; }
.hidden { display: none !important; }
+/* ---------- landing responsive ---------- */
+@media (max-width: 1100px) {
+ .home-feature { grid-template-columns: minmax(0, 1fr); row-gap: 34px; }
+ .home-feature.flip .feature-copy, .home-feature.flip .feature-figure { order: 0; }
+ .feature-copy { max-width: 720px; }
+}
+@media (max-width: 720px) {
+ .topbar { top: 8px; width: calc(100% - 20px); height: 48px; margin-top: 8px; border-radius: 14px; }
+ .topbar-inner { padding: 0 6px; gap: 4px; }
+ .brand-mark { height: 22px; }
+ .brand-word { font-size: 15px; }
+ .topnav { gap: 0; }
+ .topnav a { padding: 6px 8px; font-size: 12.5px; white-space: nowrap; }
+ .topbar .search-btn { display: none; }
+ .lang-switch { padding: 0 6px; font-size: 12px; }
+ .topbar .theme-toggle { width: 30px; height: 30px; }
+ .hero-lead { max-width: 100%; font-size: 14px; }
+ .hero-shot { width: 100%; }
+ .home-feature.flip { grid-template-columns: minmax(0, 1fr); }
+ .home-feature.flip .feature-copy, .home-feature.flip .feature-figure { order: 0; }
+ .home-hero { margin-top: -56px; padding-top: calc(56px + 28px); }
+ .hero-wordmark { letter-spacing: 0; }
+ .hero-shot { border-radius: 10px; }
+ .home-feature { padding: 40px 0; }
+ .feature-figure img { border-radius: 14px; }
+ .cta-actions { flex-direction: column; align-items: center; }
+ .cta-ghost, .cta-solid { width: min(280px, 100%); }
+ .footer .wrap { flex-direction: column; align-items: flex-start; justify-content: center; padding: 14px 20px; }
+}
+@media (prefers-reduced-motion: reduce) {
+ .home-download, .cta-ghost, .cta-solid { transition: none; }
+}
+
+/* ---------- nav controls (icon-only search, flat theme toggle) ---------- */
+.topbar .search-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 0; height: 32px; padding: 0 9px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-1); font-size: 14px; cursor: pointer; }
+.topbar .search-btn span, .topbar .search-btn kbd { display: none; }
+.topbar .search-btn:hover { background: rgba(16, 24, 40, .05); color: var(--ink-1); }
+.topbar .theme-toggle { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-1); cursor: pointer; }
+.topbar .theme-toggle:hover { background: rgba(16, 24, 40, .05); }
+:root[data-theme="dark"] .topbar .search-btn, :root[data-theme="dark"] .topbar .theme-toggle { color: rgba(255, 255, 255, .82); }
+:root[data-theme="dark"] .topbar .search-btn:hover, :root[data-theme="dark"] .topbar .theme-toggle:hover { background: rgba(255, 255, 255, .08); }
+
+/* ---------- download panel base ---------- */
+.os-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
+.os { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--hairline); border-radius: var(--radius-l); background: var(--page); }
+.os .ico { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 12px; background: var(--soft); color: var(--ink-1); }
+.os h3 { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink-1); font-size: 18px; }
+.os .files { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: auto; }
+.file { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 10px; background: var(--soft); color: var(--ink-1); font-size: 13px; }
+a.file:hover { border-color: var(--hairline-strong); background: var(--page); color: var(--ink-1); text-decoration: none; }
+.file small { color: var(--ink-4); font-size: 12px; }
+.ver-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; color: var(--ink-4); font-size: 13px; }
+
/* ---------- docs ---------- */
/* The reader column is the point of this page, so the shell is wider than the marketing ones and
the two rails stay fixed: on a 1440px screen the article gets about 950px instead of 800px. */
@@ -605,3 +632,24 @@ a.file:hover { border-color: var(--accent-border-soft); background: var(--accent
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
+
+/* ---------- shared content components ---------- */
+/* The documentation index reuses the card grid that used to live in the old home page, so the
+ primitives stay here now that the landing page has its own layout. */
+.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
+.card { padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-1); transition: box-shadow .18s, border-color .18s, transform .18s; }
+a.card { display: block; color: inherit; }
+a.card:hover { border-color: var(--accent-border-soft); box-shadow: var(--shadow-card); text-decoration: none; transform: translateY(-2px); }
+.card .ico { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 10px; background: var(--accent-softer); color: var(--accent); }
+.card h3 { margin: 0 0 7px; color: var(--text-strong); font-size: 16px; letter-spacing: -.01em; }
+.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
+.card .more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; }
+.page-head { padding: 68px 0 10px; text-align: center; }
+.page-head h1 { margin: 0; color: var(--text-strong); font-size: clamp(36px, 4vw, 46px); line-height: 1.12; letter-spacing: -.05em; }
+.page-head p { margin: 16px auto 0; max-width: 670px; color: var(--muted); font-size: 16px; line-height: 1.7; }
+.os .req { margin: 4px 0 16px; color: var(--muted); font-size: 13px; }
+.file.off { color: var(--text-faint); border-style: dashed; }
+.os.recommended { border-color: var(--accent-border); box-shadow: 0 0 0 3px var(--accent-tint), var(--shadow-card); }
+
+/* The page itself sits on the design's canvas colour; documents used to keep their own grey wash. */
+body { background: var(--page); }