diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 000000000..ef1a515c9 --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,112 @@ +name: Deploy marketing website + +on: + push: + branches: [main] + paths: + - "website/**" + - ".github/workflows/pages.yml" + release: + types: [published] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: pages + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Configure Pages + uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5 + + - name: Assemble static site + run: | + set -euo pipefail + mkdir -p _site + cp -R website/. _site/ + rm -rf _site/qa + touch _site/.nojekyll + test -s _site/index.html + test -s _site/assets/fonts/WeiBeiStele.ttf + test -s _site/assets/fonts/WeiBeiSteleMono.ttf + test -s _site/assets/screens/workspace.png + test -s _site/assets/screens/course-overview.png + + - name: Add latest DMG downloads + env: + GH_TOKEN: ${{ github.token }} + run: | + set -euo pipefail + mkdir -p _site/downloads + + release="$( + gh api --paginate "repos/${GITHUB_REPOSITORY}/releases?per_page=100" | + jq -s 'add | map(select(.draft == false) | select(any(.assets[]?; (.name | ascii_downcase | endswith(".dmg"))))) | .[0] // empty' + )" + + if [ -z "$release" ] || [ "$release" = "null" ]; then + echo '{"available":false}' > _site/release.json + exit 0 + fi + + tag="$(jq -r '.tag_name' <<<"$release")" + published_at="$(jq -r '.published_at // ""' <<<"$release")" + : > /tmp/weibei-dmg-assets.jsonl + + jq -c '.assets[] | select(.name | ascii_downcase | endswith(".dmg"))' <<<"$release" | + while IFS= read -r asset; do + asset_name="$(jq -r '.name' <<<"$asset")" + asset_url="$(jq -r '.url' <<<"$asset")" + asset_size="$(jq -r '.size // 0' <<<"$asset")" + + if [ "$(basename "$asset_name")" != "$asset_name" ]; then + continue + fi + + gh api "$asset_url" -H "Accept: application/octet-stream" > "_site/downloads/$asset_name" + test -s "_site/downloads/$asset_name" + + jq -n \ + --arg name "$asset_name" \ + --arg download_url "./downloads/$asset_name" \ + --argjson size "$asset_size" \ + '{name:$name,download_url:$download_url,size:$size}' >> /tmp/weibei-dmg-assets.jsonl + done + + assets="$(jq -s '.' /tmp/weibei-dmg-assets.jsonl)" + if [ "$(jq 'length' <<<"$assets")" -eq 0 ]; then + echo '{"available":false}' > _site/release.json + exit 0 + fi + + jq -n \ + --arg version "$tag" \ + --arg published_at "$published_at" \ + --argjson assets "$assets" \ + '{available:true,version:$version,published_at:$published_at,assets:$assets}' > _site/release.json + + - name: Upload Pages artifact + uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4 + with: + path: _site + + deploy: + runs-on: ubuntu-latest + needs: build + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Deploy Pages artifact + id: deployment + uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4 diff --git a/Docs/brand/readme-hero-1983x793.png b/Docs/brand/readme-hero-1983x793.png new file mode 100644 index 000000000..2552c08be Binary files /dev/null and b/Docs/brand/readme-hero-1983x793.png differ diff --git a/Docs/brand/readme-logo-256.png b/Docs/brand/readme-logo-256.png new file mode 100644 index 000000000..7f39a652b Binary files /dev/null and b/Docs/brand/readme-logo-256.png differ diff --git a/Docs/brand/weibei-mark.svg b/Docs/brand/weibei-mark.svg new file mode 100644 index 000000000..f5a50b504 --- /dev/null +++ b/Docs/brand/weibei-mark.svg @@ -0,0 +1,12 @@ + + + WeiBei brand mark + A heavy three-stroke W in ink black with a cinnabar source anchor. + + + + + + + + diff --git a/LICENSING.md b/LICENSING.md index f1cb37d53..98790d3b7 100644 --- a/LICENSING.md +++ b/LICENSING.md @@ -25,7 +25,12 @@ The following are not licensed under the AGPL: - the WeiBei / 魏碑 names, logos, product identity, and trade dress; - `Sources/WeiBei/Resources/Fonts/`; +- `Docs/brand/`; - `DesignReferences/`; +- WeiBei-authored brand media under `website/assets/brand/`; +- WeiBei-authored screenshots under `website/assets/screens/`; +- `website/assets/fonts/WeiBeiStele.ttf` and + `website/assets/fonts/WeiBeiSteleMono.ttf`; - WeiBei-authored screenshots, videos, and release evidence under `Docs/release-evidence/`; - `Attachments/pasted-image.png` and `Attachments/pasted-image-2.png`. @@ -46,6 +51,8 @@ Third-party components keep their original licenses: directory. - JavaScript dependencies are recorded in the root and prototype `package-lock.json` files. Generated bundles retain embedded upstream notices. +- Noto Sans CJK and Noto Serif CJK web fonts under `website/assets/fonts/` are + licensed under the SIL Open Font License 1.1 included in that directory. - Apple system frameworks are used under the terms supplied by Apple and are not part of this repository's AGPL grant. diff --git a/README.md b/README.md index e14820608..68581fb60 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ + +![WeiBei / 魏碑](./Docs/brand/readme-hero-1983x793.png) + + # WeiBei / 魏碑 WeiBei is a source-grounded macOS study workspace for reading course materials, asking questions, and writing notes without breaking context. @@ -14,6 +18,12 @@ During final-exam revision, I was reading PDFs and HTML pages in a browser, aski I built WeiBei so the material, the question, its evidence, and the resulting note can stay connected in one workspace. + +

+ WeiBei reading, Agent conversation, and note workspace +

+ + ## What it does - Imports individual files or course folders containing PDF, HTML, Markdown, and plain text. @@ -37,6 +47,12 @@ The Build Week work is the range from `366892c1` to the merged `main` submission - Agent provider profiles, OpenAI Codex OAuth support, clearer failure states, cancellation, and retry. - Persistent study-session grouping, performance work, final chat math rendering, and pane interaction fixes. + +

+ WeiBei course material and note relationship view +

