Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

Improve bilingual website navigation and measured readability (#778)

tt-a1i0208658e6a8c
diff --git a/README_ZH.md b/README_ZH.md
index c63d3a5a..e4ebf326 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -13,9 +13,9 @@
<p align="center">看看社区正在创造什么,也想想你还能用它做些什么。</p>
<p align="center">
- <a href="https://archify.si/gallery.html"><strong>交互演示</strong></a> &nbsp;·&nbsp;
+ <a href="https://archify.si/zh/gallery"><strong>交互演示</strong></a> &nbsp;·&nbsp;
<a href="#start"><strong>开始使用</strong></a> &nbsp;·&nbsp;
- <a href="https://archify.si/guide.html"><strong>场景指南</strong></a> &nbsp;·&nbsp;
+ <a href="https://archify.si/zh/guide"><strong>场景指南</strong></a> &nbsp;·&nbsp;
<a href="#社区交流"><strong>社区交流</strong></a> &nbsp;·&nbsp;
<a href="./README.md"><strong>English</strong></a> &nbsp;·&nbsp;
<a href="./README_JA.md"><strong>日本語</strong></a>
@@ -34,7 +34,7 @@
</p>
<p align="center">
- <a href="https://archify.si/"><img src="https://img.shields.io/badge/Website-0891B2?style=for-the-badge" alt="Archify website" /></a>
+ <a href="https://archify.si/zh"><img src="https://img.shields.io/badge/Website-0891B2?style=for-the-badge" alt="Archify website" /></a>
<a href="https://discord.gg/6xWMjgCeUq"><img src="https://img.shields.io/badge/Discord-5865F2?style=for-the-badge&amp;logo=discord&amp;logoColor=white" alt="Join Archify on Discord" /></a>
<a href="#社区交流"><img src="https://img.shields.io/badge/WeChat-07C160?style=for-the-badge&amp;logo=wechat&amp;logoColor=white" alt="Archify WeChat group" /></a>
<a href="#社区交流"><img src="https://img.shields.io/badge/QQ-1688D8?style=for-the-badge&amp;logo=qq&amp;logoColor=white" alt="Archify QQ group" /></a>
@@ -49,7 +49,7 @@
https://github.com/user-attachments/assets/88cff7dd-bdf3-4b97-950c-37cc079898b1
-**一句话,看懂你的项目。** 35 秒演示:探索交互图、查看源码关联、追踪完整路径。[试试可交互示例 ↗](https://archify.si/gallery.html)
+**一句话,看懂你的项目。** 35 秒演示:探索交互图、查看源码关联、追踪完整路径。[试试可交互示例 ↗](https://archify.si/zh/gallery)
<a id="start"></a>
@@ -72,7 +72,7 @@ API 优先读取 Redis,缓存未命中时查询 PostgreSQL 并回填缓存。
**不需要绑定代码库:**从描述开始即可。也可以让 Agent 阅读仓库,生成有源码依据的架构图。
-[按 Agent 选择安装方式](https://archify.si/start.html?agent=cursor&type=architecture) · [安装细节与更新检查](#快速开始)
+[按 Agent 选择安装方式](https://archify.si/zh/start?agent=cursor&type=architecture) · [安装细节与更新检查](#快速开始)
<a id="sponsors"></a>
@@ -105,7 +105,7 @@ API 优先读取 Redis,缓存未命中时查询 PostgreSQL 并回填缓存。
| [![Agent 工作流中 Planner 驱动的全部下游](docs/assets/archify-demo-reach.png)](https://archify.si/gallery/artifacts/agent-tool-call.workflow.html?theme=dark&present=1#focus=planner&reach=downstream) | [![缓存未命中时从 Web App 到 Postgres 的路径](docs/assets/archify-demo-route.png)](https://archify.si/gallery/artifacts/cache-miss.sequence.html?theme=dark&present=1#route=web~db) | [![生产架构中后端与数据库角色的真实关系](docs/assets/archify-demo-lens.png)](https://archify.si/gallery/artifacts/production-deployment.architecture.html?theme=dark&present=1#lens=backend~database) |
| 追踪一个步骤影响到的全部下游。 | 点亮 Web App 到数据库的路径。 | 聚焦后端与数据库之间已定义的连接。 |
-[Proof Lab](https://archify.si/gallery.html) 收录全部 11 个仓库内场景、JSON 源和校验回执。
+[Proof Lab](https://archify.si/zh/gallery) 收录全部 11 个仓库内场景、JSON 源和校验回执。
### 看懂一个真实代码仓库
@@ -201,7 +201,7 @@ npx -y skills add tt-a1i/archify --skill archify --agent cursor --global --copy
npx skills use tt-a1i/archify@archify --agent codex
```
-DeepSeek Harness(社区集成、显式启用):运行 `dsh plugin --profile web add @tt-a1i/[email protected]`;参见[兼容范围、限制与安全说明](integrations/deepseek-harness/README.md)。[Agent 切换器](https://archify.si/start.html?agent=cursor&type=architecture)只为 `cursor`、`codex`、`claude-code` 和 `opencode` 生成命令。
+DeepSeek Harness(社区集成、显式启用):运行 `dsh plugin --profile web add @tt-a1i/[email protected]`;参见[兼容范围、限制与安全说明](integrations/deepseek-harness/README.md)。[Agent 切换器](https://archify.si/zh/start?agent=cursor&type=architecture)只为 `cursor`、`codex`、`claude-code` 和 `opencode` 生成命令。
安装后的 Skill 包含一个低频、失败静默的发布检查,它最多只显示可选更新提醒,绝不会自行下载或安装更新。一次成功检查后,下次网络请求通常约在 24 小时(±20%)后发出;检查失败后,活跃使用可能在首次 6 小时、后续 24 小时退避到期时重试。请求只访问 `https://archify.si/skill-updates/archify/stable.json`。服务端会自然获得 IP、请求时间和常规 HTTP 元数据;检查器不会发送本地版本、Agent、项目数据、用户输入、账户/设备标识,也不会保存或回传 ETag。是否更新以及何时更新始终由你决定。如需完全关闭检查(包括网络请求和提醒状态写入),请在 Agent 环境中设置 `ARCHIFY_UPDATE_CHECK_DISABLED=1`。
@@ -250,7 +250,7 @@ DeepSeek Harness(社区集成、显式启用):运行 `dsh plugin --profile
做生产部署评审时,Architecture 可以按需启用 `deployment-ownership`
工程画像:负责人、单一区域归属、数据库私有边界或边界穿越机制缺失时会直接阻断。
它不会被静默开启,只校验作者写入的事实,不代表线上基础设施已经核验。可查看
-[通过校验的部署证明](https://archify.si/gallery.html#proof-deployment-ownership)。
+[通过校验的部署证明](https://archify.si/zh/gallery#proof-deployment-ownership)。
做设计或 PR 评审时,Architecture Delta 生成已校验的 Before / Delta / After 和机器回执。精确选择任一作者变更,或播放一次有限 Review;全程只读,不推断影响、风险或合并安全。
@@ -258,7 +258,7 @@ DeepSeek Harness(社区集成、显式启用):运行 `dsh plugin --profile
[![Architecture Delta:展示作者明确写出的新增、删除、变化和移动](docs/assets/architecture-delta-proof.jpg)](examples/checkout-platform-delta.html)
-不知道选哪一种?打开[交互式场景指南](https://archify.si/guide.html),或直接询问零依赖 CLI:
+不知道选哪一种?打开[交互式场景指南](https://archify.si/zh/guide),或直接询问零依赖 CLI:
```bash
node archify/bin/archify.mjs guide "展示带 Redis 缓存未命中的 API 请求"
@@ -395,7 +395,7 @@ node bin/archify.mjs deliver workflow examples/agent-tool-call.workflow.json /tm
- [Agent 编图手册](docs/authoring-cookbook.zh-CN.md) · [English](docs/authoring-cookbook.md)
- [版本历史](CHANGELOG.md)
- [路线图](ROADMAP.md)
-- [自动生成的 Proof Lab](https://archify.si/gallery.html)
+- [自动生成的 Proof Lab](https://archify.si/zh/gallery)
自动 Mermaid Parser、通用自动布局、托管分享服务和 WYSIWYG 编辑器目前都不在产品范围内。
diff --git a/test/readme-showcase.test.mjs b/test/readme-showcase.test.mjs
index abee634a..6671de88 100644
--- a/test/readme-showcase.test.mjs
+++ b/test/readme-showcase.test.mjs
@@ -205,7 +205,9 @@ test('all README languages show the brand mark and localized launch video', () =
const videoId = filename === 'README_ZH.md' ? '88cff7dd-bdf3-4b97-950c-37cc079898b1' : '78570807-ba1d-4737-953f-55504a378a87';
assert.ok(readme.includes(`\nhttps://github.com/user-attachments/assets/${videoId}\n`), `${filename}: missing standalone localized video attachment`);
assert.ok(!readme.includes('docs/assets/archify-live-proof.gif'), `${filename}: obsolete preview remains`);
- assert.match(readme, /https:\/\/archify\.si\/gallery\.html/);
+ assert.match(readme, filename === 'README_ZH.md'
+ ? /https:\/\/archify\.si\/zh\/gallery(?=[?#)"])/
+ : /https:\/\/archify\.si\/gallery\.html/);
}
assert.equal(
fs.readFileSync(path.join(repoRoot, 'README.md'), 'utf8'),
diff --git a/website/src/components/Navigation.astro b/website/src/components/Navigation.astro
index 1f8e83c1..4e6e86bd 100644
--- a/website/src/components/Navigation.astro
+++ b/website/src/components/Navigation.astro
@@ -14,7 +14,7 @@ const guideKeys: Record<string, string> = { guide: 'navGuide', gallery: 'navProo
const links = [
{ page: 'guide', en: 'Guide', zh: '场景指南' },
{ page: 'gallery', en: 'Proof Lab', zh: '验证作品集' },
- { page: 'start', en: 'Start', zh: '快速上手' },
+ { page: 'start', en: 'Get started', zh: '开始使用' },
{ page: 'community', en: 'Community', zh: '社区包' },
];
---
diff --git a/website/src/components/RecipeReference.astro b/website/src/components/RecipeReference.astro
index 7a9f517f..4a86820e 100644
--- a/website/src/components/RecipeReference.astro
+++ b/website/src/components/RecipeReference.astro
@@ -55,7 +55,7 @@ const labels = {
.recipe-entry { border:1px solid var(--line); border-radius:16px; padding:26px; scroll-margin-top:100px; min-width:0; }
.recipe-mode { font-size:11px; letter-spacing:.08em; text-transform:uppercase; opacity:.65; }
h3 { margin:10px 0; font-size:22px; } h3 a { color:inherit; text-decoration:none; }
- p, dd, li { font-size:14px; line-height:1.65; } p { opacity:.8; } .recipe-question { opacity:1; }
+ p, dd, li { font-size:14px; line-height:1.65; } p { opacity:.8; } .recipe-question, .section-head > p { opacity:1; }
dt,h4 { margin:18px 0 6px; font-size:12px; font-weight:700; } dd { margin:0; opacity:.75; }
ul { padding-left:20px; } .recipe-reference-prompt { background:rgba(120,140,160,.07); padding:16px; border-radius:8px; overflow-wrap:anywhere; }
.recipe-reference-links { display:flex; flex-wrap:wrap; gap:12px; font-size:12px; margin-top:18px; }
diff --git a/website/src/data/site-metadata.mjs b/website/src/data/site-metadata.mjs
index bb8223fc..7674b42e 100644
--- a/website/src/data/site-metadata.mjs
+++ b/website/src/data/site-metadata.mjs
@@ -1,23 +1,23 @@
import { canonicalUrl, canonicalOrigin } from './site-urls.mjs';
const descriptions = {
index: {
- en: ['Archify — AI Agent Skill for Interactive Diagrams', 'Archify is an MIT-licensed AI agent skill that creates validated, self-contained HTML diagrams from descriptions or source code, with interactive exploration and browser export.'],
+ en: ['Archify — AI Agent Skill for Interactive Diagrams', 'Archify is an MIT-licensed AI agent skill for validated HTML diagrams from descriptions or code, with interactive exploration and browser export.'],
zh: ['Archify — 用自然语言生成交互式图表', 'Archify 是采用 MIT 许可证的 AI Agent 技能,可从自然语言或源码生成经过验证的独立 HTML 图表,支持交互探索与浏览器导出。'],
},
guide: {
- en: ['Archify Scenario Guide — Choose the Right Diagram', 'Choose a diagram recipe by the question you need to answer. Browse evidence checklists, use cases, boundaries, and copy-ready prompts from the Archify recipe source.'],
+ en: ['Archify Scenario Guide — Choose the Right Diagram', 'Choose an Archify diagram recipe for your question. Browse evidence checklists, use cases, boundaries, and prompts linked to the recipe source.'],
zh: ['Archify 场景指南 — 选择合适的图表', '从需要解释的问题出发选择图表配方,查看与 Archify 配方源码一致的场景、证据清单、使用边界和可复制提示词。'],
},
start: {
- en: ['Archify Start — Create Your First Diagram', 'Install the Archify skill for your AI agent and create a diagram from a description or repository. Choose your agent, diagram type, and input to copy an appropriate command and prompt.'],
+ en: ['Archify Start — Create Your First Diagram', 'Install Archify for your AI agent and create a diagram from a description or code. Choose your agent, diagram type, and input to copy a command and prompt.'],
zh: ['Archify 快速上手 — 创建第一张图', '为你的 AI Agent 安装 Archify 技能,从自然语言或代码仓库创建图表。选择 Agent、图表类型和输入方式,复制对应的命令与提示词。'],
},
gallery: {
- en: ['Archify Proof Lab — Validated Diagram Gallery', 'Explore validated Archify diagrams with interactive HTML artifacts, exact JSON sources, and recorded checks. Validation records and human visual review are shown separately.'],
+ en: ['Archify Proof Lab — Validated Diagram Gallery', 'Explore validated Archify diagrams with interactive HTML, JSON sources, and recorded checks. Automated validation and human visual review appear separately.'],
zh: ['Archify 验证作品集 — 可探索的图表成品', '探索经过验证的 Archify 图表,查看交互式 HTML 成品、对应 JSON 源码与检查记录。自动验证与人工视觉评审分别列出。'],
},
community: {
- en: ['Archify Community — Packages Built on Archify', 'Browse standalone community packages built on Archify, including skills, recipes, themes, locale packs, and CLI wrappers, with source, license, compatibility, and evidence links.'],
+ en: ['Archify Community — Packages Built on Archify', 'Explore independent packages built on Archify: skills, recipes, themes, locales, and CLI wrappers, with source, license, compatibility, and evidence.'],
zh: ['Archify 社区 — 基于 Archify 的独立包', '浏览基于 Archify 的独立社区包,包括技能、配方、主题、语言包与 CLI 封装,并查看源码、许可证、兼容性和验证证据。'],
},
};
diff --git a/website/src/data/site-translations.mjs b/website/src/data/site-translations.mjs
index 556859f8..3b056d21 100644
--- a/website/src/data/site-translations.mjs
+++ b/website/src/data/site-translations.mjs
@@ -17,7 +17,7 @@ export const indexCopy = {
'seq-k':'Sequence',
'flow-k':'Data flow',
'life-k':'Lifecycle',
- 'nav-guide':'Guide','nav-gallery':'Proof Lab','nav-start':'Start','nav-community':'Community','nav-install':'Install Skill',
+ 'nav-guide':'Guide','nav-gallery':'Proof Lab','nav-start':'Get started','nav-community':'Community','nav-install':'Install Skill',
'hero-badge':"Development Agent Skill · see what's new",'hero-works':'Works with',
'hero-h1':'<span class="l">Describe it in plain words.</span><span class="l">Get a map <em>you can trust.</em></span>',
'hero-sub':'A leave plan, a job hunt, a monthly budget, or a software system — if it has steps, parts, relationships, or states, your AI agent turns it into one explorable HTML map, validated before it ships.',
@@ -99,7 +99,7 @@ export const indexCopy = {
'seq-k':'时序图',
'flow-k':'数据流',
'life-k':'生命周期',
- 'nav-guide':'场景指南','nav-gallery':'验证作品集','nav-start':'快速上手','nav-community':'社区包','nav-install':'安装技能',
+ 'nav-guide':'场景指南','nav-gallery':'验证作品集','nav-start':'开始使用','nav-community':'社区包','nav-install':'安装技能',
'hero-badge':'开发版 Agent 技能 · 查看更新','hero-works':'支持',
'hero-h1':'<span class="l">用大白话讲清楚,</span><span class="l">得到<em>一张可信的图。</em></span>',
'hero-sub':'年假怎么排、求职走到哪步、工资去哪了,或者一整套软件系统——只要它有步骤、组成、关系或状态,你的 AI Agent 都能把它变成一张可以点开探索、交付前已经校验过的 HTML 图。',
@@ -167,12 +167,12 @@ export const indexCopy = {
export const guideCopy = {
en: {
- navGuide:'Guide',navProof:'Proof Lab',navStart:'Start',navCommunity:'Community',navInstall:'Install Skill',versionLabel:'Scenario guide / development / v[[ARCHIFY_VERSION]]',eyebrow:'Question-first diagramming', headline:'Choose the question.<br>Get the <em>right diagram.</em>', lede:'Describe what your audience needs to understand. Archify recommends one bounded visual recipe—plus the evidence it must contain, when not to use it, and a prompt you can copy.',
+ navGuide:'Guide',navProof:'Proof Lab',navStart:'Get started',navCommunity:'Community',navInstall:'Install Skill',versionLabel:'Scenario guide / development / v[[ARCHIFY_VERSION]]',eyebrow:'Question-first diagramming', headline:'Choose the question.<br>Get the <em>right diagram.</em>', lede:'Describe what your audience needs to understand. Archify recommends one bounded visual recipe—plus the evidence it must contain, when not to use it, and a prompt you can copy.',
metricRecipes:'real-world<br>recipes',metricModes:'typed diagram<br>modes',metricRuntime:'runtime<br>dependencies',chooserTitle:'What must the diagram explain?',chooserBody:'Write a situation, not a diagram type. Specific system facts produce a stronger recommendation.',placeholder:'Example: Show an API request with JWT auth, a Redis cache miss, database fallback, and async tracing.',recommend:'Recommend a recipe →',clear:'Clear',libraryEyebrow:'Recipe library',libraryTitle:'13 small, opinionated starting points.',libraryBody:'Each recipe answers one technical question. That boundary keeps the result legible, reviewable, and honest about missing evidence.',footerLeft:'Generated from the same recipe source as the Archify CLI.',all:'All recipes',recommended:'Recommended recipe',use:'Use when',avoid:'Avoid when',must:'Evidence to include',presentation:'Presentation',prompt:'Copy-ready prompt',copyPrompt:'Copy prompt',copied:'Copied',alternatives:'Other possible fits:',confidence:'confidence',open:'Open recipe',proofReady:'Verified proof',proofLink:'Open verified example ↗',
samples:[['API + cache miss','Show an API request with JWT auth, a Redis cache miss, database fallback, and async tracing.'],['Kafka + DLQ','Map Kafka topics, ordered processors, consumer groups, replay, state stores, and the dead-letter queue.'],['Incident response','Show how responders detect, triage, mitigate, escalate, communicate, and verify recovery.']]
},
zh: {
- navGuide:'场景指南',navProof:'验证作品集',navStart:'快速上手',navCommunity:'社区包',navInstall:'安装技能',versionLabel:'场景指南 / 开发版 / v[[ARCHIFY_VERSION]]',eyebrow:'先问题,后图表',headline:'先选对问题,<br>再得到<em>对的图。</em>',lede:'描述受众真正需要理解的内容。Archify 会推荐一个有边界的视觉配方,同时给出证据清单、禁用条件和可复制提示词。',
+ navGuide:'场景指南',navProof:'验证作品集',navStart:'开始使用',navCommunity:'社区包',navInstall:'安装技能',versionLabel:'场景指南 / 开发版 / v[[ARCHIFY_VERSION]]',eyebrow:'先问题,后图表',headline:'先选对问题,<br>再得到<em>对的图。</em>',lede:'描述受众真正需要理解的内容。Archify 会推荐一个有边界的视觉配方,同时给出证据清单、禁用条件和可复制提示词。',
metricRecipes:'个真实场景<br>配方',metricModes:'种类型化<br>图表模式',metricRuntime:'个运行时<br>依赖',chooserTitle:'这张图必须解释什么?',chooserBody:'写清场景,不要只写图表类型。系统事实越具体,推荐越可靠。',placeholder:'例如:展示带 JWT 鉴权、Redis 缓存未命中、数据库回退和异步追踪的 API 请求。',recommend:'推荐配方 →',clear:'清空',libraryEyebrow:'配方库',libraryTitle:'13 个小而专的起点。',libraryBody:'每个配方只回答一个技术问题。清晰的边界让图更易读、可评审,也不会掩盖证据缺口。',footerLeft:'网页与 Archify CLI 使用同一份配方数据生成。',all:'全部配方',recommended:'推荐配方',use:'适合',avoid:'不要这样用',must:'必须包含的证据',presentation:'表现建议',prompt:'可直接复制的提示词',copyPrompt:'复制提示词',copied:'已复制',alternatives:'其他可能:',confidence:'置信度',open:'打开配方',proofReady:'已验证成品',proofLink:'打开验证成品 ↗',
samples:[['API + 缓存未命中','展示带 JWT 鉴权、Redis 缓存未命中、数据库回退和异步追踪的 API 请求。'],['Kafka + 死信','梳理 Kafka Topic、有序处理器、消费者组、重放、状态存储和死信队列。'],['事故处置','展示响应者如何发现、分诊、缓解、升级、沟通并验证恢复。']]
}
diff --git a/website/src/styles/index.css b/website/src/styles/index.css
index b80a068b..866ebaec 100644
--- a/website/src/styles/index.css
+++ b/website/src/styles/index.css
@@ -63,7 +63,7 @@
.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:.65rem; padding:.3rem .85rem .3rem .3rem; margin-bottom:1.75rem; border:1px solid var(--line-hi); border-radius:999px; background:rgba(var(--fg-rgb),.03); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); color:var(--text-2); font-size:.8125rem; font-weight:450; text-decoration:none; white-space:nowrap; transition:border-color .2s var(--ease-out),color .2s var(--ease-out); }
.hero-eyebrow:hover { border-color:rgba(var(--accent-rgb),.5); color:var(--text); }
- .eyebrow-tag { padding:.22rem .55rem; border-radius:999px; background:var(--accent); color:var(--on-accent); font-family:var(--font-mono); font-size:.6875rem; font-weight:600; }
+ .eyebrow-tag { padding:.22rem .55rem; border-radius:999px; background:var(--accent); color:#07080a; font-family:var(--font-mono); font-size:.6875rem; font-weight:600; }
.eyebrow-arrow { color:var(--text-3); transition:transform .2s var(--ease-out),color .2s var(--ease-out); }
.hero-eyebrow:hover .eyebrow-arrow { color:var(--accent); transform:translateX(3px); }
.pulse-dot { width:6px; height:6px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 0 rgba(var(--accent-rgb),.6); animation:pulse 2.4s ease-in-out infinite; }
@@ -86,7 +86,7 @@
/* 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(var(--bg-rgb),.8); font-family:var(--font-mono); font-size:.8125rem; color:var(--text); }
- .cmd-prompt { color:var(--accent); }
+ .cmd-prompt { color:var(--accent-text); }
.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(var(--fg-rgb),.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(var(--fg-rgb),.12); }
@@ -123,7 +123,7 @@
.spec-card:hover { color:var(--text); background:rgba(var(--fg-rgb),.05); }
.spec-card[aria-selected="true"] { color:var(--text); background:rgba(var(--fg-rgb),.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); }
+ .spec-card[aria-selected="true"] .spec-idx { color:var(--accent-text); }
.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(var(--shadow-rgb),calc(.35 * var(--shadow-k))); 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); }
@@ -146,7 +146,7 @@
.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 { display:inline-flex; align-items:center; gap:.4rem; color:var(--accent-text); 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); }
@@ -172,7 +172,7 @@
.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 span:first-child { color:var(--accent-text); }
.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); }
@@ -190,7 +190,7 @@
.life-card:hover .life-plate img { transform:scale(1.04); }
.life-meta { display:flex; align-items:center; gap:.5rem; margin-top:.35rem; font-family:var(--font-mono); font-size:.6875rem; letter-spacing:.06em; color:var(--text-3); }
.life-lang { padding:.15rem .45rem; border-radius:999px; border:1px solid var(--line-hi); color:var(--text-2); }
- .life-kind { color:var(--accent); }
+ .life-kind { color:var(--accent-text); }
.life-open { margin-left:auto; color:var(--text-3); transition:color .2s var(--ease-out),transform .2s var(--ease-out); }
.life-card:hover .life-open { color:var(--accent); transform:translate(2px,-2px); }
.life-q { font-family:var(--font-grot); font-size:1.125rem; font-weight:500; letter-spacing:-.02em; line-height:1.3; text-wrap:balance; }
@@ -209,10 +209,10 @@
.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-item.is-active .type-no { color:var(--accent-text); }
.type-name { display:flex; flex-direction:column; gap:.4rem; font-family:var(--font-grot); font-size:clamp(1.5rem,2.4vw,2.15rem); font-weight:500; letter-spacing:-.03em; line-height:1.1; text-wrap:balance; }
.type-kind { font-family:var(--font-mono); font-size:.6875rem; font-weight:500; letter-spacing:.1em; text-transform:uppercase; color:var(--text-3); }
- .type-item.is-active .type-kind { color:var(--accent); }
+ .type-item.is-active .type-kind { color:var(--accent-text); }
.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; }
@@ -265,7 +265,7 @@
.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(var(--fg-rgb),.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(var(--fg-rgb),.06),rgba(var(--fg-rgb),.01)); font-family:var(--font-mono); font-size:.8125rem; font-weight:600; color:var(--accent); }
+ .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(var(--fg-rgb),.06),rgba(var(--fg-rgb),.01)); font-family:var(--font-mono); font-size:.8125rem; font-weight:600; color:var(--accent-text); }
/* ══════════════════════════════════════
PALETTE — glowing legend
@@ -277,6 +277,7 @@
.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); }
+ :root:not([data-theme="dark"]) .legend-label { color:color-mix(in srgb,var(--node) 70%,var(--text)); }
.legend-use { font-size:.75rem; line-height:1.5; color:var(--text-3); }
/* ══════════════════════════════════════
@@ -290,20 +291,20 @@
.agent-tabs button:hover { color:var(--text); }
.agent-tabs button[aria-selected="true"] { color:var(--text); background:rgba(var(--fg-rgb),.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(var(--fg-rgb),.32); }
+ .install-cmt { color:var(--text-3); }
.install-cmd { color:var(--text); overflow-wrap:anywhere; }
- .install-cmd > span { color:var(--accent); }
+ .install-cmd > span { color:var(--accent-text); }
.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); }
+ .install-ask { color:var(--signal-text); }
.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-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-text); }
.step h3 { 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(var(--accent-rgb),.4); }
+ .step a { color:var(--accent-text); text-decoration:none; border-bottom:1px solid rgba(var(--accent-rgb),.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(var(--fg-rgb),.07); }
diff --git a/website/src/styles/site.css b/website/src/styles/site.css
index 881513f2..49c84bb5 100644
--- a/website/src/styles/site.css
+++ b/website/src/styles/site.css
@@ -10,9 +10,9 @@
--fg-rgb:18,20,23; --bg-rgb:245,246,243; --accent-rgb:226,80,14; --emerald-rgb:5,150,105; --signal-rgb:13,148,136; --glow-rgb:226,80,14;
--shadow-rgb:24,28,34; --shadow-k:.16;
--bg:#f5f6f3; --bg-2:#eef0ec; --surface:#ffffff; --surface-2:#f0f2ee; --sunken:#eceee9; --plate:#fbfbf9;
- --text:#121417; --text-2:rgba(18,20,23,.68); --text-3:rgba(18,20,23,.48);
+ --text:#121417; --text-2:rgba(18,20,23,.68); --text-3:rgba(18,20,23,.62);
--line:rgba(18,20,23,.09); --line-hi:rgba(18,20,23,.16); --line-strong:rgba(18,20,23,.4);
- --accent:#e2500e; --accent-hover:#c94408; --accent-soft:rgba(226,80,14,.09); --on-accent:#fff;
+ --accent:#e2500e; --accent-text:#b83e08; --signal-text:#0f766e; --accent-hover:#c94408; --accent-soft:rgba(226,80,14,.09); --on-accent:#fff;
--btn-bg:#121417; --btn-fg:#ffffff; --btn-hover:#000000;
--title-top:#0b0c0e; --title-end:rgba(18,20,23,.72); --grad-a:#f08a4b; --grad-c:#d6264f; --glint:#e2500e;
--emerald:#059669; --signal:#0d9488; --rose:#e11d48; --violet:#7c3aed;
@@ -25,9 +25,9 @@
--fg-rgb:238,241,243; --bg-rgb:7,8,10; --accent-rgb:255,106,43; --emerald-rgb:52,211,153; --signal-rgb:94,234,212; --glow-rgb:255,170,120;
--shadow-rgb:0,0,0; --shadow-k:1;
--bg:#07080a; --bg-2:#0b0d10; --surface:#0c0f13; --surface-2:#13171d; --sunken:#08090c; --plate:#0a0d12;
- --text:#eef1f3; --text-2:rgba(238,241,243,.66); --text-3:rgba(238,241,243,.42);
+ --text:#eef1f3; --text-2:rgba(238,241,243,.66); --text-3:rgba(238,241,243,.56);
--line:rgba(238,241,243,.08); --line-hi:rgba(238,241,243,.15); --line-strong:rgba(238,241,243,.38);
- --accent:#ff6a2b; --accent-hover:#ff7d45; --accent-soft:rgba(255,106,43,.1); --on-accent:#fff;
+ --accent:#ff6a2b; --accent-text:var(--accent); --signal-text:var(--signal); --accent-hover:#ff7d45; --accent-soft:rgba(255,106,43,.1); --on-accent:#fff;
--btn-bg:#eef1f3; --btn-fg:#0a0b0d; --btn-hover:#ffffff;
--title-top:#ffffff; --title-end:rgba(238,241,243,.7); --grad-a:#ffb38a; --grad-c:#ff3d6e; --glint:#ffffff;
--emerald:#34d399; --signal:#5eead4; --rose:#fb7185; --violet:#a78bfa;
@@ -121,6 +121,10 @@
.site-nav .brand-lockup { width:30px; object-fit:cover; object-position:left center; }
.site-nav .nav-link { padding:0 .3rem; font-size:.75rem; gap:.3rem; }
}
+ @media (max-width:360px) {
+ .site-nav { padding:0 .5rem; }
+ .site-nav .nav-link { min-width:44px; padding:0 .2rem; }
+ }
/* inner-page entrance — label, title, copy and side board arrive in sequence */
@keyframes siteRise { from { opacity:0; translate:0 18px; filter:blur(6px); } }
@keyframes siteTitle { from { opacity:0; clip-path:inset(0 0 100% 0); translate:0 .35em; } to { clip-path:inset(-20% -5% -30% -5%); } }