Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
feat(website): redesign every page on a shared night-plate system
tt-a1idb0c65dc6064
diff --git a/website/src/components/Brand.tsx b/website/src/components/Brand.tsxindex 92879438..a4eba283 100644--- a/website/src/components/Brand.tsx+++ b/website/src/components/Brand.tsx@@ -1,4 +1,4 @@/** Rendered on the server; no React hydration or client bundle is needed. */export default function Brand() {- return <img className="nav-logo-text brand-lockup" src="assets/archify-lockup-light.svg" alt="Archify" width={117} height={32} />;+ return <img className="nav-logo-text brand-lockup" src="assets/archify-lockup-dark.svg" alt="Archify" width={117} height={32} />;}diff --git a/website/src/components/Navigation.astro b/website/src/components/Navigation.astroindex cbc2087e..063860ae 100644--- a/website/src/components/Navigation.astro+++ b/website/src/components/Navigation.astro@@ -26,9 +26,35 @@ const links = [<div class="nav-right"><div class="nav-links">{links.map(link => <a class="nav-link" href={`${link.page}.html`} aria-current={page === link.page ? 'page' : undefined} {...(home ? { 'data-i18n': `nav-${link.page}` } : page === 'guide' ? { 'data-i18n': guideKeys[link.page] } : { 'data-en': link.en, 'data-zh': link.zh })}>{link.en}</a>)}- <a class="nav-link" href="https://github.com/tt-a1i/archify" target="_blank" rel="noopener">GitHub</a>+ <a class="nav-link" href="https://github.com/tt-a1i/archify" target="_blank" rel="noopener">GitHub<span class="nav-stars" data-gh-stars hidden></span></a></div><button class={home ? 'btn btn-lang' : 'btn-lang'} id={home ? 'btn-lang' : 'language'} type={home ? undefined : 'button'} aria-label={home ? undefined : 'Switch language'}>中文</button><a class="btn btn-primary nav-cta" href={home ? '#quickstart' : page === 'start' ? '#install' : 'start.html'} {...(home ? { 'data-i18n': 'nav-install' } : page === 'guide' ? { 'data-i18n': 'navInstall' } : { 'data-en': 'Install Skill', 'data-zh': '安装技能' })}>Install Skill</a></div></nav>+<script is:inline>+ (function () {+ var body = document.body;+ var sync = function () { body.classList.toggle('nav-scrolled', window.scrollY > 8); };+ window.addEventListener('scroll', sync, { passive: true });+ sync();+ var KEY = 'archify-gh-stars';+ var paint = function (n) {+ if (!n) return;+ var label = n >= 1000 ? (n / 1000).toFixed(n >= 10000 ? 0 : 1) + 'k' : String(n);+ document.querySelectorAll('[data-gh-stars]').forEach(function (node) { node.textContent = label; node.hidden = false; });+ };+ var cached = null;+ try { cached = JSON.parse(sessionStorage.getItem(KEY) || 'null'); } catch (_) {}+ if (cached && Date.now() - cached.at < 36e5) {+ document.addEventListener('DOMContentLoaded', function () { paint(cached.n); });+ return;+ }+ fetch('https://api.github.com/repos/tt-a1i/archify').then(function (r) { return r.ok ? r.json() : null; }).then(function (repo) {+ var n = repo && repo.stargazers_count;+ if (!n) return;+ try { sessionStorage.setItem(KEY, JSON.stringify({ n: n, at: Date.now() })); } catch (_) {}+ paint(n);+ }).catch(function () {});+ })();+</script>diff --git a/website/src/data/community-head.html b/website/src/data/community-head.htmlindex 03d7428d..0da9d99b 100644--- a/website/src/data/community-head.html+++ b/website/src/data/community-head.html@@ -4,9 +4,8 @@<meta name="generator" content="archify community [[ARCHIFY_VERSION]]"><title>Archify Community — Packages Built on Archify</title><meta name="description" content="A curated catalog of standalone community packages that build on Archify: skill packs, recipe libraries, brand kits, locale packs, and CLI wrappers. Submitted by PR, validated deterministically.">- <meta name="theme-color" content="#eff2f1">+ <meta name="theme-color" content="#07080a"><link rel="icon" type="image/svg+xml" href="assets/archify-mark.svg"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>- <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,400&family=Inter:wght@400;450;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">- <link rel="stylesheet" href="assets/site-navigation.css">+ <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,400&family=Space+Grotesk:wght@400;500;600&family=Inter:wght@400;450;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">diff --git a/website/src/data/gallery-head.html b/website/src/data/gallery-head.htmlindex f718177c..a933337c 100644--- a/website/src/data/gallery-head.html+++ b/website/src/data/gallery-head.html@@ -4,9 +4,8 @@<meta name="generator" content="archify gallery [[ARCHIFY_VERSION]]"><title>Archify Proof Lab — Generated Diagram Gallery</title><meta name="description" content="A generated gallery of validated, self-contained Archify diagrams. Every preview links to its exact JSON source and interactive HTML artifact.">- <meta name="theme-color" content="#eff2f1">+ <meta name="theme-color" content="#07080a"><link rel="icon" type="image/svg+xml" href="assets/archify-mark.svg"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>- <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,400&family=Inter:wght@400;450;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">- <link rel="stylesheet" href="assets/site-navigation.css">+ <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,400&family=Space+Grotesk:wght@400;500;600&family=Inter:wght@400;450;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">diff --git a/website/src/data/guide-head.html b/website/src/data/guide-head.htmlindex f2bcf660..e69dc2ea 100644--- a/website/src/data/guide-head.html+++ b/website/src/data/guide-head.html@@ -4,9 +4,8 @@<meta name="generator" content="archify guide [[ARCHIFY_VERSION]]"><title>Archify Scenario Guide — Choose the Right Diagram</title><meta name="description" content="Describe the technical question you need to answer. Archify recommends a bounded diagram recipe, evidence checklist, and copy-ready prompt.">- <meta name="theme-color" content="#eff2f1">+ <meta name="theme-color" content="#07080a"><link rel="icon" type="image/svg+xml" href="assets/archify-mark.svg"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>- <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,400&family=Inter:wght@400;450;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">- <link rel="stylesheet" href="assets/site-navigation.css">+ <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,400&family=Space+Grotesk:wght@400;500;600&family=Inter:wght@400;450;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">diff --git a/website/src/data/index-head.html b/website/src/data/index-head.htmlindex 19caffa0..405e23bf 100644--- a/website/src/data/index-head.html+++ b/website/src/data/index-head.html@@ -3,7 +3,7 @@<meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Archify — Technical Diagrams from Plain English</title><meta name="description" content="An agent skill for Cursor, Claude Code, Codex CLI, and OpenCode that turns plain-English descriptions into polished, explorable, self-contained technical diagrams with semantic focus, motion, and crisp export.">- <meta name="theme-color" content="#eff2f1">+ <meta name="theme-color" content="#07080a"><link rel="icon" type="image/svg+xml" href="assets/archify-mark.svg"><meta property="og:type" content="website">@@ -16,4 +16,3 @@<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,400&family=Space+Grotesk:wght@400;500;600&family=Inter:wght@400;450;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">- <link rel="stylesheet" href="assets/site-navigation.css">diff --git a/website/src/data/start-head.html b/website/src/data/start-head.htmlindex d6688e28..5b6965a2 100644--- a/website/src/data/start-head.html+++ b/website/src/data/start-head.html@@ -3,7 +3,7 @@<meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Archify Start — Describe It, Then See It</title><meta name="description" content="Create a verifiable technical diagram directly from a plain-language description, pasted Mermaid, or a repository. No repository is required.">- <meta name="theme-color" content="#eff2f1">+ <meta name="theme-color" content="#07080a"><meta property="og:type" content="website"><meta property="og:title" content="Archify Start — Describe it, then see it"><meta property="og:description" content="Start with a plain-language description, pasted Mermaid, or real code. No repository is required.">@@ -12,5 +12,4 @@<link rel="icon" type="image/svg+xml" href="assets/archify-mark.svg"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>- <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,400&family=Inter:wght@400;450;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">- <link rel="stylesheet" href="assets/site-navigation.css">+ <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,400&family=Space+Grotesk:wght@400;500;600&family=Inter:wght@400;450;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">diff --git a/website/src/layouts/SiteLayout.astro b/website/src/layouts/SiteLayout.astroindex edd893f5..dc7b7b89 100644--- a/website/src/layouts/SiteLayout.astro+++ b/website/src/layouts/SiteLayout.astro@@ -1,5 +1,6 @@---import '../styles/utilities.css';+import siteCss from '../styles/site.css?raw';interface Props { head: string; css: string }const { head, css } = Astro.props;---@@ -7,7 +8,7 @@ const { head, css } = Astro.props;<html lang="en"><head><Fragment set:html={head} />- <style is:inline set:html={css}></style>+ <style is:inline set:html={siteCss + css}></style></head><body><slot /></body></html>diff --git a/website/src/pages/index.astro b/website/src/pages/index.astroindex a6b9d7db..4bfae2ee 100644--- a/website/src/pages/index.astro+++ b/website/src/pages/index.astro@@ -6,440 +6,344 @@ import Brand from '../components/Brand';import head from '../data/index-head.html?raw';import css from '../styles/index.css?raw';import pageScript from '../scripts/index.js?raw';++const installCommand = 'npx -y skills add tt-a1i/archify --skill archify --agent claude-code --global --copy --yes';---<SiteLayout head={versioned(head)} css={css}>- <div class="grid-bg" aria-hidden="true"></div>-<!-- NAV --><Navigation page="index" />- <!-- HERO — bento: intro / live proof / specimen rail / stats -->+ <!-- HERO — centered statement; the live artifact window peeks in below the fold line --><section class="hero" data-proof-aperture="first-fold">- <div class="container">- <div class="hero-bento">- <div class="hero-intro">- <div class="hero-badge fade-up">- <div class="pulse-dot"></div>- <span data-i18n="hero-badge">Agent Skill · stable · v{version}</span>- </div>- <h1 class="fade-up d1" data-i18n="hero-h1">From plain English<br>to architecture <em>you can trust.</em></h1>- <p class="hero-sub fade-up d2" data-i18n="hero-sub">Describe your system in chat. Archify generates a polished, explorable HTML diagram — with progressive MAP → READ → FULL detail, a semantic camera, path-aware stories, motion, and ultra-crisp export built in.</p>- <div class="hero-actions fade-up d3">- <a class="btn btn-primary" href="guide.html">- <svg width="14" height="14" viewBox="0 0 14 14" fill="none"><path d="M2 7h10M7 2l5 5-5 5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>- <span data-i18n="hero-cta">Choose the right diagram</span>- </a>- <a class="btn btn-ghost" href="gallery.html">- <svg width="14" height="14" viewBox="0 0 14 14" fill="none"><rect x="1.5" y="1.5" width="4" height="4" stroke="currentColor"/><rect x="8.5" y="1.5" width="4" height="4" stroke="currentColor"/><rect x="1.5" y="8.5" width="4" height="4" stroke="currentColor"/><rect x="8.5" y="8.5" width="4" height="4" stroke="currentColor"/></svg>- <span data-i18n="hero-gallery">Explore proof gallery</span>- </a>- </div>+ <div class="hero-aura" aria-hidden="true">+ <svg class="hero-traces" viewBox="0 0 1440 760" preserveAspectRatio="xMidYMid slice">+ <path class="trace t1" d="M-20 610 H260 Q300 610 300 570 V430 Q300 390 340 390 H520"/>+ <path class="trace t2" d="M1460 560 H1180 Q1140 560 1140 520 V300 Q1140 260 1100 260 H930"/>+ <path class="trace t3" d="M-20 180 H140 Q180 180 180 220 V300 Q180 340 220 340 H380"/>+ <path class="trace t4" d="M1460 120 H1290 Q1250 120 1250 160 V200"/>+ </svg>+ </div>+ <div class="hero-copy">+ <a class="hero-eyebrow fade-up" href="https://github.com/tt-a1i/archify/blob/main/CHANGELOG.md" target="_blank" rel="noopener">+ <span class="pulse-dot" aria-hidden="true"></span>+ <span data-i18n="hero-badge">Agent Skill · stable · v{version}</span>+ <span class="eyebrow-sep" aria-hidden="true"></span>+ <span class="eyebrow-agents" data-i18n="hero-agents">Claude Code · Codex · Cursor · OpenCode · Copilot</span>+ </a>+ <h1 class="fade-up d1" data-i18n="hero-h1">Talk through your system.<br>Get a map <em>you can trust.</em></h1>+ <p class="hero-sub fade-up d2" data-i18n="hero-sub">Archify is an agent skill that turns a chat description — or your repository — into one self-contained, explorable HTML diagram. Validated before it ships, themed both ways, export-ready.</p>+ <div class="hero-actions fade-up d3">+ <div class="cmd-chip">+ <span class="cmd-prompt" aria-hidden="true">$</span>+ <code>npx skills add tt-a1i/archify -g</code>+ <button class="cmd-copy" type="button" data-copy-text="npx skills add tt-a1i/archify -g" aria-label="Copy install command">+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" aria-hidden="true"><rect x="4.5" y="4.5" width="8" height="8" rx="1.5" stroke="currentColor" stroke-width="1.3"/><path d="M9.5 4.5V3A1.5 1.5 0 0 0 8 1.5H3A1.5 1.5 0 0 0 1.5 3v5A1.5 1.5 0 0 0 3 9.5h1.5" stroke="currentColor" stroke-width="1.3"/></svg>+ <span class="cmd-copy-label" data-i18n="copy">Copy</span>+ </button></div>+ <a class="btn btn-primary" href="start.html">+ <span data-i18n="hero-cta">Get started</span>+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" aria-hidden="true"><path d="M2 7h10M7 2l5 5-5 5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>+ </a>+ <button class="btn btn-ghost demo-trigger" id="demo-open" type="button" aria-haspopup="dialog">+ <span class="play-ring" aria-hidden="true"><svg width="8" height="9" viewBox="0 0 9 10" fill="none"><path d="M1 1.2v7.6L8 5z" fill="currentColor"/></svg></span>+ <span data-i18n="demo-watch">Watch the 35s demo</span>+ </button>+ </div>+ <a class="hero-stars fade-up d4" id="hero-stars" href="https://github.com/tt-a1i/archify" target="_blank" rel="noopener">+ <svg width="14" height="14" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 .2a8 8 0 0 0-2.53 15.59c.4.07.55-.17.55-.38v-1.33c-2.23.48-2.7-1.07-2.7-1.07-.36-.92-.89-1.17-.89-1.17-.73-.5.06-.49.06-.49.8.06 1.23.83 1.23.83.72 1.22 1.88.87 2.34.66.07-.52.28-.87.5-1.07-1.78-.2-3.65-.89-3.65-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.6 7.6 0 0 1 4 0c1.53-1.03 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.28.82 2.15 0 3.07-1.87 3.75-3.66 3.95.29.25.54.73.54 1.48v2.2c0 .21.15.46.55.38A8 8 0 0 0 8 .2Z"/></svg>+ <span class="stars-count" data-gh-stars hidden></span>+ <span data-i18n="hero-stars">Open source on GitHub</span>+ </a>+ </div>+ </section>- <!-- MAIN LIVE PROOF -->- <div class="proof-main fade-up d2" id="hero-proof-stage" data-proof-playback="first-fold-once">- <div class="proof-chrome">- <div class="proof-status">- <span class="proof-live" data-i18n="proof-live">Live proof</span>- <div class="proof-status-copy">- <strong data-i18n="proof-status">Generated, checked, interactive</strong>- <span data-i18n="proof-receipt">Real gallery artifact · 9/9 validation checks</span>- </div>- </div>- <a class="proof-open" id="proof-open" href="gallery/artifacts/agent-tool-call.workflow.html?present=1#focus=planner&reach=downstream" target="_blank" rel="noopener">- <span data-i18n="proof-open">Open artifact</span><span aria-hidden="true">↗</span>- </a>+ <!-- LIVE STAGE — one real artifact, pinned; scrolling drives its semantic camera -->+ <section class="stage" id="tour" aria-labelledby="tour-title">+ <h2 class="sr-only" id="tour-title" data-i18n="tour-title">Live artifact tour</h2>+ <div class="stage-pin">+ <div class="stage-window" id="hero-proof-stage" data-proof-playback="first-fold-once">+ <div class="window-bar">+ <span class="window-dots" aria-hidden="true"><i></i><i></i><i></i></span>+ <div class="proof-rail" id="proof-tabs" role="tablist" aria-label="Choose a live Archify proof">+ <button class="spec-card" id="proof-tab-signal" type="button" role="tab" aria-controls="hero-proof-panel" aria-selected="true" tabindex="0" data-proof="signal">+ <span class="spec-idx">01</span><span class="spec-name">Agent Tool Call</span>+ </button>+ <button class="spec-card" id="proof-tab-blueprint" type="button" role="tab" aria-controls="hero-proof-panel" aria-selected="false" tabindex="-1" data-proof="blueprint">+ <span class="spec-idx">02</span><span class="spec-name">Production Deployment</span>+ </button>+ <button class="spec-card" id="proof-tab-classic" type="button" role="tab" aria-controls="hero-proof-panel" aria-selected="false" tabindex="-1" data-proof="classic">+ <span class="spec-idx">03</span><span class="spec-name">Cache Miss</span>+ </button></div>- <div class="proof-viewport" id="hero-proof-panel" role="tabpanel" aria-labelledby="proof-tab-signal">- <iframe id="hero-proof-frame" data-proof="signal" src="gallery/artifacts/agent-tool-call.workflow.html?embed=1&theme=dark#focus=planner&reach=downstream" title="Agent Tool Call live Archify proof" loading="eager" sandbox="allow-scripts"></iframe>- </div>- <div class="proof-caption" aria-live="polite">- <div class="proof-caption-main">- <span id="proof-meta">Workflow · Signal Flow · 12 nodes · 11 edges</span>- <strong id="proof-title">Agent Tool Call — policy, execution, recovery, and evidence</strong>- </div>- <span class="proof-hint" data-i18n="proof-hint">Open a stable focus, lens, or route link and inspect the same authored relationship.</span>+ <div class="window-address" aria-hidden="true">+ <svg width="11" height="11" viewBox="0 0 12 12" fill="none"><rect x="2" y="5.5" width="8" height="5.5" rx="1.2" stroke="currentColor" stroke-width="1.2"/><path d="M4 5.5V4a2 2 0 1 1 4 0v1.5" stroke="currentColor" stroke-width="1.2"/></svg>+ <span id="address-file">agent-tool-call.workflow.html</span><b id="address-hash">#focus=planner&reach=downstream</b></div>+ <a class="proof-open" id="proof-open" href="gallery/artifacts/agent-tool-call.workflow.html?present=1#focus=planner&reach=downstream" target="_blank" rel="noopener">+ <span data-i18n="proof-open">Open artifact</span><span aria-hidden="true">↗</span>+ </a></div>-- <!-- SPECIMEN RAIL (tablist) -->- <div class="proof-rail fade-up d3" id="proof-tabs" role="tablist" aria-label="Choose a live Archify proof">- <div class="rail-label" data-i18n="rail-label">Live specimens — select to load</div>- <button class="spec-card" id="proof-tab-signal" type="button" role="tab" aria-controls="hero-proof-panel" aria-selected="true" tabindex="0" data-proof="signal">- <div class="spec-top">- <span class="spec-idx">S·01</span>- <span class="spec-glyph" aria-hidden="true">- <svg width="34" height="26" viewBox="0 0 34 26" fill="none">- <path d="M1 5h32M1 13h32M1 21h32" stroke-width="1" opacity=".35"/>- <rect x="4" y="3" width="7" height="4" rx="1" stroke-width="1.25"/>- <rect x="14" y="11" width="7" height="4" rx="1" stroke-width="1.25"/>- <rect x="23" y="19" width="7" height="4" rx="1" stroke-width="1.25"/>- <path d="M11 5h6v6M21 13h4v6" stroke-width="1.25"/>- </svg>- </span>- </div>- <span class="spec-name">Agent Tool Call</span>- <span class="spec-meta">Workflow · Signal Flow · 12 nodes · 11 edges</span>- </button>- <button class="spec-card" id="proof-tab-blueprint" type="button" role="tab" aria-controls="hero-proof-panel" aria-selected="false" tabindex="-1" data-proof="blueprint">- <div class="spec-top">- <span class="spec-idx">S·02</span>- <span class="spec-glyph" aria-hidden="true">- <svg width="34" height="26" viewBox="0 0 34 26" fill="none">- <rect x="1" y="1" width="32" height="24" rx="2" stroke-width="1.25"/>- <rect x="5" y="5" width="10" height="7" rx="1" stroke-width="1.25"/>- <rect x="19" y="5" width="10" height="7" rx="1" stroke-width="1.25"/>- <rect x="5" y="16" width="24" height="5" rx="1" stroke-width="1.25"/>- <path d="M15 8.5h4M17 12v4" stroke-width="1.25"/>- </svg>- </span>- </div>- <span class="spec-name">Production Deployment</span>- <span class="spec-meta">Architecture · Blueprint · 12 nodes · 12 edges</span>- </button>- <button class="spec-card" id="proof-tab-classic" type="button" role="tab" aria-controls="hero-proof-panel" aria-selected="false" tabindex="-1" data-proof="classic">- <div class="spec-top">- <span class="spec-idx">S·03</span>- <span class="spec-glyph" aria-hidden="true">- <svg width="34" height="26" viewBox="0 0 34 26" fill="none">- <circle cx="6" cy="3.5" r="2.5" stroke-width="1.25"/>- <circle cx="17" cy="3.5" r="2.5" stroke-width="1.25"/>- <circle cx="28" cy="3.5" r="2.5" stroke-width="1.25"/>- <path d="M6 6v18M17 6v18M28 6v18" stroke-width="1" stroke-dasharray="2.5 2.5" opacity=".45"/>- <path d="M6 11h9.5M13 9l2.5 2-2.5 2" stroke-width="1.25"/>- <path d="M17 17h9.5M24 15l2.5 2-2.5 2" stroke-width="1.25"/>- </svg>- </span>- </div>- <span class="spec-name">Cache Miss</span>- <span class="spec-meta">Sequence · Classic · 7 participants · 12 messages</span>- </button>+ <div class="hero-frame" id="hero-proof-panel" role="tabpanel" aria-labelledby="proof-tab-signal">+ <iframe id="hero-proof-frame" data-proof="signal" src="gallery/artifacts/agent-tool-call.workflow.html?embed=1&theme=dark#focus=planner&reach=downstream" title="Agent Tool Call live Archify proof" loading="eager" sandbox="allow-scripts allow-same-origin"></iframe></div>-- <!-- STATS STRIP -->- <div class="hero-stats fade-up d4">- <div class="stat"><b>05</b><span data-i18n="stat-types">Diagram types</span></div>- <div class="stat"><b>04</b><span data-i18n="stat-presets">Visual presets</span></div>- <div class="stat"><b>02</b><span data-i18n="stat-themes">Coordinated themes</span></div>- <div class="stat"><b>4<sup>×</sup></b><span data-i18n="stat-export">Native export scale</span></div>- <div class="stat"><b>00</b><span data-i18n="stat-deps">Dependencies</span></div>+ <div class="beat-card" aria-live="polite">+ <div class="beat-rail" role="group" aria-label="Camera beats">+ <button class="beat-tick" type="button" data-beat="0" aria-pressed="true"><span data-i18n="beat-0-k">Focus</span></button>+ <button class="beat-tick" type="button" data-beat="1" aria-pressed="false"><span data-i18n="beat-1-k">Upstream</span></button>+ <button class="beat-tick" type="button" data-beat="2" aria-pressed="false"><span data-i18n="beat-2-k">Lens</span></button>+ <button class="beat-tick" type="button" data-beat="3" aria-pressed="false"><span data-i18n="beat-3-k">Map</span></button>+ </div>+ <p class="beat-meta"><span class="proof-live" data-i18n="proof-live">Live proof</span><span id="proof-meta">Workflow · Signal Flow · 12 nodes · 11 edges</span></p>+ <h3 class="beat-title" id="beat-title">Focus one node, see what it drives.</h3>+ <p class="beat-body" id="beat-body">Press Enter on any node — or open a stable link — and the camera isolates everything downstream of it.</p>+ <strong class="sr-only" id="proof-title">Agent Tool Call — policy, execution, recovery, and evidence</strong></div></div></div></section>- <div class="divider"></div>+ <!-- PROOF STRIP — receipts, not adjectives -->+ <section class="receipts" aria-label="Archify at a glance">+ <div class="container receipts-row">+ <div class="receipt fade-up"><b>5</b><span data-i18n="stat-types">Diagram types</span></div>+ <div class="receipt fade-up d1"><b>4</b><span data-i18n="stat-presets">Visual presets</span></div>+ <div class="receipt fade-up d2"><b>9/9</b><span data-i18n="stat-checks">Validation checks per artifact</span></div>+ <div class="receipt fade-up d3"><b>4×</b><span data-i18n="stat-export">Native export scale</span></div>+ <div class="receipt fade-up d4"><b>0</b><span data-i18n="stat-deps">Runtime dependencies</span></div>+ </div>+ </section>- <!-- DIAGRAM TYPES — asymmetric bento deck -->+ <!-- DIAGRAM TYPES — index list + lightbox preview --><section id="types"><div class="container">- <div class="types-header">- <div class="fade-up">- <div class="section-label" data-i18n="label-types">Diagram Types</div>- <h2 class="section-heading" data-i18n="types-h2">Five ways to see your system.</h2>- <p class="section-body" data-i18n="types-body">Architecture, workflows, sequences, data flows, or state machines — describe what you need and Archify picks the right visual language.</p>- </div>- </div>-- <div class="types-bento">- <div class="type-card big fade-up" data-type="arch">- <div class="type-media">- <span class="type-tag">T·01</span>- <img src="assets/archify-architecture.png" alt="Architecture diagram">- </div>- <div class="type-body">- <h3 data-i18n="arch-h">Architecture</h3>- <p data-i18n="arch-p">System components, cloud resources, databases, caches, services, security groups, and the connections between them.</p>- <ul class="type-uses">- <li data-i18n="arch-li1">AWS / GCP / Azure infra</li>- <li data-i18n="arch-li2">Microservices topology</li>- <li data-i18n="arch-li3">Security boundaries</li>- <li data-i18n="arch-li4">Network layout</li>- </ul>- </div>- </div>+ <header class="section-head fade-up">+ <p class="section-label"><span>01</span><span data-i18n="label-types">Diagram types</span></p>+ <h2 class="section-heading" data-i18n="types-h2">Five languages for <em>one system.</em></h2>+ <p class="section-body" data-i18n="types-body">Architecture, workflows, sequences, data flows, or state machines — describe what you need and Archify picks the visual language that fits the question.</p>+ </header>- <div class="type-card sm fade-up d1" data-type="wf">- <div class="type-media">- <span class="type-tag">T·02</span>- <img src="assets/archify-workflow.png" alt="Workflow diagram">- </div>- <div class="type-body">- <h3 data-i18n="wf-h">Workflow</h3>- <p data-i18n="wf-p">Swim-lane processes with semantic nodes and anchored edges — approval gates, async branches, and observability paths, lane by lane.</p>- </div>- </div>+ <div class="types-index">+ <ol class="types-list" id="types-list">+ <li class="type-item is-active" data-type="arch">+ <button type="button" aria-controls="type-preview" aria-pressed="true">+ <span class="type-no">01</span><span class="type-name" data-i18n="arch-h">Architecture</span>+ </button>+ <div class="type-detail"><div>+ <p data-i18n="arch-p">System components, cloud resources, databases, caches, services, security groups, and the connections between them.</p>+ <ul class="type-uses"><li data-i18n="arch-li1">AWS / GCP / Azure infra</li><li data-i18n="arch-li2">Microservices topology</li><li data-i18n="arch-li3">Security boundaries</li><li data-i18n="arch-li4">Network layout</li></ul>+ </div></div>+ </li>+ <li class="type-item" data-type="wf">+ <button type="button" aria-controls="type-preview" aria-pressed="false">+ <span class="type-no">02</span><span class="type-name" data-i18n="wf-h">Workflow</span>+ </button>+ <div class="type-detail"><div><p data-i18n="wf-p">Swim-lane processes with semantic nodes and anchored edges — approval gates, async branches, and observability paths, lane by lane.</p></div></div>+ </li>+ <li class="type-item" data-type="seq">+ <button type="button" aria-controls="type-preview" aria-pressed="false">+ <span class="type-no">03</span><span class="type-name" data-i18n="seq-h">Sequence</span>+ </button>+ <div class="type-detail"><div><p data-i18n="seq-p">API call chains, request lifecycles, cache fallback paths, auth checks, async traces — who calls whom, in what order, and what returns.</p></div></div>+ </li>+ <li class="type-item" data-type="flow">+ <button type="button" aria-controls="type-preview" aria-pressed="false">+ <span class="type-no">04</span><span class="type-name" data-i18n="flow-h">Data Flow</span>+ </button>+ <div class="type-detail"><div><p data-i18n="flow-p">Data pipelines, ETL/ELT, analytics events, PII isolation, warehouse sync, lineage, and downstream consumers — with governance boundaries.</p></div></div>+ </li>+ <li class="type-item" data-type="life">+ <button type="button" aria-controls="type-preview" aria-pressed="false">+ <span class="type-no">05</span><span class="type-name" data-i18n="life-h">Lifecycle</span>+ </button>+ <div class="type-detail"><div><p data-i18n="life-p">State machines, object lifecycles, run/order/deployment status transitions — with wait states, retries, cancellation, and terminal outcomes.</p></div></div>+ </li>+ </ol>- <div class="type-card sm fade-up d2" data-type="seq">- <div class="type-media">- <span class="type-tag">T·03</span>- <img src="assets/archify-sequence.png" alt="Sequence diagram">- </div>- <div class="type-body">- <h3 data-i18n="seq-h">Sequence</h3>- <p data-i18n="seq-p">API call chains, request lifecycles, cache fallback paths, auth checks, async traces — who calls whom, in what order, and what returns.</p>+ <div class="type-preview fade-up d1" id="type-preview">+ <div class="type-plate">+ <img class="is-active" data-type="arch" src="assets/archify-architecture.png" alt="Architecture diagram" loading="lazy" decoding="async">+ <img data-type="wf" src="assets/archify-workflow.png" alt="Workflow diagram" loading="lazy" decoding="async">+ <img data-type="seq" src="assets/archify-sequence.png" alt="Sequence diagram" loading="lazy" decoding="async">+ <img data-type="flow" src="assets/archify-dataflow.png" alt="Data flow diagram" loading="lazy" decoding="async">+ <img data-type="life" src="assets/archify-lifecycle.png" alt="Lifecycle diagram" loading="lazy" decoding="async"></div>+ <a class="type-more" href="gallery.html">+ <span data-i18n="types-more">Browse the full proof gallery</span>+ <span class="type-more-sub" data-i18n="types-more-sub">Live artifacts · every preset · every type</span>+ <span class="type-more-arrow" aria-hidden="true">↗</span>+ </a></div>-- <div class="type-card sm fade-up d1" data-type="flow">- <div class="type-media">- <span class="type-tag">T·04</span>- <img src="assets/archify-dataflow.png" alt="Data flow diagram">- </div>- <div class="type-body">- <h3 data-i18n="flow-h">Data Flow</h3>- <p data-i18n="flow-p">Data pipelines, ETL/ELT, analytics events, PII isolation, warehouse sync, lineage, and downstream consumers — with governance boundaries.</p>- </div>- </div>-- <div class="type-card sm fade-up d2" data-type="life">- <div class="type-media">- <span class="type-tag">T·05</span>- <img src="assets/archify-lifecycle.png" alt="Lifecycle diagram">- </div>- <div class="type-body">- <h3 data-i18n="life-h">Lifecycle</h3>- <p data-i18n="life-p">State machines, object lifecycles, run/order/deployment status transitions — with wait states, retries, cancellation, and terminal outcomes.</p>- </div>- </div>-- <a class="type-card more fade-up d3" href="gallery.html">- <div>- <div class="more-kicker" data-i18n="label-gallery">Index</div>- <div class="more-title" data-i18n="types-more">Browse the full proof gallery</div>- <div class="more-sub" data-i18n="types-more-sub">Live artifacts · every preset · every type</div>- </div>- <span class="more-arrow" aria-hidden="true">↗</span>- </a></div></div></section>- <div class="divider"></div>-- <!-- FEATURES — numbered text cards -->+ <!-- FEATURES — one interactive centerpiece + a tight grid --><section id="features"><div class="container">- <div class="fade-up" style="margin-bottom:2.75rem">- <div class="section-label" data-i18n="label-features">Features</div>- <h2 class="section-heading" data-i18n="features-h2">Production-ready output,<br>zero configuration.</h2>- </div>- <div class="features-bento">- <div class="feature-card f-lg fade-up">- <h3 data-i18n="f1-h">Four visual identities</h3>- <p data-i18n="f1-p">Classic, Signal Flow, Blueprint, and Editorial share one geometry contract. Every preset includes coordinated dark/light themes and exports cleanly.</p>- <span class="feature-tag" data-i18n="f1-tag">4 PRESETS · 2 THEMES</span>+ <header class="section-head fade-up">+ <p class="section-label"><span>02</span><span data-i18n="label-features">Output</span></p>+ <h2 class="section-heading" data-i18n="features-h2">One file. <em>Everything inside.</em></h2>+ </header>++ <div class="features-grid">+ <figure class="feature compare fade-up">+ <div class="compare-stage" id="compare-stage" style="--split:50%">+ <img class="compare-dark" src="assets/archify-dark.png" alt="The same Archify diagram rendered in the dark theme" loading="lazy" decoding="async">+ <img class="compare-light" src="assets/archify-light.png" alt="Archify architecture diagram rendered in the light theme" loading="lazy" decoding="async">+ <span class="compare-handle" aria-hidden="true"><i></i></span>+ <span class="compare-tag compare-tag-l" aria-hidden="true" data-i18n="cmp-light">Light</span>+ <span class="compare-tag compare-tag-r" aria-hidden="true" data-i18n="cmp-dark">Dark</span>+ <input class="compare-range" id="compare-range" type="range" min="0" max="100" value="50" aria-label="Compare light and dark theme">+ </div>+ <figcaption class="feature-body">+ <h3 data-i18n="fv1-h">Dual-theme output</h3>+ <p data-i18n="fv1-p">Every diagram ships with coordinated dark and light variable sets. The HTML theme toggle and the SVG @media prefers-color-scheme rule switch together — one file follows the reader's theme.</p>+ <span class="feature-tag" data-i18n="fv1-tag">LIGHT · DARK · ONE FILE</span>+ </figcaption>+ </figure>++ <div class="feature export fade-up d1">+ <div class="export-shot"><img src="assets/archify-menu.png" alt="Archify export menu listing PNG, JPEG, WebP, SVG, and WebM outputs" loading="lazy" decoding="async"></div>+ <h3 data-i18n="fv2-h">One menu, every format</h3>+ <p data-i18n="fv2-p">PNG, JPEG, WebP, dual-theme SVG, WebM motion, or straight to the clipboard — every export renders natively in the browser from the same menu.</p>+ <ul class="formats" aria-label="Export formats">+ <li>PNG</li><li>JPEG</li><li>WEBP</li><li>SVG</li><li>WEBM</li><li data-i18n="exp-clip-fmt">Clipboard</li>+ </ul></div>- <div class="feature-card f-lg fade-up d1">++ <div class="feature cell fade-up">+ <span class="cell-glyph" aria-hidden="true">4×</span><h3 data-i18n="f2-h">Ultra-crisp 4× export</h3><p data-i18n="f2-p">PNG, JPEG, WebP — all rasterized natively at up to 4× source resolution by the browser. No upsampling blur. Sharp on retina displays, slides, and print.</p>- <span class="feature-tag" data-i18n="f2-tag">PNG · JPEG · WEBP</span></div>- <div class="feature-card f-sm fade-up d2">- <h3 data-i18n="f3-h">Dual-theme SVG</h3>- <p data-i18n="f3-p">The SVG export ships with both variable sets plus a @media prefers-color-scheme rule. Drop one file into a GitHub README — it follows the reader's theme.</p>- <span class="feature-tag" data-i18n="f3-tag">VECTOR · SELF-THEMED</span>- </div>- <div class="feature-card f-sm fade-up d3">- <h3 data-i18n="f4-h">Copy to clipboard</h3>- <p data-i18n="f4-p">One button puts a PNG straight on your clipboard. Paste directly into Slack, Notion, GitHub, or Figma — no intermediate save step.</p>- <span class="feature-tag" data-i18n="f4-tag">INSTANT SHARE</span>- </div>- <div class="feature-card f-sm fade-up d4">+ <div class="feature cell fade-up d1">+ <span class="cell-glyph" aria-hidden="true"></></span><h3 data-i18n="f5-h">Self-contained HTML</h3><p data-i18n="f5-p">One HTML file. Zero dependencies, no server, no runtime. Open it in any browser and it works. Share by attaching it to an email or PR comment.</p>- <span class="feature-tag" data-i18n="f5-tag">ZERO DEPS</span></div>- <div class="feature-card f-sm fade-up d2">+ <div class="feature cell fade-up d2">+ <span class="cell-glyph" aria-hidden="true">“ ”</span><h3 data-i18n="f6-h">Iterate by chat</h3><p data-i18n="f6-p">"Add Redis", "move auth to the left", "use emerald for the API" — refine in natural language. No diagram editor to learn.</p>- <span class="feature-tag" data-i18n="f6-tag">CONVERSATIONAL</span></div>- <div class="feature-card f-sm fade-up d3">+ <div class="feature cell fade-up d3">+ <span class="cell-glyph" aria-hidden="true">→</span><h3 data-i18n="f7-h">Inspect and play real routes</h3><p data-i18n="f7-p">Route Journey keeps the complete authored path visible while you inspect any stop or play one finite, reader-controlled pass over each exact incoming relationship.</p><span class="feature-tag" data-i18n="f7-tag">INSPECT · PLAY · PAUSE</span></div>- <div class="feature-card f-sm fade-up d4">- <h3 data-i18n="f8-h">Anticipate and share the exact story moment</h3>- <p data-i18n="f8-p">Story Horizon distinguishes the exact next stop, while Semantic Story Carrier shows whether its one authored relationship is a call, data, event, security, or state transition. Pin any beat or share the same stable moment.</p>- <span class="feature-tag" data-i18n="f8-tag">FOLLOW · ANTICIPATE · SHARE</span>- </div>- </div>-- <div class="fade-up d2">- <p class="export-label-row" data-i18n="export-label">Export formats</p>- <div class="export-grid">- <div class="export-item"><div class="fmt">PNG</div><div class="desc" data-i18n="exp-png">Transparent · 4× native</div></div>- <div class="export-item"><div class="fmt">JPEG</div><div class="desc" data-i18n="exp-jpg">Theme bg · 4× native</div></div>- <div class="export-item"><div class="fmt">WEBP</div><div class="desc" data-i18n="exp-webp">Small · 4× native</div></div>- <div class="export-item"><div class="fmt">SVG</div><div class="desc" data-i18n="exp-svg">Vector · dual-theme</div></div>- <div class="export-item"><div class="fmt">WEBM</div><div class="desc" data-i18n="exp-webm">Motion · browser-native</div></div>- <div class="export-item"><div class="fmt" data-i18n="exp-clip-fmt">Clipboard</div><div class="desc" data-i18n="exp-clip">Copy PNG · instant paste</div></div>- </div></div></div></section>- <div class="divider"></div>-- <!-- COLOR PALETTE — one specimen strip -->+ <!-- PALETTE — semantic legend --><section id="palette"><div class="container">- <div class="fade-up" style="margin-bottom:2.75rem">- <div class="section-label" data-i18n="label-palette">Design System</div>- <h2 class="section-heading" data-i18n="palette-h2">A semantic color language for infrastructure.</h2>- <p class="section-body" style="margin-top:.5rem" data-i18n="palette-body">Seven component types. Each with coordinated dark and light variants that switch together via the theme toggle.</p>- </div>- <div class="palette-card fade-up">- <div class="palette-chip" style="--node:var(--cyan);--node-fill:var(--cyan-fill);--node-dark:#22d3ee">- <div class="chip-nodes">- <div class="mini-node"><b>Web App</b><span>React SPA</span></div>- <div class="mini-node dark"><b>Web App</b><span>React SPA</span></div>- </div>- <div class="chip-label" style="color:var(--cyan)" data-i18n="chip-frontend">Frontend</div>- <div class="chip-use" data-i18n="chip-frontend-use">Client apps, browsers, mobile, UI</div>- </div>- <div class="palette-chip" style="--node:var(--emerald);--node-fill:var(--emerald-fill);--node-dark:#34d399">- <div class="chip-nodes">- <div class="mini-node"><b>API Server</b><span>Fastify :8080</span></div>- <div class="mini-node dark"><b>API Server</b><span>Fastify :8080</span></div>- </div>- <div class="chip-label" style="color:var(--emerald)" data-i18n="chip-backend">Backend</div>- <div class="chip-use" data-i18n="chip-backend-use">Services, APIs, workers, daemons</div>- </div>- <div class="palette-chip" style="--node:var(--violet);--node-fill:var(--violet-fill);--node-dark:#a78bfa">- <div class="chip-nodes">- <div class="mini-node"><b>Postgres</b><span>primary :5432</span></div>- <div class="mini-node dark"><b>Postgres</b><span>primary :5432</span></div>- </div>- <div class="chip-label" style="color:var(--violet)" data-i18n="chip-database">Database</div>- <div class="chip-use" data-i18n="chip-database-use">DBs, caches, stores, AI/ML</div>- </div>- <div class="palette-chip" style="--node:var(--amber);--node-fill:var(--amber-fill);--node-dark:#fbbf24">- <div class="chip-nodes">- <div class="mini-node"><b>CloudFront</b><span>CDN</span></div>- <div class="mini-node dark"><b>CloudFront</b><span>CDN</span></div>- </div>- <div class="chip-label" style="color:var(--amber)" data-i18n="chip-cloud">Cloud</div>- <div class="chip-use" data-i18n="chip-cloud-use">Managed services, infra</div>- </div>- <div class="palette-chip" style="--node:var(--rose);--node-fill:var(--rose-fill);--node-dark:#fb7185">- <div class="chip-nodes">- <div class="mini-node"><b>Auth Provider</b><span>OAuth 2.0</span></div>- <div class="mini-node dark"><b>Auth Provider</b><span>OAuth 2.0</span></div>- </div>- <div class="chip-label" style="color:var(--rose)" data-i18n="chip-security">Security</div>- <div class="chip-use" data-i18n="chip-security-use">Auth, secrets, guards</div>- </div>- <div class="palette-chip" style="--node:var(--orange);--node-fill:var(--orange-fill);--node-dark:#fb923c">- <div class="chip-nodes">- <div class="mini-node"><b>Kafka</b><span>events topic</span></div>- <div class="mini-node dark"><b>Kafka</b><span>events topic</span></div>- </div>- <div class="chip-label" style="color:var(--orange)" data-i18n="chip-bus">Message Bus</div>- <div class="chip-use" data-i18n="chip-bus-use">Kafka, RabbitMQ, SNS</div>- </div>- <div class="palette-chip" style="--node:var(--slate);--node-fill:var(--slate-fill);--node-dark:#94a3b8">- <div class="chip-nodes">- <div class="mini-node"><b>Users</b><span>browser · mobile</span></div>- <div class="mini-node dark"><b>Users</b><span>browser · mobile</span></div>- </div>- <div class="chip-label" style="color:var(--slate)" data-i18n="chip-external">External</div>- <div class="chip-use" data-i18n="chip-external-use">Users, 3rd parties, generic</div>+ <header class="section-head section-head-row fade-up">+ <div>+ <p class="section-label"><span>03</span><span data-i18n="label-palette">Design system</span></p>+ <h2 class="section-heading" data-i18n="palette-h2">Color that <em>means something.</em></h2></div>+ <p class="section-body" data-i18n="palette-body">Seven component types. Each with coordinated dark and light variants that switch together via the theme toggle.</p>+ </header>+ <div class="legend fade-up d1">+ <div class="legend-chip" style="--node:#22d3ee"><span class="legend-node"><b>Web App</b><i>React SPA</i></span><span class="legend-label" data-i18n="chip-frontend">Frontend</span><span class="legend-use" data-i18n="chip-frontend-use">Client apps, browsers, mobile, UI</span></div>+ <div class="legend-chip" style="--node:#34d399"><span class="legend-node"><b>API Server</b><i>Fastify :8080</i></span><span class="legend-label" data-i18n="chip-backend">Backend</span><span class="legend-use" data-i18n="chip-backend-use">Services, APIs, workers, daemons</span></div>+ <div class="legend-chip" style="--node:#a78bfa"><span class="legend-node"><b>Postgres</b><i>primary :5432</i></span><span class="legend-label" data-i18n="chip-database">Database</span><span class="legend-use" data-i18n="chip-database-use">DBs, caches, stores, AI/ML</span></div>+ <div class="legend-chip" style="--node:#fbbf24"><span class="legend-node"><b>CloudFront</b><i>CDN</i></span><span class="legend-label" data-i18n="chip-cloud">Cloud</span><span class="legend-use" data-i18n="chip-cloud-use">Managed services, infra</span></div>+ <div class="legend-chip" style="--node:#fb7185"><span class="legend-node"><b>Auth Provider</b><i>OAuth 2.0</i></span><span class="legend-label" data-i18n="chip-security">Security</span><span class="legend-use" data-i18n="chip-security-use">Auth, secrets, guards</span></div>+ <div class="legend-chip" style="--node:#fb923c"><span class="legend-node"><b>Kafka</b><i>events topic</i></span><span class="legend-label" data-i18n="chip-bus">Message Bus</span><span class="legend-use" data-i18n="chip-bus-use">Kafka, RabbitMQ, SNS</span></div>+ <div class="legend-chip" style="--node:#94a3b8"><span class="legend-node"><b>Users</b><i>browser · mobile</i></span><span class="legend-label" data-i18n="chip-external">External</span><span class="legend-use" data-i18n="chip-external-use">Users, 3rd parties, generic</span></div></div></div></section>- <div class="divider"></div>-<!-- QUICK START --><section id="quickstart"><div class="container">- <div class="fade-up" style="margin-bottom:2.75rem">- <div class="section-label" data-i18n="label-qs">Quick Start</div>- <h2 class="section-heading" data-i18n="qs-h2">Up and running<br>in three steps.</h2>- <p class="section-body" data-i18n="qs-body">One checked Skill for Cursor, Claude Code, Codex, and OpenCode. Their switcher generates exact commands.</p>- </div>- <div class="quickstart-layout">- <div class="qs-card fade-up d1">- <div class="steps">- <div class="step">- <div class="step-num">1</div>- <div class="step-content">- <h4 data-i18n="step1-h">Install in one command</h4>- <p data-i18n="step1-p">Run <code>npx skills add tt-a1i/archify -g</code>, or open the <a href="start.html?agent=cursor&type=architecture">agent-aware quick start</a> for an exact Cursor, Codex, Claude Code, or OpenCode command.</p>- </div>- </div>- <div class="step">- <div class="step-num">2</div>- <div class="step-content">- <h4 data-i18n="step2-h">Describe your system</h4>- <p data-i18n="step2-p">Describe components, connections, and cloud services — or ask your agent to analyze the repository first.</p>- </div>- </div>- <div class="step">- <div class="step-num">3</div>- <div class="step-content">- <h4 data-i18n="step3-h">Ask your agent to draw it</h4>- <p data-i18n="step3-p">Tell your agent to use Archify. It generates a self-contained HTML file you can open in any browser and refine in chat.</p>- </div>+ <header class="section-head fade-up">+ <p class="section-label"><span>04</span><span data-i18n="label-qs">Quick start</span></p>+ <h2 class="section-heading" data-i18n="qs-h2">Three steps. <em>One command.</em></h2>+ <p class="section-body" data-i18n="qs-body">One checked Skill for Claude Code, Codex, Cursor, OpenCode, and GitHub Copilot. Pick your agent for the exact command.</p>+ </header>++ <div class="qs-layout">+ <div class="terminal fade-up">+ <div class="terminal-bar">+ <div class="agent-tabs" role="tablist" aria-label="Choose your agent">+ <button type="button" role="tab" aria-selected="true" tabindex="0" data-agent="claude-code">Claude Code</button>+ <button type="button" role="tab" aria-selected="false" tabindex="-1" data-agent="codex">Codex</button>+ <button type="button" role="tab" aria-selected="false" tabindex="-1" data-agent="cursor">Cursor</button>+ <button type="button" role="tab" aria-selected="false" tabindex="-1" data-agent="opencode">OpenCode</button>+ <button type="button" role="tab" aria-selected="false" tabindex="-1" data-agent="github-copilot">Copilot</button></div></div>- </div>-- <div class="fade-up d2">- <div class="shortcut-box">- <p class="shortcut-title" data-i18n="kbd-label">Keyboard shortcuts</p>- <div class="shortcut-rows">- <div class="shortcut-row"><span data-i18n="kbd-guide">Diagram guide</span><kbd>?</kbd></div>- <div class="shortcut-row"><span data-i18n="kbd-theme">Toggle theme</span><kbd>T</kbd></div>- <div class="shortcut-row"><span data-i18n="kbd-find">Find node / route endpoint</span><kbd>/</kbd></div>- <div class="shortcut-row"><span data-i18n="kbd-route">Trace, inspect, and play a route</span><kbd>R</kbd></div>- <div class="shortcut-row"><span data-i18n="kbd-radar">Semantic radar</span><kbd>M</kbd></div>- <div class="shortcut-row"><span data-i18n="kbd-lens">Compare semantic kinds</span><kbd>L</kbd></div>- <div class="shortcut-row"><span data-i18n="kbd-present">Presentation stage</span><kbd>F</kbd></div>- <div class="shortcut-row"><span data-i18n="kbd-export">Open export menu</span><kbd>E</kbd></div>- <div class="shortcut-row"><span data-i18n="kbd-focus">Focus node</span><kbd>Enter</kbd></div>- <div class="shortcut-row"><span data-i18n="kbd-zoom">Reading depth / reset</span><kbd>+ − 0</kbd></div>- <div class="shortcut-row"><span data-i18n="kbd-nav">Navigate menu</span><kbd>↑ ↓</kbd></div>- <div class="shortcut-row"><span data-i18n="kbd-close">Close menu</span><kbd>Esc</kbd></div>+ <div class="terminal-body" role="tabpanel">+ <p class="install-cmt" data-i18n="term-c1"># Install globally for your agent</p>+ <div class="install-line">+ <p class="install-cmd"><span aria-hidden="true">$ </span><code id="agent-command">{installCommand}</code></p>+ <button class="cmd-copy" type="button" data-copy-from="agent-command" aria-label="Copy install command">+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" aria-hidden="true"><rect x="4.5" y="4.5" width="8" height="8" rx="1.5" stroke="currentColor" stroke-width="1.3"/><path d="M9.5 4.5V3A1.5 1.5 0 0 0 8 1.5H3A1.5 1.5 0 0 0 1.5 3v5A1.5 1.5 0 0 0 3 9.5h1.5" stroke="currentColor" stroke-width="1.3"/></svg>+ <span class="cmd-copy-label" data-i18n="copy">Copy</span>+ </button></div>+ <p class="install-cmt" data-i18n="term-c2"># Or try it once with Codex, no permanent install</p>+ <p class="install-cmd"><span aria-hidden="true">$ </span><code>npx skills use tt-a1i/archify@archify --agent codex</code></p>+ <p class="install-cmt" data-i18n="term-c3"># Then just ask</p>+ <p class="install-ask" data-i18n="term-ask">› Use Archify to draw our checkout service: web, API, Redis cache, Postgres, Stripe webhook.</p></div></div>++ <ol class="steps fade-up d1">+ <li class="step">+ <span class="step-num">1</span>+ <div><h4 data-i18n="step1-h">Install in one command</h4>+ <p data-i18n="step1-p">Run the command for your agent, or open the <a href="start.html?agent=cursor&type=architecture">agent-aware quick start</a> for project-scoped installs.</p></div>+ </li>+ <li class="step">+ <span class="step-num">2</span>+ <div><h4 data-i18n="step2-h">Describe your system</h4>+ <p data-i18n="step2-p">Describe components, connections, and cloud services — or ask your agent to analyze the repository first.</p></div>+ </li>+ <li class="step">+ <span class="step-num">3</span>+ <div><h4 data-i18n="step3-h">Ask your agent to draw it</h4>+ <p data-i18n="step3-p">Tell your agent to use Archify. It generates a self-contained HTML file you can open in any browser and refine in chat.</p></div>+ </li>+ </ol></div>- <div class="fade-up d2">- <div class="install-strip">- <div id="code-en">- <p class="install-cmt"># Install globally for Cursor</p>- <p class="install-cmd">npx -y skills add tt-a1i/archify --skill archify --agent cursor --global --copy --yes</p>- <p class="install-cmt"># Or try with Codex, without a permanent install</p>- <p class="install-cmd">npx skills use tt-a1i/archify@archify --agent codex</p>- </div>- <div id="code-zh" style="display:none">- <p class="install-cmt"># 全局安装到 Cursor</p>- <p class="install-cmd">npx -y skills add tt-a1i/archify --skill archify --agent cursor --global --copy --yes</p>- <p class="install-cmt"># 或者用临时副本启动 Codex</p>- <p class="install-cmd">npx skills use tt-a1i/archify@archify --agent codex</p>- </div>- </div>++ <div class="shortcut-box fade-up d2">+ <p class="shortcut-title" data-i18n="kbd-label">Inside every artifact</p>+ <div class="shortcut-rows">+ <div class="shortcut-row"><span data-i18n="kbd-guide">Diagram guide</span><kbd>?</kbd></div>+ <div class="shortcut-row"><span data-i18n="kbd-theme">Toggle theme</span><kbd>T</kbd></div>+ <div class="shortcut-row"><span data-i18n="kbd-find">Find node / route endpoint</span><kbd>/</kbd></div>+ <div class="shortcut-row"><span data-i18n="kbd-route">Trace, inspect, and play a route</span><kbd>R</kbd></div>+ <div class="shortcut-row"><span data-i18n="kbd-radar">Semantic radar</span><kbd>M</kbd></div>+ <div class="shortcut-row"><span data-i18n="kbd-lens">Compare semantic kinds</span><kbd>L</kbd></div>+ <div class="shortcut-row"><span data-i18n="kbd-present">Presentation stage</span><kbd>F</kbd></div>+ <div class="shortcut-row"><span data-i18n="kbd-export">Open export menu</span><kbd>E</kbd></div>+ <div class="shortcut-row"><span data-i18n="kbd-focus">Focus node</span><kbd>Enter</kbd></div>+ <div class="shortcut-row"><span data-i18n="kbd-zoom">Reading depth / reset</span><kbd>+ − 0</kbd></div>+ <div class="shortcut-row"><span data-i18n="kbd-nav">Navigate menu</span><kbd>↑ ↓</kbd></div>+ <div class="shortcut-row"><span data-i18n="kbd-close">Close menu</span><kbd>Esc</kbd></div>+ </div></div></div></section><!-- CLOSING CTA --><section id="cta">- <div class="container">- <div class="cta-card fade-up">- <h2 class="cta-h" data-i18n="cta-h">Describe it once.<br><em>Share the map.</em></h2>- <p class="cta-sub" data-i18n="cta-sub">One command installs the checked skill for Cursor, Claude Code, Codex, or OpenCode — and your next diagram is a chat message away.</p>- <div class="cta-actions">- <a class="cta-install" href="start.html" data-i18n="cta-install">Install the skill</a>- <a class="cta-gh" href="https://github.com/tt-a1i/archify" target="_blank" rel="noopener">github.com/tt-a1i/archify ↗</a>- </div>- <p class="cta-cmd">$ <b>npx skills add tt-a1i/archify -g</b></p>+ <div class="cta-glow" aria-hidden="true"></div>+ <div class="container cta-inner">+ <h2 class="cta-h fade-up" data-i18n="cta-h">Describe it once.<br><em>Share the map.</em></h2>+ <p class="cta-sub fade-up d1" data-i18n="cta-sub">One command installs the checked skill for your agent — and your next diagram is a chat message away.</p>+ <div class="cta-actions fade-up d2">+ <a class="btn btn-primary btn-lg" href="start.html" data-i18n="cta-install">Install the skill</a>+ <a class="btn btn-ghost btn-lg" href="https://github.com/tt-a1i/archify" target="_blank" rel="noopener"><span data-i18n="cta-gh">Star on GitHub</span> <span aria-hidden="true">↗</span></a></div></div></section>@@ -454,6 +358,8 @@ import pageScript from '../scripts/index.js?raw';<p class="footer-meta" data-i18n="footer-meta">stable · v{version} · MIT License<br>Based on Cocoon-AI/architecture-diagram-generator</p></div><div class="footer-links">+ <a href="guide.html" data-i18n="nav-guide">Guide</a>+ <a href="gallery.html" data-i18n="nav-gallery">Proof Lab</a><a href="community.html" data-i18n="footer-community">Community</a><a href="https://github.com/tt-a1i/archify" target="_blank" rel="noopener">GitHub</a><a href="https://github.com/tt-a1i/archify/blob/main/CHANGELOG.md" target="_blank" rel="noopener" data-i18n="footer-changelog">Changelog</a>@@ -462,6 +368,22 @@ import pageScript from '../scripts/index.js?raw';</div></footer>+ <!-- DEMO LIGHTBOX — video src is only assigned when the dialog opens -->+ <dialog class="demo-dialog" id="demo-dialog" aria-labelledby="demo-title">+ <div class="demo-frame">+ <div class="demo-frame-bar">+ <span class="demo-title" id="demo-title" data-i18n="demo-title">Archify 35-second demo</span>+ <button class="demo-close" id="demo-close" type="button">+ <span aria-hidden="true">×</span>+ <span class="sr-only" data-i18n="demo-close">Close demo</span>+ </button>+ </div>+ <div class="demo-video-box">+ <video id="demo-video" controls playsinline preload="none" poster="assets/archify-dark.png"></video>+ </div>+ </div>+ </dialog>+<script is:inline src="assets/site-language.js"></script><script is:inline set:html={versioned(pageScript)}></script>diff --git a/website/src/scripts/guide.js b/website/src/scripts/guide.jsindex 61d8459c..45ca0862 100644--- a/website/src/scripts/guide.js+++ b/website/src/scripts/guide.js@@ -3,7 +3,7 @@'use strict';var recipes = JSON.parse(document.getElementById('guide-data').textContent);var types = ["architecture","workflow","sequence","dataflow","lifecycle"];- var colors = { architecture:'#0891b2', workflow:'#047857', sequence:'#6d28d9', dataflow:'#b45309', lifecycle:'#be123c' };+ var colors = { architecture:'#22d3ee', workflow:'#34d399', sequence:'#a78bfa', dataflow:'#fbbf24', lifecycle:'#fb7185' };var language = ArchifySiteLanguage.read();var activeType = 'all';var lastRecipe = null;diff --git a/website/src/scripts/index.js b/website/src/scripts/index.jsindex fd68a151..22792cf7 100644--- a/website/src/scripts/index.js+++ b/website/src/scripts/index.js@@ -6,16 +6,22 @@en: {'nav-guide':'Guide','nav-gallery':'Proof Lab','nav-start':'Start','nav-community':'Community','nav-install':'Install Skill','hero-badge':'Agent Skill · stable · v[[ARCHIFY_VERSION]]',- 'hero-h1':'From plain English<br>to architecture <em>you can trust.</em>',- 'hero-sub':'Describe your system in chat. Archify generates a polished, explorable HTML diagram — with progressive MAP → READ → FULL detail, a semantic camera, path-aware stories, motion, and ultra-crisp export built in.',- 'hero-cta':'Choose the right diagram','hero-gallery':'Explore proof gallery',- 'proof-live':'Live proof','proof-status':'Generated, checked, interactive','proof-receipt':'Real gallery artifact · 9/9 validation checks','proof-open':'Open artifact','proof-hint':'Open a stable focus, lens, or route link and inspect the same authored relationship.',- 'rail-label':'Live specimens — select to load',- 'stat-types':'Diagram types','stat-presets':'Visual presets','stat-themes':'Coordinated themes','stat-export':'Native export scale','stat-deps':'Dependencies',- 'label-types':'Diagram Types',- 'types-h2':'Five ways to see your system.',- 'types-body':'Architecture, workflows, sequences, data flows, or state machines — describe what you need and Archify picks the right visual language.',- 'label-gallery':'Index',+ 'hero-agents':'Claude Code · Codex · Cursor · OpenCode · Copilot',+ 'hero-h1':'Talk through your system.<br>Get a map <em>you can trust.</em>',+ 'hero-sub':'Archify is an agent skill that turns a chat description — or your repository — into one self-contained, explorable HTML diagram. Validated before it ships, themed both ways, export-ready.',+ 'hero-cta':'Get started','hero-stars':'Open source on GitHub','copy':'Copy','copied':'Copied',+ 'demo-watch':'Watch the 35s demo','demo-title':'Archify 35-second demo','demo-close':'Close demo',+ 'tour-title':'Live artifact tour',+ 'proof-live':'Live','proof-open':'Open artifact',+ 'beat-0-k':'Focus','beat-1-k':'Upstream','beat-2-k':'Lens','beat-3-k':'Map',+ 'beat-0-t':'Focus one node, see what it drives.','beat-0-b':'Press Enter on any node — or open a stable link — and the camera isolates everything downstream of it.',+ 'beat-1-t':'Flip the reach. Find the cause.','beat-1-b':'Trace upstream to every dependency that feeds a step. Same file, same authored relationships, one hash change.',+ 'beat-2-t':'Compare by meaning, not by box.','beat-2-b':'Lens keeps only the semantic kinds you name — security against data, backend against storage — and quiets the rest.',+ 'beat-3-t':'Then the whole system, still crisp.','beat-3-b':'Pull back to MAP depth: lanes, boundaries, and every edge in one readable frame. This is the real artifact — try it.',+ 'stat-types':'Diagram types','stat-presets':'Visual presets','stat-checks':'Validation checks per artifact','stat-export':'Native export scale','stat-deps':'Runtime dependencies',+ 'label-types':'Diagram types',+ 'types-h2':'Five languages for <em>one system.</em>',+ 'types-body':'Architecture, workflows, sequences, data flows, or state machines — describe what you need and Archify picks the visual language that fits the question.','types-more':'Browse the full proof gallery','types-more-sub':'Live artifacts · every preset · every type','arch-h':'Architecture','arch-p':'System components, cloud resources, databases, caches, services, security groups, and the connections between them.',@@ -28,20 +34,18 @@'flow-p':'Data pipelines, ETL/ELT, analytics events, PII isolation, warehouse sync, lineage, and downstream consumers — with governance boundaries.','life-h':'Lifecycle','life-p':'State machines, object lifecycles, run/order/deployment status transitions — with wait states, retries, cancellation, and terminal outcomes.',- 'label-features':'Features',- 'features-h2':'Production-ready output,<br>zero configuration.',- 'f1-h':'Four visual identities','f1-p':'Classic, Signal Flow, Blueprint, and Editorial share one geometry contract. Every preset includes coordinated dark/light themes and exports cleanly.','f1-tag':'4 PRESETS · 2 THEMES',- 'f2-h':'Ultra-crisp 4× export','f2-p':'PNG, JPEG, WebP — all rasterized natively at up to 4× source resolution by the browser. No upsampling blur. Sharp on retina displays, slides, and print.','f2-tag':'PNG · JPEG · WEBP',- 'f3-h':'Dual-theme SVG','f3-p':"The SVG export ships with both variable sets plus a @media prefers-color-scheme rule. Drop one file into a GitHub README — it follows the reader's theme.",'f3-tag':'VECTOR · SELF-THEMED',- 'f4-h':'Copy to clipboard','f4-p':'One button puts a PNG straight on your clipboard. Paste directly into Slack, Notion, GitHub, or Figma — no intermediate save step.','f4-tag':'INSTANT SHARE',- 'f5-h':'Self-contained HTML','f5-p':'One HTML file. Zero dependencies, no server, no runtime. Open it in any browser and it works. Share by attaching it to an email or PR comment.','f5-tag':'ZERO DEPS',- 'f6-h':'Iterate by chat','f6-p':'"Add Redis", "move auth to the left", "use emerald for the API" — refine in natural language. No diagram editor to learn.','f6-tag':'CONVERSATIONAL',+ 'label-features':'Output',+ 'features-h2':'One file. <em>Everything inside.</em>',+ 'cmp-light':'Light','cmp-dark':'Dark',+ 'fv1-h':'Dual-theme output','fv1-p':"Every diagram ships with coordinated dark and light variable sets. The HTML theme toggle and the SVG @media prefers-color-scheme rule switch together — one file follows the reader's theme.",'fv1-tag':'LIGHT · DARK · ONE FILE',+ 'fv2-h':'One menu, every format','fv2-p':'PNG, JPEG, WebP, dual-theme SVG, WebM motion, or straight to the clipboard — every export renders natively in the browser from the same menu.',+ 'exp-clip-fmt':'Clipboard',+ 'f2-h':'Ultra-crisp 4× export','f2-p':'PNG, JPEG, WebP — all rasterized natively at up to 4× source resolution by the browser. No upsampling blur. Sharp on retina displays, slides, and print.',+ 'f5-h':'Self-contained HTML','f5-p':'One HTML file. Zero dependencies, no server, no runtime. Open it in any browser and it works. Share by attaching it to an email or PR comment.',+ 'f6-h':'Iterate by chat','f6-p':'"Add Redis", "move auth to the left", "use emerald for the API" — refine in natural language. No diagram editor to learn.','f7-h':'Inspect and play real routes','f7-p':'Route Journey keeps the complete authored path visible while you inspect any stop or play one finite, reader-controlled pass over each exact incoming relationship.','f7-tag':'INSPECT · PLAY · PAUSE',- 'f8-h':'Anticipate and share the exact story moment','f8-p':'Story Horizon distinguishes the exact next stop, while Semantic Story Carrier shows whether its one authored relationship is a call, data, event, security, or state transition. Pin any beat or share the same stable moment.','f8-tag':'FOLLOW · ANTICIPATE · SHARE',- 'export-label':'Export formats',- 'exp-png':'Transparent · 4× native','exp-jpg':'Theme bg · 4× native','exp-webp':'Small · 4× native','exp-svg':'Vector · dual-theme','exp-webm':'Motion · browser-native','exp-clip-fmt':'Clipboard','exp-clip':'Copy PNG · instant paste',- 'label-palette':'Design System',- 'palette-h2':'A semantic color language for infrastructure.',+ 'label-palette':'Design system',+ 'palette-h2':'Color that <em>means something.</em>','palette-body':'Seven component types. Each with coordinated dark and light variants that switch together via the theme toggle.','chip-frontend':'Frontend','chip-frontend-use':'Client apps, browsers, mobile, UI','chip-backend':'Backend','chip-backend-use':'Services, APIs, workers, daemons',@@ -50,32 +54,40 @@'chip-security':'Security','chip-security-use':'Auth, secrets, guards','chip-bus':'Message Bus','chip-bus-use':'Kafka, RabbitMQ, SNS','chip-external':'External','chip-external-use':'Users, 3rd parties, generic',- 'label-qs':'Quick Start',- 'qs-h2':'Up and running<br>in three steps.',- 'qs-body':'One checked Skill for Cursor, Claude Code, Codex, and OpenCode. Their switcher generates exact commands.',- 'step1-h':'Install in one command','step1-p':'Run <code>npx skills add tt-a1i/archify -g</code>, or open the <a href="start.html?agent=cursor&type=architecture">agent-aware quick start</a> for an exact Cursor, Codex, Claude Code, or OpenCode command.',+ 'label-qs':'Quick start',+ 'qs-h2':'Three steps. <em>One command.</em>',+ 'qs-body':'One checked Skill for Claude Code, Codex, Cursor, OpenCode, and GitHub Copilot. Pick your agent for the exact command.',+ 'term-c1':'# Install globally for your agent','term-c2':'# Or try it once with Codex, no permanent install','term-c3':'# Then just ask',+ 'term-ask':'› Use Archify to draw our checkout service: web, API, Redis cache, Postgres, Stripe webhook.',+ 'step1-h':'Install in one command','step1-p':'Run the command for your agent, or open the <a href="start.html?agent=cursor&type=architecture">agent-aware quick start</a> for project-scoped installs.','step2-h':'Describe your system','step2-p':'Describe components, connections, and cloud services — or ask your agent to analyze the repository first.','step3-h':'Ask your agent to draw it','step3-p':'Tell your agent to use Archify. It generates a self-contained HTML file you can open in any browser and refine in chat.',- 'kbd-label':'Keyboard shortcuts','kbd-guide':'Diagram guide','kbd-theme':'Toggle theme','kbd-find':'Find node / route endpoint','kbd-route':'Trace and inspect a route','kbd-radar':'Semantic radar','kbd-lens':'Compare semantic kinds','kbd-present':'Presentation stage','kbd-export':'Open export menu','kbd-focus':'Focus node','kbd-zoom':'Reading depth / reset','kbd-nav':'Navigate menu','kbd-close':'Close menu',+ 'kbd-label':'Inside every artifact','kbd-guide':'Diagram guide','kbd-theme':'Toggle theme','kbd-find':'Find node / route endpoint','kbd-route':'Trace, inspect, and play a route','kbd-radar':'Semantic radar','kbd-lens':'Compare semantic kinds','kbd-present':'Presentation stage','kbd-export':'Open export menu','kbd-focus':'Focus node','kbd-zoom':'Reading depth / reset','kbd-nav':'Navigate menu','kbd-close':'Close menu','footer-meta':'stable · v[[ARCHIFY_VERSION]] · MIT License<br>Based on Cocoon-AI/architecture-diagram-generator','cta-h':'Describe it once.<br><em>Share the map.</em>',- 'cta-sub':'One command installs the checked skill for Cursor, Claude Code, Codex, or OpenCode — and your next diagram is a chat message away.',- 'cta-install':'Install the skill',+ 'cta-sub':'One command installs the checked skill for your agent — and your next diagram is a chat message away.',+ 'cta-install':'Install the skill','cta-gh':'Star on GitHub','footer-changelog':'Changelog','footer-license':'License','footer-community':'Community'},zh: {'nav-guide':'场景指南','nav-gallery':'验证作品集','nav-start':'快速上手','nav-community':'社区包','nav-install':'安装技能','hero-badge':'Agent 技能 · 稳定版 · v[[ARCHIFY_VERSION]]',- 'hero-h1':'用自然语言,<br>生成<em>可信的架构图。</em>',- 'hero-sub':'在对话中描述你的系统,Archify 生成精美、可探索的 HTML 技术图——信息会按 MAP → READ → FULL 渐进展开,并内置语义镜头、路径故事、动态效果和超清导出。',- 'hero-cta':'选择合适的图','hero-gallery':'查看验证作品集',- 'proof-live':'实时成品','proof-status':'自动生成 · 检查通过 · 可交互','proof-receipt':'真实作品集成品 · 9/9 项验证通过','proof-open':'打开完整成品','proof-hint':'打开稳定的聚焦、语义镜头或路径链接,检查同一条作者关系。',- 'rail-label':'实时标本 · 点击加载',- 'stat-types':'图表类型','stat-presets':'视觉预设','stat-themes':'深浅主题','stat-export':'原生导出倍率','stat-deps':'外部依赖',+ 'hero-agents':'Claude Code · Codex · Cursor · OpenCode · Copilot',+ 'hero-h1':'把系统讲清楚,<br>得到<em>可信的架构图。</em>',+ 'hero-sub':'Archify 是一个 Agent 技能:把一段对话描述,或者你的代码仓库,变成一个独立、可探索的 HTML 技术图。交付前自动校验,深浅主题齐备,随时导出。',+ 'hero-cta':'开始使用','hero-stars':'在 GitHub 开源','copy':'复制','copied':'已复制',+ 'demo-watch':'观看 35 秒演示','demo-title':'Archify 35 秒演示','demo-close':'关闭演示',+ 'tour-title':'实时成品导览',+ 'proof-live':'实时','proof-open':'打开完整成品',+ 'beat-0-k':'聚焦','beat-1-k':'上游','beat-2-k':'语义镜头','beat-3-k':'全景',+ 'beat-0-t':'聚焦一个节点,看清它驱动了什么。','beat-0-b':'在任意节点上按 Enter,或打开一个稳定链接,镜头会只保留它下游的一切。',+ 'beat-1-t':'反转方向,找到源头。','beat-1-b':'向上游追溯,看清喂给这一步的每个依赖。同一个文件、同一组作者关系,只改一次 hash。',+ 'beat-2-t':'按语义对比,而不是按方框。','beat-2-b':'语义镜头只保留你点名的类型——安全对数据、后端对存储——其余全部压暗。',+ 'beat-3-t':'再拉回整张图,依然清晰。','beat-3-b':'回到 MAP 层级:泳道、边界和每一条连线都在一个可读画面里。这就是真实成品,可以直接上手。',+ 'stat-types':'图表类型','stat-presets':'视觉预设','stat-checks':'每个成品的校验项','stat-export':'原生导出倍率','stat-deps':'运行时依赖','label-types':'图表类型',- 'types-h2':'五种方式,读懂你的系统。',- 'types-body':'架构图、工作流、时序图、数据流图、状态机——描述需求,Archify 自动选择最合适的可视化语言。',- 'label-gallery':'索引',+ 'types-h2':'五种语言,<br><em>读懂同一个系统。</em>',+ 'types-body':'架构图、工作流、时序图、数据流图、状态机——描述需求,Archify 选择最适合这个问题的可视化语言。','types-more':'浏览完整作品集','types-more-sub':'实时成品 · 全部预设 · 全部图型','arch-h':'架构图','arch-p':'系统组件、云资源、数据库、缓存、服务、安全组及其连接关系,一图清晰呈现。',@@ -88,20 +100,18 @@'flow-p':'数据管道、ETL/ELT、分析事件、PII 隔离、数仓同步、数据血缘及下游消费者——附治理边界。','life-h':'生命周期图','life-p':'状态机、对象生命周期、运行/订单/部署状态流转——含等待态、重试、取消和终态。',- 'label-features':'功能特性',- 'features-h2':'生产级输出,<br>零配置。',- 'f1-h':'四套视觉身份','f1-p':'Classic、Signal Flow、Blueprint 和 Editorial 共用同一套几何契约;每套都提供协调的深浅主题并保持干净导出。','f1-tag':'4 套预设 · 2 套主题',- 'f2-h':'超清 4× 导出','f2-p':'PNG、JPEG、WebP——由浏览器以最高 4 倍分辨率原生栅格化,无上采样模糊。视网膜屏、幻灯片、印刷均清晰。','f2-tag':'PNG · JPEG · WEBP',- 'f3-h':'双主题 SVG','f3-p':'SVG 导出同时内置深色和浅色变量集,并附 @media prefers-color-scheme 规则。放入 GitHub README,自动跟随读者主题。','f3-tag':'矢量 · 自适应主题',- 'f4-h':'复制到剪贴板','f4-p':'一键将 PNG 写入剪贴板,直接粘贴到 Slack、Notion、GitHub 或 Figma,无需手动保存。','f4-tag':'即时分享',- 'f5-h':'独立 HTML 文件','f5-p':'单个 HTML 文件,零依赖、无需服务器或构建工具,任意浏览器打开即用。作为附件发邮件或贴 PR 评论均可。','f5-tag':'零依赖',- 'f6-h':'对话式迭代','f6-p':'「加一个 Redis」「把鉴权移到左边」「API 用绿色」——用自然语言精调,无需学习任何图形编辑器。','f6-tag':'对话驱动',+ 'label-features':'输出',+ 'features-h2':'一个文件,<br><em>全部都在里面。</em>',+ 'cmp-light':'浅色','cmp-dark':'深色',+ 'fv1-h':'双主题输出','fv1-p':'每张图都内置协调的深色与浅色变量集:HTML 的主题开关与 SVG 的 @media prefers-color-scheme 规则同步切换——一个文件,自动跟随读者主题。','fv1-tag':'浅色 · 深色 · 单文件',+ 'fv2-h':'一个菜单,全部格式','fv2-p':'PNG、JPEG、WebP、双主题 SVG、WebM 动图,或直接复制到剪贴板——所有导出都在浏览器内原生渲染,同一个菜单完成。',+ 'exp-clip-fmt':'剪贴板',+ 'f2-h':'超清 4× 导出','f2-p':'PNG、JPEG、WebP——由浏览器以最高 4 倍分辨率原生栅格化,无上采样模糊。视网膜屏、幻灯片、印刷均清晰。',+ 'f5-h':'独立 HTML 文件','f5-p':'单个 HTML 文件,零依赖、无需服务器或构建工具,任意浏览器打开即用。作为附件发邮件或贴 PR 评论均可。',+ 'f6-h':'对话式迭代','f6-p':'「加一个 Redis」「把鉴权移到左边」「API 用绿色」——用自然语言精调,无需学习任何图形编辑器。','f7-h':'检查并播放真实路径','f7-p':'Route Journey 始终保留完整作者路径,可逐站检查,也可沿每条精确入向关系播放一次由读者控制的有限旅程。','f7-tag':'检查 · 播放 · 暂停',- 'f8-h':'跟随并分享精确故事时刻','f8-p':'Story Horizon 指出唯一下一站,Semantic Story Carrier 则说明这条真实关系传递的是调用、数据、事件、安全还是状态变化;任意 beat 都可钉住或稳定分享。','f8-tag':'跟随 · 钉住 · 分享',- 'export-label':'导出格式',- 'exp-png':'透明底 · 4× 分辨率','exp-jpg':'主题背景 · 4× 分辨率','exp-webp':'体积小 · 4× 分辨率','exp-svg':'矢量 · 双主题','exp-webm':'动态 · 浏览器原生','exp-clip-fmt':'剪贴板','exp-clip':'复制 PNG · 即时粘贴','label-palette':'设计系统',- 'palette-h2':'为基础设施而生的语义色彩系统。',+ 'palette-h2':'每种颜色,<br><em>都有含义。</em>','palette-body':'七种组件类型,各有深色与浅色协调变体,随主题切换同步变换。','chip-frontend':'前端','chip-frontend-use':'客户端、浏览器、移动端、UI','chip-backend':'后端','chip-backend-use':'服务、API、Worker、守护进程',@@ -111,24 +121,30 @@'chip-bus':'消息总线','chip-bus-use':'Kafka、RabbitMQ、SNS','chip-external':'外部系统','chip-external-use':'用户、第三方、通用外部','label-qs':'快速开始',- 'qs-h2':'三步上手,<br>即刻运行。',- 'qs-body':'同一份经过检查的 Skill 可用于 Cursor、Claude Code、Codex 和 OpenCode,切换器会生成准确命令。',- 'step1-h':'一条命令安装','step1-p':'运行 <code>npx skills add tt-a1i/archify -g</code>,或打开<a href="start.html?agent=cursor&type=architecture">可切换 Agent 的快速开始页</a>,获取准确的 Cursor、Codex、Claude Code 或 OpenCode 命令。',+ 'qs-h2':'三步上手,<br><em>一条命令。</em>',+ 'qs-body':'同一份经过检查的 Skill 可用于 Claude Code、Codex、Cursor、OpenCode 和 GitHub Copilot。选择你的 Agent,获取准确命令。',+ 'term-c1':'# 为你的 Agent 全局安装','term-c2':'# 或者用临时副本在 Codex 中试一次','term-c3':'# 然后直接说',+ 'term-ask':'› 用 Archify 画一下我们的结算服务:Web、API、Redis 缓存、Postgres、Stripe 回调。',+ 'step1-h':'一条命令安装','step1-p':'运行对应 Agent 的命令,或打开<a href="start.html?agent=cursor&type=architecture">可切换 Agent 的快速开始页</a>获取项目级安装命令。','step2-h':'描述你的系统','step2-p':'描述组件、连接关系和云服务,也可以先让 agent 分析代码仓库。','step3-h':'让 agent 绘制','step3-p':'告诉 agent 使用 Archify,它会生成可在任意浏览器打开的单文件 HTML,并可继续在对话中迭代。',- 'kbd-label':'键盘快捷键','kbd-guide':'图表指南','kbd-theme':'切换主题','kbd-find':'查找节点 / 路径端点','kbd-route':'探查并检查路径','kbd-radar':'语义雷达','kbd-lens':'对比语义类型','kbd-present':'演示舞台','kbd-export':'打开导出菜单','kbd-focus':'聚焦节点','kbd-zoom':'阅读层级 / 复位','kbd-nav':'菜单导航','kbd-close':'关闭菜单',+ 'kbd-label':'每个成品都内置','kbd-guide':'图表指南','kbd-theme':'切换主题','kbd-find':'查找节点 / 路径端点','kbd-route':'探查、检查并播放路径','kbd-radar':'语义雷达','kbd-lens':'对比语义类型','kbd-present':'演示舞台','kbd-export':'打开导出菜单','kbd-focus':'聚焦节点','kbd-zoom':'阅读层级 / 复位','kbd-nav':'菜单导航','kbd-close':'关闭菜单','footer-meta':'稳定版 · v[[ARCHIFY_VERSION]] · MIT 许可证<br>基于 Cocoon-AI/architecture-diagram-generator','cta-h':'描述一次,<br><em>分享这张图。</em>',- 'cta-sub':'一条命令即可为 Cursor、Claude Code、Codex 或 OpenCode 安装经过检查的技能——你的下一张架构图,只差一句对话。',- 'cta-install':'安装技能',+ 'cta-sub':'一条命令为你的 Agent 安装经过检查的技能——下一张架构图,只差一句对话。',+ 'cta-install':'安装技能','cta-gh':'在 GitHub 上 Star','footer-changelog':'更新日志','footer-license':'许可证','footer-community':'社区包'}};+ /* Each proof carries four camera beats (focus → upstream → lens → map) that+ the pinned stage applies by replacing the artifact's hash; the viewer+ animates its own camera on hashchange. */const PROOFS = {signal: {artifact: 'gallery/artifacts/agent-tool-call.workflow.html',hash: '#focus=planner&reach=downstream',+ beats: ['#focus=planner&reach=downstream', '#focus=approval&reach=upstream', '#lens=security~database', '#'],iframeTitle: { en: 'Agent Tool Call live Archify proof', zh: '智能体工具调用 Archify 实时成品' },name: { en: 'Agent Tool Call', zh: '智能体工具调用' },meta: { en: 'Workflow · Signal Flow · 12 nodes · 11 edges', zh: '工作流 · Signal Flow · 12 节点 · 11 条关系' },@@ -137,6 +153,7 @@blueprint: {artifact: 'gallery/artifacts/production-deployment.architecture.html',hash: '#lens=backend~database',+ beats: ['#focus=gateway&reach=downstream', '#focus=postgres&reach=upstream', '#lens=backend~database', '#'],iframeTitle: { en: 'Production Deployment live Archify proof', zh: '生产部署架构 Archify 实时成品' },name: { en: 'Production Deployment', zh: '生产部署' },meta: { en: 'Architecture · Blueprint · 12 nodes · 12 edges', zh: '架构图 · Blueprint · 12 节点 · 12 条关系' },@@ -146,6 +163,7 @@artifact: 'gallery/artifacts/cache-miss.sequence.html',hash: '#route=web~db',embedHash: '#focus=web&reach=downstream',+ beats: ['#focus=web&reach=downstream', '#focus=db&reach=upstream', '#lens=database~security', '#'],iframeTitle: { en: 'Cache Miss Request live Archify proof', zh: '缓存未命中请求 Archify 实时成品' },name: { en: 'Cache Miss', zh: '缓存未命中' },meta: { en: 'Sequence · Classic · 7 participants · 12 messages', zh: '时序图 · Classic · 7 个参与者 · 12 条消息' },@@ -155,25 +173,46 @@let lang = ArchifySiteLanguage.read();let activeProof = 'signal';- const btnLang = document.getElementById('btn-lang');- const proofStage = document.getElementById('hero-proof-stage');- const proofFrame = document.getElementById('hero-proof-frame');- const proofPanel = document.getElementById('hero-proof-panel');- const proofOpen = document.getElementById('proof-open');- const proofMeta = document.getElementById('proof-meta');- const proofTitle = document.getElementById('proof-title');+ let beat = 0;+ const $ = id => document.getElementById(id);+ const btnLang = $('btn-lang');+ const proofStage = $('hero-proof-stage');+ const proofFrame = $('hero-proof-frame');+ const proofPanel = $('hero-proof-panel');+ const proofOpen = $('proof-open');+ const proofMeta = $('proof-meta');+ const proofTitle = $('proof-title');+ const addressFile = $('address-file');+ const addressHash = $('address-hash');+ const beatCard = document.querySelector('.beat-card');+ const beatTicks = [...document.querySelectorAll('.beat-tick')];function proofEmbedUrl(proof) {return `${proof.artifact}?embed=1&theme=dark${proof.embedHash || proof.hash}`;}- function fillRail() {- document.querySelectorAll('.spec-card').forEach(card => {- const proof = PROOFS[card.dataset.proof];- if (!proof) return;- card.querySelector('.spec-name').textContent = proof.name[lang];- card.querySelector('.spec-meta').textContent = proof.meta[lang];- });+ function replaceFrameHash(hash) {+ try {+ const loc = proofFrame.contentWindow.location;+ if (loc.protocol === 'about:' || loc.hash === hash) return;+ loc.replace(loc.pathname + loc.search + hash);+ } catch (_) {}+ }++ function renderBeat(next, { apply = true } = {}) {+ const proof = PROOFS[activeProof];+ const hash = proof.beats[next];+ const changed = next !== beat;+ beat = next;+ beatTicks.forEach((tick, i) => tick.setAttribute('aria-pressed', String(i === next)));+ $('beat-title').textContent = LANGS[lang][`beat-${next}-t`];+ $('beat-body').textContent = LANGS[lang][`beat-${next}-b`];+ addressHash.textContent = hash;+ if (changed) {+ beatCard.classList.remove('is-swapping'); void beatCard.offsetWidth; beatCard.classList.add('is-swapping');+ addressHash.classList.remove('is-flash'); void addressHash.offsetWidth; addressHash.classList.add('is-flash');+ }+ if (apply && changed) replaceFrameHash(hash);}function renderProof(key, { focus = false } = {}) {@@ -184,23 +223,26 @@const selected = tab.dataset.proof === key;tab.setAttribute('aria-selected', String(selected));tab.tabIndex = selected ? 0 : -1;+ tab.querySelector('.spec-name').textContent = PROOFS[tab.dataset.proof].name[lang];if (selected && focus) tab.focus();});- const selectedTab = document.querySelector(`.spec-card[data-proof="${key}"]`);- proofPanel.setAttribute('aria-labelledby', selectedTab.id);+ proofPanel.setAttribute('aria-labelledby', `proof-tab-${key}`);proofOpen.href = `${proof.artifact}?present=1${proof.hash}`;proofMeta.textContent = proof.meta[lang];proofTitle.textContent = proof.title[lang];proofFrame.title = proof.iframeTitle[lang];+ addressFile.textContent = proof.artifact.split('/').pop();if (proofFrame.dataset.proof !== key) {proofStage.classList.add('is-loading');proofFrame.dataset.proof = key;proofFrame.src = proofEmbedUrl(proof);}+ renderBeat(beat, { apply: false });}proofFrame.addEventListener('load', () => {proofStage.classList.remove('is-loading');+ replaceFrameHash(PROOFS[activeProof].beats[beat]);});document.querySelectorAll('.spec-card').forEach(tab => {tab.addEventListener('click', () => renderProof(tab.dataset.proof));@@ -228,16 +270,13 @@const v = dict[el.dataset.i18n];if (v !== undefined) el.innerHTML = v;});- fillRail();renderProof(activeProof);- document.getElementById('code-en').style.display = lang === 'en' ? '' : 'none';- document.getElementById('code-zh').style.display = lang === 'zh' ? '' : 'none';}btnLang.addEventListener('click', () => applyLang(lang === 'en' ? 'zh' : 'en'));applyLang(lang);- /* ══ Intersection observer ══ */+ /* ══ Reveal on enter ══ */if ('IntersectionObserver' in window) {const obs = new IntersectionObserver(es => {es.forEach(e => { if (e.isIntersecting) { e.target.classList.add('visible'); obs.unobserve(e.target); } });@@ -246,3 +285,116 @@} else {document.querySelectorAll('.fade-up').forEach(el => el.classList.add('visible'));}++ /* ══ Stage orchestration — window flattens as it arrives, then the pinned+ scroll distance is split into four camera beats ══ */+ const reducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)');+ const stage = $('tour');+ const BEATS = beatTicks.length;++ function stageProgress() {+ const rect = stage.getBoundingClientRect();+ const vh = window.innerHeight;+ const enter = Math.min(1, Math.max(0, 1 - rect.top / (vh * 0.9)));+ const travel = Math.max(1, rect.height - vh);+ const pinned = Math.min(1, Math.max(0, -rect.top / travel));+ return { enter, pinned, rect, travel };+ }++ function applyScroll() {+ const { enter, pinned } = stageProgress();+ if (!reducedMotion.matches) stage.style.setProperty('--enter', enter.toFixed(3));+ const span = pinned * BEATS;+ const next = Math.min(BEATS - 1, Math.floor(span));+ beatTicks.forEach((tick, i) => tick.style.setProperty('--fill', `${Math.round(Math.min(1, Math.max(0, span - i)) * 100)}%`));+ if (next !== beat) renderBeat(next);+ }++ beatTicks.forEach((tick, i) => tick.addEventListener('click', () => {+ const { rect, travel } = stageProgress();+ const top = window.scrollY + rect.top + travel * ((i + 0.5) / BEATS);+ window.scrollTo({ top, behavior: reducedMotion.matches ? 'auto' : 'smooth' });+ }));++ let scrollTick = false;+ const onScroll = () => {+ if (scrollTick) return;+ scrollTick = true;+ requestAnimationFrame(() => { scrollTick = false; applyScroll(); });+ };+ window.addEventListener('scroll', onScroll, { passive: true });+ window.addEventListener('resize', onScroll);+ applyScroll();++ /* ══ Diagram types — index list drives the preview plate ══ */+ const typeItems = [...document.querySelectorAll('.type-item')];+ const typeImgs = [...document.querySelectorAll('.type-plate img')];+ function selectType(key) {+ typeItems.forEach(item => {+ const on = item.dataset.type === key;+ item.classList.toggle('is-active', on);+ item.querySelector('button').setAttribute('aria-pressed', String(on));+ });+ typeImgs.forEach(img => img.classList.toggle('is-active', img.dataset.type === key));+ }+ typeItems.forEach(item => {+ const button = item.querySelector('button');+ button.addEventListener('click', () => selectType(item.dataset.type));+ button.addEventListener('mouseenter', () => { if (window.matchMedia('(hover: hover)').matches) selectType(item.dataset.type); });+ });++ /* ══ Light/dark compare ══ */+ const compareStage = $('compare-stage');+ $('compare-range').addEventListener('input', event => compareStage.style.setProperty('--split', `${event.target.value}%`));++ /* ══ Agent command switcher ══ */+ const agentCommand = $('agent-command');+ const agentTabs = [...document.querySelectorAll('.agent-tabs button')];+ function selectAgent(tab, focus) {+ agentTabs.forEach(t => { const on = t === tab; t.setAttribute('aria-selected', String(on)); t.tabIndex = on ? 0 : -1; });+ agentCommand.textContent = `npx -y skills add tt-a1i/archify --skill archify --agent ${tab.dataset.agent} --global --copy --yes`;+ if (focus) tab.focus();+ }+ agentTabs.forEach((tab, i) => {+ tab.addEventListener('click', () => selectAgent(tab));+ tab.addEventListener('keydown', event => {+ const step = { ArrowRight: 1, ArrowLeft: -1 }[event.key];+ if (!step) return;+ event.preventDefault();+ selectAgent(agentTabs[(i + step + agentTabs.length) % agentTabs.length], true);+ });+ });++ /* ══ Copy buttons ══ */+ document.querySelectorAll('.cmd-copy').forEach(button => button.addEventListener('click', async () => {+ const text = button.dataset.copyText || $(button.dataset.copyFrom).textContent;+ try { await navigator.clipboard.writeText(text); } catch (_) { return; }+ const label = button.querySelector('.cmd-copy-label');+ button.classList.add('is-copied');+ label.textContent = LANGS[lang].copied;+ setTimeout(() => { button.classList.remove('is-copied'); label.textContent = LANGS[lang].copy; }, 1600);+ }));++ /* ══ Demo lightbox — zero network cost until the trigger is pressed ══ */+ const DEMO_SRC = 'https://github.com/user-attachments/assets/78570807-ba1d-4737-953f-55504a378a87';+ const demoOpen = $('demo-open');+ const demoDialog = $('demo-dialog');+ const demoVideo = $('demo-video');++ demoOpen.addEventListener('click', () => {+ demoVideo.src = DEMO_SRC;+ document.documentElement.classList.add('demo-lock');+ demoDialog.showModal();+ demoVideo.play().catch(() => {});+ });+ $('demo-close').addEventListener('click', () => demoDialog.close());+ demoDialog.addEventListener('click', event => {+ if (event.target === demoDialog) demoDialog.close();+ });+ demoDialog.addEventListener('close', () => {+ demoVideo.pause();+ demoVideo.removeAttribute('src');+ demoVideo.load();+ document.documentElement.classList.remove('demo-lock');+ demoOpen.focus();+ });diff --git a/website/src/styles/community.css b/website/src/styles/community.cssindex a12c3d55..8f98f9f3 100644--- a/website/src/styles/community.css+++ b/website/src/styles/community.css@@ -1,58 +1,19 @@- :root {- /* Drafted-sheet palette — shared with the other site pages */- --paper-site:#eff2f1; --paper-raised:#f8faf9;- --ink-site:#15181b; --ink-soft:#363c41; --muted:#60686d; --dim:#929a9e;- --line:rgba(20,23,26,0.14); --line-hi:rgba(20,23,26,0.3);- --accent-site:#e14a0e; --accent-soft:rgba(225,74,14,0.08);- --plate:#0f1216;- --emerald:#047857;- --font-display:'Fraunces','Songti SC','STSong',Georgia,serif;- --font-body:'Inter',-apple-system,BlinkMacSystemFont,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;- --font-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;- --ease-out:cubic-bezier(.22,1,.36,1);- --content: 1320px;- }- *,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }- html { scroll-behavior: smooth; }- body {- font-family:var(--font-body);- -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;- background:var(--paper-site); color:var(--ink-site); min-height:100vh; overflow-x:hidden;- }- body::after {- content:''; position:fixed; inset:0; z-index:1000; pointer-events:none;- opacity:.05; mix-blend-mode:multiply;- background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");- }- ::selection { background:rgba(225,74,14,.18); color:var(--ink-site); }- a { color: inherit; }- button, a { -webkit-tap-highlight-color: transparent; }- button { font:inherit; }- :focus-visible { outline: 2px solid var(--accent-site); outline-offset: 3px; border-radius:4px; }-- .grid-bg {- position:fixed; inset:0; z-index:0; pointer-events:none;- background-image:linear-gradient(rgba(20,23,26,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(20,23,26,.045) 1px,transparent 1px);- background-size:56px 56px;- -webkit-mask-image:radial-gradient(ellipse 95% 62% at 50% -6%, black 12%, transparent 75%);- mask-image:radial-gradient(ellipse 95% 62% at 50% -6%, black 12%, transparent 75%);- }.shell { position:relative; z-index:1; width: min(var(--content), calc(100% - 48px)); margin: 0 auto; }/* HERO */.hero { padding: 10rem 0 4.5rem; }.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr); gap: 4.5rem; align-items: end; }.lead-label { display:flex; align-items:center; gap:.875rem; margin-bottom:1.5rem; font-family:var(--font-mono); font-size:.625rem; font-weight:500; letter-spacing:.2em; color:var(--muted); text-transform:uppercase; }- .lead-label::before { content:''; width:2.75rem; height:1px; background:var(--line-hi); }+ .lead-label::before { content:''; width:1.75rem; height:1px; background:var(--accent); }.hero h1 {max-width: 860px;- font-family:var(--font-display); font-optical-sizing:auto;+ font-family:var(--font-title);font-size: clamp(2.75rem, 6vw, 5rem);- font-weight:400; line-height: 1.02; letter-spacing: -.03em;+ font-weight:500; line-height: 1.02; letter-spacing:-.035em;color:var(--ink-site); text-wrap: balance;}- .hero h1 em { font-style:italic; color: var(--accent-site); }+ .hero h1 em { font-family:var(--font-display); font-style:italic; font-weight:400; color: var(--accent-site); }.hero-copy { margin-top: 1.5rem; max-width: 640px; color: var(--muted); font-size: .9375rem; line-height: 1.72; text-wrap:pretty; }.proof-board { border:1px solid var(--line-hi); border-radius:12px; background:var(--paper-raised); overflow:hidden; }.proof-row { min-height: 64px; display: grid; grid-template-columns: 88px 1fr; align-items: center; gap:1rem; padding:.9rem 1.25rem; border-bottom: 1px solid var(--line); }@@ -68,24 +29,25 @@.filter-group { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }.controls-actions { display:flex; align-items:center; justify-content:flex-end; gap:1rem; }.filter-button {+ flex:none; white-space:nowrap;min-height: 44px;padding: 0 .85rem;border: 1px solid var(--line-hi);border-radius: 999px;background: transparent;color: var(--muted);- font-family:var(--font-mono); font-size:.5625rem; font-weight:500; letter-spacing:.12em; text-transform:uppercase;+ font-family:var(--font-body); font-size:.8125rem; font-weight:500; letter-spacing:-.005em; text-transform:none;cursor: pointer;transition:all .18s var(--ease-out);}- .filter-button:hover { color: var(--ink-site); border-color:var(--ink-site); }- .filter-button[aria-pressed="true"] { color: var(--paper-site); background:var(--ink-site); border-color:var(--ink-site); }+ .filter-button:hover { color: var(--ink-site); border-color:var(--line-strong); }+ .filter-button[aria-pressed="true"] { color: var(--paper-site); background:var(--ink-site); border-color:var(--line-strong); }.controls-note { color: var(--dim); font-family:var(--font-mono); font-size: .5625rem; letter-spacing: .12em; text-align: right; text-transform: uppercase; }/* CATALOG */.catalog-section { padding: 4rem 0 3.5rem; }.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.75rem; }- .section-intro h2 { font-family:var(--font-display); font-optical-sizing:auto; font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight:400; letter-spacing: -.026em; color:var(--ink-site); }+ .section-intro h2 { font-family:var(--font-title); font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight:500; letter-spacing:-.035em; color:var(--ink-site); }.section-intro p { max-width: 480px; color: var(--muted); font-size: .8125rem; line-height: 1.7; text-align: right; }.type-ledger { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin-bottom: 14px; background: var(--line); border: 1px solid var(--line-hi); border-radius: 10px; overflow: hidden; }.ledger-cell { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem .95rem; border: 0; background: var(--paper-raised); cursor: pointer; text-align: left; transition: background .18s var(--ease-out); }@@ -122,13 +84,13 @@}.package-card.visible { opacity: 1; transform: translateY(0); transition-delay: 0s; }.package-card.visible:hover { transform: translateY(-4px); }- .package-card:hover { border-color: var(--ink-site); box-shadow:0 22px 54px rgba(20,23,26,.12); }+ .package-card:hover { border-color: var(--line-strong); box-shadow:0 22px 54px rgba(0,0,0,.12); }.package-card[hidden] { display: none; }- .badge-skill { --badge: #e14a0e; }- .badge-recipe { --badge: #047857; }- .badge-brand-marks { --badge: #7c3aed; }- .badge-locale { --badge: #2563eb; }- .badge-wrapper { --badge: #475569; }+ .badge-skill { --badge: #ff6a2b; }+ .badge-recipe { --badge: #34d399; }+ .badge-brand-marks { --badge: #a78bfa; }+ .badge-locale { --badge: #60a5fa; }+ .badge-wrapper { --badge: #94a3b8; }.package-card-head { display: flex; align-items: center; gap: .875rem; padding: 1.375rem 1.5rem 0; }.package-index { font-family: var(--font-display); font-style: italic; font-optical-sizing: auto; font-size: 1rem; color: var(--dim); }.package-name { flex: 1; min-width: 0; font-family:var(--font-mono); font-size: .9375rem; font-weight:600; letter-spacing:-.01em; color: var(--ink-site); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }@@ -157,23 +119,23 @@.meta-chip.mono { font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .04em; }.package-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin-top: auto; padding: 1.125rem 1.5rem; border-top: 1px solid var(--line); }.card-link { min-height: 40px; max-width:100%; overflow-wrap:anywhere; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 0 .9rem; border: 1px solid var(--line-hi); border-radius: 8px; color: var(--ink-soft); font-size: .75rem; font-weight: 500; text-decoration: none; transition: all .2s var(--ease-out); }- .card-link:hover { color: var(--ink-site); border-color: var(--ink-site); }+ .card-link:hover { color: var(--ink-site); border-color: var(--line-strong); }.card-link.subtle { border-color: var(--line); color: var(--muted); }- .card-link.subtle:hover { color: var(--ink-site); border-color: var(--ink-site); }+ .card-link.subtle:hover { color: var(--ink-site); border-color: var(--line-strong); }.empty-state { display: none; margin-top:14px; padding: 4rem 1.5rem; border: 1px dashed var(--line-hi); border-radius:14px; color: var(--muted); text-align: center; font-size: .8125rem; }.empty-state.visible { display: block; }/* METHOD */.method { border-top: 1px solid var(--line); padding: 4.5rem 0; }.method-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4.5rem; }- .method h2 { font-family:var(--font-display); font-optical-sizing:auto; font-size: clamp(1.5rem,2.6vw,2.25rem); font-weight:400; letter-spacing: -.026em; color:var(--ink-site); }+ .method h2 { font-family:var(--font-title); font-size: clamp(1.5rem,2.6vw,2.25rem); font-weight:500; letter-spacing:-.035em; color:var(--ink-site); }.pipeline { margin-top: 1.75rem; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line-hi); border-radius:12px; overflow:hidden; }.pipeline-step { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 1rem; min-height: 56px; padding: 0 1.125rem; background: var(--paper-raised); }.pipeline-num { color: var(--accent-site); font-family:var(--font-mono); font-size: .625rem; font-weight:600; }.pipeline-label { font-size: .8125rem; color:var(--ink-soft); }.pipeline-state { color: var(--emerald); font-family:var(--font-mono); font-size: .5625rem; font-weight:600; letter-spacing: .12em; text-transform: uppercase; }.pipeline-state.you { color: var(--dim); }- .method-code { border: 1px solid var(--ink-site); border-radius:12px; overflow:hidden; background: var(--plate); align-self:start; }+ .method-code { border: 1px solid var(--line-hi); border-radius:12px; overflow:hidden; background: var(--plate); align-self:start; }.method-code-bar { display: flex; justify-content: space-between; padding: .7rem 1rem; border-bottom: 1px solid rgba(232,237,242,.1); color: #7d8894; font-family:var(--font-mono); font-size: .5625rem; letter-spacing: .14em; text-transform: uppercase; }.method-code pre { margin: 0; padding: 1.5rem; color: #aab3bb; font: 500 .6875rem/1.9 var(--font-mono); white-space: pre-wrap; }.method-code pre::after { content: '▍'; color: var(--accent-site); animation: caret-blink 1.1s steps(1) infinite; }@@ -205,7 +167,7 @@.controls-inner, .section-intro { align-items: flex-start; flex-direction: column; }.controls-actions { width:100%; justify-content:space-between; }.controls-note, .section-intro p { text-align: left; }- .filter-group { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }+ .filter-group { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }.package-grid { grid-template-columns: 1fr; }.type-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }.method { padding: 3.25rem 0; }diff --git a/website/src/styles/gallery.css b/website/src/styles/gallery.cssindex e4763cf2..d6737d20 100644--- a/website/src/styles/gallery.css+++ b/website/src/styles/gallery.css@@ -1,61 +1,18 @@- :root {- /* Drafted-sheet palette — shared with the project page */- --paper-site:#eff2f1; --paper-raised:#f8faf9;- --ink-site:#15181b; --ink-soft:#363c41; --muted:#60686d; --dim:#929a9e;- --line:rgba(20,23,26,0.14); --line-hi:rgba(20,23,26,0.3);- --accent-site:#e14a0e; --accent-soft:rgba(225,74,14,0.08);- --plate:#0f1216;- --emerald:#047857;- --font-display:'Fraunces','Songti SC','STSong',Georgia,serif;- --font-body:'Inter',-apple-system,BlinkMacSystemFont,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;- --font-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;- --ease-out:cubic-bezier(.22,1,.36,1);- --content: 1320px;- }- *,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }- html { scroll-behavior: smooth; }- body {- font-family:var(--font-body);- -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;- background:var(--paper-site); color:var(--ink-site); min-height:100vh; overflow-x:hidden;- }- body::after {- content:''; position:fixed; inset:0; z-index:1000; pointer-events:none;- opacity:.05; mix-blend-mode:multiply;- background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");- }- ::selection { background:rgba(225,74,14,.18); color:var(--ink-site); }- a { color: inherit; }- button, a { -webkit-tap-highlight-color: transparent; }- button { font:inherit; }- :focus-visible { outline: 2px solid var(--accent-site); outline-offset: 3px; border-radius:4px; }-- .grid-bg {- position:fixed; inset:0; z-index:0; pointer-events:none;- background-image:linear-gradient(rgba(20,23,26,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(20,23,26,.045) 1px,transparent 1px);- background-size:56px 56px;- -webkit-mask-image:radial-gradient(ellipse 95% 62% at 50% -6%, black 12%, transparent 75%);- mask-image:radial-gradient(ellipse 95% 62% at 50% -6%, black 12%, transparent 75%);- }.shell { position:relative; z-index:1; width: min(var(--content), calc(100% - 48px)); margin: 0 auto; }-- .btn { display:inline-flex; align-items:center; gap:.5rem; padding:.55rem 1.15rem; border-radius:6px; font-family:var(--font-body); font-size:.8125rem; font-weight:500; letter-spacing:-.005em; cursor:pointer; text-decoration:none; transition:all .2s var(--ease-out); border:1px solid transparent; }- .btn-primary { background:var(--ink-site); color:var(--paper-site); }- .btn-primary:hover { background:#272c31; transform:translateY(-1px); }/* HERO */.hero { padding: 10rem 0 4.5rem; }.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr); gap: 4.5rem; align-items: end; }.lead-label { display:flex; align-items:center; gap:.875rem; margin-bottom:1.5rem; font-family:var(--font-mono); font-size:.625rem; font-weight:500; letter-spacing:.2em; color:var(--muted); text-transform:uppercase; }- .lead-label::before { content:''; width:2.75rem; height:1px; background:var(--line-hi); }+ .lead-label::before { content:''; width:1.75rem; height:1px; background:var(--accent); }.hero h1 {max-width: 860px;- font-family:var(--font-display); font-optical-sizing:auto;+ font-family:var(--font-title);font-size: clamp(2.75rem, 6vw, 5rem);- font-weight:400; line-height: 1.02; letter-spacing: -.03em;+ font-weight:500; line-height: 1.02; letter-spacing:-.035em;color:var(--ink-site); text-wrap: balance;}- .hero h1 em { font-style:italic; color: var(--accent-site); }+ .hero h1 em { font-family:var(--font-display); font-style:italic; font-weight:400; color: var(--accent-site); }.hero-copy { margin-top: 1.5rem; max-width: 640px; color: var(--muted); font-size: .9375rem; line-height: 1.72; text-wrap:pretty; }.hero-copy strong { color: var(--ink-site); font-weight: 500; }.proof-board { border:1px solid var(--line-hi); border-radius:12px; background:var(--paper-raised); overflow:hidden; }@@ -72,24 +29,25 @@.filter-group { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }.controls-actions { display:flex; align-items:center; justify-content:flex-end; gap:1rem; }.filter-button {+ flex:none; white-space:nowrap;min-height: 44px;padding: 0 .85rem;border: 1px solid var(--line-hi);border-radius: 999px;background: transparent;color: var(--muted);- font-family:var(--font-mono); font-size:.5625rem; font-weight:500; letter-spacing:.12em; text-transform:uppercase;+ font-family:var(--font-body); font-size:.8125rem; font-weight:500; letter-spacing:-.005em; text-transform:none;cursor: pointer;transition:all .18s var(--ease-out);}- .filter-button:hover { color: var(--ink-site); border-color:var(--ink-site); }- .filter-button[aria-pressed="true"] { color: var(--paper-site); background:var(--ink-site); border-color:var(--ink-site); }+ .filter-button:hover { color: var(--ink-site); border-color:var(--line-strong); }+ .filter-button[aria-pressed="true"] { color: var(--paper-site); background:var(--ink-site); border-color:var(--line-strong); }.controls-note { color: var(--dim); font-family:var(--font-mono); font-size: .5625rem; letter-spacing: .12em; text-align: right; text-transform: uppercase; }/* GALLERY */.gallery-section { padding: 4rem 0 6rem; }.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.75rem; }- .section-intro h2 { font-family:var(--font-display); font-optical-sizing:auto; font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight:400; letter-spacing: -.026em; color:var(--ink-site); }+ .section-intro h2 { font-family:var(--font-title); font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight:500; letter-spacing:-.035em; color:var(--ink-site); }.section-intro p { max-width: 440px; color: var(--muted); font-size: .8125rem; line-height: 1.7; text-align: right; }.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }.showcase-card {@@ -104,15 +62,15 @@transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);}.showcase-card.visible { opacity: 1; transform: translateY(0); }- .showcase-card:hover { border-color: var(--ink-site); box-shadow:0 22px 54px rgba(20,23,26,.12); }- .showcase-card:target { scroll-margin-top: 86px; border-color: var(--accent, var(--accent-site)); box-shadow: 0 0 0 1px var(--accent, var(--accent-site)), 0 24px 60px rgba(20,23,26,.14); }+ .showcase-card:hover { border-color: var(--line-strong); box-shadow:0 22px 54px rgba(0,0,0,.12); }+ .showcase-card:target { scroll-margin-top: 86px; border-color: var(--accent, var(--accent-site)); box-shadow: 0 0 0 1px var(--accent, var(--accent-site)), 0 24px 60px rgba(0,0,0,.14); }.showcase-card.is-featured { grid-column: 1 / -1; }.showcase-card[hidden] { display: none; }.card-header { min-height: 76px; display: grid; grid-template-columns: 60px 1fr auto; align-items: center; border-bottom: 1px solid var(--line); }.card-index { height: 100%; display: grid; place-items: center; border-right: 1px solid var(--line); color: var(--dim); font-family:var(--font-display); font-style:italic; font-optical-sizing:auto; font-size: 1.125rem; }.card-title-wrap { min-width: 0; padding: 1rem 1.375rem; }.card-kicker { margin-bottom: .35rem; color: var(--accent, var(--accent-site)); font-family:var(--font-mono); font-size: .5625rem; font-weight:600; letter-spacing: .14em; text-transform: uppercase; }- .card-title { font-family:var(--font-display); font-optical-sizing:auto; font-size: 1.375rem; font-weight:500; letter-spacing: -.02em; color:var(--ink-site); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+ .card-title { font-family:var(--font-title); font-size: 1.375rem; font-weight:500; letter-spacing: -.02em; color:var(--ink-site); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.card-mode { margin-right: 1.375rem; padding: .4rem .65rem; border: 1px solid var(--line); border-radius:999px; color: var(--muted); font-family:var(--font-mono); font-size: .5625rem; letter-spacing: .1em; text-transform: uppercase; }.preview-shell { position: relative; height: 370px; overflow: hidden; background: var(--plate); border-bottom: 1px solid var(--line); }.showcase-card.is-featured .preview-shell { height: 600px; }@@ -121,7 +79,7 @@.live-flag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.card-body { padding: 1.5rem 1.625rem 1.5rem; }.card-description { min-height: 44px; margin-bottom: 1.25rem; color: var(--muted); font-size: .8125rem; line-height: 1.7; text-wrap:pretty; }- .engineering-proof { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: -.375rem 0 .875rem; padding: .6rem .8rem; border: 1px solid rgba(4,120,87,.3); border-radius: 8px; background: rgba(4,120,87,.05); color: var(--dim); font-family:var(--font-mono); font-size: .5625rem; letter-spacing: .12em; text-transform: uppercase; }+ .engineering-proof { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: -.375rem 0 .875rem; padding: .6rem .8rem; border: 1px solid rgba(52,211,153,.3); border-radius: 8px; background: rgba(52,211,153,.05); color: var(--dim); font-family:var(--font-mono); font-size: .5625rem; letter-spacing: .12em; text-transform: uppercase; }.engineering-proof strong { color: var(--emerald); font-weight: 600; white-space: nowrap; }.receipt { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius:8px; overflow:hidden; }.receipt-cell { min-width: 0; padding: .7rem .8rem; border-right: 1px solid var(--line); }@@ -131,31 +89,31 @@.receipt-value.ok { color: var(--emerald); }.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin-top: 1.25rem; }.card-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 0 .9rem; border: 1px solid var(--line-hi); border-radius: 8px; color: var(--ink-soft); font-size: .75rem; font-weight: 500; text-decoration: none; transition: all .2s var(--ease-out); }- .card-link:hover { color: var(--ink-site); border-color: var(--ink-site); }- .card-link.primary { border-color: var(--ink-site); background:var(--ink-site); color: var(--paper-site); }+ .card-link:hover { color: var(--ink-site); border-color: var(--line-strong); }+ .card-link.primary { border-color: var(--line-strong); background:var(--ink-site); color: var(--paper-site); }.card-link.primary:hover { background:var(--accent-site); border-color: var(--accent-site); color:var(--paper-site); }- .card-link.create-link { margin-left: auto; border-color: rgba(4,120,87,.35); color: var(--emerald); background: rgba(4,120,87,.05); }- .card-link.create-link:hover { border-color: var(--emerald); background: rgba(4,120,87,.1); color:var(--emerald); }+ .card-link.create-link { margin-left: auto; border-color: rgba(52,211,153,.35); color: var(--emerald); background: rgba(52,211,153,.05); }+ .card-link.create-link:hover { border-color: var(--emerald); background: rgba(52,211,153,.1); color:var(--emerald); }.empty-state { display: none; margin-top:14px; padding: 4rem 1.5rem; border: 1px dashed var(--line-hi); border-radius:14px; color: var(--muted); text-align: center; font-size: .8125rem; }.empty-state.visible { display: block; }- .community-callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; margin-top: 14px; padding: 1.75rem 2rem; border: 1px solid rgba(4,120,87,.3); border-radius:14px; background: rgba(4,120,87,.045); }+ .community-callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; margin-top: 14px; padding: 1.75rem 2rem; border: 1px solid rgba(52,211,153,.3); border-radius:14px; background: rgba(52,211,153,.045); }.community-callout-copy { max-width: 760px; }- .community-callout-title { display: block; margin-bottom: .5rem; color: var(--ink-site); font-family:var(--font-display); font-optical-sizing:auto; font-size: 1.25rem; font-weight:500; letter-spacing: -.02em; }+ .community-callout-title { display: block; margin-bottom: .5rem; color: var(--ink-site); font-family:var(--font-title); font-size: 1.25rem; font-weight:500; letter-spacing: -.02em; }.community-callout p { color: var(--muted); font-size: .8125rem; line-height: 1.7; }- .community-callout .card-link { min-width: 220px; border-color: rgba(4,120,87,.4); color: var(--emerald); background: rgba(4,120,87,.06); }- .community-callout .card-link:hover { border-color: var(--emerald); background: rgba(4,120,87,.12); color:var(--emerald); }+ .community-callout .card-link { min-width: 220px; border-color: rgba(52,211,153,.4); color: var(--emerald); background: rgba(52,211,153,.06); }+ .community-callout .card-link:hover { border-color: var(--emerald); background: rgba(52,211,153,.12); color:var(--emerald); }/* METHOD */.method { border-top: 1px solid var(--line); padding: 4.5rem 0; }.method-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4.5rem; }- .method h2 { font-family:var(--font-display); font-optical-sizing:auto; font-size: clamp(1.5rem,2.6vw,2.25rem); font-weight:400; letter-spacing: -.026em; color:var(--ink-site); }+ .method h2 { font-family:var(--font-title); font-size: clamp(1.5rem,2.6vw,2.25rem); font-weight:500; letter-spacing:-.035em; color:var(--ink-site); }.method-copy { color: var(--muted); font-size: .8125rem; line-height: 1.8; }.pipeline { margin-top: 1.75rem; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line-hi); border-radius:12px; overflow:hidden; }.pipeline-step { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 1rem; min-height: 56px; padding: 0 1.125rem; background: var(--paper-raised); }.pipeline-num { color: var(--accent-site); font-family:var(--font-mono); font-size: .625rem; font-weight:600; }.pipeline-label { font-size: .8125rem; color:var(--ink-soft); }.pipeline-state { color: var(--emerald); font-family:var(--font-mono); font-size: .5625rem; font-weight:600; letter-spacing: .12em; text-transform: uppercase; }- .method-code { border: 1px solid var(--ink-site); border-radius:12px; overflow:hidden; background: var(--plate); align-self:start; }+ .method-code { border: 1px solid var(--line-hi); border-radius:12px; overflow:hidden; background: var(--plate); align-self:start; }.method-code-bar { display: flex; justify-content: space-between; padding: .7rem 1rem; border-bottom: 1px solid rgba(232,237,242,.1); color: #7d8894; font-family:var(--font-mono); font-size: .5625rem; letter-spacing: .14em; text-transform: uppercase; }.method-code pre { margin: 0; padding: 1.5rem; color: #aab3bb; font: 500 .6875rem/1.9 var(--font-mono); white-space: pre-wrap; }.method-code .accent { color: var(--accent-site); }@@ -182,7 +140,7 @@.controls-inner, .section-intro { align-items: flex-start; flex-direction: column; }.controls-actions { width:100%; justify-content:space-between; }.controls-note, .section-intro p { text-align: left; }- .filter-group { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }+ .filter-group { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }.card-header { grid-template-columns: 48px 1fr; }.card-mode { display: none; }.card-title-wrap { padding: .9rem 1rem; }@@ -205,3 +163,10 @@html { scroll-behavior: auto; }.showcase-card { opacity:1; transform:none; transition:none; }}++ /* night-plate type accents (the shared card renderer keeps its print-depth inline hues) */+ .showcase-card[data-type="architecture"] { --accent:#22d3ee!important; }+ .showcase-card[data-type="workflow"] { --accent:#34d399!important; }+ .showcase-card[data-type="sequence"] { --accent:#a78bfa!important; }+ .showcase-card[data-type="dataflow"] { --accent:#fbbf24!important; }+ .showcase-card[data-type="lifecycle"] { --accent:#fb7185!important; }diff --git a/website/src/styles/guide.css b/website/src/styles/guide.cssindex 4811ed46..7cfc53b4 100644--- a/website/src/styles/guide.css+++ b/website/src/styles/guide.css@@ -1,54 +1,12 @@- :root {- /* Drafted-sheet palette — shared with the project page */- --paper:#eff2f1; --paper-raised:#f8faf9;- --ink:#15181b; --ink-soft:#363c41; --muted:#60686d; --dim:#929a9e;- --line:rgba(20,23,26,0.14); --line-hi:rgba(20,23,26,0.3);- --accent:#e14a0e; --accent-soft:rgba(225,74,14,0.08);- --plate:#0f1216;- --emerald:#047857; --rose:#be123c; --violet:#6d28d9;- --font-display:'Fraunces','Songti SC','STSong',Georgia,serif;- --font-body:'Inter',-apple-system,BlinkMacSystemFont,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;- --font-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;- --ease-out:cubic-bezier(.22,1,.36,1);- }- *,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }- html { scroll-behavior:smooth; }- body {- font-family:var(--font-body);- -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;- background:var(--paper); color:var(--ink); min-height:100vh; overflow-x:hidden;- }- body::after {- content:''; position:fixed; inset:0; z-index:1000; pointer-events:none;- opacity:.05; mix-blend-mode:multiply;- background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");- }- ::selection { background:rgba(225,74,14,.18); color:var(--ink); }- button,textarea { font:inherit; }- button { color:inherit; }- a { color:inherit; }- :focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }-- .grid-bg {- position:fixed; inset:0; z-index:0; pointer-events:none;- background-image:linear-gradient(rgba(20,23,26,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(20,23,26,.045) 1px,transparent 1px);- background-size:56px 56px;- -webkit-mask-image:radial-gradient(ellipse 95% 62% at 50% -6%, black 12%, transparent 75%);- mask-image:radial-gradient(ellipse 95% 62% at 50% -6%, black 12%, transparent 75%);- }-- .btn { display:inline-flex; align-items:center; gap:.5rem; padding:.55rem 1.15rem; border-radius:6px; font-family:var(--font-body); font-size:.8125rem; font-weight:500; letter-spacing:-.005em; cursor:pointer; text-decoration:none; transition:all .2s var(--ease-out); border:1px solid transparent; }- .btn-primary { background:var(--ink); color:var(--paper); }- .btn-primary:hover { background:#272c31; transform:translateY(-1px); }.shell { position:relative; z-index:1; width:min(1180px,calc(100% - 48px)); margin:0 auto; }/* HERO */.hero { padding:10rem 0 4rem; display:grid; grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr); gap:4.5rem; align-items:end; }.lead-label { display:flex; align-items:center; gap:.875rem; margin-bottom:1.5rem; font-family:var(--font-mono); font-size:.625rem; font-weight:500; letter-spacing:.2em; color:var(--muted); text-transform:uppercase; }- .lead-label::before { content:''; width:2.75rem; height:1px; background:var(--line-hi); }- h1 { max-width:770px; font-family:var(--font-display); font-optical-sizing:auto; font-size:clamp(2.5rem,5vw,4.25rem); font-weight:400; line-height:1.06; letter-spacing:-.028em; color:var(--ink); text-wrap:balance; }- h1 em { font-style:italic; color:var(--accent); }+ .lead-label::before { content:''; width:1.75rem; height:1px; background:var(--accent); }+ h1 { max-width:770px; font-family:var(--font-title); font-size:clamp(2.5rem,5vw,4.25rem); font-weight:500; line-height:1.06; letter-spacing:-.035em; color:var(--ink); text-wrap:balance; }+ h1 em { font-family:var(--font-display); font-style:italic; font-weight:400; color:var(--accent); }.lede { max-width:680px; margin-top:1.5rem; color:var(--muted); font-size:.9375rem; line-height:1.72; text-wrap:pretty; }.metrics { display:grid; gap:1px; background:var(--line); border:1px solid var(--line-hi); border-radius:12px; overflow:hidden; }.metric { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1rem 1.25rem; background:var(--paper-raised); }@@ -58,21 +16,21 @@/* CHOOSER */.chooser { padding:1.75rem 2rem 2rem; border:1px solid var(--line-hi); border-radius:14px; background:var(--paper-raised); position:relative; }.chooser-head { display:flex; align-items:flex-start; justify-content:space-between; gap:1.25rem; margin-bottom:1.125rem; }- .chooser-head h2 { margin-bottom:.375rem; font-family:var(--font-display); font-optical-sizing:auto; font-size:1.5rem; font-weight:500; letter-spacing:-.02em; }+ .chooser-head h2 { margin-bottom:.375rem; font-family:var(--font-title); font-size:1.5rem; font-weight:500; letter-spacing:-.02em; }.chooser-head p { color:var(--muted); font-size:.8125rem; line-height:1.6; }.kbd { flex:none; border:1px solid var(--line-hi); border-radius:5px; padding:.3rem .5rem; color:var(--dim); font-family:var(--font-mono); font-size:.5625rem; background:var(--paper); }textarea { width:100%; min-height:104px; resize:vertical; border:1px solid var(--line-hi); border-radius:10px; padding:.9rem 1rem; background:var(--paper); color:var(--ink); outline:none; font-family:var(--font-mono); font-size:.75rem; line-height:1.7; transition:border-color .18s var(--ease-out),box-shadow .18s var(--ease-out); }textarea::placeholder { color:var(--dim); }textarea:focus { border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }.sample-row { margin:.875rem 0 1.125rem; display:flex; gap:.45rem; flex-wrap:wrap; }- .chip { border:1px solid var(--line); border-radius:999px; background:var(--paper); color:var(--muted); padding:.45rem .75rem; font-family:var(--font-mono); font-size:.5625rem; letter-spacing:.06em; cursor:pointer; transition:all .18s var(--ease-out); }+ .chip { border:1px solid var(--line); border-radius:999px; background:var(--paper); color:var(--muted); padding:.45rem .75rem; font-family:var(--font-body); font-size:.8125rem; font-weight:500; letter-spacing:-.005em; cursor:pointer; transition:all .18s var(--ease-out); }.chip:hover { color:var(--accent); border-color:var(--accent); }.actions { display:flex; align-items:center; gap:.625rem; }.primary,.secondary { min-height:44px; border-radius:8px; padding:.65rem 1.15rem; border:1px solid transparent; font-size:.8125rem; font-weight:500; cursor:pointer; transition:all .2s var(--ease-out); }- .primary { background:var(--ink); color:var(--paper); border-color:var(--ink); }+ .primary { background:var(--ink); color:var(--paper); border-color:var(--line-strong); }.primary:hover { background:var(--accent); border-color:var(--accent); }.secondary { background:transparent; border-color:var(--line-hi); color:var(--ink-soft); }- .secondary:hover { color:var(--ink); border-color:var(--ink); }+ .secondary:hover { color:var(--ink); border-color:var(--line-strong); }/* RESULT */.result { margin-top:1.25rem; border:1px solid var(--line-hi); border-radius:14px; background:var(--paper-raised); overflow:hidden; display:none; }@@ -80,11 +38,11 @@@keyframes reveal { from { opacity:0; transform:translateY(6px); } }.result-main { padding:1.75rem 2rem; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr); gap:2rem; }.result-kicker { color:var(--accent); font-family:var(--font-mono); font-size:.5625rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase; }- .result h3 { margin:.5rem 0 .375rem; font-family:var(--font-display); font-optical-sizing:auto; font-size:1.625rem; font-weight:500; letter-spacing:-.02em; }+ .result h3 { margin:.5rem 0 .375rem; font-family:var(--font-title); font-size:1.625rem; font-weight:500; letter-spacing:-.02em; }.result-question { color:var(--ink-soft); font-size:.875rem; font-weight:500; line-height:1.6; }.result-summary { margin-top:.875rem; color:var(--muted); font-size:.8125rem; line-height:1.7; }- .proof-link { display:inline-flex; align-items:center; margin-top:1.125rem; padding:.5rem .75rem; border:1px solid rgba(4,120,87,.35); border-radius:999px; background:rgba(4,120,87,.06); color:var(--emerald); text-decoration:none; font-family:var(--font-mono); font-size:.5625rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; transition:all .18s var(--ease-out); }- .proof-link:hover { border-color:var(--emerald); background:rgba(4,120,87,.1); }+ .proof-link { display:inline-flex; align-items:center; margin-top:1.125rem; padding:.5rem .75rem; border:1px solid rgba(52,211,153,.35); border-radius:999px; background:rgba(52,211,153,.06); color:var(--emerald); text-decoration:none; font-family:var(--font-mono); font-size:.5625rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; transition:all .18s var(--ease-out); }+ .proof-link:hover { border-color:var(--emerald); background:rgba(52,211,153,.1); }.boundary { display:grid; gap:1rem; align-content:start; }.boundary-item small { display:block; margin-bottom:.375rem; color:var(--emerald); font-family:var(--font-mono); font-size:.5625rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; }.boundary-item.avoid small { color:var(--rose); }@@ -109,17 +67,17 @@/* LIBRARY */.library { padding:5rem 0 6rem; }.section-head { display:flex; align-items:end; justify-content:space-between; gap:1.75rem; margin-bottom:1.75rem; }- .section-head h2 { margin-top:.5rem; font-family:var(--font-display); font-optical-sizing:auto; font-size:clamp(1.75rem,3vw,2.5rem); font-weight:400; letter-spacing:-.026em; }+ .section-head h2 { margin-top:.5rem; font-family:var(--font-title); font-size:clamp(1.75rem,3vw,2.5rem); font-weight:500; letter-spacing:-.035em; }.section-head p { max-width:440px; color:var(--muted); font-size:.8125rem; line-height:1.7; }.filters { display:flex; flex-wrap:wrap; gap:.45rem; margin-bottom:1.25rem; }- .filter { border:1px solid var(--line-hi); border-radius:999px; background:transparent; color:var(--muted); padding:.5rem .85rem; font-family:var(--font-mono); font-size:.5625rem; font-weight:500; letter-spacing:.1em; text-transform:uppercase; cursor:pointer; transition:all .18s var(--ease-out); }- .filter:hover { color:var(--ink); border-color:var(--ink); }- .filter.active { color:var(--paper); background:var(--ink); border-color:var(--ink); }+ .filter { border:1px solid var(--line-hi); border-radius:999px; background:transparent; color:var(--muted); padding:.5rem .85rem; font-family:var(--font-body); font-size:.8125rem; font-weight:500; letter-spacing:-.005em; text-transform:none; cursor:pointer; transition:all .18s var(--ease-out); }+ .filter:hover { color:var(--ink); border-color:var(--line-strong); }+ .filter.active { color:var(--paper); background:var(--ink); border-color:var(--line-strong); }.cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }.card { min-width:0; min-height:206px; padding:1.375rem 1.5rem; text-align:left; border:1px solid var(--line-hi); border-radius:12px; background:var(--paper-raised); cursor:pointer; transition:transform .22s var(--ease-out),border-color .22s var(--ease-out),box-shadow .22s var(--ease-out); position:relative; font-family:inherit; }- .card:hover,.card:focus-visible { transform:translateY(-3px); border-color:var(--ink); box-shadow:0 14px 36px rgba(20,23,26,.1); outline:none; }+ .card:hover,.card:focus-visible { transform:translateY(-3px); border-color:var(--line-strong); box-shadow:0 14px 36px rgba(0,0,0,.1); outline:none; }.card-type { color:var(--type-color,var(--accent)); font-family:var(--font-mono); font-size:.5625rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; }- .card h3 { margin:.875rem 0 .5rem; font-family:var(--font-display); font-optical-sizing:auto; font-size:1.125rem; font-weight:500; letter-spacing:-.015em; color:var(--ink); }+ .card h3 { margin:.875rem 0 .5rem; font-family:var(--font-title); font-size:1.125rem; font-weight:500; letter-spacing:-.015em; color:var(--ink); }.card-question { color:var(--ink-soft); font-size:.75rem; line-height:1.6; }.card-summary { margin:.75rem 0 0; color:var(--dim); font-size:.6875rem; line-height:1.6; }.card-foot { position:absolute; left:1.5rem; right:1.5rem; bottom:1.125rem; display:flex; justify-content:space-between; gap:.75rem; color:var(--dim); font-family:var(--font-mono); font-size:.5625rem; letter-spacing:.06em; }diff --git a/website/src/styles/index.css b/website/src/styles/index.cssindex 920cd73c..b4c3b700 100644--- a/website/src/styles/index.css+++ b/website/src/styles/index.css@@ -1,348 +1,405 @@:root {- /* Drafted-sheet palette — warm paper, ink, one international-orange accent */- --paper:#eff2f1; --paper-raised:#f8faf9;- --ink:#15181b; --ink-soft:#363c41; --muted:#60686d; --dim:#929a9e;- --line:rgba(20,23,26,0.14); --line-hi:rgba(20,23,26,0.3);- --accent:#e14a0e; --accent-soft:rgba(225,74,14,0.08);- --plate:#0f1216;- /* Product semantic hues — print-depth, only where they carry diagram meaning */- --cyan:#0891b2; --emerald:#047857; --violet:#6d28d9;- --amber:#b45309; --rose:#be123c; --orange:#c2410c; --slate:#475569;- --cyan-fill:rgba(8,145,178,0.12); --emerald-fill:rgba(4,120,87,0.11);- --violet-fill:rgba(109,40,217,0.1); --amber-fill:rgba(180,83,9,0.13);- --rose-fill:rgba(190,18,60,0.09); --orange-fill:rgba(194,65,12,0.11);- --slate-fill:rgba(71,85,105,0.1);+ /* Night-plate system — the page shares the artifact's dark canvas so the+ live diagram reads as part of the page, not a screenshot inside it */+ --bg:#07080a; --bg-2:#0b0d10; --surface:#101318; --surface-2:#151920;+ --text:#eef1f3; --text-2:rgba(238,241,243,.66); --text-3:rgba(238,241,243,.42);+ --line:rgba(238,241,243,.08); --line-hi:rgba(238,241,243,.15);+ --accent:#ff6a2b; --accent-deep:#e14a0e; --accent-soft:rgba(255,106,43,.12);+ --signal:#5eead4;--font-display:'Fraunces','Songti SC','STSong',Georgia,serif;--font-grot:'Space Grotesk','Inter',-apple-system,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;--font-body:'Inter',-apple-system,BlinkMacSystemFont,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;--font-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;--ease-out:cubic-bezier(.22,1,.36,1);- --bento-gap:14px;+ --shell:1240px;+ --nav-h:64px;}*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }- html { scroll-behavior:smooth; }- body {- font-family:var(--font-body);- -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;- background:var(--paper); color:var(--ink); min-height:100vh; overflow-x:hidden;- counter-reset:seclabel;- }- body::after {- content:''; position:fixed; inset:0; z-index:1000; pointer-events:none;- opacity:.05; mix-blend-mode:multiply;- background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");- }- ::selection { background:rgba(225,74,14,.18); color:var(--ink); }- html { scrollbar-width:thin; scrollbar-color:rgba(20,23,26,.32) transparent; }- ::-webkit-scrollbar { width:10px; height:10px; }- ::-webkit-scrollbar-track { background:transparent; }- ::-webkit-scrollbar-thumb { background:rgba(20,23,26,.24); border-radius:999px; border:3px solid transparent; background-clip:content-box; }- ::-webkit-scrollbar-thumb:hover { background:rgba(20,23,26,.38); border:3px solid transparent; background-clip:content-box; }- :focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }-- .grid-bg {- position:fixed; inset:0; z-index:0; pointer-events:none;- background-image:linear-gradient(rgba(20,23,26,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(20,23,26,.045) 1px,transparent 1px);- background-size:56px 56px;- -webkit-mask-image:radial-gradient(ellipse 95% 62% at 50% -6%, black 12%, transparent 75%);- mask-image:radial-gradient(ellipse 95% 62% at 50% -6%, black 12%, transparent 75%);- }+ html { scroll-behavior:smooth; scrollbar-gutter:stable; background:var(--bg); color-scheme:dark; }+ body { font-family:var(--font-body); -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; background:var(--bg); color:var(--text); min-height:100vh; overflow-x:clip; }+ body::after { content:''; position:fixed; inset:0; z-index:1000; pointer-events:none; opacity:.035; mix-blend-mode:overlay;+ background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>"); }+ ::selection { background:rgba(255,106,43,.32); color:#fff; }+ html { scrollbar-width:thin; scrollbar-color:rgba(238,241,243,.2) transparent; }+ :focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:6px; }+ img { max-width:100%; }+ .sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }+ .container { position:relative; z-index:1; max-width:var(--shell); margin:0 auto; padding:0 2rem; }+ section { position:relative; }- .btn { display:inline-flex; align-items:center; gap:.5rem; padding:.55rem 1.15rem; border-radius:6px; font-family:var(--font-body); font-size:.8125rem; font-weight:500; letter-spacing:-.005em; cursor:pointer; text-decoration:none; transition:all .2s var(--ease-out); border:1px solid transparent; }- .btn-primary { background:var(--ink); color:var(--paper); }- .btn-primary:hover { background:#272c31; transform:translateY(-1px); }- .btn-ghost { background:transparent; color:var(--ink-soft); border-color:var(--line-hi); }- .btn-ghost:hover { color:var(--ink); border-color:var(--ink); transform:translateY(-1px); }- .container { position:relative; z-index:1; max-width:1200px; margin:0 auto; padding:0 2rem; }- section { position:relative; padding:5.25rem 0; }-- /* FADE — develop-in like a photographic print */+ /* FADE — develop in */.fade-up { opacity:0; transform:translateY(18px); filter:blur(6px); transition:opacity .9s var(--ease-out),transform .9s var(--ease-out),filter .9s var(--ease-out); }- .fade-up.visible { opacity:1; transform:translateY(0); filter:blur(0); }+ .fade-up.visible { opacity:1; transform:none; filter:none; }.fade-up.d1 { transition-delay:.08s; } .fade-up.d2 { transition-delay:.16s; }.fade-up.d3 { transition-delay:.24s; } .fade-up.d4 { transition-delay:.32s; }- .fade-up.d5 { transition-delay:.4s; }++ /* BUTTONS */+ .btn { display:inline-flex; align-items:center; justify-content:center; gap:.55rem; min-height:44px; padding:.65rem 1.25rem; border-radius:10px; border:1px solid transparent; font-family:var(--font-body); font-size:.875rem; font-weight:500; letter-spacing:-.005em; text-decoration:none; white-space:nowrap; cursor:pointer; transition:background .2s var(--ease-out),color .2s var(--ease-out),border-color .2s var(--ease-out),transform .2s var(--ease-out),box-shadow .2s var(--ease-out); }+ .btn-primary { background:var(--text); color:#0a0b0d; }+ .btn-primary:hover { background:#fff; transform:translateY(-1px); box-shadow:0 10px 30px rgba(255,255,255,.12); }+ .btn-ghost { background:rgba(238,241,243,.03); color:var(--text); border-color:var(--line-hi); }+ .btn-ghost:hover { border-color:rgba(238,241,243,.4); background:rgba(238,241,243,.06); transform:translateY(-1px); }+ .btn-lg { min-height:52px; padding:.8rem 1.6rem; font-size:.9375rem; border-radius:12px; }/* ══════════════════════════════════════- HERO — editorial bento: intro / live proof / specimen rail / stats+ HERO — centered statement over a drafting-grid aura══════════════════════════════════════ */- .hero { position:relative; padding-top:9rem; padding-bottom:4.5rem; overflow:hidden; }- .hero::before { content:''; position:absolute; top:-140px; left:50%; transform:translateX(-50%); width:820px; height:480px; background:radial-gradient(closest-side,rgba(225,74,14,.06),transparent); pointer-events:none; }- .hero-bento { display:grid; grid-template-columns:repeat(12,1fr); gap:var(--bento-gap); }+ .hero { padding:calc(var(--nav-h) + 5rem) 2rem 2rem; display:flex; align-items:center; justify-content:center; overflow:hidden; isolation:isolate; }+ .hero-aura { position:absolute; inset:0; z-index:-1; pointer-events:none;+ background:+ radial-gradient(ellipse 60% 50% at 50% 118%, rgba(255,106,43,.22), transparent 70%),+ radial-gradient(ellipse 40% 40% at 82% 8%, rgba(94,234,212,.07), transparent 70%),+ radial-gradient(ellipse 40% 40% at 12% 22%, rgba(167,139,250,.06), transparent 70%);+ }+ .hero-aura::before { content:''; position:absolute; inset:0;+ background-image:linear-gradient(rgba(238,241,243,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(238,241,243,.045) 1px,transparent 1px);+ background-size:64px 64px; background-position:center top;+ -webkit-mask-image:radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 78%);+ mask-image:radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 78%); }+ .hero-traces { position:absolute; inset:0; width:100%; height:100%; }+ .trace { fill:none; stroke-width:1.2; }+ .trace.t1, .trace.t2 { stroke:rgba(255,106,43,.28); stroke-dasharray:6 8; animation:traceFlow 2.6s linear infinite; }+ .trace.t3, .trace.t4 { stroke:rgba(94,234,212,.2); stroke-dasharray:4 10; animation:traceFlow 3.4s linear infinite; }+ @keyframes traceFlow { to { stroke-dashoffset:-56; } }- .hero-intro { grid-column:1 / 8; padding:1.25rem .5rem 0 0; }- .hero-badge { display:inline-flex; align-items:center; gap:.75rem; font-family:var(--font-mono); font-size:.625rem; font-weight:500; color:var(--muted); margin-bottom:1.625rem; letter-spacing:.22em; text-transform:uppercase; }- .hero-badge::before { content:''; width:2.75rem; height:1px; background:var(--line-hi); }- .pulse-dot { width:5px; height:5px; border-radius:50%; background:var(--accent); animation:pulse 2.4s ease-in-out infinite; }- @keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.4; transform:scale(.75); } }- .hero h1 { font-family:var(--font-grot); font-size:clamp(2.75rem,4.7vw,4.5rem); font-weight:500; line-height:1.04; letter-spacing:-.042em; color:var(--ink); margin-bottom:1.25rem; text-wrap:balance; }- .hero h1 em { font-family:var(--font-display); font-style:italic; font-optical-sizing:auto; font-weight:400; color:var(--accent); letter-spacing:-.02em; }- .hero-sub { font-size:.9375rem; font-weight:400; color:var(--muted); line-height:1.72; max-width:480px; margin-bottom:1.75rem; text-wrap:pretty; }- .hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.625rem; }- .hero-actions .btn { min-height:44px; padding:.65rem 1.375rem; font-size:.875rem; }+ .hero-copy { position:relative; max-width:1200px; display:flex; flex-direction:column; align-items:center; text-align:center; }+ .hero-eyebrow { display:inline-flex; align-items:center; gap:.7rem; padding:.45rem .9rem .45rem .75rem; margin-bottom:2rem; border:1px solid var(--line-hi); border-radius:999px; background:rgba(238,241,243,.03); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); color:var(--text-2); font-family:var(--font-mono); font-size:.625rem; font-weight:500; letter-spacing:.14em; text-transform:uppercase; text-decoration:none; white-space:nowrap; transition:border-color .2s var(--ease-out),color .2s var(--ease-out); }+ .hero-eyebrow:hover { border-color:rgba(255,106,43,.5); color:var(--text); }+ .eyebrow-sep { width:1px; height:12px; background:var(--line-hi); }+ .eyebrow-agents { color:var(--text-3); letter-spacing:.08em; }+ .pulse-dot { width:6px; height:6px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 0 rgba(255,106,43,.6); animation:pulse 2.4s ease-in-out infinite; }+ @keyframes pulse { 0%,100% { box-shadow:0 0 0 0 rgba(255,106,43,.55); } 60% { box-shadow:0 0 0 6px rgba(255,106,43,0); } }- /* MAIN PROOF — paper-mounted dark plate */- .proof-main { grid-column:8 / 13; grid-row:1 / 3; position:relative; overflow:hidden; display:flex; flex-direction:column; border:1px solid var(--line-hi); border-radius:14px; background:var(--paper-raised); box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 30px 70px rgba(20,23,26,.16); }- .proof-main::before, .proof-main::after { position:absolute; z-index:5; font-family:var(--font-mono); font-size:.8125rem; font-weight:400; color:var(--dim); line-height:1; pointer-events:none; }- .proof-main::before { content:'+'; top:.5rem; left:.625rem; }- .proof-main::after { content:'+'; top:.5rem; right:.625rem; }- .proof-chrome { min-height:60px; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.7rem 1.5rem; border-bottom:1px solid var(--line); }- .proof-status { display:flex; align-items:center; gap:.75rem; min-width:0; }- .proof-live { display:inline-flex; align-items:center; gap:.45rem; flex-shrink:0; color:var(--accent); font-family:var(--font-mono); font-size:.5625rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase; }- .proof-live::before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; animation:pulse 2.4s ease-in-out infinite; }- .proof-status-copy { min-width:0; }- .proof-status-copy strong { display:block; overflow:hidden; color:var(--ink); font-size:.75rem; font-weight:500; letter-spacing:-.005em; white-space:nowrap; text-overflow:ellipsis; }- .proof-status-copy span { display:block; margin-top:.2rem; color:var(--dim); font-family:var(--font-mono); font-size:.5625rem; letter-spacing:.06em; white-space:nowrap; }- .proof-open { flex-shrink:0; display:inline-flex; align-items:center; gap:.4rem; color:var(--muted); font-size:.75rem; font-weight:500; text-decoration:none; white-space:nowrap; transition:color .18s var(--ease-out); }- .proof-open:hover { color:var(--accent); }- .proof-viewport { position:relative; flex:1; min-height:430px; background:var(--plate); border:12px solid var(--paper-raised); border-top-width:10px; border-bottom-width:10px; }- .proof-viewport iframe { position:absolute; inset:0; z-index:1; width:100%; height:100%; display:block; border:0; background:var(--plate); opacity:1; transition:opacity .25s var(--ease-out); }- .proof-main.is-loading .proof-viewport iframe { opacity:.3; }- .proof-caption { position:relative; min-height:64px; display:flex; align-items:center; justify-content:space-between; gap:1.5rem; padding:.85rem 1.5rem; border-top:1px solid var(--line); }- .proof-caption-main { min-width:0; }- .proof-caption-main span { display:block; margin-bottom:.26rem; color:var(--accent); font-family:var(--font-mono); font-size:.5625rem; font-weight:500; letter-spacing:.14em; text-transform:uppercase; }- .proof-caption-main strong { display:block; overflow:hidden; color:var(--ink); font-family:var(--font-display); font-optical-sizing:auto; font-size:.9375rem; font-weight:500; letter-spacing:-.01em; white-space:nowrap; text-overflow:ellipsis; }- .proof-hint { color:var(--dim); font-size:.6875rem; line-height:1.55; text-align:right; max-width:170px; }+ .hero h1 { font-family:var(--font-grot); font-size:clamp(2.75rem,5.9vw,5.75rem); font-weight:500; line-height:.98; letter-spacing:-.045em; color:var(--text); text-wrap:balance;+ background:linear-gradient(180deg,#fff 0%,#fff 55%,rgba(238,241,243,.62) 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }+ .hero h1 em { font-family:var(--font-display); font-style:italic; font-optical-sizing:auto; font-weight:400; letter-spacing:-.03em; padding-right:.06em;+ background:linear-gradient(100deg,#ffb38a 0%,var(--accent) 45%,#ff3d6e 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }+ .hero h1 em { white-space:nowrap; }+ html[lang="zh-CN"] .hero h1 { letter-spacing:-.02em; line-height:1.08; }+ .hero-sub { max-width:60ch; margin-top:1.75rem; font-size:1.0625rem; line-height:1.65; color:var(--text-2); text-wrap:pretty; }+ .hero-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:.75rem; margin-top:2.5rem; }- /* SPECIMEN RAIL — three bento cards replace the tab strip */- .proof-rail { grid-column:1 / 8; display:grid; grid-template-columns:repeat(3,1fr); gap:var(--bento-gap); align-content:start; }- .rail-label { grid-column:1 / -1; display:flex; align-items:center; gap:.875rem; font-family:var(--font-mono); font-size:.5625rem; font-weight:500; letter-spacing:.2em; color:var(--dim); text-transform:uppercase; }- .rail-label::after { content:''; flex:1; height:1px; background:var(--line); }- .spec-card { position:relative; display:flex; flex-direction:column; gap:.6rem; padding:1.125rem 1.25rem 1.125rem; background:var(--paper-raised); border:1px solid var(--line-hi); border-radius:12px; cursor:pointer; text-align:left; font-family:inherit; transition:all .22s var(--ease-out); }- .spec-card:hover { transform:translateY(-2px); border-color:var(--ink); box-shadow:0 10px 26px rgba(20,23,26,.1); }- .spec-card[aria-selected="true"] { background:var(--ink); border-color:var(--ink); box-shadow:0 14px 34px rgba(20,23,26,.22); }- .spec-top { display:flex; align-items:center; justify-content:space-between; gap:.5rem; }- .spec-idx { font-family:var(--font-mono); font-size:.5625rem; font-weight:600; letter-spacing:.18em; color:var(--accent); }- .spec-glyph { color:var(--muted); transition:color .22s var(--ease-out); }- .spec-glyph svg { display:block; }- .spec-glyph svg * { stroke:currentColor; }- .spec-card[aria-selected="true"] .spec-glyph { color:rgba(247,249,249,.85); }- .spec-name { font-family:var(--font-display); font-optical-sizing:auto; font-size:1rem; font-weight:500; letter-spacing:-.01em; color:var(--ink); line-height:1.3; }- .spec-card[aria-selected="true"] .spec-name { color:var(--paper); }- .spec-meta { font-family:var(--font-mono); font-size:.5625rem; letter-spacing:.06em; color:var(--dim); line-height:1.6; }- .spec-card[aria-selected="true"] .spec-meta { color:rgba(247,249,249,.55); }+ /* command chip — copyable install line */+ .cmd-chip { display:inline-flex; align-items:center; gap:.65rem; min-height:44px; padding:0 .4rem 0 1rem; border:1px solid var(--line-hi); border-radius:10px; background:rgba(16,19,24,.8); font-family:var(--font-mono); font-size:.8125rem; color:var(--text); }+ .cmd-prompt { color:var(--accent); }+ .cmd-chip code { font-family:inherit; white-space:nowrap; }+ .cmd-copy { display:inline-flex; align-items:center; gap:.4rem; min-height:34px; padding:0 .65rem; border:1px solid transparent; border-radius:7px; background:rgba(238,241,243,.06); color:var(--text-2); font-family:var(--font-mono); font-size:.6875rem; letter-spacing:.04em; cursor:pointer; transition:color .18s var(--ease-out),background .18s var(--ease-out); }+ .cmd-copy:hover { color:var(--text); background:rgba(238,241,243,.12); }+ .cmd-copy.is-copied { color:var(--signal); }+ .demo-trigger .play-ring { display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; border-radius:50%; background:var(--accent); color:#fff; padding-left:1px; }- /* STATS STRIP */- .hero-stats { grid-column:1 / -1; display:grid; grid-template-columns:repeat(5,1fr); border:1px solid var(--line-hi); border-radius:12px; background:var(--paper-raised); overflow:hidden; }- .stat { padding:1.375rem 1.5rem 1.25rem; border-left:1px solid var(--line); }- .stat:first-child { border-left:0; }- .stat b { display:block; font-family:var(--font-display); font-style:italic; font-optical-sizing:auto; font-size:2rem; font-weight:400; line-height:1; color:var(--ink); margin-bottom:.55rem; }- .stat b sup { font-size:.55em; font-style:normal; color:var(--accent); }- .stat span { font-family:var(--font-mono); font-size:.5625rem; font-weight:500; letter-spacing:.16em; text-transform:uppercase; color:var(--dim); }+ .hero-stars { display:inline-flex; align-items:center; gap:.5rem; margin-top:1.75rem; color:var(--text-3); font-size:.8125rem; text-decoration:none; transition:color .18s var(--ease-out); }+ .hero-stars:hover { color:var(--text); }+ .stars-count { font-family:var(--font-mono); font-weight:500; color:var(--text); }+ .stars-count::before { content:'★ '; color:#fbbf24; }- /* SECTION — ghost folio numerals + indexed labels */- #types::after, #features::after, #palette::after, #quickstart::after {- position:absolute; top:3.5rem; right:1.5rem; z-index:0;- font-family:var(--font-display); font-style:italic; font-optical-sizing:auto;- font-size:clamp(5rem,10vw,9rem); line-height:1;- color:transparent; -webkit-text-stroke:1px rgba(20,23,26,.08);- pointer-events:none; user-select:none;- }- #types::after { content:'01'; } #features::after { content:'02'; }- #palette::after { content:'03'; } #quickstart::after { content:'04'; }- .section-label { counter-increment:seclabel; display:flex; align-items:center; gap:.875rem; font-family:var(--font-mono); font-size:.625rem; font-weight:500; letter-spacing:.2em; color:var(--muted); text-transform:uppercase; margin-bottom:1.5rem; }- .section-label::before { content:counter(seclabel,decimal-leading-zero); color:var(--accent); font-weight:600; }- .section-label::after { content:''; flex:1; max-width:4rem; height:1px; background:var(--line-hi); }- .section-heading { font-family:var(--font-display); font-optical-sizing:auto; font-size:clamp(2.25rem,4vw,3.5rem); font-weight:400; letter-spacing:-.028em; line-height:1.06; color:var(--ink); margin-bottom:1.25rem; text-wrap:balance; }- .section-body { font-size:.9375rem; color:var(--muted); line-height:1.72; max-width:540px; text-wrap:pretty; }- .divider { height:1px; background:linear-gradient(90deg,transparent,var(--line),transparent); }+ /* ══════════════════════════════════════+ STAGE — pinned live artifact window; scroll drives the camera beats.+ --enter (0→1) flattens the tilted window as it arrives.+ ══════════════════════════════════════ */+ .stage { height:380vh; height:380svh; margin-top:-3.5rem; --enter:0; }+ .stage-pin { position:sticky; top:0; height:100vh; height:100svh; padding:calc(var(--nav-h) + 1rem) 2rem 1.5rem; display:flex; align-items:center; justify-content:center; perspective:2200px; }+ .stage-window { position:relative; width:min(100%,1320px); height:100%; display:flex; flex-direction:column; border-radius:18px; overflow:hidden; background:#0a0d12; border:1px solid rgba(238,241,243,.12);+ box-shadow:0 0 0 1px rgba(0,0,0,.6), 0 50px 120px -20px rgba(0,0,0,.8), 0 0 140px -30px rgba(255,106,43,calc(.18 + .14 * var(--enter)));+ transform-origin:50% 0; transform:rotateX(calc((1 - var(--enter)) * 24deg)) scale(calc(.86 + .14 * var(--enter))) translateY(calc((1 - var(--enter)) * 2rem)); will-change:transform; }+ .stage-window::after { content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:linear-gradient(180deg,rgba(255,255,255,.06),transparent 18%); }++ .window-bar { flex:none; position:relative; z-index:3; display:flex; align-items:center; gap:1rem; height:52px; padding:0 .75rem 0 1.1rem; border-bottom:1px solid var(--line); background:rgba(16,19,24,.92); }+ .window-dots { display:flex; gap:7px; flex:none; }+ .window-dots i { width:11px; height:11px; border-radius:50%; background:rgba(238,241,243,.14); }+ .window-dots i:first-child { background:#ff5f57; opacity:.85; } .window-dots i:nth-child(2) { background:#febc2e; opacity:.85; } .window-dots i:nth-child(3) { background:#28c840; opacity:.85; }+ .proof-rail { display:flex; gap:.25rem; min-width:0; overflow-x:auto; scrollbar-width:none; }+ .proof-rail::-webkit-scrollbar { display:none; }+ .spec-card { flex:none; display:inline-flex; align-items:center; gap:.5rem; min-height:34px; padding:0 .8rem; border-radius:8px; border:1px solid transparent; background:transparent; color:var(--text-3); font-family:var(--font-body); font-size:.8125rem; font-weight:500; cursor:pointer; transition:color .2s var(--ease-out),background .2s var(--ease-out),border-color .2s var(--ease-out); }+ .spec-card:hover { color:var(--text); background:rgba(238,241,243,.05); }+ .spec-card[aria-selected="true"] { color:var(--text); background:rgba(238,241,243,.08); border-color:var(--line-hi); }+ .spec-idx { font-family:var(--font-mono); font-size:.625rem; letter-spacing:.08em; color:var(--text-3); }+ .spec-card[aria-selected="true"] .spec-idx { color:var(--accent); }+ .window-address { flex:1; min-width:0; display:flex; align-items:center; justify-content:center; gap:.45rem; height:32px; padding:0 .9rem; border-radius:8px; background:rgba(0,0,0,.35); border:1px solid var(--line); color:var(--text-3); font-family:var(--font-mono); font-size:.6875rem; white-space:nowrap; overflow:hidden; }+ .window-address span { overflow:hidden; text-overflow:ellipsis; }+ .window-address b { font-weight:500; color:var(--signal); transition:color .3s var(--ease-out); }+ .window-address b.is-flash { animation:hashFlash .9s var(--ease-out); }+ @keyframes hashFlash { from { color:#fff; text-shadow:0 0 12px rgba(94,234,212,.9); } }+ .proof-open { flex:none; display:inline-flex; align-items:center; gap:.4rem; min-height:34px; padding:0 .85rem; border-radius:8px; border:1px solid var(--line-hi); color:var(--text); font-size:.8125rem; font-weight:500; text-decoration:none; transition:border-color .2s var(--ease-out),color .2s var(--ease-out); }+ .proof-open:hover { border-color:var(--accent); color:var(--accent); }++ .hero-frame { position:relative; flex:1; min-height:0; }+ .hero-frame iframe { position:absolute; inset:0; width:100%; height:100%; display:block; border:0; background:#0a0d12; transition:opacity .4s var(--ease-out); }+ .stage-window.is-loading .hero-frame iframe { opacity:.3; }++ /* beat card — glass caption anchored bottom-left inside the window */+ .beat-card { position:absolute; left:1.25rem; bottom:1.25rem; z-index:3; width:min(400px,calc(100% - 2.5rem)); padding:1.1rem 1.25rem 1.25rem; border-radius:14px; border:1px solid var(--line-hi); background:rgba(10,12,16,.72); backdrop-filter:blur(16px) saturate(1.2); -webkit-backdrop-filter:blur(16px) saturate(1.2); box-shadow:0 20px 50px rgba(0,0,0,.45); }+ .beat-rail { display:grid; grid-template-columns:repeat(4,1fr); gap:.35rem; margin-bottom:1rem; }+ .beat-tick { position:relative; padding:.7rem 0 .1rem; border:0; background:none; color:var(--text-3); font-family:var(--font-mono); font-size:.625rem; font-weight:500; letter-spacing:.12em; text-transform:uppercase; text-align:left; cursor:pointer; transition:color .2s var(--ease-out); }+ .beat-tick::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; border-radius:2px; background:rgba(238,241,243,.14); }+ .beat-tick::after { content:''; position:absolute; top:0; left:0; height:2px; width:var(--fill,0%); border-radius:2px; background:var(--accent); }+ .beat-tick[aria-pressed="true"] { color:var(--text); }+ .beat-tick:hover { color:var(--text); }+ .beat-meta { display:flex; align-items:center; gap:.65rem; margin-bottom:.55rem; font-family:var(--font-mono); font-size:.5625rem; letter-spacing:.12em; text-transform:uppercase; color:var(--text-3); white-space:nowrap; overflow:hidden; }+ .beat-meta #proof-meta { overflow:hidden; text-overflow:ellipsis; }+ .proof-live { display:inline-flex; align-items:center; gap:.4rem; color:var(--accent); font-weight:600; }+ .proof-live::before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; animation:blink 2.4s ease-in-out infinite; }+ @keyframes blink { 50% { opacity:.3; } }+ .beat-title { font-family:var(--font-grot); font-size:1.25rem; font-weight:500; letter-spacing:-.02em; line-height:1.25; color:var(--text); }+ .beat-body { margin-top:.45rem; font-size:.8125rem; line-height:1.6; color:var(--text-2); text-wrap:pretty; }+ .beat-card.is-swapping .beat-title, .beat-card.is-swapping .beat-body { animation:beatIn .5s var(--ease-out); }+ @keyframes beatIn { from { opacity:0; transform:translateY(6px); } }/* ══════════════════════════════════════- TYPES — asymmetric bento deck+ RECEIPTS — hairline stat row══════════════════════════════════════ */- .types-header { display:block; margin-bottom:2.75rem; }- .types-header .section-body { max-width:560px; }- .types-bento { display:grid; grid-template-columns:repeat(6,1fr); gap:var(--bento-gap); }- .type-card { position:relative; display:flex; flex-direction:column; background:var(--paper-raised); border:1px solid var(--line-hi); border-radius:14px; overflow:hidden; transition:transform .3s var(--ease-out),border-color .3s var(--ease-out),box-shadow .3s var(--ease-out); }- .type-card:hover { transform:translateY(-3px); border-color:var(--ink); box-shadow:0 22px 54px rgba(20,23,26,.14); }- .type-card.big { grid-column:span 4; grid-row:span 2; }- .type-card.sm { grid-column:span 2; }- .type-media { position:relative; overflow:hidden; border-bottom:1px solid var(--line); background:var(--paper); }- .type-card.big .type-media { aspect-ratio:4 / 3.05; }- .type-card.sm .type-media { aspect-ratio:16 / 9.5; }- .type-media img { width:100%; height:100%; display:block; object-fit:cover; object-position:top center; transition:transform .7s var(--ease-out); }- .type-card:hover .type-media img { transform:scale(1.04); }- .type-tag { position:absolute; top:.75rem; left:.75rem; z-index:2; padding:.32rem .6rem; background:rgba(247,249,249,.88); backdrop-filter:blur(6px); border:1px solid var(--line-hi); border-radius:6px; font-family:var(--font-mono); font-size:.5625rem; font-weight:600; letter-spacing:.16em; color:var(--ink-soft); text-transform:uppercase; }- .type-body { padding:1.5rem 1.625rem 1.5rem; }- .type-card.sm .type-body { padding:1.25rem 1.375rem 1.25rem; }- .type-body h3 { font-family:var(--font-display); font-optical-sizing:auto; font-size:1.5rem; font-weight:500; letter-spacing:-.02em; color:var(--ink); margin-bottom:.5rem; }- .type-card.sm .type-body h3 { font-size:1.125rem; }- .type-body p { font-size:.8125rem; color:var(--muted); line-height:1.68; text-wrap:pretty; }- .type-uses { list-style:none; margin-top:1.125rem; display:grid; grid-template-columns:1fr 1fr; gap:.45rem .875rem; }- .type-uses li { font-size:.75rem; color:var(--muted); display:flex; align-items:flex-start; gap:.5rem; }- .type-uses li::before { content:'→'; color:var(--accent); flex-shrink:0; font-size:.6875rem; line-height:1.6; }- /* gallery tile */- .type-card.more { grid-column:span 2; background:var(--ink); border-color:var(--ink); color:var(--paper); justify-content:space-between; padding:1.5rem 1.5rem 1.375rem; text-decoration:none; }- .type-card.more:hover { border-color:var(--accent); box-shadow:0 22px 54px rgba(20,23,26,.3); }- .more-kicker { font-family:var(--font-mono); font-size:.5625rem; font-weight:500; letter-spacing:.2em; text-transform:uppercase; color:rgba(247,249,249,.5); margin-bottom:1.75rem; }- .more-title { font-family:var(--font-display); font-style:italic; font-optical-sizing:auto; font-size:1.625rem; font-weight:400; letter-spacing:-.02em; line-height:1.2; color:var(--paper); margin-bottom:.75rem; }- .more-sub { font-size:.75rem; color:rgba(247,249,249,.55); line-height:1.6; }- .more-arrow { align-self:flex-end; margin-top:1.5rem; width:40px; height:40px; display:flex; align-items:center; justify-content:center; border:1px solid rgba(247,249,249,.3); border-radius:50%; color:var(--paper); font-size:1rem; transition:all .25s var(--ease-out); }- .type-card.more:hover .more-arrow { background:var(--accent); border-color:var(--accent); transform:rotate(45deg); }+ .receipts { padding:5rem 0 1rem; }+ .receipts-row { display:grid; grid-template-columns:repeat(5,1fr); }+ .receipt { padding:0 1.5rem; border-left:1px solid var(--line-hi); }+ .receipt:first-child { border-left:0; padding-left:0; }+ .receipt b { display:block; font-family:var(--font-grot); font-size:clamp(2rem,3.4vw,3rem); font-weight:500; letter-spacing:-.04em; line-height:1; color:var(--text); }+ .receipt span { display:block; margin-top:.6rem; font-size:.8125rem; color:var(--text-3); }/* ══════════════════════════════════════- FEATURES — numbered text cards+ SECTION HEADS══════════════════════════════════════ */- .features-bento { display:grid; grid-template-columns:repeat(6,1fr); gap:var(--bento-gap); counter-reset:feat; }- .feature-card { position:relative; counter-increment:feat; background:var(--paper-raised); border:1px solid var(--line-hi); border-radius:12px; padding:1.75rem 1.625rem 1.625rem; transition:all .25s var(--ease-out); overflow:hidden; }- .feature-card:hover { transform:translateY(-2px); border-color:var(--ink); box-shadow:0 14px 36px rgba(20,23,26,.1); }- .f-lg { grid-column:span 3; } .f-sm { grid-column:span 2; }- .feature-card::after { content:counter(feat,decimal-leading-zero); position:absolute; top:1.125rem; right:1.375rem; font-family:var(--font-display); font-style:italic; font-optical-sizing:auto; font-size:1.75rem; font-weight:400; color:var(--dim); opacity:.55; transition:color .25s var(--ease-out),opacity .25s var(--ease-out); }- .feature-card:hover::after { color:var(--accent); opacity:1; }- .feature-card h3 { font-family:var(--font-display); font-optical-sizing:auto; font-size:1.25rem; font-weight:500; letter-spacing:-.015em; color:var(--ink); margin-bottom:.625rem; padding-right:2.75rem; }- .f-sm .feature-card h3, .f-sm h3 { font-size:1.0625rem; }- .feature-card p { font-size:.8125rem; color:var(--muted); line-height:1.68; text-wrap:pretty; }- .f-lg p { max-width:52ch; }- .feature-tag { display:inline-block; margin-top:1.125rem; padding:.32rem .7rem; border-radius:999px; font-family:var(--font-mono); font-size:.5625rem; font-weight:500; letter-spacing:.12em; text-transform:uppercase; color:var(--dim); border:1px solid var(--line); }+ #types, #features, #palette, #quickstart { padding:8rem 0 0; }+ .section-head { max-width:760px; margin-bottom:3.5rem; }+ .section-head-row { max-width:none; display:flex; align-items:flex-end; justify-content:space-between; gap:3rem; }+ .section-head-row .section-body { max-width:380px; margin:0 0 .5rem; }+ .section-label { display:flex; align-items:center; gap:.75rem; margin-bottom:1.25rem; font-family:var(--font-mono); font-size:.6875rem; font-weight:500; letter-spacing:.16em; text-transform:uppercase; color:var(--text-3); }+ .section-label span:first-child { color:var(--accent); }+ .section-label::after { content:''; width:3rem; height:1px; background:var(--line-hi); }+ .section-heading { font-family:var(--font-grot); font-size:clamp(2.25rem,4.6vw,4rem); font-weight:500; letter-spacing:-.04em; line-height:1.02; color:var(--text); text-wrap:balance; }+ .section-heading em, .cta-h em { font-family:var(--font-display); font-style:italic; font-weight:400; letter-spacing:-.025em; color:var(--accent); }+ html[lang="zh-CN"] .section-heading { letter-spacing:-.01em; line-height:1.15; }+ .section-body { margin-top:1.25rem; max-width:560px; font-size:1rem; line-height:1.7; color:var(--text-2); text-wrap:pretty; }- /* EXPORT */- .export-label-row { font-family:var(--font-mono); font-size:.625rem; color:var(--dim); text-transform:uppercase; letter-spacing:.18em; margin-top:var(--bento-gap); margin-bottom:.875rem; }- .export-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:1px; background:var(--line); border:1px solid var(--line-hi); border-radius:12px; overflow:hidden; }- .export-item { background:var(--paper-raised); padding:1.375rem 1rem; text-align:center; transition:background .25s var(--ease-out); }- .export-item:hover { background:var(--paper); }- .export-item .fmt { font-family:var(--font-mono); font-size:.6875rem; font-weight:600; letter-spacing:.12em; margin-bottom:.4rem; color:var(--ink); }- .export-item .desc { font-size:.6875rem; color:var(--dim); line-height:1.5; }+ /* ══════════════════════════════════════+ TYPES — index list + lightbox preview+ ══════════════════════════════════════ */+ .types-index { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:4rem; align-items:start; }+ .types-list { list-style:none; border-top:1px solid var(--line-hi); }+ .type-item { border-bottom:1px solid var(--line-hi); }+ .type-item button { width:100%; display:flex; align-items:baseline; gap:1.25rem; padding:1.35rem 0; border:0; background:none; color:var(--text-3); text-align:left; cursor:pointer; transition:color .3s var(--ease-out); }+ .type-item button:hover, .type-item.is-active button { color:var(--text); }+ .type-no { font-family:var(--font-mono); font-size:.6875rem; letter-spacing:.1em; transition:color .3s var(--ease-out); }+ .type-item.is-active .type-no { color:var(--accent); }+ .type-name { font-family:var(--font-grot); font-size:clamp(1.75rem,3vw,2.6rem); font-weight:500; letter-spacing:-.035em; line-height:1; }+ .type-detail { display:grid; grid-template-rows:0fr; transition:grid-template-rows .45s var(--ease-out); }+ .type-detail > div { min-height:0; overflow:hidden; padding-left:calc(1.25rem + 2.4ch); }+ .type-item.is-active .type-detail { grid-template-rows:1fr; }+ .type-detail p { font-size:.9375rem; line-height:1.65; color:var(--text-2); text-wrap:pretty; }+ .type-item.is-active .type-detail > div { padding-bottom:1.5rem; }+ .type-uses { list-style:none; display:flex; flex-wrap:wrap; gap:.4rem; margin-top:1rem; }+ .type-uses li { padding:.3rem .6rem; border-radius:7px; border:1px solid var(--line); background:rgba(238,241,243,.04); font-size:.75rem; color:var(--text-2); }++ .type-preview { position:sticky; top:calc(var(--nav-h) + 2rem); }+ .type-plate { position:relative; aspect-ratio:16 / 11; border-radius:16px; overflow:hidden; background:#f4f6f5; border:1px solid var(--line-hi); box-shadow:0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 8px rgba(238,241,243,.025); }+ .type-plate img { position:absolute; inset:0; width:100%; height:100%; padding:1.25rem; object-fit:contain; object-position:center; opacity:0; transform:scale(1.03); transition:opacity .6s var(--ease-out),transform 1.2s var(--ease-out); }+ .type-plate img.is-active { opacity:1; transform:none; }+ .type-more { display:grid; grid-template-columns:1fr auto; align-items:center; gap:.2rem 1rem; margin-top:1rem; padding:1.1rem 1.25rem; border:1px solid var(--line-hi); border-radius:14px; text-decoration:none; color:var(--text); transition:border-color .25s var(--ease-out),background .25s var(--ease-out); }+ .type-more:hover { border-color:rgba(255,106,43,.55); background:var(--accent-soft); }+ .type-more > span:first-child { font-family:var(--font-grot); font-size:1rem; font-weight:500; letter-spacing:-.01em; }+ .type-more-sub { grid-column:1; font-size:.75rem; color:var(--text-3); }+ .type-more-arrow { grid-column:2; grid-row:1 / 3; width:38px; height:38px; display:flex; align-items:center; justify-content:center; border-radius:50%; border:1px solid var(--line-hi); transition:background .25s var(--ease-out),border-color .25s var(--ease-out),transform .25s var(--ease-out); }+ .type-more:hover .type-more-arrow { background:var(--accent); border-color:var(--accent); transform:rotate(45deg); }/* ══════════════════════════════════════- PALETTE — mini nodes on light paper and dark plate+ FEATURES — compare centerpiece + hairline grid══════════════════════════════════════ */- .palette-card { display:grid; grid-template-columns:repeat(7,1fr); gap:1.25rem; padding:1.75rem; background:var(--paper-raised); border:1px solid var(--line-hi); border-radius:14px; }- .palette-chip { display:flex; flex-direction:column; gap:.75rem; }- .chip-nodes { display:flex; flex-direction:column; gap:6px; }- .mini-node { display:flex; flex-direction:column; justify-content:center; gap:2px; height:46px; padding:0 .75rem; border-radius:8px; border:1.5px solid var(--node); background:var(--node-fill); transition:transform .3s var(--ease-out); }- .palette-chip:hover .mini-node { transform:translateY(-3px); }- .mini-node b { font-family:var(--font-mono); font-size:.625rem; font-weight:600; letter-spacing:.02em; color:var(--ink); }- .mini-node span { font-family:var(--font-mono); font-size:.5625rem; letter-spacing:.02em; color:var(--muted); }- .mini-node.dark { background:var(--plate); border-color:var(--node-dark); }- .mini-node.dark b { color:#e8edf2; }- .mini-node.dark span { color:#7d8894; }- .chip-label { font-family:var(--font-mono); font-size:.625rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; }- .chip-use { font-size:.6875rem; color:var(--dim); margin-top:.15rem; line-height:1.5; }+ .features-grid { display:grid; grid-template-columns:repeat(12,1fr); gap:1px; background:var(--line-hi); border:1px solid var(--line-hi); border-radius:20px; overflow:hidden; }+ .feature { position:relative; background:var(--bg-2); padding:2rem; min-width:0; transition:background .3s var(--ease-out); }+ .feature:hover { background:#0e1115; }+ .feature h3 { font-family:var(--font-grot); font-size:1.25rem; font-weight:500; letter-spacing:-.02em; color:var(--text); margin-bottom:.6rem; }+ .feature p { font-size:.875rem; line-height:1.65; color:var(--text-2); text-wrap:pretty; }+ .feature-tag { display:inline-block; margin-top:1.25rem; padding:.3rem .65rem; border:1px solid var(--line-hi); border-radius:999px; font-family:var(--font-mono); font-size:.5625rem; font-weight:500; letter-spacing:.14em; color:var(--text-3); }+ .compare { grid-column:1 / 9; grid-row:1 / 3; padding:0; display:flex; flex-direction:column; }+ .export { grid-column:9 / 13; grid-row:1 / 3; display:flex; flex-direction:column; }+ .cell { grid-column:span 3; }++ .compare-stage { position:relative; aspect-ratio:14 / 9.6; overflow:hidden; background:#0c0f14; cursor:ew-resize; }+ .compare-stage img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:top center; pointer-events:none; user-select:none; }+ .compare-light { clip-path:inset(0 calc(100% - var(--split)) 0 0); }+ .compare-handle { position:absolute; top:0; bottom:0; left:var(--split); width:2px; margin-left:-1px; background:var(--accent); box-shadow:0 0 24px rgba(255,106,43,.7); pointer-events:none; }+ .compare-handle i { position:absolute; top:50%; left:50%; width:40px; height:40px; margin:-20px 0 0 -20px; border-radius:50%; background:var(--accent); box-shadow:0 8px 24px rgba(0,0,0,.45); }+ .compare-handle i::before, .compare-handle i::after { content:''; position:absolute; top:50%; width:0; height:0; margin-top:-5px; border:5px solid transparent; }+ .compare-handle i::before { left:7px; border-right-color:#fff; }+ .compare-handle i::after { right:7px; border-left-color:#fff; }+ .compare-tag { position:absolute; bottom:1rem; padding:.3rem .6rem; border-radius:6px; font-family:var(--font-mono); font-size:.5625rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase; pointer-events:none; }+ .compare-tag-l { left:1rem; background:rgba(255,255,255,.85); color:#15181b; }+ .compare-tag-r { right:1rem; background:rgba(10,12,16,.75); color:var(--text); border:1px solid var(--line-hi); }+ .compare-range { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:ew-resize; -webkit-appearance:none; appearance:none; margin:0; }+ .compare-range:focus-visible + * , .compare-stage:has(.compare-range:focus-visible) { outline:2px solid var(--accent); outline-offset:-2px; }+ .compare .feature-body { padding:1.75rem 2rem 2rem; border-top:1px solid var(--line); }++ .export-shot { aspect-ratio:4 / 3; margin:-.25rem 0 1.5rem; border-radius:12px; overflow:hidden; border:1px solid var(--line-hi); background:#0a0d12; }+ .export-shot img { width:100%; height:100%; display:block; object-fit:cover; object-position:top right; transition:transform .8s var(--ease-out); }+ .export:hover .export-shot img { transform:scale(1.04); }+ .formats { list-style:none; display:flex; flex-wrap:wrap; gap:.4rem; margin-top:auto; padding-top:1.5rem; }+ .formats li { padding:.35rem .6rem; border-radius:7px; background:rgba(238,241,243,.05); border:1px solid var(--line); font-family:var(--font-mono); font-size:.625rem; font-weight:500; letter-spacing:.08em; color:var(--text-2); }+ .cell-glyph { display:inline-flex; align-items:center; justify-content:center; min-width:42px; height:42px; padding:0 .6rem; margin-bottom:1.5rem; border-radius:11px; border:1px solid var(--line-hi); background:linear-gradient(180deg,rgba(238,241,243,.06),rgba(238,241,243,.01)); font-family:var(--font-mono); font-size:.8125rem; font-weight:600; color:var(--accent); }/* ══════════════════════════════════════- QUICK START — steps card + shortcuts card+ PALETTE — glowing legend══════════════════════════════════════ */- .quickstart-layout { display:grid; grid-template-columns:1.15fr .85fr; gap:var(--bento-gap); align-items:stretch; }- .quickstart-layout > * { min-width:0; }- /* let the shortcut card match the steps card's height */- .quickstart-layout > .fade-up { display:flex; flex-direction:column; }- .quickstart-layout > .fade-up > .shortcut-box { flex:1; }- .qs-card { background:var(--paper-raised); border:1px solid var(--line-hi); border-radius:14px; padding:2.25rem 2.5rem; }- .steps { display:flex; flex-direction:column; }- .step { display:grid; grid-template-columns:44px 1fr; gap:1.375rem; padding-bottom:2.25rem; position:relative; }- .step:last-child { padding-bottom:0; }- .step:not(:last-child)::before { content:''; position:absolute; left:21px; top:48px; bottom:0; width:1px; background:var(--line); }- .step-num { width:44px; height:44px; display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-style:italic; font-optical-sizing:auto; font-size:1.625rem; font-weight:400; color:var(--accent); flex-shrink:0; position:relative; z-index:1; }- .step-content h4 { font-family:var(--font-display); font-optical-sizing:auto; font-size:1.25rem; font-weight:500; letter-spacing:-.015em; color:var(--ink); margin-bottom:.5rem; padding-top:.55rem; }- .step-content p { font-size:.875rem; color:var(--muted); line-height:1.7; text-wrap:pretty; }- .step-content code { font-family:var(--font-mono); font-size:.82em; background:rgba(20,23,26,.05); border:1px solid var(--line); padding:.15em .45em; border-radius:5px; overflow-wrap:anywhere; }- .step-content a { color:var(--accent); text-decoration:none; border-bottom:1px solid rgba(225,74,14,.35); transition:border-color .18s var(--ease-out); }- .step-content a:hover { border-bottom-color:var(--accent); }+ .legend { display:grid; grid-template-columns:repeat(7,1fr); gap:1rem; }+ .legend-chip { display:flex; flex-direction:column; gap:.35rem; min-width:0; }+ .legend-node { display:flex; flex-direction:column; justify-content:center; gap:3px; height:64px; margin-bottom:.75rem; padding:0 .9rem; border-radius:10px; border:1.5px solid var(--node); background:color-mix(in srgb,var(--node) 9%,#0b0e13); box-shadow:0 0 0 0 transparent; transition:box-shadow .35s var(--ease-out),transform .35s var(--ease-out); font-family:var(--font-mono); }+ .legend-chip:hover .legend-node { transform:translateY(-3px); box-shadow:0 0 34px -4px color-mix(in srgb,var(--node) 70%,transparent); }+ .legend-node b { font-size:.75rem; font-weight:600; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }+ .legend-node i { font-style:normal; font-size:.625rem; color:var(--text-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }+ .legend-label { font-family:var(--font-mono); font-size:.6875rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--node); }+ .legend-use { font-size:.75rem; line-height:1.5; color:var(--text-3); }- /* INSTALL STRIP — two commands, nothing else */- .install-strip { margin-top:var(--bento-gap); padding:1.5rem 1.75rem; background:var(--plate); border:1px solid var(--ink); border-radius:12px; font-family:var(--font-mono); font-size:.75rem; line-height:1.9; overflow-wrap:break-word; }- .install-cmt { color:#60686d; }- .install-cmd { color:var(--paper); }- .install-cmd + .install-cmt { margin-top:1.125rem; }+ /* ══════════════════════════════════════+ QUICK START — terminal + steps + shortcut map+ ══════════════════════════════════════ */+ .qs-layout { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:3rem; align-items:start; }+ .terminal { border-radius:16px; overflow:hidden; border:1px solid var(--line-hi); background:#0a0c10; box-shadow:0 40px 100px -40px rgba(255,106,43,.25); }+ .terminal-bar { display:flex; align-items:center; padding:.5rem; border-bottom:1px solid var(--line); background:var(--surface); overflow-x:auto; scrollbar-width:none; }+ .agent-tabs { display:flex; gap:.25rem; }+ .agent-tabs button { flex:none; min-height:34px; padding:0 .85rem; border-radius:8px; border:1px solid transparent; background:none; color:var(--text-3); font-family:var(--font-body); font-size:.8125rem; font-weight:500; cursor:pointer; transition:color .2s var(--ease-out),background .2s var(--ease-out); }+ .agent-tabs button:hover { color:var(--text); }+ .agent-tabs button[aria-selected="true"] { color:var(--text); background:rgba(238,241,243,.08); border-color:var(--line-hi); }+ .terminal-body { padding:1.5rem 1.6rem 1.75rem; font-family:var(--font-mono); font-size:.8125rem; line-height:1.85; }+ .install-cmt { color:rgba(238,241,243,.32); }+ .install-cmd { color:var(--text); overflow-wrap:anywhere; }+ .install-cmd > span { color:var(--accent); }+ .install-cmd code { font-family:inherit; }+ .install-line { display:flex; align-items:flex-start; gap:1rem; justify-content:space-between; margin-bottom:1.1rem; }+ .install-line .cmd-copy { flex:none; margin-top:.1rem; }+ .install-cmd + .install-cmt { margin-top:1.1rem; }+ .install-ask { color:var(--signal); }+ .steps { list-style:none; display:flex; flex-direction:column; gap:2rem; padding-top:.5rem; }+ .step { display:grid; grid-template-columns:40px 1fr; gap:1.1rem; }+ .step-num { width:40px; height:40px; display:flex; align-items:center; justify-content:center; border-radius:50%; border:1px solid var(--line-hi); font-family:var(--font-display); font-style:italic; font-size:1.25rem; color:var(--accent); }+ .step h4 { font-family:var(--font-grot); font-size:1.125rem; font-weight:500; letter-spacing:-.015em; color:var(--text); margin:.35rem 0 .4rem; }+ .step p { font-size:.875rem; line-height:1.65; color:var(--text-2); text-wrap:pretty; }+ .step a { color:var(--accent); text-decoration:none; border-bottom:1px solid rgba(255,106,43,.4); }+ .step a:hover { border-bottom-color:var(--accent); }+ .step code { font-family:var(--font-mono); font-size:.85em; padding:.1em .4em; border-radius:5px; background:rgba(238,241,243,.07); }- /* SHORTCUT BOX */- .shortcut-box { padding:1.625rem 1.75rem; background:var(--paper-raised); border:1px solid var(--line-hi); border-radius:14px; display:flex; flex-direction:column; }- .shortcut-title { font-family:var(--font-mono); font-size:.625rem; color:var(--dim); font-weight:500; letter-spacing:.16em; text-transform:uppercase; margin-bottom:1.125rem; }- .shortcut-rows { flex:1; display:flex; flex-direction:column; justify-content:space-between; gap:.45rem; }- .shortcut-row { display:flex; justify-content:space-between; align-items:center; font-size:.75rem; }- .shortcut-row span { color:var(--muted); }- kbd { background:var(--paper); border:1px solid var(--line-hi); padding:2px 7px; border-radius:5px; color:var(--ink-soft); font-family:var(--font-mono); font-size:.625rem; }+ .shortcut-box { margin-top:3rem; padding:1.5rem 1.75rem; border:1px solid var(--line-hi); border-radius:16px; background:var(--bg-2); }+ .shortcut-title { margin-bottom:1.1rem; font-family:var(--font-mono); font-size:.625rem; font-weight:500; letter-spacing:.16em; text-transform:uppercase; color:var(--text-3); }+ .shortcut-rows { display:grid; grid-template-columns:repeat(4,1fr); gap:.6rem 2rem; }+ .shortcut-row { display:flex; align-items:center; justify-content:space-between; gap:.75rem; min-width:0; font-size:.8125rem; }+ .shortcut-row span { color:var(--text-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }+ kbd { flex:none; min-width:26px; padding:3px 7px; border-radius:6px; border:1px solid var(--line-hi); border-bottom-width:2px; background:var(--surface-2); color:var(--text); font-family:var(--font-mono); font-size:.6875rem; text-align:center; }/* ══════════════════════════════════════- CLOSING CTA — one dark plate, one action+ CLOSING CTA══════════════════════════════════════ */- #cta { padding-top:1rem; }- .cta-card { position:relative; overflow:hidden; background:var(--plate); border:1px solid var(--ink); border-radius:16px; padding:4.25rem 3.5rem 3.75rem; text-align:center; }- .cta-card::before { content:''; position:absolute; top:-160px; left:50%; transform:translateX(-50%); width:640px; height:360px; background:radial-gradient(closest-side,rgba(225,74,14,.16),transparent); pointer-events:none; }- .cta-h { position:relative; font-family:var(--font-display); font-optical-sizing:auto; font-size:clamp(1.9rem,3.4vw,2.875rem); font-weight:400; letter-spacing:-.026em; line-height:1.12; color:var(--paper); margin-bottom:1rem; text-wrap:balance; }- .cta-h em { font-style:italic; color:var(--accent); }- .cta-sub { position:relative; max-width:520px; margin:0 auto 2rem; font-size:.9375rem; color:#98a1a9; line-height:1.72; text-wrap:pretty; }- .cta-actions { position:relative; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:1.375rem; }- .cta-install { display:inline-flex; align-items:center; gap:.5rem; min-height:46px; padding:.7rem 1.625rem; border-radius:8px; background:var(--paper); color:var(--ink); font-size:.875rem; font-weight:600; letter-spacing:-.005em; text-decoration:none; transition:background .2s var(--ease-out),color .2s var(--ease-out); }- .cta-install:hover { background:var(--accent); color:var(--paper); }- .cta-gh { font-family:var(--font-mono); font-size:.6875rem; letter-spacing:.06em; color:#7d8894; text-decoration:none; transition:color .18s var(--ease-out); }- .cta-gh:hover { color:var(--paper); }- .cta-cmd { position:relative; margin-top:2.25rem; font-family:var(--font-mono); font-size:.6875rem; letter-spacing:.03em; color:#5f6870; }- .cta-cmd b { font-weight:500; color:#aab3bb; }+ #cta { padding:11rem 0 9rem; overflow:hidden; text-align:center; isolation:isolate; }+ .cta-glow { position:absolute; inset:0; z-index:-1; pointer-events:none; background:radial-gradient(ellipse 50% 60% at 50% 100%, rgba(255,106,43,.25), transparent 70%); }+ .cta-glow::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(238,241,243,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(238,241,243,.04) 1px,transparent 1px); background-size:64px 64px; -webkit-mask-image:radial-gradient(ellipse 60% 70% at 50% 100%,#000,transparent 75%); mask-image:radial-gradient(ellipse 60% 70% at 50% 100%,#000,transparent 75%); }+ .cta-inner { display:flex; flex-direction:column; align-items:center; }+ .cta-h { font-family:var(--font-grot); font-size:clamp(2.75rem,7vw,6.25rem); font-weight:500; letter-spacing:-.045em; line-height:1; color:var(--text); text-wrap:balance; }+ html[lang="zh-CN"] .cta-h { letter-spacing:-.015em; line-height:1.12; }+ .cta-sub { max-width:520px; margin-top:1.75rem; font-size:1.0625rem; line-height:1.65; color:var(--text-2); text-wrap:pretty; }+ .cta-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:.75rem; margin-top:2.5rem; }- /* FOOTER — drawing title block */- footer { position:relative; z-index:1; border-top:1px solid var(--line-hi); padding:3rem 2rem; }- .footer-inner { max-width:1140px; margin:0 auto; display:grid; grid-template-columns:1fr auto; align-items:stretch; gap:0; border:1px solid var(--line); background:var(--paper-raised); }- .footer-left { display:flex; align-items:center; gap:1.5rem; padding:1.5rem 1.75rem; border-right:1px solid var(--line); }- .footer-meta { font-family:var(--font-mono); font-size:.625rem; letter-spacing:.04em; color:var(--dim); line-height:1.7; }- .footer-links { display:flex; align-items:center; gap:1.75rem; padding:1.5rem 1.75rem; }- .footer-links a { font-family:var(--font-mono); font-size:.625rem; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); text-decoration:none; transition:color .18s var(--ease-out); }- .footer-links a:hover { color:var(--ink); }+ /* FOOTER */+ footer { border-top:1px solid var(--line); padding:2.5rem 2rem; }+ .footer-inner { max-width:var(--shell); margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; }+ .footer-left { display:flex; align-items:center; gap:1.5rem; }+ .footer-meta { font-family:var(--font-mono); font-size:.625rem; letter-spacing:.04em; line-height:1.7; color:var(--text-3); }+ .footer-links { display:flex; flex-wrap:wrap; gap:1.5rem; }+ .footer-links a { font-family:var(--font-mono); font-size:.625rem; letter-spacing:.12em; text-transform:uppercase; color:var(--text-3); text-decoration:none; transition:color .18s var(--ease-out); }+ .footer-links a:hover { color:var(--text); }++ /* DEMO lightbox */+ html.demo-lock { overflow:hidden; }+ .demo-dialog { margin:auto; padding:0; width:min(1080px,92vw); max-width:92vw; border:0; background:transparent; opacity:0; transform:scale(.97); transition:opacity .18s var(--ease-out),transform .18s var(--ease-out); }+ .demo-dialog[open] { opacity:1; transform:scale(1); }+ @starting-style { .demo-dialog[open] { opacity:0; transform:scale(.97); } }+ .demo-dialog::backdrop { background:rgba(5,6,8,.78); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }+ .demo-frame { overflow:hidden; background:#0a0d12; border:1px solid var(--line-hi); border-radius:16px; box-shadow:0 40px 120px rgba(0,0,0,.6); }+ .demo-frame-bar { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.7rem .875rem .7rem 1.25rem; border-bottom:1px solid var(--line); }+ .demo-title { font-family:var(--font-mono); font-size:.625rem; font-weight:500; letter-spacing:.18em; text-transform:uppercase; color:var(--text-2); }+ .demo-close { width:32px; height:32px; display:flex; align-items:center; justify-content:center; border:1px solid var(--line-hi); border-radius:8px; background:transparent; color:var(--text-2); font-size:1rem; line-height:1; cursor:pointer; }+ .demo-close:hover { color:var(--text); border-color:rgba(238,241,243,.5); }+ .demo-video-box { aspect-ratio:16 / 9; background:#000; }+ .demo-video-box video { width:100%; height:100%; display:block; }@media(prefers-reduced-motion:reduce) {html { scroll-behavior:auto; }.fade-up { opacity:1!important; transform:none!important; transition:none!important; filter:none!important; }.pulse-dot,.proof-live::before { animation:none!important; }- .proof-viewport iframe { transition:none; }- .type-card:hover, .feature-card:hover, .spec-card:hover { transform:none; }+ .trace { animation:none!important; }+ .stage-window { transform:none!important; }+ .type-plate img, .type-detail, .demo-dialog { transition:none; }+ .btn:hover, .legend-chip:hover .legend-node, .export:hover .export-shot img { transform:none; }+ .beat-card.is-swapping .beat-title, .beat-card.is-swapping .beat-body, .window-address b.is-flash { animation:none; }}- @media(max-width:1024px) {- section { padding:5rem 0; }- .hero { padding-top:7.5rem; }- .hero-intro { grid-column:1 / -1; padding-right:0; }- .hero-sub { max-width:560px; }- .proof-main { grid-column:1 / -1; grid-row:auto; }- .proof-viewport { min-height:480px; }- .proof-rail { grid-column:1 / -1; }- .hero-stats { grid-template-columns:repeat(3,1fr); }- .stat:nth-child(4) { border-left:0; }- .stat { border-top:1px solid var(--line); }- .stat:nth-child(-n+3) { border-top:0; }- .type-card.big { grid-column:span 6; grid-row:auto; }- .type-card.big .type-media { aspect-ratio:16 / 8; }- .type-card.sm { grid-column:span 3; }- .type-card.more { grid-column:span 6; flex-direction:row; align-items:center; gap:1.5rem; }- .more-kicker { margin-bottom:.75rem; }- .more-arrow { align-self:center; margin-top:0; flex-shrink:0; }- .f-lg { grid-column:span 3; } .f-sm { grid-column:span 3; }- .export-grid { grid-template-columns:repeat(3,1fr); }- .palette-card { grid-template-columns:repeat(4,1fr); }- .quickstart-layout { grid-template-columns:1fr; }+ /* ══════════════════════════════════════+ RESPONSIVE+ ══════════════════════════════════════ */+ @media(max-width:1100px) {+ .window-address { display:none; }+ .proof-rail { flex:1; }+ .features-grid { grid-template-columns:repeat(6,1fr); }+ .compare { grid-column:1 / -1; grid-row:auto; }+ .export { grid-column:1 / -1; grid-row:auto; display:grid; grid-template-columns:1fr 1fr; column-gap:2rem; }+ .export-shot { grid-row:1 / 5; margin:0; }+ .formats { padding-top:1rem; }+ .cell { grid-column:span 3; }+ .legend { grid-template-columns:repeat(4,1fr); row-gap:2rem; }+ .shortcut-rows { grid-template-columns:repeat(3,1fr); }}+ @media(max-width:900px) {+ .types-index { grid-template-columns:1fr; gap:2rem; }+ .type-preview { position:relative; top:0; order:-1; }+ .qs-layout { grid-template-columns:1fr; }+ .receipts-row { grid-template-columns:repeat(3,1fr); row-gap:2rem; }+ .receipt:nth-child(4) { border-left:0; padding-left:0; }+ .section-head-row { flex-direction:column; align-items:flex-start; gap:0; }+ .section-head-row .section-body { margin-top:1.25rem; }+ }++ @media(max-width:960px) { :root { --nav-h:104px; } }+@media(max-width:640px) {.container { padding:0 1.25rem; }- section { padding:4rem 0; }- .hero { padding-top:6.75rem; }- .hero h1 { font-size:2.35rem; }- #types::after, #features::after, #palette::after, #quickstart::after { font-size:3.25rem; top:2.25rem; right:.75rem; }- .hero-actions .btn { flex:1; justify-content:center; }- .proof-chrome { padding:.7rem 1.125rem; }- .proof-status-copy span { display:none; }- .proof-viewport { min-height:360px; }- .proof-caption { align-items:flex-start; gap:.6rem; padding:.8rem 1.125rem; }- .proof-caption-main strong { white-space:normal; line-height:1.4; }- .proof-hint { max-width:104px; }- .proof-rail { grid-template-columns:1fr; }- .spec-card { flex-direction:row; align-items:center; gap:1rem; padding:1rem 1.125rem; }- .spec-top { flex-direction:column; align-items:flex-start; gap:.5rem; }- .hero-stats { grid-template-columns:1fr 1fr; }- .stat { border-top:1px solid var(--line); }- .stat:nth-child(-n+2) { border-top:0; }- .stat:nth-child(odd) { border-left:0; }- .type-card.sm { grid-column:span 6; }- .type-card.big .type-media, .type-card.sm .type-media { aspect-ratio:16 / 10; }- .type-card.more { flex-direction:column; align-items:flex-start; }- .f-lg, .f-sm { grid-column:span 6; }- .export-grid { grid-template-columns:1fr 1fr; }- .palette-card { grid-template-columns:repeat(2,1fr); padding:1.25rem; }- .qs-card { padding:1.75rem 1.5rem; }- .cta-card { padding:3rem 1.5rem 2.5rem; }- .cta-actions { flex-direction:column; gap:1rem; }- .cta-install { width:100%; justify-content:center; }+ .hero { min-height:0; padding:calc(var(--nav-h) + 3rem) 1.25rem 3rem; }+ .hero-eyebrow { margin-bottom:1.5rem; }+ .eyebrow-sep, .eyebrow-agents { display:none; }+ .hero h1 { font-size:clamp(2.2rem,9.4vw,3.2rem); }+ .hero-sub { font-size:.9375rem; margin-top:1.25rem; }+ .hero-actions { flex-direction:column; align-items:stretch; width:100%; margin-top:2rem; }+ .hero-actions .btn { width:100%; }+ .cmd-chip { justify-content:space-between; font-size:.75rem; }+ .stage { height:320svh; margin-top:0; }+ .stage-pin { padding:calc(var(--nav-h) + .5rem) .75rem .75rem; }+ .stage-window { height:auto; max-height:100%; border-radius:14px; }+ .hero-frame { flex:none; aspect-ratio:1 / .86; }+ .window-bar { height:48px; padding:0 .4rem; gap:.4rem; }+ .window-dots { display:none; }+ .spec-card { padding:0 .6rem; font-size:.75rem; }+ .spec-idx { display:none; }+ .proof-open > span:first-child { display:none; }+ .proof-open { padding:0 .7rem; }+ .beat-card { position:relative; left:auto; bottom:auto; width:auto; margin:0; padding:.9rem 1rem 1rem; border:0; border-top:1px solid var(--line); border-radius:0; box-shadow:none; background:rgba(16,19,24,.95); }+ .beat-rail { margin-bottom:.75rem; }+ .beat-title { font-size:1.0625rem; }+ .beat-body { font-size:.75rem; }+ .beat-meta { display:none; }+ .receipts { padding-top:3.5rem; }+ .receipts-row { grid-template-columns:1fr 1fr; }+ .receipt { padding:0 1rem; }+ .receipt:nth-child(odd) { border-left:0; padding-left:0; }+ .receipt:nth-child(4) { border-left:1px solid var(--line-hi); padding-left:1rem; }+ #types, #features, #palette, #quickstart { padding-top:5.5rem; }+ .section-head { margin-bottom:2.25rem; }+ .features-grid { grid-template-columns:1fr; border-radius:16px; }+ .compare, .export, .cell { grid-column:1 / -1; }+ .export { display:flex; }+ .export-shot { margin:0 0 1.5rem; }+ .feature { padding:1.5rem; }+ .legend { grid-template-columns:repeat(2,1fr); }+ .terminal-body { padding:1.25rem; font-size:.75rem; }+ .shortcut-rows { grid-template-columns:1fr 1fr; gap:.6rem 1.25rem; }+ .shortcut-row span { white-space:normal; }+ #cta { padding:7rem 0 6rem; }+ .cta-actions { flex-direction:column; width:100%; }+ .cta-actions .btn { width:100%; }footer { padding:2rem 1.25rem; }- .footer-inner { grid-template-columns:minmax(0,1fr); }- .footer-left, .footer-links { flex-wrap:wrap; }- .footer-left { border-right:0; border-bottom:1px solid var(--line); }+ .footer-left { flex-direction:column; align-items:flex-start; gap:1rem; }}diff --git a/website/src/styles/site.css b/website/src/styles/site.cssnew file mode 100644index 00000000..e367e6f5--- /dev/null+++ b/website/src/styles/site.css@@ -0,0 +1,87 @@++ /* ══════════════════════════════════════+ ARCHIFY SITE SYSTEM — shared by every page (prepended by SiteLayout).+ Night-plate tokens; legacy token names stay so page sheets map onto them.+ ══════════════════════════════════════ */+ :root {+ --bg:#07080a; --surface:#0d1014; --surface-2:#13171d;+ --text:#eef1f3; --text-2:rgba(238,241,243,.66); --text-3:rgba(238,241,243,.42);+ --paper:#07080a; --paper-site:#07080a; --paper-raised:#0d1014;+ --ink:#eef1f3; --ink-site:#eef1f3; --ink-soft:rgba(238,241,243,.84);+ --muted:rgba(238,241,243,.62); --dim:rgba(238,241,243,.42);+ --line:rgba(238,241,243,.08); --line-hi:rgba(238,241,243,.15); --line-strong:rgba(238,241,243,.38);+ --accent:#ff6a2b; --accent-site:#ff6a2b; --accent-soft:rgba(255,106,43,.1);+ --plate:#0a0d12; --signal:#5eead4;+ --emerald:#34d399; --rose:#fb7185; --violet:#a78bfa;+ --font-display:'Fraunces','Songti SC','STSong',Georgia,serif;+ --font-title:'Space Grotesk','Inter',-apple-system,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;+ --font-body:'Inter',-apple-system,BlinkMacSystemFont,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;+ --font-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;+ --ease-out:cubic-bezier(.22,1,.36,1);+ --content:1320px;+ }+ *,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }+ html { scroll-behavior:smooth; background:var(--bg); color-scheme:dark; scrollbar-width:thin; scrollbar-color:rgba(238,241,243,.2) transparent; }+ body { font-family:var(--font-body); -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; background:var(--bg); color:var(--text); min-height:100vh; overflow-x:clip; }+ body::after { content:''; position:fixed; inset:0; z-index:1000; pointer-events:none; opacity:.035; mix-blend-mode:overlay;+ background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>"); }+ ::selection { background:rgba(255,106,43,.32); color:#fff; }+ a { color:inherit; }+ button, a { -webkit-tap-highlight-color:transparent; }+ button, textarea { font:inherit; }+ :focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:6px; }++ /* drafting grid + horizon glow behind every inner-page hero */+ .grid-bg { position:absolute; inset:0 0 auto; height:900px; z-index:0; pointer-events:none;+ background-image:linear-gradient(rgba(238,241,243,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(238,241,243,.045) 1px,transparent 1px);+ background-size:64px 64px; background-position:center top;+ -webkit-mask-image:radial-gradient(ellipse 80% 70% at 50% 0%, #000 15%, transparent 72%);+ mask-image:radial-gradient(ellipse 80% 70% at 50% 0%, #000 15%, transparent 72%); }+ .grid-bg::after { content:''; position:absolute; inset:0;+ background:radial-gradient(ellipse 45% 40% at 78% 0%, rgba(255,106,43,.16), transparent 70%), radial-gradient(ellipse 40% 35% at 12% 6%, rgba(94,234,212,.07), transparent 70%); }++ /* page titles — grotesk statement, Fraunces italic accent */+ h1 { background:linear-gradient(180deg,#fff 0%,#fff 55%,rgba(238,241,243,.64) 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }+ h1 em { padding-right:.06em; background:linear-gradient(100deg,#ffb38a 0%,var(--accent) 45%,#ff3d6e 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }++ /* ══════════════════════════════════════+ NAVIGATION — one bar on every page. Desktop: brand · segmented links · actions.+ ≤960px: two 52px rows (brand + actions / all five links) = 104px.+ ══════════════════════════════════════ */+ .site-nav { position:fixed; top:0; left:0; right:0; z-index:100; height:64px; padding:0 max(1.5rem, calc(50% - 680px)); display:flex; align-items:center; justify-content:space-between; gap:1.5rem;+ background:rgba(7,8,10,.62); border-bottom:1px solid rgba(238,241,243,.06); backdrop-filter:blur(18px) saturate(1.4); -webkit-backdrop-filter:blur(18px) saturate(1.4);+ transition:background .3s var(--ease-out),border-color .3s var(--ease-out); }+ body.nav-scrolled .site-nav { background:rgba(7,8,10,.84); border-bottom-color:rgba(238,241,243,.1); }+ .site-nav .nav-logo { min-width:0; min-height:44px; display:flex; align-items:center; gap:.75rem; text-decoration:none; }+ .site-nav .nav-logo-text { color:var(--text); font-family:var(--font-title); font-size:1.125rem; font-weight:500; white-space:nowrap; }+ .site-nav .brand-lockup { display:block; width:117px; height:32px; flex:none; }+ .site-nav .nav-logo-path { padding:.28rem .55rem; border:1px solid var(--line-hi); border-radius:999px; color:var(--text-3); font-family:var(--font-mono); font-size:.625rem; font-weight:500; letter-spacing:.06em; white-space:nowrap; }+ .site-nav .nav-right { min-width:0; display:flex; align-items:center; justify-content:flex-end; gap:.5rem; }+ .site-nav .nav-links { display:flex; align-items:center; gap:2px; margin-right:.75rem; padding:3px; border:1px solid rgba(238,241,243,.08); border-radius:999px; background:rgba(238,241,243,.03); }+ .site-nav .nav-link { position:relative; min-height:34px; display:inline-flex; align-items:center; gap:.45rem; padding:0 .85rem; border-radius:999px; color:rgba(238,241,243,.62); font-family:var(--font-body); font-size:.8125rem; font-weight:500; letter-spacing:-.005em; line-height:1; text-decoration:none; text-transform:none; white-space:nowrap; transition:color .18s var(--ease-out),background .18s var(--ease-out); }+ .site-nav .nav-link:hover { color:var(--text); background:rgba(238,241,243,.05); }+ .site-nav .nav-link[aria-current="page"] { color:var(--text); background:rgba(238,241,243,.09); box-shadow:inset 0 0 0 1px rgba(238,241,243,.1); }+ .site-nav .nav-link[aria-current="page"]::before { content:''; width:5px; height:5px; border-radius:50%; background:var(--accent); box-shadow:0 0 8px rgba(255,106,43,.8); }+ .site-nav .nav-stars { display:inline-flex; align-items:center; gap:.25rem; padding:.18rem .42rem; border-radius:999px; background:rgba(238,241,243,.07); color:var(--text); font-family:var(--font-mono); font-size:.625rem; font-weight:500; letter-spacing:0; }+ .site-nav .nav-stars::before { content:'★'; color:#fbbf24; font-size:.6875rem; }+ .site-nav .nav-stars[hidden] { display:none; }+ .site-nav .btn-lang { min-width:40px; height:36px; min-height:36px; padding:0 .7rem; display:inline-flex; align-items:center; justify-content:center; gap:0; flex:none; border:1px solid var(--line-hi); border-radius:10px; background:transparent; box-shadow:none; color:rgba(238,241,243,.8); font-family:var(--font-body); font-size:.75rem; font-weight:500; letter-spacing:0; line-height:1; text-transform:none; cursor:pointer; transform:none; transition:color .18s var(--ease-out),border-color .18s var(--ease-out); }+ .site-nav .btn-lang:hover { color:var(--text); border-color:var(--line-strong); background:transparent; transform:none; }+ .site-nav .nav-cta { height:36px; min-height:36px; padding:0 1rem; display:inline-flex; align-items:center; justify-content:center; gap:0; flex:none; border:1px solid var(--text); border-radius:10px; background:var(--text); box-shadow:none; color:#0a0b0d; font-family:var(--font-body); font-size:.8125rem; font-weight:600; letter-spacing:-.005em; line-height:1; text-decoration:none; white-space:nowrap; transform:none; transition:background .2s var(--ease-out),border-color .2s var(--ease-out),color .2s var(--ease-out); }+ .site-nav .nav-cta:hover { background:var(--accent); border-color:var(--accent); color:#fff; transform:none; box-shadow:0 8px 28px -6px rgba(255,106,43,.6); }++ @media (max-width:960px) {+ .site-nav { height:104px; padding:0 1rem; gap:0 .5rem; flex-wrap:wrap; align-content:center; }+ .site-nav .nav-logo { min-height:52px; margin-right:auto; }+ .site-nav .nav-right { display:contents; }+ .site-nav .nav-links { order:1; flex:0 0 100%; justify-content:space-between; gap:0; margin:0 0 4px; padding:0; border:0; border-radius:0; background:none; border-top:1px solid var(--line); }+ .site-nav .nav-link { min-height:44px; padding:0 .55rem; font-size:.8125rem; }+ .site-nav .nav-link[aria-current="page"] { background:none; box-shadow:none; }+ .site-nav .nav-stars { display:none; }+ .site-nav .nav-cta { padding:0 .8rem; }+ }+ @media (max-width:420px) {+ .site-nav .nav-logo-path { display:none; }+ .site-nav .nav-link { padding:0 .3rem; font-size:.75rem; gap:.3rem; }+ }+ @media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }diff --git a/website/src/styles/start.css b/website/src/styles/start.cssindex 4f5bc44d..fbd599d9 100644--- a/website/src/styles/start.css+++ b/website/src/styles/start.css@@ -1,51 +1,13 @@- :root {- /* Drafted-sheet palette — shared with the project page */- --paper:#eff2f1; --paper-raised:#f8faf9;- --ink:#15181b; --ink-soft:#363c41; --muted:#60686d; --dim:#929a9e;- --line:rgba(20,23,26,0.14); --line-hi:rgba(20,23,26,0.3);- --accent:#e14a0e; --accent-soft:rgba(225,74,14,0.08);- --plate:#0f1216;- --emerald:#047857;- --font-display:'Fraunces','Songti SC','STSong',Georgia,serif;- --font-body:'Inter',-apple-system,BlinkMacSystemFont,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;- --font-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;- --ease-out:cubic-bezier(.22,1,.36,1);- }-- *,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }- html { scroll-behavior:smooth; }- body {- font-family:var(--font-body);- -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;- background:var(--paper); color:var(--ink); min-height:100vh; overflow-x:hidden;- }- body::after {- content:''; position:fixed; inset:0; z-index:1000; pointer-events:none;- opacity:.05; mix-blend-mode:multiply;- background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");- }- ::selection { background:rgba(225,74,14,.18); color:var(--ink); }- a { color:inherit; }- button { font:inherit; }- :focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }-- .grid-bg {- position:fixed; inset:0; z-index:0; pointer-events:none;- background-image:linear-gradient(rgba(20,23,26,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(20,23,26,.045) 1px,transparent 1px);- background-size:56px 56px;- -webkit-mask-image:radial-gradient(ellipse 95% 62% at 50% -6%, black 12%, transparent 75%);- mask-image:radial-gradient(ellipse 95% 62% at 50% -6%, black 12%, transparent 75%);- }main { position:relative; z-index:1; width:min(1120px,calc(100% - 3rem)); margin:0 auto; padding:10rem 0 4rem; }/* LEAD */.lead { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(260px,.65fr); gap:4rem; align-items:end; margin-bottom:3.5rem; }.lead-label { display:flex; align-items:center; gap:.875rem; margin-bottom:1.5rem; font-family:var(--font-mono); font-size:.625rem; font-weight:500; letter-spacing:.2em; color:var(--muted); text-transform:uppercase; }- .lead-label::before { content:''; width:2.75rem; height:1px; background:var(--line-hi); }- h1 { max-width:780px; font-family:var(--font-display); font-optical-sizing:auto; font-size:clamp(2.5rem,5vw,4.25rem); font-weight:400; line-height:1.06; letter-spacing:-.028em; color:var(--ink); text-wrap:balance; }- h1 em { font-style:italic; color:var(--accent); }+ .lead-label::before { content:''; width:1.75rem; height:1px; background:var(--accent); }+ h1 { max-width:780px; font-family:var(--font-title); font-size:clamp(2.5rem,5vw,4.25rem); font-weight:500; line-height:1.06; letter-spacing:-.035em; color:var(--ink); text-wrap:balance; }+ h1 em { font-family:var(--font-display); font-style:italic; font-weight:400; color:var(--accent); }html[lang^="zh"] .title-gap { display:none; }.lead-copy { color:var(--muted); font-size:.9375rem; line-height:1.72; text-wrap:pretty; }.trust-line { display:flex; gap:.6rem; align-items:flex-start; margin-top:1.125rem; color:var(--emerald); font-family:var(--font-mono); font-size:.6875rem; line-height:1.65; }@@ -74,7 +36,7 @@background:var(--paper-raised);color:var(--muted);cursor:pointer;- font-family:var(--font-mono); font-size:.6875rem; font-weight:500; letter-spacing:.06em;+ font-family:var(--font-body); font-size:.8125rem; font-weight:500; letter-spacing:-.005em; text-transform:none;transition:background .18s var(--ease-out),color .18s var(--ease-out);}.type-tab:hover { background:var(--paper); color:var(--ink); }@@ -85,7 +47,7 @@.panel { min-width:0; padding:2.25rem 2.5rem; border:1px solid var(--line-hi); border-radius:14px; background:var(--paper-raised); }.panel-kicker { display:flex; align-items:center; gap:.875rem; margin-bottom:1.5rem; color:var(--dim); font-family:var(--font-mono); font-size:.625rem; letter-spacing:.16em; text-transform:uppercase; }.panel-kicker b { font-family:var(--font-display); font-style:italic; font-optical-sizing:auto; font-weight:400; font-size:1.375rem; color:var(--accent); }- .panel h2 { margin-bottom:.625rem; font-family:var(--font-display); font-optical-sizing:auto; font-size:1.5rem; font-weight:500; letter-spacing:-.02em; color:var(--ink); }+ .panel h2 { margin-bottom:.625rem; font-family:var(--font-title); font-size:1.5rem; font-weight:500; letter-spacing:-.02em; color:var(--ink); }.panel-intro { min-height:3.9rem; margin-bottom:1.5rem; color:var(--muted); font-size:.8125rem; line-height:1.7; text-wrap:pretty; }.agent-picker { margin-bottom:1.25rem; }@@ -100,14 +62,14 @@background:transparent;color:var(--muted);cursor:pointer;- font-family:var(--font-mono); font-size:.625rem; font-weight:500; letter-spacing:.06em;+ font-family:var(--font-body); font-size:.8125rem; font-weight:500; letter-spacing:-.005em; text-transform:none;transition:all .18s var(--ease-out);}- .agent-tab:hover { color:var(--ink); border-color:var(--ink); }- .agent-tab[aria-selected="true"] { color:var(--paper); border-color:var(--ink); background:var(--ink); }+ .agent-tab:hover { color:var(--ink); border-color:var(--line-strong); }+ .agent-tab[aria-selected="true"] { color:var(--paper); border-color:var(--line-strong); background:var(--ink); }/* COMMAND BLOCKS — dark plate on paper, like the project page install strip */- .command-block { margin-top:.875rem; border:1px solid var(--ink); border-radius:10px; overflow:hidden; background:var(--plate); }+ .command-block { margin-top:.875rem; border:1px solid var(--line-hi); border-radius:10px; overflow:hidden; background:var(--plate); }.command-bar { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.6rem .875rem; border-bottom:1px solid rgba(232,237,242,.1); color:#7d8894; font-family:var(--font-mono); font-size:.5625rem; text-transform:uppercase; letter-spacing:.14em; }.copy-button { border:0; background:transparent; color:var(--accent); cursor:pointer; font-family:var(--font-mono); font-size:.5625rem; font-weight:600; text-transform:uppercase; letter-spacing:.12em; transition:color .18s var(--ease-out); }.copy-button:hover { color:#ff7a3d; }@@ -117,11 +79,11 @@.question { margin-bottom:1rem; color:var(--ink-soft); font-size:.9375rem; font-weight:500; line-height:1.6; }.include-list { display:flex; flex-wrap:wrap; gap:.45rem; margin-bottom:1.25rem; list-style:none; }.include-list li { padding:.35rem .65rem; border:1px solid var(--line); border-radius:999px; color:var(--muted); font-family:var(--font-mono); font-size:.5625rem; letter-spacing:.06em; background:var(--paper); }- .prompt-box { min-height:172px; padding:1.15rem 1.25rem; border:1px solid rgba(225,74,14,.3); border-radius:10px; background:var(--accent-soft); color:var(--ink-soft); font-family:var(--font-mono); font-size:.75rem; line-height:1.8; white-space:pre-wrap; }+ .prompt-box { min-height:172px; padding:1.15rem 1.25rem; border:1px solid rgba(255,106,43,.3); border-radius:10px; background:var(--accent-soft); color:var(--ink-soft); font-family:var(--font-mono); font-size:.75rem; line-height:1.8; white-space:pre-wrap; }.actions { display:flex; align-items:center; flex-wrap:wrap; gap:.625rem; margin-top:1.25rem; }.action { min-height:44px; display:inline-flex; align-items:center; justify-content:center; padding:.65rem 1.05rem; border:1px solid var(--line-hi); border-radius:8px; background:transparent; color:var(--ink-soft); font:500 .8125rem var(--font-body); text-decoration:none; cursor:pointer; transition:all .2s var(--ease-out); }- .action:hover { color:var(--ink); border-color:var(--ink); }- .action-primary { border-color:var(--ink); background:var(--ink); color:var(--paper); }+ .action:hover { color:var(--ink); border-color:var(--line-strong); }+ .action-primary { border-color:var(--line-strong); background:var(--ink); color:var(--paper); }.action-primary:hover { background:var(--accent); border-color:var(--accent); color:var(--paper); }.proof-meta { margin-top:1.1rem; color:var(--dim); font-family:var(--font-mono); font-size:.5625rem; letter-spacing:.08em; line-height:1.65; text-transform:uppercase; }@@ -150,6 +112,7 @@.panel { padding:1.5rem 1.25rem; }.type-shell { padding:1rem 1rem 1.25rem; }.type-tabs { grid-template-columns:1fr; }+ .type-tab { min-height:44px; }.type-tab:last-child { grid-column:auto; }.page-footer { align-items:flex-start; flex-direction:column; }}diff --git a/website/test/migration.test.mjs b/website/test/migration.test.mjsindex 128e96e5..e5820387 100644--- a/website/test/migration.test.mjs+++ b/website/test/migration.test.mjs@@ -22,23 +22,16 @@ function byId(node, id) {return [node, ...(node.childNodes || []).flatMap(child => byId(child, id)).filter(Boolean)].find(candidate => attr(candidate, 'id') === id);}-function semantic(node) {- if (node.nodeName === '#comment') return null;- if (node.nodeName === '#text') {- const text = node.value.replace(/\s+/g, ' ').trim();- return text || null;- }- const attrs = Object.fromEntries((node.attrs || []).map(a => [a.name, a.value]));- if (node.tagName === 'script' && attrs.type === 'application/json') {- return { tag: 'script', attrs, data: JSON.parse(node.childNodes.map(n => n.value || '').join('')) };- }- return { tag: node.tagName || node.nodeName, attrs, children: (node.childNodes || []).map(semantic).filter(Boolean) };-}for (const page of pages) {test(`${page}: DOM, content, accessibility, scripts and styles match the migration baseline`, () => {const old = parse(read(docs, page)), next = parse(read(dist, page));if (page === 'index.html') {+ // Intentional homepage visual redesign (branch web-redesign, October 2026):+ // index.html no longer tracks the docs/ legacy baseline, so the DOM/CSS+ // parity comparisons are skipped for this page only. Every structural+ // assertion below (proof stage/frame/open, shortcut box, proof-config+ // hashes, forbidden strings) is kept in full.const current = read(dist, page);const body = elements(next, 'body')[0];const stage = byId(body, 'hero-proof-stage');@@ -60,9 +53,14 @@ for (const page of pages) {assert.match(scriptText, /proof\.embedHash \|\| proof\.hash/);assert.doesNotMatch(current, /play=1|#view=|Guided views|Play story/);} else {- assert.deepEqual(semantic(elements(next, 'body')[0]), semantic(elements(old, 'body')[0]));+ // The site-wide redesign restyles every inner page and the shared+ // navigation, so DOM/CSS parity with docs/ no longer applies. Page+ // scripts and deep links still address the legacy ids, so every id in+ // the baseline body must survive.+ const ids = node => [attr(node, 'id'), ...(node.childNodes || []).flatMap(ids)].filter(Boolean);+ const nextIds = new Set(ids(elements(next, 'body')[0]));+ for (const id of ids(elements(old, 'body')[0])) assert.ok(nextIds.has(id), `${page}: #${id} must remain`);}- assert.deepEqual(elements(next, 'style').map(n => n.childNodes[0]?.value.trim()).filter(css => !css.startsWith('/*! tailwindcss')), elements(old, 'style').map(n => n.childNodes[0]?.value.trim()));assert.ok(!read(dist, page).includes('[[ARCHIFY_VERSION]]'));});}