+ + This separation is intentional. The submission should be evaluated on the work added during Build Week, not on the earlier prototype as a whole. ## How I used Codex and GPT-5.6 diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md index 525185b7e..ebedacd92 100644 --- a/THIRD_PARTY_NOTICES.md +++ b/THIRD_PARTY_NOTICES.md @@ -24,6 +24,13 @@ Exact package versions and declared licenses are recorded in: Generated JavaScript bundles retain embedded copyright and license notices. Rebuilds must preserve those notices. +## Website fonts + +The marketing website includes Noto Sans CJK and Noto Serif CJK web fonts. +They remain licensed under the SIL Open Font License 1.1. The copyright notice +and complete license text are preserved in +[`website/assets/fonts/OFL-Noto-CJK.txt`](website/assets/fonts/OFL-Noto-CJK.txt). + ## Reference assets Image and text reference sources, rights bases, and required credits are diff --git a/website/apple-touch-icon.png b/website/apple-touch-icon.png new file mode 100644 index 000000000..7ada4ced4 Binary files /dev/null and b/website/apple-touch-icon.png differ diff --git a/website/assets/brand/app-icon.png b/website/assets/brand/app-icon.png new file mode 100644 index 000000000..620ca5363 Binary files /dev/null and b/website/assets/brand/app-icon.png differ diff --git a/website/assets/brand/og-image.png b/website/assets/brand/og-image.png new file mode 100644 index 000000000..2d653472a Binary files /dev/null and b/website/assets/brand/og-image.png differ diff --git a/website/assets/brand/paper-texture.webp b/website/assets/brand/paper-texture.webp new file mode 100644 index 000000000..e35f1e309 Binary files /dev/null and b/website/assets/brand/paper-texture.webp differ diff --git a/website/assets/brand/textured-mark.webp b/website/assets/brand/textured-mark.webp new file mode 100644 index 000000000..c988cedd8 Binary files /dev/null and b/website/assets/brand/textured-mark.webp differ diff --git a/website/assets/fonts/NotoSansSC-Web-400.woff2 b/website/assets/fonts/NotoSansSC-Web-400.woff2 new file mode 100644 index 000000000..90229968b Binary files /dev/null and b/website/assets/fonts/NotoSansSC-Web-400.woff2 differ diff --git a/website/assets/fonts/NotoSerifSC-Web-400.woff2 b/website/assets/fonts/NotoSerifSC-Web-400.woff2 new file mode 100644 index 000000000..7d52b72a5 Binary files /dev/null and b/website/assets/fonts/NotoSerifSC-Web-400.woff2 differ diff --git a/website/assets/fonts/NotoSerifSC-Web-600.woff2 b/website/assets/fonts/NotoSerifSC-Web-600.woff2 new file mode 100644 index 000000000..4722497a0 Binary files /dev/null and b/website/assets/fonts/NotoSerifSC-Web-600.woff2 differ diff --git a/website/assets/fonts/OFL-Noto-CJK.txt b/website/assets/fonts/OFL-Noto-CJK.txt new file mode 100644 index 000000000..046fc6649 --- /dev/null +++ b/website/assets/fonts/OFL-Noto-CJK.txt @@ -0,0 +1,93 @@ +Google Inc. + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/website/assets/fonts/WeiBeiStele.ttf b/website/assets/fonts/WeiBeiStele.ttf new file mode 100644 index 000000000..9d7d99739 Binary files /dev/null and b/website/assets/fonts/WeiBeiStele.ttf differ diff --git a/website/assets/fonts/WeiBeiSteleMono.ttf b/website/assets/fonts/WeiBeiSteleMono.ttf new file mode 100644 index 000000000..9b7a58872 Binary files /dev/null and b/website/assets/fonts/WeiBeiSteleMono.ttf differ diff --git a/website/assets/screens/course-overview.png b/website/assets/screens/course-overview.png new file mode 100644 index 000000000..f67e4ade3 Binary files /dev/null and b/website/assets/screens/course-overview.png differ diff --git a/website/assets/screens/workspace.png b/website/assets/screens/workspace.png new file mode 100644 index 000000000..b316a7029 Binary files /dev/null and b/website/assets/screens/workspace.png differ diff --git a/website/favicon.ico b/website/favicon.ico new file mode 100644 index 000000000..be0b69fa0 Binary files /dev/null and b/website/favicon.ico differ diff --git a/website/favicon.svg b/website/favicon.svg new file mode 100644 index 000000000..d88e7feb2 --- /dev/null +++ b/website/favicon.svg @@ -0,0 +1,10 @@ + + + WeiBei favicon + + + + + + + diff --git a/website/index.html b/website/index.html new file mode 100644 index 000000000..f0f887d23 --- /dev/null +++ b/website/index.html @@ -0,0 +1,277 @@ + + + + + + + + + + + + + + + + + + + + + + + 魏碑 WeiBei — 本地优先的 macOS 学习工作台 + + + + + + +
+
+
+

READ · NOTE · ASK · RETURN TO SOURCE

+

读、记、问,
在同一张纸上。

+

把资料摊开,边读边记。有问题就问,答案直接回到出处。

+

HTML、PDF、Markdown 和纯文本,在同一个原生 macOS 工作台。

+ +
+
系统
macOS 14+
+
格式
DMG
+
版本
最新
+
+
+ + + +
+ +
+ 魏碑的原生学习工作台:课程材料、Agent 对话与 Markdown 笔记保留在同一个窗口 +
+
01 资料、问题与笔记共享同一份学习上下文。
+
+
+ +
+
+

READ · ASK · NOTE

+

从原文开始,也回到原文。

+

魏碑不把阅读变成聊天的附件。提问发生在材料旁边,写下的内容仍由你决定。

+
+ +
    +
  1. +
    01READ
    +

    材料始终在眼前

    +

    打开单个文件,或导入整门课程。PDF 页码、HTML 章节与当前选区都能成为可核对的上下文。

    +
  2. +
  3. +
    02ASK
    +

    围绕正在读的句子发问

    +

    问题线程与选区保持连接。之后再点回那道标记,仍能接着当时的问题继续读。

    +
  4. +
  5. +
    03NOTE
    +

    确认之后再落笔

    +

    Agent 可以提出笔记修改和学习状态更新;比较、保留或写入,最后一步始终交给学习者。

    +
  6. +
+
+ +
+
+

RETURN TO SOURCE

+

每个重要判断,
都有回原文的路。

+

回答里的来源由魏碑核对。点击引用,可以打开对应文件、PDF 页面、HTML 章节或关联笔记。

+
    +
  • 页准确的 PDF 页面
  • +
  • 节对应的 HTML 章节
  • +
  • 记与材料相连的笔记
  • +
+
+ +
+
ANSWER · 03 SOURCES
+

政策传导存在时滞:利率变化先影响融资条件,再逐步进入投资与消费决策。

+ + +
+
+ +
+
+
+

MATERIALS × NOTES

+

资料和笔记,保留长期关联。

+
+

不是临时标签,也不只表示当前打开状态。关系台让一份笔记可以连接多份材料,也让一份材料进入不同的学习线索。

+
+ +
+
+ 魏碑资料关系台:课程材料与课程笔记之间保留可查看和管理的多对多关联 +
+
02 一门课程里的材料、笔记与学习线索,不必散落在不同应用里。
+
+
+ +
+
+

LEARNER DECIDES

+
Agent 提出建议。
学习者决定写下什么。
+
+ +
+
笔记建议第 12 页
+

政策效果会立刻出现。

+

政策传导通常存在时滞,效果会经过融资、投资与消费决策逐步显现。

+ +
+ +
+
LOCAL
资料、索引、学习记录与笔记默认保存在本机。
+
BOUNDED
每次提问只获得当前任务所需的有界上下文。
+
NATIVE
SwiftUI、AppKit、PDFKit 与 WebKit 组成一个原生窗口。
+
+
+ +
+
+

PAPER / INKSTONE

+

白天是纸面,夜里是墨石。

+

两种外观都保留暖色文字、石青链接与克制的朱砂落点;正文不会被装饰抢走。

+ +
+ +
+ +
+
+ 魏碑应用图标 +
+

WEIBEI FOR MACOS

+

读、记、问,
在同一张纸上。

+

macOS 14 及以上 · DMG

+
+ + 下载最新版 DMG + + + WeiBei-latest.dmg +
+ +
+ +
+
+
+ + + + diff --git a/website/main.js b/website/main.js new file mode 100644 index 000000000..897188506 --- /dev/null +++ b/website/main.js @@ -0,0 +1,170 @@ +const REPOSITORY = "taekchef/weibei"; +const RELEASES_URL = `https://github.com/${REPOSITORY}/releases`; +const RELEASE_MANIFEST = "./release.json"; +const LOCAL_DMG = "./downloads/WeiBei-latest.dmg"; + +const root = document.documentElement; +const themeColor = document.querySelector('meta[name="theme-color"]'); +const themeLabel = document.querySelector("[data-theme-label]"); +const themeToggles = document.querySelectorAll("[data-theme-toggle], [data-theme-toggle-secondary]"); + +function preferredTheme() { + const saved = localStorage.getItem("weibei-theme"); + if (saved === "paper" || saved === "inkstone") return saved; + return window.matchMedia("(prefers-color-scheme: dark)").matches ? "inkstone" : "paper"; +} + +function setTheme(theme, persist = false) { + root.dataset.theme = theme; + if (themeLabel) themeLabel.textContent = theme === "paper" ? "墨石" : "纸面"; + if (themeColor) themeColor.content = theme === "paper" ? "#f2e2ca" : "#0f0f0f"; + if (persist) localStorage.setItem("weibei-theme", theme); +} + +setTheme(preferredTheme()); + +themeToggles.forEach((button) => { + button.addEventListener("click", () => { + setTheme(root.dataset.theme === "paper" ? "inkstone" : "paper", true); + }); +}); + +const header = document.querySelector("[data-header]"); +function updateHeader() { + header?.classList.toggle("is-scrolled", window.scrollY > 24); +} + +updateHeader(); +window.addEventListener("scroll", updateHeader, { passive: true }); + +const revealItems = [...document.querySelectorAll(".reveal")]; +revealItems.forEach((item) => item.classList.add("is-visible")); + +function fileSize(bytes) { + const value = Number(bytes); + if (!Number.isFinite(value) || value <= 0) return ""; + const megabytes = value / (1024 * 1024); + return `${megabytes >= 100 ? megabytes.toFixed(0) : megabytes.toFixed(1)} MB`; +} + +function cleanVersion(version) { + return String(version || "").trim().replace(/^v/i, ""); +} + +function releaseDate(value) { + if (!value) return ""; + const date = new Date(value); + if (Number.isNaN(date.getTime())) return ""; + return new Intl.DateTimeFormat("zh-CN", { + year: "numeric", + month: "short", + day: "numeric", + }).format(date); +} + +function setFallbackRelease() { + document.querySelectorAll("[data-download-link]").forEach((link) => { + link.href = RELEASES_URL; + link.removeAttribute("download"); + }); + document.querySelectorAll("[data-download-label]").forEach((label) => { + label.textContent = "查看最新版本"; + }); +} + +function architectureLabel(name) { + if (/universal/i.test(name)) return "Universal"; + if (/arm64|aarch64|apple[-_ ]?silicon/i.test(name)) return "Apple Silicon"; + if (/x86_64|x64|intel/i.test(name)) return "Intel"; + return "macOS"; +} + +function normalizedAssets(release) { + if (Array.isArray(release?.assets)) { + return release.assets.filter((asset) => asset?.name && asset?.download_url); + } + if (release?.asset_name && release?.download_url) { + return [{ name: release.asset_name, size: release.size, download_url: release.download_url }]; + } + return []; +} + +function renderDownloadOptions(assets) { + const options = document.querySelector("[data-download-options]"); + if (!options) return; + options.replaceChildren(); + + assets.forEach((asset) => { + const link = document.createElement("a"); + const title = document.createElement("strong"); + const detail = document.createElement("span"); + link.href = new URL(asset.download_url, document.baseURI).href; + link.download = asset.name; + title.textContent = architectureLabel(asset.name); + detail.textContent = `${asset.name}${asset.size ? ` · ${fileSize(asset.size)}` : ""}`; + link.append(title, detail); + options.append(link); + }); + options.hidden = assets.length < 2; +} + +function applyRelease(release) { + if (!release?.available) { + setFallbackRelease(); + return; + } + + const version = cleanVersion(release.version || release.tag_name); + const published = releaseDate(release.published_at); + const assets = normalizedAssets(release); + const primary = assets.find((asset) => /universal/i.test(asset.name)) || (assets.length === 1 ? assets[0] : null); + + if (!assets.length) { + setFallbackRelease(); + return; + } + + renderDownloadOptions(assets); + + document.querySelectorAll("[data-download-link]").forEach((link) => { + link.href = primary ? new URL(primary.download_url || LOCAL_DMG, document.baseURI).href : "#download"; + if (primary) link.setAttribute("download", primary.name); + else link.removeAttribute("download"); + }); + document.querySelectorAll("[data-download-label]").forEach((label, index) => { + if (!primary) { + label.textContent = "选择 macOS 版本"; + } else { + label.textContent = index === 0 && version ? `下载 v${version}` : `下载${version ? ` v${version}` : "最新版"} DMG`; + } + }); + + const versionLabel = document.querySelector("[data-release-version]"); + if (versionLabel && version) versionLabel.textContent = `v${version}`; + + const meta = document.querySelector("[data-release-meta]"); + if (meta) { + meta.textContent = ["macOS 14 及以上", version && `v${version}`, primary && fileSize(primary.size), published] + .filter(Boolean) + .join(" · "); + } + + const assetLabel = document.querySelector("[data-asset-name]"); + if (assetLabel) { + assetLabel.textContent = primary + ? [primary.name, fileSize(primary.size)].filter(Boolean).join(" · ") + : `${assets.length} 个安装包可选`; + } +} + +async function resolveLatestRelease() { + try { + const response = await fetch(RELEASE_MANIFEST, { cache: "no-store" }); + if (!response.ok) throw new Error(`release manifest unavailable: ${response.status}`); + applyRelease(await response.json()); + } catch { + setFallbackRelease(); + } +} + +resolveLatestRelease(); diff --git a/website/release.json b/website/release.json new file mode 100644 index 000000000..a5b47ad0e --- /dev/null +++ b/website/release.json @@ -0,0 +1 @@ +{"available":false} diff --git a/website/styles.css b/website/styles.css new file mode 100644 index 000000000..c576c8e76 --- /dev/null +++ b/website/styles.css @@ -0,0 +1,1702 @@ +@font-face { + font-family: "WeiBei Stele"; + src: url("./assets/fonts/WeiBeiStele.ttf") format("truetype"); + font-display: swap; + font-style: normal; + font-weight: 400; +} + +@font-face { + font-family: "WeiBei Stele Mono"; + src: url("./assets/fonts/WeiBeiSteleMono.ttf") format("truetype"); + font-display: swap; + font-style: normal; + font-weight: 400; +} + +@font-face { + font-family: "Noto Serif SC Web"; + src: url("./assets/fonts/NotoSerifSC-Web-400.woff2") format("woff2"); + font-display: swap; + font-style: normal; + font-weight: 400; +} + +@font-face { + font-family: "Noto Serif SC Web"; + src: url("./assets/fonts/NotoSerifSC-Web-600.woff2") format("woff2"); + font-display: swap; + font-style: normal; + font-weight: 600 700; +} + +@font-face { + font-family: "Noto Sans SC Web"; + src: url("./assets/fonts/NotoSansSC-Web-400.woff2") format("woff2"); + font-display: swap; + font-style: normal; + font-weight: 400 700; +} + +:root { + --brand-paper: #f2e2ca; + --paper: #f4ead5; + --paper-raised: #f9f1de; + --paper-inset: #e8dbbf; + --ink: #1d1814; + --brand-ink: #231f1c; + --ink-secondary: #55493e; + --ink-tertiary: #7d6e5d; + --brand-cinnabar: #aa2a23; + --cinnabar: #91261b; + --stone: #4d667a; + --link: #305469; + --moss: #3b624c; + --hairline: rgba(83, 67, 50, 0.22); + --hairline-strong: rgba(83, 67, 50, 0.38); + --shadow: rgba(65, 42, 24, 0.16); + --page: 1320px; + --serif: ui-serif, "Songti SC", "STSong", "Noto Serif SC Web", "Noto Serif CJK SC", serif; + --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans SC Web", "Noto Sans CJK SC", sans-serif; + --stele: "WeiBei Stele", serif; + --stele-mono: "WeiBei Stele Mono", monospace; +} + +html[data-theme="inkstone"] { + --brand-paper: #0f0f0f; + --paper: #0f0f0f; + --paper-raised: #151515; + --paper-inset: #1c1c1c; + --ink: #d7cbb0; + --brand-ink: #d7cbb0; + --ink-secondary: #9b9178; + --ink-tertiary: #6f6655; + --brand-cinnabar: #a6362b; + --cinnabar: #a6362b; + --stone: #c8b98a; + --link: #c8b98a; + --moss: #b88a42; + --hairline: rgba(155, 145, 120, 0.25); + --hairline-strong: rgba(155, 145, 120, 0.42); + --shadow: rgba(0, 0, 0, 0.5); +} + +* { + box-sizing: border-box; +} + +html { + scroll-behavior: smooth; + scroll-padding-top: 76px; + color-scheme: light; + background: var(--paper); +} + +html[data-theme="inkstone"] { + color-scheme: dark; +} + +body { + margin: 0; + color: var(--ink); + background: var(--paper); + font-family: var(--sans); + -webkit-font-smoothing: antialiased; + text-rendering: optimizeLegibility; + transition: color 420ms ease, background-color 420ms ease; +} + +a { + color: inherit; + text-decoration: none; +} + +button, +a { + -webkit-tap-highlight-color: transparent; +} + +button { + color: inherit; + font: inherit; +} + +img, +svg { + display: block; + max-width: 100%; +} + +::selection { + color: var(--ink); + background: color-mix(in srgb, var(--stone) 28%, transparent); +} + +.skip-link { + position: fixed; + top: 8px; + left: 8px; + z-index: 100; + padding: 10px 14px; + color: var(--paper-raised); + background: var(--ink); + transform: translateY(-160%); +} + +.skip-link:focus { + transform: translateY(0); +} + +:focus-visible { + outline: 2px solid var(--link); + outline-offset: 4px; +} + +.site-header { + position: sticky; + top: 0; + z-index: 20; + display: grid; + grid-template-columns: 1fr auto 1fr; + align-items: center; + min-height: 72px; + padding: 0 max(24px, calc((100vw - var(--page)) / 2)); + border-bottom: 1px solid transparent; + background: color-mix(in srgb, var(--paper) 88%, transparent); + backdrop-filter: blur(18px) saturate(0.76); + transition: min-height 180ms ease, border-color 180ms ease, background-color 420ms ease; +} + +.site-header.is-scrolled { + min-height: 60px; + border-bottom-color: var(--hairline); +} + +.brand { + display: inline-flex; + align-items: center; + justify-self: start; + gap: 10px; + width: fit-content; +} + +.brand-mark { + width: 34px; + height: 34px; + flex: 0 0 auto; +} + +.mark-ink { + fill: var(--brand-ink); +} + +.mark-seal { + fill: var(--brand-cinnabar); +} + +.brand-word { + font-family: var(--stele); + font-size: 17px; + line-height: 1; + letter-spacing: 0.11em; +} + +.brand-name { + padding-left: 9px; + border-left: 1px solid var(--hairline-strong); + color: var(--ink-secondary); + font-family: var(--serif); + font-size: 15px; + font-weight: 650; +} + +.site-nav { + display: flex; + align-items: center; + gap: 34px; + color: var(--ink-secondary); + font-size: 13px; +} + +.site-nav a, +footer nav a { + position: relative; +} + +.site-nav a::after, +footer nav a::after { + position: absolute; + right: 0; + bottom: -7px; + left: 0; + height: 1px; + content: ""; + background: var(--link); + transform: scaleX(0); + transform-origin: right; + transition: transform 180ms ease; +} + +.site-nav a:hover::after, +.site-nav a:focus-visible::after, +footer nav a:hover::after, +footer nav a:focus-visible::after { + transform: scaleX(1); + transform-origin: left; +} + +.header-actions { + display: flex; + align-items: center; + justify-self: end; + gap: 8px; +} + +.theme-toggle, +.appearance-button { + display: inline-flex; + align-items: center; + gap: 8px; + border: 0; + color: var(--ink-secondary); + background: transparent; + cursor: pointer; +} + +.theme-toggle { + min-height: 38px; + padding: 0 10px; + font-size: 12px; +} + +.theme-symbol { + position: relative; + width: 11px; + height: 11px; + border: 1px solid var(--ink-tertiary); + border-radius: 50%; +} + +.theme-symbol::after { + position: absolute; + inset: 2px 5px 2px 2px; + content: ""; + background: var(--ink); +} + +.header-download { + display: inline-flex; + align-items: center; + gap: 7px; + min-height: 38px; + padding: 0 14px; + border: 1px solid var(--hairline-strong); + color: var(--ink); + font-size: 12px; + transition: color 180ms ease, border-color 180ms ease, background 180ms ease; +} + +.header-download:hover { + border-color: var(--cinnabar); + color: #f8ead4; + background: var(--cinnabar); +} + +.header-download svg, +.text-link svg, +.button svg { + fill: none; + stroke: currentColor; + stroke-linecap: square; + stroke-linejoin: miter; + stroke-width: 1.45; +} + +.header-download svg { + width: 15px; +} + +.section { + max-width: var(--page); + margin: 0 auto; + padding-right: 24px; + padding-left: 24px; +} + +.kicker { + margin: 0; + color: var(--stone); + font-family: var(--stele-mono); + font-size: 11px; + line-height: 1.3; + letter-spacing: 0.13em; +} + +.hero h1, +.section-intro h2, +.source-copy h2, +.relations-heading h2, +.appearance h2, +.download-copy h2 { + margin: 0; + font-family: var(--serif); + font-weight: 650; + letter-spacing: -0.045em; +} + +.hero { + display: grid; + grid-template-columns: minmax(410px, 0.86fr) minmax(420px, 0.74fr); + gap: 48px clamp(40px, 6vw, 96px); + max-width: var(--page); + margin: 0 auto; + padding: clamp(70px, 8vw, 112px) 24px 128px; +} + +.hero-copy { + align-self: center; + padding: 30px 0 22px; +} + +.hero h1 { + max-width: 710px; + margin-top: 26px; + font-size: clamp(58px, 6.3vw, 92px); + line-height: 1.04; +} + +.hero-claim { + margin: 30px 0 0; + color: var(--ink); + font-family: var(--serif); + font-size: clamp(23px, 2.15vw, 31px); + font-weight: 600; + line-height: 1.45; +} + +.hero-detail { + max-width: 580px; + margin: 14px 0 0; + color: var(--ink-secondary); + font-size: 15px; + line-height: 1.8; +} + +.hero-actions { + display: flex; + flex-wrap: wrap; + align-items: center; + gap: 22px; + margin-top: 34px; +} + +.button { + display: inline-flex; + align-items: center; + justify-content: center; + gap: 14px; + min-height: 48px; + padding: 0 20px; + border: 1px solid transparent; + font-size: 14px; + font-weight: 650; + transition: transform 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease; +} + +.button svg { + width: 18px; +} + +.button:hover { + transform: translateY(-2px); +} + +.button-primary { + color: #f8ead4; + background: var(--cinnabar); + box-shadow: 0 10px 28px color-mix(in srgb, var(--cinnabar) 20%, transparent); +} + +.button-primary:hover { + box-shadow: 0 14px 34px color-mix(in srgb, var(--cinnabar) 30%, transparent); +} + +.text-link { + display: inline-flex; + align-items: center; + gap: 7px; + padding: 10px 0; + border-bottom: 1px solid var(--hairline-strong); + color: var(--ink-secondary); + font-size: 13px; +} + +.text-link:hover { + border-color: var(--link); + color: var(--link); +} + +.text-link svg { + width: 15px; +} + +.hero-meta { + display: grid; + grid-template-columns: repeat(3, max-content); + gap: 0; + margin: 44px 0 0; +} + +.hero-meta div { + padding: 0 24px; + border-left: 1px solid var(--hairline); +} + +.hero-meta div:first-child { + padding-left: 0; + border-left: 0; +} + +.hero-meta dt { + margin-bottom: 7px; + color: var(--ink-tertiary); + font-size: 10px; + letter-spacing: 0.14em; +} + +.hero-meta dd { + margin: 0; + font-family: var(--stele-mono); + font-size: 12px; + letter-spacing: 0.06em; +} + +.hero-brand-surface { + position: relative; + min-height: 460px; + overflow: hidden; + border: 1px solid color-mix(in srgb, var(--brand-ink) 13%, transparent); + color: var(--brand-ink); + background: var(--brand-paper); + isolation: isolate; +} + +.hero-brand-surface::before, +.download-panel::before { + position: absolute; + inset: 0; + z-index: -1; + content: ""; + background: url("./assets/brand/paper-texture.webp") center / cover; + opacity: 0.62; + mix-blend-mode: multiply; +} + +html[data-theme="inkstone"] .hero-brand-surface::before, +html[data-theme="inkstone"] .download-panel::before { + opacity: 0.055; + filter: grayscale(1) invert(1); + mix-blend-mode: screen; +} + +.hero-mark { + position: absolute; + top: 26px; + right: -118px; + width: min(540px, 112%); + color: var(--brand-ink); +} + +.hero-mark-paper { + mix-blend-mode: multiply; +} + +.hero-mark-inkstone { + display: none; +} + +html[data-theme="inkstone"] .hero-mark-paper { + display: none; +} + +html[data-theme="inkstone"] .hero-mark-inkstone { + display: block; +} + +.hero-brand-surface p { + position: absolute; + bottom: 38px; + left: 36px; + z-index: 2; + margin: 0; + color: var(--ink-secondary); + font-family: var(--stele-mono); + font-size: 14px; + line-height: 1.8; + letter-spacing: 0.16em; +} + +.brand-ruling { + position: absolute; + z-index: 1; + width: 152px; + height: 1px; + background: var(--brand-ink); + opacity: 0.52; +} + +.brand-ruling::after { + position: absolute; + top: 10px; + left: 0; + width: 76%; + height: 1px; + content: ""; + background: inherit; +} + +.brand-ruling-a { + top: 44px; + left: 36px; +} + +.brand-ruling-b { + top: 86px; + left: 36px; + width: 90px; +} + +.source-anchor { + position: absolute; + right: 34px; + bottom: 34px; + width: 13px; + height: 13px; + background: var(--brand-cinnabar); +} + +.workspace-figure, +.relations-figure { + margin: 0; +} + +.workspace-figure { + grid-column: 1 / -1; + margin-top: 12px; + border: 1px solid var(--hairline-strong); + background: var(--paper-raised); + box-shadow: 0 34px 80px var(--shadow); +} + +.window-bar { + position: relative; + display: flex; + align-items: center; + gap: 7px; + height: 42px; + padding: 0 16px; + border-bottom: 1px solid var(--hairline); + background: color-mix(in srgb, var(--paper-raised) 88%, transparent); +} + +.window-bar span { + width: 8px; + height: 8px; + border: 1px solid var(--hairline-strong); + border-radius: 50%; +} + +.window-bar span:first-child { + border-color: var(--cinnabar); + background: var(--cinnabar); +} + +.window-bar b { + position: absolute; + left: 50%; + color: var(--ink-tertiary); + font-family: var(--stele-mono); + font-size: 9px; + font-weight: 400; + letter-spacing: 0.12em; + transform: translateX(-50%); +} + +.workspace-viewport { + overflow: hidden; + background: var(--paper-inset); +} + +.workspace-viewport img { + width: 100%; + height: auto; +} + +.workspace-figure figcaption, +.relations-figure figcaption { + display: flex; + gap: 16px; + align-items: center; + min-height: 54px; + padding: 12px 18px; + border-top: 1px solid var(--hairline); + color: var(--ink-secondary); + font-size: 12px; + line-height: 1.5; +} + +.workspace-figure figcaption span, +.relations-figure figcaption span { + color: var(--cinnabar); + font-family: var(--stele-mono); + font-size: 12px; + letter-spacing: 0.08em; +} + +.workflow { + padding-top: 132px; + padding-bottom: 138px; +} + +.section-intro { + display: grid; + grid-template-columns: 0.72fr 1fr; + gap: 20px 80px; + align-items: end; + max-width: 980px; +} + +.section-intro .kicker { + grid-column: 1 / -1; +} + +.section-intro h2, +.source-copy h2, +.relations-heading h2, +.appearance h2, +.download-copy h2 { + font-size: clamp(40px, 4.5vw, 66px); + line-height: 1.12; +} + +.section-intro > p:last-child, +.source-copy > p, +.relations-heading > p, +.appearance-copy > p:not(.kicker) { + margin: 0; + color: var(--ink-secondary); + font-size: 15px; + line-height: 1.9; +} + +.workflow-line { + position: relative; + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 0; + margin: 78px 0 0; + padding: 0; + border-top: 1px solid var(--hairline-strong); + list-style: none; +} + +.workflow-line::before { + position: absolute; + top: -4px; + left: 0; + width: 7px; + height: 7px; + content: ""; + background: var(--cinnabar); +} + +.workflow-line li { + min-height: 320px; + padding: 30px clamp(24px, 3vw, 44px) 30px; + border-left: 1px solid var(--hairline); +} + +.workflow-line li:first-child { + padding-left: 0; + border-left: 0; +} + +.step-heading { + display: flex; + align-items: baseline; + justify-content: space-between; + color: var(--stone); +} + +.step-heading span, +.step-heading b { + font-family: var(--stele-mono); + font-size: 12px; + font-weight: 400; + letter-spacing: 0.12em; +} + +.workflow-line h3 { + margin: 86px 0 16px; + font-family: var(--serif); + font-size: 24px; + font-weight: 650; + letter-spacing: -0.02em; +} + +.workflow-line p { + margin: 0; + color: var(--ink-secondary); + font-size: 14px; + line-height: 1.85; +} + +.source-section { + display: grid; + grid-template-columns: minmax(330px, 0.72fr) minmax(520px, 1fr); + gap: clamp(54px, 8vw, 116px); + align-items: center; + padding-top: 122px; + padding-bottom: 122px; + border-top: 1px solid var(--hairline); +} + +.source-copy h2 { + margin-top: 24px; +} + +.source-copy > p { + max-width: 480px; + margin-top: 26px; +} + +.source-types { + display: grid; + gap: 0; + margin: 38px 0 0; + padding: 0; + border-top: 1px solid var(--hairline); + list-style: none; +} + +.source-types li { + display: flex; + align-items: center; + gap: 14px; + padding: 13px 0; + border-bottom: 1px solid var(--hairline); + color: var(--ink-secondary); + font-size: 13px; +} + +.source-types span { + display: grid; + place-items: center; + width: 26px; + height: 26px; + border: 1px solid var(--stone); + color: var(--link); + font-family: var(--serif); + font-weight: 700; +} + +.source-proof { + position: relative; + min-height: 520px; + padding: 38px 42px 48px; + border: 1px solid var(--hairline-strong); + background: var(--paper-raised); + box-shadow: 16px 18px 0 color-mix(in srgb, var(--paper-inset) 75%, transparent); +} + +.proof-label { + padding-bottom: 20px; + border-bottom: 1px solid var(--hairline); + color: var(--stone); + font-family: var(--stele-mono); + font-size: 11px; + letter-spacing: 0.13em; +} + +.proof-answer { + max-width: 610px; + margin: 38px 0 46px; + font-family: var(--serif); + font-size: clamp(22px, 2.2vw, 31px); + line-height: 1.65; +} + +.proof-citations { + display: grid; + gap: 0; + border-top: 1px solid var(--hairline); +} + +.proof-citations a { + display: grid; + grid-template-columns: 34px 1fr auto; + gap: 14px; + align-items: center; + min-height: 57px; + border-bottom: 1px solid var(--hairline); + transition: color 140ms ease, background 140ms ease; +} + +.proof-citations a:hover { + color: var(--link); + background: color-mix(in srgb, var(--stone) 7%, transparent); +} + +.proof-citations b { + color: var(--link); + font-family: var(--stele-mono); + font-size: 11px; + font-weight: 400; +} + +.proof-citations span { + font-family: var(--serif); + font-size: 14px; + font-weight: 650; +} + +.proof-citations em { + color: var(--ink-tertiary); + font-family: var(--stele-mono); + font-size: 10px; + font-style: normal; + letter-spacing: 0.05em; +} + +.proof-anchor { + position: absolute; + right: 22px; + bottom: 22px; + width: 11px; + height: 11px; + background: var(--cinnabar); +} + +.relations { + padding-top: 138px; + padding-bottom: 138px; +} + +.relations-heading { + display: grid; + grid-template-columns: 1fr minmax(280px, 420px); + gap: 60px; + align-items: end; +} + +.relations-heading h2 { + margin-top: 22px; +} + +.relations-figure { + margin-top: 66px; + border: 1px solid var(--hairline-strong); + background: var(--paper-raised); + box-shadow: 0 30px 64px var(--shadow); +} + +.control-section { + display: grid; + grid-template-columns: 0.72fr 1fr; + gap: 72px 96px; + padding-top: 124px; + padding-bottom: 136px; + border-top: 1px solid var(--hairline); +} + +.control-quote blockquote { + margin: 24px 0 0; + font-family: var(--serif); + font-size: clamp(34px, 3.8vw, 55px); + font-weight: 650; + line-height: 1.3; + letter-spacing: -0.04em; +} + +.note-proposal { + padding: 28px 30px 26px; + border-top: 3px solid var(--cinnabar); + border-bottom: 1px solid var(--hairline-strong); + background: var(--paper-raised); +} + +.proposal-top { + display: flex; + justify-content: space-between; + padding-bottom: 17px; + border-bottom: 1px solid var(--hairline); + color: var(--ink-tertiary); + font-size: 11px; +} + +.proposal-top span { + color: var(--cinnabar); + font-weight: 700; +} + +.proposal-top b { + font-family: var(--stele-mono); + font-weight: 400; +} + +.note-proposal p { + margin: 25px 0 0; + font-family: var(--serif); + font-size: 16px; + line-height: 1.8; +} + +.note-proposal del { + color: var(--ink-tertiary); + text-decoration-color: var(--cinnabar); +} + +.note-proposal ins { + color: var(--ink); + text-decoration: none; + background: linear-gradient(transparent 72%, color-mix(in srgb, var(--moss) 18%, transparent) 72%); +} + +.proposal-actions { + display: flex; + justify-content: flex-end; + gap: 10px; + margin-top: 28px; + font-size: 12px; +} + +.proposal-actions span, +.proposal-actions strong { + padding: 10px 14px; + border: 1px solid var(--hairline-strong); +} + +.proposal-actions strong { + border-color: var(--cinnabar); + color: #f8ead4; + background: var(--cinnabar); +} + +.product-facts { + display: grid; + grid-column: 1 / -1; + grid-template-columns: repeat(3, 1fr); + gap: 0; + margin: 18px 0 0; + border-top: 1px solid var(--hairline-strong); +} + +.product-facts div { + padding: 28px 32px 0; + border-left: 1px solid var(--hairline); +} + +.product-facts div:first-child { + padding-left: 0; + border-left: 0; +} + +.product-facts dt { + margin-bottom: 16px; + color: var(--stone); + font-family: var(--stele-mono); + font-size: 11px; + letter-spacing: 0.13em; +} + +.product-facts dd { + margin: 0; + color: var(--ink-secondary); + font-size: 13px; + line-height: 1.8; +} + +.appearance { + display: grid; + grid-template-columns: 0.8fr 1.2fr; + gap: clamp(52px, 8vw, 112px); + align-items: center; + max-width: none; + padding-top: 118px; + padding-right: max(24px, calc((100vw - var(--page)) / 2)); + padding-bottom: 118px; + padding-left: max(24px, calc((100vw - var(--page)) / 2)); + color: #d7cbb0; + background: #0f0f0f; +} + +.appearance .kicker { + color: #c8b98a; +} + +.appearance h2 { + margin-top: 22px; + color: #d7cbb0; +} + +.appearance-copy > p:not(.kicker) { + max-width: 500px; + margin-top: 24px; + color: #9b9178; +} + +.appearance-button { + margin-top: 34px; + padding: 10px 0; + border-bottom: 1px solid #6f6655; + color: #c8b98a; + font-size: 13px; +} + +.appearance-button i { + position: relative; + width: 38px; + height: 18px; + border: 1px solid #6f6655; + border-radius: 10px; +} + +.appearance-button i::after { + position: absolute; + top: 3px; + left: 3px; + width: 10px; + height: 10px; + border-radius: 50%; + content: ""; + background: #a6362b; + transition: transform 240ms ease; +} + +html[data-theme="inkstone"] .appearance-button i::after { + transform: translateX(20px); +} + +.appearance-study { + display: grid; + grid-template-columns: 84px 1fr 0.72fr; + min-height: 390px; + border: 1px solid #39362f; + background: #151515; + box-shadow: 0 28px 72px rgba(0, 0, 0, 0.42); +} + +.study-rail { + padding: 34px 22px; + border-right: 1px solid #39362f; +} + +.study-rail span { + display: block; + height: 5px; + margin-bottom: 18px; + background: #6f6655; +} + +.study-rail span:first-child { + background: #a6362b; +} + +.study-page, +.study-note { + position: relative; + padding: 38px 34px; +} + +.study-page { + border-right: 1px solid #39362f; +} + +.study-page b, +.study-note b { + display: block; + margin-bottom: 48px; + color: #9b9178; + font-family: var(--stele-mono); + font-size: 10px; + font-weight: 400; + letter-spacing: 0.13em; +} + +.study-page i, +.study-note i { + display: block; + width: 100%; + height: 5px; + margin-bottom: 16px; + background: #403c33; +} + +.study-page i.short, +.study-note i.short { + width: 60%; +} + +.study-page i.medium { + width: 78%; +} + +.study-page mark { + display: block; + width: 86%; + height: 2px; + margin: -10px 0 28px; + background: #a6362b; +} + +.download-section { + padding: 124px max(24px, calc((100vw - var(--page)) / 2)) 104px; +} + +.download-panel { + position: relative; + display: grid; + grid-template-columns: 240px 1fr; + gap: clamp(42px, 7vw, 96px); + align-items: center; + min-height: 480px; + overflow: hidden; + padding: 62px clamp(36px, 7vw, 92px); + border: 1px solid color-mix(in srgb, var(--brand-ink) 14%, transparent); + background: var(--brand-paper); + isolation: isolate; +} + +.download-panel > img { + position: relative; + z-index: 2; + width: 220px; + filter: drop-shadow(0 24px 30px color-mix(in srgb, var(--brand-ink) 17%, transparent)); +} + +.download-copy { + position: relative; + z-index: 2; +} + +.download-copy h2 { + max-width: 680px; + margin-top: 20px; +} + +.download-meta { + margin: 24px 0 0; + color: var(--ink-secondary); + font-size: 13px; +} + +.download-actions { + display: flex; + flex-wrap: wrap; + align-items: center; + gap: 18px; + margin-top: 32px; +} + +.button-large { + min-height: 54px; + padding: 0 24px; +} + +.download-file { + color: var(--ink-tertiary); + font-family: var(--stele-mono); + font-size: 10px; + letter-spacing: 0.06em; +} + +.download-options { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 0; + max-width: 660px; + margin-top: 26px; + border-top: 1px solid var(--hairline-strong); +} + +.download-options[hidden] { + display: none; +} + +.download-options a { + display: grid; + gap: 8px; + padding: 16px 18px 16px 0; + border-bottom: 1px solid var(--hairline); + color: var(--ink-secondary); +} + +.download-options a:nth-child(even) { + padding-right: 0; + padding-left: 18px; + border-left: 1px solid var(--hairline); +} + +.download-options a:hover { + color: var(--link); +} + +.download-options strong { + color: var(--ink); + font-size: 13px; +} + +.download-options span { + overflow: hidden; + font-family: var(--stele-mono); + font-size: 9px; + letter-spacing: 0.04em; + text-overflow: ellipsis; + white-space: nowrap; +} + +.download-word { + position: absolute; + right: -22px; + bottom: -28px; + z-index: 0; + color: color-mix(in srgb, var(--brand-ink) 7%, transparent); + font-family: var(--stele); + font-size: clamp(100px, 16vw, 230px); + letter-spacing: 0.03em; + white-space: nowrap; +} + +footer { + display: grid; + grid-template-columns: 1fr auto 1fr; + align-items: center; + max-width: var(--page); + min-height: 100px; + margin: 0 auto; + padding: 22px 24px; + border-top: 1px solid var(--hairline); +} + +.brand-footer .brand-mark { + width: 28px; + height: 28px; +} + +.brand-footer .brand-word { + font-size: 14px; +} + +footer p { + margin: 0; + color: var(--ink-tertiary); + font-family: var(--stele-mono); + font-size: 9px; + letter-spacing: 0.06em; +} + +footer nav { + display: flex; + justify-self: end; + gap: 26px; + color: var(--ink-secondary); + font-size: 12px; +} + +.reveal { + opacity: 1; + transform: none; +} + +.reveal.reveal-ready { + opacity: 0; + transform: translateY(8px); + transition: opacity 240ms ease, transform 240ms cubic-bezier(0.22, 0.75, 0.2, 1); +} + +.reveal.reveal-ready[data-reveal-delay="1"] { + transition-delay: 50ms; +} + +.reveal.reveal-ready[data-reveal-delay="2"] { + transition-delay: 100ms; +} + +.reveal.reveal-ready.is-visible { + opacity: 1; + transform: translateY(0); +} + +@media (max-width: 1040px) { + .hero { + grid-template-columns: 1fr 0.76fr; + gap: 44px; + } + + .hero h1 { + font-size: clamp(54px, 7.4vw, 76px); + } + + .hero-brand-surface { + min-height: 410px; + } + + .source-section { + grid-template-columns: 0.7fr 1fr; + gap: 54px; + } + + .source-proof { + padding: 32px; + } + + .control-section { + gap: 56px; + } + + .appearance { + gap: 54px; + } + + .appearance-study { + grid-template-columns: 68px 1fr; + } + + .study-note { + display: none; + } + + .study-page { + border-right: 0; + } +} + +@media (max-width: 820px) { + .site-header { + grid-template-columns: 1fr auto; + } + + .site-nav { + display: none; + } + + .brand-name, + .theme-toggle span:last-child { + display: none; + } + + .hero { + grid-template-columns: 1fr; + padding-top: 62px; + } + + .hero-copy { + padding: 0; + } + + .hero-brand-surface { + min-height: 360px; + } + + .hero-mark { + top: -12px; + right: -76px; + width: 470px; + } + + .workspace-figure { + margin-top: 0; + } + + .section-intro, + .source-section, + .relations-heading, + .control-section, + .appearance { + grid-template-columns: 1fr; + } + + .section-intro { + gap: 18px; + } + + .workflow-line { + grid-template-columns: 1fr; + } + + .workflow-line li, + .workflow-line li:first-child { + min-height: 0; + padding: 28px 0 34px; + border-bottom: 1px solid var(--hairline); + border-left: 0; + } + + .workflow-line h3 { + margin-top: 54px; + } + + .source-section { + gap: 58px; + } + + .relations-heading { + gap: 26px; + } + + .product-facts { + grid-template-columns: 1fr; + } + + .product-facts div, + .product-facts div:first-child { + padding: 24px 0; + border-bottom: 1px solid var(--hairline); + border-left: 0; + } + + .appearance { + gap: 56px; + } + + .download-panel { + grid-template-columns: 160px 1fr; + padding: 48px 36px; + } + + .download-options { + grid-template-columns: 1fr; + } + + .download-options a:nth-child(even) { + padding-left: 0; + border-left: 0; + } + + .download-panel > img { + width: 150px; + } + + footer { + grid-template-columns: 1fr auto; + } + + footer p { + display: none; + } +} + +@media (max-width: 560px) { + .site-header { + min-height: 62px; + padding: 0 16px; + } + + .brand-mark { + width: 29px; + height: 29px; + } + + .brand-word { + font-size: 14px; + } + + .theme-toggle { + padding: 0 5px; + } + + .header-download { + min-height: 34px; + padding: 0 11px; + } + + .section, + .hero { + padding-right: 18px; + padding-left: 18px; + } + + .hero { + gap: 38px; + padding-top: 52px; + padding-bottom: 96px; + } + + .hero h1 { + margin-top: 20px; + font-size: clamp(44px, 12vw, 50px); + line-height: 1.1; + } + + .hero-claim { + margin-top: 24px; + font-size: 22px; + } + + .hero-meta { + grid-template-columns: repeat(3, 1fr); + } + + .hero-meta div { + padding: 0 13px; + } + + .hero-meta dd { + font-size: 10px; + } + + .hero-brand-surface { + min-height: 320px; + } + + .hero-mark { + top: 10px; + right: -74px; + width: 390px; + } + + .hero-brand-surface p { + bottom: 24px; + left: 24px; + font-size: 11px; + } + + .brand-ruling-a, + .brand-ruling-b { + left: 24px; + } + + .window-bar { + height: 34px; + } + + .window-bar b { + display: none; + } + + .workspace-viewport img { + width: 165%; + max-width: none; + transform: translateX(-20%); + } + + .workspace-figure figcaption, + .relations-figure figcaption { + align-items: flex-start; + min-height: 0; + padding: 12px; + } + + .workflow, + .relations { + padding-top: 96px; + padding-bottom: 100px; + } + + .source-section, + .control-section { + padding-top: 92px; + padding-bottom: 98px; + } + + .section-intro h2, + .source-copy h2, + .relations-heading h2, + .appearance h2, + .download-copy h2 { + font-size: 40px; + } + + .source-proof { + min-height: 0; + padding: 26px 22px 38px; + box-shadow: 8px 10px 0 color-mix(in srgb, var(--paper-inset) 75%, transparent); + } + + .proof-answer { + margin: 28px 0 34px; + font-size: 22px; + } + + .proof-citations a { + grid-template-columns: 28px 1fr; + padding: 10px 0; + } + + .proof-citations em { + grid-column: 2; + } + + .control-section { + gap: 42px; + } + + .note-proposal { + padding: 24px 20px; + } + + .appearance { + padding: 92px 18px; + } + + .appearance-study { + grid-template-columns: 50px 1fr; + min-height: 310px; + } + + .study-rail { + padding: 26px 14px; + } + + .study-page { + padding: 28px 22px; + } + + .download-section { + padding: 72px 18px 76px; + } + + .download-panel { + grid-template-columns: 1fr; + gap: 28px; + min-height: 0; + padding: 32px 24px 48px; + } + + .download-panel > img { + width: 112px; + } + + .download-word { + font-size: 94px; + } + + footer { + min-height: 86px; + padding: 18px; + } + + footer nav { + gap: 16px; + } +} + +@media (prefers-reduced-motion: reduce) { + html { + scroll-behavior: auto; + } + + *, + *::before, + *::after { + scroll-behavior: auto !important; + transition-duration: 0.01ms !important; + animation-duration: 0.01ms !important; + animation-iteration-count: 1 !important; + } + + .reveal { + opacity: 1; + transform: none; + } +}